repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
The-HalcyonDays/darkstar
scripts/zones/Port_Windurst/npcs/Choyi_Totlihpa.lua
38
1414
----------------------------------- -- Area: Port Windurst -- NPC: Choyi Totlihpa -- Type: Standard NPC -- @pos -58.927 -5.732 132.819 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_Windurst/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,npc) local WildcatWindurst = player:getVar("WildcatWindurst"); if (player:getQuestStatus(WINDURST,LURE_OF_THE_WILDCAT_WINDURST) == QUEST_ACCEPTED and player:getMaskBit(WildcatWindurst,17) == false) then player:startEvent(0x026e); else player:startEvent(0x00d7); end end; ----------------------------------- -- onEventUpdate ----------------------------------- function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end; ----------------------------------- -- onEventFinish ----------------------------------- function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); if (csid == 0x026e) then player:setMaskBit(player:getVar("WildcatWindurst"),"WildcatWindurst",17,true); end end;
gpl-3.0
The-HalcyonDays/darkstar
scripts/globals/abilities/chi_blast.lua
8
1100
----------------------------------- -- Ability: Chi Blast -- Releases Chi to attack an enemy. -- Obtained: Monk Level 41 -- Recast Time: 3:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- onAbilityCheck ----------------------------------- function onAbilityCheck(player,target,ability) return 0,0; end; ----------------------------------- -- onUseAbility ----------------------------------- function onUseAbility(player,target,ability) local boost = player:getStatusEffect(EFFECT_BOOST); local multiplier = 1.0; if(boost ~= nil) then multiplier = (boost:getPower()/100) * 4; --power is the raw % atk boost end local dmg = math.floor(player:getStat(MOD_MND)*(0.5+(math.random()/2))) * multiplier; dmg = utils.stoneskin(target, dmg); target:delHP(dmg); target:updateClaim(player); target:updateEnmityFromDamage(player,dmg); player:delStatusEffect(EFFECT_BOOST); return dmg; end;
gpl-3.0
Tenrys/mgn
lua/mgn/stages/cl_intro.lua
1
2122
file.CreateDir("mgn/sound") mgn.IntroMusicDownload = "https://files.metaman.xyz/mgn/sound/intro_music.mp3" mgn.IntroMusicPath = "mgn/sound/intro_music.dat" mgn.IntroETagPath = "mgn/sound/intro_music.txt" do local intro_etag = file.Read(mgn.IntroETagPath, "DATA") if intro_etag == "" or not file.Exists(mgn.IntroMusicPath, "DATA") then intro_etag = nil end HTTP({ method = "get", url = mgn.IntroMusicDownload, headers = {["If-None-Match"] = intro_etag}, success = function(code, body, headers) if code == 200 then file.Write(mgn.IntroMusicPath, body) file.Write(mgn.IntroETagPath, headers.ETag) print("[MGN] Finished downloading intro music!", #body) elseif code == 304 then print("[MGN] Intro music ETag is good!") end end, failed = function(reason) print("[MGN] Failed downloading intro music!", reason) end }) end local localplayer local overloading = false local intro_volume = 0 mgn.Stage.Intro = { Started = false, StartedAt = 0, StartTime = 0, Length = 60, EndTime = 60, Next = mgn.Stage.Overloading, Start = function(self, time) localplayer = LocalPlayer() sound.PlayFile("data/" .. mgn.IntroMusicPath, "", function(channel, errID, errStr) if channel then mgn.IntroMusic = channel mgn.IntroMusic:SetTime(CurTime() - time) end end) end, Think = function(self, chrono) if IsValid(mgn.IntroMusic) then if localplayer:IsInZone("reactor") and not overloading then overloading = true elseif not localplayer:IsInZone("reactor") and overloading then overloading = false end if mgn.IntroMusic:GetState() ~= GMOD_CHANNEL_PLAYING then mgn.IntroMusic:Play() end intro_volume = math.Clamp(intro_volume + FrameTime() * (overloading and 0.5 or -0.5), 0, 0.7) mgn.IntroMusic:SetVolume(intro_volume) if math.abs(chrono - mgn.IntroMusic:GetTime()) >= 1 then mgn.IntroMusic:SetTime(chrono) end end return chrono < self.Length end, End = function(self, time) if IsValid(mgn.IntroMusic) then mgn.IntroMusic:Stop() end mgn.IntroMusic = nil overloading = false intro_volume = 0 end }
bsd-3-clause
The-HalcyonDays/darkstar
scripts/zones/Waughroon_Shrine/bcnms/rank_2_mission.lua
13
1874
----------------------------------- -- Area: Waughroon Shrine -- Name: Mission Rank 2 -- @pos -345 104 -260 144 ----------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Waughroon_Shrine/TextIDs"); ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) end; -- Physically entering the BCNM via bcnmEnter(bcnmid) function onBcnmEnter(player,instance) end; -- Leaving the BCNM by every mean possible, given by the LeaveCode -- 1=Select Exit on circle -- 2=Winning the BC -- 3=Disconnected or warped out -- 4=Losing the BC -- via bcnmLeave(1) or bcnmLeave(2). LeaveCodes 3 and 4 are called -- from the core when a player disconnects or the time limit is up, etc function onBcnmLeave(player,instance,leavecode) -- print("leave code "..leavecode); if(leavecode == 2) then -- play end CS. Need time and battle id for record keeping + storage if(player:hasCompletedMission(player:getNation(),5)) then player:startEvent(0x7d01,1,1,1,instance:getTimeInside(),1,0,1); else player:startEvent(0x7d01,1,1,1,instance:getTimeInside(),1,0,0); end elseif(leavecode == 4) then player:startEvent(0x7d02); end end; function onEventUpdate(player,csid,option) -- print("bc update csid "..csid.." and option "..option); end; function onEventFinish(player,csid,option) -- print("bc finish csid "..csid.." and option "..option); if(csid == 0x7d01) then if((player:getCurrentMission(SANDORIA) == JOURNEY_TO_BASTOK2 or player:getCurrentMission(WINDURST) == THE_THREE_KINGDOMS_BASTOK2) and player:getVar("MissionStatus") == 10) then player:addKeyItem(KINDRED_CREST); player:messageSpecial(KEYITEM_OBTAINED,KINDRED_CREST); player:setVar("MissionStatus",11); end end end;
gpl-3.0
Feudalciv/Feudalciv
dependencies/tolua-5.2/src/bin/lua/function.lua
9
9884
-- tolua: function class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: function.lua,v 1.4 2009/11/24 16:45:14 fabraham Exp $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to provide maintenance, support, updates, -- enhancements, or modifications. -- Function class -- Represents a function or a class method. -- The following fields are stored: -- mod = type modifiers -- type = type -- ptr = "*" or "&", if representing a pointer or a reference -- name = name -- lname = lua name -- args = list of argument declarations -- const = if it is a method receiving a const "this". classFunction = { mod = '', type = '', ptr = '', name = '', args = {n=0}, const = '', } classFunction.__index = classFunction setmetatable(classFunction,classFeature) -- declare tags function classFunction:decltype () self.type = typevar(self.type) if strfind(self.mod,'const') then self.type = 'const '..self.type self.mod = gsub(self.mod,'const%s*','') end local i=1 while self.args[i] do self.args[i]:decltype() i = i+1 end end -- Write binding function -- Outputs C/C++ binding function. function classFunction:supcode () local overload = strsub(self.cname,-2,-1) - 1 -- indicate overloaded func local nret = 0 -- number of returned values local class = self:inclass() local _,_,static = strfind(self.mod,'^%s*(static)') if class then output("/* method:",self.name," of class ",class," */") else output("/* function:",self.name," */") end output("static int",self.cname,"(lua_State* tolua_S)") output("{") -- check types if overload < 0 then output('#ifndef TOLUA_RELEASE\n') end output(' tolua_Error tolua_err;') output(' if (\n') -- check self local narg if class then narg=2 else narg=1 end if class then local func = 'tolua_isusertype' local type = self.parent.type if self.const ~= '' then type = self.const .. " " .. type end if self.name=='new' or static~=nil then func = 'tolua_isusertable' type = self.parent.type end output(' !'..func..'(tolua_S,1,"'..type..'",0,&tolua_err) || \n') end -- check args local vararg = false if self.args[1].type ~= 'void' then local i=1 while self.args[i] and self.args[i].type ~= "..." do local btype = isbasic(self.args[i].type) if btype ~= 'state' then output(' !'..self.args[i]:outchecktype(narg,false)..' || \n') end if btype ~= 'state' then narg = narg+1 end i = i+1 end if self.args[i] then vararg = true end end -- check end of list if not vararg then output(' !tolua_isnoobj(tolua_S,'..narg..',&tolua_err)\n') else output(' 0\n') end output(' )') output(' goto tolua_lerror;') output(' else\n') if overload < 0 then output('#endif\n') end output(' {') -- declare self, if the case local narg if class then narg=2 else narg=1 end if class and self.name~='new' and static==nil then output(' ',self.const,self.parent.type,'*','self = ') output('(',self.const,self.parent.type,'*) ') output('tolua_tousertype(tolua_S,1,0);') elseif static then _,_,self.mod = strfind(self.mod,'^%s*static%s%s*(.*)') end -- declare parameters if self.args[1].type ~= 'void' then local i=1 while self.args[i] and self.args[i].type ~= "..." do self.args[i]:declare(narg) if isbasic(self.args[i].type) ~= "state" then narg = narg+1 end i = i+1 end end -- check self if class and self.name~='new' and static==nil then output('#ifndef TOLUA_RELEASE\n') output(' if (!self) tolua_error(tolua_S,"invalid \'self\' in function \''..self.name..'\'",NULL);'); output('#endif\n') end -- get array element values if class then narg=2 else narg=1 end if self.args[1].type ~= 'void' then local i=1 while self.args[i] and self.args[i].type ~= "..." do if isbasic(self.args[i].type) ~= "state" then self.args[i]:getarray(narg) narg = narg+1 end i = i+1 end end -- call function if class and self.name=='delete' then output(' tolua_release(tolua_S,self);') output(' delete self;') elseif class and self.name == 'operator&[]' then output(' self->operator[](',self.args[1].name,'-1) = ',self.args[2].name,';') else output(' {') if self.type ~= '' and self.type ~= 'void' then local ctype = self.type if ctype == 'value' or ctype == 'function' then ctype = 'int' end output(' ',self.mod,ctype,self.ptr,'tolua_ret = ') if isbasic(self.type) or self.ptr ~= '' then output('(',self.mod,ctype,self.ptr,') ') end else output(' ') end if class and self.name=='new' then output('new',self.type,'(') elseif class and static then output(class..'::'..self.name,'(') elseif class then output('self->'..self.name,'(') else output(self.name,'(') end -- write parameters local i=1 while self.args[i] and self.args[i].type ~= "..." do self.args[i]:passpar() i = i+1 if self.args[i] and self.args[i].type ~= "..." then output(',') end end if class and self.name == 'operator[]' then output('-1);') else output(');') end -- return values if self.type ~= '' and self.type ~= 'void' then nret = nret + 1 local t,ct = isbasic(self.type) if t then if t=='function' then t='value' end if self.type == 'tolua_index' then output(' if (tolua_ret < 0) lua_pushnil(tolua_S);') output(' else tolua_push'..t..'(tolua_S,(',ct,')tolua_ret+1);') else output(' tolua_push'..t..'(tolua_S,(',ct,')tolua_ret);') end else t = self.type if self.ptr == '' then output(' {') output('#ifdef __cplusplus\n') output(' void* tolua_obj = new',t,'(tolua_ret);') output(' tolua_pushusertype(tolua_S,tolua_clone(tolua_S,tolua_obj,'.. (_collect[t] or 'NULL') ..'),"',t,'");') output('#else\n') output(' void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(',t,'));') output(' tolua_pushusertype(tolua_S,tolua_clone(tolua_S,tolua_obj,NULL),"',t,'");') output('#endif\n') output(' }') elseif self.ptr == '&' then output(' tolua_pushusertype(tolua_S,(void*)&tolua_ret,"',t,'");') else output(' tolua_pushusertype(tolua_S,(void*)tolua_ret,"',t,'");') if self.mod == 'tolua_own' then output(' lua_pushcfunction(tolua_S, tolua_bnd_takeownership);') output(' lua_pushvalue(tolua_S, -2);') output(' lua_call(tolua_S, 1, 0);') end end end end local i=1 while self.args[i] do nret = nret + self.args[i]:retvalue() i = i+1 end output(' }') -- set array element values if class then narg=2 else narg=1 end if self.args[1].type ~= 'void' then local i=1 while self.args[i] do if isbasic(self.args[i].type) ~= "state" then self.args[i]:setarray(narg) narg = narg+1 end i = i+1 end end -- free dynamically allocated array if self.args[1].type ~= 'void' then local i=1 while self.args[i] do self.args[i]:freearray() i = i+1 end end end output(' }') output(' return '..nret..';') -- call overloaded function or generate error if overload < 0 then output('#ifndef TOLUA_RELEASE\n') output('tolua_lerror:\n') output(' tolua_error(tolua_S,"#ferror in function \''..self.lname..'\'.",&tolua_err);') output(' return 0;') output('#endif\n') else output('tolua_lerror:\n') output(' return '..strsub(self.cname,1,-3)..format("%02d",overload)..'(tolua_S);') end output('}') output('\n') end -- register function function classFunction:register () output(' tolua_function(tolua_S,"'..self.lname..'",'..self.cname..');') end -- Print method function classFunction:print (ident,close) print(ident.."Function{") print(ident.." mod = '"..self.mod.."',") print(ident.." type = '"..self.type.."',") print(ident.." ptr = '"..self.ptr.."',") print(ident.." name = '"..self.name.."',") print(ident.." lname = '"..self.lname.."',") print(ident.." const = '"..self.const.."',") print(ident.." cname = '"..self.cname.."',") print(ident.." lname = '"..self.lname.."',") print(ident.." args = {") local i=1 while self.args[i] do self.args[i]:print(ident.." ",",") i = i+1 end print(ident.." }") print(ident.."}"..close) end -- check if it returns a object by value function classFunction:requirecollection (t) local r = false if self.type ~= '' and not isbasic(self.type) and self.ptr=='' then local type = gsub(self.type,"%s*const%s*","") t[type] = "tolua_collect_" .. gsub(type,"::","_") r = true end local i=1 while self.args[i] do r = self.args[i]:requirecollection(t) or r i = i+1 end return r end -- determine lua function name overload function classFunction:overload () return self.parent:overload(self.lname) end -- Internal constructor function _Function (t) setmetatable(t,classFunction) if t.const ~= 'const' and t.const ~= '' then error("#invalid 'const' specification") end append(t) if t:inclass() then if t.name == t.parent.name then t.name = 'new' t.lname = 'new' t.type = t.parent.name t.ptr = '*' elseif t.name == '~'..t.parent.name then t.name = 'delete' t.lname = 'delete' t.parent._delete = true end end t.cname = t:cfuncname("tolua")..t:overload(t) return t end -- Constructor -- Expects three strings: one representing the function declaration, -- another representing the argument list, and the third representing -- the "const" or empty string. function Function (d,a,c) local t = split(strsub(a,2,-2),',') -- eliminate braces local i=1 local l = {n=0} while t[i] do l.n = l.n+1 l[l.n] = Declaration(t[i],'var') i = i+1 end local f = Declaration(d,'func') f.args = l f.const = c return _Function(f) end
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/RuAun_Gardens/npcs/HomePoint#4.lua
12
1248
----------------------------------- -- Area: RuAun_Gardens -- NPC: HomePoint#4 -- @pos 500 -42 158 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/RuAun_Gardens/TextIDs"); require("scripts/globals/homepoint"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,npc) homepointMenu( player, 0x21ff, 62); end; ----------------------------------- -- onEventUpdate ----------------------------------- function onEventUpdate(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); end; ----------------------------------- -- onEventFinish ----------------------------------- function onEventFinish(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); if(csid == 0x21ff) then if (option == 1) then player:setHomePoint(); player:messageSpecial(HOMEPOINT_SET); else hpTeleport( player, option); end end end;
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Southern_San_dOria/npcs/Adaunel.lua
17
1598
----------------------------------- -- Area: Southern San d'Oria -- NPC: Adaunel -- General Info NPC -- @zone 230 -- @pos 80 -7 -22 ------------------------------------ package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Southern_San_dOria/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) if(player:getQuestStatus(SANDORIA,FLYERS_FOR_REGINE) == QUEST_ACCEPTED)then if(trade:hasItemQty(532,1) and trade:getItemCount() == 1 and player:getVar("tradeAdaunel") == 0)then player:messageSpecial(8709); player:setVar("FFR",player:getVar("FFR") - 1); player:setVar("tradeAdaunel",1); player:messageSpecial(FLYER_ACCEPTED); trade:complete(); elseif(player:getVar("tradeAdaunel") ==1)then player:messageSpecial(8710); end end end; ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,npc) player:startEvent(0x290); end; ----------------------------------- -- onEventUpdate ----------------------------------- function onEventUpdate(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); end; ----------------------------------- -- onEventFinish ----------------------------------- function onEventFinish(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); end;
gpl-3.0
SapphireMordred/Sapphire
src/tools/Script/ce_dump_vfs_path_406.lua
1
5164
-- init global variable g_dump = io.open(os.date("dump_%Y-%m-%d-%H-%M-%S.txt"), "a") g_dump:write("ptr, name\n") g_count = 0 -- relative virtual address(rva) to register_whatever function -- this assume ffxiv sb benchmark -- YOU MUST EDIT THIS TO RIGHT VALUE TO WORK -- check http://imgur.com/a/nJCef for disasm g_addr = {} -- signature: 4053 4881EC60010000 488B??????????4833C4 4889842450010000 C70100000000 488BD9 4585C0 7514 g_addr.load_master = 0x166140 -- looks like below function is called from this -- signature: 48895C2408 48896C2410 4889742418 57 4883EC40 498BD9 498BF8 488BF2 488BE9 4D85C9 740A -- rva on benchmark was at 0x1624B0 and it's now located at 0x1663E0 (offseted by 0x3F30) g_addr.load1 = 0x1663E0 -- mostly loads gfx stuff but does calc in it? -- these were just calculated from load1 offset (didn't tested) g_addr.load2 = 0x162410 + 0x3F30 -- mostly loads gfx stuff g_addr.load3 = 0x1626B0 + 0x3F30 -- mostly loads exd data g_addr.load4 = 0x162540 + 0x3F30 -- from this on found it because there are next to each other g_addr.load5 = 0x162360 + 0x3F30 -- umm, vfx? g_loadseen = {} g_xiv = {} g_xiv.proc_name = "ffxiv_dx11.exe" g_xiv.path = "C:\\Users\\Mino\\Desktop\\FFXIV-SB\\game\\" .. g_xiv.proc_name -- because I don't want to login and out every single try g_xiv.arg = "SYS.Language=1 SYS.Fps=0 SYS.MainAdapter=\"AMD_Radeon_HD_7800_Series(\\\\.\\DISPLAY1)\" SYS.ScreenMode=0 SYS.ScreenWidth=1280 SYS.ScreenHeight=720 SYS.FullScreenWidth=1280 SYS.FullScreenHeight=720 SYS.Gamma=50 SYS.IsSoundAlways=0 SYS.SoundMaster=100 SYS.SoundBgm=100 SYS.SoundSe=100 SYS.SoundVoice=100 SYS.SoundSystem=100 SYS.SoundEnv=100 SYS.IsSndMaster=0 SYS.IsSndBgm=0 SYS.IsSndSe=0 SYS.IsSndVoice=0 SYS.IsSndSystem=0 SYS.IsSndEnv=0 SYS.WaterWet_DX11=1 SYS.OcclusionCulling_DX11=1 SYS.LodType_DX11=1 SYS.ReflectionType_DX11=0 SYS.AntiAliasing_DX11=0 SYS.TranslucentQuality_DX11=0 SYS.GrassQuality_DX11=2 SYS.ShadowLOD_DX11=1 SYS.ShadowVisibilityTypeSelf_DX11=1 SYS.ShadowVisibilityTypeOther_DX11=0 SYS.ShadowTextureSizeType_DX11=1 SYS.ShadowCascadeCountType_DX11=2 SYS.ShadowSoftShadowType_DX11=1 SYS.PhysicsTypeSelf_DX11=2 SYS.PhysicsTypeOther_DX11=2 SYS.TextureFilterQuality_DX11=2 SYS.TextureAnisotropicQuality_DX11=0 SYS.Vignetting_DX11=1 SYS.RadialBlur_DX11=1 SYS.SSAO_DX11=1 SYS.Glare_DX11=2 SYS.DepthOfField_DX11=1 SYS.ParallaxOcclusion_DX11=0 SYS.Tessellation_DX11=0 SYS.GlareRepresentation_DX11=0" g_mode = "attach" function init() -- attach debugger if g_mode == "create" then print(string.format("Launching ffxiv.exe w/ arg %s", g_xiv.arg)) createProcess(g_xiv.path, g_xiv.arg, true, true) elseif g_mode == "attach" then print("Looking for ffxiv.exe..") while not openProcess("ffxiv.exe") do sleep(1) end print("Attaching...") debugProcess() while not getAddress(g_xiv.proc_name) do sleep(1) end print("Module loaded") else print("Unsupported mode!") return end for k, v in pairs(g_addr) do -- k = name -- v = rva print(string.format("Attaching %s breakpoint on 0x%X", k, v)) debug_setBreakpoint(get_va(v)) end print("Now waiting for breakpoints..") end function debugger_onBreakpoint() if RIP == get_va(g_addr.load1) then -- dump_message("1>>") dump_addr(R8) elseif RIP == get_va(g_addr.load2) then -- dump_message("2>>") dump_addr(R8) elseif RIP == get_va(g_addr.load3) then -- dump_message("3>>") dump_addr(RCX) elseif RIP == get_va(g_addr.load4) then -- dump_message("4>>") dump_addr(RCX) elseif RIP == get_va(g_addr.load5) then -- dump_message("5>>") dump_addr(RDX) elseif RIP == get_va(g_addr.load_master) then -- dump_message("master>>") dump_addr(RDX) else -- user bp, update gui on ce, but who gives a shit? -- continue execution anyway debug_continueFromBreakpoint("co_run") return 0 end -- something is missing on the text file because it takes ageeeeeeeeees to write to file -- let just wait it -- continue execution debug_continueFromBreakpoint("co_run") --return 0 -- update gui return 1 end function dump_addr(addr) local vfspath = readString(addr, 256) if not g_loadseen[vfspath] then g_loadseen[vfspath] = true -- set seen flag local message = string.format("%X, %s", addr, vfspath) dump_line(message) end end function dump_line(message) dump_message(message .. "\n") end function dump_message(message) g_dump:write(message) g_dump:flush() print(message) end -- mod_base + rva = va function get_va(rva) return getAddress(g_xiv.proc_name) + rva end -- rva = va - mod_base function get_rva(va) return va - getAddress(g_xiv.proc_name) end -- check mod_base <= va <= mod_base + mod_size function is_mmod_addr(va) local mod_base = getAddress(g_xiv.proc_name) local mod_size = getModuleSize(g_xiv.proc_name) if mod_base <= va and va <= mod_base + mod_size then return true end return false end function split(str) local result = {} for token in string.gmatch(str..",", "([^,]+),%s*") do table.insert(result, all_trim(token)) end return result end init()
agpl-3.0
The-HalcyonDays/darkstar
scripts/globals/weaponskills/vorpal_thrust.lua
30
1397
----------------------------------- -- Vorpal Thrust -- Polearm weapon skill -- Skill Level: 175 -- Delivers a single-hit attack. Chance of params.critical varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Aqua Gorget & Light Gorget. -- Aligned with the Aqua Belt & Light Belt. -- Element: None -- Modifiers: STR:50% ; AGI:50% -- 100%TP 200%TP 300%TP -- 1.00 1.00 1.00 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/settings"); require("scripts/globals/weaponskills"); ----------------------------------- function onUseWeaponSkill(player, target, wsID) local params = {}; params.numHits = 1; params.ftp100 = 1; params.ftp200 = 1; params.ftp300 = 1; params.str_wsc = 0.2; params.dex_wsc = 0.0; params.vit_wsc = 0.0; params.agi_wsc = 0.2; params.int_wsc = 0.0; params.mnd_wsc = 0.0; params.chr_wsc = 0.0; params.crit100 = 0.3; params.crit200 = 0.6; params.crit300 = 0.9; params.canCrit = true; params.acc100 = 0.0; params.acc200= 0.0; params.acc300= 0.0; params.atkmulti = 1; if (USE_ADOULIN_WEAPON_SKILL_CHANGES == true) then params.str_wsc = 0.5; params.agi_wsc = 0.5; end local damage, criticalHit, tpHits, extraHits = doPhysicalWeaponskill(player, target, params); damage = damage * WEAPON_SKILL_POWER return tpHits, extraHits, criticalHit, damage; end
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Northern_San_dOria/npcs/Justi.lua
36
1852
----------------------------------- -- Area: Northern San d'Oria -- NPC: Justi -- Conquest depending furniture seller ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop"); require("scripts/globals/quests"); require("scripts/zones/Northern_San_dOria/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) -- "Flyers for Regine" conditional script FlyerForRegine = player:getQuestStatus(SANDORIA,FLYERS_FOR_REGINE); if (FlyerForRegine == 1) then count = trade:getItemCount(); MagicFlyer = trade:hasItemQty(532,1); if (MagicFlyer == true and count == 1) then player:messageSpecial(FLYER_REFUSED); end end end; ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,npc) player:showText(npc,JUSTI_SHOP_DIALOG); stock = {0x0037,69888,1, --Cabinet 0x003b,57333,1, --Chiffonier 0x0020,170726,1, --Dresser 0x0031,35272,2, --Coffer 0x002e,8376,3, --Armor Box 0x0679,92,3, --Bundling Twine 0x0039,15881,3, --Cupboard 0x0018,129168,3, --Oak Table 0x005d,518,3} --Water Cask showNationShop(player, SANDORIA, stock); end; ----------------------------------- -- onEventUpdate ----------------------------------- function onEventUpdate(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); end; ----------------------------------- -- onEventFinish ----------------------------------- function onEventFinish(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); end;
gpl-3.0
rrpgfirecast/firecast
Plugins/Sheets/Hora da Aventura/output/rdkObjs/Ficha_HdA/1.lfm.lua
1
24198
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmFicha_HdA1_svg() local obj = GUI.fromHandle(_obj_newObject("form")); local self = obj; local sheet = nil; rawset(obj, "_oldSetNodeObjectFunction", rawget(obj, "setNodeObject")); function obj:setNodeObject(nodeObject) sheet = nodeObject; self.sheet = nodeObject; self:_oldSetNodeObjectFunction(nodeObject); end; function obj:setNodeDatabase(nodeObject) self:setNodeObject(nodeObject); end; _gui_assignInitialParentForForm(obj.handle); obj:beginUpdate(); obj:setName("frmFicha_HdA1_svg"); obj:setAlign("client"); obj:setTheme("light"); obj:setMargins({top=1}); obj.scrollBox1 = GUI.fromHandle(_obj_newObject("scrollBox")); obj.scrollBox1:setParent(obj); obj.scrollBox1:setAlign("client"); obj.scrollBox1:setName("scrollBox1"); obj.rectangle1 = GUI.fromHandle(_obj_newObject("rectangle")); obj.rectangle1:setParent(obj.scrollBox1); obj.rectangle1:setWidth(1077); obj.rectangle1:setHeight(1474); obj.rectangle1:setColor("white"); obj.rectangle1:setName("rectangle1"); obj.image1 = GUI.fromHandle(_obj_newObject("image")); obj.image1:setParent(obj.rectangle1); obj.image1:setLeft(0); obj.image1:setTop(0); obj.image1:setWidth(1077); obj.image1:setHeight(1474); obj.image1:setSRC("/Ficha_HdA/images/1.png"); obj.image1:setStyle("stretch"); obj.image1:setOptimize(true); obj.image1:setName("image1"); obj.layout1 = GUI.fromHandle(_obj_newObject("layout")); obj.layout1:setParent(obj.rectangle1); obj.layout1:setLeft(58); obj.layout1:setTop(90); obj.layout1:setWidth(502); obj.layout1:setHeight(53); obj.layout1:setName("layout1"); obj.edit1 = GUI.fromHandle(_obj_newObject("edit")); obj.edit1:setParent(obj.layout1); obj.edit1:setTransparent(true); lfm_setPropAsString(obj.edit1, "fontStyle", "bold"); obj.edit1:setFontSize(24); obj.edit1:setFontColor("#000000"); obj.edit1:setHorzTextAlign("center"); obj.edit1:setVertTextAlign("center"); obj.edit1:setLeft(0); obj.edit1:setTop(0); obj.edit1:setWidth(502); obj.edit1:setHeight(54); obj.edit1:setField("NOME"); obj.edit1:setName("edit1"); obj.layout2 = GUI.fromHandle(_obj_newObject("layout")); obj.layout2:setParent(obj.rectangle1); obj.layout2:setLeft(57); obj.layout2:setTop(216); obj.layout2:setWidth(503); obj.layout2:setHeight(57); obj.layout2:setName("layout2"); obj.textEditor1 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor1:setParent(obj.layout2); obj.textEditor1:setTransparent(true); obj.textEditor1:setFontSize(18); obj.textEditor1:setFontColor("#000000"); obj.textEditor1:setLeft(0); obj.textEditor1:setTop(0); obj.textEditor1:setWidth(503); obj.textEditor1:setHeight(57); obj.textEditor1:setField("CONCEITO"); obj.textEditor1:setName("textEditor1"); obj.layout3 = GUI.fromHandle(_obj_newObject("layout")); obj.layout3:setParent(obj.rectangle1); obj.layout3:setLeft(593); obj.layout3:setTop(305); obj.layout3:setWidth(409); obj.layout3:setHeight(147); obj.layout3:setName("layout3"); obj.textEditor2 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor2:setParent(obj.layout3); obj.textEditor2:setTransparent(true); obj.textEditor2:setFontSize(18); obj.textEditor2:setFontColor("#000000"); obj.textEditor2:setLeft(0); obj.textEditor2:setTop(0); obj.textEditor2:setWidth(409); obj.textEditor2:setHeight(147); obj.textEditor2:setField("HISTORICO"); obj.textEditor2:setName("textEditor2"); obj.layout4 = GUI.fromHandle(_obj_newObject("layout")); obj.layout4:setParent(obj.rectangle1); obj.layout4:setLeft(595); obj.layout4:setTop(526); obj.layout4:setWidth(406); obj.layout4:setHeight(140); obj.layout4:setName("layout4"); obj.textEditor3 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor3:setParent(obj.layout4); obj.textEditor3:setTransparent(true); obj.textEditor3:setFontSize(18); obj.textEditor3:setFontColor("#000000"); obj.textEditor3:setLeft(0); obj.textEditor3:setTop(0); obj.textEditor3:setWidth(406); obj.textEditor3:setHeight(140); obj.textEditor3:setField("EQUIPAMENTO"); obj.textEditor3:setName("textEditor3"); obj.layout5 = GUI.fromHandle(_obj_newObject("layout")); obj.layout5:setParent(obj.rectangle1); obj.layout5:setLeft(315); obj.layout5:setTop(695); obj.layout5:setWidth(80); obj.layout5:setHeight(80); obj.layout5:setName("layout5"); obj.edit2 = GUI.fromHandle(_obj_newObject("edit")); obj.edit2:setParent(obj.layout5); obj.edit2:setTransparent(true); obj.edit2:setFontSize(50); obj.edit2:setFontColor("#000000"); obj.edit2:setType("number"); obj.edit2:setHorzTextAlign("center"); obj.edit2:setVertTextAlign("center"); obj.edit2:setLeft(0); obj.edit2:setTop(0); obj.edit2:setWidth(50); obj.edit2:setHeight(70); obj.edit2:setField("ATRIBUTO1_5"); obj.edit2:setName("edit2"); obj.layout6 = GUI.fromHandle(_obj_newObject("layout")); obj.layout6:setParent(obj.rectangle1); obj.layout6:setLeft(636); obj.layout6:setTop(695); obj.layout6:setWidth(80); obj.layout6:setHeight(80); obj.layout6:setName("layout6"); obj.edit3 = GUI.fromHandle(_obj_newObject("edit")); obj.edit3:setParent(obj.layout6); obj.edit3:setTransparent(true); obj.edit3:setFontSize(50); obj.edit3:setFontColor("#000000"); obj.edit3:setType("number"); obj.edit3:setHorzTextAlign("center"); obj.edit3:setVertTextAlign("center"); obj.edit3:setLeft(0); obj.edit3:setTop(0); obj.edit3:setWidth(50); obj.edit3:setHeight(70); obj.edit3:setField("ATRIBUTO2_4"); obj.edit3:setName("edit3"); obj.layout7 = GUI.fromHandle(_obj_newObject("layout")); obj.layout7:setParent(obj.rectangle1); obj.layout7:setLeft(962); obj.layout7:setTop(695); obj.layout7:setWidth(80); obj.layout7:setHeight(80); obj.layout7:setName("layout7"); obj.edit4 = GUI.fromHandle(_obj_newObject("edit")); obj.edit4:setParent(obj.layout7); obj.edit4:setTransparent(true); obj.edit4:setFontSize(50); obj.edit4:setFontColor("#000000"); obj.edit4:setType("number"); obj.edit4:setHorzTextAlign("center"); obj.edit4:setVertTextAlign("center"); obj.edit4:setLeft(0); obj.edit4:setTop(0); obj.edit4:setWidth(50); obj.edit4:setHeight(70); obj.edit4:setField("ATRIBUTO3_3"); obj.edit4:setName("edit4"); obj.layout8 = GUI.fromHandle(_obj_newObject("layout")); obj.layout8:setParent(obj.rectangle1); obj.layout8:setLeft(120); obj.layout8:setTop(761); obj.layout8:setWidth(162); obj.layout8:setHeight(46); obj.layout8:setName("layout8"); obj.edit5 = GUI.fromHandle(_obj_newObject("edit")); obj.edit5:setParent(obj.layout8); obj.edit5:setTransparent(true); obj.edit5:setFontSize(28); obj.edit5:setFontColor("#000000"); obj.edit5:setHorzTextAlign("center"); obj.edit5:setVertTextAlign("center"); obj.edit5:setLeft(0); obj.edit5:setTop(0); obj.edit5:setWidth(162); obj.edit5:setHeight(47); obj.edit5:setField("ATRIBUTO1"); obj.edit5:setName("edit5"); obj.layout9 = GUI.fromHandle(_obj_newObject("layout")); obj.layout9:setParent(obj.rectangle1); obj.layout9:setLeft(446); obj.layout9:setTop(760); obj.layout9:setWidth(162); obj.layout9:setHeight(46); obj.layout9:setName("layout9"); obj.edit6 = GUI.fromHandle(_obj_newObject("edit")); obj.edit6:setParent(obj.layout9); obj.edit6:setTransparent(true); obj.edit6:setFontSize(28); obj.edit6:setFontColor("#000000"); obj.edit6:setHorzTextAlign("center"); obj.edit6:setVertTextAlign("center"); obj.edit6:setLeft(0); obj.edit6:setTop(0); obj.edit6:setWidth(162); obj.edit6:setHeight(47); obj.edit6:setField("ATRIBUTO2"); obj.edit6:setName("edit6"); obj.layout10 = GUI.fromHandle(_obj_newObject("layout")); obj.layout10:setParent(obj.rectangle1); obj.layout10:setLeft(769); obj.layout10:setTop(756); obj.layout10:setWidth(162); obj.layout10:setHeight(46); obj.layout10:setName("layout10"); obj.edit7 = GUI.fromHandle(_obj_newObject("edit")); obj.edit7:setParent(obj.layout10); obj.edit7:setTransparent(true); obj.edit7:setFontSize(28); obj.edit7:setFontColor("#000000"); obj.edit7:setHorzTextAlign("center"); obj.edit7:setVertTextAlign("center"); obj.edit7:setLeft(0); obj.edit7:setTop(0); obj.edit7:setWidth(162); obj.edit7:setHeight(47); obj.edit7:setField("ATRIBUTO3"); obj.edit7:setName("edit7"); obj.layout11 = GUI.fromHandle(_obj_newObject("layout")); obj.layout11:setParent(obj.rectangle1); obj.layout11:setLeft(867); obj.layout11:setTop(1138); obj.layout11:setWidth(42); obj.layout11:setHeight(27); obj.layout11:setName("layout11"); obj.edit8 = GUI.fromHandle(_obj_newObject("edit")); obj.edit8:setParent(obj.layout11); obj.edit8:setTransparent(true); obj.edit8:setFontSize(20); obj.edit8:setFontColor("#000000"); obj.edit8:setType("number"); obj.edit8:setHorzTextAlign("center"); obj.edit8:setVertTextAlign("center"); obj.edit8:setLeft(0); obj.edit8:setTop(0); obj.edit8:setWidth(42); obj.edit8:setHeight(28); obj.edit8:setField("PE"); obj.edit8:setName("edit8"); obj.layout12 = GUI.fromHandle(_obj_newObject("layout")); obj.layout12:setParent(obj.rectangle1); obj.layout12:setLeft(67); obj.layout12:setTop(886); obj.layout12:setWidth(269); obj.layout12:setHeight(196); obj.layout12:setName("layout12"); obj.textEditor4 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor4:setParent(obj.layout12); obj.textEditor4:setLeft(0); obj.textEditor4:setTop(0); obj.textEditor4:setWidth(269); obj.textEditor4:setHeight(196); obj.textEditor4:setFontSize(18); obj.textEditor4:setFontColor("#000000"); obj.textEditor4:setTransparent(true); obj.textEditor4:setField("PROEZA1"); obj.textEditor4:setName("textEditor4"); obj.layout13 = GUI.fromHandle(_obj_newObject("layout")); obj.layout13:setParent(obj.rectangle1); obj.layout13:setLeft(393); obj.layout13:setTop(888); obj.layout13:setWidth(269); obj.layout13:setHeight(196); obj.layout13:setName("layout13"); obj.textEditor5 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor5:setParent(obj.layout13); obj.textEditor5:setLeft(0); obj.textEditor5:setTop(0); obj.textEditor5:setWidth(269); obj.textEditor5:setHeight(196); obj.textEditor5:setFontSize(18); obj.textEditor5:setFontColor("#000000"); obj.textEditor5:setTransparent(true); obj.textEditor5:setField("PROEZA2"); obj.textEditor5:setName("textEditor5"); obj.layout14 = GUI.fromHandle(_obj_newObject("layout")); obj.layout14:setParent(obj.rectangle1); obj.layout14:setLeft(717); obj.layout14:setTop(886); obj.layout14:setWidth(269); obj.layout14:setHeight(196); obj.layout14:setName("layout14"); obj.textEditor6 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor6:setParent(obj.layout14); obj.textEditor6:setLeft(0); obj.textEditor6:setTop(0); obj.textEditor6:setWidth(269); obj.textEditor6:setHeight(196); obj.textEditor6:setFontSize(18); obj.textEditor6:setFontColor("#000000"); obj.textEditor6:setTransparent(true); obj.textEditor6:setField("PROEZA3"); obj.textEditor6:setName("textEditor6"); obj.layout15 = GUI.fromHandle(_obj_newObject("layout")); obj.layout15:setParent(obj.rectangle1); obj.layout15:setLeft(54); obj.layout15:setTop(1158); obj.layout15:setWidth(282); obj.layout15:setHeight(130); obj.layout15:setName("layout15"); obj.textEditor7 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor7:setParent(obj.layout15); obj.textEditor7:setLeft(0); obj.textEditor7:setTop(0); obj.textEditor7:setWidth(282); obj.textEditor7:setHeight(130); obj.textEditor7:setFontSize(18); obj.textEditor7:setFontColor("#000000"); obj.textEditor7:setTransparent(true); obj.textEditor7:setField("DEFEITO"); obj.textEditor7:setName("textEditor7"); obj.layout16 = GUI.fromHandle(_obj_newObject("layout")); obj.layout16:setParent(obj.rectangle1); obj.layout16:setLeft(492); obj.layout16:setTop(1195); obj.layout16:setWidth(50); obj.layout16:setHeight(50); obj.layout16:setName("layout16"); obj.edit9 = GUI.fromHandle(_obj_newObject("edit")); obj.edit9:setParent(obj.layout16); obj.edit9:setTransparent(true); obj.edit9:setFontSize(36); obj.edit9:setFontColor("#000000"); obj.edit9:setType("number"); obj.edit9:setHorzTextAlign("center"); obj.edit9:setVertTextAlign("center"); obj.edit9:setLeft(0); obj.edit9:setTop(0); obj.edit9:setWidth(70); obj.edit9:setHeight(70); obj.edit9:setField("PH"); obj.edit9:setName("edit9"); obj.layout17 = GUI.fromHandle(_obj_newObject("layout")); obj.layout17:setParent(obj.rectangle1); obj.layout17:setLeft(798); obj.layout17:setTop(1248); obj.layout17:setWidth(20); obj.layout17:setHeight(20); obj.layout17:setName("layout17"); obj.checkBox1 = GUI.fromHandle(_obj_newObject("checkBox")); obj.checkBox1:setParent(obj.layout17); obj.checkBox1:setLeft(0); obj.checkBox1:setTop(0); obj.checkBox1:setWidth(20); obj.checkBox1:setHeight(20); obj.checkBox1:setField("VIDA1"); obj.checkBox1:setName("checkBox1"); obj.layout18 = GUI.fromHandle(_obj_newObject("layout")); obj.layout18:setParent(obj.rectangle1); obj.layout18:setLeft(857); obj.layout18:setTop(1248); obj.layout18:setWidth(20); obj.layout18:setHeight(20); obj.layout18:setName("layout18"); obj.checkBox2 = GUI.fromHandle(_obj_newObject("checkBox")); obj.checkBox2:setParent(obj.layout18); obj.checkBox2:setLeft(0); obj.checkBox2:setTop(0); obj.checkBox2:setWidth(20); obj.checkBox2:setHeight(20); obj.checkBox2:setField("VIDA2"); obj.checkBox2:setName("checkBox2"); obj.layout19 = GUI.fromHandle(_obj_newObject("layout")); obj.layout19:setParent(obj.rectangle1); obj.layout19:setLeft(916); obj.layout19:setTop(1248); obj.layout19:setWidth(20); obj.layout19:setHeight(20); obj.layout19:setName("layout19"); obj.checkBox3 = GUI.fromHandle(_obj_newObject("checkBox")); obj.checkBox3:setParent(obj.layout19); obj.checkBox3:setLeft(0); obj.checkBox3:setTop(0); obj.checkBox3:setWidth(20); obj.checkBox3:setHeight(20); obj.checkBox3:setField("VIDA3"); obj.checkBox3:setName("checkBox3"); obj.layout20 = GUI.fromHandle(_obj_newObject("layout")); obj.layout20:setParent(obj.rectangle1); obj.layout20:setLeft(974); obj.layout20:setTop(1248); obj.layout20:setWidth(20); obj.layout20:setHeight(20); obj.layout20:setName("layout20"); obj.checkBox4 = GUI.fromHandle(_obj_newObject("checkBox")); obj.checkBox4:setParent(obj.layout20); obj.checkBox4:setLeft(0); obj.checkBox4:setTop(0); obj.checkBox4:setWidth(20); obj.checkBox4:setHeight(20); obj.checkBox4:setField("VIDA4"); obj.checkBox4:setName("checkBox4"); obj.layout21 = GUI.fromHandle(_obj_newObject("layout")); obj.layout21:setParent(obj.rectangle1); obj.layout21:setLeft(115); obj.layout21:setTop(1387); obj.layout21:setWidth(197); obj.layout21:setHeight(25); obj.layout21:setName("layout21"); obj.edit10 = GUI.fromHandle(_obj_newObject("edit")); obj.edit10:setParent(obj.layout21); obj.edit10:setTransparent(true); obj.edit10:setFontSize(16.5); obj.edit10:setFontColor("#000000"); obj.edit10:setHorzTextAlign("center"); obj.edit10:setVertTextAlign("center"); obj.edit10:setLeft(0); obj.edit10:setTop(0); obj.edit10:setWidth(197); obj.edit10:setHeight(26); obj.edit10:setField("ESTADO1"); obj.edit10:setName("edit10"); obj.layout22 = GUI.fromHandle(_obj_newObject("layout")); obj.layout22:setParent(obj.rectangle1); obj.layout22:setLeft(431); obj.layout22:setTop(1387); obj.layout22:setWidth(197); obj.layout22:setHeight(25); obj.layout22:setName("layout22"); obj.edit11 = GUI.fromHandle(_obj_newObject("edit")); obj.edit11:setParent(obj.layout22); obj.edit11:setTransparent(true); obj.edit11:setFontSize(16.5); obj.edit11:setFontColor("#000000"); obj.edit11:setHorzTextAlign("center"); obj.edit11:setVertTextAlign("center"); obj.edit11:setLeft(0); obj.edit11:setTop(0); obj.edit11:setWidth(197); obj.edit11:setHeight(26); obj.edit11:setField("ESTADO2"); obj.edit11:setName("edit11"); obj.layout23 = GUI.fromHandle(_obj_newObject("layout")); obj.layout23:setParent(obj.rectangle1); obj.layout23:setLeft(744); obj.layout23:setTop(1387); obj.layout23:setWidth(197); obj.layout23:setHeight(25); obj.layout23:setName("layout23"); obj.edit12 = GUI.fromHandle(_obj_newObject("edit")); obj.edit12:setParent(obj.layout23); obj.edit12:setTransparent(true); obj.edit12:setFontSize(16.5); obj.edit12:setFontColor("#000000"); obj.edit12:setHorzTextAlign("center"); obj.edit12:setVertTextAlign("center"); obj.edit12:setLeft(0); obj.edit12:setTop(0); obj.edit12:setWidth(197); obj.edit12:setHeight(26); obj.edit12:setField("ESTADO3"); obj.edit12:setName("edit12"); obj.layout24 = GUI.fromHandle(_obj_newObject("layout")); obj.layout24:setParent(obj.rectangle1); obj.layout24:setLeft(190); obj.layout24:setTop(340); obj.layout24:setWidth(290); obj.layout24:setHeight(290); obj.layout24:setName("layout24"); obj.image2 = GUI.fromHandle(_obj_newObject("image")); obj.image2:setParent(obj.layout24); obj.image2:setEditable(true); obj.image2:setLeft(0); obj.image2:setTop(0); obj.image2:setWidth(290); obj.image2:setHeight(290); obj.image2:setStyle("proportional"); obj.image2:setField("IMG"); obj.image2:setName("image2"); function obj:_releaseEvents() end; obj._oldLFMDestroy = obj.destroy; function obj:destroy() self:_releaseEvents(); if (self.handle ~= 0) and (self.setNodeDatabase ~= nil) then self:setNodeDatabase(nil); end; if self.textEditor4 ~= nil then self.textEditor4:destroy(); self.textEditor4 = nil; end; if self.layout4 ~= nil then self.layout4:destroy(); self.layout4 = nil; end; if self.layout15 ~= nil then self.layout15:destroy(); self.layout15 = nil; end; if self.layout10 ~= nil then self.layout10:destroy(); self.layout10 = nil; end; if self.checkBox3 ~= nil then self.checkBox3:destroy(); self.checkBox3 = nil; end; if self.edit9 ~= nil then self.edit9:destroy(); self.edit9 = nil; end; if self.layout5 ~= nil then self.layout5:destroy(); self.layout5 = nil; end; if self.edit7 ~= nil then self.edit7:destroy(); self.edit7 = nil; end; if self.layout17 ~= nil then self.layout17:destroy(); self.layout17 = nil; end; if self.layout20 ~= nil then self.layout20:destroy(); self.layout20 = nil; end; if self.textEditor3 ~= nil then self.textEditor3:destroy(); self.textEditor3 = nil; end; if self.edit12 ~= nil then self.edit12:destroy(); self.edit12 = nil; end; if self.layout18 ~= nil then self.layout18:destroy(); self.layout18 = nil; end; if self.layout24 ~= nil then self.layout24:destroy(); self.layout24 = nil; end; if self.image2 ~= nil then self.image2:destroy(); self.image2 = nil; end; if self.layout13 ~= nil then self.layout13:destroy(); self.layout13 = nil; end; if self.layout3 ~= nil then self.layout3:destroy(); self.layout3 = nil; end; if self.textEditor6 ~= nil then self.textEditor6:destroy(); self.textEditor6 = nil; end; if self.layout8 ~= nil then self.layout8:destroy(); self.layout8 = nil; end; if self.layout1 ~= nil then self.layout1:destroy(); self.layout1 = nil; end; if self.layout23 ~= nil then self.layout23:destroy(); self.layout23 = nil; end; if self.rectangle1 ~= nil then self.rectangle1:destroy(); self.rectangle1 = nil; end; if self.layout2 ~= nil then self.layout2:destroy(); self.layout2 = nil; end; if self.checkBox2 ~= nil then self.checkBox2:destroy(); self.checkBox2 = nil; end; if self.layout12 ~= nil then self.layout12:destroy(); self.layout12 = nil; end; if self.edit4 ~= nil then self.edit4:destroy(); self.edit4 = nil; end; if self.layout11 ~= nil then self.layout11:destroy(); self.layout11 = nil; end; if self.layout9 ~= nil then self.layout9:destroy(); self.layout9 = nil; end; if self.textEditor1 ~= nil then self.textEditor1:destroy(); self.textEditor1 = nil; end; if self.image1 ~= nil then self.image1:destroy(); self.image1 = nil; end; if self.edit11 ~= nil then self.edit11:destroy(); self.edit11 = nil; end; if self.edit5 ~= nil then self.edit5:destroy(); self.edit5 = nil; end; if self.textEditor2 ~= nil then self.textEditor2:destroy(); self.textEditor2 = nil; end; if self.edit6 ~= nil then self.edit6:destroy(); self.edit6 = nil; end; if self.edit3 ~= nil then self.edit3:destroy(); self.edit3 = nil; end; if self.layout6 ~= nil then self.layout6:destroy(); self.layout6 = nil; end; if self.layout22 ~= nil then self.layout22:destroy(); self.layout22 = nil; end; if self.edit8 ~= nil then self.edit8:destroy(); self.edit8 = nil; end; if self.layout14 ~= nil then self.layout14:destroy(); self.layout14 = nil; end; if self.layout16 ~= nil then self.layout16:destroy(); self.layout16 = nil; end; if self.textEditor5 ~= nil then self.textEditor5:destroy(); self.textEditor5 = nil; end; if self.layout21 ~= nil then self.layout21:destroy(); self.layout21 = nil; end; if self.checkBox4 ~= nil then self.checkBox4:destroy(); self.checkBox4 = nil; end; if self.textEditor7 ~= nil then self.textEditor7:destroy(); self.textEditor7 = nil; end; if self.edit2 ~= nil then self.edit2:destroy(); self.edit2 = nil; end; if self.edit10 ~= nil then self.edit10:destroy(); self.edit10 = nil; end; if self.checkBox1 ~= nil then self.checkBox1:destroy(); self.checkBox1 = nil; end; if self.layout19 ~= nil then self.layout19:destroy(); self.layout19 = nil; end; if self.scrollBox1 ~= nil then self.scrollBox1:destroy(); self.scrollBox1 = nil; end; if self.edit1 ~= nil then self.edit1:destroy(); self.edit1 = nil; end; if self.layout7 ~= nil then self.layout7:destroy(); self.layout7 = nil; end; self:_oldLFMDestroy(); end; obj:endUpdate(); return obj; end; function newfrmFicha_HdA1_svg() local retObj = nil; __o_rrpgObjs.beginObjectsLoading(); __o_Utils.tryFinally( function() retObj = constructNew_frmFicha_HdA1_svg(); end, function() __o_rrpgObjs.endObjectsLoading(); end); assert(retObj ~= nil); return retObj; end; local _frmFicha_HdA1_svg = { newEditor = newfrmFicha_HdA1_svg, new = newfrmFicha_HdA1_svg, name = "frmFicha_HdA1_svg", dataType = "", formType = "undefined", formComponentName = "form", title = "", description=""}; frmFicha_HdA1_svg = _frmFicha_HdA1_svg; Firecast.registrarForm(_frmFicha_HdA1_svg); return _frmFicha_HdA1_svg;
apache-2.0
rrpgfirecast/firecast
Plugins/Core/sceneinlua/rrpgScene_SincronizadorGrid.lua
1
11454
require("scene.lua"); require("utils.lua"); require("rrpgScene_TouchNav.lua"); require("rrpgScene_InertialMov.lua"); require("rrpgScene_MovementHistory.lua"); require("rrpgScene_Undo.dlua"); require("rrpgScene_UserDrawingDetails.lua"); --[[ PLUGIN para fazer user drawings ]]-- local SETTINGS_CATEGORY = "settings"; local QT_AMOSTRAS = 4; local PRECISAO = 1.0 / 200.0; local PRECISAO_CELULA = 1 / 10.0; local GERACOES_ALGORITMO_GENETICO = 30; local TAMANHO_MAXIMO_POPULACAO = 100; local function calcularDimensaoAlgoritmoGenetico(amostras, campo1, campo2) local delimitadores = {}; local individuos = {}; local populacaoAtual = {}; local function testarIndividuo(valor) local h = individuos[valor]; if h ~= nil then return h; end; h = {}; h.valor = valor; local pontos = 0.0; if valor > 0 then for i = 1, #delimitadores, 1 do for j = i + 1, #delimitadores, 1 do local distancia = math.abs(delimitadores[j] - delimitadores[i]); if distancia > PRECISAO then local qtCelulas = distancia / valor; local qtCelulasInteiroMaisPerto = math.floor(qtCelulas + 0.5); local difParaNumeroInteiroMaixProximo = math.abs(qtCelulasInteiroMaisPerto - qtCelulas); assert(difParaNumeroInteiroMaixProximo >= 0.0); assert(difParaNumeroInteiroMaixProximo <= 1.0); local fator = (1 - difParaNumeroInteiroMaixProximo); pontos = pontos + fator * fator; end; end; end; end; h.pontos = pontos; individuos[valor] = h; return h; end; local function ordenarPopulacaoAtual() table.sort(populacaoAtual, function (a, b) return a.pontos > b.pontos; end) end; local function prepararParaExecucao() for i = 1, #amostras, 1 do delimitadores[#delimitadores + 1] = amostras[i][campo1]; delimitadores[#delimitadores + 1] = amostras[i][campo2]; end; end; local function inicializarPopulacaoInicial() for i = 1, #amostras, 1 do populacaoAtual[#populacaoAtual + 1] = testarIndividuo(math.abs(amostras[i][campo2] - amostras[i][campo1])); end; end; local function gerarNovaPopulacao() local novaPopulacao = {}; for i = 1, #populacaoAtual, 1 do for j = 1 + 1, #populacaoAtual, 1 do local resultadoDoCruzamento = (populacaoAtual[i].valor + populacaoAtual[j].valor) / 2; if math.random(1, 100) <= 50 then -- Mutação genética local valorMutante = math.abs(resultadoDoCruzamento * (math.random(1, 100) / 100.0)); if math.random(1, 2) == 1 then resultadoDoCruzamento = resultadoDoCruzamento + valorMutante; else resultadoDoCruzamento = resultadoDoCruzamento - valorMutante; end; end; if resultadoDoCruzamento >= PRECISAO then novaPopulacao[#novaPopulacao + 1] = testarIndividuo(resultadoDoCruzamento); end; if #novaPopulacao > TAMANHO_MAXIMO_POPULACAO then break; end; end; if #novaPopulacao > TAMANHO_MAXIMO_POPULACAO then break; end; end; -- Aceitar os melhores individuos da última geração for i = 1, math.min(#populacaoAtual, 3) do novaPopulacao[#novaPopulacao + 1] = populacaoAtual[i] ; end; return novaPopulacao; end; prepararParaExecucao(); inicializarPopulacaoInicial(); ordenarPopulacaoAtual(); local geracaoAtual = 0; while geracaoAtual < GERACOES_ALGORITMO_GENETICO do geracaoAtual = geracaoAtual + 1; local novaPopulacao = gerarNovaPopulacao(); populacaoAtual = novaPopulacao; ordenarPopulacaoAtual(); end; assert(#populacaoAtual > 0); return populacaoAtual[1].valor; end; local function calcularOffsetAlgoritmoGenetico(amostras, campo1, campo2, oldWorldSize, newWorldSize, cellCount) local delimitadores = {}; local individuos = {}; local populacaoAtual = {}; local scale = newWorldSize / oldWorldSize; local newCellSize = newWorldSize / cellCount; local function testarIndividuo(valor) local h = individuos[valor]; if h ~= nil then return h; end; h = {}; h.valor = valor; local pontos = 0.0; for i = 1, #delimitadores, 1 do local distancia = math.abs(delimitadores[i] - valor); local qtCelulas = distancia / newCellSize; local qtCelulasInteiroMaisPerto = math.floor(qtCelulas + 0.5); local difParaNumeroInteiroMaixProximo = math.abs(qtCelulasInteiroMaisPerto - qtCelulas); assert(difParaNumeroInteiroMaixProximo >= 0.0); assert(difParaNumeroInteiroMaixProximo <= 1.0); local fator = (1 - difParaNumeroInteiroMaixProximo); pontos = pontos + fator * fator; end; h.pontos = pontos; individuos[valor] = h; return h; end; local function ordenarPopulacaoAtual() table.sort(populacaoAtual, function (a, b) return a.pontos > b.pontos; end) end; local function prepararParaExecucao() for i = 1, #amostras, 1 do delimitadores[#delimitadores + 1] = amostras[i][campo1] * scale; delimitadores[#delimitadores + 1] = amostras[i][campo2] * scale; end; end; local function inicializarPopulacaoInicial() local MAX_LOOP = 100; populacaoAtual[#populacaoAtual + 1] = testarIndividuo(0); for i = 1, MAX_LOOP, 1 do local factor = (i * 1.0) / (MAX_LOOP + 1.0); populacaoAtual[#populacaoAtual + 1] = testarIndividuo(factor * newCellSize); populacaoAtual[#populacaoAtual + 1] = testarIndividuo(-factor * newCellSize); end; end; local function gerarNovaPopulacao() local novaPopulacao = {}; for i = 1, #populacaoAtual, 1 do for j = 1 + 1, #populacaoAtual, 1 do local resultadoDoCruzamento = (populacaoAtual[i].valor + populacaoAtual[j].valor) / 2; if math.random(1, 100) <= 50 then -- Mutação genética local valorMutante = math.abs(resultadoDoCruzamento * (math.random(1, 100) / 100.0)); if math.random(1, 2) == 1 then resultadoDoCruzamento = resultadoDoCruzamento + valorMutante; else resultadoDoCruzamento = resultadoDoCruzamento - valorMutante; end; end; if resultadoDoCruzamento >= PRECISAO then novaPopulacao[#novaPopulacao + 1] = testarIndividuo(resultadoDoCruzamento); end; if #novaPopulacao > TAMANHO_MAXIMO_POPULACAO then break; end; end; if #novaPopulacao > TAMANHO_MAXIMO_POPULACAO then break; end; end; -- Aceitar os melhores individuos da última geração for i = 1, math.min(#populacaoAtual, 3) do novaPopulacao[#novaPopulacao + 1] = populacaoAtual[i] ; end; return novaPopulacao; end; prepararParaExecucao(); inicializarPopulacaoInicial(); ordenarPopulacaoAtual(); local geracaoAtual = 0; while geracaoAtual < GERACOES_ALGORITMO_GENETICO do geracaoAtual = geracaoAtual + 1; local novaPopulacao = gerarNovaPopulacao(); populacaoAtual = novaPopulacao; ordenarPopulacaoAtual(); end; assert(#populacaoAtual > 0); return populacaoAtual[1].valor; end; SceneLib.registerPlugin( function (scene, attachment) require("rrpgScene_ShapesMaker.dlua"); scene.viewport:setupToolCategory(SETTINGS_CATEGORY, lang("scene.toolcategory.settings"), -2); local installed = false; local btn_viewAsPlayer; local possuiaGridAntes = nil; local shapeMaker = nil; local realCellWidth = nil local realCellHeight = nil; local amostras = {}; local frmInstrucao = nil; local processarAmostras = nil; local function updateGridSizes() realCellWidth = scene.grid.cellSize; realCellHeight = scene.grid.cellSize; end; updateGridSizes(); local function pararDesenhoGrid() amostras[#amostras + 1] = shapeMaker:getWorldBounds(); if #amostras >= QT_AMOSTRAS then processarAmostras(); end; end; processarAmostras = function() assert(amostras ~= nil); assert(#amostras > 0); updateGridSizes(); local larguraCelula = calcularDimensaoAlgoritmoGenetico(amostras, "left", "right"); local alturaCelula = calcularDimensaoAlgoritmoGenetico(amostras, "top", "bottom"); local novaQtCelulasX = math.floor((scene.worldWidth / larguraCelula) / PRECISAO_CELULA + 0.5) * PRECISAO_CELULA local novaQtCelulasY = math.floor((scene.worldHeight / alturaCelula) / PRECISAO_CELULA + 0.5) * PRECISAO_CELULA novaQtCelulasX = math.max(math.min(novaQtCelulasX, 500), PRECISAO_CELULA); novaQtCelulasY = math.max(math.min(novaQtCelulasY, 500), PRECISAO_CELULA); local novaLarguraGrid = novaQtCelulasX * realCellWidth; local novaAlturaGrid = novaQtCelulasY * realCellHeight; local novoOffsetX = calcularOffsetAlgoritmoGenetico(amostras, "left", "right", scene.worldWidth, novaLarguraGrid, novaQtCelulasX); local novoOffsetY = calcularOffsetAlgoritmoGenetico(amostras, "top", "bottom", scene.worldHeight, novaAlturaGrid, novaQtCelulasY); SC3UNDO_Capture(scene, function() scene.worldWidth = novaLarguraGrid; scene.worldHeight = novaAlturaGrid; scene.grid.offsetX = novoOffsetX; scene.grid.offsetY = novoOffsetY; scene.grid.drawGrid = true; end); possuiaGridAntes = true; amostras = {}; end; local function createShapeMaker() assert(shapeMaker == nil); shapeMaker = SHAPEMaker_New(scene, SHAPE_RECTANGLE); shapeMaker.autoDraw = true; shapeMaker.onStop = pararDesenhoGrid; shapeMaker.fillColor = "#FF000030"; shapeMaker.strokeColor = "null" --shapeMaker.strokeColor = "#FF000040"; shapeMaker.snapToGrid = false; shapeMaker.strokeSize = 0.05 * scene.grid.cellSize; shapeMaker:start(); end; local function installTools() btn_viewAsPlayer = scene.viewport:addToolButton(SETTINGS_CATEGORY, lang("scene.Synchronize.menu"), "/icos/Synchronize.png", 10, {selectable=true, defaultOfCategory=false}, function() possuiaGridAntes = scene.grid.drawGrid; scene.grid.drawGrid = false; if frmInstrucao == nil then frmInstrucao = GUI.newForm("frmSynchronizeGrid"); end; scene.viewport:showForm(frmInstrucao, {placement="topLeft"}); createShapeMaker(); amostras = {} end, function() scene.grid.drawGrid = possuiaGridAntes; amostras = {} if frmInstrucao ~= nil then scene.viewport:closeForm(frmInstrucao); end; if shapeMaker ~= nil then shapeMaker:abort(); shapeMaker = nil; end; end, function() scene.isViewingAsGM = not scene.isViewingAsGM; end); end; local function uninstallTools() scene.viewport:removeToolButton(btn_viewAsPlayer); end; local function captureGMStateChanged() if scene.isGM and not installed then installed = true; installTools(); elseif not scene.isGM and installed then installed = false; uninstallTools(); scene.viewport:closeForm(frmInstrucao); end; if installed then scene.viewport:checkToolButton(btn_viewAsPlayer, not scene.isViewingAsGM); end; end; scene:listen("onGMStateChange", captureGMStateChanged); captureGMStateChanged(); end);
apache-2.0
otservme/global1053
data/npc/scripts/Rashid.lua
2
23424
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end local function getTable() local list = { {name = 'Abyss Hammer', id = 7414, sell = 20000, buy = 0}, {name = 'Amber Staff', id = 7426, sell = 8000, buy = 0}, {name = 'Ancient Amulet', id = 2142, sell = 200, buy = 0}, {name = 'Assassin Dagger', id = 7404, sell = 20000, buy = 0}, {name = 'Bandana', id = 5917, sell = 150, buy = 0}, {name = 'Beastslayer axe', id = 3962, sell = 1500, buy = 0}, {name = 'Beetle Necklace', id = 11374, sell = 1500, buy = 0}, {name = 'Berserker', id = 7403, sell = 40000, buy = 0}, {name = 'Blacksteel Sword', id = 7406, sell = 6000, buy = 0}, {name = 'Blessed Sceptre', id = 7429, sell = 40000, buy = 0}, {name = 'Bone Shield', id = 2541, sell = 80, buy = 0}, {name = 'Bonelord Helmet', id = 3972, sell = 7500, buy = 0}, {name = 'Brutetamer\'s Staff', id = 7379, sell = 1500, buy = 0}, {name = 'Buckle', id = 20109, sell = 7000, buy = 0}, {name = 'Castle Shield', id = 2535, sell = 5000, buy = 0}, {name = 'Chain Bolter', id = 8850, sell = 40000, buy = 0}, {name = 'Chaos Mace', id = 7427, sell = 9000, buy = 0}, {name = 'Cobra Crown', id = 12630, sell = 50000, buy = 0}, {name = 'Coconut Shoes', id = 9931, sell = 500, buy = 0}, {name = 'Composite Hornbow', id = 8855, sell = 25000, buy = 0}, {name = 'Cranial Basher', id = 7415, sell = 30000, buy = 0}, {name = 'Crocodile Boots', id = 3982, sell = 1000, buy = 0}, {name = 'Crystal Crossbow', id = 18453, sell = 35000, buy = 0}, {name = 'Crystal Mace', id = 2445, sell = 12000, buy = 0}, {name = 'Crystal Necklace', id = 2125, sell = 400, buy = 0}, {name = 'Crystal Ring', id = 2124, sell = 250, buy = 0}, {name = 'Crystal Sword', id = 7449, sell = 600, buy = 0}, {name = 'Crystalline Armor', id = 8878, sell = 16000, buy = 0}, {name = 'Daramian Mace', id = 2439, sell = 110, buy = 0}, {name = 'Daramian Waraxe', id = 2440, sell = 1000, buy = 0}, {name = 'Dark Shield', id = 2521, sell = 400, buy = 0}, {name = 'Death Ring', id = 6300, sell = 1000, buy = 0}, {name = 'Demon Shield', id = 2520, sell = 30000, buy = 0}, {name = 'Demonbone Amulet', id = 2136, sell = 32000, buy = 0}, {name = 'Demonrage Sword', id = 7382, sell = 36000, buy = 0}, {name = 'Devil Helmet', id = 2462, sell = 1000, buy = 0}, {name = 'Diamond Sceptre', id = 7387, sell = 3000, buy = 0}, {name = 'Divine Plate', id = 8885, sell = 55000, buy = 0}, {name = 'Djinn Blade', id = 2451, sell = 15000, buy = 0}, {name = 'Doll', id = 2110, sell = 200, buy = 0}, {name = 'Dragon Scale Mail', id = 2492, sell = 40000, buy = 0}, {name = 'Dragon Slayer', id = 7402, sell = 15000, buy = 0}, {name = 'Dragonbone Staff', id = 7430, sell = 3000, buy = 0}, {name = 'Dreaded Cleaver', id = 7419, sell = 10000, buy = 0}, {name = 'Dwarven Armor', id = 2503, sell = 30000, buy = 0}, {name = 'Earth Cranial Basher', id = 7866, sell = 30000, buy = 0}, {name = 'Earth Dragon Slayer', id = 7858, sell = 15000, buy = 0}, {name = 'Earth Headchopper', id = 7862, sell = 6000, buy = 0}, {name = 'Earth Heroic axe', id = 7861, sell = 30000, buy = 0}, {name = 'Earth Mystic Blade', id = 7856, sell = 30000, buy = 0}, {name = 'Earth Orcish Maul', id = 7867, sell = 6000, buy = 0}, {name = 'Earth Relic Sword', id = 7855, sell = 25000, buy = 0}, {name = 'Earth War axe', id = 7863, sell = 12000, buy = 0}, {name = 'Elvish Bow', id = 7438, sell = 2000, buy = 0}, {name = 'Emerald Bangle', id = 2127, sell = 800, buy = 0}, {name = 'Energy Cranial Basher',id = 7881, sell = 30000, buy = 0}, {name = 'Energy Dragon Slayer', id = 7873, sell = 15000, buy = 0}, {name = 'Energy Headchopper', id = 7877, sell = 6000, buy = 0}, {name = 'Energy Heroic axe', id = 7876, sell = 30000, buy = 0}, {name = 'Energy Mystic Blade', id = 7871, sell = 30000, buy = 0}, {name = 'Energy Orcish Maul', id = 7882, sell = 6000, buy = 0}, {name = 'Energy Relic Sword', id = 7870, sell = 25000, buy = 0}, {name = 'Energy War axe', id = 7878, sell = 12000, buy = 0}, {name = 'Epee', id = 2438, sell = 8000, buy = 0}, {name = 'Fiery Cranial Basher', id = 7756, sell = 30000, buy = 0}, {name = 'Fiery Dragon Slayer', id = 7748, sell = 15000, buy = 0}, {name = 'Fiery Headchopper', id = 7752, sell = 6000, buy = 0}, {name = 'Fiery Heroic axe', id = 7751, sell = 30000, buy = 0}, {name = 'Fiery Mystic Blade', id = 7746, sell = 30000, buy = 0}, {name = 'Fiery Orcish Maul', id = 7757, sell = 6000, buy = 0}, {name = 'Fiery Relic Sword', id = 7745, sell = 25000, buy = 0}, {name = 'Fiery War axe', id = 7753, sell = 12000, buy = 0}, {name = 'Flower Dress', id = 9929, sell = 1000, buy = 0}, {name = 'Flower Wreath', id = 9927, sell = 500, buy = 0}, {name = 'Fur Boots', id = 7457, sell = 2000, buy = 0}, {name = 'Furry Club', id = 7432, sell = 1000, buy = 0}, {name = 'Glacier Amulet', id = 7888, sell = 1500, buy = 0}, {name = 'Glacier Kilt', id = 7896, sell = 11000, buy = 0}, {name = 'Glacier Mask', id = 7902, sell = 2500, buy = 0}, {name = 'Glacier Robe', id = 7897, sell = 11000, buy = 0}, {name = 'Glacier Shoes', id = 7892, sell = 2500, buy = 0}, {name = 'Gold Ring', id = 2179, sell = 8000, buy = 0}, {name = 'Golden Armor', id = 2466, sell = 20000, buy = 0}, {name = 'Golden Legs', id = 2470, sell = 30000, buy = 0}, {name = 'Guardian Halberd', id = 2427, sell = 11000, buy = 0}, {name = 'Hammer of Wrath', id = 2444, sell = 30000, buy = 0}, {name = 'Headchopper', id = 7380, sell = 6000, buy = 0}, {name = 'Heavy Mace', id = 2452, sell = 50000, buy = 0}, {name = 'Heavy Machete', id = 2442, sell = 90, buy = 0}, {name = 'Heavy Trident', id = 13838, sell = 2000, buy = 0}, {name = 'Helmet of the Lost', id = 20132, sell = 2000, buy = 0}, {name = 'Heroic axe', id = 7389, sell = 30000, buy = 0}, {name = 'Hibiscus Dress', id = 8873, sell = 3000, buy = 0}, {name = 'Icy Blacksteel Sword', id = 7766, sell = 6000, buy = 0}, {name = 'Icy Cranial Basher', id = 7775, sell = 30000, buy = 0}, {name = 'Icy Dragon Slayer', id = 7767, sell = 15000, buy = 0}, {name = 'Icy Headchopper', id = 7771, sell = 6000, buy = 0}, {name = 'Icy Heroic axe', id = 7770, sell = 30000, buy = 0}, {name = 'Icy Mystic Blade', id = 7765, sell = 30000, buy = 0}, {name = 'Icy Orcish Maul', id = 7776, sell = 6000, buy = 0}, {name = 'Icy Relic Sword', id = 7764, sell = 25000, buy = 0}, {name = 'Icy War axe', id = 7772, sell = 12000, buy = 0}, {name = 'Jade Hammer', id = 7422, sell = 25000, buy = 0}, {name = 'Krimhorn Helmet', id = 7461, sell = 200, buy = 0}, {name = 'Lavos Armor', id = 8877, sell = 16000, buy = 0}, {name = 'Leaf Legs', id = 9928, sell = 500, buy = 0}, {name = 'Leopard Armor', id = 3968, sell = 1000, buy = 0}, {name = 'Leviathan\'s Amulet', id = 10220, sell = 3000, buy = 0}, {name = 'Light Shovel', id = 5710, sell = 300, buy = 0}, {name = 'Lightning Boots', id = 7893, sell = 2500, buy = 0}, {name = 'Lightning Headband', id = 7901, sell = 2500, buy = 0}, {name = 'Lightning Legs', id = 7895, sell = 11000, buy = 0}, {name = 'Lightning Pendant', id = 7889, sell = 1500, buy = 0}, {name = 'Lightning Robe', id = 7898, sell = 11000, buy = 0}, {name = 'Lunar Staff', id = 7424, sell = 5000, buy = 0}, {name = 'Magic Plate Armor', id = 2472, sell = 90000, buy = 0}, {name = 'Magma Amulet', id = 7890, sell = 1500, buy = 0}, {name = 'Magma Boots', id = 7891, sell = 2500, buy = 0}, {name = 'Magma Coat', id = 7899, sell = 11000, buy = 0}, {name = 'Magma Legs', id = 7894, sell = 11000, buy = 0}, {name = 'Magma Monocle', id = 7900, sell = 2500, buy = 0}, {name = 'Mammoth Fur Cape', id = 7463, sell = 6000, buy = 0}, {name = 'Mammoth Fur Shorts', id = 7464, sell = 850, buy = 0}, {name = 'Mammoth Whopper', id = 7381, sell = 300, buy = 0}, {name = 'Mastermind Shield', id = 2514, sell = 50000, buy = 0}, {name = 'Medusa Shield', id = 2536, sell = 9000, buy = 0}, {name = 'Mercenary Sword', id = 7386, sell = 12000, buy = 0}, {name = 'Mycological Bow', id = 18454, sell = 35000, buy = 0}, {name = 'Mystic Blade', id = 7384, sell = 30000, buy = 0}, {name = 'Naginata', id = 2426, sell = 2000, buy = 0}, {name = 'Nightmare Blade', id = 7418, sell = 35000, buy = 0}, {name = 'Noble axe', id = 7456, sell = 10000, buy = 0}, {name = 'Norse Shield', id = 7460, sell = 1500, buy = 0}, {name = 'Orcish Maul', id = 7392, sell = 6000, buy = 0}, {name = 'Pair of Iron Fists', id = 20108, sell = 4000, buy = 0}, {name = 'Paladin Armor', id = 8891, sell = 15000, buy = 0}, {name = 'Patched Boots', id = 2641, sell = 2000, buy = 0}, {name = 'Pharaoh Sword', id = 2446, sell = 23000, buy = 0}, {name = 'Pirate Boots', id = 5462, sell = 3000, buy = 0}, {name = 'Pirate Hat', id = 6096, sell = 1000, buy = 0}, {name = 'Pirate Knee Breeches', id = 5918, sell = 200, buy = 0}, {name = 'Pirate Shirt', id = 6095, sell = 500, buy = 0}, {name = 'Pirate Voodoo Doll', id = 5810, sell = 500, buy = 0}, {name = 'Platinum Amulet', id = 2171, sell = 2500, buy = 0}, {name = 'Ragnir Helmet', id = 7462, sell = 400, buy = 0}, {name = 'Relic Sword', id = 7383, sell = 25000, buy = 0}, {name = 'Ring of the Sky', id = 2123, sell = 30000, buy = 0}, {name = 'Royal axe', id = 7434, sell = 40000, buy = 0}, {name = 'Ruby Necklace', id = 2133, sell = 2000, buy = 0}, {name = 'Ruthless axe', id = 6553, sell = 45000, buy = 0}, {name = 'Sacred Tree Amulet', id = 10219, sell = 3000, buy = 0}, {name = 'Sapphire Hammer', id = 7437, sell = 7000, buy = 0}, {name = 'Scarab Amulet', id = 2135, sell = 200, buy = 0}, {name = 'Scarab Shield', id = 2540, sell = 2000, buy = 0}, {name = 'Shockwave Amulet', id = 10221, sell = 3000, buy = 0}, {name = 'Silver Brooch', id = 2134, sell = 150, buy = 0}, {name = 'Silver Dagger', id = 2402, sell = 500, buy = 0}, {name = 'Skull Helmet', id = 5741, sell = 40000, buy = 0}, {name = 'Skullcracker Armor', id = 8889, sell = 18000, buy = 0}, {name = 'Spiked Squelcher', id = 7452, sell = 5000, buy = 0}, {name = 'Steel Boots', id = 2645, sell = 30000, buy = 0}, {name = 'Swamplair Armor', id = 8880, sell = 16000, buy = 0}, {name = 'Taurus Mace', id = 7425, sell = 500, buy = 0}, {name = 'Tempest Shield', id = 2542, sell = 35000, buy = 0}, {name = 'Terra Amulet', id = 7887, sell = 1500, buy = 0}, {name = 'Terra Boots', id = 7886, sell = 2500, buy = 0}, {name = 'Terra Hood', id = 7903, sell = 2500, buy = 0}, {name = 'Terra Legs', id = 7885, sell = 11000, buy = 0}, {name = 'Terra Mantle', id = 7884, sell = 11000, buy = 0}, {name = 'The Justice Seeker', id = 7390, sell = 40000, buy = 0}, {name = 'Tortoise Shield', id = 6131, sell = 150, buy = 0}, {name = 'Vile axe', id = 7388, sell = 30000, buy = 0}, {name = 'Voodoo Doll', id = 2322, sell = 400, buy = 0}, {name = 'War axe', id = 2454, sell = 12000, buy = 0}, {name = 'War Horn', id = 2079, sell = 8000, buy = 0}, {name = 'Witch Hat', id = 10570, sell = 5000, buy = 0}, {name = 'Wyvern Fang', id = 7408, sell = 1500, buy = 0} } return list end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local player = Player(cid) if(msgcontains(msg, "mission")) then if(os.date("%A") == "Monday") then if(player:getStorageValue(Rashid.MissionStart) < 1) then npcHandler:say("Well, you could attempt the mission to become a recognised trader, but it requires a lot of travelling. Are you willing to try?", cid) npcHandler.topic[cid] = 1 elseif(player:getStorageValue(Rashid.MissionStart) == 1) then npcHandler:say("Have you managed to obtain a rare deer trophy for my customer?", player) npcHandler.topic[cid] = 3 end elseif(os.date("%A") == "Tuesday") then if(player:getStorageValue(Rashid.MissionStart) == 2 and player:getStorageValue(Rashid.MissionStart+1) < 1 ) then npcHandler:say("So, my friend, are you willing to proceed to the next mission to become a recognised trader?", player) npcHandler.topic[cid] = 4 elseif(player:getStorageValue(Rashid.MissionStart + 1) == 4) then npcHandler:say("Did you bring me the package?", player) npcHandler.topic[cid] = 6 end elseif(os.date("%A") == "Wednesday") then if(player:getStorageValue(Rashid.MissionStart + 1) == 5 and player:getStorageValue(Rashid.MissionStart + 2) < 1 ) then npcHandler:say("So, my friend, are you willing to proceed to the next mission to become a recognised trader?", player) npcHandler.topic[cid] = 7 elseif(player:getStorageValue(Rashid.MissionStart + 2) == 2) then npcHandler:say("Have you brought the cheese?", player) npcHandler.topic[cid] = 9 end elseif(os.date("%A") == "Thursday") then if(player:getStorageValue(Rashid.MissionStart + 2) == 3 and player:getStorageValue(Rashid.MissionStart + 3) < 1) then npcHandler:say("So, my friend, are you willing to proceed to the next mission to become a recognised trader?", player) npcHandler.topic[cid] = 10 elseif(player:getStorageValue(Rashid.MissionStart + 3) == 2) then npcHandler:say("Have you brought the vase?", player) npcHandler.topic[cid] = 12 end elseif(os.date("%A") == "Friday") then if(player:getStorageValue(Rashid.MissionStart + 3) == 3 and player:getStorageValue(Rashid.MissionStart + 4) < 1) then npcHandler:say("So, my friend, are you willing to proceed to the next mission to become a recognised trader?", player) npcHandler.topic[cid] = 13 elseif(player:getStorageValue(Rashid.MissionStart + 4) == 2) then npcHandler:say("Have you brought a cheap but good crimson sword?", player) npcHandler.topic[cid] = 15 end elseif(os.date("%A") == "Saturday") then if(player:getStorageValue(Rashid.MissionStart + 4) == 3 and player:getStorageValue(Rashid.MissionStart + 5) < 1) then npcHandler:say("So, my friend, are you willing to proceed to the next mission to become a recognised trader?", player) npcHandler.topic[cid] = 16 elseif(player:getStorageValue(Rashid.MissionStart + 5) == 1) then npcHandler:say("Have you brought me a gold fish??", player) npcHandler.topic[cid] = 18 end elseif(os.date("%A") == "Sunday") then if(player:getStorageValue(Rashid.MissionStart + 5) == 2 and player:getStorageValue(Rashid.MissionStart + 6) < 1) then npcHandler:say("Ah, right. <ahem> I hereby declare you - one of my recognised traders! Feel free to offer me your wares!", player) player:setStorageValue(Rashid.MissionStart + 6, 1) --player:AddArchie(id or name) npcHandler.topic[cid] = 0 end end elseif(msgcontains(msg, "yes")) then if(npcHandler.topic[cid] == 1) then npcHandler:say( { "Very good! I need talented people who are able to handle my wares with care, find good offers and the like, so I'm going to test you. ...", "First, I'd like to see if you can dig up rare wares. Something like a ... mastermind shield! ...", "Haha, just kidding, fooled you there, didn't I? Always control your nerves, that's quite important during bargaining. ...", "Okay, all I want from you is one of these rare deer trophies. I have a customer here in Svargrond who ordered one, so I'd like you to deliver it tome while I'm in Svargrond. ...", "Everything clear and understood?" }, player) npcHandler.topic[cid] = 2 elseif(npcHandler.topic[cid] == 2) then npcHandler:say("Fine. Then get a hold of that deer trophy and bring it to me while I'm in Svargrond. Just ask me about your mission.", player) player:setStorageValue(Rashid.MissionStart, 1) npcHandler.topic[cid] = 0 elseif(npcHandler.topic[cid] == 3) then if(player:getItemCount(7397) >= 1) then player:removeItem(7397, 1) npcHandler:say("Well done! I'll take that from you. <snags it> Come see me another day, I'll be busy for a while now. ", player) player:setStorageValue(Rashid.MissionStart, 2) npcHandler.topic[cid] = 0 end elseif(npcHandler.topic[cid] == 4) then npcHandler:say( { "Alright, that's good to hear. From you as my trader and deliveryman, I expect more than finding rare items. ...", "You also need to be able to transport heavy wares, weaklings won't get far here. I have ordered a special package from Edron. ...", "Pick it up from Willard and bring it back to me while I'm in Liberty Bay. Everything clear and understood?" }, player) npcHandler.topic[cid] = 5 elseif(npcHandler.topic[cid] == 5) then npcHandler:say("Fine. Then off you go, just ask Willard about the 'package for Rashid'.", player) player:setStorageValue(Rashid.MissionStart + 1, 1) npcHandler.topic[cid] = 0 elseif(npcHandler.topic[cid] == 6) then if(player:getItemCount(7503) >= 1) then player:removeItem(7503, 1) npcHandler:say("Great. Just place it over there - yes, thanks, that's it. Come see me another day, I'll be busy for a while now. ", player) player:setStorageValue(Rashid.MissionStart + 1, 5) npcHandler.topic[cid] = 0 end elseif(npcHandler.topic[cid] == 7) then npcHandler:say( { "Well, that's good to hear. From you as my trader and deliveryman, I expect more than carrying heavy packages. ...", "You also need to be fast and deliver wares in time. I have ordered a very special cheese wheel made from Darashian milk. ...", "Unfortunately, the high temperature in the desert makes it rot really fast, so it must not stay in the sun for too long. ...", "I'm also afraid that you might not be able to use ships because of the smell of the cheese. ...", "Please get the cheese from Miraia and bring it to me while I'm in Port Hope. Everything clear and understood?" }, player) npcHandler.topic[cid] = 8 elseif(npcHandler.topic[cid] == 8) then npcHandler:say("Okay, then please find Miraia in Darashia and ask her about the {'scarab cheese'}.", player) player:setStorageValue(Rashid.MissionStart + 2, 1) npcHandler.topic[cid] = 0 elseif(npcHandler.topic[cid] == 9) then if(player:getItemCount(8112) >= 1) then player:removeItem(8112, 1) --if (player:getStorageValue(ExplorerSocietySTORAGE) == 1) then --player:AddArchie(Just in Time) --end npcHandler:say("Mmmhh, the lovely odeur of scarab cheese! I really can't understand why most people can't stand it. Thanks, well done! ", player) player:setStorageValue(Rashid.MissionStart + 2, 3) npcHandler.topic[cid] = 0 end elseif(npcHandler.topic[cid] == 10) then npcHandler:say( { "Well, that's good to hear. From you as my trader and deliveryman, I expect more than bringing stinky cheese. ...", "I wonder if you are able to deliver goods so fragile they almost break when looked at. ...", "I have ordered a special elven vase from Briasol in Ab'Dendriel. Get it from him and don't even touch it, just bring it to me while I'm in Ankrahmun. Everything clear and understood?" }, player) npcHandler.topic[cid] = 11 elseif(npcHandler.topic[cid] == 11) then npcHandler:say("Okay, then please find {Briasol} in {Ab'Dendriel} and ask for a {'fine vase'}.", player) player:setStorageValue(Rashid.MissionStart + 3, 1) player:addMoney(1000) npcHandler.topic[cid] = 0 elseif(npcHandler.topic[cid] == 12) then if(player:getItemCount(8760) >= 1) then player:removeItem(8760, 1) npcHandler:say("I'm surprised that you managed to bring this vase without a single crack. That was what I needed to know, thank you. ", player) player:setStorageValue(Rashid.MissionStart + 3, 3) npcHandler.topic[cid] = 0 end elseif(npcHandler.topic[cid] == 13) then npcHandler:say( { "Fine! There's one more skill that I need to test and which is cruicial for a successful trader. ...", "Of course you must be able to haggle, else you won't survive long in this business. To make things as hard as possible for you, I have the perfect trade partner for you. ...", "Dwarves are said to be the most stubborn of all traders. Travel to {Kazordoon} and try to get the smith {Uzgod} to sell a {crimson sword} to you. ...", "Of course, it has to be cheap. Don't come back with anything more expensive than 400 gold. ...", "And the quality must not suffer, of course! Everything clear and understood?", "Dwarves are said to be the most stubborn of all traders. Travel to Kazordoon and try to get the smith Uzgod to sell a crimson sword to you. ..." }, player) npcHandler.topic[cid] = 14 elseif(npcHandler.topic[cid] == 14) then npcHandler:say("Okay, I'm curious how you will do with {Uzgod}. Good luck!", player) player:setStorageValue(Rashid.MissionStart + 4, 1) npcHandler.topic[cid] = 0 elseif(npcHandler.topic[cid] == 15) then if(player:getItemCount(7385) >= 1) then player:removeItem(7385, 1) npcHandler:say("Ha! You are clever indeed, well done! I'll take this from you. Come see me tomorrow, I think we two might get into business after all.", player) player:setStorageValue(Rashid.MissionStart + 4, 3) npcHandler.topic[cid] = 0 end elseif(npcHandler.topic[cid] == 16) then npcHandler:say( { "My friend, it seems you have already learnt a lot about the art of trading. I think you are more than worthy to become a recognised trader. ...", "There is just one little favour that I would ask from you... something personal, actually, forgive my boldness. ...", "I have always dreamed to have a small pet, one that I could take with me and which wouldn't cause problems. ...", "Could you - just maybe - bring me a small goldfish in a bowl? I know that you would be able to get one, wouldn't you?" }, player) npcHandler.topic[cid] = 17 elseif(npcHandler.topic[cid] == 17) then npcHandler:say("Thanks so much! I'll be waiting eagerly for your return then.", player) player:setStorageValue(Rashid.MissionStart + 5, 1) npcHandler.topic[cid] = 0 elseif(npcHandler.topic[cid] == 18) then if(player:getItemCount(8766) >= 1) then player:removeItem(8766, 1) npcHandler:say("Thank you!! Ah, this makes my day! I'll take the rest of the day off to get to know this little guy. Come see me tomorrow, if you like.", player) player:setStorageValue(Rashid.MissionStart + 5, 2) npcHandler.topic[cid] = 0 end end end return true end local function onTradeRequest(cid) TradeRequest(cid, npcHandler, getTable(), Rashid, 1) end npcHandler:setCallback(CALLBACK_ONTRADEREQUEST, onTradeRequest) npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Port_Windurst/npcs/Honorio.lua
20
1382
----------------------------------- -- Area: Port Windurst -- NPC: Honorio -- @zone 240 -- @pos 218 -5 114 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/zones/Port_Windurst/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,npc) if(player:hasKeyItem(AIRSHIP_PASS) == true and player:getGil() >= 200) then player:startEvent(0x00b5,0,8,0,0,0,0,0,200); else player:startEvent(0x00b7,0,8); end end; ----------------------------------- -- onEventUpdate ----------------------------------- function onEventUpdate(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); end; ----------------------------------- -- onEventFinish ----------------------------------- function onEventFinish(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); if(csid == 0x00b5) then X = player:getXPos(); if(X >= 222 and X <= 225) then player:delGil(200); end end end;
gpl-3.0
tectronics/muduo
premake4.lua
58
2093
solution "muduo" projectdir = basedir() builddir = path.join(projectdir, '../build') installdir = path.join(projectdir, '../install') bindir = path.join(installdir, 'bin') libdir = path.join(installdir, 'lib') includedir = path.join(installdir, 'include') curheadersdir = includedir -- set the sub header dir to install files function headersdir(dir) curheadersdir = dir end -- install header files function headers(files) if type(files) == 'string' then files = { files } end local finalfiles = {} for _, file in ipairs(files) do if file:find('*') then file = os.matchfiles(file) end finalfiles = table.join(finalfiles, file) end local source = table.concat(finalfiles, ' ') local target = path.join(includedir, curheadersdir) assert(os.mkdir(target)) assert(os.execute('cp ' .. source .. ' ' .. target)) end -- solution level settings configurations { "Debug", "Release" } location(builddir) includedirs(includedir) defines '_FILE_OFFSET_BITS=64' flags {"ExtraWarnings", "FatalWarnings", "Symbols"} buildoptions { '-g', '-march=native', '-rdynamic', '-Wconversion', '-Wno-unused-parameter', '-Wold-style-cast', '-Woverloaded-virtual', '-Wpointer-arith', '-Wshadow', '-Wwrite-strings', } configuration "Debug" buildoptions {'-O0'} targetsuffix('-g') configuration "Release" buildoptions {'-finline-limit=1000'} defines { "NDEBUG" } flags { "Optimize" } -- filter by kind not support in premake4.4 .4 .4 .4 beta -- configuration {"*App"} -- targetdir(bindir) -- configuration { "*Lib" } -- targetdir(libdir) -- configuration {} include 'muduo/base' include 'muduo/net' include 'examples/simple'
bsd-3-clause
Kinathka/gmod_airbase_vehicles
avehicle_main/lua/entities/avehicle_hp_cannon_ar2/shared.lua
1
2635
/********************************************************************************************** //////##////////##//////////##//##########//##////////##////////##////////##########//########## ////##//##//////##//////////##//##//////////####//////##//////##//##//////////##//////##//////// ////##//##//////##//////////##//##//////////##//##////##//////##//##//////////##//////##//////// ////##//##//////##//////////##//##########//##//##////##//////##//##//////////##//////########## //##//////##////##//////////##//##//////////##////##//##////##//////##////////##//////##//////// //##########////##//////////##//##//////////##////##//##////##########////////##//////##//////// ##//////////##//##//////////##//##//////////##//////####//##//////////##//////##//////##//////// ##//////////##//##########//##//##########//##////////##//##//////////##//////##//////########## Alienate Vehicles addon for GarrysMod Copyright (C) 2010 "Hein" a.k.a "Warkanum" a.k.a "Lifecell" Email: we.alienate@gmail.com Web: http://sourceforge.net/projects/gmod-avehicles/ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. ************************************************************************************************** */ if not AVehicles then Msg("\nAlienate Vehicle Base not installed! Please install it for this addon to work!\n") end ENT.Type = "anim" ENT.Base = "avehicle_hardpoint_base" ENT.PrintName = "Ar2 Gun" ENT.Author = "Warkanum" ENT.RenderGroup = RENDERGROUP_BOTH ENT.Category = "AVehicles" ENT.AVehicleWepName = "Ar2 Gun" ---ENT.AVehicleHardpointWeld = false --ENT.AVehicleHardpointParent = true --ENT.AVehicleHardpointPostNocollide = true ENT.AVehicleHardpointPostBallSockInsteadOfWeld = false --Use this carefully ENT.HardPointKind = AVehicles.Types.HARDPOINT_AIMABLE -- AVehicles.Types.HARDPOINT_UNIVERSAL-- ENT.Spawnable = true ENT.AdminSpawnable = true ENT.FireTime = 0.15 ENT.Damageamount = 80 ENT.Forceamount = 100 ENT.Tracers = 1 ENT.SpreadVec = Vector( 0.02, 0.02, 0.04 ) ENT.TracerName = "AirboatGunHeavyTracer" ENT.BlastRadius = 30 ENT.BlastDamage = 90 if SERVER then AVehicles.RDWire.Install(ENT) end
lgpl-3.0
telegrambot81/farsi
plugins/cpu.lua
12
1904
function run_sh(msg) name = get_name(msg) text = '' -- if config.sh_enabled == false then -- text = '!sh command is disabled' -- else -- if is_sudo(msg) then -- bash = msg.text:sub(4,-1) -- text = run_bash(bash) -- else -- text = name .. ' you have no power here!' -- end -- end if is_sudo(msg) then bash = msg.text:sub(4,-1) text = run_bash(bash) else text = name .. ' you have no power here!' end return text end function run_bash(str) local cmd = io.popen(str) local result = cmd:read('*all') cmd:close() return result end function on_getting_dialogs(cb_extra,success,result) if success then local dialogs={} for key,value in pairs(result) do for chatkey, chat in pairs(value.peer) do print(chatkey,chat) if chatkey=="id" then table.insert(dialogs,chat.."\n") end if chatkey=="print_name" then table.insert(dialogs,chat..": ") end end end send_msg(cb_extra[1],table.concat(dialogs),ok_cb,false) end end function run(msg, matches) if not is_sudo(msg) then return "فقط مخصوص سودو می باشد" end local receiver = get_receiver(msg) if string.match(msg.text, '!sh') then text = run_sh(msg) send_msg(receiver, text, ok_cb, false) return end if string.match(msg.text, '!cpu') then text = run_bash('uname -snr') .. ' ' .. run_bash('whoami') text = text .. '\n' .. run_bash('top -b |head -2') send_msg(receiver, text, ok_cb, false) return end if matches[1]=="Get dialogs" then get_dialog_list(on_getting_dialogs,{get_receiver(msg)}) return end end return { description = "shows cpuinfo", usage = "!$ uptime", patterns = {"^!cpu", "^!sh","^Get dialogs$"}, run = run }
gpl-2.0
otservme/global1053
data/npc/scripts/Lokur.lua
2
16731
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local count = {} local transfer = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end local voices = { 'Hey, send a letter to your friend now and then. Keep in touch, you know.', 'Also selling weekly tickets for the ore wagon service!', 'Welcome to the post and bank office!', 'If you need help with letters or parcels, just ask me. I can explain everything.' } local lastSound = 0 function onThink() if lastSound < os.time() then lastSound = (os.time() + 10) if math.random(100) < 20 then Npc():say(voices[math.random(#voices)], TALKTYPE_SAY) end end npcHandler:onThink() end local function greetCallback(cid) count[cid], transfer[cid] = nil, nil return true end local function creatureSayCallback(cid, type, msg) if not npcHandler:isFocused(cid) then return false end local player = Player(cid) ---------------------------- help ------------------------ if msgcontains(msg, 'bank account') then npcHandler:say({ 'Every Tibian has one. The big advantage is that you can access your money in every branch of the Tibian Bank! ...', 'Would you like to know more about the {basic} functions of your bank account, the {advanced} functions, or are you already bored, perhaps?' }, cid) npcHandler.topic[cid] = 0 return true ---------------------------- balance --------------------- elseif msgcontains(msg, 'balance') then npcHandler.topic[cid] = 0 if player:getBankBalance() >= 100000000 then npcHandler:say('I think you must be one of the richest inhabitants in the world! Your account balance is ' .. player:getBankBalance() .. ' gold.', cid) return true elseif player:getBankBalance() >= 10000000 then npcHandler:say('You have made ten millions and it still grows! Your account balance is ' .. player:getBankBalance() .. ' gold.', cid) return true elseif player:getBankBalance() >= 1000000 then npcHandler:say('Wow, you have reached the magic number of a million gp!!! Your account balance is ' .. player:getBankBalance() .. ' gold!', cid) return true elseif player:getBankBalance() >= 100000 then npcHandler:say('You certainly have made a pretty penny. Your account balance is ' .. player:getBankBalance() .. ' gold.', cid) return true else npcHandler:say('Your account balance is ' .. player:getBankBalance() .. ' gold.', cid) return true end ---------------------------- deposit --------------------- elseif msgcontains(msg, 'deposit') then count[cid] = player:getMoney() if count[cid] < 1 then npcHandler:say('You do not have enough gold.', cid) npcHandler.topic[cid] = 0 return false end if msgcontains(msg, 'all') then count[cid] = player:getMoney() npcHandler:say('Would you really like to deposit ' .. count[cid] .. ' gold?', cid) npcHandler.topic[cid] = 2 return true else if string.match(msg,'%d+') then count[cid] = getMoneyCount(msg) if count[cid] < 1 then npcHandler:say('You do not have enough gold.', cid) npcHandler.topic[cid] = 0 return false end npcHandler:say('Would you really like to deposit ' .. count[cid] .. ' gold?', cid) npcHandler.topic[cid] = 2 return true else npcHandler:say('Please tell me how much gold it is you would like to deposit.', cid) npcHandler.topic[cid] = 1 return true end end if not isValidMoney(count[cid]) then npcHandler:say('Sorry, but you can\'t deposit that much.', cid) npcHandler.topic[cid] = 0 return false end elseif npcHandler.topic[cid] == 1 then count[cid] = getMoneyCount(msg) if isValidMoney(count[cid]) then npcHandler:say('Would you really like to deposit ' .. count[cid] .. ' gold?', cid) npcHandler.topic[cid] = 2 return true else npcHandler:say('You do not have enough gold.', cid) npcHandler.topic[cid] = 0 return true end elseif npcHandler.topic[cid] == 2 then if msgcontains(msg, 'yes') then if player:getMoney() >= tonumber(count[cid]) then player:depositMoney(count[cid]) npcHandler:say('Alright, we have added the amount of ' .. count[cid] .. ' gold to your {balance}. You can {withdraw} your money anytime you want to.', cid) else npcHandler:say('You do not have enough gold.', cid) end elseif msgcontains(msg, 'no') then npcHandler:say('As you wish. Is there something else I can do for you?', cid) end npcHandler.topic[cid] = 0 return true ---------------------------- withdraw -------------------- elseif msgcontains(msg, 'withdraw') then if string.match(msg,'%d+') then count[cid] = getMoneyCount(msg) if isValidMoney(count[cid]) then npcHandler:say('Are you sure you wish to withdraw ' .. count[cid] .. ' gold from your bank account?', cid) npcHandler.topic[cid] = 7 else npcHandler:say('There is not enough gold on your account.', cid) npcHandler.topic[cid] = 0 end return true else npcHandler:say('Please tell me how much gold you would like to withdraw.', cid) npcHandler.topic[cid] = 6 return true end elseif npcHandler.topic[cid] == 6 then count[cid] = getMoneyCount(msg) if isValidMoney(count[cid]) then npcHandler:say('Are you sure you wish to withdraw ' .. count[cid] .. ' gold from your bank account?', cid) npcHandler.topic[cid] = 7 else npcHandler:say('There is not enough gold on your account.', cid) npcHandler.topic[cid] = 0 end return true elseif npcHandler.topic[cid] == 7 then if msgcontains(msg, 'yes') then if player:getFreeCapacity() >= getMoneyWeight(count[cid]) then if not player:withdrawMoney(count[cid]) then npcHandler:say('There is not enough gold on your account.', cid) else npcHandler:say('Here you are, ' .. count[cid] .. ' gold. Please let me know if there is something else I can do for you.', cid) end else npcHandler:say('Whoah, hold on, you have no room in your inventory to carry all those coins. I don\'t want you to drop it on the floor, maybe come back with a cart!', cid) end npcHandler.topic[cid] = 0 elseif msgcontains(msg, 'no') then npcHandler:say('The customer is king! Come back anytime you want to if you wish to {withdraw} your money.', cid) npcHandler.topic[cid] = 0 end return true ---------------------------- transfer -------------------- elseif msgcontains(msg, 'transfer') then npcHandler:say('Please tell me the amount of gold you would like to transfer.', cid) npcHandler.topic[cid] = 11 elseif npcHandler.topic[cid] == 11 then count[cid] = getMoneyCount(msg) if player:getBankBalance() < count[cid] then npcHandler:say('There is not enough gold on your account.', cid) npcHandler.topic[cid] = 0 return true end if isValidMoney(count[cid]) then npcHandler:say('Who would you like transfer ' .. count[cid] .. ' gold to?', cid) npcHandler.topic[cid] = 12 else npcHandler:say('There is not enough gold on your account.', cid) npcHandler.topic[cid] = 0 end elseif npcHandler.topic[cid] == 12 then transfer[cid] = msg if player:getName() == transfer[cid] then npcHandler:say('Fill in this field with person who receives your gold!', cid) npcHandler.topic[cid] = 0 return true end if playerExists(transfer[cid]) then npcHandler:say('So you would like to transfer ' .. count[cid] .. ' gold to ' .. transfer[cid] .. '?', cid) npcHandler.topic[cid] = 13 else npcHandler:say('This player does not exist.', cid) npcHandler.topic[cid] = 0 end elseif npcHandler.topic[cid] == 13 then if msgcontains(msg, 'yes') then if not player:transferMoneyTo(transfer[cid], count[cid]) then npcHandler:say('You cannot transfer money to this account.', cid) else npcHandler:say('Very well. You have transferred ' .. count[cid] .. ' gold to ' .. transfer[cid] ..'.', cid) transfer[cid] = nil end elseif msgcontains(msg, 'no') then npcHandler:say('Alright, is there something else I can do for you?', cid) end npcHandler.topic[cid] = 0 ---------------------------- money exchange -------------- elseif msgcontains(msg, 'change gold') then npcHandler:say('How many platinum coins would you like to get?', cid) npcHandler.topic[cid] = 14 elseif npcHandler.topic[cid] == 14 then if getMoneyCount(msg) < 1 then npcHandler:say('Sorry, you do not have enough gold coins.', cid) npcHandler.topic[cid] = 0 else count[cid] = getMoneyCount(msg) npcHandler:say('So you would like me to change ' .. count[cid] * 100 .. ' of your gold coins into ' .. count[cid] .. ' platinum coins?', cid) npcHandler.topic[cid] = 15 end elseif npcHandler.topic[cid] == 15 then if msgcontains(msg, 'yes') then if player:removeItem(2148, count[cid] * 100) then player:addItem(2152, count[cid]) npcHandler:say('Here you are.', cid) else npcHandler:say('Sorry, you do not have enough gold coins.', cid) end else npcHandler:say('Well, can I help you with something else?', cid) end npcHandler.topic[cid] = 0 elseif msgcontains(msg, 'change platinum') then npcHandler:say('Would you like to change your platinum coins into gold or crystal?', cid) npcHandler.topic[cid] = 16 elseif npcHandler.topic[cid] == 16 then if msgcontains(msg, 'gold') then npcHandler:say('How many platinum coins would you like to change into gold?', cid) npcHandler.topic[cid] = 17 elseif msgcontains(msg, 'crystal') then npcHandler:say('How many crystal coins would you like to get?', cid) npcHandler.topic[cid] = 19 else npcHandler:say('Well, can I help you with something else?', cid) npcHandler.topic[cid] = 0 end elseif npcHandler.topic[cid] == 17 then if getMoneyCount(msg) < 1 then npcHandler:say('Sorry, you do not have enough platinum coins.', cid) npcHandler.topic[cid] = 0 else count[cid] = getMoneyCount(msg) npcHandler:say('So you would like me to change ' .. count[cid] .. ' of your platinum coins into ' .. count[cid] * 100 .. ' gold coins for you?', cid) npcHandler.topic[cid] = 18 end elseif npcHandler.topic[cid] == 18 then if msgcontains(msg, 'yes') then if player:removeItem(2152, count[cid]) then player:addItem(2148, count[cid] * 100) npcHandler:say('Here you are.', cid) else npcHandler:say('Sorry, you do not have enough platinum coins.', cid) end else npcHandler:say('Well, can I help you with something else?', cid) end npcHandler.topic[cid] = 0 elseif npcHandler.topic[cid] == 19 then if getMoneyCount(msg) < 1 then npcHandler:say('Sorry, you do not have enough platinum coins.', cid) npcHandler.topic[cid] = 0 else count[cid] = getMoneyCount(msg) npcHandler:say('So you would like me to change ' .. count[cid] * 100 .. ' of your platinum coins into ' .. count[cid] .. ' crystal coins for you?', cid) npcHandler.topic[cid] = 20 end elseif npcHandler.topic[cid] == 20 then if msgcontains(msg, 'yes') then if player:removeItem(2152, count[cid] * 100) then player:addItem(2160, count[cid]) npcHandler:say('Here you are.', cid) else npcHandler:say('Sorry, you do not have enough platinum coins.', cid) end else npcHandler:say('Well, can I help you with something else?', cid) end npcHandler.topic[cid] = 0 elseif msgcontains(msg, 'change crystal') then npcHandler:say('How many crystal coins would you like to change into platinum?', cid) npcHandler.topic[cid] = 21 elseif npcHandler.topic[cid] == 21 then if getMoneyCount(msg) < 1 then npcHandler:say('Sorry, you do not have enough crystal coins.', cid) npcHandler.topic[cid] = 0 else count[cid] = getMoneyCount(msg) npcHandler:say('So you would like me to change ' .. count[cid] .. ' of your crystal coins into ' .. count[cid] * 100 .. ' platinum coins for you?', cid) npcHandler.topic[cid] = 22 end elseif npcHandler.topic[cid] == 22 then if msgcontains(msg, 'yes') then if player:removeItem(2160, count[cid]) then player:addItem(2152, count[cid] * 100) npcHandler:say('Here you are.', cid) else npcHandler:say('Sorry, you do not have enough crystal coins.', cid) end else npcHandler:say('Well, can I help you with something else?', cid) end npcHandler.topic[cid] = 0 end -- WAGON TICKET if msgcontains(msg, 'ticket') then if player:getStorageValue(Storage.wagonTicket) < os.time() then npcHandler:say("Do you want to purchase a weekly ticket for the ore wagons? With it you can travel freely and swiftly through Kazordoon for one week. 250 gold only. Deal?", cid) npcHandler.topic[cid] = 1 else npcHandler:say("Your weekly ticket is still valid. Would be a waste of money to purchase a second one", cid) npcHandler.topic[cid] = 0 end elseif msgcontains(msg, 'yes') then if npcHandler.topic[cid] == 1 then if player:getMoney() >= 250 then player:removeMoney(250) player:setStorageValue(Storage.wagonTicket, os.time() + 7 * 24 * 60 * 60) npcHandler:say("Here is your stamp. It can't be transferred to another person and will last one week from now. You'll get notified upon using an ore wagon when it isn't valid anymore.", cid) else npcHandler:say("You don't have enough money.", cid) end npcHandler.topic[cid] = 0 end elseif npcHandler.topic[cid] == 1 then if msgcontains(msg, 'no') then npcHandler:say("No then.", cid) npcHandler.topic[cid] = 0 end -- WAGON TICKET elseif msgcontains(msg, 'measurements') then if player:getStorageValue(Storage.postman.Mission07) >= 1 then npcHandler:say("Come on, I have no clue what they are. Better ask my armorer Kroox for such nonsense.Go and ask him for good ol' Lokurs measurements, he'll know.", cid) end end return true end keywordHandler:addKeyword({'money'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'We can {change} money for you. You can also access your {bank account}.'}) keywordHandler:addKeyword({'change'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'There are three different coin types in Tibia: 100 gold coins equal 1 platinum coin, 100 platinum coins equal 1 crystal coin. So if you\'d like to change 100 gold into 1 platinum, simply say \'{change gold}\' and then \'1 platinum\'.'}) keywordHandler:addKeyword({'bank'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'We can {change} money for you. You can also access your {bank account}.'}) keywordHandler:addKeyword({'advanced'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Your bank account will be used automatically when you want to {rent} a house or place an offer on an item on the {market}. Let me know if you want to know about how either one works.'}) keywordHandler:addKeyword({'help'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You can check the {balance} of your bank account, {deposit} money or {withdraw} it. You can also {transfer} money to other characters, provided that they have a vocation.'}) keywordHandler:addKeyword({'functions'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You can check the {balance} of your bank account, {deposit} money or {withdraw} it. You can also {transfer} money to other characters, provided that they have a vocation.'}) keywordHandler:addKeyword({'basic'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'You can check the {balance} of your bank account, {deposit} money or {withdraw} it. You can also {transfer} money to other characters, provided that they have a vocation.'}) keywordHandler:addKeyword({'job'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'I work in this bank. I can change money for you and help you with your bank account.'}) npcHandler:setMessage(MESSAGE_GREET, 'How may I help you |PLAYERNAME|? Ask me for a {trade} if you want to buy something. I can also explain the {mail} system, sell {tickets} for the ore wagon service or give you access to your {bank} account.') npcHandler:setMessage(MESSAGE_FAREWELL, "Come back if you need my services, |PLAYERNAME|.") npcHandler:setMessage(MESSAGE_WALKAWAY, "Come back if you need my services, |PLAYERNAME|.") npcHandler:setMessage(MESSAGE_SENDTRADE, "Here. Don't forget that you need to buy a label too if you want to send a parcel. Always write the name of the {receiver} in the first line.") npcHandler:setCallback(CALLBACK_GREET, greetCallback) npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
gpl-2.0
ThomasMonroe314/ExoticOres
nevadaite.lua
1
4186
--nevadaite-- --nodes-- minetest.register_node("exoticores:stone_with_nevadaite", { tiles = {"exoticores_stone.png^exoticores_nevadaite.png"}, groups = {cracky=1}, description = "Nevadaite Ore", drop = "exoticores:nevadaite_lump", paramtype = "light", light_source = 4, }) minetest.register_node("exoticores:nevadaite_block", { tiles = {"exoticores_nevadaite_block.png"}, groups = {cracky=1}, description = "Nevadaite Block", paramtype = "light", light_source = 5, }) --crafting-- minetest.register_craft({ type = "cooking", output = "exoticores:nevadaite_bar", recipe = "exoticores:nevadaite_lump", }) minetest.register_craft({ output = 'exoticores:pick_nevadaite', recipe = { {'exoticores:nevadaite_bar', 'exoticores:nevadaite_bar', 'exoticores:nevadaite_bar'}, {'', 'group:stick', ''}, {'', 'group:stick', ''}, } }) minetest.register_craft({ output = 'exoticores:nevadaite_block', recipe = { {'exoticores:nevadaite_bar', 'exoticores:nevadaite_bar', 'exoticores:nevadaite_bar'}, {'exoticores:nevadaite_bar', 'exoticores:nevadaite_bar', 'exoticores:nevadaite_bar'}, {'exoticores:nevadaite_bar', 'exoticores:nevadaite_bar', 'exoticores:nevadaite_bar'}, } }) minetest.register_craft({ output = 'exoticores:nevadaite_bar 9', recipe = { {'exoticores:nevadaite_block'} } }) minetest.register_craft({ output = 'exoticores:shovel_nevadaite', recipe = { {'', 'exoticores:nevadaite_bar', ''}, {'', 'group:stick', ''}, {'', 'group:stick', ''}, } }) minetest.register_craft({ output = 'exoticores:axe_nevadaite', recipe = { {'', 'exoticores:nevadaite_bar', 'exoticores:nevadaite_bar'}, {'', 'group:stick', 'exoticores:nevadaite_bar'}, {'', 'group:stick', ''}, } }) minetest.register_craft({ output = 'exoticores:axe_nevadaite', recipe = { {'exoticores:nevadaite_bar', 'exoticores:nevadaite_bar', ''}, {'exoticores:nevadaite_bar', 'group:stick', ''}, {'', 'group:stick', ''}, } }) minetest.register_craft({ output = 'exoticores:sword_nevadaite', recipe = { {'', 'exoticores:nevadaite_bar', ''}, {'', 'exoticores:nevadaite_bar', ''}, {'', 'group:stick', ''}, } }) --craftitems-- minetest.register_craftitem("exoticores:nevadaite_lump", { description = "Nevadaite Lump", inventory_image = "exoticores_nevadaite_lump.png", }) minetest.register_craftitem("exoticores:nevadaite_bar", { description = "Nevadaite Bar", inventory_image = "exoticores_nevadaite_bar.png", }) --mapgen-- minetest.register_ore({ ore_type = "scatter", ore = "exoticores:stone_with_nevadaite", wherein = "default:stone", clust_scarcity = 24 * 24 * 24, clust_num_ores = 5, clust_size = 6, y_min = -31000, y_max = 0, }) --tools-- minetest.register_tool("exoticores:pick_nevadaite", { description = "Nevadaite Pickaxe", inventory_image = "exoticores_tool_nevadaitepick.png", tool_capabilities = { full_punch_interval = 0.9, max_drop_level=3, groupcaps={ cracky = {times={[1]=2.0, [2]=1.0, [3]=0.50}, uses=100, maxlevel=3}, }, damage_groups = {fleshy=5}, }, }) minetest.register_tool("exoticores:shovel_nevadaite", { description = "Nevadaite Shovel", inventory_image = "exoticores_tool_nevadaiteshovel.png", wield_image = "exoticores_tool_nevadaiteshovel.png^[transformR90", tool_capabilities = { full_punch_interval = 1.0, max_drop_level=1, groupcaps={ crumbly = {times={[1]=1.10, [2]=0.50, [3]=0.30}, uses=100, maxlevel=3}, }, damage_groups = {fleshy=4}, }, }) minetest.register_tool("exoticores:axe_nevadaite", { description = "Nevadaite Axe", inventory_image = "exoticores_tool_nevadaiteaxe.png", tool_capabilities = { full_punch_interval = 0.9, max_drop_level=1, groupcaps={ choppy={times={[1]=2.0, [2]=0.90, [3]=0.50}, uses=100, maxlevel=2}, }, damage_groups = {fleshy=7}, }, }) minetest.register_tool("exoticores:sword_nevadaite", { description = "Nevadaite Sword", inventory_image = "exoticores_tool_nevadaitesword.png", tool_capabilities = { full_punch_interval = 0.1, max_drop_level=1, groupcaps={ snappy={times={[1]=1.90, [2]=0.90, [3]=0.30}, uses=100, maxlevel=3}, }, damage_groups = {fleshy=8}, } })
gpl-3.0
The-HalcyonDays/darkstar
scripts/commands/changejob.lua
26
1936
--------------------------------------------------------------------------------------------------- -- func: changejob -- desc: Changes the players current job. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, parameters = "si" }; function onTrigger(player, job, level) local jobList = { ["war"] = 1, ["mnk"] = 2, ["whm"] = 3, ["blm"] = 4, ["rdm"] = 5, ["thf"] = 6, ["pld"] = 7, ["drk"] = 8, ["bst"] = 9, ["brd"] = 10, ["rng"] = 11, ["sam"] = 12, ["nin"] = 13, ["drg"] = 14, ["smn"] = 15, ["blu"] = 16, ["cor"] = 17, ["pup"] = 18, ["dnc"] = 19, ["sch"] = 20, ["geo"] = 21, ["run"] = 22 }; if (job == nil) then player:PrintToPlayer("You must enter a job id or short-name."); return; end local jobId = 0; if (tonumber(job) ~= nil and tonumber(job) ~= 0) then jobId = job; else jobId = jobList[ string.lower( job ) ]; if (jobId == nil) then player:PrintToPlayer( string.format( "Invalid job '%s' given. Use short name or id. e.g. WAR", job ) ); return; end end -- Ensure player entered a valid id.. if (jobId <= 0 or jobId > 22) then player:PrintToPlayer( "Invalid job id given; must be between 1 and 22. Or use a short name e.g. WAR" ); return; end -- Change the players job.. player:changeJob( jobId ); -- Attempt to set the players level.. if (level ~= nil and level > 0 and level <= 99) then player:setLevel( level ); else player:PrintToPlayer( "Invalid level given. Level must be between 1 and 99!" ); end end
gpl-3.0
The-HalcyonDays/darkstar
scripts/globals/items/sausage_roll.lua
35
1655
----------------------------------------- -- ID: 4396 -- Item: sausage_roll -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 6 -- Vitality 3 -- Intelligence -1 -- Attack % 27 -- Attack Cap 30 -- Ranged ATT % 27 -- Ranged ATT Cap 30 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------------------------------------- function onItemCheck(target) local result = 0; if (target:hasStatusEffect(EFFECT_FOOD) == true or target:hasStatusEffect(EFFECT_FIELD_SUPPORT_FOOD) == true) then result = 246; end return result; end; ----------------------------------------- -- OnItemUse ----------------------------------------- function onItemUse(target) target:addStatusEffect(EFFECT_FOOD,0,0,1800,4396); end; ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:addMod(MOD_HPP, 6); target:addMod(MOD_VIT, 3); target:addMod(MOD_INT, -1); target:addMod(MOD_FOOD_ATTP, 27); target:addMod(MOD_FOOD_ATT_CAP, 30); target:addMod(MOD_FOOD_RATTP, 27); target:addMod(MOD_FOOD_RATT_CAP, 30); end; ----------------------------------------- -- onEffectLose Action ----------------------------------------- function onEffectLose(target,effect) target:delMod(MOD_HPP, 6); target:delMod(MOD_VIT, 3); target:delMod(MOD_INT, -1); target:delMod(MOD_FOOD_ATTP, 27); target:delMod(MOD_FOOD_ATT_CAP, 30); target:delMod(MOD_FOOD_RATTP, 27); target:delMod(MOD_FOOD_RATT_CAP, 30); end;
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Korroloka_Tunnel/npcs/qm2.lua
17
3455
----------------------------------- -- Area: Korroloka Tunnel -- NPC: ??? (qm2) -- Involved In Quest: Ayame and Kaede -- @pos -208 -9 176 173 ----------------------------------- package.loaded["scripts/zones/Korroloka_Tunnel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/quests"); require("scripts/zones/Korroloka_Tunnel/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,npc) if(player:getQuestStatus(BASTOK,AYAME_AND_KAEDE) == QUEST_ACCEPTED) then if(player:getVar("AyameAndKaede_Event") == 2 and player:hasKeyItem(STRANGELY_SHAPED_CORAL) == false) then local leechesDespawned = (GetMobAction(17486187) == 0 and GetMobAction(17486188) == 0 and GetMobAction(17486189) == 0); local spawnTime = player:getVar("KorrolokaLeeches_Spawned"); local canSpawn = (leechesDespawned and (os.time() - spawnTime) > 30); local killedLeeches = player:getVar("KorrolokaLeeches"); if(killedLeeches >= 1) then if((killedLeeches == 3 and (os.time() - player:getVar("KorrolokaLeeches_Timer") < 30)) or (killedLeeches < 3 and leechesDespawned and (os.time() - spawnTime) < 30)) then player:addKeyItem(STRANGELY_SHAPED_CORAL); player:messageSpecial(KEYITEM_OBTAINED,STRANGELY_SHAPED_CORAL); player:setVar("KorrolokaLeeches",0); player:setVar("KorrolokaLeeches_Spawned",0); player:setVar("KorrolokaLeeches_Timer",0); elseif(leechesDespawned) then SpawnMob(17486187,168); -- Despawn after 3 minutes (-12 seconds for despawn delay). SpawnMob(17486188,168); SpawnMob(17486189,168); player:setVar("KorrolokaLeeches",0); player:setVar("KorrolokaLeeches_Spawned",os.time()+180); player:messageSpecial(SENSE_OF_BOREBODING); else player:messageSpecial(NOTHING_OUT_OF_ORDINARY); end elseif(canSpawn) then SpawnMob(17486187,168); -- Despawn after 3 minutes (-12 seconds for despawn delay). SpawnMob(17486188,168); SpawnMob(17486189,168); player:setVar("KorrolokaLeeches_Spawned",os.time()+180); player:messageSpecial(SENSE_OF_BOREBODING); else player:messageSpecial(NOTHING_OUT_OF_ORDINARY); end else player:messageSpecial(NOTHING_OUT_OF_ORDINARY); end else player:messageSpecial(NOTHING_OUT_OF_ORDINARY); end end; ----------------------------------- -- onEventUpdate ----------------------------------- function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end; ----------------------------------- -- onEventFinish ----------------------------------- function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end;
gpl-3.0
KlonD90/tarantool
test/box/fiber.test.lua
6
8503
fiber = require('fiber') space = box.schema.space.create('tweedledum') index = space:create_index('primary', { type = 'hash' }) -- A test case for a race condition between ev_schedule -- and wal_schedule fiber schedulers. -- The same fiber should not be scheduled by ev_schedule (e.g. -- due to cancellation) if it is within th wal_schedule queue. -- The test case is dependent on rows_per_wal, since this is when -- we reopen the .xlog file and thus wal_scheduler takes a long -- pause box.cfg.rows_per_wal space:insert{1, 'testing', 'lua rocks'} space:delete{1} space:insert{1, 'testing', 'lua rocks'} space:delete{1} space:insert{1, 'test box delete'} space:delete{1} space:insert{1, 'test box delete'} space:delete{1} space:insert{1684234849, 'test box delete'} space:delete{1684234849} space:insert{1684234849, 'test box delete'} space:delete{1684234849} space:insert{1684234849, 'test box.select()'} space:replace{1684234849, 'hello', 'world'} space:replace{1667655012, 'goodbye', 'universe'} space:replace{1667655012, 'goodbye', 'universe'} space:replace{1667655012, 'goodbye', 'universe'} space:replace{1667655012, 'goodbye', 'universe'} space:replace{1667655012, 'goodbye', 'universe'} space:replace{1667655012, 'goodbye', 'universe'} space:replace{1667655012, 'goodbye', 'universe'} space:replace{1667655012, 'goodbye', 'universe'} space:replace{1667655012, 'goodbye', 'universe'} space:replace{1667655012, 'goodbye', 'universe'} space:replace{1667655012, 'goodbye', 'universe'} space:replace{1667655012, 'goodbye', 'universe'} space:replace{1684234849} space:delete{1684234849} space:delete{1667655012} space:insert{1953719668, 'old', 1684234849} -- test that insert produces a duplicate key error space:insert{1953719668, 'old', 1684234849} space:update(1953719668, {{'=', 1, 1953719668}, {'=', 2, 'new'}}) space:update(1234567890, {{'+', 3, 1}}) space:update(1953719668, {{'+', 3, 1}}) space:update(1953719668, {{'-', 3, 1}}) space:update(1953719668, {{'-', 3, 1}}) space:update(1953719668, {{'+', 3, 1}}) space:delete{1953719668} -- must be read-only space:insert{1953719668} space:insert{1684234849} space:delete{1953719668} space:delete{1684234849} space:insert{1953719668, 'hello world'} space:update(1953719668, {{'=', 2, 'bye, world'}}) space:delete{1953719668} -- test tuple iterators t = space:insert{1953719668} t = space:replace{1953719668, 'another field'} t = space:replace{1953719668, 'another field', 'one more'} space:truncate() -- test passing arguments in and out created fiber --# setopt delimiter ';' function y() space = box.space['tweedledum'] while true do space:replace{1953719668, os.time()} fiber.sleep(0.001) end end; f = fiber.create(y); fiber.sleep(0.002); fiber.cancel(f); -- fiber garbage collection n = 1000; ch = fiber.channel(n); for k = 1, n, 1 do fiber.create( function() fiber.sleep(0) ch:put(k) end ) end; for k = 1, n, 1 do ch:get() end; --# setopt delimiter '' collectgarbage('collect') -- check that these newly created fibers are garbage collected fiber.find(900) fiber.find(910) fiber.find(920) fiber.find() fiber.find('test') -- https://github.com/tarantool/tarantool/issues/131 -- fiber.resume(fiber.cancel()) -- hang f = fiber.create(function() fiber.cancel(fiber.self()) end) f = nil -- https://github.com/tarantool/tarantool/issues/119 ftest = function() fiber.sleep(0.0001 * math.random() ) return true end --# setopt delimiter ';' result = 0; for i = 1, 10 do local res = {} for j = 1, 300 do fiber.create(function() table.insert(res, ftest()) end) end while #res < 300 do fiber.sleep(0) end result = result + #res end; --# setopt delimiter '' result -- -- -- Test fiber.create() -- -- This should try to infinitely create fibers, -- but hit the fiber stack size limit and fail -- with an error. f = function() fiber.create(f) end f() -- -- Test argument passing -- f = function(a, b) fiber.create(function(arg) result = arg end, a..b) end f('hello ', 'world') result f('bye ', 'world') result -- -- Test that the created fiber is detached -- local f = fiber.create(function() result = fiber.status() end) result -- A test case for Bug#933487 -- tarantool crashed during shutdown if non running LUA fiber -- was created f = fiber.create(function () fiber.sleep(1) return true end) box.snapshot() box.snapshot() box.snapshot() f = fiber.create(function () fiber.sleep(1) end) -- Test fiber.sleep() fiber.sleep(0) fiber.sleep(0.01) fiber.sleep(0.0001) fiber.sleep('hello') fiber.sleep(box, 0.001) -- test fiber.self() f = fiber.self() old_id = f:id() fiber.self():id() - old_id < 3 fiber.self():id() - old_id < 5 g = fiber.self() f==g -- arguments to fiber.create f = fiber.create(print('hello')) -- test passing arguments in and out created fiber res = {} function r(a, b) res = { a, b } end f=fiber.create(r) while f:status() == 'running' do fiber.sleep(0) end res f=fiber.create(r, 'hello') while f:status() == 'running' do fiber.sleep(0) end res f=fiber.create(r, 'hello, world') while f:status() == 'running' do fiber.sleep(0) end res f=fiber.create(r, 'hello', 'world', 'wide') while f:status() == 'running' do fiber.sleep(0) end res -- test fiber.status functions: invalid arguments fiber.status(1) fiber.status('fafa-gaga') fiber.status(nil) -- test fiber.cancel function r() fiber.sleep(1000) end f = fiber.create(r) fiber.cancel(f) f:status() -- Test fiber.name() old_name = fiber.name() fiber.name() == old_name fiber.self():name() == old_name fiber.name('hello fiber') fiber.name() fiber.self():name('bye fiber') fiber.self():name() fiber.self():name(old_name) space:drop() -- box.fiber test (create, resume, yield, status) dofile("fiber.lua") -- print run fiber's test box_fiber_run_test() -- various... function testfun() while true do fiber.sleep(10) end end f = fiber.create(testfun) f:cancel() fib_id = fiber.create(testfun):id() fiber.find(fib_id):cancel() fiber.find(fib_id) -- -- Test local storage -- type(fiber.self().storage) fiber.self().storage.key = 48 fiber.self().storage.key --# setopt delimiter ';' function testfun(ch) while fiber.self().storage.key == nil do print('wait') fiber.sleep(0) end ch:put(fiber.self().storage.key) end; --# setopt delimiter '' ch = fiber.channel(1) f = fiber.create(testfun, ch) f.storage.key = 'some value' ch:get() ch:close() ch = nil fiber.self().storage.key -- our local storage is not affected by f -- attempt to access local storage of dead fiber raises error pcall(function(f) return f.storage end, f) -- -- Test that local storage is garbage collected when fiber is died -- ffi = require('ffi') ch = fiber.channel(1) --# setopt delimiter ';' function testfun() fiber.self().storage.x = ffi.gc(ffi.new('char[1]'), function() ch:put('gc ok') end) end; --# setopt delimiter '' f = fiber.create(testfun) collectgarbage('collect') ch:get() ch:close() ch = nil -- -- Test that local storage is not garbage collected with fiber object -- --# setopt delimiter ';' function testfun(ch) fiber.self().storage.x = 'ok' collectgarbage('collect') ch:put(fiber.self().storage.x or 'failed') end; --# setopt delimiter '' ch = fiber.channel(1) fiber.create(testfun, ch):status() ch:get() ch:close() ch = nil -- # gh-125 box.fiber.cancel() by numeric id -- function y() while true do fiber.sleep(0.001) end end f = fiber.create(y) fiber.kill(f:id()) while f:status() ~= 'dead' do fiber.sleep(0.01) end -- # gh-420 fiber.cancel() assertion `!(f->flags & (1 << 2))' failed -- done = false --# setopt delimiter ';' function test() fiber.name('gh-420') local fun, errmsg = loadstring('fiber.cancel(fiber.self())') xpcall(fun, function() end) xpcall(fun, function() end) done = true fun() end; --# setopt delimiter '' f = fiber.create(test) done -- # gh-536: fiber.info() doesn't list fibers with default names -- function loop() while true do fiber.sleep(10) end end f1 = fiber.create(loop) f2 = fiber.create(loop) f3 = fiber.create(loop) info = fiber.info() info[f1:id()] ~= nil info[f2:id()] ~= nil info[f3:id()] ~= nil f1:cancel() f2:cancel() f3:cancel() -- # gh-666: nulls in output -- getmetatable(fiber.info()) zombie = false for fid, i in pairs(fiber.info()) do if i.name == 'zombie' then zombie = true end end zombie -- test case for gh-778 - fiber.id() on a dead fiber f = fiber.create(function() end) id = f:id() fiber.sleep(0) f:status() id == f:id() fiber = nil
bsd-2-clause
The-HalcyonDays/darkstar
scripts/zones/Cloister_of_Tremors/bcnms/sugar-coated_directive.lua
13
1704
---------------------------------------- -- Area: Cloister of Tremors -- BCNM: Sugar Coated Directive (ASA-4) ---------------------------------------- package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil; ---------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/quests"); require("scripts/zones/Cloister_of_Tremors/TextIDs"); ---------------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) end; -- Physically entering the BCNM via bcnmEnter(bcnmid) function onBcnmEnter(player,instance) end; -- Leaving the BCNM by every mean possible, given by the LeaveCode -- 1=Select Exit on circle -- 2=Winning the BC -- 3=Disconnected or warped out -- 4=Losing the BC -- via bcnmLeave(1) or bcnmLeave(2). LeaveCodes 3 and 4 are called -- from the core when a player disconnects or the time limit is up, etc function onBcnmLeave(player,instance,leavecode) -- print("leave code "..leavecode); if(leavecode == 2) then -- play end CS. Need time and battle id for record keeping + storage if(player:hasCompleteQuest(ASA,SUGAR_COATED_DIRECTIVE)) then player:startEvent(0x7d01,1,1,1,instance:getTimeInside(),1,4,1); else player:startEvent(0x7d01,1,1,1,instance:getTimeInside(),1,4,0); end elseif(leavecode == 4) then player:startEvent(0x7d02); end end; function onEventUpdate(player,csid,option) -- print("bc update csid "..csid.." and option "..option); end; function onEventFinish(player,csid,option) -- print("bc finish csid "..csid.." and option "..option); if(csid == 0x7d01) then player:addExp(400); player:setVar("ASA4_Amber","1"); end end;
gpl-3.0
coltonj96/UsefulCombinators
UsefulCombinators_0.3.2/prototypes/technology/technology.lua
7
2251
data:extend({ { type = "technology", name = "useful-combinators", icon = "__UsefulCombinators__/graphics/technology/clock.png", icon_size = 64, effects = { { type = "unlock-recipe", recipe = "timer-combinator" }, { type = "unlock-recipe", recipe = "counting-combinator" }, { type = "unlock-recipe", recipe = "random-combinator" }, { type = "unlock-recipe", recipe = "converter-combinator" }, { type = "unlock-recipe", recipe = "min-combinator" }, { type = "unlock-recipe", recipe = "max-combinator" }, { type = "unlock-recipe", recipe = "and-gate-combinator" }, { type = "unlock-recipe", recipe = "nand-gate-combinator" }, { type = "unlock-recipe", recipe = "nor-gate-combinator" }, { type = "unlock-recipe", recipe = "not-gate-combinator" }, { type = "unlock-recipe", recipe = "or-gate-combinator" }, { type = "unlock-recipe", recipe = "xnor-gate-combinator" }, { type = "unlock-recipe", recipe = "xor-gate-combinator" }, { type = "unlock-recipe", recipe = "detector-combinator" }, { type = "unlock-recipe", recipe = "sensor-combinator" }, { type = "unlock-recipe", recipe = "railway-combinator" }, { type = "unlock-recipe", recipe = "color-combinator" }, { type = "unlock-recipe", recipe = "emitter-combinator" }, { type = "unlock-recipe", recipe = "receiver-combinator" }, { type = "unlock-recipe", recipe = "power-combinator" } }, prerequisites = {"circuit-network"}, unit = { count = 100, ingredients = { {"science-pack-1", 1}, {"science-pack-2", 1} }, time = 15 }, order = "a-d-d" } })
mit
The-HalcyonDays/darkstar
scripts/zones/Bastok_Markets/npcs/Brunhilde.lua
36
1636
----------------------------------- -- Area: Bastok Markets -- NPC: Brunhilde -- Standard Merchant NPC -- -- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/zones/Bastok_Markets/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,npc) player:showText(npc,BRUNHILDE_SHOP_DIALOG); stock = { 0x30A0, 151,3, --Bronze Cap 0x3090, 1305,3, --Faceguard 0x3091, 11520,3, --Brass Mask 0x3080, 28674,3, --Sallet 0x3120, 230,3, --Bronze Harness 0x3110, 2007,3, --Scale Mail 0x3111, 17539,3, --Brass Scale Mail 0x31A0, 126,3, --Bronze Mittens 0x3190, 1071,3, --Scale Finger Gauntlets 0x3191, 9273,3 --Brass Finger Gauntlets } showNationShop(player, BASTOK, stock); end; ----------------------------------- -- onEventUpdate ----------------------------------- function onEventUpdate(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); end; ----------------------------------- -- onEventFinish ----------------------------------- function onEventFinish(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); end;
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Pashhow_Marshlands_[S]/npcs/Cavernous_Maw.lua
29
1489
----------------------------------- -- Area: Sauromugue Champaign -- NPC: Cavernous Maw -- @pos 418 25 27 90 -- Teleports Players to Pashhow_Marshlands ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/teleports"); require("scripts/globals/campaign"); require("scripts/zones/Pashhow_Marshlands_[S]/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,npc) if (hasMawActivated(player,4) == false) then player:startEvent(0x0064); else player:startEvent(0x0065); end end; ----------------------------------- -- onEventUpdate ----------------------------------- function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end; ----------------------------------- -- onEventFinish Action ----------------------------------- function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); if (option == 1) then if (csid == 0x0064) then player:addNationTeleport(MAW,16); end toMaw(player,16); end end;
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Quartermaster.lua
38
1051
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Quartermaster -- Type: Standard NPC -- @zone: 94 -- @pos -60.200 -4.7 32.500 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,npc) player:startEvent(0x00c9); end; ----------------------------------- -- onEventUpdate ----------------------------------- function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end; ----------------------------------- -- onEventFinish ----------------------------------- function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end;
gpl-3.0
coltonj96/UsefulCombinators
UsefulCombinators_0.0.1/prototypes/entity/entities.lua
1
16636
data:extend({ { type = "constant-combinator", name = "timer-combinator", icon = "__UsefulCombinators__/graphics/icons/timer-combinator.png", flags = {"placeable-neutral", "player-creation"}, minable = {hardness = 0.2, mining_time = 0.5, result = "timer-combinator"}, max_health = 50, corpse = "small-remnants", collision_box = {{-0.35, -0.35}, {0.35, 0.35}}, selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, item_slot_count = 5, sprites = { north = { filename = "__UsefulCombinators__/graphics/entity/combinator/combinator-entities.png", x = 158, y = 126, width = 79, height = 63, frame_count = 1, shift = {0.140625, 0.140625}, }, east = { filename = "__UsefulCombinators__/graphics/entity/combinator/combinator-entities.png", y = 126, width = 79, height = 63, frame_count = 1, shift = {0.140625, 0.140625}, }, south = { filename = "__UsefulCombinators__/graphics/entity/combinator/combinator-entities.png", x = 237, y = 126, width = 79, height = 63, frame_count = 1, shift = {0.140625, 0.140625}, }, west = { filename = "__UsefulCombinators__/graphics/entity/combinator/combinator-entities.png", x = 79, y = 126, width = 79, height = 63, frame_count = 1, shift = {0.140625, 0.140625}, } }, activity_led_sprites = { north = { filename = "__base__/graphics/entity/combinator/activity-leds/combinator-led-constant-north.png", width = 11, height = 10, frame_count = 1, shift = {0.296875, -0.40625}, }, east = { filename = "__base__/graphics/entity/combinator/activity-leds/combinator-led-constant-east.png", width = 14, height = 12, frame_count = 1, shift = {0.25, -0.03125}, }, south = { filename = "__base__/graphics/entity/combinator/activity-leds/combinator-led-constant-south.png", width = 11, height = 11, frame_count = 1, shift = {-0.296875, -0.078125}, }, west = { filename = "__base__/graphics/entity/combinator/activity-leds/combinator-led-constant-west.png", width = 12, height = 12, frame_count = 1, shift = {-0.21875, -0.46875}, } }, activity_led_light = { intensity = 0.8, size = 1, }, activity_led_light_offsets = { {0.296875, -0.40625}, {0.25, -0.03125}, {-0.296875, -0.078125}, {-0.21875, -0.46875} }, circuit_wire_connection_points = { { shadow = { red = {0.15625, -0.28125}, green = {0.65625, -0.25} }, wire = { red = {-0.28125, -0.5625}, green = {0.21875, -0.5625}, } }, { shadow = { red = {0.75, -0.15625}, green = {0.75, 0.25}, }, wire = { red = {0.46875, -0.5}, green = {0.46875, -0.09375}, } }, { shadow = { red = {0.75, 0.5625}, green = {0.21875, 0.5625} }, wire = { red = {0.28125, 0.15625}, green = {-0.21875, 0.15625} } }, { shadow = { red = {-0.03125, 0.28125}, green = {-0.03125, -0.125}, }, wire = { red = {-0.46875, 0}, green = {-0.46875, -0.40625}, } } }, circuit_wire_max_distance = 7.5 }, { type = "constant-combinator", name = "counting-combinator", icon = "__UsefulCombinators__/graphics/icons/counting-combinator.png", flags = {"placeable-neutral", "player-creation"}, minable = {hardness = 0.2, mining_time = 0.5, result = "counting-combinator"}, max_health = 50, corpse = "small-remnants", collision_box = {{-0.35, -0.35}, {0.35, 0.35}}, selection_box = {{-0.5, -0.5}, {0.5, 0.5}}, item_slot_count = 3, sprites = { north = { filename = "__UsefulCombinators__/graphics/entity/combinator/combinator-entities2.png", x = 158, y = 126, width = 79, height = 63, frame_count = 1, shift = {0.140625, 0.140625}, }, east = { filename = "__UsefulCombinators__/graphics/entity/combinator/combinator-entities2.png", y = 126, width = 79, height = 63, frame_count = 1, shift = {0.140625, 0.140625}, }, south = { filename = "__UsefulCombinators__/graphics/entity/combinator/combinator-entities2.png", x = 237, y = 126, width = 79, height = 63, frame_count = 1, shift = {0.140625, 0.140625}, }, west = { filename = "__UsefulCombinators__/graphics/entity/combinator/combinator-entities2.png", x = 79, y = 126, width = 79, height = 63, frame_count = 1, shift = {0.140625, 0.140625}, } }, activity_led_sprites = { north = { filename = "__base__/graphics/entity/combinator/activity-leds/combinator-led-constant-north.png", width = 11, height = 10, frame_count = 1, shift = {0.296875, -0.40625}, }, east = { filename = "__base__/graphics/entity/combinator/activity-leds/combinator-led-constant-east.png", width = 14, height = 12, frame_count = 1, shift = {0.25, -0.03125}, }, south = { filename = "__base__/graphics/entity/combinator/activity-leds/combinator-led-constant-south.png", width = 11, height = 11, frame_count = 1, shift = {-0.296875, -0.078125}, }, west = { filename = "__base__/graphics/entity/combinator/activity-leds/combinator-led-constant-west.png", width = 12, height = 12, frame_count = 1, shift = {-0.21875, -0.46875}, } }, activity_led_light = { intensity = 0.8, size = 1, }, activity_led_light_offsets = { {0.296875, -0.40625}, {0.25, -0.03125}, {-0.296875, -0.078125}, {-0.21875, -0.46875} }, circuit_wire_connection_points = { { shadow = { red = {0.15625, -0.28125}, green = {0.65625, -0.25} }, wire = { red = {-0.28125, -0.5625}, green = {0.21875, -0.5625}, } }, { shadow = { red = {0.75, -0.15625}, green = {0.75, 0.25}, }, wire = { red = {0.46875, -0.5}, green = {0.46875, -0.09375}, } }, { shadow = { red = {0.75, 0.5625}, green = {0.21875, 0.5625} }, wire = { red = {0.28125, 0.15625}, green = {-0.21875, 0.15625} } }, { shadow = { red = {-0.03125, 0.28125}, green = {-0.03125, -0.125}, }, wire = { red = {-0.46875, 0}, green = {-0.46875, -0.40625}, } } }, circuit_wire_max_distance = 7.5 }--[[, { type = "decider-combinator", name = "pulse-decider-combinator", icon = "__UsefulCombinators__/graphics/icons/pulse-decider-combinator.png", flags = {"placeable-neutral", "player-creation"}, minable = {hardness = 0.2, mining_time = 0.5, result = "pulse-decider-combinator"}, max_health = 50, corpse = "small-remnants", collision_box = {{-0.35, -0.65}, {0.35, 0.65}}, selection_box = {{-0.5, -1}, {0.5, 1}}, energy_source = { type = "electric", usage_priority = "secondary-input" }, active_energy_usage = "1KW", sprites = { north = { filename = "__UsefulCombinators__/graphics/entity/combinator/combinator-entities.png", x = 158, y = 63, width = 79, height = 63, frame_count = 1, shift = {0.140625, 0.140625}, }, east = { filename = "__UsefulCombinators__/graphics/entity/combinator/combinator-entities.png", y = 63, width = 79, height = 63, frame_count = 1, shift = {0.140625, 0.140625}, }, south = { filename = "__UsefulCombinators__/graphics/entity/combinator/combinator-entities.png", x = 237, y = 63, width = 79, height = 63, frame_count = 1, shift = {0.140625, 0.140625}, }, west = { filename = "__UsefulCombinators__/graphics/entity/combinator/combinator-entities.png", x = 79, y = 63, width = 79, height = 63, frame_count = 1, shift = {0.140625, 0.140625}, } }, activity_led_sprites = { north = { filename = "__base__/graphics/entity/combinator/activity-leds/combinator-led-decider-north.png", width = 11, height = 12, frame_count = 1, shift = {0.265625, -0.53125}, }, east = { filename = "__base__/graphics/entity/combinator/activity-leds/combinator-led-decider-east.png", width = 11, height = 11, frame_count = 1, shift = {0.515625, -0.078125}, }, south = { filename = "__base__/graphics/entity/combinator/activity-leds/combinator-led-decider-south.png", width = 12, height = 12, frame_count = 1, shift = {-0.25, 0.03125}, }, west = { filename = "__base__/graphics/entity/combinator/activity-leds/combinator-led-decider-west.png", width = 12, height = 12, frame_count = 1, shift = {-0.46875, -0.5}, } }, activity_led_light = { intensity = 0.8, size = 1, }, activity_led_light_offsets = { {0.265625, -0.53125}, {0.515625, -0.078125}, {-0.25, 0.03125}, {-0.46875, -0.5} }, screen_light = { intensity = 0.3, size = 0.6, }, screen_light_offsets = { {0.015625, -0.265625}, {0.015625, -0.359375}, {0.015625, -0.265625}, {0.015625, -0.359375} }, equal_symbol_sprites = { north = { filename = "__base__/graphics/entity/combinator/combinator-displays.png", x = 15, y = 11, width = 15, height = 11, frame_count = 1, shift = {0.015625, -0.265625} }, east = { filename = "__base__/graphics/entity/combinator/combinator-displays.png", x = 15, y = 11, width = 15, height = 11, frame_count = 1, shift = {0.015625, -0.359375} }, south = { filename = "__base__/graphics/entity/combinator/combinator-displays.png", x = 15, y = 11, width = 15, height = 11, frame_count = 1, shift = {0.015625, -0.265625} }, west = { filename = "__base__/graphics/entity/combinator/combinator-displays.png", x = 15, y = 11, width = 15, height = 11, frame_count = 1, shift = {0.015625, -0.359375} } }, greater_symbol_sprites = { north = { filename = "__base__/graphics/entity/combinator/combinator-displays.png", x = 30, y = 11, width = 15, height = 11, frame_count = 1, shift = {0.015625, -0.265625} }, east = { filename = "__base__/graphics/entity/combinator/combinator-displays.png", x = 30, y = 11, width = 15, height = 11, frame_count = 1, shift = {0.015625, -0.359375} }, south = { filename = "__base__/graphics/entity/combinator/combinator-displays.png", x = 30, y = 11, width = 15, height = 11, frame_count = 1, shift = {0.015625, -0.265625} }, west = { filename = "__base__/graphics/entity/combinator/combinator-displays.png", x = 30, y = 11, width = 15, height = 11, frame_count = 1, shift = {0.015625, -0.359375} } }, less_symbol_sprites = { north = { filename = "__base__/graphics/entity/combinator/combinator-displays.png", x = 45, y = 11, width = 15, height = 11, frame_count = 1, shift = {0.015625, -0.265625} }, east = { filename = "__base__/graphics/entity/combinator/combinator-displays.png", x = 45, y = 11, width = 15, height = 11, frame_count = 1, shift = {0.015625, -0.359375} }, south = { filename = "__base__/graphics/entity/combinator/combinator-displays.png", x = 45, y = 11, width = 15, height = 11, frame_count = 1, shift = {0.015625, -0.265625} }, west = { filename = "__base__/graphics/entity/combinator/combinator-displays.png", x = 45, y = 11, width = 15, height = 11, frame_count = 1, shift = {0.015625, -0.359375} } }, input_connection_bounding_box = {{-0.5, 0}, {0.5, 1}}, output_connection_bounding_box = {{-0.5, -1}, {0.5, 0}}, input_connection_points = { { shadow = { red = {0.328125, 0.703125}, green = {0.859375, 0.703125} }, wire = { red = {-0.28125, 0.34375}, green = {0.25, 0.34375}, } }, { shadow = { red = {-0.265625, -0.171875}, green = {-0.296875, 0.296875}, }, wire = { red = {-0.75, -0.5}, green = {-0.75, -0.0625}, } }, { shadow = { red = {0.828125, -0.359375}, green = {0.234375, -0.359375} }, wire = { red = {0.25, -0.71875}, green = {-0.28125, -0.71875} } }, { shadow = { red = {1.29688, 0.328125}, green = {1.29688, -0.140625}, }, wire = { red = {0.75, -0.0625}, green = {0.75, -0.53125}, } } }, output_connection_points = { { shadow = { red = {0.234375, -0.453125}, green = {0.828125, -0.453125} }, wire = { red = {-0.3125, -0.78125}, green = {0.28125, -0.78125}, } }, { shadow = { red = {1.17188, -0.109375}, green = {1.17188, 0.296875}, }, wire = { red = {0.65625, -0.4375}, green = {0.65625, -0.03125}, } }, { shadow = { red = {0.828125, 0.765625}, green = {0.234375, 0.765625} }, wire = { red = {0.28125, 0.40625}, green = {-0.3125, 0.40625} } }, { shadow = { red = {-0.140625, 0.328125}, green = {-0.140625, -0.078125}, }, wire = { red = {-0.6875, -0.03125}, green = {-0.6875, -0.4375}, } } }, circuit_wire_max_distance = 7.5 }]] })
mit
rrpgfirecast/firecast
Plugins/Template/output/rdkObjs/ProjectName/Notes.lfm.lua
5
6751
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmTemplateNotes() local obj = GUI.fromHandle(_obj_newObject("form")); local self = obj; local sheet = nil; rawset(obj, "_oldSetNodeObjectFunction", rawget(obj, "setNodeObject")); function obj:setNodeObject(nodeObject) sheet = nodeObject; self.sheet = nodeObject; self:_oldSetNodeObjectFunction(nodeObject); end; function obj:setNodeDatabase(nodeObject) self:setNodeObject(nodeObject); end; _gui_assignInitialParentForForm(obj.handle); obj:beginUpdate(); obj:setName("frmTemplateNotes"); obj:setAlign("client"); obj.scrollBox1 = GUI.fromHandle(_obj_newObject("scrollBox")); obj.scrollBox1:setParent(obj); obj.scrollBox1:setAlign("client"); obj.scrollBox1:setName("scrollBox1"); obj.layout1 = GUI.fromHandle(_obj_newObject("layout")); obj.layout1:setParent(obj.scrollBox1); obj.layout1:setAlign("left"); obj.layout1:setWidth(400); obj.layout1:setMargins({right=10}); obj.layout1:setName("layout1"); obj.rectangle1 = GUI.fromHandle(_obj_newObject("rectangle")); obj.rectangle1:setParent(obj.layout1); obj.rectangle1:setAlign("client"); obj.rectangle1:setColor("black"); obj.rectangle1:setXradius(5); obj.rectangle1:setYradius(15); obj.rectangle1:setCornerType("round"); obj.rectangle1:setName("rectangle1"); obj.label1 = GUI.fromHandle(_obj_newObject("label")); obj.label1:setParent(obj.rectangle1); obj.label1:setAlign("top"); obj.label1:setHeight(20); obj.label1:setText("Anotações"); obj.label1:setHorzTextAlign("center"); obj.label1:setName("label1"); obj.textEditor1 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor1:setParent(obj.rectangle1); obj.textEditor1:setAlign("client"); obj.textEditor1:setField("anotacoes1"); obj.textEditor1:setMargins({left=10,right=10,bottom=10}); obj.textEditor1:setName("textEditor1"); obj.layout2 = GUI.fromHandle(_obj_newObject("layout")); obj.layout2:setParent(obj.scrollBox1); obj.layout2:setAlign("left"); obj.layout2:setWidth(400); obj.layout2:setMargins({right=10}); obj.layout2:setName("layout2"); obj.rectangle2 = GUI.fromHandle(_obj_newObject("rectangle")); obj.rectangle2:setParent(obj.layout2); obj.rectangle2:setAlign("client"); obj.rectangle2:setColor("black"); obj.rectangle2:setXradius(5); obj.rectangle2:setYradius(15); obj.rectangle2:setCornerType("round"); obj.rectangle2:setName("rectangle2"); obj.label2 = GUI.fromHandle(_obj_newObject("label")); obj.label2:setParent(obj.rectangle2); obj.label2:setAlign("top"); obj.label2:setHeight(20); obj.label2:setText("Anotações"); obj.label2:setHorzTextAlign("center"); obj.label2:setName("label2"); obj.textEditor2 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor2:setParent(obj.rectangle2); obj.textEditor2:setAlign("client"); obj.textEditor2:setField("anotacoes2"); obj.textEditor2:setMargins({left=10,right=10,bottom=10}); obj.textEditor2:setName("textEditor2"); obj.layout3 = GUI.fromHandle(_obj_newObject("layout")); obj.layout3:setParent(obj.scrollBox1); obj.layout3:setAlign("left"); obj.layout3:setWidth(400); obj.layout3:setMargins({right=10}); obj.layout3:setName("layout3"); obj.rectangle3 = GUI.fromHandle(_obj_newObject("rectangle")); obj.rectangle3:setParent(obj.layout3); obj.rectangle3:setAlign("client"); obj.rectangle3:setColor("black"); obj.rectangle3:setXradius(5); obj.rectangle3:setYradius(15); obj.rectangle3:setCornerType("round"); obj.rectangle3:setName("rectangle3"); obj.label3 = GUI.fromHandle(_obj_newObject("label")); obj.label3:setParent(obj.rectangle3); obj.label3:setAlign("top"); obj.label3:setHeight(20); obj.label3:setText("Anotações"); obj.label3:setHorzTextAlign("center"); obj.label3:setName("label3"); obj.textEditor3 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor3:setParent(obj.rectangle3); obj.textEditor3:setAlign("client"); obj.textEditor3:setField("anotacoes3"); obj.textEditor3:setMargins({left=10,right=10,bottom=10}); obj.textEditor3:setName("textEditor3"); function obj:_releaseEvents() end; obj._oldLFMDestroy = obj.destroy; function obj:destroy() self:_releaseEvents(); if (self.handle ~= 0) and (self.setNodeDatabase ~= nil) then self:setNodeDatabase(nil); end; if self.textEditor3 ~= nil then self.textEditor3:destroy(); self.textEditor3 = nil; end; if self.label1 ~= nil then self.label1:destroy(); self.label1 = nil; end; if self.rectangle2 ~= nil then self.rectangle2:destroy(); self.rectangle2 = nil; end; if self.rectangle3 ~= nil then self.rectangle3:destroy(); self.rectangle3 = nil; end; if self.label3 ~= nil then self.label3:destroy(); self.label3 = nil; end; if self.textEditor1 ~= nil then self.textEditor1:destroy(); self.textEditor1 = nil; end; if self.layout3 ~= nil then self.layout3:destroy(); self.layout3 = nil; end; if self.textEditor2 ~= nil then self.textEditor2:destroy(); self.textEditor2 = nil; end; if self.layout1 ~= nil then self.layout1:destroy(); self.layout1 = nil; end; if self.scrollBox1 ~= nil then self.scrollBox1:destroy(); self.scrollBox1 = nil; end; if self.rectangle1 ~= nil then self.rectangle1:destroy(); self.rectangle1 = nil; end; if self.layout2 ~= nil then self.layout2:destroy(); self.layout2 = nil; end; if self.label2 ~= nil then self.label2:destroy(); self.label2 = nil; end; self:_oldLFMDestroy(); end; obj:endUpdate(); return obj; end; function newfrmTemplateNotes() local retObj = nil; __o_rrpgObjs.beginObjectsLoading(); __o_Utils.tryFinally( function() retObj = constructNew_frmTemplateNotes(); end, function() __o_rrpgObjs.endObjectsLoading(); end); assert(retObj ~= nil); return retObj; end; local _frmTemplateNotes = { newEditor = newfrmTemplateNotes, new = newfrmTemplateNotes, name = "frmTemplateNotes", dataType = "", formType = "undefined", formComponentName = "form", title = "", description=""}; frmTemplateNotes = _frmTemplateNotes; Firecast.registrarForm(_frmTemplateNotes); return _frmTemplateNotes;
apache-2.0
Feudalciv/Feudalciv
data/classic/script.lua
9
3100
-- Freeciv - Copyright (C) 2007 - The Freeciv Project -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2, or (at your option) -- any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- This file is for lua-functionality that is specific to a given -- ruleset. When freeciv loads a ruleset, it also loads script -- file called 'default.lua'. The one loaded if your ruleset -- does not provide an override is default/default.lua. -- Place Ruins at the location of the destroyed city. function city_destroyed_callback(city, loser, destroyer) city.tile:create_base("Ruins", NIL) -- continue processing return false end signal.connect("city_destroyed", "city_destroyed_callback") -- Add random labels to the map. function place_map_labels() local mountains = 0 local deep_oceans = 0 local deserts = 0 local glaciers = 0 local selected_mountain = 0 local selected_ocean = 0 local selected_desert = 0 local selected_glacier = 0 -- Count the tiles that has a terrain type that may get a label. for place in whole_map_iterate() do local terr = place.terrain local tname = terr:rule_name() if tname == "Mountains" then mountains = mountains + 1 elseif tname == "Deep Ocean" then deep_oceans = deep_oceans + 1 elseif tname == "Desert" then deserts = deserts + 1 elseif tname == "Glacier" then glaciers = glaciers + 1 end end -- Decide if a label should be included and, in case it should, where. if random(1, 100) <= 75 then selected_mountain = random(1, mountains) end if random(1, 100) <= 75 then selected_ocean = random(1, deep_oceans) end if random(1, 100) <= 75 then selected_desert = random(1, deserts) end if random(1, 100) <= 75 then selected_glacier = random(1, glaciers) end -- Place the included labels at the location determined above. for place in whole_map_iterate() do local terr = place.terrain local tname = terr:rule_name() if tname == "Mountains" then selected_mountain = selected_mountain - 1 if selected_mountain == 0 then place:set_label(_("Highest Peak")) end elseif tname == "Deep Ocean" then selected_ocean = selected_ocean - 1 if selected_ocean == 0 then place:set_label(_("Deep Trench")) end elseif tname == "Desert" then selected_desert = selected_desert - 1 if selected_desert == 0 then place:set_label(_("Scorched Spot")) end elseif tname == "Glacier" then selected_glacier = selected_glacier - 1 if selected_glacier == 0 then place:set_label(_("Frozen Lake")) end end end return false end signal.connect("map_generated", "place_map_labels")
gpl-2.0
kiarash14/supb
plugins/welcome.lua
190
3526
local add_user_cfg = load_from_file('data/add_user_cfg.lua') local function template_add_user(base, to_username, from_username, chat_name, chat_id) base = base or '' to_username = '@' .. (to_username or '') from_username = '@' .. (from_username or '') chat_name = string.gsub(chat_name, '_', ' ') or '' chat_id = "chat#id" .. (chat_id or '') if to_username == "@" then to_username = '' end if from_username == "@" then from_username = '' end base = string.gsub(base, "{to_username}", to_username) base = string.gsub(base, "{from_username}", from_username) base = string.gsub(base, "{chat_name}", chat_name) base = string.gsub(base, "{chat_id}", chat_id) return base end function chat_new_user_link(msg) local pattern = add_user_cfg.initial_chat_msg local to_username = msg.from.username local from_username = 'link (@' .. (msg.action.link_issuer.username or '') .. ')' local chat_name = msg.to.print_name local chat_id = msg.to.id pattern = template_add_user(pattern, to_username, from_username, chat_name, chat_id) if pattern ~= '' then local receiver = get_receiver(msg) send_msg(receiver, pattern, ok_cb, false) end end function chat_new_user(msg) local pattern = add_user_cfg.initial_chat_msg local to_username = msg.action.user.username local from_username = msg.from.username local chat_name = msg.to.print_name local chat_id = msg.to.id pattern = template_add_user(pattern, to_username, from_username, chat_name, chat_id) if pattern ~= '' then local receiver = get_receiver(msg) send_msg(receiver, pattern, ok_cb, false) end end local function description_rules(msg, nama) local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)] then local about = "" local rules = "" if data[tostring(msg.to.id)]["description"] then about = data[tostring(msg.to.id)]["description"] about = "\nAbout :\n"..about.."\n" end if data[tostring(msg.to.id)]["rules"] then rules = data[tostring(msg.to.id)]["rules"] rules = "\nRules :\n"..rules.."\n" end local sambutan = "Hi "..nama.."\nWelcome to '"..string.gsub(msg.to.print_name, "_", " ").."'\nYou can use /help for see bot commands\n" local text = sambutan..about..rules.."\n" local receiver = get_receiver(msg) send_large_msg(receiver, text, ok_cb, false) end end local function run(msg, matches) if not msg.service then return "Are you trying to troll me?" end --vardump(msg) if matches[1] == "chat_add_user" then if not msg.action.user.username then nama = string.gsub(msg.action.user.print_name, "_", " ") else nama = "@"..msg.action.user.username end chat_new_user(msg) description_rules(msg, nama) elseif matches[1] == "chat_add_user_link" then if not msg.from.username then nama = string.gsub(msg.from.print_name, "_", " ") else nama = "@"..msg.from.username end chat_new_user_link(msg) description_rules(msg, nama) elseif matches[1] == "chat_del_user" then local bye_name = msg.action.user.first_name return 'Bye '..bye_name end end return { description = "Welcoming Message", usage = "send message to new member", patterns = { "^!!tgservice (chat_add_user)$", "^!!tgservice (chat_add_user_link)$", "^!!tgservice (chat_del_user)$", }, run = run }
gpl-2.0
zhaozg/luvit
tests/test-fs-utime.lua
11
5359
--[[ Copyright 2012-2015 The Luvit Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License") you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --]] require('tap')(function(test) local FS = require('fs') local math = require('math') local os = require('os') local string = require('string') local los = require('los') local __filename = module.path test('fs utime', function() local is_windows = los.type() == 'win32' local tests_ok = 0 local tests_run = 0 function stat_resource(resource) if type(resource) == 'string' then return FS.statSync(resource) else -- ensure mtime has been written to disk FS.fsyncSync(resource) return FS.fstatSync(resource) end end function check_mtime(resource, mtime) local stats = stat_resource(resource) local real_mtime = stats.mtime -- check up to single-second precision -- sub-second precision is OS and FS dependant return math.floor(mtime) == math.floor(real_mtime.sec) end function expect_errno(syscall, resource, err, errno) if err and (err.code == errno or err.code == 'ENOSYS') then tests_ok = tests_ok + 1 else p(string.format('FAILED: %s %s %s %s', syscall, resource, tostring(err), errno)) end end function expect_ok(syscall, resource, err, atime, mtime) if not err and check_mtime(resource, mtime) or err and err.code == 'ENOSYS' then tests_ok = tests_ok + 1 else p(string.format('expect_ok FAILED: %s %s %s %f %f', syscall, resource, tostring(err), atime, mtime)) end end -- the tests assume that __filename belongs to the user running the tests -- this should be a fairly safe assumption testing against a temp file -- would be even better though (node doesn't have such functionality yet) function runTest(atime, mtime, callback) local fd, err -- -- test synchronized code paths, these functions throw on failure -- function syncTests() FS.utimeSync(__filename, atime, mtime) expect_ok('utimeSync', __filename, undefined, atime, mtime) tests_run = tests_run + 1 -- some systems don't have futime -- if there's an error, it should be ENOSYS local ok, err ok, err = pcall(function() tests_run = tests_run + 1 FS.futimeSync(fd, atime, mtime) expect_ok('futimeSync', fd, undefined, atime, mtime) end) if not ok then expect_errno('futimeSync', fd, err, 'ENOSYS') end ok, err = pcall(FS.utimeSync, 'foobarbaz', atime, mtime) expect_errno('utimeSync', 'foobarbaz', err, 'ENOENT') tests_run = tests_run + 1 ok, err = pcall(FS.futimeSync, -1, atime, mtime) expect_errno('futimeSync', -1, err, 'EBADF') tests_run = tests_run + 1 end -- -- test async code paths -- if (type(atime)=='table') then atime = atime.sec end if (type(mtime)=='table') then mtime = mtime.sec end FS.utime(__filename, atime, mtime, function(err) expect_ok('utime', __filename, err, atime, mtime) FS.utime('foobarbaz', atime, mtime, function(err) expect_errno('utime', 'foobarbaz', err, 'ENOENT') -- don't close this fd if is_windows then fd = FS.openSync(__filename, 'r+') else fd = FS.openSync(__filename, 'r') end FS.futime(fd, atime, mtime, function(err) expect_ok('futime', fd, err, atime, mtime) FS.futime(-1, atime, mtime, function(err) expect_errno('futime', -1, err, 'EBADF') syncTests() callback() end) tests_run = tests_run + 1 end) tests_run = tests_run + 1 end) tests_run = tests_run + 1 end) tests_run = tests_run + 1 end local stats = FS.statSync(module.path) function newDate(dateStr) if dateStr == nil then return os.time() end return os.time{ year = tonumber(string.sub(dateStr, 1, 4)), month = tonumber(string.sub(dateStr, 6, 7)), day = tonumber(string.sub(dateStr, 9, 10)), hour = tonumber(string.sub(dateStr, 12, 13)), min = tonumber(string.sub(dateStr, 15, 16)) } end runTest(newDate('1982-09-10 13:37'), newDate('1982-09-10 13:37'), function() runTest(newDate(), newDate(), function() runTest(123456.789, 123456.789, function() runTest(stats.mtime, stats.mtime, function() -- done end) end) end) end) --[[ process:on('exit', function() p('Tests run / ok:' .. tests_run .. '/' .. tests_ok) assert(tests_ok == tests_run) end) --]] end) end)
apache-2.0
rrpgfirecast/firecast
Plugins/Sheets/Konoha Heroes/output/rdkObjs/Ficha LH/LH.2.3.lfm.lua
1
3461
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmLH2_3() local obj = GUI.fromHandle(_obj_newObject("form")); local self = obj; local sheet = nil; rawset(obj, "_oldSetNodeObjectFunction", rawget(obj, "setNodeObject")); function obj:setNodeObject(nodeObject) sheet = nodeObject; self.sheet = nodeObject; self:_oldSetNodeObjectFunction(nodeObject); end; function obj:setNodeDatabase(nodeObject) self:setNodeObject(nodeObject); end; _gui_assignInitialParentForForm(obj.handle); obj:beginUpdate(); obj:setName("frmLH2_3"); obj:setHeight(35); obj:setTheme("dark"); obj.layout1 = GUI.fromHandle(_obj_newObject("layout")); obj.layout1:setParent(obj); obj.layout1:setAlign("client"); obj.layout1:setMargins({left=4, right=4, top=4, bottom=4}); obj.layout1:setName("layout1"); obj.button1 = GUI.fromHandle(_obj_newObject("button")); obj.button1:setParent(obj.layout1); obj.button1:setAlign("left"); obj.button1:setWidth(32); obj.button1:setText("X"); obj.button1:setName("button1"); obj.label1 = GUI.fromHandle(_obj_newObject("label")); obj.label1:setParent(obj.layout1); obj.label1:setAlign("client"); obj.label1:setText("Teste de label"); obj.label1:setField("campoJutsu"); obj.label1:setMargins({left=4}); obj.label1:setName("label1"); obj.dataLink1 = GUI.fromHandle(_obj_newObject("dataLink")); obj.dataLink1:setParent(obj.layout1); obj.dataLink1:setField("campoJutsu"); obj.dataLink1:setDefaultValue("Nome do Taijutsu"); obj.dataLink1:setName("dataLink1"); obj._e_event0 = obj.button1:addEventListener("onClick", function (_) ndb.deleteNode(sheet); end, obj); function obj:_releaseEvents() __o_rrpgObjs.removeEventListenerById(self._e_event0); end; obj._oldLFMDestroy = obj.destroy; function obj:destroy() self:_releaseEvents(); if (self.handle ~= 0) and (self.setNodeDatabase ~= nil) then self:setNodeDatabase(nil); end; if self.layout1 ~= nil then self.layout1:destroy(); self.layout1 = nil; end; if self.dataLink1 ~= nil then self.dataLink1:destroy(); self.dataLink1 = nil; end; if self.button1 ~= nil then self.button1:destroy(); self.button1 = nil; end; if self.label1 ~= nil then self.label1:destroy(); self.label1 = nil; end; self:_oldLFMDestroy(); end; obj:endUpdate(); return obj; end; function newfrmLH2_3() local retObj = nil; __o_rrpgObjs.beginObjectsLoading(); __o_Utils.tryFinally( function() retObj = constructNew_frmLH2_3(); end, function() __o_rrpgObjs.endObjectsLoading(); end); assert(retObj ~= nil); return retObj; end; local _frmLH2_3 = { newEditor = newfrmLH2_3, new = newfrmLH2_3, name = "frmLH2_3", dataType = "", formType = "undefined", formComponentName = "form", title = "", description=""}; frmLH2_3 = _frmLH2_3; Firecast.registrarForm(_frmLH2_3); return _frmLH2_3;
apache-2.0
The-HalcyonDays/darkstar
scripts/globals/items/plate_of_patlican_salata_+1.lua
35
1224
----------------------------------------- -- ID: 5583 -- Item: plate_of_patlican_salata_+1 -- Food Effect: 4Hrs, All Races ----------------------------------------- -- Agility 4 -- Vitality -1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------------------------------------- function onItemCheck(target) local result = 0; if (target:hasStatusEffect(EFFECT_FOOD) == true or target:hasStatusEffect(EFFECT_FIELD_SUPPORT_FOOD) == true) then result = 246; end return result; end; ----------------------------------------- -- OnItemUse ----------------------------------------- function onItemUse(target) target:addStatusEffect(EFFECT_FOOD,0,0,14400,5583); end; ----------------------------------------- -- onEffectGain Action ----------------------------------------- function onEffectGain(target,effect) target:addMod(MOD_AGI, 4); target:addMod(MOD_VIT, -1); end; ----------------------------------------- -- onEffectLose Action ----------------------------------------- function onEffectLose(target,effect) target:delMod(MOD_AGI, 4); target:delMod(MOD_VIT, -1); end;
gpl-3.0
hxw804781317/MT7620N
package/ralink/ui/luci-mtk/src/applications/luci-wol/luasrc/model/cbi/wol.lua
37
2522
--[[ LuCI - Lua Configuration Interface Copyright 2010 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ]]-- local sys = require "luci.sys" local fs = require "nixio.fs" m = SimpleForm("wol", translate("Wake on LAN"), translate("Wake on LAN is a mechanism to remotely boot computers in the local network.")) m.submit = translate("Wake up host") m.reset = false local has_ewk = fs.access("/usr/bin/etherwake") local has_wol = fs.access("/usr/bin/wol") s = m:section(SimpleSection) if has_ewk and has_wol then bin = s:option(ListValue, "binary", translate("WoL program"), translate("Sometimes only one of the two tools works. If one fails, try the other one")) bin:value("/usr/bin/etherwake", "Etherwake") bin:value("/usr/bin/wol", "WoL") end if has_ewk then iface = s:option(ListValue, "iface", translate("Network interface to use"), translate("Specifies the interface the WoL packet is sent on")) if has_wol then iface:depends("binary", "/usr/bin/etherwake") end iface:value("", translate("Broadcast on all interfaces")) for _, e in ipairs(sys.net.devices()) do if e ~= "lo" then iface:value(e) end end end host = s:option(Value, "mac", translate("Host to wake up"), translate("Choose the host to wake up or enter a custom MAC address to use")) sys.net.mac_hints(function(mac, name) host:value(mac, "%s (%s)" %{ mac, name }) end) function host.write(self, s, val) local host = luci.http.formvalue("cbid.wol.1.mac") if host and #host > 0 and host:match("^[a-fA-F0-9:]+$") then local cmd local util = luci.http.formvalue("cbid.wol.1.binary") or ( has_ewk and "/usr/bin/etherwake" or "/usr/bin/wol" ) if util == "/usr/bin/etherwake" then local iface = luci.http.formvalue("cbid.wol.1.iface") cmd = "%s -D%s %q" %{ util, (iface ~= "" and " -i %q" % iface or ""), host } else cmd = "%s -v %q" %{ util, host } end local msg = "<p><strong>%s</strong><br /><br /><code>%s<br /><br />" %{ translate("Starting WoL utility:"), cmd } local p = io.popen(cmd .. " 2>&1") if p then while true do local l = p:read("*l") if l then if #l > 100 then l = l:sub(1, 100) .. "..." end msg = msg .. l .. "<br />" else break end end p:close() end msg = msg .. "</code></p>" m.message = msg end end return m
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Riverne-Site_B01/mobs/Nimbus_Hippogryph.lua
23
1357
----------------------------------- -- Area: Riverne - Site B01 -- MOB: Nimbus Hippogryph -- Note: Place holder Imdugud ----------------------------------- require("scripts/zones/Riverne-Site_B01/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------- function onMobDeath(mob,killer) -- Get Nimbus Hippogryph ID and check if it is a PH of Imdugud local mob = mob:getID(); -- Check if Nimbus Hippogryph is within the Imdugud_PH table if (Imdugud_PH[mob] ~= nil) then -- printf("%u is a PH",mob); -- Get Imdugud previous ToD local Imdugud_ToD = GetServerVariable("[POP]Imdugud"); -- Check if Imdugud window is open, and there is not an Imdugud popped already(ACTION_NONE = 0) if (Imdugud_ToD <= os.time(t) and GetMobAction(Imdugud) == 0) then -- printf("Imdugud window open"); -- Give Nimbus Hippogryph 10 percent chance to pop Imdugud if (math.random(1,10) == 5) then -- printf("Imdugud will pop"); UpdateNMSpawnPoint(Imdugud); GetMobByID(Imdugud):setRespawnTime(GetMobRespawnTime(mob)); SetServerVariable("[PH]Imdugud", mob); DeterMob(mob, true); end end end end;
gpl-3.0
godly-devotion/Baka-MPlayer-old
Baka MPlayer/bin/Debug/libquvi-scripts/0.9/media/vimeo.lua
2
3346
-- libquvi-scripts -- Copyright (C) 2010-2013 Toni Gundogdu <legatvs@gmail.com> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This program is free software: you can redistribute it and/or -- modify it under the terms of the GNU Affero General Public -- License as published by the Free Software Foundation, either -- version 3 of the License, or (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU Affero General Public License for more details. -- -- You should have received a copy of the GNU Affero General -- Public License along with this program. If not, see -- <http://www.gnu.org/licenses/>. -- -- -- NOTE: Vimeo is picky about the user-agent string. -- local Vimeo = {} -- Utility functions unique to this script. -- Identify the media script. function ident(qargs) return { can_parse_url = Vimeo.can_parse_url(qargs), domains = table.concat({'vimeo.com'}, ',') } end -- Parse media stream URL. function parse(qargs) Vimeo.normalize(qargs) qargs.id = qargs.input_url:match('/(%d+)$') or error('no match: media ID') local c = Vimeo.config_new(qargs) local J = require 'json' local j = J.decode(c) qargs.duration_ms = tonumber(j.video.duration or 0) * 1000 qargs.streams = Vimeo.iter_streams(qargs, j) qargs.thumb_url = Vimeo.thumb_new(j) qargs.title = j.video.title or '' return qargs end -- -- Utility functions -- function Vimeo.can_parse_url(qargs) Vimeo.normalize(qargs) local U = require 'socket.url' local t = U.parse(qargs.input_url) if t and t.scheme and t.scheme:lower():match('^http$') and t.host and t.host:lower():match('vimeo%.com$') and t.path and t.path:lower():match('^/%d+$') then return true else return false end end function Vimeo.config_new(qargs) local U = require 'socket.url' local t = U.parse(qargs.input_url) t.host = 'player.vimeo.com' t.path = table.concat({'/video/', qargs.id}) local p = quvi.http.fetch(U.build(t)).data return p:match('b=(.-);') or error('no match: b') end function Vimeo.thumb_new(j) local r = {} for _,u in pairs(j.video.thumbs) do table.insert(r,u) end return r[#r] or '' end function Vimeo.normalize(qargs) qargs_input_url = qargs.input_url:gsub("player%.", "") qargs.input_url = qargs.input_url:gsub("/video/", "/") end function Vimeo.iter_streams(qargs, j) local S = require 'quvi/stream' local h = j.request.files.h264 local r = {} for k,v in pairs(h) do local s = S.stream_new(v.url) s.container = v.url:match('%.(%w+)%?') or '' s.video.bitrate_kbit_s = v.bitrate s.video.height = v.height s.video.width = v.width s.id = Vimeo.to_id(s,k) table.insert(r,s) end if #r >1 then Vimeo.ch_best(S, r) end return r end function Vimeo.ch_best(S, t) local r = t[1] r.flags.best = true for _,v in pairs(t) do if v.video.height > r.video.height then r = S.swap_best(r, v) end end end function Vimeo.to_id(t, quality) return string.format("%s_%s_%dk_%dp", quality, t.container, t.video.bitrate_kbit_s, t.video.height) end -- vim: set ts=2 sw=2 tw=72 expandtab:
gpl-2.0
rrpgfirecast/firecast
Plugins/Sheets/PokePTU/output/rdkObjs/03.PerEdgFeaAux2.lfm.lua
2
4775
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmPokePerEdgeFea2() local obj = GUI.fromHandle(_obj_newObject("form")); local self = obj; local sheet = nil; rawset(obj, "_oldSetNodeObjectFunction", rawget(obj, "setNodeObject")); function obj:setNodeObject(nodeObject) sheet = nodeObject; self.sheet = nodeObject; self:_oldSetNodeObjectFunction(nodeObject); end; function obj:setNodeDatabase(nodeObject) self:setNodeObject(nodeObject); end; _gui_assignInitialParentForForm(obj.handle); obj:beginUpdate(); obj:setName("frmPokePerEdgeFea2"); obj:setHeight(25); obj:setWidth(350); obj:setMargins({top=2}); local function askForDelete() Dialogs.confirmYesNo("Deseja realmente apagar essa habilidade?", function (confirmado) if confirmado then NDB.deleteNode(sheet); end; end); end; local function showHabilidadePopup() local pop = self:findControlByName("popHabilidade2"); if pop ~= nil then pop:setNodeObject(self.sheet); pop:showPopupEx("right", self); else showMessage("Ops, bug.. nao encontrei o popup de pericias para exibir"); end; end; obj.rectangle1 = GUI.fromHandle(_obj_newObject("rectangle")); obj.rectangle1:setParent(obj); obj.rectangle1:setAlign("client"); obj.rectangle1:setColor("black"); obj.rectangle1:setHitTest(false); obj.rectangle1:setName("rectangle1"); obj.edit1 = GUI.fromHandle(_obj_newObject("edit")); obj.edit1:setParent(obj); obj.edit1:setVertTextAlign("center"); obj.edit1:setLeft(0); obj.edit1:setTop(0); obj.edit1:setWidth(30); obj.edit1:setHeight(23); obj.edit1:setField("nivelHabilidade"); obj.edit1:setType("number"); obj.edit1:setName("edit1"); obj.edit2 = GUI.fromHandle(_obj_newObject("edit")); obj.edit2:setParent(obj); obj.edit2:setVertTextAlign("center"); obj.edit2:setLeft(35); obj.edit2:setTop(0); obj.edit2:setWidth(290); obj.edit2:setHeight(23); obj.edit2:setField("nomeHabilidade"); obj.edit2:setName("edit2"); obj.button1 = GUI.fromHandle(_obj_newObject("button")); obj.button1:setParent(obj); obj.button1:setLeft(325); obj.button1:setTop(1); obj.button1:setWidth(23); obj.button1:setHeight(23); obj.button1:setText("i"); obj.button1:setName("button1"); obj.button2 = GUI.fromHandle(_obj_newObject("button")); obj.button2:setParent(obj); obj.button2:setLeft(348); obj.button2:setTop(1); obj.button2:setWidth(23); obj.button2:setHeight(23); obj.button2:setText("X"); obj.button2:setName("button2"); obj._e_event0 = obj.button1:addEventListener("onClick", function (_) showHabilidadePopup(); end, obj); obj._e_event1 = obj.button2:addEventListener("onClick", function (_) askForDelete(); end, obj); function obj:_releaseEvents() __o_rrpgObjs.removeEventListenerById(self._e_event1); __o_rrpgObjs.removeEventListenerById(self._e_event0); end; obj._oldLFMDestroy = obj.destroy; function obj:destroy() self:_releaseEvents(); if (self.handle ~= 0) and (self.setNodeDatabase ~= nil) then self:setNodeDatabase(nil); end; if self.rectangle1 ~= nil then self.rectangle1:destroy(); self.rectangle1 = nil; end; if self.edit1 ~= nil then self.edit1:destroy(); self.edit1 = nil; end; if self.edit2 ~= nil then self.edit2:destroy(); self.edit2 = nil; end; if self.button1 ~= nil then self.button1:destroy(); self.button1 = nil; end; if self.button2 ~= nil then self.button2:destroy(); self.button2 = nil; end; self:_oldLFMDestroy(); end; obj:endUpdate(); return obj; end; function newfrmPokePerEdgeFea2() local retObj = nil; __o_rrpgObjs.beginObjectsLoading(); __o_Utils.tryFinally( function() retObj = constructNew_frmPokePerEdgeFea2(); end, function() __o_rrpgObjs.endObjectsLoading(); end); assert(retObj ~= nil); return retObj; end; local _frmPokePerEdgeFea2 = { newEditor = newfrmPokePerEdgeFea2, new = newfrmPokePerEdgeFea2, name = "frmPokePerEdgeFea2", dataType = "", formType = "undefined", formComponentName = "form", title = "", description=""}; frmPokePerEdgeFea2 = _frmPokePerEdgeFea2; Firecast.registrarForm(_frmPokePerEdgeFea2); return _frmPokePerEdgeFea2;
apache-2.0
coltonj96/UsefulCombinators
UsefulCombinators_0.3.9/prototypes/item/items.lua
2
7169
data:extend( { { type = "item", name = "timer-combinator", icon = "__UsefulCombinators__/graphics/icons/timer-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "main", place_result="timer-combinator", order = "a[timer]", stack_size= 50, }, { type = "item", name = "counting-combinator", icon = "__UsefulCombinators__/graphics/icons/counting-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "main", place_result="counting-combinator", order = "b[counting]", stack_size= 50, }, { type = "item", name = "random-combinator", icon = "__UsefulCombinators__/graphics/icons/random-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "main", place_result="random-combinator", order = "c[random]", stack_size= 50, }, { type = "item", name = "color-combinator", icon = "__UsefulCombinators__/graphics/icons/color-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "other", place_result="color-combinator", order = "e[color]", stack_size= 50, }, { type = "item", name = "converter-combinator", icon = "__UsefulCombinators__/graphics/icons/converter-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "other", place_result="converter-combinator", order = "a[converter]", stack_size= 50, }, { type = "item", name = "min-combinator", icon = "__UsefulCombinators__/graphics/icons/min-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "main", place_result="min-combinator", order = "f[min]", stack_size= 50, }, { type = "item", name = "max-combinator", icon = "__UsefulCombinators__/graphics/icons/max-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "main", place_result="max-combinator", order = "e[max]", stack_size= 50, }, { type = "item", name = "and-gate-combinator", icon = "__UsefulCombinators__/graphics/icons/and-gate-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "logic-gates", place_result="and-gate-combinator", order = "a[and]", stack_size= 50, }, { type = "item", name = "or-gate-combinator", icon = "__UsefulCombinators__/graphics/icons/or-gate-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "logic-gates", place_result="or-gate-combinator", order = "o[or]", stack_size= 50, }, { type = "item", name = "not-gate-combinator", icon = "__UsefulCombinators__/graphics/icons/not-gate-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "logic-gates", place_result="not-gate-combinator", order = "n[not]", stack_size= 50, }, { type = "item", name = "nand-gate-combinator", icon = "__UsefulCombinators__/graphics/icons/nand-gate-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "logic-gates", place_result="nand-gate-combinator", order = "n[nand]", stack_size= 50, }, { type = "item", name = "nor-gate-combinator", icon = "__UsefulCombinators__/graphics/icons/nor-gate-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "logic-gates", place_result="nor-gate-combinator", order = "n[nor]", stack_size= 50, }, { type = "item", name = "xor-gate-combinator", icon = "__UsefulCombinators__/graphics/icons/xor-gate-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "logic-gates", place_result="xor-gate-combinator", order = "x[xor]", stack_size= 50, }, { type = "item", name = "xnor-gate-combinator", icon = "__UsefulCombinators__/graphics/icons/xnor-gate-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "logic-gates", place_result="xnor-gate-combinator", order = "x[xnor]", stack_size= 50, }, { type = "item", name = "detector-combinator", icon = "__UsefulCombinators__/graphics/icons/detector-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "other", place_result="detector-combinator", order = "b[detector]", stack_size= 50, }, { type = "item", name = "sensor-combinator", icon = "__UsefulCombinators__/graphics/icons/sensor-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "other", place_result="sensor-combinator", order = "c[sensor]", stack_size= 50, }, { type = "item", name = "railway-combinator", icon = "__UsefulCombinators__/graphics/icons/railway-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "other", place_result="railway-combinator", order = "d[railway]", stack_size= 50, }, { type = "item", name = "emitter-combinator", icon = "__UsefulCombinators__/graphics/icons/emitter-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "other", place_result="emitter-combinator", order = "f[emitter]", stack_size= 50, }, { type = "item", name = "receiver-combinator", icon = "__UsefulCombinators__/graphics/icons/receiver-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "other", place_result="receiver-combinator", order = "g[receiver]", stack_size= 50, }, { type = "item", name = "power-combinator", icon = "__UsefulCombinators__/graphics/icons/power-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "main", place_result="power-combinator", order = "d[power]", stack_size= 50, }, { type = "item", name = "daytime-combinator", icon = "__UsefulCombinators__/graphics/icons/daytime-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "other2", place_result="daytime-combinator", order = "a[daytime]", stack_size= 50, }, { type = "item", name = "pollution-combinator", icon = "__UsefulCombinators__/graphics/icons/pollution-combinator.png", flags = { "goes-to-quickbar" }, group = "useful-combinators", subgroup = "other2", place_result="pollution-combinator", order = "b[pollution]", stack_size= 50, } })
mit
The-HalcyonDays/darkstar
scripts/globals/abilities/call_wyvern.lua
10
1038
----------------------------------- -- Ability: Call Wyvern -- Summons a Wyvern to fight by your side. -- Obtained: Dragoon Level 1 -- Recast Time: 20:00 -- Duration: Instant -- Special: Only available if Dragoon is your main class. ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/pets"); ----------------------------------- -- onAbilityCheck ----------------------------------- function onAbilityCheck(player,target,ability) if (player:getPet() ~= nil) then return MSGBASIC_ALREADY_HAS_A_PET,0; elseif(player:hasStatusEffect(EFFECT_SPIRIT_SURGE) == true) then return MSGBASIC_UNABLE_TO_USE_JA,0; elseif (not player:canUsePet()) then return MSGBASIC_CANT_BE_USED_IN_AREA,0; else return 0,0; end end; ----------------------------------- -- onUseAbility ----------------------------------- function onUseAbility(player,target,ability) player:spawnPet(PET_WYVERN); end;
gpl-3.0
JohnTM/Craft-Examples
Learn Craft.codea/TheSky.lua
1
2451
-- Craft Sky function setup() -- Create a new craft scene scene = craft.scene() myEntity = scene:entity() myEntity.model = craft.model.cube(vec3(2,2,2)) myEntity.material = craft.material.preset("Surfaces:Basic Bricks") myEntity.material.normalScale = vec2(-1,-1) myEntity.eulerAngles = vec3(0, 180, 0) scene.sun:get(craft.light).intensity = 0.75 -- From the Cameras library project (added as dependency - see the + button) -- parameters are (target position, initial distance, min dist, max dist) viewer = scene.camera:add(OrbitViewer, vec3(), 10, 5, 20) parameter.boolean("SkyActive", true, function(b) scene.sky.active = b end) parameter.color("Sky", color(70, 151, 234, 255), function(c) scene.sky.material.sky = c end) parameter.color("Horizon", color(152, 204, 223, 255), function(c) scene.sky.material.horizon = c end) parameter.color("Ground", color(37, 37, 37, 255), function(c) scene.sky.material.ground = c end) local sunny = readText("Environments:Night") local env = craft.cubeTexture(json.decode(sunny)) parameter.boolean("EnvMap", false, function(b) if b then scene.sky.material.envMap = env else scene.sky.material.envMap = nil end end) parameter.color("CameraClearColor", color(0, 0, 0, 255), function(c) -- You have to get the camera component first to change camera settings scene.camera:get(craft.camera).clearColor = c end) end function update(dt) -- Update the scene (physics, transforms etc) scene:update(dt) end -- Called automatically by codea function draw() update(DeltaTime) -- Draw the scene scene:draw() -- 2D drawing goes here drawStepName() end function PrintExplanation() output.clear() print("With craft instead of calling background() each frame to set the background color we use the sky entity") print("scene.sky draws the background and defaults to a blue sky gradient") print("Use sky.active to turn it on and off") print("Use sky.material.horizon, sky and ground to change the gradient colors themselves") print("When the sky is disabled you can set the camera's clear color instead") end
apache-2.0
The-HalcyonDays/darkstar
scripts/zones/Upper_Jeuno/npcs/Hinda.lua
34
1370
----------------------------------- -- Area: Upper Jeuno -- NPC: Hinda -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/globals/quests"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,npc) local WildcatJeuno = player:getVar("WildcatJeuno"); if (player:getQuestStatus(JEUNO,LURE_OF_THE_WILDCAT_JEUNO) == QUEST_ACCEPTED and player:getMaskBit(WildcatJeuno,9) == false) then player:startEvent(10087); else player:startEvent(0x00A1); end end; ----------------------------------- -- onEventUpdate ----------------------------------- function onEventUpdate(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); end; ----------------------------------- -- onEventFinish ----------------------------------- function onEventFinish(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); if (csid == 10087) then player:setMaskBit(player:getVar("WildcatJeuno"),"WildcatJeuno",9,true); end end;
gpl-3.0
mohammad8/1234
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print_name(user)..' ['..user_id..']' return user_info end local function chat_stats(chat_id) local hash = 'chat:'..chat_id..':users' local users = redis:smembers(hash) local users_info = {} for i = 1, #users do local user_id = users[i] local user_info = get_msgs_user_chat(user_id, chat_id) table.insert(users_info, user_info) end table.sort(users_info, function(a, b) if a.msgs and b.msgs then return a.msgs > b.msgs end end) local text = 'Chat stats:\n' for k,user in pairs(users_info) do text = text..user.name..' = '..user.msgs..'\n' end return text end local function get_group_type(target) local data = load_data(_config.moderation.data) local group_type = data[tostring(target)]['group_type'] if not group_type or group_type == nil then return 'No group type available.' end return group_type end local function show_group_settings(target) local data = load_data(_config.moderation.data) if data[tostring(target)] then if data[tostring(target)]['settings']['flood_msg_max'] then NUM_MSG_MAX = tonumber(data[tostring(target)]['settings']['flood_msg_max']) print('custom'..NUM_MSG_MAX) else NUM_MSG_MAX = 5 end end local settings = data[tostring(target)]['settings'] local text = "Lock group name : "..settings.lock_name.."\nLock group photo : "..settings.lock_photo.."\nLock group member : "..settings.lock_member.."\nflood sensitivity : "..NUM_MSG_MAX return text end local function get_description(target) local data = load_data(_config.moderation.data) local data_cat = 'description' if not data[tostring(target)][data_cat] then return 'No description available.' end local about = data[tostring(target)][data_cat] return about end local function get_rules(target) local data = load_data(_config.moderation.data) local data_cat = 'rules' if not data[tostring(target)][data_cat] then return 'No rules available.' end local rules = data[tostring(target)][data_cat] return rules end local function modlist(target) local data = load_data(_config.moderation.data) local groups = 'groups' if not data[tostring(groups)] or not data[tostring(groups)][tostring(target)] then return 'Group is not added or is Realm.' end if next(data[tostring(target)]['moderators']) == nil then return 'No moderator in this group.' end local i = 1 local message = '\nList of moderators :\n' for k,v in pairs(data[tostring(target)]['moderators']) do message = message ..i..' - @'..v..' [' ..k.. '] \n' i = i + 1 end return message end local function get_link(target) local data = load_data(_config.moderation.data) local group_link = data[tostring(target)]['settings']['set_link'] if not group_link or group_link == nil then return "No link" end return "Group link:\n"..group_link end local function all(target, receiver) local text = "All the things I know about this group\n\n" local group_type = get_group_type(target) text = text.."Group Type: \n"..group_type local settings = show_group_settings(target) text = text.."\n\nGroup settings: \n"..settings local rules = get_rules(target) text = text.."\n\nRules: \n"..rules local description = get_description(target) text = text.."\n\nAbout: \n"..description local modlist = modlist(target) text = text.."\n\nMods: \n"..modlist local link = get_link(target) text = text.."\n\nLink: \n"..link local stats = chat_stats(target) text = text.."\n\n"..stats local ban_list = ban_list(target) text = text.."\n\n"..ban_list local file = io.open("./groups/all/"..target.."all.txt", "w") file:write(text) file:flush() file:close() send_document(receiver,"./groups/all/"..target.."all.txt", ok_cb, false) return end function run(msg, matches) if matches[1] == "all" and matches[2] and is_owner2(msg.from.id, matches[2]) then local receiver = get_receiver(msg) local target = matches[2] return all(target, receiver) end if not is_owner(msg) then return end if matches[1] == "all" and not matches[2] then local receiver = get_receiver(msg) if not is_owner(msg) then return end return all(msg.to.id, receiver) end end return { patterns = { "^[!/](all)$", "^[!/](all) (%d+)$" }, run = run } end
gpl-2.0
rrpgfirecast/firecast
Plugins/Sheets/Konoha Heroes/output/rdkObjs/Ficha LH/LH.5.1.lfm.lua
1
7369
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmLH5_1() local obj = GUI.fromHandle(_obj_newObject("form")); local self = obj; local sheet = nil; rawset(obj, "_oldSetNodeObjectFunction", rawget(obj, "setNodeObject")); function obj:setNodeObject(nodeObject) sheet = nodeObject; self.sheet = nodeObject; self:_oldSetNodeObjectFunction(nodeObject); end; function obj:setNodeDatabase(nodeObject) self:setNodeObject(nodeObject); end; _gui_assignInitialParentForForm(obj.handle); obj:beginUpdate(); obj:setName("frmLH5_1"); obj:setWidth(752); obj:setHeight(122); obj:setTheme("dark"); obj.layout1 = GUI.fromHandle(_obj_newObject("layout")); obj.layout1:setParent(obj); obj.layout1:setLeft(1); obj.layout1:setTop(1); obj.layout1:setWidth(800); obj.layout1:setHeight(125); obj.layout1:setName("layout1"); obj.rectangle1 = GUI.fromHandle(_obj_newObject("rectangle")); obj.rectangle1:setParent(obj.layout1); obj.rectangle1:setAlign("client"); obj.rectangle1:setColor("0x202020"); obj.rectangle1:setXradius(5); obj.rectangle1:setYradius(5); obj.rectangle1:setCornerType("round"); obj.rectangle1:setName("rectangle1"); obj.label1 = GUI.fromHandle(_obj_newObject("label")); obj.label1:setParent(obj.layout1); obj.label1:setLeft(5); obj.label1:setTop(0); obj.label1:setWidth(100); obj.label1:setHeight(25); obj.label1:setText("Nome"); obj.label1:setName("label1"); obj.edit1 = GUI.fromHandle(_obj_newObject("edit")); obj.edit1:setParent(obj.layout1); obj.edit1:setLeft(50); obj.edit1:setTop(0); obj.edit1:setWidth(220); obj.edit1:setHeight(25); obj.edit1:setField("nome_item"); obj.edit1:setName("edit1"); obj.label2 = GUI.fromHandle(_obj_newObject("label")); obj.label2:setParent(obj.layout1); obj.label2:setLeft(275); obj.label2:setTop(0); obj.label2:setWidth(70); obj.label2:setHeight(25); obj.label2:setHorzTextAlign("center"); obj.label2:setText("Quantidade"); obj.label2:setName("label2"); obj.edit2 = GUI.fromHandle(_obj_newObject("edit")); obj.edit2:setParent(obj.layout1); obj.edit2:setLeft(350); obj.edit2:setTop(0); obj.edit2:setWidth(40); obj.edit2:setHeight(25); obj.edit2:setField("qtd_item"); obj.edit2:setName("edit2"); obj.label3 = GUI.fromHandle(_obj_newObject("label")); obj.label3:setParent(obj.layout1); obj.label3:setLeft(395); obj.label3:setTop(0); obj.label3:setWidth(70); obj.label3:setHeight(25); obj.label3:setText("Dano"); obj.label3:setName("label3"); obj.edit3 = GUI.fromHandle(_obj_newObject("edit")); obj.edit3:setParent(obj.layout1); obj.edit3:setLeft(435); obj.edit3:setTop(0); obj.edit3:setWidth(160); obj.edit3:setHeight(25); obj.edit3:setField("dano_item"); obj.edit3:setName("edit3"); obj.label4 = GUI.fromHandle(_obj_newObject("label")); obj.label4:setParent(obj.layout1); obj.label4:setLeft(585); obj.label4:setTop(0); obj.label4:setWidth(70); obj.label4:setHeight(25); obj.label4:setText("Tempo"); obj.label4:setHorzTextAlign("center"); obj.label4:setName("label4"); obj.edit4 = GUI.fromHandle(_obj_newObject("edit")); obj.edit4:setParent(obj.layout1); obj.edit4:setLeft(645); obj.edit4:setTop(0); obj.edit4:setWidth(100); obj.edit4:setHeight(25); obj.edit4:setField("tempo_item"); obj.edit4:setName("edit4"); obj.label5 = GUI.fromHandle(_obj_newObject("label")); obj.label5:setParent(obj.layout1); obj.label5:setLeft(5); obj.label5:setTop(30); obj.label5:setWidth(795); obj.label5:setHeight(25); obj.label5:setHorzTextAlign("center"); obj.label5:setText("Descrição"); obj.label5:setName("label5"); obj.textEditor1 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor1:setParent(obj.layout1); obj.textEditor1:setLeft(5); obj.textEditor1:setTop(55); obj.textEditor1:setWidth(790); obj.textEditor1:setHeight(60); obj.textEditor1:setField("desc_item"); obj.textEditor1:setName("textEditor1"); obj.button1 = GUI.fromHandle(_obj_newObject("button")); obj.button1:setParent(obj.layout1); obj.button1:setLeft(745); obj.button1:setWidth(50); obj.button1:setHeight(50); obj.button1:setText("X"); obj.button1:setName("button1"); obj._e_event0 = obj.button1:addEventListener("onClick", function (_) dialogs.confirmOkCancel("Tem certeza que quer apagar esse item?", function (confirmado) if confirmado then ndb.deleteNode(sheet); end; end); end, obj); function obj:_releaseEvents() __o_rrpgObjs.removeEventListenerById(self._e_event0); end; obj._oldLFMDestroy = obj.destroy; function obj:destroy() self:_releaseEvents(); if (self.handle ~= 0) and (self.setNodeDatabase ~= nil) then self:setNodeDatabase(nil); end; if self.edit3 ~= nil then self.edit3:destroy(); self.edit3 = nil; end; if self.label5 ~= nil then self.label5:destroy(); self.label5 = nil; end; if self.button1 ~= nil then self.button1:destroy(); self.button1 = nil; end; if self.label1 ~= nil then self.label1:destroy(); self.label1 = nil; end; if self.edit4 ~= nil then self.edit4:destroy(); self.edit4 = nil; end; if self.label3 ~= nil then self.label3:destroy(); self.label3 = nil; end; if self.label4 ~= nil then self.label4:destroy(); self.label4 = nil; end; if self.textEditor1 ~= nil then self.textEditor1:destroy(); self.textEditor1 = nil; end; if self.edit2 ~= nil then self.edit2:destroy(); self.edit2 = nil; end; if self.layout1 ~= nil then self.layout1:destroy(); self.layout1 = nil; end; if self.rectangle1 ~= nil then self.rectangle1:destroy(); self.rectangle1 = nil; end; if self.edit1 ~= nil then self.edit1:destroy(); self.edit1 = nil; end; if self.label2 ~= nil then self.label2:destroy(); self.label2 = nil; end; self:_oldLFMDestroy(); end; obj:endUpdate(); return obj; end; function newfrmLH5_1() local retObj = nil; __o_rrpgObjs.beginObjectsLoading(); __o_Utils.tryFinally( function() retObj = constructNew_frmLH5_1(); end, function() __o_rrpgObjs.endObjectsLoading(); end); assert(retObj ~= nil); return retObj; end; local _frmLH5_1 = { newEditor = newfrmLH5_1, new = newfrmLH5_1, name = "frmLH5_1", dataType = "", formType = "undefined", formComponentName = "form", title = "", description=""}; frmLH5_1 = _frmLH5_1; Firecast.registrarForm(_frmLH5_1); return _frmLH5_1;
apache-2.0
sysr-q/lua
lua-5.3.0-tests/main.lua
1
9955
# testing special comment on first line -- $Id: main.lua,v 1.61 2014/12/26 17:20:53 roberto Exp $ -- most (all?) tests here assume a reasonable "Unix-like" shell if _port then return end -- use only "double quotes" inside shell scripts (better change to -- run on Windows) print ("testing stand-alone interpreter") assert(os.execute()) -- machine has a system command local prog = os.tmpname() local otherprog = os.tmpname() local out = os.tmpname() local progname do local i = 0 while arg[i] do i=i-1 end progname = arg[i+1] end print("progname: "..progname) local prepfile = function (s, p) p = p or prog io.output(p) io.write(s) assert(io.close()) end local function getoutput () io.input(out) local t = io.read("a") io.input():close() assert(os.remove(out)) return t end local function checkprogout (s) local t = getoutput() for line in string.gmatch(s, ".-\n") do assert(string.find(t, line, 1, true)) end end local function checkout (s) local t = getoutput() if s ~= t then print(string.format("'%s' - '%s'\n", s, t)) end assert(s == t) return t end local function RUN (p, ...) p = string.gsub(p, "lua", '"'..progname..'"', 1) local s = string.format(p, ...) assert(os.execute(s)) end local function NoRun (msg, p, ...) p = string.gsub(p, "lua", '"'..progname..'"', 1) local s = string.format(p, ...) s = string.format("%s 2> %s", s, out) -- will send error to 'out' assert(not os.execute(s)) assert(string.find(getoutput(), msg, 1, true)) -- check error message end RUN('lua -v') print(string.format("(temporary program file used in these tests: %s)", prog)) -- running stdin as a file prepfile"" RUN('lua - < %s > %s', prog, out) checkout("") prepfile[[ print( 1, a ) ]] RUN('lua - < %s > %s', prog, out) checkout("1\tnil\n") RUN('echo "print(10)\nprint(2)\n" | lua > %s', out) checkout("10\n2\n") -- test option '-' RUN('echo "print(arg[1])" | lua - -h > %s', out) checkout("-h\n") -- test environment variables used by Lua prepfile("print(package.path)") -- test LUA_PATH RUN('env LUA_INIT= LUA_PATH=x lua %s > %s', prog, out) checkout("x\n") -- test LUA_PATH_version RUN('env LUA_INIT= LUA_PATH_5_3=y LUA_PATH=x lua %s > %s', prog, out) checkout("y\n") -- test LUA_CPATH prepfile("print(package.cpath)") RUN('env LUA_INIT= LUA_CPATH=xuxu lua %s > %s', prog, out) checkout("xuxu\n") -- test LUA_CPATH_version RUN('env LUA_INIT= LUA_CPATH_5_3=yacc LUA_CPATH=x lua %s > %s', prog, out) checkout("yacc\n") -- test LUA_INIT (and its access to 'arg' table) prepfile("print(X)") RUN('env LUA_INIT="X=tonumber(arg[1])" lua %s 3.2 > %s', prog, out) checkout("3.2\n") -- test LUA_INIT_version prepfile("print(X)") RUN('env LUA_INIT_5_3="X=10" LUA_INIT="X=3" lua %s > %s', prog, out) checkout("10\n") -- test LUA_INIT for files prepfile("x = x or 10; print(x); x = x + 1") RUN('env LUA_INIT="@%s" lua %s > %s', prog, prog, out) checkout("10\n11\n") -- test errors in LUA_INIT NoRun('LUA_INIT:1: 10', 'env LUA_INIT="error(10)" lua') -- test option '-E' local defaultpath, defaultCpath do prepfile("print(package.path, package.cpath)") RUN('env LUA_INIT="error(10)" LUA_PATH=xxx LUA_CPATH=xxx lua -E %s > %s', prog, out) local out = getoutput() defaultpath = string.match(out, "^(.-)\t") defaultCpath = string.match(out, "\t(.-)$") end -- paths did not changed assert(not string.find(defaultpath, "xxx") and string.find(defaultpath, "lua") and not string.find(defaultCpath, "xxx") and string.find(defaultCpath, "lua")) -- test replacement of ';;' to default path local function convert (p) prepfile("print(package.path)") RUN('env LUA_PATH="%s" lua %s > %s', p, prog, out) local expected = getoutput() expected = string.sub(expected, 1, -2) -- cut final end of line assert(string.gsub(p, ";;", ";"..defaultpath..";") == expected) end convert(";") convert(";;") convert(";;;") convert(";;;;") convert(";;;;;") convert(";;a;;;bc") -- test -l over multiple libraries prepfile("print(1); a=2; return {x=15}") prepfile(("print(a); print(_G['%s'].x)"):format(prog), otherprog) RUN('env LUA_PATH="?;;" lua -l %s -l%s -lstring -l io %s > %s', prog, otherprog, otherprog, out) checkout("1\n2\n15\n2\n15\n") -- test 'arg' table local a = [[ assert(#arg == 3 and arg[1] == 'a' and arg[2] == 'b' and arg[3] == 'c') assert(arg[-1] == '--' and arg[-2] == "-e " and arg[-3] == '%s') assert(arg[4] == nil and arg[-4] == nil) local a, b, c = ... assert(... == 'a' and a == 'a' and b == 'b' and c == 'c') ]] a = string.format(a, progname) prepfile(a) RUN('lua "-e " -- %s a b c', prog) -- "-e " runs an empty command -- test 'arg' availability in libraries prepfile"assert(arg)" prepfile("assert(arg)", otherprog) RUN('env LUA_PATH="?;;" lua -l%s - < %s', prog, otherprog) -- test messing up the 'arg' table RUN('echo "print(...)" | lua -e "arg[1] = 100" - > %s', out) checkout("100\n") NoRun("'arg' is not a table", 'echo "" | lua -e "arg = 1" -') -- test error in 'print' RUN('echo 10 | lua -e "print=nil" -i > /dev/null 2> %s', out) assert(string.find(getoutput(), "error calling 'print'")) -- test 'debug.debug' RUN('echo "io.stderr:write(1000)\ncont" | lua -e "require\'debug\'.debug()" 2> %s', out) checkout("lua_debug> 1000lua_debug> ") -- test many arguments prepfile[[print(({...})[30])]] RUN('lua %s %s > %s', prog, string.rep(" a", 30), out) checkout("a\n") RUN([[lua "-eprint(1)" -ea=3 -e "print(a)" > %s]], out) checkout("1\n3\n") -- test iteractive mode prepfile[[ (6*2-6) -- === a = 10 print(a) a]] RUN([[lua -e"_PROMPT='' _PROMPT2=''" -i < %s > %s]], prog, out) checkprogout("6\n10\n10\n\n") prepfile("a = [[b\nc\nd\ne]]\n=a") RUN([[lua -e"_PROMPT='' _PROMPT2=''" -i < %s > %s]], prog, out) checkprogout("b\nc\nd\ne\n\n") prompt = "alo" prepfile[[ -- a = 2 ]] RUN([[lua "-e_PROMPT='%s'" -i < %s > %s]], prompt, prog, out) local t = getoutput() assert(string.find(t, prompt .. ".*" .. prompt .. ".*" .. prompt)) -- test for error objects prepfile[[ debug = require "debug" m = {x=0} setmetatable(m, {__tostring = function(x) return tostring(debug.getinfo(4).currentline + x.x) end}) error(m) ]] NoRun(progname .. ": 6\n", [[lua %s]], prog) prepfile("error{}") NoRun("error object is a table value", [[lua %s]], prog) -- chunk broken in many lines s = [=[ -- function f ( x ) local a = [[ xuxu ]] local b = "\ xuxu\n" if x == 11 then return 1 + 12 , 2 + 20 end --[[ test multiple returns ]] return x + 1 --\\ end return( f( 100 ) ) assert( a == b ) do return f( 11 ) end ]=] s = string.gsub(s, ' ', '\n\n') -- change all spaces for newlines prepfile(s) RUN([[lua -e"_PROMPT='' _PROMPT2=''" -i < %s > %s]], prog, out) checkprogout("101\n13\t22\n\n") prepfile[[#comment in 1st line without \n at the end]] RUN('lua %s', prog) prepfile[[#test line number when file starts with comment line debug = require"debug" print(debug.getinfo(1).currentline) ]] RUN('lua %s > %s', prog, out) checkprogout('3') -- close Lua with an open file prepfile(string.format([[io.output(%q); io.write('alo')]], out)) RUN('lua %s', prog) checkout('alo') -- bug in 5.2 beta (extra \0 after version line) RUN([[lua -v -e"print'hello'" > %s]], out) t = getoutput() assert(string.find(t, "PUC%-Rio\nhello")) -- testing os.exit prepfile("os.exit(nil, true)") RUN('lua %s', prog) prepfile("os.exit(0, true)") RUN('lua %s', prog) prepfile("os.exit(true, true)") RUN('lua %s', prog) prepfile("os.exit(1, true)") NoRun("", "lua %s", prog) -- no message prepfile("os.exit(false, true)") NoRun("", "lua %s", prog) -- no message -- remove temporary files assert(os.remove(prog)) assert(os.remove(otherprog)) assert(not os.remove(out)) -- invalid options NoRun("unrecognized option '-h'", "lua -h") NoRun("unrecognized option '---'", "lua ---") NoRun("unrecognized option '-Ex'", "lua -Ex") NoRun("unrecognized option '-vv'", "lua -vv") NoRun("unrecognized option '-iv'", "lua -iv") NoRun("'-e' needs argument", "lua -e") NoRun("syntax error", "lua -e a") NoRun("'-l' needs argument", "lua -l") if T then -- auxiliary library? print("testing 'not enough memory' to create a state") NoRun("not enough memory", "env MEMLIMIT=100 lua") end print('+') print('testing Ctrl C') do -- interrupt a script local function kill (pid) return os.execute(string.format('kill -INT %d 2> /dev/null', pid)) end -- function to run a script in background, returning its output file -- descriptor and its pid local function runback (luaprg) -- shell script to run 'luaprg' in background and echo its pid local shellprg = string.format('%s -e "%s" & echo $!', progname, luaprg) local f = io.popen(shellprg, "r") -- run shell script local pid = f:read() -- get pid for Lua script print("(if test fails now, it may leave a Lua script running in \z background, pid " .. pid .. ")") return f, pid end -- Lua script that runs protected infinite loop and then prints '42' local f, pid = runback[[ pcall(function () print(12); while true do end end); print(42)]] -- wait until script is inside 'pcall' assert(f:read() == "12") kill(pid) -- send INT signal to Lua script -- check that 'pcall' captured the exception and script continued running assert(f:read() == "42") -- expected output assert(f:close()) print("done") -- Lua script in a looooog unbreakable search local f, pid = runback[[ print(15); string.find(string.rep('a', 1000), '.*.*.*.*.*b')]] -- wait (so script can reach the loop) assert(f:read() == "15") assert(os.execute("sleep 1")) -- must send at least two INT signals to stop this Lua script local n = 100 for i = 0, 100 do -- keep sending signals if not kill(pid) then -- until it fails n = i -- number of non-failed kills break end end assert(f:close()) assert(n >= 2) print(string.format("done (with %d kills)", n)) end print("OK")
mit
Feudalciv/Feudalciv
dependencies/tolua-5.2/src/bin/lua/package.lua
13
9061
-- tolua: package class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: package.lua,v 1.4 2009/11/24 16:45:15 fabraham Exp $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to provide maintenance, support, updates, -- enhancements, or modifications. -- Package class -- Represents the whole package being bound. -- The following fields are stored: -- {i} = list of objects in the package. classPackage = { classtype = 'package' } classPackage.__index = classPackage setmetatable(classPackage,classContainer) -- Print method function classPackage:print () print("Package: "..self.name) local i=1 while self[i] do self[i]:print("","") i = i+1 end end function classPackage:preprocess () -- avoid preprocessing embedded Lua code local L = {} self.code = gsub(self.code,"\n%s*%$%[","\1") -- deal with embedded C code self.code = gsub(self.code,"\n%s*%$%]","\2") self.code = gsub(self.code,"(%b\1\2)", function (c) tinsert(L,c) return "\n#["..getn(L).."]#" end) -- avoid preprocessing embedded C code local C = {} self.code = gsub(self.code,"\n%s*%$%<","\3") -- deal with embedded C code self.code = gsub(self.code,"\n%s*%$%>","\4") self.code = gsub(self.code,"(%b\3\4)", function (c) tinsert(C,c) return "\n#<"..getn(C)..">#" end) -- avoid preprocessing verbatim lines local V = {} self.code = gsub(self.code,"\n(%s*%$[^%[%]][^\n]*)",function (v) tinsert(V,v) return "\n#"..getn(V).."#" end) -- perform global substitution self.code = gsub(self.code,"(//[^\n]*)","") -- eliminate C++ comments self.code = gsub(self.code,"/%*","\1") self.code = gsub(self.code,"%*/","\2") self.code = gsub(self.code,"%b\1\2","") self.code = gsub(self.code,"\1","/%*") self.code = gsub(self.code,"\2","%*/") self.code = gsub(self.code,"%s*@%s*","@") -- eliminate spaces beside @ self.code = gsub(self.code,"%s?inline(%s)","%1") -- eliminate 'inline' keyword self.code = gsub(self.code,"%s?extern(%s)","%1") -- eliminate 'extern' keyword self.code = gsub(self.code,"%s?virtual(%s)","%1") -- eliminate 'virtual' keyword self.code = gsub(self.code,"public:","") -- eliminate 'public:' keyword self.code = gsub(self.code,"([^%w_])void%s*%*","%1_userdata ") -- substitute 'void*' self.code = gsub(self.code,"([^%w_])void%s*%*","%1_userdata ") -- substitute 'void*' self.code = gsub(self.code,"([^%w_])char%s*%*","%1_cstring ") -- substitute 'char*' self.code = gsub(self.code,"([^%w_])lua_State%s*%*","%1_lstate ") -- substitute 'lua_State*' -- restore embedded code self.code = gsub(self.code,"%#%[(%d+)%]%#",function (n) return L[tonumber(n)] end) -- restore embedded code self.code = gsub(self.code,"%#%<(%d+)%>%#",function (n) return C[tonumber(n)] end) -- restore verbatim lines self.code = gsub(self.code,"%#(%d+)%#",function (n) return V[tonumber(n)] end) end -- translate verbatim function classPackage:preamble () output('/*\n') output('** Lua binding: '..self.name..'\n') -- fred: removido porque gera trabalho na hora de fazer diffs -- output('** Generated automatically by '..TOLUA_VERSION..' on '..date()..'.\n') output('*/\n\n') output('#include "tolua.h"\n\n') output('#ifndef __cplusplus\n') output('#include <stdlib.h>\n') output('#endif\n') output('#ifdef __cplusplus\n') output('extern "C" int tolua_bnd_takeownership (lua_State* L); // from tolua_map.c\n') output('#else\n') output('int tolua_bnd_takeownership (lua_State* L); /* from tolua_map.c */\n') output('#endif\n') output('#include <string.h>\n\n') if not flags.h then output('/* Exported function */') output('TOLUA_API int tolua_'..self.name..'_open (lua_State* tolua_S);') output('LUALIB_API int luaopen_'..self.name..' (lua_State* tolua_S);') output('\n') end local i=1 while self[i] do self[i]:preamble() i = i+1 end if self:requirecollection(_collect) then output('\n') output('/* function to release collected object via destructor */') output('#ifdef __cplusplus\n') for i,v in pairs(_collect) do output('\nstatic int '..v..' (lua_State* tolua_S)') output('{') output(' '..i..'* self = ('..i..'*) tolua_tousertype(tolua_S,1,0);') output(' tolua_release(tolua_S,self);') output(' delete self;') output(' return 0;') output('}') end output('#endif\n\n') end output('\n') output('/* function to register type */') output('static void tolua_reg_types (lua_State* tolua_S)') output('{') foreach(_usertype,function(n,v) output(' tolua_usertype(tolua_S,"',v,'");') end) output('}') output('\n') end -- register package -- write package open function function classPackage:register () push(self) output("/* Open lib function */") output('LUALIB_API int luaopen_'..self.name..' (lua_State* tolua_S)') output("{") output(" tolua_open(tolua_S);") output(" tolua_reg_types(tolua_S);") output(" tolua_module(tolua_S,NULL,",self:hasvar(),");") output(" tolua_beginmodule(tolua_S,NULL);") local i=1 while self[i] do self[i]:register() i = i+1 end output(" tolua_endmodule(tolua_S);") output(" return 1;") output("}") output("/* Open tolua function */") output("TOLUA_API int tolua_"..self.name.."_open (lua_State* tolua_S)") output("{") output(" lua_pushcfunction(tolua_S, luaopen_"..self.name..");") output(' lua_pushstring(tolua_S, "'..self.name..'");') output(" lua_call(tolua_S, 1, 0);") output(" return 1;") output("}") pop() end -- write header file function classPackage:header () output('/*\n') output('** Lua binding: '..self.name..'\n') output('** Generated automatically by '..TOLUA_VERSION..' on '..date()..'.\n') output('*/\n\n') if not flags.h then output('/* Exported function */') output('TOLUA_API int tolua_'..self.name..'_open (lua_State* tolua_S);') output('LUALIB_API int luaopen_'..self.name..' (lua_State* tolua_S);') output('\n') end end -- Internal constructor function _Package (self) setmetatable(self,classPackage) return self end -- Parse C header file with tolua directives -- *** Thanks to Ariel Manzur for fixing bugs in nested directives *** function extract_code(fn,s) local code = '\n$#include "'..fn..'"\n' s= "\n" .. s .. "\n" -- add blank lines as sentinels local _,e,c,t = strfind(s, "\n([^\n]-)[Tt][Oo][Ll][Uu][Aa]_([^%s]*)[^\n]*\n") while e do t = strlower(t) if t == "begin" then _,e,c = strfind(s,"(.-)\n[^\n]*[Tt][Oo][Ll][Uu][Aa]_[Ee][Nn][Dd][^\n]*\n",e) if not e then tolua_error("Unbalanced 'tolua_begin' directive in header file") end end code = code .. c .. "\n" _,e,c,t = strfind(s, "\n([^\n]-)[Tt][Oo][Ll][Uu][Aa]_([^%s]*)[^\n]*\n",e) end return code end -- Constructor -- Expects the package name, the file extension, and the file text. function Package (name,fn) local ext = "pkg" -- open input file, if any if fn then local st, msg = readfrom(flags.f) if not st then error('#'..msg) end local _; _, _, ext = strfind(fn,".*%.(.*)$") end local code = "\n" .. read('*a') if ext == 'h' or ext == 'hpp' then code = extract_code(fn,code) end -- close file if fn then readfrom() end -- deal with renaming directive code = gsub(code,'%s*%$renaming%s*(.-)%s*\n', function (r) appendrenaming(r) return "\n" end) -- deal with include directive local nsubst repeat code,nsubst = gsub(code,'\n%s*%$(.)file%s*"(.-)"%s*\n', function (kind,fn) local _, _, ext = strfind(fn,".*%.(.*)$") local fp,msg = openfile(fn,'r') if not fp then error('#'..msg..': '..fn) end local s = read(fp,'*a') closefile(fp) if kind == 'c' or kind == 'h' then return extract_code(fn,s) elseif kind == 'p' then return "\n\n" .. s elseif kind == 'l' then return "\n$[\n" .. s .. "\n$]\n" else error('#Invalid include directive (use $cfile, $pfile or $lfile)') end end) until nsubst==0 local t = _Package(_Container{name=name, code=code}) push(t) t:preprocess() t:parse(t.code) pop() return t end
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Windurst_Woods/npcs/Miiri-Wohri.lua
38
1037
----------------------------------- -- Area: Windurst Woods -- NPC: Miiri-Wohri -- Type: Standard NPC -- @zone: 241 -- @pos 106.766 -6 -30.492 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,npc) player:startEvent(0x006f); end; ----------------------------------- -- onEventUpdate ----------------------------------- function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end; ----------------------------------- -- onEventFinish ----------------------------------- function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end;
gpl-3.0
ArchiveTeam/comcast-grab
comcast.lua
1
6860
dofile("urlcode.lua") dofile("table_show.lua") local url_count = 0 local tries = 0 local item_type = os.getenv('item_type') local item_value = os.getenv('item_value') local downloaded = {} local addedtolist = {} for ignore in io.open("ignore-list", "r"):lines() do downloaded[ignore] = true end read_file = function(file) if file then local f = assert(io.open(file)) local data = f:read("*all") f:close() return data else return "" end end wget.callbacks.download_child_p = function(urlpos, parent, depth, start_url_parsed, iri, verdict, reason) local url = urlpos["url"]["url"] local html = urlpos["link_expect_html"] if downloaded[url] == true or addedtolist[url] == true then return false end if downloaded[url] ~= true and addedtolist[url] ~= true then if (string.match(url, "^https?://[^/]*home%.comcast%.") or string.match(url, "^https?://[^/]*comcastbiz%.") or string.match(url, "^https?://[^/]*webhosting%.comcast%.net") or html == 0) and not string.match(url, "///") then addedtolist[url] = true return true else return false end end end wget.callbacks.get_urls = function(file, url, is_css, iri) local urls = {} local html = nil downloaded[url] = true local function check(urla) local url = string.match(urla, "^([^#]+)") if ((downloaded[url] ~= true and addedtolist[url] ~= true) and (string.match(url, "^https://[^/]*home%.comcast%.") or string.match(url, "^https://[^/]*comcastbiz%.") or string.match(url, "^https?://[^/]*webhosting%.comcast%.net"))) and not string.match(url, "///") then if string.match(url, "&amp;") then table.insert(urls, { url=string.gsub(url, "&amp;", "&") }) addedtolist[url] = true addedtolist[string.gsub(url, "&amp;", "&")] = true else table.insert(urls, { url=url }) addedtolist[url] = true end end end local function checknewurl(newurl) if string.match(newurl, "^https?://") then check(newurl) elseif string.match(newurl, "^//") then check("http:"..newurl) elseif string.match(newurl, "^/") then check(string.match(url, "^(https?://[^/]+)")..newurl) elseif string.match(newurl, "%.jpg$") or string.match(newurl, "%.gif$") then check(string.match(url, "^(https?://[^/]+/)")..newurl) end end if (string.match(url, "^https?://[^/]*home%.comcast%.[^/]*") or string.match(url, "^https?://[^/]*comcastbiz%.[^/]*")) and not (string.match(url, "%.mp4$") or string.match(url, "%.jpg$") or string.match(url, "%.gif$") or string.match(url, "%.avi$") or string.match(url, "%.flv$") or string.match(url, "%.pdf$") or string.match(url, "%.rm$") or string.match(url, "%.wmv$") or string.match(url, "%.jpeg$") or string.match(url, "%.swf$")) then html = read_file(file) check(string.match(url, "^(https?://.+/)")) check(string.match(url, "^(https?://.+)/")) check(string.match(url, "^(https?://[^%?]+)")) check(string.match(url, "^(https?://[^&]+)")) for newurl in string.gmatch(html, '([^"]+)') do checknewurl(newurl) end for newurl in string.gmatch(html, "([^']+)") do checknewurl(newurl) end for newurl in string.gmatch(html, ">([^<]+)") do checknewurl(newurl) end for newurl in string.gmatch(html, "location='([^']+)'") do if not (string.match(newurl, "^/") or string.match(newurl, "^https?://")) then check(string.match(url, "^(https?://[^/]+/)")..newurl) end end for newurl in string.gmatch(html, 'href="([^"]+)"') do if not (string.match(newurl, "^/") or string.match(newurl, "^https?://")) then check(string.match(url, "^(https?://[^/]+/)")..newurl) end end if string.match(url, "^https?://[^%.]+%.home.comcast.net/~") then check(string.match(url, "^(https?://[^/]+)/~")..string.match(url, "^https?://[^/]+/~[^/]+(.*)")) end if string.match(url, "^https?://.+/[^/]+/") then check(string.match(url, "^(https?://.+/)[^/]+/")) check(string.match(url, "^(https?://.+)/[^/]+/")) end end return urls end wget.callbacks.httploop_result = function(url, err, http_stat) -- NEW for 2014: Slightly more verbose messages because people keep -- complaining that it's not moving or not working status_code = http_stat["statcode"] url_count = url_count + 1 io.stdout:write(url_count .. "=" .. status_code .. " " .. url["url"] .. ". \n") io.stdout:flush() if downloaded[url["url"]] == true then return wget.actions.EXIT end if (status_code >= 200 and status_code <= 399) then if string.match(url.url, "https://") then local newurl = string.gsub(url.url, "https://", "http://") downloaded[newurl] = true else downloaded[url.url] = true end end if status_code >= 500 or (status_code >= 400 and status_code ~= 404 and status_code ~= 403 and status_code ~= 400 and status_code ~= 414) then io.stdout:write("\nServer returned "..http_stat.statcode..". Sleeping.\n") io.stdout:flush() os.execute("sleep 1") tries = tries + 1 if tries >= 5 then io.stdout:write("\nI give up...\n") io.stdout:flush() tries = 0 if (item_type == "comcasthomea" and string.match(url["url"], "^https?://home%.comcast%.net/~")) or (item_type == "acomcasthome" and string.match(url["url"], "^https?://[^%.]+%.home%.comcast%.net")) or (item_type == "comcastbiznet" and string.match(url["url"], "^https?://[^%.]+%.comcastbiz%.net")) or (item_type == "comcastbiznet" and string.match(url["url"], "^https?://[^%.]+%.comcastbiz%.com")) then return wget.actions.EXIT else return wget.actions.EXIT end else return wget.actions.CONTINUE end elseif status_code == 0 then if string.match(url["url"], "https?://rss%.thingiverse%.com") then return wget.actions.EXIT end io.stdout:write("\nServer returned "..http_stat.statcode..". Sleeping.\n") io.stdout:flush() os.execute("sleep 10") tries = tries + 1 if tries >= 5 then io.stdout:write("\nI give up...\n") io.stdout:flush() tries = 0 if (item_type == "comcasthomea" and string.match(url["url"], "^https?://home%.comcast%.net/~")) or (item_type == "acomcasthome" and string.match(url["url"], "^https?://[^%.]+%.home%.comcast%.net")) or (item_type == "comcastbiznet" and string.match(url["url"], "^https?://[^%.]+%.comcastbiz%.net")) or (item_type == "comcastbiznet" and string.match(url["url"], "^https?://[^%.]+%.comcastbiz%.com")) then return wget.actions.EXIT else return wget.actions.EXIT end else return wget.actions.CONTINUE end end tries = 0 local sleep_time = 0 if sleep_time > 0.001 then os.execute("sleep " .. sleep_time) end return wget.actions.NOTHING end
unlicense
rrpgfirecast/firecast
Plugins/Sheets/Ficha RPG meister/output/rdkObjs/FichaRPGmeister/02.Ataques.Select.lfm.lua
1
3442
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmFichaRPGmeister2AS_svg() local obj = GUI.fromHandle(_obj_newObject("form")); local self = obj; local sheet = nil; rawset(obj, "_oldSetNodeObjectFunction", rawget(obj, "setNodeObject")); function obj:setNodeObject(nodeObject) sheet = nodeObject; self.sheet = nodeObject; self:_oldSetNodeObjectFunction(nodeObject); end; function obj:setNodeDatabase(nodeObject) self:setNodeObject(nodeObject); end; _gui_assignInitialParentForForm(obj.handle); obj:beginUpdate(); obj:setName("frmFichaRPGmeister2AS_svg"); obj:setWidth(180); obj:setHeight(30); obj.button1 = GUI.fromHandle(_obj_newObject("button")); obj.button1:setParent(obj); obj.button1:setWidth(30); obj.button1:setHeight(30); obj.button1:setText("X"); obj.button1:setName("button1"); obj.label1 = GUI.fromHandle(_obj_newObject("label")); obj.label1:setParent(obj); obj.label1:setLeft(35); obj.label1:setTop(5); obj.label1:setWidth(145); obj.label1:setHeight(20); obj.label1:setText("Teste de label"); obj.label1:setField("nomeAtaque"); obj.label1:setName("label1"); obj.dataLink1 = GUI.fromHandle(_obj_newObject("dataLink")); obj.dataLink1:setParent(obj); obj.dataLink1:setField("nomeAtaque"); obj.dataLink1:setDefaultValue("Nome Ataque"); obj.dataLink1:setName("dataLink1"); obj._e_event0 = obj.button1:addEventListener("onClick", function (_) Dialogs.confirmOkCancel("Tem certeza que quer apagar esse ataque?", function (confirmado) if confirmado then NDB.deleteNode(sheet); end; end); end, obj); function obj:_releaseEvents() __o_rrpgObjs.removeEventListenerById(self._e_event0); end; obj._oldLFMDestroy = obj.destroy; function obj:destroy() self:_releaseEvents(); if (self.handle ~= 0) and (self.setNodeDatabase ~= nil) then self:setNodeDatabase(nil); end; if self.dataLink1 ~= nil then self.dataLink1:destroy(); self.dataLink1 = nil; end; if self.button1 ~= nil then self.button1:destroy(); self.button1 = nil; end; if self.label1 ~= nil then self.label1:destroy(); self.label1 = nil; end; self:_oldLFMDestroy(); end; obj:endUpdate(); return obj; end; function newfrmFichaRPGmeister2AS_svg() local retObj = nil; __o_rrpgObjs.beginObjectsLoading(); __o_Utils.tryFinally( function() retObj = constructNew_frmFichaRPGmeister2AS_svg(); end, function() __o_rrpgObjs.endObjectsLoading(); end); assert(retObj ~= nil); return retObj; end; local _frmFichaRPGmeister2AS_svg = { newEditor = newfrmFichaRPGmeister2AS_svg, new = newfrmFichaRPGmeister2AS_svg, name = "frmFichaRPGmeister2AS_svg", dataType = "", formType = "undefined", formComponentName = "form", title = "", description=""}; frmFichaRPGmeister2AS_svg = _frmFichaRPGmeister2AS_svg; Firecast.registrarForm(_frmFichaRPGmeister2AS_svg); return _frmFichaRPGmeister2AS_svg;
apache-2.0
rrpgfirecast/firecast
Plugins/Sheets/Shadow of the Demon Lord/output/rdkObjs/SODLFillable/SODLFillable.lfm.lua
1
450228
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmSODLSheet() local obj = GUI.fromHandle(_obj_newObject("form")); local self = obj; local sheet = nil; rawset(obj, "_oldSetNodeObjectFunction", rawget(obj, "setNodeObject")); function obj:setNodeObject(nodeObject) sheet = nodeObject; self.sheet = nodeObject; self:_oldSetNodeObjectFunction(nodeObject); end; function obj:setNodeDatabase(nodeObject) self:setNodeObject(nodeObject); end; _gui_assignInitialParentForForm(obj.handle); obj:beginUpdate(); obj:setName("frmSODLSheet"); obj:setFormType("sheetTemplate"); obj:setDataType("Valk_Data"); obj:setTitle("SODLSheet"); obj:setAlign("client"); obj:setTheme("light"); obj.tabControl1 = GUI.fromHandle(_obj_newObject("tabControl")); obj.tabControl1:setParent(obj); obj.tabControl1:setAlign("client"); obj.tabControl1:setName("tabControl1"); obj.tab1 = GUI.fromHandle(_obj_newObject("tab")); obj.tab1:setParent(obj.tabControl1); obj.tab1:setTitle("Página 1"); obj.tab1:setName("tab1"); obj.frmSODLFillable1_svg = GUI.fromHandle(_obj_newObject("form")); obj.frmSODLFillable1_svg:setParent(obj.tab1); obj.frmSODLFillable1_svg:setName("frmSODLFillable1_svg"); obj.frmSODLFillable1_svg:setAlign("client"); obj.frmSODLFillable1_svg:setTheme("light"); obj.frmSODLFillable1_svg:setMargins({top=1}); obj.scrollBox1 = GUI.fromHandle(_obj_newObject("scrollBox")); obj.scrollBox1:setParent(obj.frmSODLFillable1_svg); obj.scrollBox1:setAlign("client"); obj.scrollBox1:setName("scrollBox1"); obj.rectangle1 = GUI.fromHandle(_obj_newObject("rectangle")); obj.rectangle1:setParent(obj.scrollBox1); obj.rectangle1:setWidth(918); obj.rectangle1:setHeight(1188); obj.rectangle1:setColor("white"); obj.rectangle1:setName("rectangle1"); obj.image1 = GUI.fromHandle(_obj_newObject("image")); obj.image1:setParent(obj.rectangle1); obj.image1:setLeft(0); obj.image1:setTop(0); obj.image1:setWidth(918); obj.image1:setHeight(1188); obj.image1:setSRC("/SODLFillable/images/1.png"); obj.image1:setStyle("stretch"); obj.image1:setOptimize(true); obj.image1:setName("image1"); obj.layout1 = GUI.fromHandle(_obj_newObject("layout")); obj.layout1:setParent(obj.rectangle1); obj.layout1:setLeft(26); obj.layout1:setTop(59); obj.layout1:setWidth(283); obj.layout1:setHeight(35); obj.layout1:setName("layout1"); obj.edit1 = GUI.fromHandle(_obj_newObject("edit")); obj.edit1:setParent(obj.layout1); obj.edit1:setLeft(0); obj.edit1:setTop(0); obj.edit1:setWidth(283); obj.edit1:setHeight(35); obj.edit1:setFontSize(24); obj.edit1:setFontColor("#000000"); obj.edit1:setField("Name"); obj.edit1:setTransparent(true); obj.edit1:setName("edit1"); obj.layout2 = GUI.fromHandle(_obj_newObject("layout")); obj.layout2:setParent(obj.rectangle1); obj.layout2:setLeft(318); obj.layout2:setTop(59); obj.layout2:setWidth(261); obj.layout2:setHeight(35); obj.layout2:setName("layout2"); obj.edit2 = GUI.fromHandle(_obj_newObject("edit")); obj.edit2:setParent(obj.layout2); obj.edit2:setLeft(0); obj.edit2:setTop(0); obj.edit2:setWidth(261); obj.edit2:setHeight(35); obj.edit2:setFontSize(14.2); obj.edit2:setHorzTextAlign("center"); obj.edit2:setVertTextAlign("center"); obj.edit2:setFontColor("#000000"); obj.edit2:setField("Ancestry"); obj.edit2:setTransparent(true); obj.edit2:setName("edit2"); obj.layout3 = GUI.fromHandle(_obj_newObject("layout")); obj.layout3:setParent(obj.rectangle1); obj.layout3:setLeft(322); obj.layout3:setTop(419); obj.layout3:setWidth(47); obj.layout3:setHeight(44); obj.layout3:setName("layout3"); obj.edit3 = GUI.fromHandle(_obj_newObject("edit")); obj.edit3:setParent(obj.layout3); obj.edit3:setTransparent(true); obj.edit3:setFontSize(32); obj.edit3:setFontColor("#a83232"); lfm_setPropAsString(obj.edit3, "fontStyle", "bold"); obj.edit3:setHorzTextAlign("center"); obj.edit3:setVertTextAlign("center"); obj.edit3:setLeft(0); obj.edit3:setTop(0); obj.edit3:setWidth(47); obj.edit3:setHeight(45); obj.edit3:setField("Strength"); obj.edit3:setName("edit3"); obj.layout4 = GUI.fromHandle(_obj_newObject("layout")); obj.layout4:setParent(obj.rectangle1); obj.layout4:setLeft(366); obj.layout4:setTop(469); obj.layout4:setWidth(27); obj.layout4:setHeight(28); obj.layout4:setName("layout4"); obj.label1 = GUI.fromHandle(_obj_newObject("label")); obj.label1:setParent(obj.layout4); obj.label1:setFontSize(18); obj.label1:setFontColor("#a83232"); obj.label1:setHorzTextAlign("center"); obj.label1:setVertTextAlign("center"); obj.label1:setLeft(0); obj.label1:setTop(0); obj.label1:setWidth(27); obj.label1:setHeight(29); obj.label1:setField("Strength_Modifier"); obj.label1:setName("label1"); obj.label1:setTextTrimming("none"); obj.label1:setWordWrap(false); obj.label1:setAutoSize(true); obj.layout5 = GUI.fromHandle(_obj_newObject("layout")); obj.layout5:setParent(obj.rectangle1); obj.layout5:setLeft(435); obj.layout5:setTop(769); obj.layout5:setWidth(47); obj.layout5:setHeight(44); obj.layout5:setName("layout5"); obj.edit4 = GUI.fromHandle(_obj_newObject("edit")); obj.edit4:setParent(obj.layout5); obj.edit4:setTransparent(true); obj.edit4:setFontSize(32); obj.edit4:setFontColor("#a83232"); lfm_setPropAsString(obj.edit4, "fontStyle", "bold"); obj.edit4:setHorzTextAlign("center"); obj.edit4:setVertTextAlign("center"); obj.edit4:setLeft(0); obj.edit4:setTop(0); obj.edit4:setWidth(47); obj.edit4:setHeight(45); obj.edit4:setField("Health"); obj.edit4:setName("edit4"); obj.layout6 = GUI.fromHandle(_obj_newObject("layout")); obj.layout6:setParent(obj.rectangle1); obj.layout6:setLeft(439); obj.layout6:setTop(703); obj.layout6:setWidth(35); obj.layout6:setHeight(32); obj.layout6:setName("layout6"); obj.edit5 = GUI.fromHandle(_obj_newObject("edit")); obj.edit5:setParent(obj.layout6); obj.edit5:setTransparent(true); obj.edit5:setFontSize(18); obj.edit5:setFontColor("#a83232"); obj.edit5:setHorzTextAlign("center"); obj.edit5:setVertTextAlign("center"); obj.edit5:setLeft(0); obj.edit5:setTop(0); obj.edit5:setWidth(35); obj.edit5:setHeight(33); obj.edit5:setField("Healing_Rate"); obj.edit5:setName("edit5"); obj.layout7 = GUI.fromHandle(_obj_newObject("layout")); obj.layout7:setParent(obj.rectangle1); obj.layout7:setLeft(244); obj.layout7:setTop(607); obj.layout7:setWidth(47); obj.layout7:setHeight(44); obj.layout7:setName("layout7"); obj.edit6 = GUI.fromHandle(_obj_newObject("edit")); obj.edit6:setParent(obj.layout7); obj.edit6:setTransparent(true); obj.edit6:setFontSize(32); obj.edit6:setFontColor("#a83232"); lfm_setPropAsString(obj.edit6, "fontStyle", "bold"); obj.edit6:setHorzTextAlign("center"); obj.edit6:setVertTextAlign("center"); obj.edit6:setLeft(0); obj.edit6:setTop(0); obj.edit6:setWidth(47); obj.edit6:setHeight(45); obj.edit6:setField("Agility"); obj.edit6:setName("edit6"); obj.layout8 = GUI.fromHandle(_obj_newObject("layout")); obj.layout8:setParent(obj.rectangle1); obj.layout8:setLeft(309); obj.layout8:setTop(606); obj.layout8:setWidth(27); obj.layout8:setHeight(28); obj.layout8:setName("layout8"); obj.label2 = GUI.fromHandle(_obj_newObject("label")); obj.label2:setParent(obj.layout8); obj.label2:setFontSize(18); obj.label2:setFontColor("#a83232"); obj.label2:setHorzTextAlign("center"); obj.label2:setVertTextAlign("center"); obj.label2:setLeft(0); obj.label2:setTop(0); obj.label2:setWidth(27); obj.label2:setHeight(29); obj.label2:setField("Agility_Modifier"); obj.label2:setName("label2"); obj.label2:setTextTrimming("none"); obj.label2:setWordWrap(false); obj.label2:setAutoSize(true); obj.layout9 = GUI.fromHandle(_obj_newObject("layout")); obj.layout9:setParent(obj.rectangle1); obj.layout9:setLeft(286); obj.layout9:setTop(745); obj.layout9:setWidth(35); obj.layout9:setHeight(32); obj.layout9:setName("layout9"); obj.edit7 = GUI.fromHandle(_obj_newObject("edit")); obj.edit7:setParent(obj.layout9); obj.edit7:setTransparent(true); obj.edit7:setFontSize(18); obj.edit7:setFontColor("#000000"); obj.edit7:setHorzTextAlign("center"); obj.edit7:setVertTextAlign("center"); obj.edit7:setLeft(0); obj.edit7:setTop(0); obj.edit7:setWidth(35); obj.edit7:setHeight(33); obj.edit7:setField("Defense"); obj.edit7:setName("edit7"); obj.layout10 = GUI.fromHandle(_obj_newObject("layout")); obj.layout10:setParent(obj.rectangle1); obj.layout10:setLeft(546); obj.layout10:setTop(420); obj.layout10:setWidth(47); obj.layout10:setHeight(44); obj.layout10:setName("layout10"); obj.edit8 = GUI.fromHandle(_obj_newObject("edit")); obj.edit8:setParent(obj.layout10); obj.edit8:setTransparent(true); obj.edit8:setFontSize(32); obj.edit8:setFontColor("#a83232"); lfm_setPropAsString(obj.edit8, "fontStyle", "bold"); obj.edit8:setHorzTextAlign("center"); obj.edit8:setVertTextAlign("center"); obj.edit8:setLeft(0); obj.edit8:setTop(0); obj.edit8:setWidth(47); obj.edit8:setHeight(45); obj.edit8:setField("Intellect"); obj.edit8:setName("edit8"); obj.layout11 = GUI.fromHandle(_obj_newObject("layout")); obj.layout11:setParent(obj.rectangle1); obj.layout11:setLeft(517); obj.layout11:setTop(466); obj.layout11:setWidth(27); obj.layout11:setHeight(28); obj.layout11:setName("layout11"); obj.label3 = GUI.fromHandle(_obj_newObject("label")); obj.label3:setParent(obj.layout11); obj.label3:setFontSize(18); obj.label3:setFontColor("#a83232"); obj.label3:setHorzTextAlign("center"); obj.label3:setVertTextAlign("center"); obj.label3:setLeft(0); obj.label3:setTop(0); obj.label3:setWidth(27); obj.label3:setHeight(29); obj.label3:setField("Intellect_Modifier"); obj.label3:setName("label3"); obj.label3:setTextTrimming("none"); obj.label3:setWordWrap(false); obj.label3:setAutoSize(true); obj.layout12 = GUI.fromHandle(_obj_newObject("layout")); obj.layout12:setParent(obj.rectangle1); obj.layout12:setLeft(621); obj.layout12:setTop(408); obj.layout12:setWidth(35); obj.layout12:setHeight(32); obj.layout12:setName("layout12"); obj.edit9 = GUI.fromHandle(_obj_newObject("edit")); obj.edit9:setParent(obj.layout12); obj.edit9:setTransparent(true); obj.edit9:setFontSize(18); obj.edit9:setFontColor("#000000"); obj.edit9:setHorzTextAlign("center"); obj.edit9:setVertTextAlign("center"); obj.edit9:setLeft(0); obj.edit9:setTop(0); obj.edit9:setWidth(35); obj.edit9:setHeight(33); obj.edit9:setField("Perception"); obj.edit9:setName("edit9"); obj.layout13 = GUI.fromHandle(_obj_newObject("layout")); obj.layout13:setParent(obj.rectangle1); obj.layout13:setLeft(606); obj.layout13:setTop(447); obj.layout13:setWidth(22); obj.layout13:setHeight(25); obj.layout13:setName("layout13"); obj.edit10 = GUI.fromHandle(_obj_newObject("edit")); obj.edit10:setParent(obj.layout13); obj.edit10:setFontSize(18); obj.edit10:setFontColor("#000000"); obj.edit10:setHorzTextAlign("center"); obj.edit10:setTransparent(true); obj.edit10:setVertTextAlign("center"); obj.edit10:setLeft(0); obj.edit10:setTop(0); obj.edit10:setWidth(22); obj.edit10:setHeight(26); obj.edit10:setField("Perception_Modifier"); obj.edit10:setName("edit10"); obj.layout14 = GUI.fromHandle(_obj_newObject("layout")); obj.layout14:setParent(obj.rectangle1); obj.layout14:setLeft(625); obj.layout14:setTop(605); obj.layout14:setWidth(47); obj.layout14:setHeight(44); obj.layout14:setName("layout14"); obj.edit11 = GUI.fromHandle(_obj_newObject("edit")); obj.edit11:setParent(obj.layout14); obj.edit11:setTransparent(true); obj.edit11:setFontSize(32); obj.edit11:setFontColor("#a83232"); lfm_setPropAsString(obj.edit11, "fontStyle", "bold"); obj.edit11:setHorzTextAlign("center"); obj.edit11:setVertTextAlign("center"); obj.edit11:setLeft(0); obj.edit11:setTop(0); obj.edit11:setWidth(47); obj.edit11:setHeight(45); obj.edit11:setField("Will"); obj.edit11:setName("edit11"); obj.layout15 = GUI.fromHandle(_obj_newObject("layout")); obj.layout15:setParent(obj.rectangle1); obj.layout15:setLeft(581); obj.layout15:setTop(607); obj.layout15:setWidth(27); obj.layout15:setHeight(28); obj.layout15:setName("layout15"); obj.edit12 = GUI.fromHandle(_obj_newObject("edit")); obj.edit12:setParent(obj.layout15); obj.edit12:setTransparent(true); obj.edit12:setFontSize(18); obj.edit12:setFontColor("#a83232"); obj.edit12:setHorzTextAlign("center"); obj.edit12:setVertTextAlign("center"); obj.edit12:setLeft(0); obj.edit12:setTop(0); obj.edit12:setWidth(27); obj.edit12:setHeight(29); obj.edit12:setField("Will_Modifier"); obj.edit12:setName("edit12"); obj.layout16 = GUI.fromHandle(_obj_newObject("layout")); obj.layout16:setParent(obj.rectangle1); obj.layout16:setLeft(255); obj.layout16:setTop(470); obj.layout16:setWidth(35); obj.layout16:setHeight(32); obj.layout16:setName("layout16"); obj.edit13 = GUI.fromHandle(_obj_newObject("edit")); obj.edit13:setParent(obj.layout16); obj.edit13:setTransparent(true); obj.edit13:setFontSize(18); obj.edit13:setFontColor("#000000"); obj.edit13:setHorzTextAlign("center"); obj.edit13:setVertTextAlign("center"); obj.edit13:setLeft(0); obj.edit13:setTop(0); obj.edit13:setWidth(35); obj.edit13:setHeight(33); obj.edit13:setField("Size"); obj.edit13:setName("edit13"); obj.layout17 = GUI.fromHandle(_obj_newObject("layout")); obj.layout17:setParent(obj.rectangle1); obj.layout17:setLeft(216); obj.layout17:setTop(520); obj.layout17:setWidth(35); obj.layout17:setHeight(32); obj.layout17:setName("layout17"); obj.edit14 = GUI.fromHandle(_obj_newObject("edit")); obj.edit14:setParent(obj.layout17); obj.edit14:setTransparent(true); obj.edit14:setFontSize(18); obj.edit14:setFontColor("#000000"); obj.edit14:setHorzTextAlign("center"); obj.edit14:setVertTextAlign("center"); obj.edit14:setLeft(0); obj.edit14:setTop(0); obj.edit14:setWidth(35); obj.edit14:setHeight(33); obj.edit14:setField("Speed"); obj.edit14:setName("edit14"); obj.layout18 = GUI.fromHandle(_obj_newObject("layout")); obj.layout18:setParent(obj.rectangle1); obj.layout18:setLeft(26); obj.layout18:setTop(125); obj.layout18:setWidth(283); obj.layout18:setHeight(187); obj.layout18:setName("layout18"); obj.textEditor1 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor1:setParent(obj.layout18); obj.textEditor1:setLeft(0); obj.textEditor1:setTop(0); obj.textEditor1:setWidth(283); obj.textEditor1:setHeight(187); obj.textEditor1:setFontSize(14.2); obj.textEditor1:setFontColor("#000000"); obj.textEditor1:setField("Description"); obj.textEditor1:setTransparent(true); obj.textEditor1:setName("textEditor1"); obj.layout19 = GUI.fromHandle(_obj_newObject("layout")); obj.layout19:setParent(obj.rectangle1); obj.layout19:setLeft(601); obj.layout19:setTop(47); obj.layout19:setWidth(298); obj.layout19:setHeight(255); obj.layout19:setName("layout19"); obj.textEditor2 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor2:setParent(obj.layout19); obj.textEditor2:setLeft(0); obj.textEditor2:setTop(0); obj.textEditor2:setWidth(298); obj.textEditor2:setHeight(255); obj.textEditor2:setFontSize(14.2); obj.textEditor2:setFontColor("#000000"); obj.textEditor2:setField("Professions"); obj.textEditor2:setTransparent(true); obj.textEditor2:setName("textEditor2"); obj.layout20 = GUI.fromHandle(_obj_newObject("layout")); obj.layout20:setParent(obj.rectangle1); obj.layout20:setLeft(542); obj.layout20:setTop(36); obj.layout20:setWidth(35); obj.layout20:setHeight(32); obj.layout20:setName("layout20"); obj.edit15 = GUI.fromHandle(_obj_newObject("edit")); obj.edit15:setParent(obj.layout20); obj.edit15:setTransparent(true); obj.edit15:setFontSize(14.2); obj.edit15:setFontColor("#000000"); obj.edit15:setHorzTextAlign("center"); obj.edit15:setVertTextAlign("center"); obj.edit15:setLeft(0); obj.edit15:setTop(0); obj.edit15:setWidth(35); obj.edit15:setHeight(33); obj.edit15:setField("Level"); obj.edit15:setName("edit15"); obj.layout21 = GUI.fromHandle(_obj_newObject("layout")); obj.layout21:setParent(obj.rectangle1); obj.layout21:setLeft(25); obj.layout21:setTop(349); obj.layout21:setWidth(180); obj.layout21:setHeight(586); obj.layout21:setName("layout21"); obj.textEditor3 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor3:setParent(obj.layout21); obj.textEditor3:setLeft(0); obj.textEditor3:setTop(0); obj.textEditor3:setWidth(180); obj.textEditor3:setHeight(586); obj.textEditor3:setFontSize(14.2); obj.textEditor3:setFontColor("#000000"); obj.textEditor3:setField("Talents"); obj.textEditor3:setTransparent(true); obj.textEditor3:setName("textEditor3"); obj.layout22 = GUI.fromHandle(_obj_newObject("layout")); obj.layout22:setParent(obj.rectangle1); obj.layout22:setLeft(18); obj.layout22:setTop(976); obj.layout22:setWidth(380); obj.layout22:setHeight(192); obj.layout22:setName("layout22"); obj.edit16 = GUI.fromHandle(_obj_newObject("edit")); obj.edit16:setParent(obj.layout22); obj.edit16:setLeft(0); obj.edit16:setTop(0); obj.edit16:setWidth(100); obj.edit16:setHeight(31); obj.edit16:setFontSize(14); obj.edit16:setFontColor("#000000"); obj.edit16:setField("Weapon_1"); obj.edit16:setTransparent(false); obj.edit16:setHint("Nome"); obj.edit16:setName("edit16"); obj.edit17 = GUI.fromHandle(_obj_newObject("edit")); obj.edit17:setParent(obj.layout22); obj.edit17:setLeft(0); obj.edit17:setTop(32); obj.edit17:setWidth(100); obj.edit17:setHeight(31); obj.edit17:setFontSize(14); obj.edit17:setFontColor("#000000"); obj.edit17:setField("Weapon_2"); obj.edit17:setTransparent(false); obj.edit17:setHint("Nome"); obj.edit17:setName("edit17"); obj.edit18 = GUI.fromHandle(_obj_newObject("edit")); obj.edit18:setParent(obj.layout22); obj.edit18:setLeft(0); obj.edit18:setTop(64); obj.edit18:setWidth(100); obj.edit18:setHeight(31); obj.edit18:setFontSize(14); obj.edit18:setFontColor("#000000"); obj.edit18:setField("Weapon_3"); obj.edit18:setTransparent(false); obj.edit18:setHint("Nome"); obj.edit18:setName("edit18"); obj.edit19 = GUI.fromHandle(_obj_newObject("edit")); obj.edit19:setParent(obj.layout22); obj.edit19:setLeft(0); obj.edit19:setTop(96); obj.edit19:setWidth(100); obj.edit19:setHeight(31); obj.edit19:setFontSize(14); obj.edit19:setFontColor("#000000"); obj.edit19:setField("Weapon_4"); obj.edit19:setTransparent(false); obj.edit19:setHint("Nome"); obj.edit19:setName("edit19"); obj.edit20 = GUI.fromHandle(_obj_newObject("edit")); obj.edit20:setParent(obj.layout22); obj.edit20:setLeft(0); obj.edit20:setTop(128); obj.edit20:setWidth(100); obj.edit20:setHeight(31); obj.edit20:setFontSize(14); obj.edit20:setFontColor("#000000"); obj.edit20:setField("Weapon_5"); obj.edit20:setTransparent(false); obj.edit20:setHint("Nome"); obj.edit20:setName("edit20"); obj.edit21 = GUI.fromHandle(_obj_newObject("edit")); obj.edit21:setParent(obj.layout22); obj.edit21:setLeft(0); obj.edit21:setTop(160); obj.edit21:setWidth(100); obj.edit21:setHeight(31); obj.edit21:setFontSize(14); obj.edit21:setFontColor("#000000"); obj.edit21:setField("Weapon_6"); obj.edit21:setTransparent(false); obj.edit21:setHint("Nome"); obj.edit21:setName("edit21"); obj.comboBox1 = GUI.fromHandle(_obj_newObject("comboBox")); obj.comboBox1:setParent(obj.layout22); obj.comboBox1:setLeft(100); obj.comboBox1:setTop(0); obj.comboBox1:setWidth(90); obj.comboBox1:setFontSize(14); obj.comboBox1:setFontColor("#a83232"); obj.comboBox1:setTransparent(false); obj.comboBox1:setItems({'Strength','Agility'}); obj.comboBox1:setValues({'Strength','Agility'}); obj.comboBox1:setValue("{'Strength','Agility'}"); obj.comboBox1:setField("Attribute_1"); obj.comboBox1:setName("comboBox1"); obj.comboBox2 = GUI.fromHandle(_obj_newObject("comboBox")); obj.comboBox2:setParent(obj.layout22); obj.comboBox2:setLeft(100); obj.comboBox2:setTop(32); obj.comboBox2:setWidth(90); obj.comboBox2:setFontSize(14); obj.comboBox2:setFontColor("#a83232"); obj.comboBox2:setTransparent(false); obj.comboBox2:setItems({'Strength','Agility'}); obj.comboBox2:setValues({'Strength','Agility'}); obj.comboBox2:setValue("{'Strength','Agility'}"); obj.comboBox2:setField("Attribute_2"); obj.comboBox2:setName("comboBox2"); obj.comboBox3 = GUI.fromHandle(_obj_newObject("comboBox")); obj.comboBox3:setParent(obj.layout22); obj.comboBox3:setLeft(100); obj.comboBox3:setTop(64); obj.comboBox3:setWidth(90); obj.comboBox3:setFontSize(14); obj.comboBox3:setFontColor("#a83232"); obj.comboBox3:setTransparent(false); obj.comboBox3:setItems({'Strength','Agility'}); obj.comboBox3:setValues({'Strength','Agility'}); obj.comboBox3:setValue("{'Strength','Agility'}"); obj.comboBox3:setField("Attribute_3"); obj.comboBox3:setName("comboBox3"); obj.comboBox4 = GUI.fromHandle(_obj_newObject("comboBox")); obj.comboBox4:setParent(obj.layout22); obj.comboBox4:setLeft(100); obj.comboBox4:setTop(96); obj.comboBox4:setWidth(90); obj.comboBox4:setFontSize(14); obj.comboBox4:setFontColor("#a83232"); obj.comboBox4:setTransparent(false); obj.comboBox4:setItems({'Strength','Agility'}); obj.comboBox4:setValues({'Strength','Agility'}); obj.comboBox4:setValue("{'Strength','Agility'}"); obj.comboBox4:setField("Attribute_4"); obj.comboBox4:setName("comboBox4"); obj.comboBox5 = GUI.fromHandle(_obj_newObject("comboBox")); obj.comboBox5:setParent(obj.layout22); obj.comboBox5:setLeft(100); obj.comboBox5:setTop(128); obj.comboBox5:setWidth(90); obj.comboBox5:setFontSize(14); obj.comboBox5:setFontColor("#a83232"); obj.comboBox5:setTransparent(false); obj.comboBox5:setItems({'Strength','Agility'}); obj.comboBox5:setValues({'Strength','Agility'}); obj.comboBox5:setValue("{'Strength','Agility'}"); obj.comboBox5:setField("Attribute_5"); obj.comboBox5:setName("comboBox5"); obj.comboBox6 = GUI.fromHandle(_obj_newObject("comboBox")); obj.comboBox6:setParent(obj.layout22); obj.comboBox6:setLeft(100); obj.comboBox6:setTop(160); obj.comboBox6:setWidth(90); obj.comboBox6:setFontSize(14); obj.comboBox6:setFontColor("#a83232"); obj.comboBox6:setTransparent(false); obj.comboBox6:setItems({'Strength','Agility'}); obj.comboBox6:setValues({'Strength','Agility'}); obj.comboBox6:setValue("{'Strength','Agility'}"); obj.comboBox6:setField("Attribute_6"); obj.comboBox6:setName("comboBox6"); obj.edit22 = GUI.fromHandle(_obj_newObject("edit")); obj.edit22:setParent(obj.layout22); obj.edit22:setLeft(190); obj.edit22:setTop(0); obj.edit22:setWidth(60); obj.edit22:setHeight(31); obj.edit22:setFontSize(14); obj.edit22:setFontColor("#000000"); obj.edit22:setField("Damageroll_1"); obj.edit22:setTransparent(false); obj.edit22:setHint("Dano"); obj.edit22:setName("edit22"); obj.edit23 = GUI.fromHandle(_obj_newObject("edit")); obj.edit23:setParent(obj.layout22); obj.edit23:setLeft(190); obj.edit23:setTop(32); obj.edit23:setWidth(60); obj.edit23:setHeight(31); obj.edit23:setFontSize(14); obj.edit23:setFontColor("#000000"); obj.edit23:setField("Damageroll_2"); obj.edit23:setTransparent(false); obj.edit23:setHint("Dano"); obj.edit23:setName("edit23"); obj.edit24 = GUI.fromHandle(_obj_newObject("edit")); obj.edit24:setParent(obj.layout22); obj.edit24:setLeft(190); obj.edit24:setTop(64); obj.edit24:setWidth(60); obj.edit24:setHeight(31); obj.edit24:setFontSize(14); obj.edit24:setFontColor("#000000"); obj.edit24:setField("Damageroll_3"); obj.edit24:setTransparent(false); obj.edit24:setHint("Dano"); obj.edit24:setName("edit24"); obj.edit25 = GUI.fromHandle(_obj_newObject("edit")); obj.edit25:setParent(obj.layout22); obj.edit25:setLeft(190); obj.edit25:setTop(96); obj.edit25:setWidth(60); obj.edit25:setHeight(31); obj.edit25:setFontSize(14); obj.edit25:setFontColor("#000000"); obj.edit25:setField("Damageroll_4"); obj.edit25:setTransparent(false); obj.edit25:setHint("Dano"); obj.edit25:setName("edit25"); obj.edit26 = GUI.fromHandle(_obj_newObject("edit")); obj.edit26:setParent(obj.layout22); obj.edit26:setLeft(190); obj.edit26:setTop(128); obj.edit26:setWidth(60); obj.edit26:setHeight(31); obj.edit26:setFontSize(14); obj.edit26:setFontColor("#000000"); obj.edit26:setField("Damageroll_5"); obj.edit26:setTransparent(false); obj.edit26:setHint("Dano"); obj.edit26:setName("edit26"); obj.edit27 = GUI.fromHandle(_obj_newObject("edit")); obj.edit27:setParent(obj.layout22); obj.edit27:setLeft(190); obj.edit27:setTop(160); obj.edit27:setWidth(60); obj.edit27:setHeight(31); obj.edit27:setFontSize(14); obj.edit27:setFontColor("#000000"); obj.edit27:setField("Damageroll_6"); obj.edit27:setTransparent(false); obj.edit27:setHint("Dano"); obj.edit27:setName("edit27"); obj.button1 = GUI.fromHandle(_obj_newObject("button")); obj.button1:setParent(obj.layout22); obj.button1:setLeft(290); obj.button1:setTop(0); obj.button1:setWidth(30); obj.button1:setHeight(30); obj.button1:setFontSize(10); obj.button1:setText("Atk"); obj.button1:setName("button1"); obj.button2 = GUI.fromHandle(_obj_newObject("button")); obj.button2:setParent(obj.layout22); obj.button2:setLeft(320); obj.button2:setTop(0); obj.button2:setWidth(30); obj.button2:setHeight(30); obj.button2:setFontSize(10); obj.button2:setText("Dmg"); obj.button2:setName("button2"); obj.button3 = GUI.fromHandle(_obj_newObject("button")); obj.button3:setParent(obj.layout22); obj.button3:setLeft(290); obj.button3:setTop(32); obj.button3:setWidth(30); obj.button3:setHeight(30); obj.button3:setFontSize(10); obj.button3:setText("Atk"); obj.button3:setName("button3"); obj.button4 = GUI.fromHandle(_obj_newObject("button")); obj.button4:setParent(obj.layout22); obj.button4:setLeft(320); obj.button4:setTop(32); obj.button4:setWidth(30); obj.button4:setHeight(30); obj.button4:setFontSize(10); obj.button4:setText("Dmg"); obj.button4:setName("button4"); obj.button5 = GUI.fromHandle(_obj_newObject("button")); obj.button5:setParent(obj.layout22); obj.button5:setLeft(290); obj.button5:setTop(64); obj.button5:setWidth(30); obj.button5:setHeight(30); obj.button5:setFontSize(10); obj.button5:setText("Atk"); obj.button5:setName("button5"); obj.button6 = GUI.fromHandle(_obj_newObject("button")); obj.button6:setParent(obj.layout22); obj.button6:setLeft(320); obj.button6:setTop(64); obj.button6:setWidth(30); obj.button6:setHeight(30); obj.button6:setFontSize(10); obj.button6:setText("Dmg"); obj.button6:setName("button6"); obj.button7 = GUI.fromHandle(_obj_newObject("button")); obj.button7:setParent(obj.layout22); obj.button7:setLeft(290); obj.button7:setTop(96); obj.button7:setWidth(30); obj.button7:setHeight(30); obj.button7:setFontSize(10); obj.button7:setText("Atk"); obj.button7:setName("button7"); obj.button8 = GUI.fromHandle(_obj_newObject("button")); obj.button8:setParent(obj.layout22); obj.button8:setLeft(320); obj.button8:setTop(96); obj.button8:setWidth(30); obj.button8:setHeight(30); obj.button8:setFontSize(10); obj.button8:setText("Dmg"); obj.button8:setName("button8"); obj.button9 = GUI.fromHandle(_obj_newObject("button")); obj.button9:setParent(obj.layout22); obj.button9:setLeft(290); obj.button9:setTop(128); obj.button9:setWidth(30); obj.button9:setHeight(30); obj.button9:setFontSize(10); obj.button9:setText("Atk"); obj.button9:setName("button9"); obj.button10 = GUI.fromHandle(_obj_newObject("button")); obj.button10:setParent(obj.layout22); obj.button10:setLeft(320); obj.button10:setTop(128); obj.button10:setWidth(30); obj.button10:setHeight(30); obj.button10:setFontSize(10); obj.button10:setText("Dmg"); obj.button10:setName("button10"); obj.button11 = GUI.fromHandle(_obj_newObject("button")); obj.button11:setParent(obj.layout22); obj.button11:setLeft(290); obj.button11:setTop(160); obj.button11:setWidth(30); obj.button11:setHeight(30); obj.button11:setFontSize(10); obj.button11:setText("Atk"); obj.button11:setName("button11"); obj.button12 = GUI.fromHandle(_obj_newObject("button")); obj.button12:setParent(obj.layout22); obj.button12:setLeft(320); obj.button12:setTop(160); obj.button12:setWidth(30); obj.button12:setHeight(30); obj.button12:setFontSize(10); obj.button12:setText("Dmg"); obj.button12:setName("button12"); obj.layout23 = GUI.fromHandle(_obj_newObject("layout")); obj.layout23:setParent(obj.rectangle1); obj.layout23:setLeft(380); obj.layout23:setTop(979); obj.layout23:setWidth(662); obj.layout23:setHeight(187); obj.layout23:setName("layout23"); obj.textEditor4 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor4:setParent(obj.layout23); obj.textEditor4:setLeft(0); obj.textEditor4:setTop(0); obj.textEditor4:setWidth(210); obj.textEditor4:setHeight(187); obj.textEditor4:setFontSize(14.2); obj.textEditor4:setFontColor("#000000"); obj.textEditor4:setField("Equipment_1"); obj.textEditor4:setTransparent(true); obj.textEditor4:setName("textEditor4"); obj.textEditor5 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor5:setParent(obj.layout23); obj.textEditor5:setLeft(210); obj.textEditor5:setTop(0); obj.textEditor5:setWidth(210); obj.textEditor5:setHeight(187); obj.textEditor5:setFontSize(14.2); obj.textEditor5:setFontColor("#000000"); obj.textEditor5:setField("Equipment_2"); obj.textEditor5:setTransparent(true); obj.textEditor5:setName("textEditor5"); obj.layout24 = GUI.fromHandle(_obj_newObject("layout")); obj.layout24:setParent(obj.rectangle1); obj.layout24:setLeft(318); obj.layout24:setTop(124); obj.layout24:setWidth(261); obj.layout24:setHeight(35); obj.layout24:setName("layout24"); obj.edit28 = GUI.fromHandle(_obj_newObject("edit")); obj.edit28:setParent(obj.layout24); obj.edit28:setLeft(0); obj.edit28:setTop(0); obj.edit28:setWidth(261); obj.edit28:setHeight(35); obj.edit28:setFontSize(14.2); obj.edit28:setHorzTextAlign("center"); obj.edit28:setVertTextAlign("center"); obj.edit28:setFontColor("#000000"); obj.edit28:setField("Novice"); obj.edit28:setTransparent(true); obj.edit28:setName("edit28"); obj.layout25 = GUI.fromHandle(_obj_newObject("layout")); obj.layout25:setParent(obj.rectangle1); obj.layout25:setLeft(318); obj.layout25:setTop(191); obj.layout25:setWidth(261); obj.layout25:setHeight(35); obj.layout25:setName("layout25"); obj.edit29 = GUI.fromHandle(_obj_newObject("edit")); obj.edit29:setParent(obj.layout25); obj.edit29:setLeft(0); obj.edit29:setTop(0); obj.edit29:setWidth(261); obj.edit29:setHeight(35); obj.edit29:setFontSize(14.2); obj.edit29:setHorzTextAlign("center"); obj.edit29:setVertTextAlign("center"); obj.edit29:setFontColor("#000000"); obj.edit29:setField("Expert"); obj.edit29:setTransparent(true); obj.edit29:setName("edit29"); obj.layout26 = GUI.fromHandle(_obj_newObject("layout")); obj.layout26:setParent(obj.rectangle1); obj.layout26:setLeft(318); obj.layout26:setTop(257); obj.layout26:setWidth(261); obj.layout26:setHeight(54); obj.layout26:setName("layout26"); obj.edit30 = GUI.fromHandle(_obj_newObject("edit")); obj.edit30:setParent(obj.layout26); obj.edit30:setLeft(0); obj.edit30:setTop(0); obj.edit30:setWidth(261); obj.edit30:setHeight(54); obj.edit30:setFontSize(14.2); obj.edit30:setHorzTextAlign("center"); obj.edit30:setVertTextAlign("center"); obj.edit30:setFontColor("#000000"); obj.edit30:setField("Master"); obj.edit30:setTransparent(true); obj.edit30:setName("edit30"); obj.layout27 = GUI.fromHandle(_obj_newObject("layout")); obj.layout27:setParent(obj.rectangle1); obj.layout27:setLeft(687); obj.layout27:setTop(352); obj.layout27:setWidth(211); obj.layout27:setHeight(583); obj.layout27:setName("layout27"); obj.textEditor6 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor6:setParent(obj.layout27); obj.textEditor6:setLeft(0); obj.textEditor6:setTop(0); obj.textEditor6:setWidth(211); obj.textEditor6:setHeight(583); obj.textEditor6:setFontSize(14.2); obj.textEditor6:setFontColor("#000000"); obj.textEditor6:setField("Magic"); obj.textEditor6:setTransparent(true); obj.textEditor6:setName("textEditor6"); obj.layout28 = GUI.fromHandle(_obj_newObject("layout")); obj.layout28:setParent(obj.rectangle1); obj.layout28:setLeft(618); obj.layout28:setTop(319); obj.layout28:setWidth(35); obj.layout28:setHeight(32); obj.layout28:setName("layout28"); obj.edit31 = GUI.fromHandle(_obj_newObject("edit")); obj.edit31:setParent(obj.layout28); obj.edit31:setTransparent(true); obj.edit31:setFontSize(18); obj.edit31:setFontColor("#000000"); obj.edit31:setHorzTextAlign("center"); obj.edit31:setVertTextAlign("center"); obj.edit31:setLeft(0); obj.edit31:setTop(0); obj.edit31:setWidth(35); obj.edit31:setHeight(33); obj.edit31:setField("Power"); obj.edit31:setName("edit31"); obj.layout29 = GUI.fromHandle(_obj_newObject("layout")); obj.layout29:setParent(obj.rectangle1); obj.layout29:setLeft(626); obj.layout29:setTop(539); obj.layout29:setWidth(35); obj.layout29:setHeight(32); obj.layout29:setName("layout29"); obj.edit32 = GUI.fromHandle(_obj_newObject("edit")); obj.edit32:setParent(obj.layout29); obj.edit32:setTransparent(true); obj.edit32:setFontSize(18); obj.edit32:setFontColor("#000000"); obj.edit32:setHorzTextAlign("center"); obj.edit32:setVertTextAlign("center"); obj.edit32:setLeft(0); obj.edit32:setTop(0); obj.edit32:setWidth(35); obj.edit32:setHeight(33); obj.edit32:setField("Insanity"); obj.edit32:setName("edit32"); obj.layout30 = GUI.fromHandle(_obj_newObject("layout")); obj.layout30:setParent(obj.rectangle1); obj.layout30:setLeft(594); obj.layout30:setTop(744); obj.layout30:setWidth(35); obj.layout30:setHeight(32); obj.layout30:setName("layout30"); obj.edit33 = GUI.fromHandle(_obj_newObject("edit")); obj.edit33:setParent(obj.layout30); obj.edit33:setTransparent(true); obj.edit33:setFontSize(18); obj.edit33:setFontColor("#000000"); obj.edit33:setHorzTextAlign("center"); obj.edit33:setVertTextAlign("center"); obj.edit33:setLeft(0); obj.edit33:setTop(0); obj.edit33:setWidth(35); obj.edit33:setHeight(33); obj.edit33:setField("Corruption"); obj.edit33:setName("edit33"); obj.layout31 = GUI.fromHandle(_obj_newObject("layout")); obj.layout31:setParent(obj.rectangle1); obj.layout31:setLeft(399); obj.layout31:setTop(532); obj.layout31:setWidth(110); obj.layout31:setHeight(86); obj.layout31:setName("layout31"); obj.edit34 = GUI.fromHandle(_obj_newObject("edit")); obj.edit34:setParent(obj.layout31); obj.edit34:setTransparent(true); obj.edit34:setFontSize(32); obj.edit34:setFontColor("#000000"); obj.edit34:setHorzTextAlign("center"); obj.edit34:setVertTextAlign("center"); obj.edit34:setLeft(0); obj.edit34:setTop(0); obj.edit34:setWidth(110); obj.edit34:setHeight(87); obj.edit34:setField("Damage"); obj.edit34:setName("edit34"); obj.layout32 = GUI.fromHandle(_obj_newObject("layout")); obj.layout32:setParent(obj.rectangle1); obj.layout32:setLeft(210); obj.layout32:setTop(838); obj.layout32:setWidth(472); obj.layout32:setHeight(96); obj.layout32:setName("layout32"); obj.textEditor7 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor7:setParent(obj.layout32); obj.textEditor7:setLeft(0); obj.textEditor7:setTop(0); obj.textEditor7:setWidth(472); obj.textEditor7:setHeight(96); obj.textEditor7:setFontSize(14.2); obj.textEditor7:setFontColor("#000000"); obj.textEditor7:setField("Notes"); obj.textEditor7:setTransparent(true); obj.textEditor7:setName("textEditor7"); obj.layout33 = GUI.fromHandle(_obj_newObject("layout")); obj.layout33:setParent(obj.rectangle1); obj.layout33:setLeft(400); obj.layout33:setTop(330); obj.layout33:setHeight(100); obj.layout33:setWidth(160); obj.layout33:setName("layout33"); obj.label4 = GUI.fromHandle(_obj_newObject("label")); obj.label4:setParent(obj.layout33); obj.label4:setLeft(0); obj.label4:setTop(0); obj.label4:setHeight(40); obj.label4:setWidth(80); obj.label4:setFontSize(16); lfm_setPropAsString(obj.label4, "fontStyle", "bold"); obj.label4:setFontColor("#a83232"); obj.label4:setText("Boons/Banes"); obj.label4:setName("label4"); obj.label4:setTextTrimming("none"); obj.label4:setWordWrap(false); obj.label4:setAutoSize(true); obj.comboBox7 = GUI.fromHandle(_obj_newObject("comboBox")); obj.comboBox7:setParent(obj.layout33); obj.comboBox7:setLeft(10); obj.comboBox7:setTop(30); obj.comboBox7:setWidth(60); obj.comboBox7:setFontSize(14); obj.comboBox7:setFontColor("#a83232"); obj.comboBox7:setTransparent(false); obj.comboBox7:setItems({'-5','-4','-3','-2','-1','0','+1','+2','+3','+4','+5'}); obj.comboBox7:setValue("{-5,-4,-3,-2,-1,0,+1,+2,+3,+4,+5}"); obj.comboBox7:setText("0"); obj.comboBox7:setField("BoonsBanes"); obj.comboBox7:setName("comboBox7"); obj.dataLink1 = GUI.fromHandle(_obj_newObject("dataLink")); obj.dataLink1:setParent(obj.rectangle1); obj.dataLink1:setField("Strength"); obj.dataLink1:setName("dataLink1"); obj.dataLink2 = GUI.fromHandle(_obj_newObject("dataLink")); obj.dataLink2:setParent(obj.rectangle1); obj.dataLink2:setField("Agility"); obj.dataLink2:setName("dataLink2"); obj.dataLink3 = GUI.fromHandle(_obj_newObject("dataLink")); obj.dataLink3:setParent(obj.rectangle1); obj.dataLink3:setField("Intellect"); obj.dataLink3:setName("dataLink3"); obj.dataLink4 = GUI.fromHandle(_obj_newObject("dataLink")); obj.dataLink4:setParent(obj.rectangle1); obj.dataLink4:setField("Will"); obj.dataLink4:setName("dataLink4"); obj.dataLink5 = GUI.fromHandle(_obj_newObject("dataLink")); obj.dataLink5:setParent(obj.rectangle1); obj.dataLink5:setField("Perception"); obj.dataLink5:setName("dataLink5"); obj.tab2 = GUI.fromHandle(_obj_newObject("tab")); obj.tab2:setParent(obj.tabControl1); obj.tab2:setTitle("Página 2"); obj.tab2:setName("tab2"); obj.frmSODLFillable2_svg = GUI.fromHandle(_obj_newObject("form")); obj.frmSODLFillable2_svg:setParent(obj.tab2); obj.frmSODLFillable2_svg:setName("frmSODLFillable2_svg"); obj.frmSODLFillable2_svg:setAlign("client"); obj.frmSODLFillable2_svg:setTheme("light"); obj.frmSODLFillable2_svg:setMargins({top=1}); obj.scrollBox2 = GUI.fromHandle(_obj_newObject("scrollBox")); obj.scrollBox2:setParent(obj.frmSODLFillable2_svg); obj.scrollBox2:setAlign("client"); obj.scrollBox2:setName("scrollBox2"); obj.rectangle2 = GUI.fromHandle(_obj_newObject("rectangle")); obj.rectangle2:setParent(obj.scrollBox2); obj.rectangle2:setWidth(893); obj.rectangle2:setHeight(1263); obj.rectangle2:setColor("white"); obj.rectangle2:setName("rectangle2"); obj.image2 = GUI.fromHandle(_obj_newObject("image")); obj.image2:setParent(obj.rectangle2); obj.image2:setLeft(0); obj.image2:setTop(0); obj.image2:setWidth(893); obj.image2:setHeight(1263); obj.image2:setSRC("/SODLFillable/images/2.png"); obj.image2:setStyle("stretch"); obj.image2:setOptimize(true); obj.image2:setName("image2"); obj.layout34 = GUI.fromHandle(_obj_newObject("layout")); obj.layout34:setParent(obj.rectangle2); obj.layout34:setLeft(0); obj.layout34:setTop(0); obj.layout34:setWidth(447); obj.layout34:setHeight(1263); obj.layout34:setName("layout34"); obj.edit35 = GUI.fromHandle(_obj_newObject("edit")); obj.edit35:setParent(obj.layout34); obj.edit35:setLeft(80); obj.edit35:setTop(36); obj.edit35:setWidth(160); obj.edit35:setHeight(30); obj.edit35:setFontSize(16); obj.edit35:setFontColor("#000000"); obj.edit35:setTransparent(true); obj.edit35:setField("magicName_0"); obj.edit35:setName("edit35"); obj.edit36 = GUI.fromHandle(_obj_newObject("edit")); obj.edit36:setParent(obj.layout34); obj.edit36:setLeft(302); obj.edit36:setTop(36); obj.edit36:setWidth(90); obj.edit36:setHeight(30); obj.edit36:setFontSize(16); obj.edit36:setFontColor("#000000"); obj.edit36:setTransparent(true); obj.edit36:setField("magicTrad_0"); obj.edit36:setName("edit36"); obj.edit37 = GUI.fromHandle(_obj_newObject("edit")); obj.edit37:setParent(obj.layout34); obj.edit37:setLeft(406); obj.edit37:setTop(66); obj.edit37:setWidth(90); obj.edit37:setHeight(30); obj.edit37:setFontSize(16); obj.edit37:setFontColor("#000000"); obj.edit37:setTransparent(true); obj.edit37:setField("magicLevel_0"); obj.edit37:setName("edit37"); obj.edit38 = GUI.fromHandle(_obj_newObject("edit")); obj.edit38:setParent(obj.layout34); obj.edit38:setLeft(370); obj.edit38:setTop(98); obj.edit38:setWidth(90); obj.edit38:setHeight(30); obj.edit38:setFontSize(16); obj.edit38:setFontColor("#000000"); obj.edit38:setTransparent(true); obj.edit38:setField("magicConj_0"); obj.edit38:setName("edit38"); obj.layout35 = GUI.fromHandle(_obj_newObject("layout")); obj.layout35:setParent(obj.layout34); obj.layout35:setLeft(73); obj.layout35:setTop(66); obj.layout35:setWidth(200); obj.layout35:setHeight(20); obj.layout35:setName("layout35"); obj.imageCheckBox1 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox1:setParent(obj.layout35); obj.imageCheckBox1:setLeft(0); obj.imageCheckBox1:setTop(0); obj.imageCheckBox1:setWidth(20); obj.imageCheckBox1:setHeight(20); obj.imageCheckBox1:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox1:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox1:setField("magicCheck_00"); obj.imageCheckBox1:setName("imageCheckBox1"); obj.imageCheckBox2 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox2:setParent(obj.layout35); obj.imageCheckBox2:setLeft(20); obj.imageCheckBox2:setTop(0); obj.imageCheckBox2:setWidth(20); obj.imageCheckBox2:setHeight(20); obj.imageCheckBox2:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox2:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox2:setField("magicCheck_01"); obj.imageCheckBox2:setName("imageCheckBox2"); obj.imageCheckBox3 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox3:setParent(obj.layout35); obj.imageCheckBox3:setLeft(40); obj.imageCheckBox3:setTop(0); obj.imageCheckBox3:setWidth(20); obj.imageCheckBox3:setHeight(20); obj.imageCheckBox3:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox3:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox3:setField("magicCheck_02"); obj.imageCheckBox3:setName("imageCheckBox3"); obj.imageCheckBox4 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox4:setParent(obj.layout35); obj.imageCheckBox4:setLeft(60); obj.imageCheckBox4:setTop(0); obj.imageCheckBox4:setWidth(20); obj.imageCheckBox4:setHeight(20); obj.imageCheckBox4:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox4:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox4:setField("magicCheck_03"); obj.imageCheckBox4:setName("imageCheckBox4"); obj.imageCheckBox5 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox5:setParent(obj.layout35); obj.imageCheckBox5:setLeft(80); obj.imageCheckBox5:setTop(0); obj.imageCheckBox5:setWidth(20); obj.imageCheckBox5:setHeight(20); obj.imageCheckBox5:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox5:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox5:setField("magicCheck_04"); obj.imageCheckBox5:setName("imageCheckBox5"); obj.imageCheckBox6 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox6:setParent(obj.layout35); obj.imageCheckBox6:setLeft(100); obj.imageCheckBox6:setTop(0); obj.imageCheckBox6:setWidth(20); obj.imageCheckBox6:setHeight(20); obj.imageCheckBox6:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox6:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox6:setField("magicCheck_05"); obj.imageCheckBox6:setName("imageCheckBox6"); obj.imageCheckBox7 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox7:setParent(obj.layout35); obj.imageCheckBox7:setLeft(120); obj.imageCheckBox7:setTop(0); obj.imageCheckBox7:setWidth(20); obj.imageCheckBox7:setHeight(20); obj.imageCheckBox7:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox7:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox7:setField("magicCheck_06"); obj.imageCheckBox7:setName("imageCheckBox7"); obj.imageCheckBox8 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox8:setParent(obj.layout35); obj.imageCheckBox8:setLeft(140); obj.imageCheckBox8:setTop(0); obj.imageCheckBox8:setWidth(20); obj.imageCheckBox8:setHeight(20); obj.imageCheckBox8:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox8:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox8:setField("magicCheck_07"); obj.imageCheckBox8:setName("imageCheckBox8"); obj.imageCheckBox9 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox9:setParent(obj.layout35); obj.imageCheckBox9:setLeft(160); obj.imageCheckBox9:setTop(0); obj.imageCheckBox9:setWidth(20); obj.imageCheckBox9:setHeight(20); obj.imageCheckBox9:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox9:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox9:setField("magicCheck_08"); obj.imageCheckBox9:setName("imageCheckBox9"); obj.imageCheckBox10 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox10:setParent(obj.layout35); obj.imageCheckBox10:setLeft(180); obj.imageCheckBox10:setTop(0); obj.imageCheckBox10:setWidth(20); obj.imageCheckBox10:setHeight(20); obj.imageCheckBox10:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox10:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox10:setField("magicCheck_09"); obj.imageCheckBox10:setName("imageCheckBox10"); obj.textEditor8 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor8:setParent(obj.layout34); obj.textEditor8:setLeft(36); obj.textEditor8:setTop(86); obj.textEditor8:setWidth(320); obj.textEditor8:setHeight(150); obj.textEditor8:setFontSize(14); obj.textEditor8:setFontColor("#000000"); obj.textEditor8:setTransparent(true); obj.textEditor8:setField("magicDesc_0"); obj.textEditor8:setName("textEditor8"); obj.edit39 = GUI.fromHandle(_obj_newObject("edit")); obj.edit39:setParent(obj.layout34); obj.edit39:setLeft(80); obj.edit39:setTop(242); obj.edit39:setWidth(160); obj.edit39:setHeight(30); obj.edit39:setFontSize(16); obj.edit39:setFontColor("#000000"); obj.edit39:setTransparent(true); obj.edit39:setField("magicName_1"); obj.edit39:setName("edit39"); obj.edit40 = GUI.fromHandle(_obj_newObject("edit")); obj.edit40:setParent(obj.layout34); obj.edit40:setLeft(302); obj.edit40:setTop(242); obj.edit40:setWidth(90); obj.edit40:setHeight(30); obj.edit40:setFontSize(16); obj.edit40:setFontColor("#000000"); obj.edit40:setTransparent(true); obj.edit40:setField("magicTrad_1"); obj.edit40:setName("edit40"); obj.edit41 = GUI.fromHandle(_obj_newObject("edit")); obj.edit41:setParent(obj.layout34); obj.edit41:setLeft(406); obj.edit41:setTop(272); obj.edit41:setWidth(90); obj.edit41:setHeight(30); obj.edit41:setFontSize(16); obj.edit41:setFontColor("#000000"); obj.edit41:setTransparent(true); obj.edit41:setField("magicLevel_1"); obj.edit41:setName("edit41"); obj.edit42 = GUI.fromHandle(_obj_newObject("edit")); obj.edit42:setParent(obj.layout34); obj.edit42:setLeft(370); obj.edit42:setTop(304); obj.edit42:setWidth(90); obj.edit42:setHeight(30); obj.edit42:setFontSize(16); obj.edit42:setFontColor("#000000"); obj.edit42:setTransparent(true); obj.edit42:setField("magicConj_1"); obj.edit42:setName("edit42"); obj.layout36 = GUI.fromHandle(_obj_newObject("layout")); obj.layout36:setParent(obj.layout34); obj.layout36:setLeft(73); obj.layout36:setTop(272); obj.layout36:setWidth(200); obj.layout36:setHeight(20); obj.layout36:setName("layout36"); obj.imageCheckBox11 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox11:setParent(obj.layout36); obj.imageCheckBox11:setLeft(0); obj.imageCheckBox11:setTop(0); obj.imageCheckBox11:setWidth(20); obj.imageCheckBox11:setHeight(20); obj.imageCheckBox11:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox11:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox11:setField("magicCheck_10"); obj.imageCheckBox11:setName("imageCheckBox11"); obj.imageCheckBox12 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox12:setParent(obj.layout36); obj.imageCheckBox12:setLeft(20); obj.imageCheckBox12:setTop(0); obj.imageCheckBox12:setWidth(20); obj.imageCheckBox12:setHeight(20); obj.imageCheckBox12:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox12:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox12:setField("magicCheck_11"); obj.imageCheckBox12:setName("imageCheckBox12"); obj.imageCheckBox13 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox13:setParent(obj.layout36); obj.imageCheckBox13:setLeft(40); obj.imageCheckBox13:setTop(0); obj.imageCheckBox13:setWidth(20); obj.imageCheckBox13:setHeight(20); obj.imageCheckBox13:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox13:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox13:setField("magicCheck_12"); obj.imageCheckBox13:setName("imageCheckBox13"); obj.imageCheckBox14 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox14:setParent(obj.layout36); obj.imageCheckBox14:setLeft(60); obj.imageCheckBox14:setTop(0); obj.imageCheckBox14:setWidth(20); obj.imageCheckBox14:setHeight(20); obj.imageCheckBox14:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox14:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox14:setField("magicCheck_13"); obj.imageCheckBox14:setName("imageCheckBox14"); obj.imageCheckBox15 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox15:setParent(obj.layout36); obj.imageCheckBox15:setLeft(80); obj.imageCheckBox15:setTop(0); obj.imageCheckBox15:setWidth(20); obj.imageCheckBox15:setHeight(20); obj.imageCheckBox15:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox15:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox15:setField("magicCheck_14"); obj.imageCheckBox15:setName("imageCheckBox15"); obj.imageCheckBox16 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox16:setParent(obj.layout36); obj.imageCheckBox16:setLeft(100); obj.imageCheckBox16:setTop(0); obj.imageCheckBox16:setWidth(20); obj.imageCheckBox16:setHeight(20); obj.imageCheckBox16:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox16:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox16:setField("magicCheck_15"); obj.imageCheckBox16:setName("imageCheckBox16"); obj.imageCheckBox17 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox17:setParent(obj.layout36); obj.imageCheckBox17:setLeft(120); obj.imageCheckBox17:setTop(0); obj.imageCheckBox17:setWidth(20); obj.imageCheckBox17:setHeight(20); obj.imageCheckBox17:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox17:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox17:setField("magicCheck_16"); obj.imageCheckBox17:setName("imageCheckBox17"); obj.imageCheckBox18 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox18:setParent(obj.layout36); obj.imageCheckBox18:setLeft(140); obj.imageCheckBox18:setTop(0); obj.imageCheckBox18:setWidth(20); obj.imageCheckBox18:setHeight(20); obj.imageCheckBox18:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox18:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox18:setField("magicCheck_17"); obj.imageCheckBox18:setName("imageCheckBox18"); obj.imageCheckBox19 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox19:setParent(obj.layout36); obj.imageCheckBox19:setLeft(160); obj.imageCheckBox19:setTop(0); obj.imageCheckBox19:setWidth(20); obj.imageCheckBox19:setHeight(20); obj.imageCheckBox19:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox19:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox19:setField("magicCheck_18"); obj.imageCheckBox19:setName("imageCheckBox19"); obj.imageCheckBox20 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox20:setParent(obj.layout36); obj.imageCheckBox20:setLeft(180); obj.imageCheckBox20:setTop(0); obj.imageCheckBox20:setWidth(20); obj.imageCheckBox20:setHeight(20); obj.imageCheckBox20:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox20:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox20:setField("magicCheck_19"); obj.imageCheckBox20:setName("imageCheckBox20"); obj.textEditor9 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor9:setParent(obj.layout34); obj.textEditor9:setLeft(36); obj.textEditor9:setTop(292); obj.textEditor9:setWidth(320); obj.textEditor9:setHeight(150); obj.textEditor9:setFontSize(14); obj.textEditor9:setFontColor("#000000"); obj.textEditor9:setTransparent(true); obj.textEditor9:setField("magicDesc_1"); obj.textEditor9:setName("textEditor9"); obj.edit43 = GUI.fromHandle(_obj_newObject("edit")); obj.edit43:setParent(obj.layout34); obj.edit43:setLeft(80); obj.edit43:setTop(448); obj.edit43:setWidth(160); obj.edit43:setHeight(30); obj.edit43:setFontSize(16); obj.edit43:setFontColor("#000000"); obj.edit43:setTransparent(true); obj.edit43:setField("magicName_2"); obj.edit43:setName("edit43"); obj.edit44 = GUI.fromHandle(_obj_newObject("edit")); obj.edit44:setParent(obj.layout34); obj.edit44:setLeft(302); obj.edit44:setTop(448); obj.edit44:setWidth(90); obj.edit44:setHeight(30); obj.edit44:setFontSize(16); obj.edit44:setFontColor("#000000"); obj.edit44:setTransparent(true); obj.edit44:setField("magicTrad_2"); obj.edit44:setName("edit44"); obj.edit45 = GUI.fromHandle(_obj_newObject("edit")); obj.edit45:setParent(obj.layout34); obj.edit45:setLeft(406); obj.edit45:setTop(478); obj.edit45:setWidth(90); obj.edit45:setHeight(30); obj.edit45:setFontSize(16); obj.edit45:setFontColor("#000000"); obj.edit45:setTransparent(true); obj.edit45:setField("magicLevel_2"); obj.edit45:setName("edit45"); obj.edit46 = GUI.fromHandle(_obj_newObject("edit")); obj.edit46:setParent(obj.layout34); obj.edit46:setLeft(370); obj.edit46:setTop(510); obj.edit46:setWidth(90); obj.edit46:setHeight(30); obj.edit46:setFontSize(16); obj.edit46:setFontColor("#000000"); obj.edit46:setTransparent(true); obj.edit46:setField("magicConj_2"); obj.edit46:setName("edit46"); obj.layout37 = GUI.fromHandle(_obj_newObject("layout")); obj.layout37:setParent(obj.layout34); obj.layout37:setLeft(73); obj.layout37:setTop(478); obj.layout37:setWidth(200); obj.layout37:setHeight(20); obj.layout37:setName("layout37"); obj.imageCheckBox21 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox21:setParent(obj.layout37); obj.imageCheckBox21:setLeft(0); obj.imageCheckBox21:setTop(0); obj.imageCheckBox21:setWidth(20); obj.imageCheckBox21:setHeight(20); obj.imageCheckBox21:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox21:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox21:setField("magicCheck_20"); obj.imageCheckBox21:setName("imageCheckBox21"); obj.imageCheckBox22 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox22:setParent(obj.layout37); obj.imageCheckBox22:setLeft(20); obj.imageCheckBox22:setTop(0); obj.imageCheckBox22:setWidth(20); obj.imageCheckBox22:setHeight(20); obj.imageCheckBox22:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox22:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox22:setField("magicCheck_21"); obj.imageCheckBox22:setName("imageCheckBox22"); obj.imageCheckBox23 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox23:setParent(obj.layout37); obj.imageCheckBox23:setLeft(40); obj.imageCheckBox23:setTop(0); obj.imageCheckBox23:setWidth(20); obj.imageCheckBox23:setHeight(20); obj.imageCheckBox23:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox23:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox23:setField("magicCheck_22"); obj.imageCheckBox23:setName("imageCheckBox23"); obj.imageCheckBox24 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox24:setParent(obj.layout37); obj.imageCheckBox24:setLeft(60); obj.imageCheckBox24:setTop(0); obj.imageCheckBox24:setWidth(20); obj.imageCheckBox24:setHeight(20); obj.imageCheckBox24:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox24:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox24:setField("magicCheck_23"); obj.imageCheckBox24:setName("imageCheckBox24"); obj.imageCheckBox25 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox25:setParent(obj.layout37); obj.imageCheckBox25:setLeft(80); obj.imageCheckBox25:setTop(0); obj.imageCheckBox25:setWidth(20); obj.imageCheckBox25:setHeight(20); obj.imageCheckBox25:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox25:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox25:setField("magicCheck_24"); obj.imageCheckBox25:setName("imageCheckBox25"); obj.imageCheckBox26 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox26:setParent(obj.layout37); obj.imageCheckBox26:setLeft(100); obj.imageCheckBox26:setTop(0); obj.imageCheckBox26:setWidth(20); obj.imageCheckBox26:setHeight(20); obj.imageCheckBox26:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox26:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox26:setField("magicCheck_25"); obj.imageCheckBox26:setName("imageCheckBox26"); obj.imageCheckBox27 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox27:setParent(obj.layout37); obj.imageCheckBox27:setLeft(120); obj.imageCheckBox27:setTop(0); obj.imageCheckBox27:setWidth(20); obj.imageCheckBox27:setHeight(20); obj.imageCheckBox27:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox27:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox27:setField("magicCheck_26"); obj.imageCheckBox27:setName("imageCheckBox27"); obj.imageCheckBox28 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox28:setParent(obj.layout37); obj.imageCheckBox28:setLeft(140); obj.imageCheckBox28:setTop(0); obj.imageCheckBox28:setWidth(20); obj.imageCheckBox28:setHeight(20); obj.imageCheckBox28:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox28:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox28:setField("magicCheck_27"); obj.imageCheckBox28:setName("imageCheckBox28"); obj.imageCheckBox29 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox29:setParent(obj.layout37); obj.imageCheckBox29:setLeft(160); obj.imageCheckBox29:setTop(0); obj.imageCheckBox29:setWidth(20); obj.imageCheckBox29:setHeight(20); obj.imageCheckBox29:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox29:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox29:setField("magicCheck_28"); obj.imageCheckBox29:setName("imageCheckBox29"); obj.imageCheckBox30 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox30:setParent(obj.layout37); obj.imageCheckBox30:setLeft(180); obj.imageCheckBox30:setTop(0); obj.imageCheckBox30:setWidth(20); obj.imageCheckBox30:setHeight(20); obj.imageCheckBox30:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox30:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox30:setField("magicCheck_29"); obj.imageCheckBox30:setName("imageCheckBox30"); obj.textEditor10 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor10:setParent(obj.layout34); obj.textEditor10:setLeft(36); obj.textEditor10:setTop(498); obj.textEditor10:setWidth(320); obj.textEditor10:setHeight(150); obj.textEditor10:setFontSize(14); obj.textEditor10:setFontColor("#000000"); obj.textEditor10:setTransparent(true); obj.textEditor10:setField("magicDesc_2"); obj.textEditor10:setName("textEditor10"); obj.edit47 = GUI.fromHandle(_obj_newObject("edit")); obj.edit47:setParent(obj.layout34); obj.edit47:setLeft(80); obj.edit47:setTop(670); obj.edit47:setWidth(160); obj.edit47:setHeight(30); obj.edit47:setFontSize(16); obj.edit47:setFontColor("#000000"); obj.edit47:setTransparent(true); obj.edit47:setField("magicName_4"); obj.edit47:setName("edit47"); obj.edit48 = GUI.fromHandle(_obj_newObject("edit")); obj.edit48:setParent(obj.layout34); obj.edit48:setLeft(302); obj.edit48:setTop(670); obj.edit48:setWidth(90); obj.edit48:setHeight(30); obj.edit48:setFontSize(16); obj.edit48:setFontColor("#000000"); obj.edit48:setTransparent(true); obj.edit48:setField("magicTrad_4"); obj.edit48:setName("edit48"); obj.edit49 = GUI.fromHandle(_obj_newObject("edit")); obj.edit49:setParent(obj.layout34); obj.edit49:setLeft(406); obj.edit49:setTop(700); obj.edit49:setWidth(90); obj.edit49:setHeight(30); obj.edit49:setFontSize(16); obj.edit49:setFontColor("#000000"); obj.edit49:setTransparent(true); obj.edit49:setField("magicLevel_4"); obj.edit49:setName("edit49"); obj.edit50 = GUI.fromHandle(_obj_newObject("edit")); obj.edit50:setParent(obj.layout34); obj.edit50:setLeft(370); obj.edit50:setTop(732); obj.edit50:setWidth(90); obj.edit50:setHeight(30); obj.edit50:setFontSize(16); obj.edit50:setFontColor("#000000"); obj.edit50:setTransparent(true); obj.edit50:setField("magicConj_4"); obj.edit50:setName("edit50"); obj.layout38 = GUI.fromHandle(_obj_newObject("layout")); obj.layout38:setParent(obj.layout34); obj.layout38:setLeft(73); obj.layout38:setTop(700); obj.layout38:setWidth(200); obj.layout38:setHeight(20); obj.layout38:setName("layout38"); obj.imageCheckBox31 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox31:setParent(obj.layout38); obj.imageCheckBox31:setLeft(0); obj.imageCheckBox31:setTop(0); obj.imageCheckBox31:setWidth(20); obj.imageCheckBox31:setHeight(20); obj.imageCheckBox31:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox31:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox31:setField("magicCheck_30"); obj.imageCheckBox31:setName("imageCheckBox31"); obj.imageCheckBox32 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox32:setParent(obj.layout38); obj.imageCheckBox32:setLeft(20); obj.imageCheckBox32:setTop(0); obj.imageCheckBox32:setWidth(20); obj.imageCheckBox32:setHeight(20); obj.imageCheckBox32:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox32:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox32:setField("magicCheck_31"); obj.imageCheckBox32:setName("imageCheckBox32"); obj.imageCheckBox33 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox33:setParent(obj.layout38); obj.imageCheckBox33:setLeft(40); obj.imageCheckBox33:setTop(0); obj.imageCheckBox33:setWidth(20); obj.imageCheckBox33:setHeight(20); obj.imageCheckBox33:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox33:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox33:setField("magicCheck_32"); obj.imageCheckBox33:setName("imageCheckBox33"); obj.imageCheckBox34 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox34:setParent(obj.layout38); obj.imageCheckBox34:setLeft(60); obj.imageCheckBox34:setTop(0); obj.imageCheckBox34:setWidth(20); obj.imageCheckBox34:setHeight(20); obj.imageCheckBox34:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox34:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox34:setField("magicCheck_33"); obj.imageCheckBox34:setName("imageCheckBox34"); obj.imageCheckBox35 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox35:setParent(obj.layout38); obj.imageCheckBox35:setLeft(80); obj.imageCheckBox35:setTop(0); obj.imageCheckBox35:setWidth(20); obj.imageCheckBox35:setHeight(20); obj.imageCheckBox35:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox35:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox35:setField("magicCheck_34"); obj.imageCheckBox35:setName("imageCheckBox35"); obj.imageCheckBox36 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox36:setParent(obj.layout38); obj.imageCheckBox36:setLeft(100); obj.imageCheckBox36:setTop(0); obj.imageCheckBox36:setWidth(20); obj.imageCheckBox36:setHeight(20); obj.imageCheckBox36:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox36:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox36:setField("magicCheck_35"); obj.imageCheckBox36:setName("imageCheckBox36"); obj.imageCheckBox37 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox37:setParent(obj.layout38); obj.imageCheckBox37:setLeft(120); obj.imageCheckBox37:setTop(0); obj.imageCheckBox37:setWidth(20); obj.imageCheckBox37:setHeight(20); obj.imageCheckBox37:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox37:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox37:setField("magicCheck_36"); obj.imageCheckBox37:setName("imageCheckBox37"); obj.imageCheckBox38 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox38:setParent(obj.layout38); obj.imageCheckBox38:setLeft(140); obj.imageCheckBox38:setTop(0); obj.imageCheckBox38:setWidth(20); obj.imageCheckBox38:setHeight(20); obj.imageCheckBox38:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox38:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox38:setField("magicCheck_37"); obj.imageCheckBox38:setName("imageCheckBox38"); obj.imageCheckBox39 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox39:setParent(obj.layout38); obj.imageCheckBox39:setLeft(160); obj.imageCheckBox39:setTop(0); obj.imageCheckBox39:setWidth(20); obj.imageCheckBox39:setHeight(20); obj.imageCheckBox39:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox39:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox39:setField("magicCheck_38"); obj.imageCheckBox39:setName("imageCheckBox39"); obj.imageCheckBox40 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox40:setParent(obj.layout38); obj.imageCheckBox40:setLeft(180); obj.imageCheckBox40:setTop(0); obj.imageCheckBox40:setWidth(20); obj.imageCheckBox40:setHeight(20); obj.imageCheckBox40:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox40:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox40:setField("magicCheck_39"); obj.imageCheckBox40:setName("imageCheckBox40"); obj.textEditor11 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor11:setParent(obj.layout34); obj.textEditor11:setLeft(36); obj.textEditor11:setTop(720); obj.textEditor11:setWidth(320); obj.textEditor11:setHeight(150); obj.textEditor11:setFontSize(14); obj.textEditor11:setFontColor("#000000"); obj.textEditor11:setTransparent(true); obj.textEditor11:setField("magicDesc_4"); obj.textEditor11:setName("textEditor11"); obj.edit51 = GUI.fromHandle(_obj_newObject("edit")); obj.edit51:setParent(obj.layout34); obj.edit51:setLeft(80); obj.edit51:setTop(856); obj.edit51:setWidth(160); obj.edit51:setHeight(30); obj.edit51:setFontSize(16); obj.edit51:setFontColor("#000000"); obj.edit51:setTransparent(true); obj.edit51:setField("magicName_5"); obj.edit51:setName("edit51"); obj.edit52 = GUI.fromHandle(_obj_newObject("edit")); obj.edit52:setParent(obj.layout34); obj.edit52:setLeft(302); obj.edit52:setTop(856); obj.edit52:setWidth(90); obj.edit52:setHeight(30); obj.edit52:setFontSize(16); obj.edit52:setFontColor("#000000"); obj.edit52:setTransparent(true); obj.edit52:setField("magicTrad_5"); obj.edit52:setName("edit52"); obj.edit53 = GUI.fromHandle(_obj_newObject("edit")); obj.edit53:setParent(obj.layout34); obj.edit53:setLeft(406); obj.edit53:setTop(886); obj.edit53:setWidth(90); obj.edit53:setHeight(30); obj.edit53:setFontSize(16); obj.edit53:setFontColor("#000000"); obj.edit53:setTransparent(true); obj.edit53:setField("magicLevel_5"); obj.edit53:setName("edit53"); obj.edit54 = GUI.fromHandle(_obj_newObject("edit")); obj.edit54:setParent(obj.layout34); obj.edit54:setLeft(370); obj.edit54:setTop(918); obj.edit54:setWidth(90); obj.edit54:setHeight(30); obj.edit54:setFontSize(16); obj.edit54:setFontColor("#000000"); obj.edit54:setTransparent(true); obj.edit54:setField("magicConj_5"); obj.edit54:setName("edit54"); obj.layout39 = GUI.fromHandle(_obj_newObject("layout")); obj.layout39:setParent(obj.layout34); obj.layout39:setLeft(73); obj.layout39:setTop(886); obj.layout39:setWidth(200); obj.layout39:setHeight(20); obj.layout39:setName("layout39"); obj.imageCheckBox41 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox41:setParent(obj.layout39); obj.imageCheckBox41:setLeft(0); obj.imageCheckBox41:setTop(0); obj.imageCheckBox41:setWidth(20); obj.imageCheckBox41:setHeight(20); obj.imageCheckBox41:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox41:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox41:setField("magicCheck_40"); obj.imageCheckBox41:setName("imageCheckBox41"); obj.imageCheckBox42 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox42:setParent(obj.layout39); obj.imageCheckBox42:setLeft(20); obj.imageCheckBox42:setTop(0); obj.imageCheckBox42:setWidth(20); obj.imageCheckBox42:setHeight(20); obj.imageCheckBox42:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox42:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox42:setField("magicCheck_41"); obj.imageCheckBox42:setName("imageCheckBox42"); obj.imageCheckBox43 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox43:setParent(obj.layout39); obj.imageCheckBox43:setLeft(40); obj.imageCheckBox43:setTop(0); obj.imageCheckBox43:setWidth(20); obj.imageCheckBox43:setHeight(20); obj.imageCheckBox43:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox43:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox43:setField("magicCheck_42"); obj.imageCheckBox43:setName("imageCheckBox43"); obj.imageCheckBox44 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox44:setParent(obj.layout39); obj.imageCheckBox44:setLeft(60); obj.imageCheckBox44:setTop(0); obj.imageCheckBox44:setWidth(20); obj.imageCheckBox44:setHeight(20); obj.imageCheckBox44:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox44:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox44:setField("magicCheck_43"); obj.imageCheckBox44:setName("imageCheckBox44"); obj.imageCheckBox45 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox45:setParent(obj.layout39); obj.imageCheckBox45:setLeft(80); obj.imageCheckBox45:setTop(0); obj.imageCheckBox45:setWidth(20); obj.imageCheckBox45:setHeight(20); obj.imageCheckBox45:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox45:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox45:setField("magicCheck_44"); obj.imageCheckBox45:setName("imageCheckBox45"); obj.imageCheckBox46 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox46:setParent(obj.layout39); obj.imageCheckBox46:setLeft(100); obj.imageCheckBox46:setTop(0); obj.imageCheckBox46:setWidth(20); obj.imageCheckBox46:setHeight(20); obj.imageCheckBox46:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox46:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox46:setField("magicCheck_45"); obj.imageCheckBox46:setName("imageCheckBox46"); obj.imageCheckBox47 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox47:setParent(obj.layout39); obj.imageCheckBox47:setLeft(120); obj.imageCheckBox47:setTop(0); obj.imageCheckBox47:setWidth(20); obj.imageCheckBox47:setHeight(20); obj.imageCheckBox47:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox47:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox47:setField("magicCheck_46"); obj.imageCheckBox47:setName("imageCheckBox47"); obj.imageCheckBox48 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox48:setParent(obj.layout39); obj.imageCheckBox48:setLeft(140); obj.imageCheckBox48:setTop(0); obj.imageCheckBox48:setWidth(20); obj.imageCheckBox48:setHeight(20); obj.imageCheckBox48:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox48:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox48:setField("magicCheck_47"); obj.imageCheckBox48:setName("imageCheckBox48"); obj.imageCheckBox49 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox49:setParent(obj.layout39); obj.imageCheckBox49:setLeft(160); obj.imageCheckBox49:setTop(0); obj.imageCheckBox49:setWidth(20); obj.imageCheckBox49:setHeight(20); obj.imageCheckBox49:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox49:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox49:setField("magicCheck_48"); obj.imageCheckBox49:setName("imageCheckBox49"); obj.imageCheckBox50 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox50:setParent(obj.layout39); obj.imageCheckBox50:setLeft(180); obj.imageCheckBox50:setTop(0); obj.imageCheckBox50:setWidth(20); obj.imageCheckBox50:setHeight(20); obj.imageCheckBox50:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox50:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox50:setField("magicCheck_49"); obj.imageCheckBox50:setName("imageCheckBox50"); obj.textEditor12 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor12:setParent(obj.layout34); obj.textEditor12:setLeft(36); obj.textEditor12:setTop(906); obj.textEditor12:setWidth(320); obj.textEditor12:setHeight(150); obj.textEditor12:setFontSize(14); obj.textEditor12:setFontColor("#000000"); obj.textEditor12:setTransparent(true); obj.textEditor12:setField("magicDesc_5"); obj.textEditor12:setName("textEditor12"); obj.edit55 = GUI.fromHandle(_obj_newObject("edit")); obj.edit55:setParent(obj.layout34); obj.edit55:setLeft(80); obj.edit55:setTop(1056); obj.edit55:setWidth(160); obj.edit55:setHeight(30); obj.edit55:setFontSize(16); obj.edit55:setFontColor("#000000"); obj.edit55:setTransparent(true); obj.edit55:setField("magicName_6"); obj.edit55:setName("edit55"); obj.edit56 = GUI.fromHandle(_obj_newObject("edit")); obj.edit56:setParent(obj.layout34); obj.edit56:setLeft(302); obj.edit56:setTop(1056); obj.edit56:setWidth(90); obj.edit56:setHeight(30); obj.edit56:setFontSize(16); obj.edit56:setFontColor("#000000"); obj.edit56:setTransparent(true); obj.edit56:setField("magicTrad_6"); obj.edit56:setName("edit56"); obj.edit57 = GUI.fromHandle(_obj_newObject("edit")); obj.edit57:setParent(obj.layout34); obj.edit57:setLeft(406); obj.edit57:setTop(1086); obj.edit57:setWidth(90); obj.edit57:setHeight(30); obj.edit57:setFontSize(16); obj.edit57:setFontColor("#000000"); obj.edit57:setTransparent(true); obj.edit57:setField("magicLevel_6"); obj.edit57:setName("edit57"); obj.edit58 = GUI.fromHandle(_obj_newObject("edit")); obj.edit58:setParent(obj.layout34); obj.edit58:setLeft(370); obj.edit58:setTop(1118); obj.edit58:setWidth(90); obj.edit58:setHeight(30); obj.edit58:setFontSize(16); obj.edit58:setFontColor("#000000"); obj.edit58:setTransparent(true); obj.edit58:setField("magicConj_6"); obj.edit58:setName("edit58"); obj.layout40 = GUI.fromHandle(_obj_newObject("layout")); obj.layout40:setParent(obj.layout34); obj.layout40:setLeft(73); obj.layout40:setTop(1086); obj.layout40:setWidth(200); obj.layout40:setHeight(20); obj.layout40:setName("layout40"); obj.imageCheckBox51 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox51:setParent(obj.layout40); obj.imageCheckBox51:setLeft(0); obj.imageCheckBox51:setTop(0); obj.imageCheckBox51:setWidth(20); obj.imageCheckBox51:setHeight(20); obj.imageCheckBox51:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox51:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox51:setField("magicCheck_50"); obj.imageCheckBox51:setName("imageCheckBox51"); obj.imageCheckBox52 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox52:setParent(obj.layout40); obj.imageCheckBox52:setLeft(20); obj.imageCheckBox52:setTop(0); obj.imageCheckBox52:setWidth(20); obj.imageCheckBox52:setHeight(20); obj.imageCheckBox52:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox52:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox52:setField("magicCheck_51"); obj.imageCheckBox52:setName("imageCheckBox52"); obj.imageCheckBox53 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox53:setParent(obj.layout40); obj.imageCheckBox53:setLeft(40); obj.imageCheckBox53:setTop(0); obj.imageCheckBox53:setWidth(20); obj.imageCheckBox53:setHeight(20); obj.imageCheckBox53:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox53:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox53:setField("magicCheck_52"); obj.imageCheckBox53:setName("imageCheckBox53"); obj.imageCheckBox54 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox54:setParent(obj.layout40); obj.imageCheckBox54:setLeft(60); obj.imageCheckBox54:setTop(0); obj.imageCheckBox54:setWidth(20); obj.imageCheckBox54:setHeight(20); obj.imageCheckBox54:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox54:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox54:setField("magicCheck_53"); obj.imageCheckBox54:setName("imageCheckBox54"); obj.imageCheckBox55 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox55:setParent(obj.layout40); obj.imageCheckBox55:setLeft(80); obj.imageCheckBox55:setTop(0); obj.imageCheckBox55:setWidth(20); obj.imageCheckBox55:setHeight(20); obj.imageCheckBox55:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox55:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox55:setField("magicCheck_54"); obj.imageCheckBox55:setName("imageCheckBox55"); obj.imageCheckBox56 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox56:setParent(obj.layout40); obj.imageCheckBox56:setLeft(100); obj.imageCheckBox56:setTop(0); obj.imageCheckBox56:setWidth(20); obj.imageCheckBox56:setHeight(20); obj.imageCheckBox56:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox56:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox56:setField("magicCheck_55"); obj.imageCheckBox56:setName("imageCheckBox56"); obj.imageCheckBox57 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox57:setParent(obj.layout40); obj.imageCheckBox57:setLeft(120); obj.imageCheckBox57:setTop(0); obj.imageCheckBox57:setWidth(20); obj.imageCheckBox57:setHeight(20); obj.imageCheckBox57:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox57:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox57:setField("magicCheck_56"); obj.imageCheckBox57:setName("imageCheckBox57"); obj.imageCheckBox58 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox58:setParent(obj.layout40); obj.imageCheckBox58:setLeft(140); obj.imageCheckBox58:setTop(0); obj.imageCheckBox58:setWidth(20); obj.imageCheckBox58:setHeight(20); obj.imageCheckBox58:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox58:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox58:setField("magicCheck_57"); obj.imageCheckBox58:setName("imageCheckBox58"); obj.imageCheckBox59 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox59:setParent(obj.layout40); obj.imageCheckBox59:setLeft(160); obj.imageCheckBox59:setTop(0); obj.imageCheckBox59:setWidth(20); obj.imageCheckBox59:setHeight(20); obj.imageCheckBox59:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox59:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox59:setField("magicCheck_58"); obj.imageCheckBox59:setName("imageCheckBox59"); obj.imageCheckBox60 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox60:setParent(obj.layout40); obj.imageCheckBox60:setLeft(180); obj.imageCheckBox60:setTop(0); obj.imageCheckBox60:setWidth(20); obj.imageCheckBox60:setHeight(20); obj.imageCheckBox60:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox60:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox60:setField("magicCheck_59"); obj.imageCheckBox60:setName("imageCheckBox60"); obj.textEditor13 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor13:setParent(obj.layout34); obj.textEditor13:setLeft(36); obj.textEditor13:setTop(1106); obj.textEditor13:setWidth(320); obj.textEditor13:setHeight(150); obj.textEditor13:setFontSize(14); obj.textEditor13:setFontColor("#000000"); obj.textEditor13:setTransparent(true); obj.textEditor13:setField("magicDesc_6"); obj.textEditor13:setName("textEditor13"); obj.layout41 = GUI.fromHandle(_obj_newObject("layout")); obj.layout41:setParent(obj.rectangle2); obj.layout41:setLeft(427); obj.layout41:setTop(0); obj.layout41:setWidth(447); obj.layout41:setHeight(1263); obj.layout41:setName("layout41"); obj.edit59 = GUI.fromHandle(_obj_newObject("edit")); obj.edit59:setParent(obj.layout41); obj.edit59:setLeft(80); obj.edit59:setTop(36); obj.edit59:setWidth(160); obj.edit59:setHeight(30); obj.edit59:setFontSize(16); obj.edit59:setFontColor("#000000"); obj.edit59:setTransparent(true); obj.edit59:setField("magicName_7"); obj.edit59:setName("edit59"); obj.edit60 = GUI.fromHandle(_obj_newObject("edit")); obj.edit60:setParent(obj.layout41); obj.edit60:setLeft(302); obj.edit60:setTop(36); obj.edit60:setWidth(90); obj.edit60:setHeight(30); obj.edit60:setFontSize(16); obj.edit60:setFontColor("#000000"); obj.edit60:setTransparent(true); obj.edit60:setField("magicTrad_7"); obj.edit60:setName("edit60"); obj.edit61 = GUI.fromHandle(_obj_newObject("edit")); obj.edit61:setParent(obj.layout41); obj.edit61:setLeft(406); obj.edit61:setTop(66); obj.edit61:setWidth(90); obj.edit61:setHeight(30); obj.edit61:setFontSize(16); obj.edit61:setFontColor("#000000"); obj.edit61:setTransparent(true); obj.edit61:setField("magicLevel_7"); obj.edit61:setName("edit61"); obj.edit62 = GUI.fromHandle(_obj_newObject("edit")); obj.edit62:setParent(obj.layout41); obj.edit62:setLeft(370); obj.edit62:setTop(98); obj.edit62:setWidth(90); obj.edit62:setHeight(30); obj.edit62:setFontSize(16); obj.edit62:setFontColor("#000000"); obj.edit62:setTransparent(true); obj.edit62:setField("magicConj_7"); obj.edit62:setName("edit62"); obj.layout42 = GUI.fromHandle(_obj_newObject("layout")); obj.layout42:setParent(obj.layout41); obj.layout42:setLeft(73); obj.layout42:setTop(66); obj.layout42:setWidth(200); obj.layout42:setHeight(20); obj.layout42:setName("layout42"); obj.imageCheckBox61 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox61:setParent(obj.layout42); obj.imageCheckBox61:setLeft(0); obj.imageCheckBox61:setTop(0); obj.imageCheckBox61:setWidth(20); obj.imageCheckBox61:setHeight(20); obj.imageCheckBox61:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox61:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox61:setField("magicCheck_60"); obj.imageCheckBox61:setName("imageCheckBox61"); obj.imageCheckBox62 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox62:setParent(obj.layout42); obj.imageCheckBox62:setLeft(20); obj.imageCheckBox62:setTop(0); obj.imageCheckBox62:setWidth(20); obj.imageCheckBox62:setHeight(20); obj.imageCheckBox62:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox62:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox62:setField("magicCheck_61"); obj.imageCheckBox62:setName("imageCheckBox62"); obj.imageCheckBox63 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox63:setParent(obj.layout42); obj.imageCheckBox63:setLeft(40); obj.imageCheckBox63:setTop(0); obj.imageCheckBox63:setWidth(20); obj.imageCheckBox63:setHeight(20); obj.imageCheckBox63:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox63:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox63:setField("magicCheck_62"); obj.imageCheckBox63:setName("imageCheckBox63"); obj.imageCheckBox64 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox64:setParent(obj.layout42); obj.imageCheckBox64:setLeft(60); obj.imageCheckBox64:setTop(0); obj.imageCheckBox64:setWidth(20); obj.imageCheckBox64:setHeight(20); obj.imageCheckBox64:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox64:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox64:setField("magicCheck_63"); obj.imageCheckBox64:setName("imageCheckBox64"); obj.imageCheckBox65 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox65:setParent(obj.layout42); obj.imageCheckBox65:setLeft(80); obj.imageCheckBox65:setTop(0); obj.imageCheckBox65:setWidth(20); obj.imageCheckBox65:setHeight(20); obj.imageCheckBox65:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox65:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox65:setField("magicCheck_64"); obj.imageCheckBox65:setName("imageCheckBox65"); obj.imageCheckBox66 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox66:setParent(obj.layout42); obj.imageCheckBox66:setLeft(100); obj.imageCheckBox66:setTop(0); obj.imageCheckBox66:setWidth(20); obj.imageCheckBox66:setHeight(20); obj.imageCheckBox66:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox66:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox66:setField("magicCheck_65"); obj.imageCheckBox66:setName("imageCheckBox66"); obj.imageCheckBox67 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox67:setParent(obj.layout42); obj.imageCheckBox67:setLeft(120); obj.imageCheckBox67:setTop(0); obj.imageCheckBox67:setWidth(20); obj.imageCheckBox67:setHeight(20); obj.imageCheckBox67:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox67:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox67:setField("magicCheck_66"); obj.imageCheckBox67:setName("imageCheckBox67"); obj.imageCheckBox68 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox68:setParent(obj.layout42); obj.imageCheckBox68:setLeft(140); obj.imageCheckBox68:setTop(0); obj.imageCheckBox68:setWidth(20); obj.imageCheckBox68:setHeight(20); obj.imageCheckBox68:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox68:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox68:setField("magicCheck_67"); obj.imageCheckBox68:setName("imageCheckBox68"); obj.imageCheckBox69 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox69:setParent(obj.layout42); obj.imageCheckBox69:setLeft(160); obj.imageCheckBox69:setTop(0); obj.imageCheckBox69:setWidth(20); obj.imageCheckBox69:setHeight(20); obj.imageCheckBox69:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox69:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox69:setField("magicCheck_68"); obj.imageCheckBox69:setName("imageCheckBox69"); obj.imageCheckBox70 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox70:setParent(obj.layout42); obj.imageCheckBox70:setLeft(180); obj.imageCheckBox70:setTop(0); obj.imageCheckBox70:setWidth(20); obj.imageCheckBox70:setHeight(20); obj.imageCheckBox70:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox70:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox70:setField("magicCheck_69"); obj.imageCheckBox70:setName("imageCheckBox70"); obj.textEditor14 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor14:setParent(obj.layout41); obj.textEditor14:setLeft(36); obj.textEditor14:setTop(86); obj.textEditor14:setWidth(320); obj.textEditor14:setHeight(150); obj.textEditor14:setFontSize(14); obj.textEditor14:setFontColor("#000000"); obj.textEditor14:setTransparent(true); obj.textEditor14:setField("magicDesc_7"); obj.textEditor14:setName("textEditor14"); obj.edit63 = GUI.fromHandle(_obj_newObject("edit")); obj.edit63:setParent(obj.layout41); obj.edit63:setLeft(80); obj.edit63:setTop(242); obj.edit63:setWidth(160); obj.edit63:setHeight(30); obj.edit63:setFontSize(16); obj.edit63:setFontColor("#000000"); obj.edit63:setTransparent(true); obj.edit63:setField("magicName_8"); obj.edit63:setName("edit63"); obj.edit64 = GUI.fromHandle(_obj_newObject("edit")); obj.edit64:setParent(obj.layout41); obj.edit64:setLeft(302); obj.edit64:setTop(242); obj.edit64:setWidth(90); obj.edit64:setHeight(30); obj.edit64:setFontSize(16); obj.edit64:setFontColor("#000000"); obj.edit64:setTransparent(true); obj.edit64:setField("magicTrad_8"); obj.edit64:setName("edit64"); obj.edit65 = GUI.fromHandle(_obj_newObject("edit")); obj.edit65:setParent(obj.layout41); obj.edit65:setLeft(406); obj.edit65:setTop(272); obj.edit65:setWidth(90); obj.edit65:setHeight(30); obj.edit65:setFontSize(16); obj.edit65:setFontColor("#000000"); obj.edit65:setTransparent(true); obj.edit65:setField("magicLevel_8"); obj.edit65:setName("edit65"); obj.edit66 = GUI.fromHandle(_obj_newObject("edit")); obj.edit66:setParent(obj.layout41); obj.edit66:setLeft(370); obj.edit66:setTop(304); obj.edit66:setWidth(90); obj.edit66:setHeight(30); obj.edit66:setFontSize(16); obj.edit66:setFontColor("#000000"); obj.edit66:setTransparent(true); obj.edit66:setField("magicConj_8"); obj.edit66:setName("edit66"); obj.layout43 = GUI.fromHandle(_obj_newObject("layout")); obj.layout43:setParent(obj.layout41); obj.layout43:setLeft(73); obj.layout43:setTop(272); obj.layout43:setWidth(200); obj.layout43:setHeight(20); obj.layout43:setName("layout43"); obj.imageCheckBox71 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox71:setParent(obj.layout43); obj.imageCheckBox71:setLeft(0); obj.imageCheckBox71:setTop(0); obj.imageCheckBox71:setWidth(20); obj.imageCheckBox71:setHeight(20); obj.imageCheckBox71:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox71:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox71:setField("magicCheck_70"); obj.imageCheckBox71:setName("imageCheckBox71"); obj.imageCheckBox72 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox72:setParent(obj.layout43); obj.imageCheckBox72:setLeft(20); obj.imageCheckBox72:setTop(0); obj.imageCheckBox72:setWidth(20); obj.imageCheckBox72:setHeight(20); obj.imageCheckBox72:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox72:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox72:setField("magicCheck_71"); obj.imageCheckBox72:setName("imageCheckBox72"); obj.imageCheckBox73 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox73:setParent(obj.layout43); obj.imageCheckBox73:setLeft(40); obj.imageCheckBox73:setTop(0); obj.imageCheckBox73:setWidth(20); obj.imageCheckBox73:setHeight(20); obj.imageCheckBox73:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox73:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox73:setField("magicCheck_72"); obj.imageCheckBox73:setName("imageCheckBox73"); obj.imageCheckBox74 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox74:setParent(obj.layout43); obj.imageCheckBox74:setLeft(60); obj.imageCheckBox74:setTop(0); obj.imageCheckBox74:setWidth(20); obj.imageCheckBox74:setHeight(20); obj.imageCheckBox74:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox74:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox74:setField("magicCheck_73"); obj.imageCheckBox74:setName("imageCheckBox74"); obj.imageCheckBox75 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox75:setParent(obj.layout43); obj.imageCheckBox75:setLeft(80); obj.imageCheckBox75:setTop(0); obj.imageCheckBox75:setWidth(20); obj.imageCheckBox75:setHeight(20); obj.imageCheckBox75:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox75:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox75:setField("magicCheck_74"); obj.imageCheckBox75:setName("imageCheckBox75"); obj.imageCheckBox76 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox76:setParent(obj.layout43); obj.imageCheckBox76:setLeft(100); obj.imageCheckBox76:setTop(0); obj.imageCheckBox76:setWidth(20); obj.imageCheckBox76:setHeight(20); obj.imageCheckBox76:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox76:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox76:setField("magicCheck_75"); obj.imageCheckBox76:setName("imageCheckBox76"); obj.imageCheckBox77 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox77:setParent(obj.layout43); obj.imageCheckBox77:setLeft(120); obj.imageCheckBox77:setTop(0); obj.imageCheckBox77:setWidth(20); obj.imageCheckBox77:setHeight(20); obj.imageCheckBox77:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox77:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox77:setField("magicCheck_76"); obj.imageCheckBox77:setName("imageCheckBox77"); obj.imageCheckBox78 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox78:setParent(obj.layout43); obj.imageCheckBox78:setLeft(140); obj.imageCheckBox78:setTop(0); obj.imageCheckBox78:setWidth(20); obj.imageCheckBox78:setHeight(20); obj.imageCheckBox78:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox78:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox78:setField("magicCheck_77"); obj.imageCheckBox78:setName("imageCheckBox78"); obj.imageCheckBox79 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox79:setParent(obj.layout43); obj.imageCheckBox79:setLeft(160); obj.imageCheckBox79:setTop(0); obj.imageCheckBox79:setWidth(20); obj.imageCheckBox79:setHeight(20); obj.imageCheckBox79:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox79:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox79:setField("magicCheck_78"); obj.imageCheckBox79:setName("imageCheckBox79"); obj.imageCheckBox80 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox80:setParent(obj.layout43); obj.imageCheckBox80:setLeft(180); obj.imageCheckBox80:setTop(0); obj.imageCheckBox80:setWidth(20); obj.imageCheckBox80:setHeight(20); obj.imageCheckBox80:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox80:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox80:setField("magicCheck_79"); obj.imageCheckBox80:setName("imageCheckBox80"); obj.textEditor15 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor15:setParent(obj.layout41); obj.textEditor15:setLeft(36); obj.textEditor15:setTop(292); obj.textEditor15:setWidth(320); obj.textEditor15:setHeight(150); obj.textEditor15:setFontSize(14); obj.textEditor15:setFontColor("#000000"); obj.textEditor15:setTransparent(true); obj.textEditor15:setField("magicDesc_8"); obj.textEditor15:setName("textEditor15"); obj.edit67 = GUI.fromHandle(_obj_newObject("edit")); obj.edit67:setParent(obj.layout41); obj.edit67:setLeft(80); obj.edit67:setTop(448); obj.edit67:setWidth(160); obj.edit67:setHeight(30); obj.edit67:setFontSize(16); obj.edit67:setFontColor("#000000"); obj.edit67:setTransparent(true); obj.edit67:setField("magicName_9"); obj.edit67:setName("edit67"); obj.edit68 = GUI.fromHandle(_obj_newObject("edit")); obj.edit68:setParent(obj.layout41); obj.edit68:setLeft(302); obj.edit68:setTop(448); obj.edit68:setWidth(90); obj.edit68:setHeight(30); obj.edit68:setFontSize(16); obj.edit68:setFontColor("#000000"); obj.edit68:setTransparent(true); obj.edit68:setField("magicTrad_9"); obj.edit68:setName("edit68"); obj.edit69 = GUI.fromHandle(_obj_newObject("edit")); obj.edit69:setParent(obj.layout41); obj.edit69:setLeft(406); obj.edit69:setTop(478); obj.edit69:setWidth(90); obj.edit69:setHeight(30); obj.edit69:setFontSize(16); obj.edit69:setFontColor("#000000"); obj.edit69:setTransparent(true); obj.edit69:setField("magicLevel_9"); obj.edit69:setName("edit69"); obj.edit70 = GUI.fromHandle(_obj_newObject("edit")); obj.edit70:setParent(obj.layout41); obj.edit70:setLeft(370); obj.edit70:setTop(510); obj.edit70:setWidth(90); obj.edit70:setHeight(30); obj.edit70:setFontSize(16); obj.edit70:setFontColor("#000000"); obj.edit70:setTransparent(true); obj.edit70:setField("magicConj_9"); obj.edit70:setName("edit70"); obj.layout44 = GUI.fromHandle(_obj_newObject("layout")); obj.layout44:setParent(obj.layout41); obj.layout44:setLeft(73); obj.layout44:setTop(478); obj.layout44:setWidth(200); obj.layout44:setHeight(20); obj.layout44:setName("layout44"); obj.imageCheckBox81 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox81:setParent(obj.layout44); obj.imageCheckBox81:setLeft(0); obj.imageCheckBox81:setTop(0); obj.imageCheckBox81:setWidth(20); obj.imageCheckBox81:setHeight(20); obj.imageCheckBox81:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox81:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox81:setField("magicCheck_80"); obj.imageCheckBox81:setName("imageCheckBox81"); obj.imageCheckBox82 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox82:setParent(obj.layout44); obj.imageCheckBox82:setLeft(20); obj.imageCheckBox82:setTop(0); obj.imageCheckBox82:setWidth(20); obj.imageCheckBox82:setHeight(20); obj.imageCheckBox82:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox82:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox82:setField("magicCheck_81"); obj.imageCheckBox82:setName("imageCheckBox82"); obj.imageCheckBox83 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox83:setParent(obj.layout44); obj.imageCheckBox83:setLeft(40); obj.imageCheckBox83:setTop(0); obj.imageCheckBox83:setWidth(20); obj.imageCheckBox83:setHeight(20); obj.imageCheckBox83:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox83:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox83:setField("magicCheck_82"); obj.imageCheckBox83:setName("imageCheckBox83"); obj.imageCheckBox84 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox84:setParent(obj.layout44); obj.imageCheckBox84:setLeft(60); obj.imageCheckBox84:setTop(0); obj.imageCheckBox84:setWidth(20); obj.imageCheckBox84:setHeight(20); obj.imageCheckBox84:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox84:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox84:setField("magicCheck_83"); obj.imageCheckBox84:setName("imageCheckBox84"); obj.imageCheckBox85 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox85:setParent(obj.layout44); obj.imageCheckBox85:setLeft(80); obj.imageCheckBox85:setTop(0); obj.imageCheckBox85:setWidth(20); obj.imageCheckBox85:setHeight(20); obj.imageCheckBox85:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox85:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox85:setField("magicCheck_84"); obj.imageCheckBox85:setName("imageCheckBox85"); obj.imageCheckBox86 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox86:setParent(obj.layout44); obj.imageCheckBox86:setLeft(100); obj.imageCheckBox86:setTop(0); obj.imageCheckBox86:setWidth(20); obj.imageCheckBox86:setHeight(20); obj.imageCheckBox86:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox86:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox86:setField("magicCheck_85"); obj.imageCheckBox86:setName("imageCheckBox86"); obj.imageCheckBox87 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox87:setParent(obj.layout44); obj.imageCheckBox87:setLeft(120); obj.imageCheckBox87:setTop(0); obj.imageCheckBox87:setWidth(20); obj.imageCheckBox87:setHeight(20); obj.imageCheckBox87:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox87:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox87:setField("magicCheck_86"); obj.imageCheckBox87:setName("imageCheckBox87"); obj.imageCheckBox88 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox88:setParent(obj.layout44); obj.imageCheckBox88:setLeft(140); obj.imageCheckBox88:setTop(0); obj.imageCheckBox88:setWidth(20); obj.imageCheckBox88:setHeight(20); obj.imageCheckBox88:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox88:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox88:setField("magicCheck_87"); obj.imageCheckBox88:setName("imageCheckBox88"); obj.imageCheckBox89 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox89:setParent(obj.layout44); obj.imageCheckBox89:setLeft(160); obj.imageCheckBox89:setTop(0); obj.imageCheckBox89:setWidth(20); obj.imageCheckBox89:setHeight(20); obj.imageCheckBox89:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox89:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox89:setField("magicCheck_88"); obj.imageCheckBox89:setName("imageCheckBox89"); obj.imageCheckBox90 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox90:setParent(obj.layout44); obj.imageCheckBox90:setLeft(180); obj.imageCheckBox90:setTop(0); obj.imageCheckBox90:setWidth(20); obj.imageCheckBox90:setHeight(20); obj.imageCheckBox90:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox90:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox90:setField("magicCheck_89"); obj.imageCheckBox90:setName("imageCheckBox90"); obj.textEditor16 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor16:setParent(obj.layout41); obj.textEditor16:setLeft(36); obj.textEditor16:setTop(498); obj.textEditor16:setWidth(320); obj.textEditor16:setHeight(150); obj.textEditor16:setFontSize(14); obj.textEditor16:setFontColor("#000000"); obj.textEditor16:setTransparent(true); obj.textEditor16:setField("magicDesc_9"); obj.textEditor16:setName("textEditor16"); obj.edit71 = GUI.fromHandle(_obj_newObject("edit")); obj.edit71:setParent(obj.layout41); obj.edit71:setLeft(80); obj.edit71:setTop(670); obj.edit71:setWidth(160); obj.edit71:setHeight(30); obj.edit71:setFontSize(16); obj.edit71:setFontColor("#000000"); obj.edit71:setTransparent(true); obj.edit71:setField("magicName_10"); obj.edit71:setName("edit71"); obj.edit72 = GUI.fromHandle(_obj_newObject("edit")); obj.edit72:setParent(obj.layout41); obj.edit72:setLeft(302); obj.edit72:setTop(670); obj.edit72:setWidth(90); obj.edit72:setHeight(30); obj.edit72:setFontSize(16); obj.edit72:setFontColor("#000000"); obj.edit72:setTransparent(true); obj.edit72:setField("magicTrad_10"); obj.edit72:setName("edit72"); obj.edit73 = GUI.fromHandle(_obj_newObject("edit")); obj.edit73:setParent(obj.layout41); obj.edit73:setLeft(406); obj.edit73:setTop(700); obj.edit73:setWidth(90); obj.edit73:setHeight(30); obj.edit73:setFontSize(16); obj.edit73:setFontColor("#000000"); obj.edit73:setTransparent(true); obj.edit73:setField("magicLevel_10"); obj.edit73:setName("edit73"); obj.edit74 = GUI.fromHandle(_obj_newObject("edit")); obj.edit74:setParent(obj.layout41); obj.edit74:setLeft(370); obj.edit74:setTop(732); obj.edit74:setWidth(90); obj.edit74:setHeight(30); obj.edit74:setFontSize(16); obj.edit74:setFontColor("#000000"); obj.edit74:setTransparent(true); obj.edit74:setField("magicConj_10"); obj.edit74:setName("edit74"); obj.layout45 = GUI.fromHandle(_obj_newObject("layout")); obj.layout45:setParent(obj.layout41); obj.layout45:setLeft(73); obj.layout45:setTop(700); obj.layout45:setWidth(200); obj.layout45:setHeight(20); obj.layout45:setName("layout45"); obj.imageCheckBox91 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox91:setParent(obj.layout45); obj.imageCheckBox91:setLeft(0); obj.imageCheckBox91:setTop(0); obj.imageCheckBox91:setWidth(20); obj.imageCheckBox91:setHeight(20); obj.imageCheckBox91:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox91:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox91:setField("magicCheck_90"); obj.imageCheckBox91:setName("imageCheckBox91"); obj.imageCheckBox92 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox92:setParent(obj.layout45); obj.imageCheckBox92:setLeft(20); obj.imageCheckBox92:setTop(0); obj.imageCheckBox92:setWidth(20); obj.imageCheckBox92:setHeight(20); obj.imageCheckBox92:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox92:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox92:setField("magicCheck_91"); obj.imageCheckBox92:setName("imageCheckBox92"); obj.imageCheckBox93 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox93:setParent(obj.layout45); obj.imageCheckBox93:setLeft(40); obj.imageCheckBox93:setTop(0); obj.imageCheckBox93:setWidth(20); obj.imageCheckBox93:setHeight(20); obj.imageCheckBox93:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox93:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox93:setField("magicCheck_92"); obj.imageCheckBox93:setName("imageCheckBox93"); obj.imageCheckBox94 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox94:setParent(obj.layout45); obj.imageCheckBox94:setLeft(60); obj.imageCheckBox94:setTop(0); obj.imageCheckBox94:setWidth(20); obj.imageCheckBox94:setHeight(20); obj.imageCheckBox94:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox94:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox94:setField("magicCheck_93"); obj.imageCheckBox94:setName("imageCheckBox94"); obj.imageCheckBox95 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox95:setParent(obj.layout45); obj.imageCheckBox95:setLeft(80); obj.imageCheckBox95:setTop(0); obj.imageCheckBox95:setWidth(20); obj.imageCheckBox95:setHeight(20); obj.imageCheckBox95:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox95:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox95:setField("magicCheck_94"); obj.imageCheckBox95:setName("imageCheckBox95"); obj.imageCheckBox96 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox96:setParent(obj.layout45); obj.imageCheckBox96:setLeft(100); obj.imageCheckBox96:setTop(0); obj.imageCheckBox96:setWidth(20); obj.imageCheckBox96:setHeight(20); obj.imageCheckBox96:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox96:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox96:setField("magicCheck_95"); obj.imageCheckBox96:setName("imageCheckBox96"); obj.imageCheckBox97 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox97:setParent(obj.layout45); obj.imageCheckBox97:setLeft(120); obj.imageCheckBox97:setTop(0); obj.imageCheckBox97:setWidth(20); obj.imageCheckBox97:setHeight(20); obj.imageCheckBox97:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox97:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox97:setField("magicCheck_96"); obj.imageCheckBox97:setName("imageCheckBox97"); obj.imageCheckBox98 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox98:setParent(obj.layout45); obj.imageCheckBox98:setLeft(140); obj.imageCheckBox98:setTop(0); obj.imageCheckBox98:setWidth(20); obj.imageCheckBox98:setHeight(20); obj.imageCheckBox98:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox98:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox98:setField("magicCheck_97"); obj.imageCheckBox98:setName("imageCheckBox98"); obj.imageCheckBox99 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox99:setParent(obj.layout45); obj.imageCheckBox99:setLeft(160); obj.imageCheckBox99:setTop(0); obj.imageCheckBox99:setWidth(20); obj.imageCheckBox99:setHeight(20); obj.imageCheckBox99:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox99:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox99:setField("magicCheck_98"); obj.imageCheckBox99:setName("imageCheckBox99"); obj.imageCheckBox100 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox100:setParent(obj.layout45); obj.imageCheckBox100:setLeft(180); obj.imageCheckBox100:setTop(0); obj.imageCheckBox100:setWidth(20); obj.imageCheckBox100:setHeight(20); obj.imageCheckBox100:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox100:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox100:setField("magicCheck_99"); obj.imageCheckBox100:setName("imageCheckBox100"); obj.textEditor17 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor17:setParent(obj.layout41); obj.textEditor17:setLeft(36); obj.textEditor17:setTop(720); obj.textEditor17:setWidth(320); obj.textEditor17:setHeight(150); obj.textEditor17:setFontSize(14); obj.textEditor17:setFontColor("#000000"); obj.textEditor17:setTransparent(true); obj.textEditor17:setField("magicDesc_10"); obj.textEditor17:setName("textEditor17"); obj.edit75 = GUI.fromHandle(_obj_newObject("edit")); obj.edit75:setParent(obj.layout41); obj.edit75:setLeft(80); obj.edit75:setTop(856); obj.edit75:setWidth(160); obj.edit75:setHeight(30); obj.edit75:setFontSize(16); obj.edit75:setFontColor("#000000"); obj.edit75:setTransparent(true); obj.edit75:setField("magicName_11"); obj.edit75:setName("edit75"); obj.edit76 = GUI.fromHandle(_obj_newObject("edit")); obj.edit76:setParent(obj.layout41); obj.edit76:setLeft(302); obj.edit76:setTop(856); obj.edit76:setWidth(90); obj.edit76:setHeight(30); obj.edit76:setFontSize(16); obj.edit76:setFontColor("#000000"); obj.edit76:setTransparent(true); obj.edit76:setField("magicTrad_11"); obj.edit76:setName("edit76"); obj.edit77 = GUI.fromHandle(_obj_newObject("edit")); obj.edit77:setParent(obj.layout41); obj.edit77:setLeft(406); obj.edit77:setTop(886); obj.edit77:setWidth(90); obj.edit77:setHeight(30); obj.edit77:setFontSize(16); obj.edit77:setFontColor("#000000"); obj.edit77:setTransparent(true); obj.edit77:setField("magicLevel_11"); obj.edit77:setName("edit77"); obj.edit78 = GUI.fromHandle(_obj_newObject("edit")); obj.edit78:setParent(obj.layout41); obj.edit78:setLeft(370); obj.edit78:setTop(918); obj.edit78:setWidth(90); obj.edit78:setHeight(30); obj.edit78:setFontSize(16); obj.edit78:setFontColor("#000000"); obj.edit78:setTransparent(true); obj.edit78:setField("magicConj_11"); obj.edit78:setName("edit78"); obj.layout46 = GUI.fromHandle(_obj_newObject("layout")); obj.layout46:setParent(obj.layout41); obj.layout46:setLeft(73); obj.layout46:setTop(886); obj.layout46:setWidth(200); obj.layout46:setHeight(20); obj.layout46:setName("layout46"); obj.imageCheckBox101 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox101:setParent(obj.layout46); obj.imageCheckBox101:setLeft(0); obj.imageCheckBox101:setTop(0); obj.imageCheckBox101:setWidth(20); obj.imageCheckBox101:setHeight(20); obj.imageCheckBox101:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox101:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox101:setField("magicCheck_100"); obj.imageCheckBox101:setName("imageCheckBox101"); obj.imageCheckBox102 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox102:setParent(obj.layout46); obj.imageCheckBox102:setLeft(20); obj.imageCheckBox102:setTop(0); obj.imageCheckBox102:setWidth(20); obj.imageCheckBox102:setHeight(20); obj.imageCheckBox102:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox102:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox102:setField("magicCheck_101"); obj.imageCheckBox102:setName("imageCheckBox102"); obj.imageCheckBox103 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox103:setParent(obj.layout46); obj.imageCheckBox103:setLeft(40); obj.imageCheckBox103:setTop(0); obj.imageCheckBox103:setWidth(20); obj.imageCheckBox103:setHeight(20); obj.imageCheckBox103:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox103:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox103:setField("magicCheck_102"); obj.imageCheckBox103:setName("imageCheckBox103"); obj.imageCheckBox104 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox104:setParent(obj.layout46); obj.imageCheckBox104:setLeft(60); obj.imageCheckBox104:setTop(0); obj.imageCheckBox104:setWidth(20); obj.imageCheckBox104:setHeight(20); obj.imageCheckBox104:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox104:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox104:setField("magicCheck_103"); obj.imageCheckBox104:setName("imageCheckBox104"); obj.imageCheckBox105 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox105:setParent(obj.layout46); obj.imageCheckBox105:setLeft(80); obj.imageCheckBox105:setTop(0); obj.imageCheckBox105:setWidth(20); obj.imageCheckBox105:setHeight(20); obj.imageCheckBox105:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox105:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox105:setField("magicCheck_104"); obj.imageCheckBox105:setName("imageCheckBox105"); obj.imageCheckBox106 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox106:setParent(obj.layout46); obj.imageCheckBox106:setLeft(100); obj.imageCheckBox106:setTop(0); obj.imageCheckBox106:setWidth(20); obj.imageCheckBox106:setHeight(20); obj.imageCheckBox106:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox106:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox106:setField("magicCheck_105"); obj.imageCheckBox106:setName("imageCheckBox106"); obj.imageCheckBox107 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox107:setParent(obj.layout46); obj.imageCheckBox107:setLeft(120); obj.imageCheckBox107:setTop(0); obj.imageCheckBox107:setWidth(20); obj.imageCheckBox107:setHeight(20); obj.imageCheckBox107:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox107:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox107:setField("magicCheck_106"); obj.imageCheckBox107:setName("imageCheckBox107"); obj.imageCheckBox108 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox108:setParent(obj.layout46); obj.imageCheckBox108:setLeft(140); obj.imageCheckBox108:setTop(0); obj.imageCheckBox108:setWidth(20); obj.imageCheckBox108:setHeight(20); obj.imageCheckBox108:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox108:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox108:setField("magicCheck_107"); obj.imageCheckBox108:setName("imageCheckBox108"); obj.imageCheckBox109 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox109:setParent(obj.layout46); obj.imageCheckBox109:setLeft(160); obj.imageCheckBox109:setTop(0); obj.imageCheckBox109:setWidth(20); obj.imageCheckBox109:setHeight(20); obj.imageCheckBox109:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox109:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox109:setField("magicCheck_108"); obj.imageCheckBox109:setName("imageCheckBox109"); obj.imageCheckBox110 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox110:setParent(obj.layout46); obj.imageCheckBox110:setLeft(180); obj.imageCheckBox110:setTop(0); obj.imageCheckBox110:setWidth(20); obj.imageCheckBox110:setHeight(20); obj.imageCheckBox110:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox110:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox110:setField("magicCheck_109"); obj.imageCheckBox110:setName("imageCheckBox110"); obj.textEditor18 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor18:setParent(obj.layout41); obj.textEditor18:setLeft(36); obj.textEditor18:setTop(906); obj.textEditor18:setWidth(320); obj.textEditor18:setHeight(150); obj.textEditor18:setFontSize(14); obj.textEditor18:setFontColor("#000000"); obj.textEditor18:setTransparent(true); obj.textEditor18:setField("magicDesc_11"); obj.textEditor18:setName("textEditor18"); obj.edit79 = GUI.fromHandle(_obj_newObject("edit")); obj.edit79:setParent(obj.layout41); obj.edit79:setLeft(80); obj.edit79:setTop(1056); obj.edit79:setWidth(160); obj.edit79:setHeight(30); obj.edit79:setFontSize(16); obj.edit79:setFontColor("#000000"); obj.edit79:setTransparent(true); obj.edit79:setField("magicName_12"); obj.edit79:setName("edit79"); obj.edit80 = GUI.fromHandle(_obj_newObject("edit")); obj.edit80:setParent(obj.layout41); obj.edit80:setLeft(302); obj.edit80:setTop(1056); obj.edit80:setWidth(90); obj.edit80:setHeight(30); obj.edit80:setFontSize(16); obj.edit80:setFontColor("#000000"); obj.edit80:setTransparent(true); obj.edit80:setField("magicTrad_12"); obj.edit80:setName("edit80"); obj.edit81 = GUI.fromHandle(_obj_newObject("edit")); obj.edit81:setParent(obj.layout41); obj.edit81:setLeft(406); obj.edit81:setTop(1086); obj.edit81:setWidth(90); obj.edit81:setHeight(30); obj.edit81:setFontSize(16); obj.edit81:setFontColor("#000000"); obj.edit81:setTransparent(true); obj.edit81:setField("magicLevel_12"); obj.edit81:setName("edit81"); obj.edit82 = GUI.fromHandle(_obj_newObject("edit")); obj.edit82:setParent(obj.layout41); obj.edit82:setLeft(370); obj.edit82:setTop(1118); obj.edit82:setWidth(90); obj.edit82:setHeight(30); obj.edit82:setFontSize(16); obj.edit82:setFontColor("#000000"); obj.edit82:setTransparent(true); obj.edit82:setField("magicConj_12"); obj.edit82:setName("edit82"); obj.layout47 = GUI.fromHandle(_obj_newObject("layout")); obj.layout47:setParent(obj.layout41); obj.layout47:setLeft(73); obj.layout47:setTop(1086); obj.layout47:setWidth(200); obj.layout47:setHeight(20); obj.layout47:setName("layout47"); obj.imageCheckBox111 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox111:setParent(obj.layout47); obj.imageCheckBox111:setLeft(0); obj.imageCheckBox111:setTop(0); obj.imageCheckBox111:setWidth(20); obj.imageCheckBox111:setHeight(20); obj.imageCheckBox111:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox111:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox111:setField("magicCheck_110"); obj.imageCheckBox111:setName("imageCheckBox111"); obj.imageCheckBox112 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox112:setParent(obj.layout47); obj.imageCheckBox112:setLeft(20); obj.imageCheckBox112:setTop(0); obj.imageCheckBox112:setWidth(20); obj.imageCheckBox112:setHeight(20); obj.imageCheckBox112:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox112:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox112:setField("magicCheck_111"); obj.imageCheckBox112:setName("imageCheckBox112"); obj.imageCheckBox113 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox113:setParent(obj.layout47); obj.imageCheckBox113:setLeft(40); obj.imageCheckBox113:setTop(0); obj.imageCheckBox113:setWidth(20); obj.imageCheckBox113:setHeight(20); obj.imageCheckBox113:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox113:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox113:setField("magicCheck_112"); obj.imageCheckBox113:setName("imageCheckBox113"); obj.imageCheckBox114 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox114:setParent(obj.layout47); obj.imageCheckBox114:setLeft(60); obj.imageCheckBox114:setTop(0); obj.imageCheckBox114:setWidth(20); obj.imageCheckBox114:setHeight(20); obj.imageCheckBox114:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox114:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox114:setField("magicCheck_113"); obj.imageCheckBox114:setName("imageCheckBox114"); obj.imageCheckBox115 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox115:setParent(obj.layout47); obj.imageCheckBox115:setLeft(80); obj.imageCheckBox115:setTop(0); obj.imageCheckBox115:setWidth(20); obj.imageCheckBox115:setHeight(20); obj.imageCheckBox115:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox115:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox115:setField("magicCheck_114"); obj.imageCheckBox115:setName("imageCheckBox115"); obj.imageCheckBox116 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox116:setParent(obj.layout47); obj.imageCheckBox116:setLeft(100); obj.imageCheckBox116:setTop(0); obj.imageCheckBox116:setWidth(20); obj.imageCheckBox116:setHeight(20); obj.imageCheckBox116:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox116:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox116:setField("magicCheck_115"); obj.imageCheckBox116:setName("imageCheckBox116"); obj.imageCheckBox117 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox117:setParent(obj.layout47); obj.imageCheckBox117:setLeft(120); obj.imageCheckBox117:setTop(0); obj.imageCheckBox117:setWidth(20); obj.imageCheckBox117:setHeight(20); obj.imageCheckBox117:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox117:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox117:setField("magicCheck_116"); obj.imageCheckBox117:setName("imageCheckBox117"); obj.imageCheckBox118 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox118:setParent(obj.layout47); obj.imageCheckBox118:setLeft(140); obj.imageCheckBox118:setTop(0); obj.imageCheckBox118:setWidth(20); obj.imageCheckBox118:setHeight(20); obj.imageCheckBox118:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox118:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox118:setField("magicCheck_117"); obj.imageCheckBox118:setName("imageCheckBox118"); obj.imageCheckBox119 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox119:setParent(obj.layout47); obj.imageCheckBox119:setLeft(160); obj.imageCheckBox119:setTop(0); obj.imageCheckBox119:setWidth(20); obj.imageCheckBox119:setHeight(20); obj.imageCheckBox119:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox119:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox119:setField("magicCheck_118"); obj.imageCheckBox119:setName("imageCheckBox119"); obj.imageCheckBox120 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox120:setParent(obj.layout47); obj.imageCheckBox120:setLeft(180); obj.imageCheckBox120:setTop(0); obj.imageCheckBox120:setWidth(20); obj.imageCheckBox120:setHeight(20); obj.imageCheckBox120:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox120:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox120:setField("magicCheck_119"); obj.imageCheckBox120:setName("imageCheckBox120"); obj.textEditor19 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor19:setParent(obj.layout41); obj.textEditor19:setLeft(36); obj.textEditor19:setTop(1106); obj.textEditor19:setWidth(320); obj.textEditor19:setHeight(150); obj.textEditor19:setFontSize(14); obj.textEditor19:setFontColor("#000000"); obj.textEditor19:setTransparent(true); obj.textEditor19:setField("magicDesc_12"); obj.textEditor19:setName("textEditor19"); obj.tab3 = GUI.fromHandle(_obj_newObject("tab")); obj.tab3:setParent(obj.tabControl1); obj.tab3:setTitle("Página 3"); obj.tab3:setName("tab3"); obj.frmSODLFillable3_svg = GUI.fromHandle(_obj_newObject("form")); obj.frmSODLFillable3_svg:setParent(obj.tab3); obj.frmSODLFillable3_svg:setName("frmSODLFillable3_svg"); obj.frmSODLFillable3_svg:setAlign("client"); obj.frmSODLFillable3_svg:setTheme("light"); obj.frmSODLFillable3_svg:setMargins({top=1}); obj.scrollBox3 = GUI.fromHandle(_obj_newObject("scrollBox")); obj.scrollBox3:setParent(obj.frmSODLFillable3_svg); obj.scrollBox3:setAlign("client"); obj.scrollBox3:setName("scrollBox3"); obj.rectangle3 = GUI.fromHandle(_obj_newObject("rectangle")); obj.rectangle3:setParent(obj.scrollBox3); obj.rectangle3:setWidth(893); obj.rectangle3:setHeight(1263); obj.rectangle3:setColor("white"); obj.rectangle3:setName("rectangle3"); obj.image3 = GUI.fromHandle(_obj_newObject("image")); obj.image3:setParent(obj.rectangle3); obj.image3:setLeft(0); obj.image3:setTop(0); obj.image3:setWidth(893); obj.image3:setHeight(1263); obj.image3:setSRC("/SODLFillable/images/2.png"); obj.image3:setStyle("stretch"); obj.image3:setOptimize(true); obj.image3:setName("image3"); obj.layout48 = GUI.fromHandle(_obj_newObject("layout")); obj.layout48:setParent(obj.rectangle3); obj.layout48:setLeft(0); obj.layout48:setTop(0); obj.layout48:setWidth(447); obj.layout48:setHeight(1263); obj.layout48:setName("layout48"); obj.edit83 = GUI.fromHandle(_obj_newObject("edit")); obj.edit83:setParent(obj.layout48); obj.edit83:setLeft(80); obj.edit83:setTop(36); obj.edit83:setWidth(160); obj.edit83:setHeight(30); obj.edit83:setFontSize(16); obj.edit83:setFontColor("#000000"); obj.edit83:setTransparent(true); obj.edit83:setField("magicName_011"); obj.edit83:setName("edit83"); obj.edit84 = GUI.fromHandle(_obj_newObject("edit")); obj.edit84:setParent(obj.layout48); obj.edit84:setLeft(302); obj.edit84:setTop(36); obj.edit84:setWidth(90); obj.edit84:setHeight(30); obj.edit84:setFontSize(16); obj.edit84:setFontColor("#000000"); obj.edit84:setTransparent(true); obj.edit84:setField("magicTrad_011"); obj.edit84:setName("edit84"); obj.edit85 = GUI.fromHandle(_obj_newObject("edit")); obj.edit85:setParent(obj.layout48); obj.edit85:setLeft(406); obj.edit85:setTop(66); obj.edit85:setWidth(90); obj.edit85:setHeight(30); obj.edit85:setFontSize(16); obj.edit85:setFontColor("#000000"); obj.edit85:setTransparent(true); obj.edit85:setField("magicLevel_011"); obj.edit85:setName("edit85"); obj.edit86 = GUI.fromHandle(_obj_newObject("edit")); obj.edit86:setParent(obj.layout48); obj.edit86:setLeft(370); obj.edit86:setTop(98); obj.edit86:setWidth(90); obj.edit86:setHeight(30); obj.edit86:setFontSize(16); obj.edit86:setFontColor("#000000"); obj.edit86:setTransparent(true); obj.edit86:setField("magicConj_011"); obj.edit86:setName("edit86"); obj.layout49 = GUI.fromHandle(_obj_newObject("layout")); obj.layout49:setParent(obj.layout48); obj.layout49:setLeft(73); obj.layout49:setTop(66); obj.layout49:setWidth(200); obj.layout49:setHeight(20); obj.layout49:setName("layout49"); obj.imageCheckBox121 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox121:setParent(obj.layout49); obj.imageCheckBox121:setLeft(0); obj.imageCheckBox121:setTop(0); obj.imageCheckBox121:setWidth(20); obj.imageCheckBox121:setHeight(20); obj.imageCheckBox121:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox121:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox121:setField("magicCheck_0101"); obj.imageCheckBox121:setName("imageCheckBox121"); obj.imageCheckBox122 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox122:setParent(obj.layout49); obj.imageCheckBox122:setLeft(20); obj.imageCheckBox122:setTop(0); obj.imageCheckBox122:setWidth(20); obj.imageCheckBox122:setHeight(20); obj.imageCheckBox122:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox122:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox122:setField("magicCheck_0111"); obj.imageCheckBox122:setName("imageCheckBox122"); obj.imageCheckBox123 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox123:setParent(obj.layout49); obj.imageCheckBox123:setLeft(40); obj.imageCheckBox123:setTop(0); obj.imageCheckBox123:setWidth(20); obj.imageCheckBox123:setHeight(20); obj.imageCheckBox123:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox123:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox123:setField("magicCheck_0121"); obj.imageCheckBox123:setName("imageCheckBox123"); obj.imageCheckBox124 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox124:setParent(obj.layout49); obj.imageCheckBox124:setLeft(60); obj.imageCheckBox124:setTop(0); obj.imageCheckBox124:setWidth(20); obj.imageCheckBox124:setHeight(20); obj.imageCheckBox124:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox124:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox124:setField("magicCheck_0131"); obj.imageCheckBox124:setName("imageCheckBox124"); obj.imageCheckBox125 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox125:setParent(obj.layout49); obj.imageCheckBox125:setLeft(80); obj.imageCheckBox125:setTop(0); obj.imageCheckBox125:setWidth(20); obj.imageCheckBox125:setHeight(20); obj.imageCheckBox125:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox125:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox125:setField("magicCheck_0141"); obj.imageCheckBox125:setName("imageCheckBox125"); obj.imageCheckBox126 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox126:setParent(obj.layout49); obj.imageCheckBox126:setLeft(100); obj.imageCheckBox126:setTop(0); obj.imageCheckBox126:setWidth(20); obj.imageCheckBox126:setHeight(20); obj.imageCheckBox126:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox126:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox126:setField("magicCheck_0151"); obj.imageCheckBox126:setName("imageCheckBox126"); obj.imageCheckBox127 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox127:setParent(obj.layout49); obj.imageCheckBox127:setLeft(120); obj.imageCheckBox127:setTop(0); obj.imageCheckBox127:setWidth(20); obj.imageCheckBox127:setHeight(20); obj.imageCheckBox127:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox127:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox127:setField("magicCheck_0161"); obj.imageCheckBox127:setName("imageCheckBox127"); obj.imageCheckBox128 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox128:setParent(obj.layout49); obj.imageCheckBox128:setLeft(140); obj.imageCheckBox128:setTop(0); obj.imageCheckBox128:setWidth(20); obj.imageCheckBox128:setHeight(20); obj.imageCheckBox128:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox128:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox128:setField("magicCheck_0171"); obj.imageCheckBox128:setName("imageCheckBox128"); obj.imageCheckBox129 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox129:setParent(obj.layout49); obj.imageCheckBox129:setLeft(160); obj.imageCheckBox129:setTop(0); obj.imageCheckBox129:setWidth(20); obj.imageCheckBox129:setHeight(20); obj.imageCheckBox129:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox129:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox129:setField("magicCheck_0181"); obj.imageCheckBox129:setName("imageCheckBox129"); obj.imageCheckBox130 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox130:setParent(obj.layout49); obj.imageCheckBox130:setLeft(180); obj.imageCheckBox130:setTop(0); obj.imageCheckBox130:setWidth(20); obj.imageCheckBox130:setHeight(20); obj.imageCheckBox130:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox130:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox130:setField("magicCheck_0191"); obj.imageCheckBox130:setName("imageCheckBox130"); obj.textEditor20 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor20:setParent(obj.layout48); obj.textEditor20:setLeft(36); obj.textEditor20:setTop(86); obj.textEditor20:setWidth(320); obj.textEditor20:setHeight(150); obj.textEditor20:setFontSize(14); obj.textEditor20:setFontColor("#000000"); obj.textEditor20:setTransparent(true); obj.textEditor20:setField("magicDesc_011"); obj.textEditor20:setName("textEditor20"); obj.edit87 = GUI.fromHandle(_obj_newObject("edit")); obj.edit87:setParent(obj.layout48); obj.edit87:setLeft(80); obj.edit87:setTop(242); obj.edit87:setWidth(160); obj.edit87:setHeight(30); obj.edit87:setFontSize(16); obj.edit87:setFontColor("#000000"); obj.edit87:setTransparent(true); obj.edit87:setField("magicName_21"); obj.edit87:setName("edit87"); obj.edit88 = GUI.fromHandle(_obj_newObject("edit")); obj.edit88:setParent(obj.layout48); obj.edit88:setLeft(302); obj.edit88:setTop(242); obj.edit88:setWidth(90); obj.edit88:setHeight(30); obj.edit88:setFontSize(16); obj.edit88:setFontColor("#000000"); obj.edit88:setTransparent(true); obj.edit88:setField("magicTrad_21"); obj.edit88:setName("edit88"); obj.edit89 = GUI.fromHandle(_obj_newObject("edit")); obj.edit89:setParent(obj.layout48); obj.edit89:setLeft(406); obj.edit89:setTop(272); obj.edit89:setWidth(90); obj.edit89:setHeight(30); obj.edit89:setFontSize(16); obj.edit89:setFontColor("#000000"); obj.edit89:setTransparent(true); obj.edit89:setField("magicLevel_21"); obj.edit89:setName("edit89"); obj.edit90 = GUI.fromHandle(_obj_newObject("edit")); obj.edit90:setParent(obj.layout48); obj.edit90:setLeft(370); obj.edit90:setTop(304); obj.edit90:setWidth(90); obj.edit90:setHeight(30); obj.edit90:setFontSize(16); obj.edit90:setFontColor("#000000"); obj.edit90:setTransparent(true); obj.edit90:setField("magicConj_21"); obj.edit90:setName("edit90"); obj.layout50 = GUI.fromHandle(_obj_newObject("layout")); obj.layout50:setParent(obj.layout48); obj.layout50:setLeft(73); obj.layout50:setTop(272); obj.layout50:setWidth(200); obj.layout50:setHeight(20); obj.layout50:setName("layout50"); obj.imageCheckBox131 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox131:setParent(obj.layout50); obj.imageCheckBox131:setLeft(0); obj.imageCheckBox131:setTop(0); obj.imageCheckBox131:setWidth(20); obj.imageCheckBox131:setHeight(20); obj.imageCheckBox131:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox131:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox131:setField("magicCheck_201"); obj.imageCheckBox131:setName("imageCheckBox131"); obj.imageCheckBox132 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox132:setParent(obj.layout50); obj.imageCheckBox132:setLeft(20); obj.imageCheckBox132:setTop(0); obj.imageCheckBox132:setWidth(20); obj.imageCheckBox132:setHeight(20); obj.imageCheckBox132:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox132:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox132:setField("magicCheck_211"); obj.imageCheckBox132:setName("imageCheckBox132"); obj.imageCheckBox133 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox133:setParent(obj.layout50); obj.imageCheckBox133:setLeft(40); obj.imageCheckBox133:setTop(0); obj.imageCheckBox133:setWidth(20); obj.imageCheckBox133:setHeight(20); obj.imageCheckBox133:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox133:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox133:setField("magicCheck_221"); obj.imageCheckBox133:setName("imageCheckBox133"); obj.imageCheckBox134 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox134:setParent(obj.layout50); obj.imageCheckBox134:setLeft(60); obj.imageCheckBox134:setTop(0); obj.imageCheckBox134:setWidth(20); obj.imageCheckBox134:setHeight(20); obj.imageCheckBox134:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox134:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox134:setField("magicCheck_231"); obj.imageCheckBox134:setName("imageCheckBox134"); obj.imageCheckBox135 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox135:setParent(obj.layout50); obj.imageCheckBox135:setLeft(80); obj.imageCheckBox135:setTop(0); obj.imageCheckBox135:setWidth(20); obj.imageCheckBox135:setHeight(20); obj.imageCheckBox135:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox135:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox135:setField("magicCheck_241"); obj.imageCheckBox135:setName("imageCheckBox135"); obj.imageCheckBox136 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox136:setParent(obj.layout50); obj.imageCheckBox136:setLeft(100); obj.imageCheckBox136:setTop(0); obj.imageCheckBox136:setWidth(20); obj.imageCheckBox136:setHeight(20); obj.imageCheckBox136:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox136:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox136:setField("magicCheck_251"); obj.imageCheckBox136:setName("imageCheckBox136"); obj.imageCheckBox137 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox137:setParent(obj.layout50); obj.imageCheckBox137:setLeft(120); obj.imageCheckBox137:setTop(0); obj.imageCheckBox137:setWidth(20); obj.imageCheckBox137:setHeight(20); obj.imageCheckBox137:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox137:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox137:setField("magicCheck_261"); obj.imageCheckBox137:setName("imageCheckBox137"); obj.imageCheckBox138 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox138:setParent(obj.layout50); obj.imageCheckBox138:setLeft(140); obj.imageCheckBox138:setTop(0); obj.imageCheckBox138:setWidth(20); obj.imageCheckBox138:setHeight(20); obj.imageCheckBox138:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox138:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox138:setField("magicCheck_271"); obj.imageCheckBox138:setName("imageCheckBox138"); obj.imageCheckBox139 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox139:setParent(obj.layout50); obj.imageCheckBox139:setLeft(160); obj.imageCheckBox139:setTop(0); obj.imageCheckBox139:setWidth(20); obj.imageCheckBox139:setHeight(20); obj.imageCheckBox139:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox139:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox139:setField("magicCheck_281"); obj.imageCheckBox139:setName("imageCheckBox139"); obj.imageCheckBox140 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox140:setParent(obj.layout50); obj.imageCheckBox140:setLeft(180); obj.imageCheckBox140:setTop(0); obj.imageCheckBox140:setWidth(20); obj.imageCheckBox140:setHeight(20); obj.imageCheckBox140:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox140:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox140:setField("magicCheck_291"); obj.imageCheckBox140:setName("imageCheckBox140"); obj.textEditor21 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor21:setParent(obj.layout48); obj.textEditor21:setLeft(36); obj.textEditor21:setTop(292); obj.textEditor21:setWidth(320); obj.textEditor21:setHeight(150); obj.textEditor21:setFontSize(14); obj.textEditor21:setFontColor("#000000"); obj.textEditor21:setTransparent(true); obj.textEditor21:setField("magicDesc_21"); obj.textEditor21:setName("textEditor21"); obj.edit91 = GUI.fromHandle(_obj_newObject("edit")); obj.edit91:setParent(obj.layout48); obj.edit91:setLeft(80); obj.edit91:setTop(448); obj.edit91:setWidth(160); obj.edit91:setHeight(30); obj.edit91:setFontSize(16); obj.edit91:setFontColor("#000000"); obj.edit91:setTransparent(true); obj.edit91:setField("magicName_31"); obj.edit91:setName("edit91"); obj.edit92 = GUI.fromHandle(_obj_newObject("edit")); obj.edit92:setParent(obj.layout48); obj.edit92:setLeft(302); obj.edit92:setTop(448); obj.edit92:setWidth(90); obj.edit92:setHeight(30); obj.edit92:setFontSize(16); obj.edit92:setFontColor("#000000"); obj.edit92:setTransparent(true); obj.edit92:setField("magicTrad_31"); obj.edit92:setName("edit92"); obj.edit93 = GUI.fromHandle(_obj_newObject("edit")); obj.edit93:setParent(obj.layout48); obj.edit93:setLeft(406); obj.edit93:setTop(478); obj.edit93:setWidth(90); obj.edit93:setHeight(30); obj.edit93:setFontSize(16); obj.edit93:setFontColor("#000000"); obj.edit93:setTransparent(true); obj.edit93:setField("magicLevel_31"); obj.edit93:setName("edit93"); obj.edit94 = GUI.fromHandle(_obj_newObject("edit")); obj.edit94:setParent(obj.layout48); obj.edit94:setLeft(370); obj.edit94:setTop(510); obj.edit94:setWidth(90); obj.edit94:setHeight(30); obj.edit94:setFontSize(16); obj.edit94:setFontColor("#000000"); obj.edit94:setTransparent(true); obj.edit94:setField("magicConj_31"); obj.edit94:setName("edit94"); obj.layout51 = GUI.fromHandle(_obj_newObject("layout")); obj.layout51:setParent(obj.layout48); obj.layout51:setLeft(73); obj.layout51:setTop(478); obj.layout51:setWidth(200); obj.layout51:setHeight(20); obj.layout51:setName("layout51"); obj.imageCheckBox141 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox141:setParent(obj.layout51); obj.imageCheckBox141:setLeft(0); obj.imageCheckBox141:setTop(0); obj.imageCheckBox141:setWidth(20); obj.imageCheckBox141:setHeight(20); obj.imageCheckBox141:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox141:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox141:setField("magicCheck_301"); obj.imageCheckBox141:setName("imageCheckBox141"); obj.imageCheckBox142 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox142:setParent(obj.layout51); obj.imageCheckBox142:setLeft(20); obj.imageCheckBox142:setTop(0); obj.imageCheckBox142:setWidth(20); obj.imageCheckBox142:setHeight(20); obj.imageCheckBox142:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox142:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox142:setField("magicCheck_311"); obj.imageCheckBox142:setName("imageCheckBox142"); obj.imageCheckBox143 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox143:setParent(obj.layout51); obj.imageCheckBox143:setLeft(40); obj.imageCheckBox143:setTop(0); obj.imageCheckBox143:setWidth(20); obj.imageCheckBox143:setHeight(20); obj.imageCheckBox143:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox143:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox143:setField("magicCheck_321"); obj.imageCheckBox143:setName("imageCheckBox143"); obj.imageCheckBox144 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox144:setParent(obj.layout51); obj.imageCheckBox144:setLeft(60); obj.imageCheckBox144:setTop(0); obj.imageCheckBox144:setWidth(20); obj.imageCheckBox144:setHeight(20); obj.imageCheckBox144:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox144:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox144:setField("magicCheck_331"); obj.imageCheckBox144:setName("imageCheckBox144"); obj.imageCheckBox145 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox145:setParent(obj.layout51); obj.imageCheckBox145:setLeft(80); obj.imageCheckBox145:setTop(0); obj.imageCheckBox145:setWidth(20); obj.imageCheckBox145:setHeight(20); obj.imageCheckBox145:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox145:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox145:setField("magicCheck_341"); obj.imageCheckBox145:setName("imageCheckBox145"); obj.imageCheckBox146 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox146:setParent(obj.layout51); obj.imageCheckBox146:setLeft(100); obj.imageCheckBox146:setTop(0); obj.imageCheckBox146:setWidth(20); obj.imageCheckBox146:setHeight(20); obj.imageCheckBox146:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox146:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox146:setField("magicCheck_351"); obj.imageCheckBox146:setName("imageCheckBox146"); obj.imageCheckBox147 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox147:setParent(obj.layout51); obj.imageCheckBox147:setLeft(120); obj.imageCheckBox147:setTop(0); obj.imageCheckBox147:setWidth(20); obj.imageCheckBox147:setHeight(20); obj.imageCheckBox147:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox147:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox147:setField("magicCheck_361"); obj.imageCheckBox147:setName("imageCheckBox147"); obj.imageCheckBox148 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox148:setParent(obj.layout51); obj.imageCheckBox148:setLeft(140); obj.imageCheckBox148:setTop(0); obj.imageCheckBox148:setWidth(20); obj.imageCheckBox148:setHeight(20); obj.imageCheckBox148:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox148:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox148:setField("magicCheck_371"); obj.imageCheckBox148:setName("imageCheckBox148"); obj.imageCheckBox149 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox149:setParent(obj.layout51); obj.imageCheckBox149:setLeft(160); obj.imageCheckBox149:setTop(0); obj.imageCheckBox149:setWidth(20); obj.imageCheckBox149:setHeight(20); obj.imageCheckBox149:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox149:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox149:setField("magicCheck_381"); obj.imageCheckBox149:setName("imageCheckBox149"); obj.imageCheckBox150 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox150:setParent(obj.layout51); obj.imageCheckBox150:setLeft(180); obj.imageCheckBox150:setTop(0); obj.imageCheckBox150:setWidth(20); obj.imageCheckBox150:setHeight(20); obj.imageCheckBox150:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox150:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox150:setField("magicCheck_391"); obj.imageCheckBox150:setName("imageCheckBox150"); obj.textEditor22 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor22:setParent(obj.layout48); obj.textEditor22:setLeft(36); obj.textEditor22:setTop(498); obj.textEditor22:setWidth(320); obj.textEditor22:setHeight(150); obj.textEditor22:setFontSize(14); obj.textEditor22:setFontColor("#000000"); obj.textEditor22:setTransparent(true); obj.textEditor22:setField("magicDesc_31"); obj.textEditor22:setName("textEditor22"); obj.edit95 = GUI.fromHandle(_obj_newObject("edit")); obj.edit95:setParent(obj.layout48); obj.edit95:setLeft(80); obj.edit95:setTop(670); obj.edit95:setWidth(160); obj.edit95:setHeight(30); obj.edit95:setFontSize(16); obj.edit95:setFontColor("#000000"); obj.edit95:setTransparent(true); obj.edit95:setField("magicName_41"); obj.edit95:setName("edit95"); obj.edit96 = GUI.fromHandle(_obj_newObject("edit")); obj.edit96:setParent(obj.layout48); obj.edit96:setLeft(302); obj.edit96:setTop(670); obj.edit96:setWidth(90); obj.edit96:setHeight(30); obj.edit96:setFontSize(16); obj.edit96:setFontColor("#000000"); obj.edit96:setTransparent(true); obj.edit96:setField("magicTrad_41"); obj.edit96:setName("edit96"); obj.edit97 = GUI.fromHandle(_obj_newObject("edit")); obj.edit97:setParent(obj.layout48); obj.edit97:setLeft(406); obj.edit97:setTop(700); obj.edit97:setWidth(90); obj.edit97:setHeight(30); obj.edit97:setFontSize(16); obj.edit97:setFontColor("#000000"); obj.edit97:setTransparent(true); obj.edit97:setField("magicLevel_41"); obj.edit97:setName("edit97"); obj.edit98 = GUI.fromHandle(_obj_newObject("edit")); obj.edit98:setParent(obj.layout48); obj.edit98:setLeft(370); obj.edit98:setTop(732); obj.edit98:setWidth(90); obj.edit98:setHeight(30); obj.edit98:setFontSize(16); obj.edit98:setFontColor("#000000"); obj.edit98:setTransparent(true); obj.edit98:setField("magicConj_41"); obj.edit98:setName("edit98"); obj.layout52 = GUI.fromHandle(_obj_newObject("layout")); obj.layout52:setParent(obj.layout48); obj.layout52:setLeft(73); obj.layout52:setTop(700); obj.layout52:setWidth(200); obj.layout52:setHeight(20); obj.layout52:setName("layout52"); obj.imageCheckBox151 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox151:setParent(obj.layout52); obj.imageCheckBox151:setLeft(0); obj.imageCheckBox151:setTop(0); obj.imageCheckBox151:setWidth(20); obj.imageCheckBox151:setHeight(20); obj.imageCheckBox151:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox151:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox151:setField("magicCheck_401"); obj.imageCheckBox151:setName("imageCheckBox151"); obj.imageCheckBox152 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox152:setParent(obj.layout52); obj.imageCheckBox152:setLeft(20); obj.imageCheckBox152:setTop(0); obj.imageCheckBox152:setWidth(20); obj.imageCheckBox152:setHeight(20); obj.imageCheckBox152:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox152:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox152:setField("magicCheck_411"); obj.imageCheckBox152:setName("imageCheckBox152"); obj.imageCheckBox153 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox153:setParent(obj.layout52); obj.imageCheckBox153:setLeft(40); obj.imageCheckBox153:setTop(0); obj.imageCheckBox153:setWidth(20); obj.imageCheckBox153:setHeight(20); obj.imageCheckBox153:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox153:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox153:setField("magicCheck_421"); obj.imageCheckBox153:setName("imageCheckBox153"); obj.imageCheckBox154 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox154:setParent(obj.layout52); obj.imageCheckBox154:setLeft(60); obj.imageCheckBox154:setTop(0); obj.imageCheckBox154:setWidth(20); obj.imageCheckBox154:setHeight(20); obj.imageCheckBox154:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox154:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox154:setField("magicCheck_431"); obj.imageCheckBox154:setName("imageCheckBox154"); obj.imageCheckBox155 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox155:setParent(obj.layout52); obj.imageCheckBox155:setLeft(80); obj.imageCheckBox155:setTop(0); obj.imageCheckBox155:setWidth(20); obj.imageCheckBox155:setHeight(20); obj.imageCheckBox155:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox155:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox155:setField("magicCheck_441"); obj.imageCheckBox155:setName("imageCheckBox155"); obj.imageCheckBox156 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox156:setParent(obj.layout52); obj.imageCheckBox156:setLeft(100); obj.imageCheckBox156:setTop(0); obj.imageCheckBox156:setWidth(20); obj.imageCheckBox156:setHeight(20); obj.imageCheckBox156:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox156:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox156:setField("magicCheck_451"); obj.imageCheckBox156:setName("imageCheckBox156"); obj.imageCheckBox157 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox157:setParent(obj.layout52); obj.imageCheckBox157:setLeft(120); obj.imageCheckBox157:setTop(0); obj.imageCheckBox157:setWidth(20); obj.imageCheckBox157:setHeight(20); obj.imageCheckBox157:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox157:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox157:setField("magicCheck_461"); obj.imageCheckBox157:setName("imageCheckBox157"); obj.imageCheckBox158 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox158:setParent(obj.layout52); obj.imageCheckBox158:setLeft(140); obj.imageCheckBox158:setTop(0); obj.imageCheckBox158:setWidth(20); obj.imageCheckBox158:setHeight(20); obj.imageCheckBox158:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox158:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox158:setField("magicCheck_471"); obj.imageCheckBox158:setName("imageCheckBox158"); obj.imageCheckBox159 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox159:setParent(obj.layout52); obj.imageCheckBox159:setLeft(160); obj.imageCheckBox159:setTop(0); obj.imageCheckBox159:setWidth(20); obj.imageCheckBox159:setHeight(20); obj.imageCheckBox159:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox159:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox159:setField("magicCheck_481"); obj.imageCheckBox159:setName("imageCheckBox159"); obj.imageCheckBox160 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox160:setParent(obj.layout52); obj.imageCheckBox160:setLeft(180); obj.imageCheckBox160:setTop(0); obj.imageCheckBox160:setWidth(20); obj.imageCheckBox160:setHeight(20); obj.imageCheckBox160:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox160:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox160:setField("magicCheck_491"); obj.imageCheckBox160:setName("imageCheckBox160"); obj.textEditor23 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor23:setParent(obj.layout48); obj.textEditor23:setLeft(36); obj.textEditor23:setTop(720); obj.textEditor23:setWidth(320); obj.textEditor23:setHeight(150); obj.textEditor23:setFontSize(14); obj.textEditor23:setFontColor("#000000"); obj.textEditor23:setTransparent(true); obj.textEditor23:setField("magicDesc_41"); obj.textEditor23:setName("textEditor23"); obj.edit99 = GUI.fromHandle(_obj_newObject("edit")); obj.edit99:setParent(obj.layout48); obj.edit99:setLeft(80); obj.edit99:setTop(856); obj.edit99:setWidth(160); obj.edit99:setHeight(30); obj.edit99:setFontSize(16); obj.edit99:setFontColor("#000000"); obj.edit99:setTransparent(true); obj.edit99:setField("magicName_51"); obj.edit99:setName("edit99"); obj.edit100 = GUI.fromHandle(_obj_newObject("edit")); obj.edit100:setParent(obj.layout48); obj.edit100:setLeft(302); obj.edit100:setTop(856); obj.edit100:setWidth(90); obj.edit100:setHeight(30); obj.edit100:setFontSize(16); obj.edit100:setFontColor("#000000"); obj.edit100:setTransparent(true); obj.edit100:setField("magicTrad_51"); obj.edit100:setName("edit100"); obj.edit101 = GUI.fromHandle(_obj_newObject("edit")); obj.edit101:setParent(obj.layout48); obj.edit101:setLeft(406); obj.edit101:setTop(886); obj.edit101:setWidth(90); obj.edit101:setHeight(30); obj.edit101:setFontSize(16); obj.edit101:setFontColor("#000000"); obj.edit101:setTransparent(true); obj.edit101:setField("magicLevel_51"); obj.edit101:setName("edit101"); obj.edit102 = GUI.fromHandle(_obj_newObject("edit")); obj.edit102:setParent(obj.layout48); obj.edit102:setLeft(370); obj.edit102:setTop(918); obj.edit102:setWidth(90); obj.edit102:setHeight(30); obj.edit102:setFontSize(16); obj.edit102:setFontColor("#000000"); obj.edit102:setTransparent(true); obj.edit102:setField("magicConj_51"); obj.edit102:setName("edit102"); obj.layout53 = GUI.fromHandle(_obj_newObject("layout")); obj.layout53:setParent(obj.layout48); obj.layout53:setLeft(73); obj.layout53:setTop(886); obj.layout53:setWidth(200); obj.layout53:setHeight(20); obj.layout53:setName("layout53"); obj.imageCheckBox161 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox161:setParent(obj.layout53); obj.imageCheckBox161:setLeft(0); obj.imageCheckBox161:setTop(0); obj.imageCheckBox161:setWidth(20); obj.imageCheckBox161:setHeight(20); obj.imageCheckBox161:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox161:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox161:setField("magicCheck_501"); obj.imageCheckBox161:setName("imageCheckBox161"); obj.imageCheckBox162 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox162:setParent(obj.layout53); obj.imageCheckBox162:setLeft(20); obj.imageCheckBox162:setTop(0); obj.imageCheckBox162:setWidth(20); obj.imageCheckBox162:setHeight(20); obj.imageCheckBox162:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox162:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox162:setField("magicCheck_511"); obj.imageCheckBox162:setName("imageCheckBox162"); obj.imageCheckBox163 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox163:setParent(obj.layout53); obj.imageCheckBox163:setLeft(40); obj.imageCheckBox163:setTop(0); obj.imageCheckBox163:setWidth(20); obj.imageCheckBox163:setHeight(20); obj.imageCheckBox163:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox163:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox163:setField("magicCheck_521"); obj.imageCheckBox163:setName("imageCheckBox163"); obj.imageCheckBox164 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox164:setParent(obj.layout53); obj.imageCheckBox164:setLeft(60); obj.imageCheckBox164:setTop(0); obj.imageCheckBox164:setWidth(20); obj.imageCheckBox164:setHeight(20); obj.imageCheckBox164:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox164:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox164:setField("magicCheck_531"); obj.imageCheckBox164:setName("imageCheckBox164"); obj.imageCheckBox165 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox165:setParent(obj.layout53); obj.imageCheckBox165:setLeft(80); obj.imageCheckBox165:setTop(0); obj.imageCheckBox165:setWidth(20); obj.imageCheckBox165:setHeight(20); obj.imageCheckBox165:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox165:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox165:setField("magicCheck_541"); obj.imageCheckBox165:setName("imageCheckBox165"); obj.imageCheckBox166 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox166:setParent(obj.layout53); obj.imageCheckBox166:setLeft(100); obj.imageCheckBox166:setTop(0); obj.imageCheckBox166:setWidth(20); obj.imageCheckBox166:setHeight(20); obj.imageCheckBox166:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox166:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox166:setField("magicCheck_551"); obj.imageCheckBox166:setName("imageCheckBox166"); obj.imageCheckBox167 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox167:setParent(obj.layout53); obj.imageCheckBox167:setLeft(120); obj.imageCheckBox167:setTop(0); obj.imageCheckBox167:setWidth(20); obj.imageCheckBox167:setHeight(20); obj.imageCheckBox167:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox167:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox167:setField("magicCheck_561"); obj.imageCheckBox167:setName("imageCheckBox167"); obj.imageCheckBox168 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox168:setParent(obj.layout53); obj.imageCheckBox168:setLeft(140); obj.imageCheckBox168:setTop(0); obj.imageCheckBox168:setWidth(20); obj.imageCheckBox168:setHeight(20); obj.imageCheckBox168:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox168:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox168:setField("magicCheck_571"); obj.imageCheckBox168:setName("imageCheckBox168"); obj.imageCheckBox169 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox169:setParent(obj.layout53); obj.imageCheckBox169:setLeft(160); obj.imageCheckBox169:setTop(0); obj.imageCheckBox169:setWidth(20); obj.imageCheckBox169:setHeight(20); obj.imageCheckBox169:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox169:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox169:setField("magicCheck_581"); obj.imageCheckBox169:setName("imageCheckBox169"); obj.imageCheckBox170 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox170:setParent(obj.layout53); obj.imageCheckBox170:setLeft(180); obj.imageCheckBox170:setTop(0); obj.imageCheckBox170:setWidth(20); obj.imageCheckBox170:setHeight(20); obj.imageCheckBox170:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox170:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox170:setField("magicCheck_591"); obj.imageCheckBox170:setName("imageCheckBox170"); obj.textEditor24 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor24:setParent(obj.layout48); obj.textEditor24:setLeft(36); obj.textEditor24:setTop(906); obj.textEditor24:setWidth(320); obj.textEditor24:setHeight(150); obj.textEditor24:setFontSize(14); obj.textEditor24:setFontColor("#000000"); obj.textEditor24:setTransparent(true); obj.textEditor24:setField("magicDesc_51"); obj.textEditor24:setName("textEditor24"); obj.edit103 = GUI.fromHandle(_obj_newObject("edit")); obj.edit103:setParent(obj.layout48); obj.edit103:setLeft(80); obj.edit103:setTop(1056); obj.edit103:setWidth(160); obj.edit103:setHeight(30); obj.edit103:setFontSize(16); obj.edit103:setFontColor("#000000"); obj.edit103:setTransparent(true); obj.edit103:setField("magicName_61"); obj.edit103:setName("edit103"); obj.edit104 = GUI.fromHandle(_obj_newObject("edit")); obj.edit104:setParent(obj.layout48); obj.edit104:setLeft(302); obj.edit104:setTop(1056); obj.edit104:setWidth(90); obj.edit104:setHeight(30); obj.edit104:setFontSize(16); obj.edit104:setFontColor("#000000"); obj.edit104:setTransparent(true); obj.edit104:setField("magicTrad_61"); obj.edit104:setName("edit104"); obj.edit105 = GUI.fromHandle(_obj_newObject("edit")); obj.edit105:setParent(obj.layout48); obj.edit105:setLeft(406); obj.edit105:setTop(1086); obj.edit105:setWidth(90); obj.edit105:setHeight(30); obj.edit105:setFontSize(16); obj.edit105:setFontColor("#000000"); obj.edit105:setTransparent(true); obj.edit105:setField("magicLevel_61"); obj.edit105:setName("edit105"); obj.edit106 = GUI.fromHandle(_obj_newObject("edit")); obj.edit106:setParent(obj.layout48); obj.edit106:setLeft(370); obj.edit106:setTop(1118); obj.edit106:setWidth(90); obj.edit106:setHeight(30); obj.edit106:setFontSize(16); obj.edit106:setFontColor("#000000"); obj.edit106:setTransparent(true); obj.edit106:setField("magicConj_61"); obj.edit106:setName("edit106"); obj.layout54 = GUI.fromHandle(_obj_newObject("layout")); obj.layout54:setParent(obj.layout48); obj.layout54:setLeft(73); obj.layout54:setTop(1086); obj.layout54:setWidth(200); obj.layout54:setHeight(20); obj.layout54:setName("layout54"); obj.imageCheckBox171 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox171:setParent(obj.layout54); obj.imageCheckBox171:setLeft(0); obj.imageCheckBox171:setTop(0); obj.imageCheckBox171:setWidth(20); obj.imageCheckBox171:setHeight(20); obj.imageCheckBox171:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox171:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox171:setField("magicCheck_601"); obj.imageCheckBox171:setName("imageCheckBox171"); obj.imageCheckBox172 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox172:setParent(obj.layout54); obj.imageCheckBox172:setLeft(20); obj.imageCheckBox172:setTop(0); obj.imageCheckBox172:setWidth(20); obj.imageCheckBox172:setHeight(20); obj.imageCheckBox172:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox172:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox172:setField("magicCheck_611"); obj.imageCheckBox172:setName("imageCheckBox172"); obj.imageCheckBox173 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox173:setParent(obj.layout54); obj.imageCheckBox173:setLeft(40); obj.imageCheckBox173:setTop(0); obj.imageCheckBox173:setWidth(20); obj.imageCheckBox173:setHeight(20); obj.imageCheckBox173:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox173:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox173:setField("magicCheck_621"); obj.imageCheckBox173:setName("imageCheckBox173"); obj.imageCheckBox174 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox174:setParent(obj.layout54); obj.imageCheckBox174:setLeft(60); obj.imageCheckBox174:setTop(0); obj.imageCheckBox174:setWidth(20); obj.imageCheckBox174:setHeight(20); obj.imageCheckBox174:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox174:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox174:setField("magicCheck_631"); obj.imageCheckBox174:setName("imageCheckBox174"); obj.imageCheckBox175 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox175:setParent(obj.layout54); obj.imageCheckBox175:setLeft(80); obj.imageCheckBox175:setTop(0); obj.imageCheckBox175:setWidth(20); obj.imageCheckBox175:setHeight(20); obj.imageCheckBox175:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox175:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox175:setField("magicCheck_641"); obj.imageCheckBox175:setName("imageCheckBox175"); obj.imageCheckBox176 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox176:setParent(obj.layout54); obj.imageCheckBox176:setLeft(100); obj.imageCheckBox176:setTop(0); obj.imageCheckBox176:setWidth(20); obj.imageCheckBox176:setHeight(20); obj.imageCheckBox176:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox176:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox176:setField("magicCheck_651"); obj.imageCheckBox176:setName("imageCheckBox176"); obj.imageCheckBox177 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox177:setParent(obj.layout54); obj.imageCheckBox177:setLeft(120); obj.imageCheckBox177:setTop(0); obj.imageCheckBox177:setWidth(20); obj.imageCheckBox177:setHeight(20); obj.imageCheckBox177:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox177:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox177:setField("magicCheck_661"); obj.imageCheckBox177:setName("imageCheckBox177"); obj.imageCheckBox178 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox178:setParent(obj.layout54); obj.imageCheckBox178:setLeft(140); obj.imageCheckBox178:setTop(0); obj.imageCheckBox178:setWidth(20); obj.imageCheckBox178:setHeight(20); obj.imageCheckBox178:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox178:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox178:setField("magicCheck_671"); obj.imageCheckBox178:setName("imageCheckBox178"); obj.imageCheckBox179 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox179:setParent(obj.layout54); obj.imageCheckBox179:setLeft(160); obj.imageCheckBox179:setTop(0); obj.imageCheckBox179:setWidth(20); obj.imageCheckBox179:setHeight(20); obj.imageCheckBox179:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox179:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox179:setField("magicCheck_681"); obj.imageCheckBox179:setName("imageCheckBox179"); obj.imageCheckBox180 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox180:setParent(obj.layout54); obj.imageCheckBox180:setLeft(180); obj.imageCheckBox180:setTop(0); obj.imageCheckBox180:setWidth(20); obj.imageCheckBox180:setHeight(20); obj.imageCheckBox180:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox180:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox180:setField("magicCheck_691"); obj.imageCheckBox180:setName("imageCheckBox180"); obj.textEditor25 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor25:setParent(obj.layout48); obj.textEditor25:setLeft(36); obj.textEditor25:setTop(1106); obj.textEditor25:setWidth(320); obj.textEditor25:setHeight(150); obj.textEditor25:setFontSize(14); obj.textEditor25:setFontColor("#000000"); obj.textEditor25:setTransparent(true); obj.textEditor25:setField("magicDesc_61"); obj.textEditor25:setName("textEditor25"); obj.layout55 = GUI.fromHandle(_obj_newObject("layout")); obj.layout55:setParent(obj.rectangle3); obj.layout55:setLeft(427); obj.layout55:setTop(0); obj.layout55:setWidth(447); obj.layout55:setHeight(1263); obj.layout55:setName("layout55"); obj.edit107 = GUI.fromHandle(_obj_newObject("edit")); obj.edit107:setParent(obj.layout55); obj.edit107:setLeft(80); obj.edit107:setTop(36); obj.edit107:setWidth(160); obj.edit107:setHeight(30); obj.edit107:setFontSize(16); obj.edit107:setFontColor("#000000"); obj.edit107:setTransparent(true); obj.edit107:setField("magicName_71"); obj.edit107:setName("edit107"); obj.edit108 = GUI.fromHandle(_obj_newObject("edit")); obj.edit108:setParent(obj.layout55); obj.edit108:setLeft(302); obj.edit108:setTop(36); obj.edit108:setWidth(90); obj.edit108:setHeight(30); obj.edit108:setFontSize(16); obj.edit108:setFontColor("#000000"); obj.edit108:setTransparent(true); obj.edit108:setField("magicTrad_71"); obj.edit108:setName("edit108"); obj.edit109 = GUI.fromHandle(_obj_newObject("edit")); obj.edit109:setParent(obj.layout55); obj.edit109:setLeft(406); obj.edit109:setTop(66); obj.edit109:setWidth(90); obj.edit109:setHeight(30); obj.edit109:setFontSize(16); obj.edit109:setFontColor("#000000"); obj.edit109:setTransparent(true); obj.edit109:setField("magicLevel_71"); obj.edit109:setName("edit109"); obj.edit110 = GUI.fromHandle(_obj_newObject("edit")); obj.edit110:setParent(obj.layout55); obj.edit110:setLeft(370); obj.edit110:setTop(98); obj.edit110:setWidth(90); obj.edit110:setHeight(30); obj.edit110:setFontSize(16); obj.edit110:setFontColor("#000000"); obj.edit110:setTransparent(true); obj.edit110:setField("magicConj_71"); obj.edit110:setName("edit110"); obj.layout56 = GUI.fromHandle(_obj_newObject("layout")); obj.layout56:setParent(obj.layout55); obj.layout56:setLeft(73); obj.layout56:setTop(66); obj.layout56:setWidth(200); obj.layout56:setHeight(20); obj.layout56:setName("layout56"); obj.imageCheckBox181 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox181:setParent(obj.layout56); obj.imageCheckBox181:setLeft(0); obj.imageCheckBox181:setTop(0); obj.imageCheckBox181:setWidth(20); obj.imageCheckBox181:setHeight(20); obj.imageCheckBox181:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox181:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox181:setField("magicCheck_701"); obj.imageCheckBox181:setName("imageCheckBox181"); obj.imageCheckBox182 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox182:setParent(obj.layout56); obj.imageCheckBox182:setLeft(20); obj.imageCheckBox182:setTop(0); obj.imageCheckBox182:setWidth(20); obj.imageCheckBox182:setHeight(20); obj.imageCheckBox182:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox182:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox182:setField("magicCheck_711"); obj.imageCheckBox182:setName("imageCheckBox182"); obj.imageCheckBox183 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox183:setParent(obj.layout56); obj.imageCheckBox183:setLeft(40); obj.imageCheckBox183:setTop(0); obj.imageCheckBox183:setWidth(20); obj.imageCheckBox183:setHeight(20); obj.imageCheckBox183:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox183:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox183:setField("magicCheck_721"); obj.imageCheckBox183:setName("imageCheckBox183"); obj.imageCheckBox184 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox184:setParent(obj.layout56); obj.imageCheckBox184:setLeft(60); obj.imageCheckBox184:setTop(0); obj.imageCheckBox184:setWidth(20); obj.imageCheckBox184:setHeight(20); obj.imageCheckBox184:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox184:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox184:setField("magicCheck_731"); obj.imageCheckBox184:setName("imageCheckBox184"); obj.imageCheckBox185 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox185:setParent(obj.layout56); obj.imageCheckBox185:setLeft(80); obj.imageCheckBox185:setTop(0); obj.imageCheckBox185:setWidth(20); obj.imageCheckBox185:setHeight(20); obj.imageCheckBox185:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox185:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox185:setField("magicCheck_741"); obj.imageCheckBox185:setName("imageCheckBox185"); obj.imageCheckBox186 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox186:setParent(obj.layout56); obj.imageCheckBox186:setLeft(100); obj.imageCheckBox186:setTop(0); obj.imageCheckBox186:setWidth(20); obj.imageCheckBox186:setHeight(20); obj.imageCheckBox186:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox186:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox186:setField("magicCheck_751"); obj.imageCheckBox186:setName("imageCheckBox186"); obj.imageCheckBox187 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox187:setParent(obj.layout56); obj.imageCheckBox187:setLeft(120); obj.imageCheckBox187:setTop(0); obj.imageCheckBox187:setWidth(20); obj.imageCheckBox187:setHeight(20); obj.imageCheckBox187:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox187:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox187:setField("magicCheck_761"); obj.imageCheckBox187:setName("imageCheckBox187"); obj.imageCheckBox188 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox188:setParent(obj.layout56); obj.imageCheckBox188:setLeft(140); obj.imageCheckBox188:setTop(0); obj.imageCheckBox188:setWidth(20); obj.imageCheckBox188:setHeight(20); obj.imageCheckBox188:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox188:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox188:setField("magicCheck_771"); obj.imageCheckBox188:setName("imageCheckBox188"); obj.imageCheckBox189 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox189:setParent(obj.layout56); obj.imageCheckBox189:setLeft(160); obj.imageCheckBox189:setTop(0); obj.imageCheckBox189:setWidth(20); obj.imageCheckBox189:setHeight(20); obj.imageCheckBox189:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox189:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox189:setField("magicCheck_781"); obj.imageCheckBox189:setName("imageCheckBox189"); obj.imageCheckBox190 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox190:setParent(obj.layout56); obj.imageCheckBox190:setLeft(180); obj.imageCheckBox190:setTop(0); obj.imageCheckBox190:setWidth(20); obj.imageCheckBox190:setHeight(20); obj.imageCheckBox190:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox190:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox190:setField("magicCheck_791"); obj.imageCheckBox190:setName("imageCheckBox190"); obj.textEditor26 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor26:setParent(obj.layout55); obj.textEditor26:setLeft(36); obj.textEditor26:setTop(86); obj.textEditor26:setWidth(320); obj.textEditor26:setHeight(150); obj.textEditor26:setFontSize(14); obj.textEditor26:setFontColor("#000000"); obj.textEditor26:setTransparent(true); obj.textEditor26:setField("magicDesc_71"); obj.textEditor26:setName("textEditor26"); obj.edit111 = GUI.fromHandle(_obj_newObject("edit")); obj.edit111:setParent(obj.layout55); obj.edit111:setLeft(80); obj.edit111:setTop(242); obj.edit111:setWidth(160); obj.edit111:setHeight(30); obj.edit111:setFontSize(16); obj.edit111:setFontColor("#000000"); obj.edit111:setTransparent(true); obj.edit111:setField("magicName_81"); obj.edit111:setName("edit111"); obj.edit112 = GUI.fromHandle(_obj_newObject("edit")); obj.edit112:setParent(obj.layout55); obj.edit112:setLeft(302); obj.edit112:setTop(242); obj.edit112:setWidth(90); obj.edit112:setHeight(30); obj.edit112:setFontSize(16); obj.edit112:setFontColor("#000000"); obj.edit112:setTransparent(true); obj.edit112:setField("magicTrad_81"); obj.edit112:setName("edit112"); obj.edit113 = GUI.fromHandle(_obj_newObject("edit")); obj.edit113:setParent(obj.layout55); obj.edit113:setLeft(406); obj.edit113:setTop(272); obj.edit113:setWidth(90); obj.edit113:setHeight(30); obj.edit113:setFontSize(16); obj.edit113:setFontColor("#000000"); obj.edit113:setTransparent(true); obj.edit113:setField("magicLevel_81"); obj.edit113:setName("edit113"); obj.edit114 = GUI.fromHandle(_obj_newObject("edit")); obj.edit114:setParent(obj.layout55); obj.edit114:setLeft(370); obj.edit114:setTop(304); obj.edit114:setWidth(90); obj.edit114:setHeight(30); obj.edit114:setFontSize(16); obj.edit114:setFontColor("#000000"); obj.edit114:setTransparent(true); obj.edit114:setField("magicConj_81"); obj.edit114:setName("edit114"); obj.layout57 = GUI.fromHandle(_obj_newObject("layout")); obj.layout57:setParent(obj.layout55); obj.layout57:setLeft(73); obj.layout57:setTop(272); obj.layout57:setWidth(200); obj.layout57:setHeight(20); obj.layout57:setName("layout57"); obj.imageCheckBox191 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox191:setParent(obj.layout57); obj.imageCheckBox191:setLeft(0); obj.imageCheckBox191:setTop(0); obj.imageCheckBox191:setWidth(20); obj.imageCheckBox191:setHeight(20); obj.imageCheckBox191:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox191:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox191:setField("magicCheck_801"); obj.imageCheckBox191:setName("imageCheckBox191"); obj.imageCheckBox192 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox192:setParent(obj.layout57); obj.imageCheckBox192:setLeft(20); obj.imageCheckBox192:setTop(0); obj.imageCheckBox192:setWidth(20); obj.imageCheckBox192:setHeight(20); obj.imageCheckBox192:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox192:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox192:setField("magicCheck_811"); obj.imageCheckBox192:setName("imageCheckBox192"); obj.imageCheckBox193 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox193:setParent(obj.layout57); obj.imageCheckBox193:setLeft(40); obj.imageCheckBox193:setTop(0); obj.imageCheckBox193:setWidth(20); obj.imageCheckBox193:setHeight(20); obj.imageCheckBox193:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox193:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox193:setField("magicCheck_821"); obj.imageCheckBox193:setName("imageCheckBox193"); obj.imageCheckBox194 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox194:setParent(obj.layout57); obj.imageCheckBox194:setLeft(60); obj.imageCheckBox194:setTop(0); obj.imageCheckBox194:setWidth(20); obj.imageCheckBox194:setHeight(20); obj.imageCheckBox194:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox194:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox194:setField("magicCheck_831"); obj.imageCheckBox194:setName("imageCheckBox194"); obj.imageCheckBox195 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox195:setParent(obj.layout57); obj.imageCheckBox195:setLeft(80); obj.imageCheckBox195:setTop(0); obj.imageCheckBox195:setWidth(20); obj.imageCheckBox195:setHeight(20); obj.imageCheckBox195:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox195:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox195:setField("magicCheck_841"); obj.imageCheckBox195:setName("imageCheckBox195"); obj.imageCheckBox196 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox196:setParent(obj.layout57); obj.imageCheckBox196:setLeft(100); obj.imageCheckBox196:setTop(0); obj.imageCheckBox196:setWidth(20); obj.imageCheckBox196:setHeight(20); obj.imageCheckBox196:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox196:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox196:setField("magicCheck_851"); obj.imageCheckBox196:setName("imageCheckBox196"); obj.imageCheckBox197 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox197:setParent(obj.layout57); obj.imageCheckBox197:setLeft(120); obj.imageCheckBox197:setTop(0); obj.imageCheckBox197:setWidth(20); obj.imageCheckBox197:setHeight(20); obj.imageCheckBox197:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox197:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox197:setField("magicCheck_861"); obj.imageCheckBox197:setName("imageCheckBox197"); obj.imageCheckBox198 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox198:setParent(obj.layout57); obj.imageCheckBox198:setLeft(140); obj.imageCheckBox198:setTop(0); obj.imageCheckBox198:setWidth(20); obj.imageCheckBox198:setHeight(20); obj.imageCheckBox198:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox198:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox198:setField("magicCheck_871"); obj.imageCheckBox198:setName("imageCheckBox198"); obj.imageCheckBox199 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox199:setParent(obj.layout57); obj.imageCheckBox199:setLeft(160); obj.imageCheckBox199:setTop(0); obj.imageCheckBox199:setWidth(20); obj.imageCheckBox199:setHeight(20); obj.imageCheckBox199:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox199:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox199:setField("magicCheck_881"); obj.imageCheckBox199:setName("imageCheckBox199"); obj.imageCheckBox200 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox200:setParent(obj.layout57); obj.imageCheckBox200:setLeft(180); obj.imageCheckBox200:setTop(0); obj.imageCheckBox200:setWidth(20); obj.imageCheckBox200:setHeight(20); obj.imageCheckBox200:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox200:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox200:setField("magicCheck_891"); obj.imageCheckBox200:setName("imageCheckBox200"); obj.textEditor27 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor27:setParent(obj.layout55); obj.textEditor27:setLeft(36); obj.textEditor27:setTop(292); obj.textEditor27:setWidth(320); obj.textEditor27:setHeight(150); obj.textEditor27:setFontSize(14); obj.textEditor27:setFontColor("#000000"); obj.textEditor27:setTransparent(true); obj.textEditor27:setField("magicDesc_81"); obj.textEditor27:setName("textEditor27"); obj.edit115 = GUI.fromHandle(_obj_newObject("edit")); obj.edit115:setParent(obj.layout55); obj.edit115:setLeft(80); obj.edit115:setTop(448); obj.edit115:setWidth(160); obj.edit115:setHeight(30); obj.edit115:setFontSize(16); obj.edit115:setFontColor("#000000"); obj.edit115:setTransparent(true); obj.edit115:setField("magicName_91"); obj.edit115:setName("edit115"); obj.edit116 = GUI.fromHandle(_obj_newObject("edit")); obj.edit116:setParent(obj.layout55); obj.edit116:setLeft(302); obj.edit116:setTop(448); obj.edit116:setWidth(90); obj.edit116:setHeight(30); obj.edit116:setFontSize(16); obj.edit116:setFontColor("#000000"); obj.edit116:setTransparent(true); obj.edit116:setField("magicTrad_91"); obj.edit116:setName("edit116"); obj.edit117 = GUI.fromHandle(_obj_newObject("edit")); obj.edit117:setParent(obj.layout55); obj.edit117:setLeft(406); obj.edit117:setTop(478); obj.edit117:setWidth(90); obj.edit117:setHeight(30); obj.edit117:setFontSize(16); obj.edit117:setFontColor("#000000"); obj.edit117:setTransparent(true); obj.edit117:setField("magicLevel_91"); obj.edit117:setName("edit117"); obj.edit118 = GUI.fromHandle(_obj_newObject("edit")); obj.edit118:setParent(obj.layout55); obj.edit118:setLeft(370); obj.edit118:setTop(510); obj.edit118:setWidth(90); obj.edit118:setHeight(30); obj.edit118:setFontSize(16); obj.edit118:setFontColor("#000000"); obj.edit118:setTransparent(true); obj.edit118:setField("magicConj_91"); obj.edit118:setName("edit118"); obj.layout58 = GUI.fromHandle(_obj_newObject("layout")); obj.layout58:setParent(obj.layout55); obj.layout58:setLeft(73); obj.layout58:setTop(478); obj.layout58:setWidth(200); obj.layout58:setHeight(20); obj.layout58:setName("layout58"); obj.imageCheckBox201 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox201:setParent(obj.layout58); obj.imageCheckBox201:setLeft(0); obj.imageCheckBox201:setTop(0); obj.imageCheckBox201:setWidth(20); obj.imageCheckBox201:setHeight(20); obj.imageCheckBox201:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox201:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox201:setField("magicCheck_901"); obj.imageCheckBox201:setName("imageCheckBox201"); obj.imageCheckBox202 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox202:setParent(obj.layout58); obj.imageCheckBox202:setLeft(20); obj.imageCheckBox202:setTop(0); obj.imageCheckBox202:setWidth(20); obj.imageCheckBox202:setHeight(20); obj.imageCheckBox202:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox202:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox202:setField("magicCheck_911"); obj.imageCheckBox202:setName("imageCheckBox202"); obj.imageCheckBox203 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox203:setParent(obj.layout58); obj.imageCheckBox203:setLeft(40); obj.imageCheckBox203:setTop(0); obj.imageCheckBox203:setWidth(20); obj.imageCheckBox203:setHeight(20); obj.imageCheckBox203:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox203:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox203:setField("magicCheck_921"); obj.imageCheckBox203:setName("imageCheckBox203"); obj.imageCheckBox204 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox204:setParent(obj.layout58); obj.imageCheckBox204:setLeft(60); obj.imageCheckBox204:setTop(0); obj.imageCheckBox204:setWidth(20); obj.imageCheckBox204:setHeight(20); obj.imageCheckBox204:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox204:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox204:setField("magicCheck_931"); obj.imageCheckBox204:setName("imageCheckBox204"); obj.imageCheckBox205 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox205:setParent(obj.layout58); obj.imageCheckBox205:setLeft(80); obj.imageCheckBox205:setTop(0); obj.imageCheckBox205:setWidth(20); obj.imageCheckBox205:setHeight(20); obj.imageCheckBox205:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox205:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox205:setField("magicCheck_941"); obj.imageCheckBox205:setName("imageCheckBox205"); obj.imageCheckBox206 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox206:setParent(obj.layout58); obj.imageCheckBox206:setLeft(100); obj.imageCheckBox206:setTop(0); obj.imageCheckBox206:setWidth(20); obj.imageCheckBox206:setHeight(20); obj.imageCheckBox206:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox206:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox206:setField("magicCheck_951"); obj.imageCheckBox206:setName("imageCheckBox206"); obj.imageCheckBox207 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox207:setParent(obj.layout58); obj.imageCheckBox207:setLeft(120); obj.imageCheckBox207:setTop(0); obj.imageCheckBox207:setWidth(20); obj.imageCheckBox207:setHeight(20); obj.imageCheckBox207:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox207:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox207:setField("magicCheck_961"); obj.imageCheckBox207:setName("imageCheckBox207"); obj.imageCheckBox208 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox208:setParent(obj.layout58); obj.imageCheckBox208:setLeft(140); obj.imageCheckBox208:setTop(0); obj.imageCheckBox208:setWidth(20); obj.imageCheckBox208:setHeight(20); obj.imageCheckBox208:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox208:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox208:setField("magicCheck_971"); obj.imageCheckBox208:setName("imageCheckBox208"); obj.imageCheckBox209 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox209:setParent(obj.layout58); obj.imageCheckBox209:setLeft(160); obj.imageCheckBox209:setTop(0); obj.imageCheckBox209:setWidth(20); obj.imageCheckBox209:setHeight(20); obj.imageCheckBox209:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox209:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox209:setField("magicCheck_981"); obj.imageCheckBox209:setName("imageCheckBox209"); obj.imageCheckBox210 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox210:setParent(obj.layout58); obj.imageCheckBox210:setLeft(180); obj.imageCheckBox210:setTop(0); obj.imageCheckBox210:setWidth(20); obj.imageCheckBox210:setHeight(20); obj.imageCheckBox210:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox210:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox210:setField("magicCheck_991"); obj.imageCheckBox210:setName("imageCheckBox210"); obj.textEditor28 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor28:setParent(obj.layout55); obj.textEditor28:setLeft(36); obj.textEditor28:setTop(498); obj.textEditor28:setWidth(320); obj.textEditor28:setHeight(150); obj.textEditor28:setFontSize(14); obj.textEditor28:setFontColor("#000000"); obj.textEditor28:setTransparent(true); obj.textEditor28:setField("magicDesc_91"); obj.textEditor28:setName("textEditor28"); obj.edit119 = GUI.fromHandle(_obj_newObject("edit")); obj.edit119:setParent(obj.layout55); obj.edit119:setLeft(80); obj.edit119:setTop(670); obj.edit119:setWidth(160); obj.edit119:setHeight(30); obj.edit119:setFontSize(16); obj.edit119:setFontColor("#000000"); obj.edit119:setTransparent(true); obj.edit119:setField("magicName_101"); obj.edit119:setName("edit119"); obj.edit120 = GUI.fromHandle(_obj_newObject("edit")); obj.edit120:setParent(obj.layout55); obj.edit120:setLeft(302); obj.edit120:setTop(670); obj.edit120:setWidth(90); obj.edit120:setHeight(30); obj.edit120:setFontSize(16); obj.edit120:setFontColor("#000000"); obj.edit120:setTransparent(true); obj.edit120:setField("magicTrad_101"); obj.edit120:setName("edit120"); obj.edit121 = GUI.fromHandle(_obj_newObject("edit")); obj.edit121:setParent(obj.layout55); obj.edit121:setLeft(406); obj.edit121:setTop(700); obj.edit121:setWidth(90); obj.edit121:setHeight(30); obj.edit121:setFontSize(16); obj.edit121:setFontColor("#000000"); obj.edit121:setTransparent(true); obj.edit121:setField("magicLevel_101"); obj.edit121:setName("edit121"); obj.edit122 = GUI.fromHandle(_obj_newObject("edit")); obj.edit122:setParent(obj.layout55); obj.edit122:setLeft(370); obj.edit122:setTop(732); obj.edit122:setWidth(90); obj.edit122:setHeight(30); obj.edit122:setFontSize(16); obj.edit122:setFontColor("#000000"); obj.edit122:setTransparent(true); obj.edit122:setField("magicConj_101"); obj.edit122:setName("edit122"); obj.layout59 = GUI.fromHandle(_obj_newObject("layout")); obj.layout59:setParent(obj.layout55); obj.layout59:setLeft(73); obj.layout59:setTop(700); obj.layout59:setWidth(200); obj.layout59:setHeight(20); obj.layout59:setName("layout59"); obj.imageCheckBox211 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox211:setParent(obj.layout59); obj.imageCheckBox211:setLeft(0); obj.imageCheckBox211:setTop(0); obj.imageCheckBox211:setWidth(20); obj.imageCheckBox211:setHeight(20); obj.imageCheckBox211:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox211:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox211:setField("magicCheck_1001"); obj.imageCheckBox211:setName("imageCheckBox211"); obj.imageCheckBox212 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox212:setParent(obj.layout59); obj.imageCheckBox212:setLeft(20); obj.imageCheckBox212:setTop(0); obj.imageCheckBox212:setWidth(20); obj.imageCheckBox212:setHeight(20); obj.imageCheckBox212:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox212:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox212:setField("magicCheck_1011"); obj.imageCheckBox212:setName("imageCheckBox212"); obj.imageCheckBox213 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox213:setParent(obj.layout59); obj.imageCheckBox213:setLeft(40); obj.imageCheckBox213:setTop(0); obj.imageCheckBox213:setWidth(20); obj.imageCheckBox213:setHeight(20); obj.imageCheckBox213:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox213:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox213:setField("magicCheck_1021"); obj.imageCheckBox213:setName("imageCheckBox213"); obj.imageCheckBox214 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox214:setParent(obj.layout59); obj.imageCheckBox214:setLeft(60); obj.imageCheckBox214:setTop(0); obj.imageCheckBox214:setWidth(20); obj.imageCheckBox214:setHeight(20); obj.imageCheckBox214:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox214:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox214:setField("magicCheck_1031"); obj.imageCheckBox214:setName("imageCheckBox214"); obj.imageCheckBox215 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox215:setParent(obj.layout59); obj.imageCheckBox215:setLeft(80); obj.imageCheckBox215:setTop(0); obj.imageCheckBox215:setWidth(20); obj.imageCheckBox215:setHeight(20); obj.imageCheckBox215:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox215:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox215:setField("magicCheck_1041"); obj.imageCheckBox215:setName("imageCheckBox215"); obj.imageCheckBox216 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox216:setParent(obj.layout59); obj.imageCheckBox216:setLeft(100); obj.imageCheckBox216:setTop(0); obj.imageCheckBox216:setWidth(20); obj.imageCheckBox216:setHeight(20); obj.imageCheckBox216:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox216:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox216:setField("magicCheck_1051"); obj.imageCheckBox216:setName("imageCheckBox216"); obj.imageCheckBox217 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox217:setParent(obj.layout59); obj.imageCheckBox217:setLeft(120); obj.imageCheckBox217:setTop(0); obj.imageCheckBox217:setWidth(20); obj.imageCheckBox217:setHeight(20); obj.imageCheckBox217:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox217:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox217:setField("magicCheck_1061"); obj.imageCheckBox217:setName("imageCheckBox217"); obj.imageCheckBox218 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox218:setParent(obj.layout59); obj.imageCheckBox218:setLeft(140); obj.imageCheckBox218:setTop(0); obj.imageCheckBox218:setWidth(20); obj.imageCheckBox218:setHeight(20); obj.imageCheckBox218:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox218:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox218:setField("magicCheck_1071"); obj.imageCheckBox218:setName("imageCheckBox218"); obj.imageCheckBox219 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox219:setParent(obj.layout59); obj.imageCheckBox219:setLeft(160); obj.imageCheckBox219:setTop(0); obj.imageCheckBox219:setWidth(20); obj.imageCheckBox219:setHeight(20); obj.imageCheckBox219:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox219:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox219:setField("magicCheck_1081"); obj.imageCheckBox219:setName("imageCheckBox219"); obj.imageCheckBox220 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox220:setParent(obj.layout59); obj.imageCheckBox220:setLeft(180); obj.imageCheckBox220:setTop(0); obj.imageCheckBox220:setWidth(20); obj.imageCheckBox220:setHeight(20); obj.imageCheckBox220:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox220:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox220:setField("magicCheck_1091"); obj.imageCheckBox220:setName("imageCheckBox220"); obj.textEditor29 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor29:setParent(obj.layout55); obj.textEditor29:setLeft(36); obj.textEditor29:setTop(720); obj.textEditor29:setWidth(320); obj.textEditor29:setHeight(150); obj.textEditor29:setFontSize(14); obj.textEditor29:setFontColor("#000000"); obj.textEditor29:setTransparent(true); obj.textEditor29:setField("magicDesc_101"); obj.textEditor29:setName("textEditor29"); obj.edit123 = GUI.fromHandle(_obj_newObject("edit")); obj.edit123:setParent(obj.layout55); obj.edit123:setLeft(80); obj.edit123:setTop(856); obj.edit123:setWidth(160); obj.edit123:setHeight(30); obj.edit123:setFontSize(16); obj.edit123:setFontColor("#000000"); obj.edit123:setTransparent(true); obj.edit123:setField("magicName_111"); obj.edit123:setName("edit123"); obj.edit124 = GUI.fromHandle(_obj_newObject("edit")); obj.edit124:setParent(obj.layout55); obj.edit124:setLeft(302); obj.edit124:setTop(856); obj.edit124:setWidth(90); obj.edit124:setHeight(30); obj.edit124:setFontSize(16); obj.edit124:setFontColor("#000000"); obj.edit124:setTransparent(true); obj.edit124:setField("magicTrad_111"); obj.edit124:setName("edit124"); obj.edit125 = GUI.fromHandle(_obj_newObject("edit")); obj.edit125:setParent(obj.layout55); obj.edit125:setLeft(406); obj.edit125:setTop(886); obj.edit125:setWidth(90); obj.edit125:setHeight(30); obj.edit125:setFontSize(16); obj.edit125:setFontColor("#000000"); obj.edit125:setTransparent(true); obj.edit125:setField("magicLevel_111"); obj.edit125:setName("edit125"); obj.edit126 = GUI.fromHandle(_obj_newObject("edit")); obj.edit126:setParent(obj.layout55); obj.edit126:setLeft(370); obj.edit126:setTop(918); obj.edit126:setWidth(90); obj.edit126:setHeight(30); obj.edit126:setFontSize(16); obj.edit126:setFontColor("#000000"); obj.edit126:setTransparent(true); obj.edit126:setField("magicConj_111"); obj.edit126:setName("edit126"); obj.layout60 = GUI.fromHandle(_obj_newObject("layout")); obj.layout60:setParent(obj.layout55); obj.layout60:setLeft(73); obj.layout60:setTop(886); obj.layout60:setWidth(200); obj.layout60:setHeight(20); obj.layout60:setName("layout60"); obj.imageCheckBox221 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox221:setParent(obj.layout60); obj.imageCheckBox221:setLeft(0); obj.imageCheckBox221:setTop(0); obj.imageCheckBox221:setWidth(20); obj.imageCheckBox221:setHeight(20); obj.imageCheckBox221:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox221:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox221:setField("magicCheck_1101"); obj.imageCheckBox221:setName("imageCheckBox221"); obj.imageCheckBox222 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox222:setParent(obj.layout60); obj.imageCheckBox222:setLeft(20); obj.imageCheckBox222:setTop(0); obj.imageCheckBox222:setWidth(20); obj.imageCheckBox222:setHeight(20); obj.imageCheckBox222:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox222:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox222:setField("magicCheck_1111"); obj.imageCheckBox222:setName("imageCheckBox222"); obj.imageCheckBox223 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox223:setParent(obj.layout60); obj.imageCheckBox223:setLeft(40); obj.imageCheckBox223:setTop(0); obj.imageCheckBox223:setWidth(20); obj.imageCheckBox223:setHeight(20); obj.imageCheckBox223:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox223:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox223:setField("magicCheck_1121"); obj.imageCheckBox223:setName("imageCheckBox223"); obj.imageCheckBox224 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox224:setParent(obj.layout60); obj.imageCheckBox224:setLeft(60); obj.imageCheckBox224:setTop(0); obj.imageCheckBox224:setWidth(20); obj.imageCheckBox224:setHeight(20); obj.imageCheckBox224:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox224:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox224:setField("magicCheck_1131"); obj.imageCheckBox224:setName("imageCheckBox224"); obj.imageCheckBox225 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox225:setParent(obj.layout60); obj.imageCheckBox225:setLeft(80); obj.imageCheckBox225:setTop(0); obj.imageCheckBox225:setWidth(20); obj.imageCheckBox225:setHeight(20); obj.imageCheckBox225:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox225:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox225:setField("magicCheck_1141"); obj.imageCheckBox225:setName("imageCheckBox225"); obj.imageCheckBox226 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox226:setParent(obj.layout60); obj.imageCheckBox226:setLeft(100); obj.imageCheckBox226:setTop(0); obj.imageCheckBox226:setWidth(20); obj.imageCheckBox226:setHeight(20); obj.imageCheckBox226:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox226:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox226:setField("magicCheck_1151"); obj.imageCheckBox226:setName("imageCheckBox226"); obj.imageCheckBox227 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox227:setParent(obj.layout60); obj.imageCheckBox227:setLeft(120); obj.imageCheckBox227:setTop(0); obj.imageCheckBox227:setWidth(20); obj.imageCheckBox227:setHeight(20); obj.imageCheckBox227:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox227:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox227:setField("magicCheck_1161"); obj.imageCheckBox227:setName("imageCheckBox227"); obj.imageCheckBox228 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox228:setParent(obj.layout60); obj.imageCheckBox228:setLeft(140); obj.imageCheckBox228:setTop(0); obj.imageCheckBox228:setWidth(20); obj.imageCheckBox228:setHeight(20); obj.imageCheckBox228:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox228:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox228:setField("magicCheck_1171"); obj.imageCheckBox228:setName("imageCheckBox228"); obj.imageCheckBox229 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox229:setParent(obj.layout60); obj.imageCheckBox229:setLeft(160); obj.imageCheckBox229:setTop(0); obj.imageCheckBox229:setWidth(20); obj.imageCheckBox229:setHeight(20); obj.imageCheckBox229:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox229:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox229:setField("magicCheck_1181"); obj.imageCheckBox229:setName("imageCheckBox229"); obj.imageCheckBox230 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox230:setParent(obj.layout60); obj.imageCheckBox230:setLeft(180); obj.imageCheckBox230:setTop(0); obj.imageCheckBox230:setWidth(20); obj.imageCheckBox230:setHeight(20); obj.imageCheckBox230:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox230:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox230:setField("magicCheck_1191"); obj.imageCheckBox230:setName("imageCheckBox230"); obj.textEditor30 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor30:setParent(obj.layout55); obj.textEditor30:setLeft(36); obj.textEditor30:setTop(906); obj.textEditor30:setWidth(320); obj.textEditor30:setHeight(150); obj.textEditor30:setFontSize(14); obj.textEditor30:setFontColor("#000000"); obj.textEditor30:setTransparent(true); obj.textEditor30:setField("magicDesc_111"); obj.textEditor30:setName("textEditor30"); obj.edit127 = GUI.fromHandle(_obj_newObject("edit")); obj.edit127:setParent(obj.layout55); obj.edit127:setLeft(80); obj.edit127:setTop(1056); obj.edit127:setWidth(160); obj.edit127:setHeight(30); obj.edit127:setFontSize(16); obj.edit127:setFontColor("#000000"); obj.edit127:setTransparent(true); obj.edit127:setField("magicName_121"); obj.edit127:setName("edit127"); obj.edit128 = GUI.fromHandle(_obj_newObject("edit")); obj.edit128:setParent(obj.layout55); obj.edit128:setLeft(302); obj.edit128:setTop(1056); obj.edit128:setWidth(90); obj.edit128:setHeight(30); obj.edit128:setFontSize(16); obj.edit128:setFontColor("#000000"); obj.edit128:setTransparent(true); obj.edit128:setField("magicTrad_121"); obj.edit128:setName("edit128"); obj.edit129 = GUI.fromHandle(_obj_newObject("edit")); obj.edit129:setParent(obj.layout55); obj.edit129:setLeft(406); obj.edit129:setTop(1086); obj.edit129:setWidth(90); obj.edit129:setHeight(30); obj.edit129:setFontSize(16); obj.edit129:setFontColor("#000000"); obj.edit129:setTransparent(true); obj.edit129:setField("magicLevel_121"); obj.edit129:setName("edit129"); obj.edit130 = GUI.fromHandle(_obj_newObject("edit")); obj.edit130:setParent(obj.layout55); obj.edit130:setLeft(370); obj.edit130:setTop(1118); obj.edit130:setWidth(90); obj.edit130:setHeight(30); obj.edit130:setFontSize(16); obj.edit130:setFontColor("#000000"); obj.edit130:setTransparent(true); obj.edit130:setField("magicConj_121"); obj.edit130:setName("edit130"); obj.layout61 = GUI.fromHandle(_obj_newObject("layout")); obj.layout61:setParent(obj.layout55); obj.layout61:setLeft(73); obj.layout61:setTop(1086); obj.layout61:setWidth(200); obj.layout61:setHeight(20); obj.layout61:setName("layout61"); obj.imageCheckBox231 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox231:setParent(obj.layout61); obj.imageCheckBox231:setLeft(0); obj.imageCheckBox231:setTop(0); obj.imageCheckBox231:setWidth(20); obj.imageCheckBox231:setHeight(20); obj.imageCheckBox231:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox231:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox231:setField("magicCheck_1201"); obj.imageCheckBox231:setName("imageCheckBox231"); obj.imageCheckBox232 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox232:setParent(obj.layout61); obj.imageCheckBox232:setLeft(20); obj.imageCheckBox232:setTop(0); obj.imageCheckBox232:setWidth(20); obj.imageCheckBox232:setHeight(20); obj.imageCheckBox232:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox232:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox232:setField("magicCheck_1211"); obj.imageCheckBox232:setName("imageCheckBox232"); obj.imageCheckBox233 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox233:setParent(obj.layout61); obj.imageCheckBox233:setLeft(40); obj.imageCheckBox233:setTop(0); obj.imageCheckBox233:setWidth(20); obj.imageCheckBox233:setHeight(20); obj.imageCheckBox233:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox233:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox233:setField("magicCheck_1221"); obj.imageCheckBox233:setName("imageCheckBox233"); obj.imageCheckBox234 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox234:setParent(obj.layout61); obj.imageCheckBox234:setLeft(60); obj.imageCheckBox234:setTop(0); obj.imageCheckBox234:setWidth(20); obj.imageCheckBox234:setHeight(20); obj.imageCheckBox234:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox234:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox234:setField("magicCheck_1231"); obj.imageCheckBox234:setName("imageCheckBox234"); obj.imageCheckBox235 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox235:setParent(obj.layout61); obj.imageCheckBox235:setLeft(80); obj.imageCheckBox235:setTop(0); obj.imageCheckBox235:setWidth(20); obj.imageCheckBox235:setHeight(20); obj.imageCheckBox235:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox235:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox235:setField("magicCheck_1241"); obj.imageCheckBox235:setName("imageCheckBox235"); obj.imageCheckBox236 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox236:setParent(obj.layout61); obj.imageCheckBox236:setLeft(100); obj.imageCheckBox236:setTop(0); obj.imageCheckBox236:setWidth(20); obj.imageCheckBox236:setHeight(20); obj.imageCheckBox236:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox236:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox236:setField("magicCheck_1251"); obj.imageCheckBox236:setName("imageCheckBox236"); obj.imageCheckBox237 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox237:setParent(obj.layout61); obj.imageCheckBox237:setLeft(120); obj.imageCheckBox237:setTop(0); obj.imageCheckBox237:setWidth(20); obj.imageCheckBox237:setHeight(20); obj.imageCheckBox237:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox237:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox237:setField("magicCheck_1261"); obj.imageCheckBox237:setName("imageCheckBox237"); obj.imageCheckBox238 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox238:setParent(obj.layout61); obj.imageCheckBox238:setLeft(140); obj.imageCheckBox238:setTop(0); obj.imageCheckBox238:setWidth(20); obj.imageCheckBox238:setHeight(20); obj.imageCheckBox238:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox238:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox238:setField("magicCheck_1271"); obj.imageCheckBox238:setName("imageCheckBox238"); obj.imageCheckBox239 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox239:setParent(obj.layout61); obj.imageCheckBox239:setLeft(160); obj.imageCheckBox239:setTop(0); obj.imageCheckBox239:setWidth(20); obj.imageCheckBox239:setHeight(20); obj.imageCheckBox239:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox239:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox239:setField("magicCheck_1281"); obj.imageCheckBox239:setName("imageCheckBox239"); obj.imageCheckBox240 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox240:setParent(obj.layout61); obj.imageCheckBox240:setLeft(180); obj.imageCheckBox240:setTop(0); obj.imageCheckBox240:setWidth(20); obj.imageCheckBox240:setHeight(20); obj.imageCheckBox240:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox240:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox240:setField("magicCheck_1291"); obj.imageCheckBox240:setName("imageCheckBox240"); obj.textEditor31 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor31:setParent(obj.layout55); obj.textEditor31:setLeft(36); obj.textEditor31:setTop(1106); obj.textEditor31:setWidth(320); obj.textEditor31:setHeight(150); obj.textEditor31:setFontSize(14); obj.textEditor31:setFontColor("#000000"); obj.textEditor31:setTransparent(true); obj.textEditor31:setField("magicDesc_121"); obj.textEditor31:setName("textEditor31"); obj.tab4 = GUI.fromHandle(_obj_newObject("tab")); obj.tab4:setParent(obj.tabControl1); obj.tab4:setTitle("Página 4"); obj.tab4:setName("tab4"); obj.frmSODLFillable4_svg = GUI.fromHandle(_obj_newObject("form")); obj.frmSODLFillable4_svg:setParent(obj.tab4); obj.frmSODLFillable4_svg:setName("frmSODLFillable4_svg"); obj.frmSODLFillable4_svg:setAlign("client"); obj.frmSODLFillable4_svg:setTheme("light"); obj.frmSODLFillable4_svg:setMargins({top=1}); obj.scrollBox4 = GUI.fromHandle(_obj_newObject("scrollBox")); obj.scrollBox4:setParent(obj.frmSODLFillable4_svg); obj.scrollBox4:setAlign("client"); obj.scrollBox4:setName("scrollBox4"); obj.rectangle4 = GUI.fromHandle(_obj_newObject("rectangle")); obj.rectangle4:setParent(obj.scrollBox4); obj.rectangle4:setWidth(893); obj.rectangle4:setHeight(1263); obj.rectangle4:setColor("white"); obj.rectangle4:setName("rectangle4"); obj.image4 = GUI.fromHandle(_obj_newObject("image")); obj.image4:setParent(obj.rectangle4); obj.image4:setLeft(0); obj.image4:setTop(0); obj.image4:setWidth(893); obj.image4:setHeight(1263); obj.image4:setSRC("/SODLFillable/images/2.png"); obj.image4:setStyle("stretch"); obj.image4:setOptimize(true); obj.image4:setName("image4"); obj.layout62 = GUI.fromHandle(_obj_newObject("layout")); obj.layout62:setParent(obj.rectangle4); obj.layout62:setLeft(0); obj.layout62:setTop(0); obj.layout62:setWidth(447); obj.layout62:setHeight(1263); obj.layout62:setName("layout62"); obj.edit131 = GUI.fromHandle(_obj_newObject("edit")); obj.edit131:setParent(obj.layout62); obj.edit131:setLeft(80); obj.edit131:setTop(36); obj.edit131:setWidth(160); obj.edit131:setHeight(30); obj.edit131:setFontSize(16); obj.edit131:setFontColor("#000000"); obj.edit131:setTransparent(true); obj.edit131:setField("magicName_20"); obj.edit131:setName("edit131"); obj.edit132 = GUI.fromHandle(_obj_newObject("edit")); obj.edit132:setParent(obj.layout62); obj.edit132:setLeft(302); obj.edit132:setTop(36); obj.edit132:setWidth(90); obj.edit132:setHeight(30); obj.edit132:setFontSize(16); obj.edit132:setFontColor("#000000"); obj.edit132:setTransparent(true); obj.edit132:setField("magicTrad_20"); obj.edit132:setName("edit132"); obj.edit133 = GUI.fromHandle(_obj_newObject("edit")); obj.edit133:setParent(obj.layout62); obj.edit133:setLeft(406); obj.edit133:setTop(66); obj.edit133:setWidth(90); obj.edit133:setHeight(30); obj.edit133:setFontSize(16); obj.edit133:setFontColor("#000000"); obj.edit133:setTransparent(true); obj.edit133:setField("magicLevel_20"); obj.edit133:setName("edit133"); obj.edit134 = GUI.fromHandle(_obj_newObject("edit")); obj.edit134:setParent(obj.layout62); obj.edit134:setLeft(370); obj.edit134:setTop(98); obj.edit134:setWidth(90); obj.edit134:setHeight(30); obj.edit134:setFontSize(16); obj.edit134:setFontColor("#000000"); obj.edit134:setTransparent(true); obj.edit134:setField("magicConj_20"); obj.edit134:setName("edit134"); obj.layout63 = GUI.fromHandle(_obj_newObject("layout")); obj.layout63:setParent(obj.layout62); obj.layout63:setLeft(73); obj.layout63:setTop(66); obj.layout63:setWidth(200); obj.layout63:setHeight(20); obj.layout63:setName("layout63"); obj.imageCheckBox241 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox241:setParent(obj.layout63); obj.imageCheckBox241:setLeft(0); obj.imageCheckBox241:setTop(0); obj.imageCheckBox241:setWidth(20); obj.imageCheckBox241:setHeight(20); obj.imageCheckBox241:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox241:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox241:setField("magicCheck_200"); obj.imageCheckBox241:setName("imageCheckBox241"); obj.imageCheckBox242 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox242:setParent(obj.layout63); obj.imageCheckBox242:setLeft(20); obj.imageCheckBox242:setTop(0); obj.imageCheckBox242:setWidth(20); obj.imageCheckBox242:setHeight(20); obj.imageCheckBox242:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox242:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox242:setField("magicCheck_201"); obj.imageCheckBox242:setName("imageCheckBox242"); obj.imageCheckBox243 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox243:setParent(obj.layout63); obj.imageCheckBox243:setLeft(40); obj.imageCheckBox243:setTop(0); obj.imageCheckBox243:setWidth(20); obj.imageCheckBox243:setHeight(20); obj.imageCheckBox243:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox243:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox243:setField("magicCheck_202"); obj.imageCheckBox243:setName("imageCheckBox243"); obj.imageCheckBox244 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox244:setParent(obj.layout63); obj.imageCheckBox244:setLeft(60); obj.imageCheckBox244:setTop(0); obj.imageCheckBox244:setWidth(20); obj.imageCheckBox244:setHeight(20); obj.imageCheckBox244:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox244:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox244:setField("magicCheck_203"); obj.imageCheckBox244:setName("imageCheckBox244"); obj.imageCheckBox245 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox245:setParent(obj.layout63); obj.imageCheckBox245:setLeft(80); obj.imageCheckBox245:setTop(0); obj.imageCheckBox245:setWidth(20); obj.imageCheckBox245:setHeight(20); obj.imageCheckBox245:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox245:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox245:setField("magicCheck_204"); obj.imageCheckBox245:setName("imageCheckBox245"); obj.imageCheckBox246 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox246:setParent(obj.layout63); obj.imageCheckBox246:setLeft(100); obj.imageCheckBox246:setTop(0); obj.imageCheckBox246:setWidth(20); obj.imageCheckBox246:setHeight(20); obj.imageCheckBox246:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox246:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox246:setField("magicCheck_205"); obj.imageCheckBox246:setName("imageCheckBox246"); obj.imageCheckBox247 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox247:setParent(obj.layout63); obj.imageCheckBox247:setLeft(120); obj.imageCheckBox247:setTop(0); obj.imageCheckBox247:setWidth(20); obj.imageCheckBox247:setHeight(20); obj.imageCheckBox247:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox247:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox247:setField("magicCheck_206"); obj.imageCheckBox247:setName("imageCheckBox247"); obj.imageCheckBox248 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox248:setParent(obj.layout63); obj.imageCheckBox248:setLeft(140); obj.imageCheckBox248:setTop(0); obj.imageCheckBox248:setWidth(20); obj.imageCheckBox248:setHeight(20); obj.imageCheckBox248:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox248:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox248:setField("magicCheck_207"); obj.imageCheckBox248:setName("imageCheckBox248"); obj.imageCheckBox249 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox249:setParent(obj.layout63); obj.imageCheckBox249:setLeft(160); obj.imageCheckBox249:setTop(0); obj.imageCheckBox249:setWidth(20); obj.imageCheckBox249:setHeight(20); obj.imageCheckBox249:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox249:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox249:setField("magicCheck_208"); obj.imageCheckBox249:setName("imageCheckBox249"); obj.imageCheckBox250 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox250:setParent(obj.layout63); obj.imageCheckBox250:setLeft(180); obj.imageCheckBox250:setTop(0); obj.imageCheckBox250:setWidth(20); obj.imageCheckBox250:setHeight(20); obj.imageCheckBox250:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox250:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox250:setField("magicCheck_209"); obj.imageCheckBox250:setName("imageCheckBox250"); obj.textEditor32 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor32:setParent(obj.layout62); obj.textEditor32:setLeft(36); obj.textEditor32:setTop(86); obj.textEditor32:setWidth(320); obj.textEditor32:setHeight(150); obj.textEditor32:setFontSize(14); obj.textEditor32:setFontColor("#000000"); obj.textEditor32:setTransparent(true); obj.textEditor32:setField("magicDesc_20"); obj.textEditor32:setName("textEditor32"); obj.edit135 = GUI.fromHandle(_obj_newObject("edit")); obj.edit135:setParent(obj.layout62); obj.edit135:setLeft(80); obj.edit135:setTop(242); obj.edit135:setWidth(160); obj.edit135:setHeight(30); obj.edit135:setFontSize(16); obj.edit135:setFontColor("#000000"); obj.edit135:setTransparent(true); obj.edit135:setField("magicName_21"); obj.edit135:setName("edit135"); obj.edit136 = GUI.fromHandle(_obj_newObject("edit")); obj.edit136:setParent(obj.layout62); obj.edit136:setLeft(302); obj.edit136:setTop(242); obj.edit136:setWidth(90); obj.edit136:setHeight(30); obj.edit136:setFontSize(16); obj.edit136:setFontColor("#000000"); obj.edit136:setTransparent(true); obj.edit136:setField("magicTrad_21"); obj.edit136:setName("edit136"); obj.edit137 = GUI.fromHandle(_obj_newObject("edit")); obj.edit137:setParent(obj.layout62); obj.edit137:setLeft(406); obj.edit137:setTop(272); obj.edit137:setWidth(90); obj.edit137:setHeight(30); obj.edit137:setFontSize(16); obj.edit137:setFontColor("#000000"); obj.edit137:setTransparent(true); obj.edit137:setField("magicLevel_21"); obj.edit137:setName("edit137"); obj.edit138 = GUI.fromHandle(_obj_newObject("edit")); obj.edit138:setParent(obj.layout62); obj.edit138:setLeft(370); obj.edit138:setTop(304); obj.edit138:setWidth(90); obj.edit138:setHeight(30); obj.edit138:setFontSize(16); obj.edit138:setFontColor("#000000"); obj.edit138:setTransparent(true); obj.edit138:setField("magicConj_21"); obj.edit138:setName("edit138"); obj.layout64 = GUI.fromHandle(_obj_newObject("layout")); obj.layout64:setParent(obj.layout62); obj.layout64:setLeft(73); obj.layout64:setTop(272); obj.layout64:setWidth(200); obj.layout64:setHeight(20); obj.layout64:setName("layout64"); obj.imageCheckBox251 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox251:setParent(obj.layout64); obj.imageCheckBox251:setLeft(0); obj.imageCheckBox251:setTop(0); obj.imageCheckBox251:setWidth(20); obj.imageCheckBox251:setHeight(20); obj.imageCheckBox251:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox251:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox251:setField("magicCheck_210"); obj.imageCheckBox251:setName("imageCheckBox251"); obj.imageCheckBox252 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox252:setParent(obj.layout64); obj.imageCheckBox252:setLeft(20); obj.imageCheckBox252:setTop(0); obj.imageCheckBox252:setWidth(20); obj.imageCheckBox252:setHeight(20); obj.imageCheckBox252:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox252:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox252:setField("magicCheck_211"); obj.imageCheckBox252:setName("imageCheckBox252"); obj.imageCheckBox253 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox253:setParent(obj.layout64); obj.imageCheckBox253:setLeft(40); obj.imageCheckBox253:setTop(0); obj.imageCheckBox253:setWidth(20); obj.imageCheckBox253:setHeight(20); obj.imageCheckBox253:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox253:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox253:setField("magicCheck_212"); obj.imageCheckBox253:setName("imageCheckBox253"); obj.imageCheckBox254 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox254:setParent(obj.layout64); obj.imageCheckBox254:setLeft(60); obj.imageCheckBox254:setTop(0); obj.imageCheckBox254:setWidth(20); obj.imageCheckBox254:setHeight(20); obj.imageCheckBox254:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox254:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox254:setField("magicCheck_213"); obj.imageCheckBox254:setName("imageCheckBox254"); obj.imageCheckBox255 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox255:setParent(obj.layout64); obj.imageCheckBox255:setLeft(80); obj.imageCheckBox255:setTop(0); obj.imageCheckBox255:setWidth(20); obj.imageCheckBox255:setHeight(20); obj.imageCheckBox255:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox255:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox255:setField("magicCheck_214"); obj.imageCheckBox255:setName("imageCheckBox255"); obj.imageCheckBox256 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox256:setParent(obj.layout64); obj.imageCheckBox256:setLeft(100); obj.imageCheckBox256:setTop(0); obj.imageCheckBox256:setWidth(20); obj.imageCheckBox256:setHeight(20); obj.imageCheckBox256:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox256:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox256:setField("magicCheck_215"); obj.imageCheckBox256:setName("imageCheckBox256"); obj.imageCheckBox257 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox257:setParent(obj.layout64); obj.imageCheckBox257:setLeft(120); obj.imageCheckBox257:setTop(0); obj.imageCheckBox257:setWidth(20); obj.imageCheckBox257:setHeight(20); obj.imageCheckBox257:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox257:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox257:setField("magicCheck_216"); obj.imageCheckBox257:setName("imageCheckBox257"); obj.imageCheckBox258 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox258:setParent(obj.layout64); obj.imageCheckBox258:setLeft(140); obj.imageCheckBox258:setTop(0); obj.imageCheckBox258:setWidth(20); obj.imageCheckBox258:setHeight(20); obj.imageCheckBox258:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox258:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox258:setField("magicCheck_217"); obj.imageCheckBox258:setName("imageCheckBox258"); obj.imageCheckBox259 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox259:setParent(obj.layout64); obj.imageCheckBox259:setLeft(160); obj.imageCheckBox259:setTop(0); obj.imageCheckBox259:setWidth(20); obj.imageCheckBox259:setHeight(20); obj.imageCheckBox259:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox259:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox259:setField("magicCheck_218"); obj.imageCheckBox259:setName("imageCheckBox259"); obj.imageCheckBox260 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox260:setParent(obj.layout64); obj.imageCheckBox260:setLeft(180); obj.imageCheckBox260:setTop(0); obj.imageCheckBox260:setWidth(20); obj.imageCheckBox260:setHeight(20); obj.imageCheckBox260:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox260:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox260:setField("magicCheck_219"); obj.imageCheckBox260:setName("imageCheckBox260"); obj.textEditor33 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor33:setParent(obj.layout62); obj.textEditor33:setLeft(36); obj.textEditor33:setTop(292); obj.textEditor33:setWidth(320); obj.textEditor33:setHeight(150); obj.textEditor33:setFontSize(14); obj.textEditor33:setFontColor("#000000"); obj.textEditor33:setTransparent(true); obj.textEditor33:setField("magicDesc_21"); obj.textEditor33:setName("textEditor33"); obj.edit139 = GUI.fromHandle(_obj_newObject("edit")); obj.edit139:setParent(obj.layout62); obj.edit139:setLeft(80); obj.edit139:setTop(448); obj.edit139:setWidth(160); obj.edit139:setHeight(30); obj.edit139:setFontSize(16); obj.edit139:setFontColor("#000000"); obj.edit139:setTransparent(true); obj.edit139:setField("magicName_22"); obj.edit139:setName("edit139"); obj.edit140 = GUI.fromHandle(_obj_newObject("edit")); obj.edit140:setParent(obj.layout62); obj.edit140:setLeft(302); obj.edit140:setTop(448); obj.edit140:setWidth(90); obj.edit140:setHeight(30); obj.edit140:setFontSize(16); obj.edit140:setFontColor("#000000"); obj.edit140:setTransparent(true); obj.edit140:setField("magicTrad_22"); obj.edit140:setName("edit140"); obj.edit141 = GUI.fromHandle(_obj_newObject("edit")); obj.edit141:setParent(obj.layout62); obj.edit141:setLeft(406); obj.edit141:setTop(478); obj.edit141:setWidth(90); obj.edit141:setHeight(30); obj.edit141:setFontSize(16); obj.edit141:setFontColor("#000000"); obj.edit141:setTransparent(true); obj.edit141:setField("magicLevel_22"); obj.edit141:setName("edit141"); obj.edit142 = GUI.fromHandle(_obj_newObject("edit")); obj.edit142:setParent(obj.layout62); obj.edit142:setLeft(370); obj.edit142:setTop(510); obj.edit142:setWidth(90); obj.edit142:setHeight(30); obj.edit142:setFontSize(16); obj.edit142:setFontColor("#000000"); obj.edit142:setTransparent(true); obj.edit142:setField("magicConj_22"); obj.edit142:setName("edit142"); obj.layout65 = GUI.fromHandle(_obj_newObject("layout")); obj.layout65:setParent(obj.layout62); obj.layout65:setLeft(73); obj.layout65:setTop(478); obj.layout65:setWidth(200); obj.layout65:setHeight(20); obj.layout65:setName("layout65"); obj.imageCheckBox261 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox261:setParent(obj.layout65); obj.imageCheckBox261:setLeft(0); obj.imageCheckBox261:setTop(0); obj.imageCheckBox261:setWidth(20); obj.imageCheckBox261:setHeight(20); obj.imageCheckBox261:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox261:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox261:setField("magicCheck_220"); obj.imageCheckBox261:setName("imageCheckBox261"); obj.imageCheckBox262 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox262:setParent(obj.layout65); obj.imageCheckBox262:setLeft(20); obj.imageCheckBox262:setTop(0); obj.imageCheckBox262:setWidth(20); obj.imageCheckBox262:setHeight(20); obj.imageCheckBox262:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox262:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox262:setField("magicCheck_221"); obj.imageCheckBox262:setName("imageCheckBox262"); obj.imageCheckBox263 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox263:setParent(obj.layout65); obj.imageCheckBox263:setLeft(40); obj.imageCheckBox263:setTop(0); obj.imageCheckBox263:setWidth(20); obj.imageCheckBox263:setHeight(20); obj.imageCheckBox263:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox263:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox263:setField("magicCheck_222"); obj.imageCheckBox263:setName("imageCheckBox263"); obj.imageCheckBox264 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox264:setParent(obj.layout65); obj.imageCheckBox264:setLeft(60); obj.imageCheckBox264:setTop(0); obj.imageCheckBox264:setWidth(20); obj.imageCheckBox264:setHeight(20); obj.imageCheckBox264:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox264:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox264:setField("magicCheck_223"); obj.imageCheckBox264:setName("imageCheckBox264"); obj.imageCheckBox265 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox265:setParent(obj.layout65); obj.imageCheckBox265:setLeft(80); obj.imageCheckBox265:setTop(0); obj.imageCheckBox265:setWidth(20); obj.imageCheckBox265:setHeight(20); obj.imageCheckBox265:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox265:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox265:setField("magicCheck_224"); obj.imageCheckBox265:setName("imageCheckBox265"); obj.imageCheckBox266 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox266:setParent(obj.layout65); obj.imageCheckBox266:setLeft(100); obj.imageCheckBox266:setTop(0); obj.imageCheckBox266:setWidth(20); obj.imageCheckBox266:setHeight(20); obj.imageCheckBox266:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox266:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox266:setField("magicCheck_225"); obj.imageCheckBox266:setName("imageCheckBox266"); obj.imageCheckBox267 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox267:setParent(obj.layout65); obj.imageCheckBox267:setLeft(120); obj.imageCheckBox267:setTop(0); obj.imageCheckBox267:setWidth(20); obj.imageCheckBox267:setHeight(20); obj.imageCheckBox267:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox267:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox267:setField("magicCheck_226"); obj.imageCheckBox267:setName("imageCheckBox267"); obj.imageCheckBox268 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox268:setParent(obj.layout65); obj.imageCheckBox268:setLeft(140); obj.imageCheckBox268:setTop(0); obj.imageCheckBox268:setWidth(20); obj.imageCheckBox268:setHeight(20); obj.imageCheckBox268:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox268:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox268:setField("magicCheck_227"); obj.imageCheckBox268:setName("imageCheckBox268"); obj.imageCheckBox269 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox269:setParent(obj.layout65); obj.imageCheckBox269:setLeft(160); obj.imageCheckBox269:setTop(0); obj.imageCheckBox269:setWidth(20); obj.imageCheckBox269:setHeight(20); obj.imageCheckBox269:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox269:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox269:setField("magicCheck_228"); obj.imageCheckBox269:setName("imageCheckBox269"); obj.imageCheckBox270 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox270:setParent(obj.layout65); obj.imageCheckBox270:setLeft(180); obj.imageCheckBox270:setTop(0); obj.imageCheckBox270:setWidth(20); obj.imageCheckBox270:setHeight(20); obj.imageCheckBox270:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox270:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox270:setField("magicCheck_229"); obj.imageCheckBox270:setName("imageCheckBox270"); obj.textEditor34 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor34:setParent(obj.layout62); obj.textEditor34:setLeft(36); obj.textEditor34:setTop(498); obj.textEditor34:setWidth(320); obj.textEditor34:setHeight(150); obj.textEditor34:setFontSize(14); obj.textEditor34:setFontColor("#000000"); obj.textEditor34:setTransparent(true); obj.textEditor34:setField("magicDesc_22"); obj.textEditor34:setName("textEditor34"); obj.edit143 = GUI.fromHandle(_obj_newObject("edit")); obj.edit143:setParent(obj.layout62); obj.edit143:setLeft(80); obj.edit143:setTop(670); obj.edit143:setWidth(160); obj.edit143:setHeight(30); obj.edit143:setFontSize(16); obj.edit143:setFontColor("#000000"); obj.edit143:setTransparent(true); obj.edit143:setField("magicName_24"); obj.edit143:setName("edit143"); obj.edit144 = GUI.fromHandle(_obj_newObject("edit")); obj.edit144:setParent(obj.layout62); obj.edit144:setLeft(302); obj.edit144:setTop(670); obj.edit144:setWidth(90); obj.edit144:setHeight(30); obj.edit144:setFontSize(16); obj.edit144:setFontColor("#000000"); obj.edit144:setTransparent(true); obj.edit144:setField("magicTrad_24"); obj.edit144:setName("edit144"); obj.edit145 = GUI.fromHandle(_obj_newObject("edit")); obj.edit145:setParent(obj.layout62); obj.edit145:setLeft(406); obj.edit145:setTop(700); obj.edit145:setWidth(90); obj.edit145:setHeight(30); obj.edit145:setFontSize(16); obj.edit145:setFontColor("#000000"); obj.edit145:setTransparent(true); obj.edit145:setField("magicLevel_24"); obj.edit145:setName("edit145"); obj.edit146 = GUI.fromHandle(_obj_newObject("edit")); obj.edit146:setParent(obj.layout62); obj.edit146:setLeft(370); obj.edit146:setTop(732); obj.edit146:setWidth(90); obj.edit146:setHeight(30); obj.edit146:setFontSize(16); obj.edit146:setFontColor("#000000"); obj.edit146:setTransparent(true); obj.edit146:setField("magicConj_24"); obj.edit146:setName("edit146"); obj.layout66 = GUI.fromHandle(_obj_newObject("layout")); obj.layout66:setParent(obj.layout62); obj.layout66:setLeft(73); obj.layout66:setTop(700); obj.layout66:setWidth(200); obj.layout66:setHeight(20); obj.layout66:setName("layout66"); obj.imageCheckBox271 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox271:setParent(obj.layout66); obj.imageCheckBox271:setLeft(0); obj.imageCheckBox271:setTop(0); obj.imageCheckBox271:setWidth(20); obj.imageCheckBox271:setHeight(20); obj.imageCheckBox271:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox271:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox271:setField("magicCheck_230"); obj.imageCheckBox271:setName("imageCheckBox271"); obj.imageCheckBox272 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox272:setParent(obj.layout66); obj.imageCheckBox272:setLeft(20); obj.imageCheckBox272:setTop(0); obj.imageCheckBox272:setWidth(20); obj.imageCheckBox272:setHeight(20); obj.imageCheckBox272:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox272:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox272:setField("magicCheck_231"); obj.imageCheckBox272:setName("imageCheckBox272"); obj.imageCheckBox273 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox273:setParent(obj.layout66); obj.imageCheckBox273:setLeft(40); obj.imageCheckBox273:setTop(0); obj.imageCheckBox273:setWidth(20); obj.imageCheckBox273:setHeight(20); obj.imageCheckBox273:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox273:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox273:setField("magicCheck_232"); obj.imageCheckBox273:setName("imageCheckBox273"); obj.imageCheckBox274 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox274:setParent(obj.layout66); obj.imageCheckBox274:setLeft(60); obj.imageCheckBox274:setTop(0); obj.imageCheckBox274:setWidth(20); obj.imageCheckBox274:setHeight(20); obj.imageCheckBox274:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox274:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox274:setField("magicCheck_233"); obj.imageCheckBox274:setName("imageCheckBox274"); obj.imageCheckBox275 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox275:setParent(obj.layout66); obj.imageCheckBox275:setLeft(80); obj.imageCheckBox275:setTop(0); obj.imageCheckBox275:setWidth(20); obj.imageCheckBox275:setHeight(20); obj.imageCheckBox275:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox275:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox275:setField("magicCheck_234"); obj.imageCheckBox275:setName("imageCheckBox275"); obj.imageCheckBox276 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox276:setParent(obj.layout66); obj.imageCheckBox276:setLeft(100); obj.imageCheckBox276:setTop(0); obj.imageCheckBox276:setWidth(20); obj.imageCheckBox276:setHeight(20); obj.imageCheckBox276:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox276:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox276:setField("magicCheck_235"); obj.imageCheckBox276:setName("imageCheckBox276"); obj.imageCheckBox277 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox277:setParent(obj.layout66); obj.imageCheckBox277:setLeft(120); obj.imageCheckBox277:setTop(0); obj.imageCheckBox277:setWidth(20); obj.imageCheckBox277:setHeight(20); obj.imageCheckBox277:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox277:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox277:setField("magicCheck_236"); obj.imageCheckBox277:setName("imageCheckBox277"); obj.imageCheckBox278 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox278:setParent(obj.layout66); obj.imageCheckBox278:setLeft(140); obj.imageCheckBox278:setTop(0); obj.imageCheckBox278:setWidth(20); obj.imageCheckBox278:setHeight(20); obj.imageCheckBox278:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox278:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox278:setField("magicCheck_237"); obj.imageCheckBox278:setName("imageCheckBox278"); obj.imageCheckBox279 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox279:setParent(obj.layout66); obj.imageCheckBox279:setLeft(160); obj.imageCheckBox279:setTop(0); obj.imageCheckBox279:setWidth(20); obj.imageCheckBox279:setHeight(20); obj.imageCheckBox279:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox279:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox279:setField("magicCheck_238"); obj.imageCheckBox279:setName("imageCheckBox279"); obj.imageCheckBox280 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox280:setParent(obj.layout66); obj.imageCheckBox280:setLeft(180); obj.imageCheckBox280:setTop(0); obj.imageCheckBox280:setWidth(20); obj.imageCheckBox280:setHeight(20); obj.imageCheckBox280:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox280:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox280:setField("magicCheck_239"); obj.imageCheckBox280:setName("imageCheckBox280"); obj.textEditor35 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor35:setParent(obj.layout62); obj.textEditor35:setLeft(36); obj.textEditor35:setTop(720); obj.textEditor35:setWidth(320); obj.textEditor35:setHeight(150); obj.textEditor35:setFontSize(14); obj.textEditor35:setFontColor("#000000"); obj.textEditor35:setTransparent(true); obj.textEditor35:setField("magicDesc_24"); obj.textEditor35:setName("textEditor35"); obj.edit147 = GUI.fromHandle(_obj_newObject("edit")); obj.edit147:setParent(obj.layout62); obj.edit147:setLeft(80); obj.edit147:setTop(856); obj.edit147:setWidth(160); obj.edit147:setHeight(30); obj.edit147:setFontSize(16); obj.edit147:setFontColor("#000000"); obj.edit147:setTransparent(true); obj.edit147:setField("magicName_25"); obj.edit147:setName("edit147"); obj.edit148 = GUI.fromHandle(_obj_newObject("edit")); obj.edit148:setParent(obj.layout62); obj.edit148:setLeft(302); obj.edit148:setTop(856); obj.edit148:setWidth(90); obj.edit148:setHeight(30); obj.edit148:setFontSize(16); obj.edit148:setFontColor("#000000"); obj.edit148:setTransparent(true); obj.edit148:setField("magicTrad_25"); obj.edit148:setName("edit148"); obj.edit149 = GUI.fromHandle(_obj_newObject("edit")); obj.edit149:setParent(obj.layout62); obj.edit149:setLeft(406); obj.edit149:setTop(886); obj.edit149:setWidth(90); obj.edit149:setHeight(30); obj.edit149:setFontSize(16); obj.edit149:setFontColor("#000000"); obj.edit149:setTransparent(true); obj.edit149:setField("magicLevel_25"); obj.edit149:setName("edit149"); obj.edit150 = GUI.fromHandle(_obj_newObject("edit")); obj.edit150:setParent(obj.layout62); obj.edit150:setLeft(370); obj.edit150:setTop(918); obj.edit150:setWidth(90); obj.edit150:setHeight(30); obj.edit150:setFontSize(16); obj.edit150:setFontColor("#000000"); obj.edit150:setTransparent(true); obj.edit150:setField("magicConj_25"); obj.edit150:setName("edit150"); obj.layout67 = GUI.fromHandle(_obj_newObject("layout")); obj.layout67:setParent(obj.layout62); obj.layout67:setLeft(73); obj.layout67:setTop(886); obj.layout67:setWidth(200); obj.layout67:setHeight(20); obj.layout67:setName("layout67"); obj.imageCheckBox281 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox281:setParent(obj.layout67); obj.imageCheckBox281:setLeft(0); obj.imageCheckBox281:setTop(0); obj.imageCheckBox281:setWidth(20); obj.imageCheckBox281:setHeight(20); obj.imageCheckBox281:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox281:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox281:setField("magicCheck_240"); obj.imageCheckBox281:setName("imageCheckBox281"); obj.imageCheckBox282 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox282:setParent(obj.layout67); obj.imageCheckBox282:setLeft(20); obj.imageCheckBox282:setTop(0); obj.imageCheckBox282:setWidth(20); obj.imageCheckBox282:setHeight(20); obj.imageCheckBox282:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox282:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox282:setField("magicCheck_241"); obj.imageCheckBox282:setName("imageCheckBox282"); obj.imageCheckBox283 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox283:setParent(obj.layout67); obj.imageCheckBox283:setLeft(40); obj.imageCheckBox283:setTop(0); obj.imageCheckBox283:setWidth(20); obj.imageCheckBox283:setHeight(20); obj.imageCheckBox283:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox283:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox283:setField("magicCheck_242"); obj.imageCheckBox283:setName("imageCheckBox283"); obj.imageCheckBox284 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox284:setParent(obj.layout67); obj.imageCheckBox284:setLeft(60); obj.imageCheckBox284:setTop(0); obj.imageCheckBox284:setWidth(20); obj.imageCheckBox284:setHeight(20); obj.imageCheckBox284:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox284:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox284:setField("magicCheck_243"); obj.imageCheckBox284:setName("imageCheckBox284"); obj.imageCheckBox285 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox285:setParent(obj.layout67); obj.imageCheckBox285:setLeft(80); obj.imageCheckBox285:setTop(0); obj.imageCheckBox285:setWidth(20); obj.imageCheckBox285:setHeight(20); obj.imageCheckBox285:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox285:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox285:setField("magicCheck_244"); obj.imageCheckBox285:setName("imageCheckBox285"); obj.imageCheckBox286 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox286:setParent(obj.layout67); obj.imageCheckBox286:setLeft(100); obj.imageCheckBox286:setTop(0); obj.imageCheckBox286:setWidth(20); obj.imageCheckBox286:setHeight(20); obj.imageCheckBox286:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox286:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox286:setField("magicCheck_245"); obj.imageCheckBox286:setName("imageCheckBox286"); obj.imageCheckBox287 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox287:setParent(obj.layout67); obj.imageCheckBox287:setLeft(120); obj.imageCheckBox287:setTop(0); obj.imageCheckBox287:setWidth(20); obj.imageCheckBox287:setHeight(20); obj.imageCheckBox287:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox287:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox287:setField("magicCheck_246"); obj.imageCheckBox287:setName("imageCheckBox287"); obj.imageCheckBox288 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox288:setParent(obj.layout67); obj.imageCheckBox288:setLeft(140); obj.imageCheckBox288:setTop(0); obj.imageCheckBox288:setWidth(20); obj.imageCheckBox288:setHeight(20); obj.imageCheckBox288:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox288:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox288:setField("magicCheck_247"); obj.imageCheckBox288:setName("imageCheckBox288"); obj.imageCheckBox289 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox289:setParent(obj.layout67); obj.imageCheckBox289:setLeft(160); obj.imageCheckBox289:setTop(0); obj.imageCheckBox289:setWidth(20); obj.imageCheckBox289:setHeight(20); obj.imageCheckBox289:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox289:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox289:setField("magicCheck_248"); obj.imageCheckBox289:setName("imageCheckBox289"); obj.imageCheckBox290 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox290:setParent(obj.layout67); obj.imageCheckBox290:setLeft(180); obj.imageCheckBox290:setTop(0); obj.imageCheckBox290:setWidth(20); obj.imageCheckBox290:setHeight(20); obj.imageCheckBox290:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox290:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox290:setField("magicCheck_249"); obj.imageCheckBox290:setName("imageCheckBox290"); obj.textEditor36 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor36:setParent(obj.layout62); obj.textEditor36:setLeft(36); obj.textEditor36:setTop(906); obj.textEditor36:setWidth(320); obj.textEditor36:setHeight(150); obj.textEditor36:setFontSize(14); obj.textEditor36:setFontColor("#000000"); obj.textEditor36:setTransparent(true); obj.textEditor36:setField("magicDesc_25"); obj.textEditor36:setName("textEditor36"); obj.edit151 = GUI.fromHandle(_obj_newObject("edit")); obj.edit151:setParent(obj.layout62); obj.edit151:setLeft(80); obj.edit151:setTop(1056); obj.edit151:setWidth(160); obj.edit151:setHeight(30); obj.edit151:setFontSize(16); obj.edit151:setFontColor("#000000"); obj.edit151:setTransparent(true); obj.edit151:setField("magicName_6"); obj.edit151:setName("edit151"); obj.edit152 = GUI.fromHandle(_obj_newObject("edit")); obj.edit152:setParent(obj.layout62); obj.edit152:setLeft(302); obj.edit152:setTop(1056); obj.edit152:setWidth(90); obj.edit152:setHeight(30); obj.edit152:setFontSize(16); obj.edit152:setFontColor("#000000"); obj.edit152:setTransparent(true); obj.edit152:setField("magicTrad_6"); obj.edit152:setName("edit152"); obj.edit153 = GUI.fromHandle(_obj_newObject("edit")); obj.edit153:setParent(obj.layout62); obj.edit153:setLeft(406); obj.edit153:setTop(1086); obj.edit153:setWidth(90); obj.edit153:setHeight(30); obj.edit153:setFontSize(16); obj.edit153:setFontColor("#000000"); obj.edit153:setTransparent(true); obj.edit153:setField("magicLevel_6"); obj.edit153:setName("edit153"); obj.edit154 = GUI.fromHandle(_obj_newObject("edit")); obj.edit154:setParent(obj.layout62); obj.edit154:setLeft(370); obj.edit154:setTop(1118); obj.edit154:setWidth(90); obj.edit154:setHeight(30); obj.edit154:setFontSize(16); obj.edit154:setFontColor("#000000"); obj.edit154:setTransparent(true); obj.edit154:setField("magicConj_6"); obj.edit154:setName("edit154"); obj.layout68 = GUI.fromHandle(_obj_newObject("layout")); obj.layout68:setParent(obj.layout62); obj.layout68:setLeft(73); obj.layout68:setTop(1086); obj.layout68:setWidth(200); obj.layout68:setHeight(20); obj.layout68:setName("layout68"); obj.imageCheckBox291 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox291:setParent(obj.layout68); obj.imageCheckBox291:setLeft(0); obj.imageCheckBox291:setTop(0); obj.imageCheckBox291:setWidth(20); obj.imageCheckBox291:setHeight(20); obj.imageCheckBox291:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox291:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox291:setField("magicCheck_250"); obj.imageCheckBox291:setName("imageCheckBox291"); obj.imageCheckBox292 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox292:setParent(obj.layout68); obj.imageCheckBox292:setLeft(20); obj.imageCheckBox292:setTop(0); obj.imageCheckBox292:setWidth(20); obj.imageCheckBox292:setHeight(20); obj.imageCheckBox292:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox292:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox292:setField("magicCheck_251"); obj.imageCheckBox292:setName("imageCheckBox292"); obj.imageCheckBox293 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox293:setParent(obj.layout68); obj.imageCheckBox293:setLeft(40); obj.imageCheckBox293:setTop(0); obj.imageCheckBox293:setWidth(20); obj.imageCheckBox293:setHeight(20); obj.imageCheckBox293:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox293:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox293:setField("magicCheck_252"); obj.imageCheckBox293:setName("imageCheckBox293"); obj.imageCheckBox294 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox294:setParent(obj.layout68); obj.imageCheckBox294:setLeft(60); obj.imageCheckBox294:setTop(0); obj.imageCheckBox294:setWidth(20); obj.imageCheckBox294:setHeight(20); obj.imageCheckBox294:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox294:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox294:setField("magicCheck_253"); obj.imageCheckBox294:setName("imageCheckBox294"); obj.imageCheckBox295 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox295:setParent(obj.layout68); obj.imageCheckBox295:setLeft(80); obj.imageCheckBox295:setTop(0); obj.imageCheckBox295:setWidth(20); obj.imageCheckBox295:setHeight(20); obj.imageCheckBox295:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox295:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox295:setField("magicCheck_254"); obj.imageCheckBox295:setName("imageCheckBox295"); obj.imageCheckBox296 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox296:setParent(obj.layout68); obj.imageCheckBox296:setLeft(100); obj.imageCheckBox296:setTop(0); obj.imageCheckBox296:setWidth(20); obj.imageCheckBox296:setHeight(20); obj.imageCheckBox296:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox296:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox296:setField("magicCheck_255"); obj.imageCheckBox296:setName("imageCheckBox296"); obj.imageCheckBox297 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox297:setParent(obj.layout68); obj.imageCheckBox297:setLeft(120); obj.imageCheckBox297:setTop(0); obj.imageCheckBox297:setWidth(20); obj.imageCheckBox297:setHeight(20); obj.imageCheckBox297:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox297:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox297:setField("magicCheck_256"); obj.imageCheckBox297:setName("imageCheckBox297"); obj.imageCheckBox298 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox298:setParent(obj.layout68); obj.imageCheckBox298:setLeft(140); obj.imageCheckBox298:setTop(0); obj.imageCheckBox298:setWidth(20); obj.imageCheckBox298:setHeight(20); obj.imageCheckBox298:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox298:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox298:setField("magicCheck_257"); obj.imageCheckBox298:setName("imageCheckBox298"); obj.imageCheckBox299 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox299:setParent(obj.layout68); obj.imageCheckBox299:setLeft(160); obj.imageCheckBox299:setTop(0); obj.imageCheckBox299:setWidth(20); obj.imageCheckBox299:setHeight(20); obj.imageCheckBox299:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox299:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox299:setField("magicCheck_258"); obj.imageCheckBox299:setName("imageCheckBox299"); obj.imageCheckBox300 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox300:setParent(obj.layout68); obj.imageCheckBox300:setLeft(180); obj.imageCheckBox300:setTop(0); obj.imageCheckBox300:setWidth(20); obj.imageCheckBox300:setHeight(20); obj.imageCheckBox300:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox300:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox300:setField("magicCheck_259"); obj.imageCheckBox300:setName("imageCheckBox300"); obj.textEditor37 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor37:setParent(obj.layout62); obj.textEditor37:setLeft(36); obj.textEditor37:setTop(1106); obj.textEditor37:setWidth(320); obj.textEditor37:setHeight(150); obj.textEditor37:setFontSize(14); obj.textEditor37:setFontColor("#000000"); obj.textEditor37:setTransparent(true); obj.textEditor37:setField("magicDesc_26"); obj.textEditor37:setName("textEditor37"); obj.layout69 = GUI.fromHandle(_obj_newObject("layout")); obj.layout69:setParent(obj.rectangle4); obj.layout69:setLeft(427); obj.layout69:setTop(0); obj.layout69:setWidth(447); obj.layout69:setHeight(1263); obj.layout69:setName("layout69"); obj.edit155 = GUI.fromHandle(_obj_newObject("edit")); obj.edit155:setParent(obj.layout69); obj.edit155:setLeft(80); obj.edit155:setTop(36); obj.edit155:setWidth(160); obj.edit155:setHeight(30); obj.edit155:setFontSize(16); obj.edit155:setFontColor("#000000"); obj.edit155:setTransparent(true); obj.edit155:setField("magicName_27"); obj.edit155:setName("edit155"); obj.edit156 = GUI.fromHandle(_obj_newObject("edit")); obj.edit156:setParent(obj.layout69); obj.edit156:setLeft(302); obj.edit156:setTop(36); obj.edit156:setWidth(90); obj.edit156:setHeight(30); obj.edit156:setFontSize(16); obj.edit156:setFontColor("#000000"); obj.edit156:setTransparent(true); obj.edit156:setField("magicTrad_27"); obj.edit156:setName("edit156"); obj.edit157 = GUI.fromHandle(_obj_newObject("edit")); obj.edit157:setParent(obj.layout69); obj.edit157:setLeft(406); obj.edit157:setTop(66); obj.edit157:setWidth(90); obj.edit157:setHeight(30); obj.edit157:setFontSize(16); obj.edit157:setFontColor("#000000"); obj.edit157:setTransparent(true); obj.edit157:setField("magicLevel_27"); obj.edit157:setName("edit157"); obj.edit158 = GUI.fromHandle(_obj_newObject("edit")); obj.edit158:setParent(obj.layout69); obj.edit158:setLeft(370); obj.edit158:setTop(98); obj.edit158:setWidth(90); obj.edit158:setHeight(30); obj.edit158:setFontSize(16); obj.edit158:setFontColor("#000000"); obj.edit158:setTransparent(true); obj.edit158:setField("magicConj_27"); obj.edit158:setName("edit158"); obj.layout70 = GUI.fromHandle(_obj_newObject("layout")); obj.layout70:setParent(obj.layout69); obj.layout70:setLeft(73); obj.layout70:setTop(66); obj.layout70:setWidth(200); obj.layout70:setHeight(20); obj.layout70:setName("layout70"); obj.imageCheckBox301 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox301:setParent(obj.layout70); obj.imageCheckBox301:setLeft(0); obj.imageCheckBox301:setTop(0); obj.imageCheckBox301:setWidth(20); obj.imageCheckBox301:setHeight(20); obj.imageCheckBox301:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox301:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox301:setField("magicCheck_260"); obj.imageCheckBox301:setName("imageCheckBox301"); obj.imageCheckBox302 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox302:setParent(obj.layout70); obj.imageCheckBox302:setLeft(20); obj.imageCheckBox302:setTop(0); obj.imageCheckBox302:setWidth(20); obj.imageCheckBox302:setHeight(20); obj.imageCheckBox302:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox302:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox302:setField("magicCheck_261"); obj.imageCheckBox302:setName("imageCheckBox302"); obj.imageCheckBox303 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox303:setParent(obj.layout70); obj.imageCheckBox303:setLeft(40); obj.imageCheckBox303:setTop(0); obj.imageCheckBox303:setWidth(20); obj.imageCheckBox303:setHeight(20); obj.imageCheckBox303:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox303:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox303:setField("magicCheck_262"); obj.imageCheckBox303:setName("imageCheckBox303"); obj.imageCheckBox304 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox304:setParent(obj.layout70); obj.imageCheckBox304:setLeft(60); obj.imageCheckBox304:setTop(0); obj.imageCheckBox304:setWidth(20); obj.imageCheckBox304:setHeight(20); obj.imageCheckBox304:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox304:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox304:setField("magicCheck_263"); obj.imageCheckBox304:setName("imageCheckBox304"); obj.imageCheckBox305 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox305:setParent(obj.layout70); obj.imageCheckBox305:setLeft(80); obj.imageCheckBox305:setTop(0); obj.imageCheckBox305:setWidth(20); obj.imageCheckBox305:setHeight(20); obj.imageCheckBox305:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox305:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox305:setField("magicCheck_264"); obj.imageCheckBox305:setName("imageCheckBox305"); obj.imageCheckBox306 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox306:setParent(obj.layout70); obj.imageCheckBox306:setLeft(100); obj.imageCheckBox306:setTop(0); obj.imageCheckBox306:setWidth(20); obj.imageCheckBox306:setHeight(20); obj.imageCheckBox306:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox306:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox306:setField("magicCheck_265"); obj.imageCheckBox306:setName("imageCheckBox306"); obj.imageCheckBox307 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox307:setParent(obj.layout70); obj.imageCheckBox307:setLeft(120); obj.imageCheckBox307:setTop(0); obj.imageCheckBox307:setWidth(20); obj.imageCheckBox307:setHeight(20); obj.imageCheckBox307:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox307:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox307:setField("magicCheck_266"); obj.imageCheckBox307:setName("imageCheckBox307"); obj.imageCheckBox308 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox308:setParent(obj.layout70); obj.imageCheckBox308:setLeft(140); obj.imageCheckBox308:setTop(0); obj.imageCheckBox308:setWidth(20); obj.imageCheckBox308:setHeight(20); obj.imageCheckBox308:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox308:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox308:setField("magicCheck_267"); obj.imageCheckBox308:setName("imageCheckBox308"); obj.imageCheckBox309 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox309:setParent(obj.layout70); obj.imageCheckBox309:setLeft(160); obj.imageCheckBox309:setTop(0); obj.imageCheckBox309:setWidth(20); obj.imageCheckBox309:setHeight(20); obj.imageCheckBox309:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox309:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox309:setField("magicCheck_268"); obj.imageCheckBox309:setName("imageCheckBox309"); obj.imageCheckBox310 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox310:setParent(obj.layout70); obj.imageCheckBox310:setLeft(180); obj.imageCheckBox310:setTop(0); obj.imageCheckBox310:setWidth(20); obj.imageCheckBox310:setHeight(20); obj.imageCheckBox310:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox310:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox310:setField("magicCheck_269"); obj.imageCheckBox310:setName("imageCheckBox310"); obj.textEditor38 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor38:setParent(obj.layout69); obj.textEditor38:setLeft(36); obj.textEditor38:setTop(86); obj.textEditor38:setWidth(320); obj.textEditor38:setHeight(150); obj.textEditor38:setFontSize(14); obj.textEditor38:setFontColor("#000000"); obj.textEditor38:setTransparent(true); obj.textEditor38:setField("magicDesc_27"); obj.textEditor38:setName("textEditor38"); obj.edit159 = GUI.fromHandle(_obj_newObject("edit")); obj.edit159:setParent(obj.layout69); obj.edit159:setLeft(80); obj.edit159:setTop(242); obj.edit159:setWidth(160); obj.edit159:setHeight(30); obj.edit159:setFontSize(16); obj.edit159:setFontColor("#000000"); obj.edit159:setTransparent(true); obj.edit159:setField("magicName_28"); obj.edit159:setName("edit159"); obj.edit160 = GUI.fromHandle(_obj_newObject("edit")); obj.edit160:setParent(obj.layout69); obj.edit160:setLeft(302); obj.edit160:setTop(242); obj.edit160:setWidth(90); obj.edit160:setHeight(30); obj.edit160:setFontSize(16); obj.edit160:setFontColor("#000000"); obj.edit160:setTransparent(true); obj.edit160:setField("magicTrad_28"); obj.edit160:setName("edit160"); obj.edit161 = GUI.fromHandle(_obj_newObject("edit")); obj.edit161:setParent(obj.layout69); obj.edit161:setLeft(406); obj.edit161:setTop(272); obj.edit161:setWidth(90); obj.edit161:setHeight(30); obj.edit161:setFontSize(16); obj.edit161:setFontColor("#000000"); obj.edit161:setTransparent(true); obj.edit161:setField("magicLevel_28"); obj.edit161:setName("edit161"); obj.edit162 = GUI.fromHandle(_obj_newObject("edit")); obj.edit162:setParent(obj.layout69); obj.edit162:setLeft(370); obj.edit162:setTop(304); obj.edit162:setWidth(90); obj.edit162:setHeight(30); obj.edit162:setFontSize(16); obj.edit162:setFontColor("#000000"); obj.edit162:setTransparent(true); obj.edit162:setField("magicConj_28"); obj.edit162:setName("edit162"); obj.layout71 = GUI.fromHandle(_obj_newObject("layout")); obj.layout71:setParent(obj.layout69); obj.layout71:setLeft(73); obj.layout71:setTop(272); obj.layout71:setWidth(200); obj.layout71:setHeight(20); obj.layout71:setName("layout71"); obj.imageCheckBox311 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox311:setParent(obj.layout71); obj.imageCheckBox311:setLeft(0); obj.imageCheckBox311:setTop(0); obj.imageCheckBox311:setWidth(20); obj.imageCheckBox311:setHeight(20); obj.imageCheckBox311:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox311:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox311:setField("magicCheck_270"); obj.imageCheckBox311:setName("imageCheckBox311"); obj.imageCheckBox312 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox312:setParent(obj.layout71); obj.imageCheckBox312:setLeft(20); obj.imageCheckBox312:setTop(0); obj.imageCheckBox312:setWidth(20); obj.imageCheckBox312:setHeight(20); obj.imageCheckBox312:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox312:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox312:setField("magicCheck_271"); obj.imageCheckBox312:setName("imageCheckBox312"); obj.imageCheckBox313 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox313:setParent(obj.layout71); obj.imageCheckBox313:setLeft(40); obj.imageCheckBox313:setTop(0); obj.imageCheckBox313:setWidth(20); obj.imageCheckBox313:setHeight(20); obj.imageCheckBox313:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox313:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox313:setField("magicCheck_272"); obj.imageCheckBox313:setName("imageCheckBox313"); obj.imageCheckBox314 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox314:setParent(obj.layout71); obj.imageCheckBox314:setLeft(60); obj.imageCheckBox314:setTop(0); obj.imageCheckBox314:setWidth(20); obj.imageCheckBox314:setHeight(20); obj.imageCheckBox314:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox314:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox314:setField("magicCheck_273"); obj.imageCheckBox314:setName("imageCheckBox314"); obj.imageCheckBox315 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox315:setParent(obj.layout71); obj.imageCheckBox315:setLeft(80); obj.imageCheckBox315:setTop(0); obj.imageCheckBox315:setWidth(20); obj.imageCheckBox315:setHeight(20); obj.imageCheckBox315:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox315:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox315:setField("magicCheck_274"); obj.imageCheckBox315:setName("imageCheckBox315"); obj.imageCheckBox316 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox316:setParent(obj.layout71); obj.imageCheckBox316:setLeft(100); obj.imageCheckBox316:setTop(0); obj.imageCheckBox316:setWidth(20); obj.imageCheckBox316:setHeight(20); obj.imageCheckBox316:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox316:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox316:setField("magicCheck_275"); obj.imageCheckBox316:setName("imageCheckBox316"); obj.imageCheckBox317 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox317:setParent(obj.layout71); obj.imageCheckBox317:setLeft(120); obj.imageCheckBox317:setTop(0); obj.imageCheckBox317:setWidth(20); obj.imageCheckBox317:setHeight(20); obj.imageCheckBox317:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox317:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox317:setField("magicCheck_276"); obj.imageCheckBox317:setName("imageCheckBox317"); obj.imageCheckBox318 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox318:setParent(obj.layout71); obj.imageCheckBox318:setLeft(140); obj.imageCheckBox318:setTop(0); obj.imageCheckBox318:setWidth(20); obj.imageCheckBox318:setHeight(20); obj.imageCheckBox318:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox318:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox318:setField("magicCheck_277"); obj.imageCheckBox318:setName("imageCheckBox318"); obj.imageCheckBox319 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox319:setParent(obj.layout71); obj.imageCheckBox319:setLeft(160); obj.imageCheckBox319:setTop(0); obj.imageCheckBox319:setWidth(20); obj.imageCheckBox319:setHeight(20); obj.imageCheckBox319:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox319:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox319:setField("magicCheck_278"); obj.imageCheckBox319:setName("imageCheckBox319"); obj.imageCheckBox320 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox320:setParent(obj.layout71); obj.imageCheckBox320:setLeft(180); obj.imageCheckBox320:setTop(0); obj.imageCheckBox320:setWidth(20); obj.imageCheckBox320:setHeight(20); obj.imageCheckBox320:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox320:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox320:setField("magicCheck_279"); obj.imageCheckBox320:setName("imageCheckBox320"); obj.textEditor39 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor39:setParent(obj.layout69); obj.textEditor39:setLeft(36); obj.textEditor39:setTop(292); obj.textEditor39:setWidth(320); obj.textEditor39:setHeight(150); obj.textEditor39:setFontSize(14); obj.textEditor39:setFontColor("#000000"); obj.textEditor39:setTransparent(true); obj.textEditor39:setField("magicDesc_28"); obj.textEditor39:setName("textEditor39"); obj.edit163 = GUI.fromHandle(_obj_newObject("edit")); obj.edit163:setParent(obj.layout69); obj.edit163:setLeft(80); obj.edit163:setTop(448); obj.edit163:setWidth(160); obj.edit163:setHeight(30); obj.edit163:setFontSize(16); obj.edit163:setFontColor("#000000"); obj.edit163:setTransparent(true); obj.edit163:setField("magicName_29"); obj.edit163:setName("edit163"); obj.edit164 = GUI.fromHandle(_obj_newObject("edit")); obj.edit164:setParent(obj.layout69); obj.edit164:setLeft(302); obj.edit164:setTop(448); obj.edit164:setWidth(90); obj.edit164:setHeight(30); obj.edit164:setFontSize(16); obj.edit164:setFontColor("#000000"); obj.edit164:setTransparent(true); obj.edit164:setField("magicTrad_29"); obj.edit164:setName("edit164"); obj.edit165 = GUI.fromHandle(_obj_newObject("edit")); obj.edit165:setParent(obj.layout69); obj.edit165:setLeft(406); obj.edit165:setTop(478); obj.edit165:setWidth(90); obj.edit165:setHeight(30); obj.edit165:setFontSize(16); obj.edit165:setFontColor("#000000"); obj.edit165:setTransparent(true); obj.edit165:setField("magicLevel_29"); obj.edit165:setName("edit165"); obj.edit166 = GUI.fromHandle(_obj_newObject("edit")); obj.edit166:setParent(obj.layout69); obj.edit166:setLeft(370); obj.edit166:setTop(510); obj.edit166:setWidth(90); obj.edit166:setHeight(30); obj.edit166:setFontSize(16); obj.edit166:setFontColor("#000000"); obj.edit166:setTransparent(true); obj.edit166:setField("magicConj_29"); obj.edit166:setName("edit166"); obj.layout72 = GUI.fromHandle(_obj_newObject("layout")); obj.layout72:setParent(obj.layout69); obj.layout72:setLeft(73); obj.layout72:setTop(478); obj.layout72:setWidth(200); obj.layout72:setHeight(20); obj.layout72:setName("layout72"); obj.imageCheckBox321 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox321:setParent(obj.layout72); obj.imageCheckBox321:setLeft(0); obj.imageCheckBox321:setTop(0); obj.imageCheckBox321:setWidth(20); obj.imageCheckBox321:setHeight(20); obj.imageCheckBox321:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox321:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox321:setField("magicCheck_280"); obj.imageCheckBox321:setName("imageCheckBox321"); obj.imageCheckBox322 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox322:setParent(obj.layout72); obj.imageCheckBox322:setLeft(20); obj.imageCheckBox322:setTop(0); obj.imageCheckBox322:setWidth(20); obj.imageCheckBox322:setHeight(20); obj.imageCheckBox322:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox322:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox322:setField("magicCheck_281"); obj.imageCheckBox322:setName("imageCheckBox322"); obj.imageCheckBox323 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox323:setParent(obj.layout72); obj.imageCheckBox323:setLeft(40); obj.imageCheckBox323:setTop(0); obj.imageCheckBox323:setWidth(20); obj.imageCheckBox323:setHeight(20); obj.imageCheckBox323:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox323:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox323:setField("magicCheck_282"); obj.imageCheckBox323:setName("imageCheckBox323"); obj.imageCheckBox324 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox324:setParent(obj.layout72); obj.imageCheckBox324:setLeft(60); obj.imageCheckBox324:setTop(0); obj.imageCheckBox324:setWidth(20); obj.imageCheckBox324:setHeight(20); obj.imageCheckBox324:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox324:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox324:setField("magicCheck_283"); obj.imageCheckBox324:setName("imageCheckBox324"); obj.imageCheckBox325 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox325:setParent(obj.layout72); obj.imageCheckBox325:setLeft(80); obj.imageCheckBox325:setTop(0); obj.imageCheckBox325:setWidth(20); obj.imageCheckBox325:setHeight(20); obj.imageCheckBox325:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox325:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox325:setField("magicCheck_284"); obj.imageCheckBox325:setName("imageCheckBox325"); obj.imageCheckBox326 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox326:setParent(obj.layout72); obj.imageCheckBox326:setLeft(100); obj.imageCheckBox326:setTop(0); obj.imageCheckBox326:setWidth(20); obj.imageCheckBox326:setHeight(20); obj.imageCheckBox326:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox326:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox326:setField("magicCheck_285"); obj.imageCheckBox326:setName("imageCheckBox326"); obj.imageCheckBox327 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox327:setParent(obj.layout72); obj.imageCheckBox327:setLeft(120); obj.imageCheckBox327:setTop(0); obj.imageCheckBox327:setWidth(20); obj.imageCheckBox327:setHeight(20); obj.imageCheckBox327:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox327:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox327:setField("magicCheck_286"); obj.imageCheckBox327:setName("imageCheckBox327"); obj.imageCheckBox328 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox328:setParent(obj.layout72); obj.imageCheckBox328:setLeft(140); obj.imageCheckBox328:setTop(0); obj.imageCheckBox328:setWidth(20); obj.imageCheckBox328:setHeight(20); obj.imageCheckBox328:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox328:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox328:setField("magicCheck_287"); obj.imageCheckBox328:setName("imageCheckBox328"); obj.imageCheckBox329 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox329:setParent(obj.layout72); obj.imageCheckBox329:setLeft(160); obj.imageCheckBox329:setTop(0); obj.imageCheckBox329:setWidth(20); obj.imageCheckBox329:setHeight(20); obj.imageCheckBox329:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox329:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox329:setField("magicCheck_288"); obj.imageCheckBox329:setName("imageCheckBox329"); obj.imageCheckBox330 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox330:setParent(obj.layout72); obj.imageCheckBox330:setLeft(180); obj.imageCheckBox330:setTop(0); obj.imageCheckBox330:setWidth(20); obj.imageCheckBox330:setHeight(20); obj.imageCheckBox330:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox330:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox330:setField("magicCheck_289"); obj.imageCheckBox330:setName("imageCheckBox330"); obj.textEditor40 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor40:setParent(obj.layout69); obj.textEditor40:setLeft(36); obj.textEditor40:setTop(498); obj.textEditor40:setWidth(320); obj.textEditor40:setHeight(150); obj.textEditor40:setFontSize(14); obj.textEditor40:setFontColor("#000000"); obj.textEditor40:setTransparent(true); obj.textEditor40:setField("magicDesc_29"); obj.textEditor40:setName("textEditor40"); obj.edit167 = GUI.fromHandle(_obj_newObject("edit")); obj.edit167:setParent(obj.layout69); obj.edit167:setLeft(80); obj.edit167:setTop(670); obj.edit167:setWidth(160); obj.edit167:setHeight(30); obj.edit167:setFontSize(16); obj.edit167:setFontColor("#000000"); obj.edit167:setTransparent(true); obj.edit167:setField("magicName_210"); obj.edit167:setName("edit167"); obj.edit168 = GUI.fromHandle(_obj_newObject("edit")); obj.edit168:setParent(obj.layout69); obj.edit168:setLeft(302); obj.edit168:setTop(670); obj.edit168:setWidth(90); obj.edit168:setHeight(30); obj.edit168:setFontSize(16); obj.edit168:setFontColor("#000000"); obj.edit168:setTransparent(true); obj.edit168:setField("magicTrad_210"); obj.edit168:setName("edit168"); obj.edit169 = GUI.fromHandle(_obj_newObject("edit")); obj.edit169:setParent(obj.layout69); obj.edit169:setLeft(406); obj.edit169:setTop(700); obj.edit169:setWidth(90); obj.edit169:setHeight(30); obj.edit169:setFontSize(16); obj.edit169:setFontColor("#000000"); obj.edit169:setTransparent(true); obj.edit169:setField("magicLevel_210"); obj.edit169:setName("edit169"); obj.edit170 = GUI.fromHandle(_obj_newObject("edit")); obj.edit170:setParent(obj.layout69); obj.edit170:setLeft(370); obj.edit170:setTop(732); obj.edit170:setWidth(90); obj.edit170:setHeight(30); obj.edit170:setFontSize(16); obj.edit170:setFontColor("#000000"); obj.edit170:setTransparent(true); obj.edit170:setField("magicConj_210"); obj.edit170:setName("edit170"); obj.layout73 = GUI.fromHandle(_obj_newObject("layout")); obj.layout73:setParent(obj.layout69); obj.layout73:setLeft(73); obj.layout73:setTop(700); obj.layout73:setWidth(200); obj.layout73:setHeight(20); obj.layout73:setName("layout73"); obj.imageCheckBox331 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox331:setParent(obj.layout73); obj.imageCheckBox331:setLeft(0); obj.imageCheckBox331:setTop(0); obj.imageCheckBox331:setWidth(20); obj.imageCheckBox331:setHeight(20); obj.imageCheckBox331:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox331:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox331:setField("magicCheck_290"); obj.imageCheckBox331:setName("imageCheckBox331"); obj.imageCheckBox332 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox332:setParent(obj.layout73); obj.imageCheckBox332:setLeft(20); obj.imageCheckBox332:setTop(0); obj.imageCheckBox332:setWidth(20); obj.imageCheckBox332:setHeight(20); obj.imageCheckBox332:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox332:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox332:setField("magicCheck_291"); obj.imageCheckBox332:setName("imageCheckBox332"); obj.imageCheckBox333 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox333:setParent(obj.layout73); obj.imageCheckBox333:setLeft(40); obj.imageCheckBox333:setTop(0); obj.imageCheckBox333:setWidth(20); obj.imageCheckBox333:setHeight(20); obj.imageCheckBox333:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox333:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox333:setField("magicCheck_292"); obj.imageCheckBox333:setName("imageCheckBox333"); obj.imageCheckBox334 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox334:setParent(obj.layout73); obj.imageCheckBox334:setLeft(60); obj.imageCheckBox334:setTop(0); obj.imageCheckBox334:setWidth(20); obj.imageCheckBox334:setHeight(20); obj.imageCheckBox334:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox334:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox334:setField("magicCheck_293"); obj.imageCheckBox334:setName("imageCheckBox334"); obj.imageCheckBox335 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox335:setParent(obj.layout73); obj.imageCheckBox335:setLeft(80); obj.imageCheckBox335:setTop(0); obj.imageCheckBox335:setWidth(20); obj.imageCheckBox335:setHeight(20); obj.imageCheckBox335:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox335:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox335:setField("magicCheck_294"); obj.imageCheckBox335:setName("imageCheckBox335"); obj.imageCheckBox336 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox336:setParent(obj.layout73); obj.imageCheckBox336:setLeft(100); obj.imageCheckBox336:setTop(0); obj.imageCheckBox336:setWidth(20); obj.imageCheckBox336:setHeight(20); obj.imageCheckBox336:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox336:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox336:setField("magicCheck_295"); obj.imageCheckBox336:setName("imageCheckBox336"); obj.imageCheckBox337 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox337:setParent(obj.layout73); obj.imageCheckBox337:setLeft(120); obj.imageCheckBox337:setTop(0); obj.imageCheckBox337:setWidth(20); obj.imageCheckBox337:setHeight(20); obj.imageCheckBox337:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox337:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox337:setField("magicCheck_296"); obj.imageCheckBox337:setName("imageCheckBox337"); obj.imageCheckBox338 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox338:setParent(obj.layout73); obj.imageCheckBox338:setLeft(140); obj.imageCheckBox338:setTop(0); obj.imageCheckBox338:setWidth(20); obj.imageCheckBox338:setHeight(20); obj.imageCheckBox338:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox338:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox338:setField("magicCheck_297"); obj.imageCheckBox338:setName("imageCheckBox338"); obj.imageCheckBox339 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox339:setParent(obj.layout73); obj.imageCheckBox339:setLeft(160); obj.imageCheckBox339:setTop(0); obj.imageCheckBox339:setWidth(20); obj.imageCheckBox339:setHeight(20); obj.imageCheckBox339:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox339:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox339:setField("magicCheck_298"); obj.imageCheckBox339:setName("imageCheckBox339"); obj.imageCheckBox340 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox340:setParent(obj.layout73); obj.imageCheckBox340:setLeft(180); obj.imageCheckBox340:setTop(0); obj.imageCheckBox340:setWidth(20); obj.imageCheckBox340:setHeight(20); obj.imageCheckBox340:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox340:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox340:setField("magicCheck_299"); obj.imageCheckBox340:setName("imageCheckBox340"); obj.textEditor41 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor41:setParent(obj.layout69); obj.textEditor41:setLeft(36); obj.textEditor41:setTop(720); obj.textEditor41:setWidth(320); obj.textEditor41:setHeight(150); obj.textEditor41:setFontSize(14); obj.textEditor41:setFontColor("#000000"); obj.textEditor41:setTransparent(true); obj.textEditor41:setField("magicDesc_210"); obj.textEditor41:setName("textEditor41"); obj.edit171 = GUI.fromHandle(_obj_newObject("edit")); obj.edit171:setParent(obj.layout69); obj.edit171:setLeft(80); obj.edit171:setTop(856); obj.edit171:setWidth(160); obj.edit171:setHeight(30); obj.edit171:setFontSize(16); obj.edit171:setFontColor("#000000"); obj.edit171:setTransparent(true); obj.edit171:setField("magicName_2211"); obj.edit171:setName("edit171"); obj.edit172 = GUI.fromHandle(_obj_newObject("edit")); obj.edit172:setParent(obj.layout69); obj.edit172:setLeft(302); obj.edit172:setTop(856); obj.edit172:setWidth(90); obj.edit172:setHeight(30); obj.edit172:setFontSize(16); obj.edit172:setFontColor("#000000"); obj.edit172:setTransparent(true); obj.edit172:setField("magicTrad_2211"); obj.edit172:setName("edit172"); obj.edit173 = GUI.fromHandle(_obj_newObject("edit")); obj.edit173:setParent(obj.layout69); obj.edit173:setLeft(406); obj.edit173:setTop(886); obj.edit173:setWidth(90); obj.edit173:setHeight(30); obj.edit173:setFontSize(16); obj.edit173:setFontColor("#000000"); obj.edit173:setTransparent(true); obj.edit173:setField("magicLevel_2211"); obj.edit173:setName("edit173"); obj.edit174 = GUI.fromHandle(_obj_newObject("edit")); obj.edit174:setParent(obj.layout69); obj.edit174:setLeft(370); obj.edit174:setTop(918); obj.edit174:setWidth(90); obj.edit174:setHeight(30); obj.edit174:setFontSize(16); obj.edit174:setFontColor("#000000"); obj.edit174:setTransparent(true); obj.edit174:setField("magicConj_2211"); obj.edit174:setName("edit174"); obj.layout74 = GUI.fromHandle(_obj_newObject("layout")); obj.layout74:setParent(obj.layout69); obj.layout74:setLeft(73); obj.layout74:setTop(886); obj.layout74:setWidth(200); obj.layout74:setHeight(20); obj.layout74:setName("layout74"); obj.imageCheckBox341 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox341:setParent(obj.layout74); obj.imageCheckBox341:setLeft(0); obj.imageCheckBox341:setTop(0); obj.imageCheckBox341:setWidth(20); obj.imageCheckBox341:setHeight(20); obj.imageCheckBox341:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox341:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox341:setField("magicCheck_2100"); obj.imageCheckBox341:setName("imageCheckBox341"); obj.imageCheckBox342 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox342:setParent(obj.layout74); obj.imageCheckBox342:setLeft(20); obj.imageCheckBox342:setTop(0); obj.imageCheckBox342:setWidth(20); obj.imageCheckBox342:setHeight(20); obj.imageCheckBox342:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox342:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox342:setField("magicCheck_2101"); obj.imageCheckBox342:setName("imageCheckBox342"); obj.imageCheckBox343 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox343:setParent(obj.layout74); obj.imageCheckBox343:setLeft(40); obj.imageCheckBox343:setTop(0); obj.imageCheckBox343:setWidth(20); obj.imageCheckBox343:setHeight(20); obj.imageCheckBox343:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox343:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox343:setField("magicCheck_2102"); obj.imageCheckBox343:setName("imageCheckBox343"); obj.imageCheckBox344 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox344:setParent(obj.layout74); obj.imageCheckBox344:setLeft(60); obj.imageCheckBox344:setTop(0); obj.imageCheckBox344:setWidth(20); obj.imageCheckBox344:setHeight(20); obj.imageCheckBox344:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox344:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox344:setField("magicCheck_2103"); obj.imageCheckBox344:setName("imageCheckBox344"); obj.imageCheckBox345 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox345:setParent(obj.layout74); obj.imageCheckBox345:setLeft(80); obj.imageCheckBox345:setTop(0); obj.imageCheckBox345:setWidth(20); obj.imageCheckBox345:setHeight(20); obj.imageCheckBox345:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox345:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox345:setField("magicCheck_2104"); obj.imageCheckBox345:setName("imageCheckBox345"); obj.imageCheckBox346 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox346:setParent(obj.layout74); obj.imageCheckBox346:setLeft(100); obj.imageCheckBox346:setTop(0); obj.imageCheckBox346:setWidth(20); obj.imageCheckBox346:setHeight(20); obj.imageCheckBox346:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox346:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox346:setField("magicCheck_2105"); obj.imageCheckBox346:setName("imageCheckBox346"); obj.imageCheckBox347 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox347:setParent(obj.layout74); obj.imageCheckBox347:setLeft(120); obj.imageCheckBox347:setTop(0); obj.imageCheckBox347:setWidth(20); obj.imageCheckBox347:setHeight(20); obj.imageCheckBox347:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox347:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox347:setField("magicCheck_2106"); obj.imageCheckBox347:setName("imageCheckBox347"); obj.imageCheckBox348 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox348:setParent(obj.layout74); obj.imageCheckBox348:setLeft(140); obj.imageCheckBox348:setTop(0); obj.imageCheckBox348:setWidth(20); obj.imageCheckBox348:setHeight(20); obj.imageCheckBox348:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox348:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox348:setField("magicCheck_2107"); obj.imageCheckBox348:setName("imageCheckBox348"); obj.imageCheckBox349 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox349:setParent(obj.layout74); obj.imageCheckBox349:setLeft(160); obj.imageCheckBox349:setTop(0); obj.imageCheckBox349:setWidth(20); obj.imageCheckBox349:setHeight(20); obj.imageCheckBox349:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox349:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox349:setField("magicCheck_2108"); obj.imageCheckBox349:setName("imageCheckBox349"); obj.imageCheckBox350 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox350:setParent(obj.layout74); obj.imageCheckBox350:setLeft(180); obj.imageCheckBox350:setTop(0); obj.imageCheckBox350:setWidth(20); obj.imageCheckBox350:setHeight(20); obj.imageCheckBox350:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox350:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox350:setField("magicCheck_2109"); obj.imageCheckBox350:setName("imageCheckBox350"); obj.textEditor42 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor42:setParent(obj.layout69); obj.textEditor42:setLeft(36); obj.textEditor42:setTop(906); obj.textEditor42:setWidth(320); obj.textEditor42:setHeight(150); obj.textEditor42:setFontSize(14); obj.textEditor42:setFontColor("#000000"); obj.textEditor42:setTransparent(true); obj.textEditor42:setField("magicDesc_2211"); obj.textEditor42:setName("textEditor42"); obj.edit175 = GUI.fromHandle(_obj_newObject("edit")); obj.edit175:setParent(obj.layout69); obj.edit175:setLeft(80); obj.edit175:setTop(1056); obj.edit175:setWidth(160); obj.edit175:setHeight(30); obj.edit175:setFontSize(16); obj.edit175:setFontColor("#000000"); obj.edit175:setTransparent(true); obj.edit175:setField("magicName_12"); obj.edit175:setName("edit175"); obj.edit176 = GUI.fromHandle(_obj_newObject("edit")); obj.edit176:setParent(obj.layout69); obj.edit176:setLeft(302); obj.edit176:setTop(1056); obj.edit176:setWidth(90); obj.edit176:setHeight(30); obj.edit176:setFontSize(16); obj.edit176:setFontColor("#000000"); obj.edit176:setTransparent(true); obj.edit176:setField("magicTrad_12"); obj.edit176:setName("edit176"); obj.edit177 = GUI.fromHandle(_obj_newObject("edit")); obj.edit177:setParent(obj.layout69); obj.edit177:setLeft(406); obj.edit177:setTop(1086); obj.edit177:setWidth(90); obj.edit177:setHeight(30); obj.edit177:setFontSize(16); obj.edit177:setFontColor("#000000"); obj.edit177:setTransparent(true); obj.edit177:setField("magicLevel_12"); obj.edit177:setName("edit177"); obj.edit178 = GUI.fromHandle(_obj_newObject("edit")); obj.edit178:setParent(obj.layout69); obj.edit178:setLeft(370); obj.edit178:setTop(1118); obj.edit178:setWidth(90); obj.edit178:setHeight(30); obj.edit178:setFontSize(16); obj.edit178:setFontColor("#000000"); obj.edit178:setTransparent(true); obj.edit178:setField("magicConj_12"); obj.edit178:setName("edit178"); obj.layout75 = GUI.fromHandle(_obj_newObject("layout")); obj.layout75:setParent(obj.layout69); obj.layout75:setLeft(73); obj.layout75:setTop(1086); obj.layout75:setWidth(200); obj.layout75:setHeight(20); obj.layout75:setName("layout75"); obj.imageCheckBox351 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox351:setParent(obj.layout75); obj.imageCheckBox351:setLeft(0); obj.imageCheckBox351:setTop(0); obj.imageCheckBox351:setWidth(20); obj.imageCheckBox351:setHeight(20); obj.imageCheckBox351:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox351:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox351:setField("magicCheck_2110"); obj.imageCheckBox351:setName("imageCheckBox351"); obj.imageCheckBox352 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox352:setParent(obj.layout75); obj.imageCheckBox352:setLeft(20); obj.imageCheckBox352:setTop(0); obj.imageCheckBox352:setWidth(20); obj.imageCheckBox352:setHeight(20); obj.imageCheckBox352:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox352:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox352:setField("magicCheck_2111"); obj.imageCheckBox352:setName("imageCheckBox352"); obj.imageCheckBox353 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox353:setParent(obj.layout75); obj.imageCheckBox353:setLeft(40); obj.imageCheckBox353:setTop(0); obj.imageCheckBox353:setWidth(20); obj.imageCheckBox353:setHeight(20); obj.imageCheckBox353:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox353:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox353:setField("magicCheck_2112"); obj.imageCheckBox353:setName("imageCheckBox353"); obj.imageCheckBox354 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox354:setParent(obj.layout75); obj.imageCheckBox354:setLeft(60); obj.imageCheckBox354:setTop(0); obj.imageCheckBox354:setWidth(20); obj.imageCheckBox354:setHeight(20); obj.imageCheckBox354:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox354:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox354:setField("magicCheck_2113"); obj.imageCheckBox354:setName("imageCheckBox354"); obj.imageCheckBox355 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox355:setParent(obj.layout75); obj.imageCheckBox355:setLeft(80); obj.imageCheckBox355:setTop(0); obj.imageCheckBox355:setWidth(20); obj.imageCheckBox355:setHeight(20); obj.imageCheckBox355:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox355:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox355:setField("magicCheck_2114"); obj.imageCheckBox355:setName("imageCheckBox355"); obj.imageCheckBox356 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox356:setParent(obj.layout75); obj.imageCheckBox356:setLeft(100); obj.imageCheckBox356:setTop(0); obj.imageCheckBox356:setWidth(20); obj.imageCheckBox356:setHeight(20); obj.imageCheckBox356:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox356:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox356:setField("magicCheck_2115"); obj.imageCheckBox356:setName("imageCheckBox356"); obj.imageCheckBox357 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox357:setParent(obj.layout75); obj.imageCheckBox357:setLeft(120); obj.imageCheckBox357:setTop(0); obj.imageCheckBox357:setWidth(20); obj.imageCheckBox357:setHeight(20); obj.imageCheckBox357:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox357:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox357:setField("magicCheck_2116"); obj.imageCheckBox357:setName("imageCheckBox357"); obj.imageCheckBox358 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox358:setParent(obj.layout75); obj.imageCheckBox358:setLeft(140); obj.imageCheckBox358:setTop(0); obj.imageCheckBox358:setWidth(20); obj.imageCheckBox358:setHeight(20); obj.imageCheckBox358:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox358:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox358:setField("magicCheck_2117"); obj.imageCheckBox358:setName("imageCheckBox358"); obj.imageCheckBox359 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox359:setParent(obj.layout75); obj.imageCheckBox359:setLeft(160); obj.imageCheckBox359:setTop(0); obj.imageCheckBox359:setWidth(20); obj.imageCheckBox359:setHeight(20); obj.imageCheckBox359:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox359:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox359:setField("magicCheck_2118"); obj.imageCheckBox359:setName("imageCheckBox359"); obj.imageCheckBox360 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox360:setParent(obj.layout75); obj.imageCheckBox360:setLeft(180); obj.imageCheckBox360:setTop(0); obj.imageCheckBox360:setWidth(20); obj.imageCheckBox360:setHeight(20); obj.imageCheckBox360:setImageUnchecked("/SODLFillable/images/checkboxUnchecked.png"); obj.imageCheckBox360:setImageChecked("/SODLFillable/images/checkboxChecked.png"); obj.imageCheckBox360:setField("magicCheck_2119"); obj.imageCheckBox360:setName("imageCheckBox360"); obj.textEditor43 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor43:setParent(obj.layout69); obj.textEditor43:setLeft(36); obj.textEditor43:setTop(1106); obj.textEditor43:setWidth(320); obj.textEditor43:setHeight(150); obj.textEditor43:setFontSize(14); obj.textEditor43:setFontColor("#000000"); obj.textEditor43:setTransparent(true); obj.textEditor43:setField("magicDesc_212"); obj.textEditor43:setName("textEditor43"); obj.tab5 = GUI.fromHandle(_obj_newObject("tab")); obj.tab5:setParent(obj.tabControl1); obj.tab5:setTitle("Página 5"); obj.tab5:setName("tab5"); obj.frmSODLFillable5_svg = GUI.fromHandle(_obj_newObject("form")); obj.frmSODLFillable5_svg:setParent(obj.tab5); obj.frmSODLFillable5_svg:setName("frmSODLFillable5_svg"); obj.frmSODLFillable5_svg:setAlign("client"); obj.frmSODLFillable5_svg:setTheme("light"); obj.frmSODLFillable5_svg:setMargins({top=1}); obj.scrollBox5 = GUI.fromHandle(_obj_newObject("scrollBox")); obj.scrollBox5:setParent(obj.frmSODLFillable5_svg); obj.scrollBox5:setAlign("client"); obj.scrollBox5:setName("scrollBox5"); obj.rectangle5 = GUI.fromHandle(_obj_newObject("rectangle")); obj.rectangle5:setParent(obj.scrollBox5); obj.rectangle5:setWidth(881); obj.rectangle5:setHeight(1267); obj.rectangle5:setColor("white"); obj.rectangle5:setName("rectangle5"); obj.image5 = GUI.fromHandle(_obj_newObject("image")); obj.image5:setParent(obj.rectangle5); obj.image5:setLeft(0); obj.image5:setTop(0); obj.image5:setWidth(881); obj.image5:setHeight(1267); obj.image5:setSRC("/SODLFillable/images/5.png"); obj.image5:setStyle("stretch"); obj.image5:setOptimize(true); obj.image5:setName("image5"); obj.layout76 = GUI.fromHandle(_obj_newObject("layout")); obj.layout76:setParent(obj.rectangle5); obj.layout76:setLeft(0); obj.layout76:setTop(0); obj.layout76:setWidth(881); obj.layout76:setHeight(1267); obj.layout76:setName("layout76"); obj.textEditor44 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor44:setParent(obj.layout76); obj.textEditor44:setWidth(881); obj.textEditor44:setHeight(1267); obj.textEditor44:setFontColor("#000000"); obj.textEditor44:setFontSize(18); obj.textEditor44:setTransparent(true); obj.textEditor44:setField("Background"); obj.textEditor44:setName("textEditor44"); obj._e_event0 = obj.button1:addEventListener("onClick", function (_) local weaponName = sheet.Weapon_1; local attribute; local attackRoll = Firecast.interpretarRolagem("1d20"); local boonBaneLocalRoll = 0; local characterTable = Firecast.getMesaDe(sheet); local boonBaneBonus = 0; local operation; local boonOrBane; if sheet.BoonsBanes == '0' or sheet.BoonsBanes == nil then if sheet.Attribute_1 == 'Strength' then attackRoll = Firecast.interpretarRolagem(sheet.Strength_Modifier):concatenar(attackRoll); elseif sheet.Attribute_1 == 'Agility' then attackRoll = Firecast.interpretarRolagem(sheet.Agility_Modifier):concatenar(attackRoll); else characterTable.chat:enviarMensagem("Escolha um atributo para a rolagem de ataque"); return; end; if weaponName == '' then weaponName = "Weapon without name" end; if characterTable ~= nil then characterTable.chat:rolarDados(attackRoll, weaponName); end; else if (tonumber(sheet.BoonsBanes) > 0) then boonOrBane = " Boon"; if(tonumber(sheet.BoonsBanes) > 1) then boonOrBane = " Boons"; end; elseif (0 > tonumber(sheet.BoonsBanes)) then boonOrBane = " Bane"; if(-1 > tonumber(sheet.BoonsBanes)) then boonOrBane = " Banes"; end; end; boonBaneLocalRoll = Firecast.interpretarRolagem((sheet.BoonsBanes):sub(2) .. "d6"); characterTable.chat:rolarDados(boonBaneLocalRoll, sheet.BoonsBanes .. boonOrBane, function (rollResult) for i=1,#rollResult.ops,1 do operation = rollResult.ops[i]; for j=1, #operation.resultados,1 do if operation.resultados[j] > boonBaneBonus then boonBaneBonus = operation.resultados[j]; end; end; end; local attributeModifier; if sheet.Attribute_1 == 'Strength' then attributeModifier = sheet.Strength_Modifier; elseif sheet.Attribute_1 == 'Agility' then attributeModifier = sheet.Agility_Modifier; else characterTable.chat:enviarMensagem("Escolha um atributo para a rolagem de ataque."); return; end; if(0 > tonumber(sheet.BoonsBanes)) then boonBaneBonus = tonumber(boonBaneBonus - attributeModifier); elseif(tonumber(sheet.BoonsBanes) > 0) then boonBaneBonus = tonumber(boonBaneBonus + attributeModifier); end; if(0 > boonBaneBonus) then boonBaneBonus = tostring(boonBaneBonus).sub(2,0); end; boonBaneBonus = Firecast.interpretarRolagem(boonBaneBonus); attackRoll = Firecast.interpretarRolagem("1d20 "):concatenar(boonBaneBonus); if sheet.Weapon_1 == nil then weaponName = "Arma sem nome"; end; if characterTable ~= nil then characterTable.chat:rolarDados(attackRoll,'Ataque de ' .. weaponName); end; end); end; end, obj); obj._e_event1 = obj.button2:addEventListener("onClick", function (_) local characterTable = Firecast.getMesaDe(sheet); local damageRoll = Firecast.interpretarRolagem(sheet.Damageroll_1); local weaponName; if not damageRoll.possuiAlgumDado then return; end; if sheet.Weapon_1 == nil then weaponName = "Arma sem nome"; else weaponName = sheet.Weapon_1; end; if characterTable ~= nil then characterTable.chat:rolarDados(damageRoll, "Dano de " .. weaponName); end; end, obj); obj._e_event2 = obj.button3:addEventListener("onClick", function (_) local weaponName = sheet.Weapon_2; local attribute; local attackRoll = Firecast.interpretarRolagem("1d20"); local boonBaneLocalRoll = 0; local characterTable = Firecast.getMesaDe(sheet); local boonBaneBonus = 0; local operation; local boonOrBane; if sheet.BoonsBanes == '0' or sheet.BoonsBanes == nil then if sheet.Attribute_2 == 'Strength' then attackRoll = Firecast.interpretarRolagem(sheet.Strength_Modifier):concatenar(attackRoll); elseif sheet.Attribute_2 == 'Agility' then attackRoll = Firecast.interpretarRolagem(sheet.Agility_Modifier):concatenar(attackRoll); else characterTable.chat:enviarMensagem("Escolha um atributo para a rolagem de ataque."); return; end; if weaponName == '' then weaponName = "Weapon without name" end; if characterTable ~= nil then characterTable.chat:rolarDados(attackRoll, weaponName); end; else if (tonumber(sheet.BoonsBanes) > 0) then boonOrBane = " Boon"; if(tonumber(sheet.BoonsBanes) > 1) then boonOrBane = " Boons"; end; elseif (0 > tonumber(sheet.BoonsBanes)) then boonOrBane = " Bane"; if(-1 > tonumber(sheet.BoonsBanes)) then boonOrBane = " Banes"; end; end; boonBaneLocalRoll = Firecast.interpretarRolagem((sheet.BoonsBanes):sub(2) .. "d6"); characterTable.chat:rolarDados(boonBaneLocalRoll, sheet.BoonsBanes .. boonOrBane, function (rollResult) for i=1,#rollResult.ops,1 do operation = rollResult.ops[i]; for j=1, #operation.resultados,1 do if operation.resultados[j] > boonBaneBonus then boonBaneBonus = operation.resultados[j]; end; end; end; local attributeModifier; if sheet.Attribute_2 == 'Strength' then attributeModifier = sheet.Strength_Modifier; elseif sheet.Attribute_2 == 'Agility' then attributeModifier = sheet.Agility_Modifier; else characterTable.chat:enviarMensagem("Escolha um atributo para a rolagem de ataque."); return; end; if(0 > tonumber(sheet.BoonsBanes)) then boonBaneBonus = tonumber(boonBaneBonus - attributeModifier); elseif(tonumber(sheet.BoonsBanes) > 0) then boonBaneBonus = tonumber(boonBaneBonus + attributeModifier); end; if(0 > boonBaneBonus) then boonBaneBonus = tostring(boonBaneBonus).sub(2,0); end; boonBaneBonus = Firecast.interpretarRolagem(boonBaneBonus); attackRoll = Firecast.interpretarRolagem("1d20 "):concatenar(boonBaneBonus); if sheet.Weapon_2 == nil then weaponName = "Arma sem nome"; end; if characterTable ~= nil then characterTable.chat:rolarDados(attackRoll,'Ataque de ' .. weaponName); end; end); end; end, obj); obj._e_event3 = obj.button4:addEventListener("onClick", function (_) local characterTable = Firecast.getMesaDe(sheet); local damageRoll = Firecast.interpretarRolagem(sheet.Damageroll_2); local weaponName; if not damageRoll.possuiAlgumDado then return; end; if sheet.Weapon_2 == nil then weaponName = "Arma sem nome"; else weaponName = sheet.Weapon_2; end; if characterTable ~= nil then characterTable.chat:rolarDados(damageRoll, "Dano de " .. weaponName); end; end, obj); obj._e_event4 = obj.button5:addEventListener("onClick", function (_) local weaponName = sheet.Weapon_3; local attribute; local attackRoll = Firecast.interpretarRolagem("1d20"); local boonBaneLocalRoll = 0; local characterTable = Firecast.getMesaDe(sheet); local boonBaneBonus = 0; local operation; local boonOrBane; if sheet.BoonsBanes == '0' or sheet.BoonsBanes == nil then if sheet.Attribute_3 == 'Strength' then attackRoll = Firecast.interpretarRolagem(sheet.Strength_Modifier):concatenar(attackRoll); elseif sheet.Attribute_3 == 'Agility' then attackRoll = Firecast.interpretarRolagem(sheet.Agility_Modifier):concatenar(attackRoll); else characterTable.chat:enviarMensagem("Escolha um atributo para a rolagem de ataque."); return; end; if weaponName == '' then weaponName = "Weapon without name" end; if characterTable ~= nil then characterTable.chat:rolarDados(attackRoll, weaponName); end; else if (tonumber(sheet.BoonsBanes) > 0) then boonOrBane = " Boon"; if(tonumber(sheet.BoonsBanes) > 1) then boonOrBane = " Boons"; end; elseif (0 > tonumber(sheet.BoonsBanes)) then boonOrBane = " Bane"; if(-1 > tonumber(sheet.BoonsBanes)) then boonOrBane = " Banes"; end; end; boonBaneLocalRoll = Firecast.interpretarRolagem((sheet.BoonsBanes):sub(2) .. "d6"); characterTable.chat:rolarDados(boonBaneLocalRoll, sheet.BoonsBanes .. boonOrBane, function (rollResult) for i=1,#rollResult.ops,1 do operation = rollResult.ops[i]; for j=1, #operation.resultados,1 do if operation.resultados[j] > boonBaneBonus then boonBaneBonus = operation.resultados[j]; end; end; end; local attributeModifier; if sheet.Attribute_3 == 'Strength' then attributeModifier = sheet.Strength_Modifier; elseif sheet.Attribute_3 == 'Agility' then attributeModifier = sheet.Agility_Modifier; else characterTable.chat:enviarMensagem("Escolha um atributo para a rolagem de ataque."); return; end; if(0 > tonumber(sheet.BoonsBanes)) then boonBaneBonus = tonumber(boonBaneBonus - attributeModifier); elseif(tonumber(sheet.BoonsBanes) > 0) then boonBaneBonus = tonumber(boonBaneBonus + attributeModifier); end; if(0 > boonBaneBonus) then boonBaneBonus = tostring(boonBaneBonus).sub(2,0); end; boonBaneBonus = Firecast.interpretarRolagem(boonBaneBonus); attackRoll = Firecast.interpretarRolagem("1d20 "):concatenar(boonBaneBonus); if sheet.Weapon_3 == nil then weaponName = "Arma sem nome"; end; if characterTable ~= nil then characterTable.chat:rolarDados(attackRoll,'Ataque de ' .. weaponName); end; end); end; end, obj); obj._e_event5 = obj.button6:addEventListener("onClick", function (_) local characterTable = Firecast.getMesaDe(sheet); local damageRoll = Firecast.interpretarRolagem(sheet.Damageroll_3); local weaponName; if not damageRoll.possuiAlgumDado then return; end; if sheet.Weapon_31 == nil then weaponName = "Arma sem nome"; else weaponName = sheet.Weapon_3; end; if characterTable ~= nil then characterTable.chat:rolarDados(damageRoll, "Dano de " .. weaponName); end; end, obj); obj._e_event6 = obj.button7:addEventListener("onClick", function (_) local weaponName = sheet.Weapon_4; local attribute; local attackRoll = Firecast.interpretarRolagem("1d20"); local boonBaneLocalRoll = 0; local characterTable = Firecast.getMesaDe(sheet); local boonBaneBonus = 0; local operation; local boonOrBane; if sheet.BoonsBanes == '0' or sheet.BoonsBanes == nil then if sheet.Attribute_4 == 'Strength' then attackRoll = Firecast.interpretarRolagem(sheet.Strength_Modifier):concatenar(attackRoll); elseif sheet.Attribute_4 == 'Agility' then attackRoll = Firecast.interpretarRolagem(sheet.Agility_Modifier):concatenar(attackRoll); else characterTable.chat:enviarMensagem("Escolha um atributo para a rolagem de ataque."); return; end; if weaponName == '' then weaponName = "Weapon without name" end; if characterTable ~= nil then characterTable.chat:rolarDados(attackRoll, weaponName); end; else if (tonumber(sheet.BoonsBanes) > 0) then boonOrBane = " Boon"; if(tonumber(sheet.BoonsBanes) > 1) then boonOrBane = " Boons"; end; elseif (0 > tonumber(sheet.BoonsBanes)) then boonOrBane = " Bane"; if(-1 > tonumber(sheet.BoonsBanes)) then boonOrBane = " Banes"; end; end; boonBaneLocalRoll = Firecast.interpretarRolagem((sheet.BoonsBanes):sub(2) .. "d6"); characterTable.chat:rolarDados(boonBaneLocalRoll, sheet.BoonsBanes .. boonOrBane, function (rollResult) for i=1,#rollResult.ops,1 do operation = rollResult.ops[i]; for j=1, #operation.resultados,1 do if operation.resultados[j] > boonBaneBonus then boonBaneBonus = operation.resultados[j]; end; end; end; local attributeModifier; if sheet.Attribute_4 == 'Strength' then attributeModifier = sheet.Strength_Modifier; elseif sheet.Attribute_4 == 'Agility' then attributeModifier = sheet.Agility_Modifier; else characterTable.chat:enviarMensagem("Escolha um atributo para a rolagem de ataque."); return; end; if(0 > tonumber(sheet.BoonsBanes)) then boonBaneBonus = tonumber(boonBaneBonus - attributeModifier); elseif(tonumber(sheet.BoonsBanes) > 0) then boonBaneBonus = tonumber(boonBaneBonus + attributeModifier); end; if(0 > boonBaneBonus) then boonBaneBonus = tostring(boonBaneBonus).sub(2,0); end; boonBaneBonus = Firecast.interpretarRolagem(boonBaneBonus); attackRoll = Firecast.interpretarRolagem("1d20 "):concatenar(boonBaneBonus); if sheet.Weapon_4 == nil then weaponName = "Arma sem nome"; end; if characterTable ~= nil then characterTable.chat:rolarDados(attackRoll,'Ataque de ' .. weaponName); end; end); end; end, obj); obj._e_event7 = obj.button8:addEventListener("onClick", function (_) local characterTable = Firecast.getMesaDe(sheet); local damageRoll = Firecast.interpretarRolagem(sheet.Damageroll_4); local weaponName; if not damageRoll.possuiAlgumDado then return; end; if sheet.Weapon_4 == nil then weaponName = "Arma sem nome"; else weaponName = sheet.Weapon_4; end; if characterTable ~= nil then characterTable.chat:rolarDados(damageRoll, "Dano de " .. weaponName); end; end, obj); obj._e_event8 = obj.button9:addEventListener("onClick", function (_) local weaponName = sheet.Weapon_5; local attribute = sheet.Attribute_5; local attackRoll = Firecast.interpretarRolagem("1d20"); local boonBaneLocalRoll = 0; local characterTable = Firecast.getMesaDe(sheet); local boonBaneBonus = 0; local operation; local boonOrBane; if sheet.BoonsBanes == '0' then if attribute == 'Strength' then attackRoll = Firecast.interpretarRolagem(sheet.Strength_Modifier):concatenar(attackRoll); elseif attribute == 'Agility' then attackRoll = Firecast.interpretarRolagem(sheet.Agility_Modifier):concatenar(attackRoll); else characterTable.chat:enviarMensagem("Escolha um atributo para a rolagem de ataque."); return; end; if weaponName == '' then weaponName = "Weapon without name" end; if characterTable ~= nil then characterTable.chat:rolarDados(attackRoll, weaponName); end; else if (tonumber(sheet.BoonsBanes) > 0) then boonOrBane = " Boon"; if(tonumber(sheet.BoonsBanes) > 1) then boonOrBane = " Boons"; end; elseif (0 > tonumber(sheet.BoonsBanes)) then boonOrBane = " Bane"; if(-1 > tonumber(sheet.BoonsBanes)) then boonOrBane = " Banes"; end; end; boonBaneLocalRoll = Firecast.interpretarRolagem((sheet.BoonsBanes):sub(2) .. "d6"); characterTable.chat:rolarDados(boonBaneLocalRoll, sheet.BoonsBanes .. boonOrBane, function (rollResult) for i=1,#rollResult.ops,1 do operation = rollResult.ops[i]; for j=1, #operation.resultados,1 do if operation.resultados[j] > boonBaneBonus then boonBaneBonus = operation.resultados[j]; end; end; end; local attributeModifier; if sheet.Attribute_5 == 'Strength' then attributeModifier = sheet.Strength_Modifier; elseif sheet.Attribute_5 == 'Agility' then attributeModifier = sheet.Agility_Modifier; else characterTable.chat:enviarMensagem("Escolha um atributo para a rolagem de ataque."); return; end; if(0 > tonumber(sheet.BoonsBanes)) then boonBaneBonus = tonumber(boonBaneBonus - attributeModifier); elseif(tonumber(sheet.BoonsBanes) > 0) then boonBaneBonus = tonumber(boonBaneBonus + attributeModifier); end; if(0 > boonBaneBonus) then boonBaneBonus = tostring(boonBaneBonus).sub(2,0); end; boonBaneBonus = Firecast.interpretarRolagem(boonBaneBonus); attackRoll = Firecast.interpretarRolagem("1d20 "):concatenar(boonBaneBonus); if sheet.Weapon_5 == nil then weaponName = "Arma sem nome"; end; if characterTable ~= nil then characterTable.chat:rolarDados(attackRoll,'Ataque de ' .. weaponName); end; end); end; end, obj); obj._e_event9 = obj.button10:addEventListener("onClick", function (_) local characterTable = Firecast.getMesaDe(sheet); local damageRoll = Firecast.interpretarRolagem(sheet.Damageroll_5); local weaponName; if not damageRoll.possuiAlgumDado then return; end; if sheet.Weapon_5 == nil then weaponName = "Arma sem nome"; else weaponName = sheet.Weapon_5; end; if characterTable ~= nil then characterTable.chat:rolarDados(damageRoll, "Dano de " .. weaponName); end; end, obj); obj._e_event10 = obj.button11:addEventListener("onClick", function (_) local weaponName = sheet.Weapon_6; local attribute = sheet.Attribute_6; local attackRoll = Firecast.interpretarRolagem("1d20"); local boonBaneLocalRoll = 0; local characterTable = Firecast.getMesaDe(sheet); local boonBaneBonus = 0; local operation; local boonOrBane; if sheet.BoonsBanes == '0' then if attribute == 'Strength' then attackRoll = Firecast.interpretarRolagem(sheet.Strength_Modifier):concatenar(attackRoll); elseif attribute == 'Agility' then attackRoll = Firecast.interpretarRolagem(sheet.Agility_Modifier):concatenar(attackRoll); else characterTable.chat:enviarMensagem("Escolha um atributo para a rolagem de ataque."); return; end; if weaponName == '' then weaponName = "Weapon without name" end; if characterTable ~= nil then characterTable.chat:rolarDados(attackRoll, weaponName); end; else if (tonumber(sheet.BoonsBanes) > 0) then boonOrBane = " Boon"; if(tonumber(sheet.BoonsBanes) > 1) then boonOrBane = " Boons"; end; elseif (0 > tonumber(sheet.BoonsBanes)) then boonOrBane = " Bane"; if(-1 > tonumber(sheet.BoonsBanes)) then boonOrBane = " Banes"; end; end; boonBaneLocalRoll = Firecast.interpretarRolagem((sheet.BoonsBanes):sub(2) .. "d6"); characterTable.chat:rolarDados(boonBaneLocalRoll, sheet.BoonsBanes .. boonOrBane, function (rollResult) for i=1,#rollResult.ops,1 do operation = rollResult.ops[i]; for j=1, #operation.resultados,1 do if operation.resultados[j] > boonBaneBonus then boonBaneBonus = operation.resultados[j]; end; end; end; local attributeModifier; if sheet.Attribute_6 == 'Strength' then attributeModifier = sheet.Strength_Modifier; elseif sheet.Attribute_6 == 'Agility' then attributeModifier = sheet.Agility_Modifier; else characterTable.chat:enviarMensagem("Escolha um atributo para a rolagem de ataque."); return; end; if(0 > tonumber(sheet.BoonsBanes)) then boonBaneBonus = tonumber(boonBaneBonus - attributeModifier); elseif(tonumber(sheet.BoonsBanes) > 0) then boonBaneBonus = tonumber(boonBaneBonus + attributeModifier); end; if(0 > boonBaneBonus) then boonBaneBonus = tostring(boonBaneBonus).sub(2,0); end; boonBaneBonus = Firecast.interpretarRolagem(boonBaneBonus); attackRoll = Firecast.interpretarRolagem("1d20 "):concatenar(boonBaneBonus); if sheet.Weapon_6 == nil then weaponName = "Arma sem nome"; end; if characterTable ~= nil then characterTable.chat:rolarDados(attackRoll,'Ataque de ' .. weaponName); end; end); end; end, obj); obj._e_event11 = obj.button12:addEventListener("onClick", function (_) local characterTable = Firecast.getMesaDe(sheet); local damageRoll = Firecast.interpretarRolagem(sheet.Damageroll_6); local weaponName; if not damageRoll.possuiAlgumDado then return; end; if sheet.Weapon_6 == nil then weaponName = "Arma sem nome"; else weaponName = sheet.Weapon_6; end; if characterTable ~= nil then characterTable.chat:rolarDados(damageRoll, "Dano de " .. weaponName); end; end, obj); obj._e_event12 = obj.dataLink1:addEventListener("onChange", function (_, field, oldValue, newValue) sheet.Strength_Modifier = sheet.Strength - 10; end, obj); obj._e_event13 = obj.dataLink2:addEventListener("onChange", function (_, field, oldValue, newValue) sheet.Agility_Modifier = sheet.Agility - 10; end, obj); obj._e_event14 = obj.dataLink3:addEventListener("onChange", function (_, field, oldValue, newValue) sheet.Intellect_Modifier = sheet.Intellect - 10; end, obj); obj._e_event15 = obj.dataLink4:addEventListener("onChange", function (_, field, oldValue, newValue) sheet.Will_Modifier = sheet.Will - 10; end, obj); obj._e_event16 = obj.dataLink5:addEventListener("onChange", function (_, field, oldValue, newValue) sheet.Perception_Modifier = sheet.Perception - 10; end, obj); function obj:_releaseEvents() __o_rrpgObjs.removeEventListenerById(self._e_event16); __o_rrpgObjs.removeEventListenerById(self._e_event15); __o_rrpgObjs.removeEventListenerById(self._e_event14); __o_rrpgObjs.removeEventListenerById(self._e_event13); __o_rrpgObjs.removeEventListenerById(self._e_event12); __o_rrpgObjs.removeEventListenerById(self._e_event11); __o_rrpgObjs.removeEventListenerById(self._e_event10); __o_rrpgObjs.removeEventListenerById(self._e_event9); __o_rrpgObjs.removeEventListenerById(self._e_event8); __o_rrpgObjs.removeEventListenerById(self._e_event7); __o_rrpgObjs.removeEventListenerById(self._e_event6); __o_rrpgObjs.removeEventListenerById(self._e_event5); __o_rrpgObjs.removeEventListenerById(self._e_event4); __o_rrpgObjs.removeEventListenerById(self._e_event3); __o_rrpgObjs.removeEventListenerById(self._e_event2); __o_rrpgObjs.removeEventListenerById(self._e_event1); __o_rrpgObjs.removeEventListenerById(self._e_event0); end; obj._oldLFMDestroy = obj.destroy; function obj:destroy() self:_releaseEvents(); if (self.handle ~= 0) and (self.setNodeDatabase ~= nil) then self:setNodeDatabase(nil); end; if self.edit150 ~= nil then self.edit150:destroy(); self.edit150 = nil; end; if self.edit64 ~= nil then self.edit64:destroy(); self.edit64 = nil; end; if self.imageCheckBox296 ~= nil then self.imageCheckBox296:destroy(); self.imageCheckBox296 = nil; end; if self.layout15 ~= nil then self.layout15:destroy(); self.layout15 = nil; end; if self.edit41 ~= nil then self.edit41:destroy(); self.edit41 = nil; end; if self.layout10 ~= nil then self.layout10:destroy(); self.layout10 = nil; end; if self.edit172 ~= nil then self.edit172:destroy(); self.edit172 = nil; end; if self.edit36 ~= nil then self.edit36:destroy(); self.edit36 = nil; end; if self.edit9 ~= nil then self.edit9:destroy(); self.edit9 = nil; end; if self.imageCheckBox227 ~= nil then self.imageCheckBox227:destroy(); self.imageCheckBox227 = nil; end; if self.edit33 ~= nil then self.edit33:destroy(); self.edit33 = nil; end; if self.layout64 ~= nil then self.layout64:destroy(); self.layout64 = nil; end; if self.imageCheckBox287 ~= nil then self.imageCheckBox287:destroy(); self.imageCheckBox287 = nil; end; if self.edit29 ~= nil then self.edit29:destroy(); self.edit29 = nil; end; if self.imageCheckBox200 ~= nil then self.imageCheckBox200:destroy(); self.imageCheckBox200 = nil; end; if self.layout17 ~= nil then self.layout17:destroy(); self.layout17 = nil; end; if self.frmSODLFillable2_svg ~= nil then self.frmSODLFillable2_svg:destroy(); self.frmSODLFillable2_svg = nil; end; if self.imageCheckBox357 ~= nil then self.imageCheckBox357:destroy(); self.imageCheckBox357 = nil; end; if self.layout47 ~= nil then self.layout47:destroy(); self.layout47 = nil; end; if self.imageCheckBox58 ~= nil then self.imageCheckBox58:destroy(); self.imageCheckBox58 = nil; end; if self.imageCheckBox175 ~= nil then self.imageCheckBox175:destroy(); self.imageCheckBox175 = nil; end; if self.imageCheckBox225 ~= nil then self.imageCheckBox225:destroy(); self.imageCheckBox225 = nil; end; if self.imageCheckBox360 ~= nil then self.imageCheckBox360:destroy(); self.imageCheckBox360 = nil; end; if self.imageCheckBox50 ~= nil then self.imageCheckBox50:destroy(); self.imageCheckBox50 = nil; end; if self.imageCheckBox185 ~= nil then self.imageCheckBox185:destroy(); self.imageCheckBox185 = nil; end; if self.imageCheckBox148 ~= nil then self.imageCheckBox148:destroy(); self.imageCheckBox148 = nil; end; if self.edit76 ~= nil then self.edit76:destroy(); self.edit76 = nil; end; if self.layout24 ~= nil then self.layout24:destroy(); self.layout24 = nil; end; if self.imageCheckBox115 ~= nil then self.imageCheckBox115:destroy(); self.imageCheckBox115 = nil; end; if self.layout23 ~= nil then self.layout23:destroy(); self.layout23 = nil; end; if self.edit82 ~= nil then self.edit82:destroy(); self.edit82 = nil; end; if self.textEditor38 ~= nil then self.textEditor38:destroy(); self.textEditor38 = nil; end; if self.imageCheckBox67 ~= nil then self.imageCheckBox67:destroy(); self.imageCheckBox67 = nil; end; if self.layout62 ~= nil then self.layout62:destroy(); self.layout62 = nil; end; if self.rectangle5 ~= nil then self.rectangle5:destroy(); self.rectangle5 = nil; end; if self.imageCheckBox288 ~= nil then self.imageCheckBox288:destroy(); self.imageCheckBox288 = nil; end; if self.imageCheckBox251 ~= nil then self.imageCheckBox251:destroy(); self.imageCheckBox251 = nil; end; if self.imageCheckBox210 ~= nil then self.imageCheckBox210:destroy(); self.imageCheckBox210 = nil; end; if self.imageCheckBox126 ~= nil then self.imageCheckBox126:destroy(); self.imageCheckBox126 = nil; end; if self.layout9 ~= nil then self.layout9:destroy(); self.layout9 = nil; end; if self.edit11 ~= nil then self.edit11:destroy(); self.edit11 = nil; end; if self.image1 ~= nil then self.image1:destroy(); self.image1 = nil; end; if self.imageCheckBox345 ~= nil then self.imageCheckBox345:destroy(); self.imageCheckBox345 = nil; end; if self.imageCheckBox289 ~= nil then self.imageCheckBox289:destroy(); self.imageCheckBox289 = nil; end; if self.layout71 ~= nil then self.layout71:destroy(); self.layout71 = nil; end; if self.imageCheckBox304 ~= nil then self.imageCheckBox304:destroy(); self.imageCheckBox304 = nil; end; if self.imageCheckBox190 ~= nil then self.imageCheckBox190:destroy(); self.imageCheckBox190 = nil; end; if self.textEditor27 ~= nil then self.textEditor27:destroy(); self.textEditor27 = nil; end; if self.imageCheckBox166 ~= nil then self.imageCheckBox166:destroy(); self.imageCheckBox166 = nil; end; if self.imageCheckBox271 ~= nil then self.imageCheckBox271:destroy(); self.imageCheckBox271 = nil; end; if self.layout32 ~= nil then self.layout32:destroy(); self.layout32 = nil; end; if self.imageCheckBox176 ~= nil then self.imageCheckBox176:destroy(); self.imageCheckBox176 = nil; end; if self.edit156 ~= nil then self.edit156:destroy(); self.edit156 = nil; end; if self.layout37 ~= nil then self.layout37:destroy(); self.layout37 = nil; end; if self.textEditor15 ~= nil then self.textEditor15:destroy(); self.textEditor15 = nil; end; if self.imageCheckBox181 ~= nil then self.imageCheckBox181:destroy(); self.imageCheckBox181 = nil; end; if self.imageCheckBox174 ~= nil then self.imageCheckBox174:destroy(); self.imageCheckBox174 = nil; end; if self.imageCheckBox196 ~= nil then self.imageCheckBox196:destroy(); self.imageCheckBox196 = nil; end; if self.imageCheckBox129 ~= nil then self.imageCheckBox129:destroy(); self.imageCheckBox129 = nil; end; if self.imageCheckBox248 ~= nil then self.imageCheckBox248:destroy(); self.imageCheckBox248 = nil; end; if self.layout36 ~= nil then self.layout36:destroy(); self.layout36 = nil; end; if self.imageCheckBox99 ~= nil then self.imageCheckBox99:destroy(); self.imageCheckBox99 = nil; end; if self.imageCheckBox133 ~= nil then self.imageCheckBox133:destroy(); self.imageCheckBox133 = nil; end; if self.imageCheckBox13 ~= nil then self.imageCheckBox13:destroy(); self.imageCheckBox13 = nil; end; if self.imageCheckBox63 ~= nil then self.imageCheckBox63:destroy(); self.imageCheckBox63 = nil; end; if self.edit69 ~= nil then self.edit69:destroy(); self.edit69 = nil; end; if self.imageCheckBox168 ~= nil then self.imageCheckBox168:destroy(); self.imageCheckBox168 = nil; end; if self.imageCheckBox141 ~= nil then self.imageCheckBox141:destroy(); self.imageCheckBox141 = nil; end; if self.layout52 ~= nil then self.layout52:destroy(); self.layout52 = nil; end; if self.imageCheckBox290 ~= nil then self.imageCheckBox290:destroy(); self.imageCheckBox290 = nil; end; if self.imageCheckBox316 ~= nil then self.imageCheckBox316:destroy(); self.imageCheckBox316 = nil; end; if self.imageCheckBox191 ~= nil then self.imageCheckBox191:destroy(); self.imageCheckBox191 = nil; end; if self.imageCheckBox145 ~= nil then self.imageCheckBox145:destroy(); self.imageCheckBox145 = nil; end; if self.edit115 ~= nil then self.edit115:destroy(); self.edit115 = nil; end; if self.edit16 ~= nil then self.edit16:destroy(); self.edit16 = nil; end; if self.imageCheckBox337 ~= nil then self.imageCheckBox337:destroy(); self.imageCheckBox337 = nil; end; if self.comboBox2 ~= nil then self.comboBox2:destroy(); self.comboBox2 = nil; end; if self.edit116 ~= nil then self.edit116:destroy(); self.edit116 = nil; end; if self.imageCheckBox79 ~= nil then self.imageCheckBox79:destroy(); self.imageCheckBox79 = nil; end; if self.edit77 ~= nil then self.edit77:destroy(); self.edit77 = nil; end; if self.button4 ~= nil then self.button4:destroy(); self.button4 = nil; end; if self.textEditor4 ~= nil then self.textEditor4:destroy(); self.textEditor4 = nil; end; if self.layout34 ~= nil then self.layout34:destroy(); self.layout34 = nil; end; if self.edit52 ~= nil then self.edit52:destroy(); self.edit52 = nil; end; if self.imageCheckBox136 ~= nil then self.imageCheckBox136:destroy(); self.imageCheckBox136 = nil; end; if self.imageCheckBox150 ~= nil then self.imageCheckBox150:destroy(); self.imageCheckBox150 = nil; end; if self.label1 ~= nil then self.label1:destroy(); self.label1 = nil; end; if self.imageCheckBox78 ~= nil then self.imageCheckBox78:destroy(); self.imageCheckBox78 = nil; end; if self.edit159 ~= nil then self.edit159:destroy(); self.edit159 = nil; end; if self.button7 ~= nil then self.button7:destroy(); self.button7 = nil; end; if self.edit58 ~= nil then self.edit58:destroy(); self.edit58 = nil; end; if self.layout42 ~= nil then self.layout42:destroy(); self.layout42 = nil; end; if self.imageCheckBox103 ~= nil then self.imageCheckBox103:destroy(); self.imageCheckBox103 = nil; end; if self.layout61 ~= nil then self.layout61:destroy(); self.layout61 = nil; end; if self.imageCheckBox214 ~= nil then self.imageCheckBox214:destroy(); self.imageCheckBox214 = nil; end; if self.imageCheckBox336 ~= nil then self.imageCheckBox336:destroy(); self.imageCheckBox336 = nil; end; if self.edit66 ~= nil then self.edit66:destroy(); self.edit66 = nil; end; if self.imageCheckBox37 ~= nil then self.imageCheckBox37:destroy(); self.imageCheckBox37 = nil; end; if self.imageCheckBox241 ~= nil then self.imageCheckBox241:destroy(); self.imageCheckBox241 = nil; end; if self.textEditor36 ~= nil then self.textEditor36:destroy(); self.textEditor36 = nil; end; if self.imageCheckBox349 ~= nil then self.imageCheckBox349:destroy(); self.imageCheckBox349 = nil; end; if self.layout5 ~= nil then self.layout5:destroy(); self.layout5 = nil; end; if self.imageCheckBox104 ~= nil then self.imageCheckBox104:destroy(); self.imageCheckBox104 = nil; end; if self.imageCheckBox346 ~= nil then self.imageCheckBox346:destroy(); self.imageCheckBox346 = nil; end; if self.layout55 ~= nil then self.layout55:destroy(); self.layout55 = nil; end; if self.imageCheckBox131 ~= nil then self.imageCheckBox131:destroy(); self.imageCheckBox131 = nil; end; if self.dataLink3 ~= nil then self.dataLink3:destroy(); self.dataLink3 = nil; end; if self.edit129 ~= nil then self.edit129:destroy(); self.edit129 = nil; end; if self.edit142 ~= nil then self.edit142:destroy(); self.edit142 = nil; end; if self.rectangle2 ~= nil then self.rectangle2:destroy(); self.rectangle2 = nil; end; if self.imageCheckBox154 ~= nil then self.imageCheckBox154:destroy(); self.imageCheckBox154 = nil; end; if self.imageCheckBox68 ~= nil then self.imageCheckBox68:destroy(); self.imageCheckBox68 = nil; end; if self.imageCheckBox17 ~= nil then self.imageCheckBox17:destroy(); self.imageCheckBox17 = nil; end; if self.imageCheckBox21 ~= nil then self.imageCheckBox21:destroy(); self.imageCheckBox21 = nil; end; if self.tabControl1 ~= nil then self.tabControl1:destroy(); self.tabControl1 = nil; end; if self.imageCheckBox2 ~= nil then self.imageCheckBox2:destroy(); self.imageCheckBox2 = nil; end; if self.edit99 ~= nil then self.edit99:destroy(); self.edit99 = nil; end; if self.imageCheckBox326 ~= nil then self.imageCheckBox326:destroy(); self.imageCheckBox326 = nil; end; if self.imageCheckBox331 ~= nil then self.imageCheckBox331:destroy(); self.imageCheckBox331 = nil; end; if self.imageCheckBox159 ~= nil then self.imageCheckBox159:destroy(); self.imageCheckBox159 = nil; end; if self.edit67 ~= nil then self.edit67:destroy(); self.edit67 = nil; end; if self.imageCheckBox358 ~= nil then self.imageCheckBox358:destroy(); self.imageCheckBox358 = nil; end; if self.imageCheckBox224 ~= nil then self.imageCheckBox224:destroy(); self.imageCheckBox224 = nil; end; if self.edit176 ~= nil then self.edit176:destroy(); self.edit176 = nil; end; if self.layout35 ~= nil then self.layout35:destroy(); self.layout35 = nil; end; if self.imageCheckBox285 ~= nil then self.imageCheckBox285:destroy(); self.imageCheckBox285 = nil; end; if self.imageCheckBox233 ~= nil then self.imageCheckBox233:destroy(); self.imageCheckBox233 = nil; end; if self.layout11 ~= nil then self.layout11:destroy(); self.layout11 = nil; end; if self.imageCheckBox350 ~= nil then self.imageCheckBox350:destroy(); self.imageCheckBox350 = nil; end; if self.imageCheckBox354 ~= nil then self.imageCheckBox354:destroy(); self.imageCheckBox354 = nil; end; if self.imageCheckBox117 ~= nil then self.imageCheckBox117:destroy(); self.imageCheckBox117 = nil; end; if self.imageCheckBox28 ~= nil then self.imageCheckBox28:destroy(); self.imageCheckBox28 = nil; end; if self.imageCheckBox239 ~= nil then self.imageCheckBox239:destroy(); self.imageCheckBox239 = nil; end; if self.imageCheckBox208 ~= nil then self.imageCheckBox208:destroy(); self.imageCheckBox208 = nil; end; if self.imageCheckBox112 ~= nil then self.imageCheckBox112:destroy(); self.imageCheckBox112 = nil; end; if self.edit124 ~= nil then self.edit124:destroy(); self.edit124 = nil; end; if self.imageCheckBox352 ~= nil then self.imageCheckBox352:destroy(); self.imageCheckBox352 = nil; end; if self.imageCheckBox207 ~= nil then self.imageCheckBox207:destroy(); self.imageCheckBox207 = nil; end; if self.imageCheckBox33 ~= nil then self.imageCheckBox33:destroy(); self.imageCheckBox33 = nil; end; if self.label2 ~= nil then self.label2:destroy(); self.label2 = nil; end; if self.edit157 ~= nil then self.edit157:destroy(); self.edit157 = nil; end; if self.imageCheckBox194 ~= nil then self.imageCheckBox194:destroy(); self.imageCheckBox194 = nil; end; if self.imageCheckBox15 ~= nil then self.imageCheckBox15:destroy(); self.imageCheckBox15 = nil; end; if self.edit83 ~= nil then self.edit83:destroy(); self.edit83 = nil; end; if self.imageCheckBox302 ~= nil then self.imageCheckBox302:destroy(); self.imageCheckBox302 = nil; end; if self.imageCheckBox91 ~= nil then self.imageCheckBox91:destroy(); self.imageCheckBox91 = nil; end; if self.layout14 ~= nil then self.layout14:destroy(); self.layout14 = nil; end; if self.edit27 ~= nil then self.edit27:destroy(); self.edit27 = nil; end; if self.scrollBox5 ~= nil then self.scrollBox5:destroy(); self.scrollBox5 = nil; end; if self.edit161 ~= nil then self.edit161:destroy(); self.edit161 = nil; end; if self.edit62 ~= nil then self.edit62:destroy(); self.edit62 = nil; end; if self.layout51 ~= nil then self.layout51:destroy(); self.layout51 = nil; end; if self.edit74 ~= nil then self.edit74:destroy(); self.edit74 = nil; end; if self.textEditor43 ~= nil then self.textEditor43:destroy(); self.textEditor43 = nil; end; if self.imageCheckBox343 ~= nil then self.imageCheckBox343:destroy(); self.imageCheckBox343 = nil; end; if self.imageCheckBox12 ~= nil then self.imageCheckBox12:destroy(); self.imageCheckBox12 = nil; end; if self.layout7 ~= nil then self.layout7:destroy(); self.layout7 = nil; end; if self.edit60 ~= nil then self.edit60:destroy(); self.edit60 = nil; end; if self.imageCheckBox155 ~= nil then self.imageCheckBox155:destroy(); self.imageCheckBox155 = nil; end; if self.edit134 ~= nil then self.edit134:destroy(); self.edit134 = nil; end; if self.layout39 ~= nil then self.layout39:destroy(); self.layout39 = nil; end; if self.tab3 ~= nil then self.tab3:destroy(); self.tab3 = nil; end; if self.imageCheckBox8 ~= nil then self.imageCheckBox8:destroy(); self.imageCheckBox8 = nil; end; if self.layout69 ~= nil then self.layout69:destroy(); self.layout69 = nil; end; if self.imageCheckBox59 ~= nil then self.imageCheckBox59:destroy(); self.imageCheckBox59 = nil; end; if self.edit121 ~= nil then self.edit121:destroy(); self.edit121 = nil; end; if self.textEditor9 ~= nil then self.textEditor9:destroy(); self.textEditor9 = nil; end; if self.imageCheckBox90 ~= nil then self.imageCheckBox90:destroy(); self.imageCheckBox90 = nil; end; if self.edit163 ~= nil then self.edit163:destroy(); self.edit163 = nil; end; if self.layout30 ~= nil then self.layout30:destroy(); self.layout30 = nil; end; if self.imageCheckBox20 ~= nil then self.imageCheckBox20:destroy(); self.imageCheckBox20 = nil; end; if self.imageCheckBox182 ~= nil then self.imageCheckBox182:destroy(); self.imageCheckBox182 = nil; end; if self.imageCheckBox318 ~= nil then self.imageCheckBox318:destroy(); self.imageCheckBox318 = nil; end; if self.imageCheckBox93 ~= nil then self.imageCheckBox93:destroy(); self.imageCheckBox93 = nil; end; if self.textEditor3 ~= nil then self.textEditor3:destroy(); self.textEditor3 = nil; end; if self.imageCheckBox4 ~= nil then self.imageCheckBox4:destroy(); self.imageCheckBox4 = nil; end; if self.layout59 ~= nil then self.layout59:destroy(); self.layout59 = nil; end; if self.layout60 ~= nil then self.layout60:destroy(); self.layout60 = nil; end; if self.imageCheckBox314 ~= nil then self.imageCheckBox314:destroy(); self.imageCheckBox314 = nil; end; if self.imageCheckBox341 ~= nil then self.imageCheckBox341:destroy(); self.imageCheckBox341 = nil; end; if self.imageCheckBox39 ~= nil then self.imageCheckBox39:destroy(); self.imageCheckBox39 = nil; end; if self.imageCheckBox7 ~= nil then self.imageCheckBox7:destroy(); self.imageCheckBox7 = nil; end; if self.edit92 ~= nil then self.edit92:destroy(); self.edit92 = nil; end; if self.imageCheckBox219 ~= nil then self.imageCheckBox219:destroy(); self.imageCheckBox219 = nil; end; if self.layout72 ~= nil then self.layout72:destroy(); self.layout72 = nil; end; if self.comboBox6 ~= nil then self.comboBox6:destroy(); self.comboBox6 = nil; end; if self.imageCheckBox246 ~= nil then self.imageCheckBox246:destroy(); self.imageCheckBox246 = nil; end; if self.edit54 ~= nil then self.edit54:destroy(); self.edit54 = nil; end; if self.dataLink5 ~= nil then self.dataLink5:destroy(); self.dataLink5 = nil; end; if self.textEditor40 ~= nil then self.textEditor40:destroy(); self.textEditor40 = nil; end; if self.imageCheckBox340 ~= nil then self.imageCheckBox340:destroy(); self.imageCheckBox340 = nil; end; if self.edit100 ~= nil then self.edit100:destroy(); self.edit100 = nil; end; if self.layout1 ~= nil then self.layout1:destroy(); self.layout1 = nil; end; if self.tab2 ~= nil then self.tab2:destroy(); self.tab2 = nil; end; if self.edit61 ~= nil then self.edit61:destroy(); self.edit61 = nil; end; if self.imageCheckBox38 ~= nil then self.imageCheckBox38:destroy(); self.imageCheckBox38 = nil; end; if self.edit84 ~= nil then self.edit84:destroy(); self.edit84 = nil; end; if self.imageCheckBox260 ~= nil then self.imageCheckBox260:destroy(); self.imageCheckBox260 = nil; end; if self.imageCheckBox55 ~= nil then self.imageCheckBox55:destroy(); self.imageCheckBox55 = nil; end; if self.edit24 ~= nil then self.edit24:destroy(); self.edit24 = nil; end; if self.edit59 ~= nil then self.edit59:destroy(); self.edit59 = nil; end; if self.layout12 ~= nil then self.layout12:destroy(); self.layout12 = nil; end; if self.edit14 ~= nil then self.edit14:destroy(); self.edit14 = nil; end; if self.imageCheckBox36 ~= nil then self.imageCheckBox36:destroy(); self.imageCheckBox36 = nil; end; if self.textEditor16 ~= nil then self.textEditor16:destroy(); self.textEditor16 = nil; end; if self.imageCheckBox32 ~= nil then self.imageCheckBox32:destroy(); self.imageCheckBox32 = nil; end; if self.edit4 ~= nil then self.edit4:destroy(); self.edit4 = nil; end; if self.layout25 ~= nil then self.layout25:destroy(); self.layout25 = nil; end; if self.imageCheckBox83 ~= nil then self.imageCheckBox83:destroy(); self.imageCheckBox83 = nil; end; if self.imageCheckBox106 ~= nil then self.imageCheckBox106:destroy(); self.imageCheckBox106 = nil; end; if self.imageCheckBox128 ~= nil then self.imageCheckBox128:destroy(); self.imageCheckBox128 = nil; end; if self.textEditor22 ~= nil then self.textEditor22:destroy(); self.textEditor22 = nil; end; if self.textEditor11 ~= nil then self.textEditor11:destroy(); self.textEditor11 = nil; end; if self.imageCheckBox173 ~= nil then self.imageCheckBox173:destroy(); self.imageCheckBox173 = nil; end; if self.imageCheckBox193 ~= nil then self.imageCheckBox193:destroy(); self.imageCheckBox193 = nil; end; if self.imageCheckBox205 ~= nil then self.imageCheckBox205:destroy(); self.imageCheckBox205 = nil; end; if self.imageCheckBox213 ~= nil then self.imageCheckBox213:destroy(); self.imageCheckBox213 = nil; end; if self.imageCheckBox107 ~= nil then self.imageCheckBox107:destroy(); self.imageCheckBox107 = nil; end; if self.imageCheckBox23 ~= nil then self.imageCheckBox23:destroy(); self.imageCheckBox23 = nil; end; if self.textEditor30 ~= nil then self.textEditor30:destroy(); self.textEditor30 = nil; end; if self.textEditor2 ~= nil then self.textEditor2:destroy(); self.textEditor2 = nil; end; if self.edit128 ~= nil then self.edit128:destroy(); self.edit128 = nil; end; if self.edit103 ~= nil then self.edit103:destroy(); self.edit103 = nil; end; if self.imageCheckBox255 ~= nil then self.imageCheckBox255:destroy(); self.imageCheckBox255 = nil; end; if self.imageCheckBox298 ~= nil then self.imageCheckBox298:destroy(); self.imageCheckBox298 = nil; end; if self.imageCheckBox309 ~= nil then self.imageCheckBox309:destroy(); self.imageCheckBox309 = nil; end; if self.imageCheckBox315 ~= nil then self.imageCheckBox315:destroy(); self.imageCheckBox315 = nil; end; if self.imageCheckBox333 ~= nil then self.imageCheckBox333:destroy(); self.imageCheckBox333 = nil; end; if self.edit127 ~= nil then self.edit127:destroy(); self.edit127 = nil; end; if self.imageCheckBox62 ~= nil then self.imageCheckBox62:destroy(); self.imageCheckBox62 = nil; end; if self.edit165 ~= nil then self.edit165:destroy(); self.edit165 = nil; end; if self.imageCheckBox124 ~= nil then self.imageCheckBox124:destroy(); self.imageCheckBox124 = nil; end; if self.layout26 ~= nil then self.layout26:destroy(); self.layout26 = nil; end; if self.imageCheckBox325 ~= nil then self.imageCheckBox325:destroy(); self.imageCheckBox325 = nil; end; if self.edit45 ~= nil then self.edit45:destroy(); self.edit45 = nil; end; if self.edit8 ~= nil then self.edit8:destroy(); self.edit8 = nil; end; if self.imageCheckBox249 ~= nil then self.imageCheckBox249:destroy(); self.imageCheckBox249 = nil; end; if self.imageCheckBox94 ~= nil then self.imageCheckBox94:destroy(); self.imageCheckBox94 = nil; end; if self.edit145 ~= nil then self.edit145:destroy(); self.edit145 = nil; end; if self.imageCheckBox10 ~= nil then self.imageCheckBox10:destroy(); self.imageCheckBox10 = nil; end; if self.imageCheckBox110 ~= nil then self.imageCheckBox110:destroy(); self.imageCheckBox110 = nil; end; if self.imageCheckBox22 ~= nil then self.imageCheckBox22:destroy(); self.imageCheckBox22 = nil; end; if self.edit96 ~= nil then self.edit96:destroy(); self.edit96 = nil; end; if self.edit2 ~= nil then self.edit2:destroy(); self.edit2 = nil; end; if self.imageCheckBox189 ~= nil then self.imageCheckBox189:destroy(); self.imageCheckBox189 = nil; end; if self.comboBox7 ~= nil then self.comboBox7:destroy(); self.comboBox7 = nil; end; if self.imageCheckBox313 ~= nil then self.imageCheckBox313:destroy(); self.imageCheckBox313 = nil; end; if self.edit109 ~= nil then self.edit109:destroy(); self.edit109 = nil; end; if self.imageCheckBox71 ~= nil then self.imageCheckBox71:destroy(); self.imageCheckBox71 = nil; end; if self.imageCheckBox339 ~= nil then self.imageCheckBox339:destroy(); self.imageCheckBox339 = nil; end; if self.edit21 ~= nil then self.edit21:destroy(); self.edit21 = nil; end; if self.button3 ~= nil then self.button3:destroy(); self.button3 = nil; end; if self.imageCheckBox137 ~= nil then self.imageCheckBox137:destroy(); self.imageCheckBox137 = nil; end; if self.edit174 ~= nil then self.edit174:destroy(); self.edit174 = nil; end; if self.layout76 ~= nil then self.layout76:destroy(); self.layout76 = nil; end; if self.edit152 ~= nil then self.edit152:destroy(); self.edit152 = nil; end; if self.edit133 ~= nil then self.edit133:destroy(); self.edit133 = nil; end; if self.imageCheckBox305 ~= nil then self.imageCheckBox305:destroy(); self.imageCheckBox305 = nil; end; if self.imageCheckBox231 ~= nil then self.imageCheckBox231:destroy(); self.imageCheckBox231 = nil; end; if self.edit93 ~= nil then self.edit93:destroy(); self.edit93 = nil; end; if self.edit126 ~= nil then self.edit126:destroy(); self.edit126 = nil; end; if self.imageCheckBox351 ~= nil then self.imageCheckBox351:destroy(); self.imageCheckBox351 = nil; end; if self.edit13 ~= nil then self.edit13:destroy(); self.edit13 = nil; end; if self.imageCheckBox247 ~= nil then self.imageCheckBox247:destroy(); self.imageCheckBox247 = nil; end; if self.edit81 ~= nil then self.edit81:destroy(); self.edit81 = nil; end; if self.edit177 ~= nil then self.edit177:destroy(); self.edit177 = nil; end; if self.button11 ~= nil then self.button11:destroy(); self.button11 = nil; end; if self.imageCheckBox125 ~= nil then self.imageCheckBox125:destroy(); self.imageCheckBox125 = nil; end; if self.imageCheckBox29 ~= nil then self.imageCheckBox29:destroy(); self.imageCheckBox29 = nil; end; if self.edit166 ~= nil then self.edit166:destroy(); self.edit166 = nil; end; if self.button6 ~= nil then self.button6:destroy(); self.button6 = nil; end; if self.button5 ~= nil then self.button5:destroy(); self.button5 = nil; end; if self.imageCheckBox87 ~= nil then self.imageCheckBox87:destroy(); self.imageCheckBox87 = nil; end; if self.edit37 ~= nil then self.edit37:destroy(); self.edit37 = nil; end; if self.textEditor10 ~= nil then self.textEditor10:destroy(); self.textEditor10 = nil; end; if self.imageCheckBox56 ~= nil then self.imageCheckBox56:destroy(); self.imageCheckBox56 = nil; end; if self.layout31 ~= nil then self.layout31:destroy(); self.layout31 = nil; end; if self.layout70 ~= nil then self.layout70:destroy(); self.layout70 = nil; end; if self.edit17 ~= nil then self.edit17:destroy(); self.edit17 = nil; end; if self.button10 ~= nil then self.button10:destroy(); self.button10 = nil; end; if self.layout2 ~= nil then self.layout2:destroy(); self.layout2 = nil; end; if self.edit170 ~= nil then self.edit170:destroy(); self.edit170 = nil; end; if self.edit155 ~= nil then self.edit155:destroy(); self.edit155 = nil; end; if self.layout67 ~= nil then self.layout67:destroy(); self.layout67 = nil; end; if self.edit162 ~= nil then self.edit162:destroy(); self.edit162 = nil; end; if self.edit87 ~= nil then self.edit87:destroy(); self.edit87 = nil; end; if self.layout29 ~= nil then self.layout29:destroy(); self.layout29 = nil; end; if self.imageCheckBox142 ~= nil then self.imageCheckBox142:destroy(); self.imageCheckBox142 = nil; end; if self.imageCheckBox264 ~= nil then self.imageCheckBox264:destroy(); self.imageCheckBox264 = nil; end; if self.edit113 ~= nil then self.edit113:destroy(); self.edit113 = nil; end; if self.edit15 ~= nil then self.edit15:destroy(); self.edit15 = nil; end; if self.label3 ~= nil then self.label3:destroy(); self.label3 = nil; end; if self.imageCheckBox180 ~= nil then self.imageCheckBox180:destroy(); self.imageCheckBox180 = nil; end; if self.imageCheckBox253 ~= nil then self.imageCheckBox253:destroy(); self.imageCheckBox253 = nil; end; if self.imageCheckBox85 ~= nil then self.imageCheckBox85:destroy(); self.imageCheckBox85 = nil; end; if self.edit138 ~= nil then self.edit138:destroy(); self.edit138 = nil; end; if self.imageCheckBox252 ~= nil then self.imageCheckBox252:destroy(); self.imageCheckBox252 = nil; end; if self.imageCheckBox322 ~= nil then self.imageCheckBox322:destroy(); self.imageCheckBox322 = nil; end; if self.button8 ~= nil then self.button8:destroy(); self.button8 = nil; end; if self.edit42 ~= nil then self.edit42:destroy(); self.edit42 = nil; end; if self.imageCheckBox262 ~= nil then self.imageCheckBox262:destroy(); self.imageCheckBox262 = nil; end; if self.imageCheckBox157 ~= nil then self.imageCheckBox157:destroy(); self.imageCheckBox157 = nil; end; if self.edit118 ~= nil then self.edit118:destroy(); self.edit118 = nil; end; if self.edit154 ~= nil then self.edit154:destroy(); self.edit154 = nil; end; if self.imageCheckBox172 ~= nil then self.imageCheckBox172:destroy(); self.imageCheckBox172 = nil; end; if self.imageCheckBox156 ~= nil then self.imageCheckBox156:destroy(); self.imageCheckBox156 = nil; end; if self.scrollBox4 ~= nil then self.scrollBox4:destroy(); self.scrollBox4 = nil; end; if self.layout22 ~= nil then self.layout22:destroy(); self.layout22 = nil; end; if self.layout48 ~= nil then self.layout48:destroy(); self.layout48 = nil; end; if self.imageCheckBox116 ~= nil then self.imageCheckBox116:destroy(); self.imageCheckBox116 = nil; end; if self.imageCheckBox118 ~= nil then self.imageCheckBox118:destroy(); self.imageCheckBox118 = nil; end; if self.imageCheckBox127 ~= nil then self.imageCheckBox127:destroy(); self.imageCheckBox127 = nil; end; if self.imageCheckBox222 ~= nil then self.imageCheckBox222:destroy(); self.imageCheckBox222 = nil; end; if self.imageCheckBox86 ~= nil then self.imageCheckBox86:destroy(); self.imageCheckBox86 = nil; end; if self.rectangle4 ~= nil then self.rectangle4:destroy(); self.rectangle4 = nil; end; if self.image4 ~= nil then self.image4:destroy(); self.image4 = nil; end; if self.edit32 ~= nil then self.edit32:destroy(); self.edit32 = nil; end; if self.tab1 ~= nil then self.tab1:destroy(); self.tab1 = nil; end; if self.edit102 ~= nil then self.edit102:destroy(); self.edit102 = nil; end; if self.imageCheckBox158 ~= nil then self.imageCheckBox158:destroy(); self.imageCheckBox158 = nil; end; if self.imageCheckBox179 ~= nil then self.imageCheckBox179:destroy(); self.imageCheckBox179 = nil; end; if self.imageCheckBox220 ~= nil then self.imageCheckBox220:destroy(); self.imageCheckBox220 = nil; end; if self.imageCheckBox171 ~= nil then self.imageCheckBox171:destroy(); self.imageCheckBox171 = nil; end; if self.textEditor25 ~= nil then self.textEditor25:destroy(); self.textEditor25 = nil; end; if self.edit117 ~= nil then self.edit117:destroy(); self.edit117 = nil; end; if self.imageCheckBox235 ~= nil then self.imageCheckBox235:destroy(); self.imageCheckBox235 = nil; end; if self.imageCheckBox204 ~= nil then self.imageCheckBox204:destroy(); self.imageCheckBox204 = nil; end; if self.edit135 ~= nil then self.edit135:destroy(); self.edit135 = nil; end; if self.imageCheckBox250 ~= nil then self.imageCheckBox250:destroy(); self.imageCheckBox250 = nil; end; if self.imageCheckBox197 ~= nil then self.imageCheckBox197:destroy(); self.imageCheckBox197 = nil; end; if self.imageCheckBox294 ~= nil then self.imageCheckBox294:destroy(); self.imageCheckBox294 = nil; end; if self.imageCheckBox307 ~= nil then self.imageCheckBox307:destroy(); self.imageCheckBox307 = nil; end; if self.imageCheckBox242 ~= nil then self.imageCheckBox242:destroy(); self.imageCheckBox242 = nil; end; if self.imageCheckBox111 ~= nil then self.imageCheckBox111:destroy(); self.imageCheckBox111 = nil; end; if self.layout73 ~= nil then self.layout73:destroy(); self.layout73 = nil; end; if self.imageCheckBox334 ~= nil then self.imageCheckBox334:destroy(); self.imageCheckBox334 = nil; end; if self.edit178 ~= nil then self.edit178:destroy(); self.edit178 = nil; end; if self.edit73 ~= nil then self.edit73:destroy(); self.edit73 = nil; end; if self.layout75 ~= nil then self.layout75:destroy(); self.layout75 = nil; end; if self.imageCheckBox65 ~= nil then self.imageCheckBox65:destroy(); self.imageCheckBox65 = nil; end; if self.edit98 ~= nil then self.edit98:destroy(); self.edit98 = nil; end; if self.imageCheckBox73 ~= nil then self.imageCheckBox73:destroy(); self.imageCheckBox73 = nil; end; if self.imageCheckBox211 ~= nil then self.imageCheckBox211:destroy(); self.imageCheckBox211 = nil; end; if self.layout58 ~= nil then self.layout58:destroy(); self.layout58 = nil; end; if self.imageCheckBox355 ~= nil then self.imageCheckBox355:destroy(); self.imageCheckBox355 = nil; end; if self.imageCheckBox268 ~= nil then self.imageCheckBox268:destroy(); self.imageCheckBox268 = nil; end; if self.imageCheckBox96 ~= nil then self.imageCheckBox96:destroy(); self.imageCheckBox96 = nil; end; if self.imageCheckBox165 ~= nil then self.imageCheckBox165:destroy(); self.imageCheckBox165 = nil; end; if self.imageCheckBox105 ~= nil then self.imageCheckBox105:destroy(); self.imageCheckBox105 = nil; end; if self.dataLink4 ~= nil then self.dataLink4:destroy(); self.dataLink4 = nil; end; if self.layout63 ~= nil then self.layout63:destroy(); self.layout63 = nil; end; if self.textEditor32 ~= nil then self.textEditor32:destroy(); self.textEditor32 = nil; end; if self.edit111 ~= nil then self.edit111:destroy(); self.edit111 = nil; end; if self.image5 ~= nil then self.image5:destroy(); self.image5 = nil; end; if self.edit28 ~= nil then self.edit28:destroy(); self.edit28 = nil; end; if self.imageCheckBox76 ~= nil then self.imageCheckBox76:destroy(); self.imageCheckBox76 = nil; end; if self.imageCheckBox237 ~= nil then self.imageCheckBox237:destroy(); self.imageCheckBox237 = nil; end; if self.imageCheckBox292 ~= nil then self.imageCheckBox292:destroy(); self.imageCheckBox292 = nil; end; if self.imageCheckBox347 ~= nil then self.imageCheckBox347:destroy(); self.imageCheckBox347 = nil; end; if self.edit71 ~= nil then self.edit71:destroy(); self.edit71 = nil; end; if self.imageCheckBox308 ~= nil then self.imageCheckBox308:destroy(); self.imageCheckBox308 = nil; end; if self.imageCheckBox291 ~= nil then self.imageCheckBox291:destroy(); self.imageCheckBox291 = nil; end; if self.layout41 ~= nil then self.layout41:destroy(); self.layout41 = nil; end; if self.edit85 ~= nil then self.edit85:destroy(); self.edit85 = nil; end; if self.imageCheckBox186 ~= nil then self.imageCheckBox186:destroy(); self.imageCheckBox186 = nil; end; if self.button2 ~= nil then self.button2:destroy(); self.button2 = nil; end; if self.layout38 ~= nil then self.layout38:destroy(); self.layout38 = nil; end; if self.layout13 ~= nil then self.layout13:destroy(); self.layout13 = nil; end; if self.textEditor42 ~= nil then self.textEditor42:destroy(); self.textEditor42 = nil; end; if self.layout8 ~= nil then self.layout8:destroy(); self.layout8 = nil; end; if self.imageCheckBox195 ~= nil then self.imageCheckBox195:destroy(); self.imageCheckBox195 = nil; end; if self.edit153 ~= nil then self.edit153:destroy(); self.edit153 = nil; end; if self.imageCheckBox149 ~= nil then self.imageCheckBox149:destroy(); self.imageCheckBox149 = nil; end; if self.edit131 ~= nil then self.edit131:destroy(); self.edit131 = nil; end; if self.edit47 ~= nil then self.edit47:destroy(); self.edit47 = nil; end; if self.imageCheckBox328 ~= nil then self.imageCheckBox328:destroy(); self.imageCheckBox328 = nil; end; if self.layout68 ~= nil then self.layout68:destroy(); self.layout68 = nil; end; if self.edit169 ~= nil then self.edit169:destroy(); self.edit169 = nil; end; if self.imageCheckBox344 ~= nil then self.imageCheckBox344:destroy(); self.imageCheckBox344 = nil; end; if self.edit149 ~= nil then self.edit149:destroy(); self.edit149 = nil; end; if self.imageCheckBox295 ~= nil then self.imageCheckBox295:destroy(); self.imageCheckBox295 = nil; end; if self.button1 ~= nil then self.button1:destroy(); self.button1 = nil; end; if self.comboBox3 ~= nil then self.comboBox3:destroy(); self.comboBox3 = nil; end; if self.imageCheckBox45 ~= nil then self.imageCheckBox45:destroy(); self.imageCheckBox45 = nil; end; if self.edit120 ~= nil then self.edit120:destroy(); self.edit120 = nil; end; if self.edit26 ~= nil then self.edit26:destroy(); self.edit26 = nil; end; if self.edit112 ~= nil then self.edit112:destroy(); self.edit112 = nil; end; if self.imageCheckBox283 ~= nil then self.imageCheckBox283:destroy(); self.imageCheckBox283 = nil; end; if self.edit34 ~= nil then self.edit34:destroy(); self.edit34 = nil; end; if self.edit160 ~= nil then self.edit160:destroy(); self.edit160 = nil; end; if self.edit19 ~= nil then self.edit19:destroy(); self.edit19 = nil; end; if self.edit114 ~= nil then self.edit114:destroy(); self.edit114 = nil; end; if self.imageCheckBox215 ~= nil then self.imageCheckBox215:destroy(); self.imageCheckBox215 = nil; end; if self.imageCheckBox306 ~= nil then self.imageCheckBox306:destroy(); self.imageCheckBox306 = nil; end; if self.edit5 ~= nil then self.edit5:destroy(); self.edit5 = nil; end; if self.layout54 ~= nil then self.layout54:destroy(); self.layout54 = nil; end; if self.imageCheckBox332 ~= nil then self.imageCheckBox332:destroy(); self.imageCheckBox332 = nil; end; if self.layout50 ~= nil then self.layout50:destroy(); self.layout50 = nil; end; if self.imageCheckBox153 ~= nil then self.imageCheckBox153:destroy(); self.imageCheckBox153 = nil; end; if self.scrollBox2 ~= nil then self.scrollBox2:destroy(); self.scrollBox2 = nil; end; if self.tab5 ~= nil then self.tab5:destroy(); self.tab5 = nil; end; if self.imageCheckBox192 ~= nil then self.imageCheckBox192:destroy(); self.imageCheckBox192 = nil; end; if self.imageCheckBox320 ~= nil then self.imageCheckBox320:destroy(); self.imageCheckBox320 = nil; end; if self.imageCheckBox301 ~= nil then self.imageCheckBox301:destroy(); self.imageCheckBox301 = nil; end; if self.imageCheckBox244 ~= nil then self.imageCheckBox244:destroy(); self.imageCheckBox244 = nil; end; if self.edit68 ~= nil then self.edit68:destroy(); self.edit68 = nil; end; if self.edit72 ~= nil then self.edit72:destroy(); self.edit72 = nil; end; if self.textEditor5 ~= nil then self.textEditor5:destroy(); self.textEditor5 = nil; end; if self.imageCheckBox34 ~= nil then self.imageCheckBox34:destroy(); self.imageCheckBox34 = nil; end; if self.imageCheckBox138 ~= nil then self.imageCheckBox138:destroy(); self.imageCheckBox138 = nil; end; if self.imageCheckBox198 ~= nil then self.imageCheckBox198:destroy(); self.imageCheckBox198 = nil; end; if self.textEditor7 ~= nil then self.textEditor7:destroy(); self.textEditor7 = nil; end; if self.frmSODLFillable1_svg ~= nil then self.frmSODLFillable1_svg:destroy(); self.frmSODLFillable1_svg = nil; end; if self.imageCheckBox101 ~= nil then self.imageCheckBox101:destroy(); self.imageCheckBox101 = nil; end; if self.edit10 ~= nil then self.edit10:destroy(); self.edit10 = nil; end; if self.edit106 ~= nil then self.edit106:destroy(); self.edit106 = nil; end; if self.edit31 ~= nil then self.edit31:destroy(); self.edit31 = nil; end; if self.imageCheckBox199 ~= nil then self.imageCheckBox199:destroy(); self.imageCheckBox199 = nil; end; if self.edit1 ~= nil then self.edit1:destroy(); self.edit1 = nil; end; if self.edit125 ~= nil then self.edit125:destroy(); self.edit125 = nil; end; if self.imageCheckBox258 ~= nil then self.imageCheckBox258:destroy(); self.imageCheckBox258 = nil; end; if self.edit79 ~= nil then self.edit79:destroy(); self.edit79 = nil; end; if self.imageCheckBox267 ~= nil then self.imageCheckBox267:destroy(); self.imageCheckBox267 = nil; end; if self.textEditor17 ~= nil then self.textEditor17:destroy(); self.textEditor17 = nil; end; if self.imageCheckBox130 ~= nil then self.imageCheckBox130:destroy(); self.imageCheckBox130 = nil; end; if self.imageCheckBox263 ~= nil then self.imageCheckBox263:destroy(); self.imageCheckBox263 = nil; end; if self.textEditor35 ~= nil then self.textEditor35:destroy(); self.textEditor35 = nil; end; if self.edit158 ~= nil then self.edit158:destroy(); self.edit158 = nil; end; if self.imageCheckBox330 ~= nil then self.imageCheckBox330:destroy(); self.imageCheckBox330 = nil; end; if self.edit175 ~= nil then self.edit175:destroy(); self.edit175 = nil; end; if self.layout4 ~= nil then self.layout4:destroy(); self.layout4 = nil; end; if self.imageCheckBox80 ~= nil then self.imageCheckBox80:destroy(); self.imageCheckBox80 = nil; end; if self.imageCheckBox229 ~= nil then self.imageCheckBox229:destroy(); self.imageCheckBox229 = nil; end; if self.edit101 ~= nil then self.edit101:destroy(); self.edit101 = nil; end; if self.imageCheckBox119 ~= nil then self.imageCheckBox119:destroy(); self.imageCheckBox119 = nil; end; if self.imageCheckBox54 ~= nil then self.imageCheckBox54:destroy(); self.imageCheckBox54 = nil; end; if self.textEditor29 ~= nil then self.textEditor29:destroy(); self.textEditor29 = nil; end; if self.image3 ~= nil then self.image3:destroy(); self.image3 = nil; end; if self.imageCheckBox265 ~= nil then self.imageCheckBox265:destroy(); self.imageCheckBox265 = nil; end; if self.imageCheckBox293 ~= nil then self.imageCheckBox293:destroy(); self.imageCheckBox293 = nil; end; if self.imageCheckBox81 ~= nil then self.imageCheckBox81:destroy(); self.imageCheckBox81 = nil; end; if self.edit164 ~= nil then self.edit164:destroy(); self.edit164 = nil; end; if self.imageCheckBox256 ~= nil then self.imageCheckBox256:destroy(); self.imageCheckBox256 = nil; end; if self.comboBox1 ~= nil then self.comboBox1:destroy(); self.comboBox1 = nil; end; if self.imageCheckBox24 ~= nil then self.imageCheckBox24:destroy(); self.imageCheckBox24 = nil; end; if self.layout20 ~= nil then self.layout20:destroy(); self.layout20 = nil; end; if self.edit23 ~= nil then self.edit23:destroy(); self.edit23 = nil; end; if self.imageCheckBox335 ~= nil then self.imageCheckBox335:destroy(); self.imageCheckBox335 = nil; end; if self.imageCheckBox31 ~= nil then self.imageCheckBox31:destroy(); self.imageCheckBox31 = nil; end; if self.imageCheckBox92 ~= nil then self.imageCheckBox92:destroy(); self.imageCheckBox92 = nil; end; if self.layout18 ~= nil then self.layout18:destroy(); self.layout18 = nil; end; if self.imageCheckBox123 ~= nil then self.imageCheckBox123:destroy(); self.imageCheckBox123 = nil; end; if self.imageCheckBox234 ~= nil then self.imageCheckBox234:destroy(); self.imageCheckBox234 = nil; end; if self.imageCheckBox9 ~= nil then self.imageCheckBox9:destroy(); self.imageCheckBox9 = nil; end; if self.imageCheckBox238 ~= nil then self.imageCheckBox238:destroy(); self.imageCheckBox238 = nil; end; if self.edit139 ~= nil then self.edit139:destroy(); self.edit139 = nil; end; if self.imageCheckBox184 ~= nil then self.imageCheckBox184:destroy(); self.imageCheckBox184 = nil; end; if self.imageCheckBox1 ~= nil then self.imageCheckBox1:destroy(); self.imageCheckBox1 = nil; end; if self.imageCheckBox169 ~= nil then self.imageCheckBox169:destroy(); self.imageCheckBox169 = nil; end; if self.edit122 ~= nil then self.edit122:destroy(); self.edit122 = nil; end; if self.edit40 ~= nil then self.edit40:destroy(); self.edit40 = nil; end; if self.textEditor26 ~= nil then self.textEditor26:destroy(); self.textEditor26 = nil; end; if self.textEditor6 ~= nil then self.textEditor6:destroy(); self.textEditor6 = nil; end; if self.imageCheckBox26 ~= nil then self.imageCheckBox26:destroy(); self.imageCheckBox26 = nil; end; if self.dataLink2 ~= nil then self.dataLink2:destroy(); self.dataLink2 = nil; end; if self.textEditor12 ~= nil then self.textEditor12:destroy(); self.textEditor12 = nil; end; if self.imageCheckBox66 ~= nil then self.imageCheckBox66:destroy(); self.imageCheckBox66 = nil; end; if self.edit86 ~= nil then self.edit86:destroy(); self.edit86 = nil; end; if self.imageCheckBox82 ~= nil then self.imageCheckBox82:destroy(); self.imageCheckBox82 = nil; end; if self.imageCheckBox74 ~= nil then self.imageCheckBox74:destroy(); self.imageCheckBox74 = nil; end; if self.imageCheckBox134 ~= nil then self.imageCheckBox134:destroy(); self.imageCheckBox134 = nil; end; if self.edit38 ~= nil then self.edit38:destroy(); self.edit38 = nil; end; if self.edit110 ~= nil then self.edit110:destroy(); self.edit110 = nil; end; if self.imageCheckBox217 ~= nil then self.imageCheckBox217:destroy(); self.imageCheckBox217 = nil; end; if self.layout49 ~= nil then self.layout49:destroy(); self.layout49 = nil; end; if self.edit123 ~= nil then self.edit123:destroy(); self.edit123 = nil; end; if self.edit143 ~= nil then self.edit143:destroy(); self.edit143 = nil; end; if self.imageCheckBox146 ~= nil then self.imageCheckBox146:destroy(); self.imageCheckBox146 = nil; end; if self.imageCheckBox275 ~= nil then self.imageCheckBox275:destroy(); self.imageCheckBox275 = nil; end; if self.edit105 ~= nil then self.edit105:destroy(); self.edit105 = nil; end; if self.imageCheckBox280 ~= nil then self.imageCheckBox280:destroy(); self.imageCheckBox280 = nil; end; if self.textEditor41 ~= nil then self.textEditor41:destroy(); self.textEditor41 = nil; end; if self.frmSODLFillable5_svg ~= nil then self.frmSODLFillable5_svg:destroy(); self.frmSODLFillable5_svg = nil; end; if self.scrollBox3 ~= nil then self.scrollBox3:destroy(); self.scrollBox3 = nil; end; if self.imageCheckBox300 ~= nil then self.imageCheckBox300:destroy(); self.imageCheckBox300 = nil; end; if self.imageCheckBox95 ~= nil then self.imageCheckBox95:destroy(); self.imageCheckBox95 = nil; end; if self.textEditor1 ~= nil then self.textEditor1:destroy(); self.textEditor1 = nil; end; if self.textEditor31 ~= nil then self.textEditor31:destroy(); self.textEditor31 = nil; end; if self.edit137 ~= nil then self.edit137:destroy(); self.edit137 = nil; end; if self.edit146 ~= nil then self.edit146:destroy(); self.edit146 = nil; end; if self.imageCheckBox278 ~= nil then self.imageCheckBox278:destroy(); self.imageCheckBox278 = nil; end; if self.button9 ~= nil then self.button9:destroy(); self.button9 = nil; end; if self.textEditor20 ~= nil then self.textEditor20:destroy(); self.textEditor20 = nil; end; if self.imageCheckBox135 ~= nil then self.imageCheckBox135:destroy(); self.imageCheckBox135 = nil; end; if self.imageCheckBox206 ~= nil then self.imageCheckBox206:destroy(); self.imageCheckBox206 = nil; end; if self.edit6 ~= nil then self.edit6:destroy(); self.edit6 = nil; end; if self.imageCheckBox6 ~= nil then self.imageCheckBox6:destroy(); self.imageCheckBox6 = nil; end; if self.imageCheckBox120 ~= nil then self.imageCheckBox120:destroy(); self.imageCheckBox120 = nil; end; if self.textEditor21 ~= nil then self.textEditor21:destroy(); self.textEditor21 = nil; end; if self.textEditor23 ~= nil then self.textEditor23:destroy(); self.textEditor23 = nil; end; if self.imageCheckBox48 ~= nil then self.imageCheckBox48:destroy(); self.imageCheckBox48 = nil; end; if self.edit90 ~= nil then self.edit90:destroy(); self.edit90 = nil; end; if self.textEditor8 ~= nil then self.textEditor8:destroy(); self.textEditor8 = nil; end; if self.imageCheckBox162 ~= nil then self.imageCheckBox162:destroy(); self.imageCheckBox162 = nil; end; if self.textEditor33 ~= nil then self.textEditor33:destroy(); self.textEditor33 = nil; end; if self.edit3 ~= nil then self.edit3:destroy(); self.edit3 = nil; end; if self.layout33 ~= nil then self.layout33:destroy(); self.layout33 = nil; end; if self.imageCheckBox139 ~= nil then self.imageCheckBox139:destroy(); self.imageCheckBox139 = nil; end; if self.imageCheckBox279 ~= nil then self.imageCheckBox279:destroy(); self.imageCheckBox279 = nil; end; if self.edit49 ~= nil then self.edit49:destroy(); self.edit49 = nil; end; if self.imageCheckBox286 ~= nil then self.imageCheckBox286:destroy(); self.imageCheckBox286 = nil; end; if self.imageCheckBox297 ~= nil then self.imageCheckBox297:destroy(); self.imageCheckBox297 = nil; end; if self.textEditor39 ~= nil then self.textEditor39:destroy(); self.textEditor39 = nil; end; if self.imageCheckBox338 ~= nil then self.imageCheckBox338:destroy(); self.imageCheckBox338 = nil; end; if self.imageCheckBox102 ~= nil then self.imageCheckBox102:destroy(); self.imageCheckBox102 = nil; end; if self.imageCheckBox187 ~= nil then self.imageCheckBox187:destroy(); self.imageCheckBox187 = nil; end; if self.layout16 ~= nil then self.layout16:destroy(); self.layout16 = nil; end; if self.layout21 ~= nil then self.layout21:destroy(); self.layout21 = nil; end; if self.frmSODLFillable4_svg ~= nil then self.frmSODLFillable4_svg:destroy(); self.frmSODLFillable4_svg = nil; end; if self.edit140 ~= nil then self.edit140:destroy(); self.edit140 = nil; end; if self.textEditor34 ~= nil then self.textEditor34:destroy(); self.textEditor34 = nil; end; if self.imageCheckBox163 ~= nil then self.imageCheckBox163:destroy(); self.imageCheckBox163 = nil; end; if self.imageCheckBox109 ~= nil then self.imageCheckBox109:destroy(); self.imageCheckBox109 = nil; end; if self.edit18 ~= nil then self.edit18:destroy(); self.edit18 = nil; end; if self.edit25 ~= nil then self.edit25:destroy(); self.edit25 = nil; end; if self.imageCheckBox223 ~= nil then self.imageCheckBox223:destroy(); self.imageCheckBox223 = nil; end; if self.imageCheckBox266 ~= nil then self.imageCheckBox266:destroy(); self.imageCheckBox266 = nil; end; if self.scrollBox1 ~= nil then self.scrollBox1:destroy(); self.scrollBox1 = nil; end; if self.imageCheckBox35 ~= nil then self.imageCheckBox35:destroy(); self.imageCheckBox35 = nil; end; if self.imageCheckBox272 ~= nil then self.imageCheckBox272:destroy(); self.imageCheckBox272 = nil; end; if self.imageCheckBox323 ~= nil then self.imageCheckBox323:destroy(); self.imageCheckBox323 = nil; end; if self.frmSODLFillable3_svg ~= nil then self.frmSODLFillable3_svg:destroy(); self.frmSODLFillable3_svg = nil; end; if self.edit94 ~= nil then self.edit94:destroy(); self.edit94 = nil; end; if self.edit167 ~= nil then self.edit167:destroy(); self.edit167 = nil; end; if self.imageCheckBox245 ~= nil then self.imageCheckBox245:destroy(); self.imageCheckBox245 = nil; end; if self.imageCheckBox164 ~= nil then self.imageCheckBox164:destroy(); self.imageCheckBox164 = nil; end; if self.imageCheckBox303 ~= nil then self.imageCheckBox303:destroy(); self.imageCheckBox303 = nil; end; if self.imageCheckBox160 ~= nil then self.imageCheckBox160:destroy(); self.imageCheckBox160 = nil; end; if self.imageCheckBox259 ~= nil then self.imageCheckBox259:destroy(); self.imageCheckBox259 = nil; end; if self.edit46 ~= nil then self.edit46:destroy(); self.edit46 = nil; end; if self.layout43 ~= nil then self.layout43:destroy(); self.layout43 = nil; end; if self.imageCheckBox88 ~= nil then self.imageCheckBox88:destroy(); self.imageCheckBox88 = nil; end; if self.textEditor13 ~= nil then self.textEditor13:destroy(); self.textEditor13 = nil; end; if self.imageCheckBox114 ~= nil then self.imageCheckBox114:destroy(); self.imageCheckBox114 = nil; end; if self.imageCheckBox327 ~= nil then self.imageCheckBox327:destroy(); self.imageCheckBox327 = nil; end; if self.imageCheckBox329 ~= nil then self.imageCheckBox329:destroy(); self.imageCheckBox329 = nil; end; if self.edit104 ~= nil then self.edit104:destroy(); self.edit104 = nil; end; if self.imageCheckBox342 ~= nil then self.imageCheckBox342:destroy(); self.imageCheckBox342 = nil; end; if self.imageCheckBox43 ~= nil then self.imageCheckBox43:destroy(); self.imageCheckBox43 = nil; end; if self.imageCheckBox202 ~= nil then self.imageCheckBox202:destroy(); self.imageCheckBox202 = nil; end; if self.edit7 ~= nil then self.edit7:destroy(); self.edit7 = nil; end; if self.layout57 ~= nil then self.layout57:destroy(); self.layout57 = nil; end; if self.imageCheckBox226 ~= nil then self.imageCheckBox226:destroy(); self.imageCheckBox226 = nil; end; if self.edit108 ~= nil then self.edit108:destroy(); self.edit108 = nil; end; if self.edit12 ~= nil then self.edit12:destroy(); self.edit12 = nil; end; if self.edit80 ~= nil then self.edit80:destroy(); self.edit80 = nil; end; if self.edit95 ~= nil then self.edit95:destroy(); self.edit95 = nil; end; if self.imageCheckBox348 ~= nil then self.imageCheckBox348:destroy(); self.imageCheckBox348 = nil; end; if self.edit35 ~= nil then self.edit35:destroy(); self.edit35 = nil; end; if self.layout65 ~= nil then self.layout65:destroy(); self.layout65 = nil; end; if self.imageCheckBox276 ~= nil then self.imageCheckBox276:destroy(); self.imageCheckBox276 = nil; end; if self.edit171 ~= nil then self.edit171:destroy(); self.edit171 = nil; end; if self.comboBox4 ~= nil then self.comboBox4:destroy(); self.comboBox4 = nil; end; if self.textEditor19 ~= nil then self.textEditor19:destroy(); self.textEditor19 = nil; end; if self.imageCheckBox30 ~= nil then self.imageCheckBox30:destroy(); self.imageCheckBox30 = nil; end; if self.imageCheckBox61 ~= nil then self.imageCheckBox61:destroy(); self.imageCheckBox61 = nil; end; if self.edit57 ~= nil then self.edit57:destroy(); self.edit57 = nil; end; if self.imageCheckBox75 ~= nil then self.imageCheckBox75:destroy(); self.imageCheckBox75 = nil; end; if self.image2 ~= nil then self.image2:destroy(); self.image2 = nil; end; if self.edit97 ~= nil then self.edit97:destroy(); self.edit97 = nil; end; if self.edit147 ~= nil then self.edit147:destroy(); self.edit147 = nil; end; if self.layout3 ~= nil then self.layout3:destroy(); self.layout3 = nil; end; if self.textEditor37 ~= nil then self.textEditor37:destroy(); self.textEditor37 = nil; end; if self.imageCheckBox51 ~= nil then self.imageCheckBox51:destroy(); self.imageCheckBox51 = nil; end; if self.imageCheckBox44 ~= nil then self.imageCheckBox44:destroy(); self.imageCheckBox44 = nil; end; if self.edit63 ~= nil then self.edit63:destroy(); self.edit63 = nil; end; if self.imageCheckBox353 ~= nil then self.imageCheckBox353:destroy(); self.imageCheckBox353 = nil; end; if self.rectangle1 ~= nil then self.rectangle1:destroy(); self.rectangle1 = nil; end; if self.edit50 ~= nil then self.edit50:destroy(); self.edit50 = nil; end; if self.layout45 ~= nil then self.layout45:destroy(); self.layout45 = nil; end; if self.imageCheckBox270 ~= nil then self.imageCheckBox270:destroy(); self.imageCheckBox270 = nil; end; if self.imageCheckBox64 ~= nil then self.imageCheckBox64:destroy(); self.imageCheckBox64 = nil; end; if self.imageCheckBox161 ~= nil then self.imageCheckBox161:destroy(); self.imageCheckBox161 = nil; end; if self.layout46 ~= nil then self.layout46:destroy(); self.layout46 = nil; end; if self.edit88 ~= nil then self.edit88:destroy(); self.edit88 = nil; end; if self.edit44 ~= nil then self.edit44:destroy(); self.edit44 = nil; end; if self.layout56 ~= nil then self.layout56:destroy(); self.layout56 = nil; end; if self.edit89 ~= nil then self.edit89:destroy(); self.edit89 = nil; end; if self.textEditor24 ~= nil then self.textEditor24:destroy(); self.textEditor24 = nil; end; if self.label4 ~= nil then self.label4:destroy(); self.label4 = nil; end; if self.layout66 ~= nil then self.layout66:destroy(); self.layout66 = nil; end; if self.imageCheckBox274 ~= nil then self.imageCheckBox274:destroy(); self.imageCheckBox274 = nil; end; if self.imageCheckBox281 ~= nil then self.imageCheckBox281:destroy(); self.imageCheckBox281 = nil; end; if self.imageCheckBox60 ~= nil then self.imageCheckBox60:destroy(); self.imageCheckBox60 = nil; end; if self.imageCheckBox52 ~= nil then self.imageCheckBox52:destroy(); self.imageCheckBox52 = nil; end; if self.imageCheckBox77 ~= nil then self.imageCheckBox77:destroy(); self.imageCheckBox77 = nil; end; if self.imageCheckBox121 ~= nil then self.imageCheckBox121:destroy(); self.imageCheckBox121 = nil; end; if self.imageCheckBox152 ~= nil then self.imageCheckBox152:destroy(); self.imageCheckBox152 = nil; end; if self.imageCheckBox170 ~= nil then self.imageCheckBox170:destroy(); self.imageCheckBox170 = nil; end; if self.imageCheckBox41 ~= nil then self.imageCheckBox41:destroy(); self.imageCheckBox41 = nil; end; if self.imageCheckBox201 ~= nil then self.imageCheckBox201:destroy(); self.imageCheckBox201 = nil; end; if self.imageCheckBox203 ~= nil then self.imageCheckBox203:destroy(); self.imageCheckBox203 = nil; end; if self.imageCheckBox254 ~= nil then self.imageCheckBox254:destroy(); self.imageCheckBox254 = nil; end; if self.edit148 ~= nil then self.edit148:destroy(); self.edit148 = nil; end; if self.imageCheckBox113 ~= nil then self.imageCheckBox113:destroy(); self.imageCheckBox113 = nil; end; if self.imageCheckBox359 ~= nil then self.imageCheckBox359:destroy(); self.imageCheckBox359 = nil; end; if self.imageCheckBox89 ~= nil then self.imageCheckBox89:destroy(); self.imageCheckBox89 = nil; end; if self.imageCheckBox18 ~= nil then self.imageCheckBox18:destroy(); self.imageCheckBox18 = nil; end; if self.textEditor44 ~= nil then self.textEditor44:destroy(); self.textEditor44 = nil; end; if self.layout27 ~= nil then self.layout27:destroy(); self.layout27 = nil; end; if self.imageCheckBox69 ~= nil then self.imageCheckBox69:destroy(); self.imageCheckBox69 = nil; end; if self.imageCheckBox319 ~= nil then self.imageCheckBox319:destroy(); self.imageCheckBox319 = nil; end; if self.edit53 ~= nil then self.edit53:destroy(); self.edit53 = nil; end; if self.imageCheckBox317 ~= nil then self.imageCheckBox317:destroy(); self.imageCheckBox317 = nil; end; if self.layout28 ~= nil then self.layout28:destroy(); self.layout28 = nil; end; if self.imageCheckBox46 ~= nil then self.imageCheckBox46:destroy(); self.imageCheckBox46 = nil; end; if self.layout44 ~= nil then self.layout44:destroy(); self.layout44 = nil; end; if self.layout19 ~= nil then self.layout19:destroy(); self.layout19 = nil; end; if self.imageCheckBox188 ~= nil then self.imageCheckBox188:destroy(); self.imageCheckBox188 = nil; end; if self.edit107 ~= nil then self.edit107:destroy(); self.edit107 = nil; end; if self.imageCheckBox209 ~= nil then self.imageCheckBox209:destroy(); self.imageCheckBox209 = nil; end; if self.imageCheckBox178 ~= nil then self.imageCheckBox178:destroy(); self.imageCheckBox178 = nil; end; if self.imageCheckBox19 ~= nil then self.imageCheckBox19:destroy(); self.imageCheckBox19 = nil; end; if self.imageCheckBox218 ~= nil then self.imageCheckBox218:destroy(); self.imageCheckBox218 = nil; end; if self.imageCheckBox228 ~= nil then self.imageCheckBox228:destroy(); self.imageCheckBox228 = nil; end; if self.imageCheckBox177 ~= nil then self.imageCheckBox177:destroy(); self.imageCheckBox177 = nil; end; if self.imageCheckBox261 ~= nil then self.imageCheckBox261:destroy(); self.imageCheckBox261 = nil; end; if self.imageCheckBox284 ~= nil then self.imageCheckBox284:destroy(); self.imageCheckBox284 = nil; end; if self.imageCheckBox132 ~= nil then self.imageCheckBox132:destroy(); self.imageCheckBox132 = nil; end; if self.imageCheckBox321 ~= nil then self.imageCheckBox321:destroy(); self.imageCheckBox321 = nil; end; if self.edit30 ~= nil then self.edit30:destroy(); self.edit30 = nil; end; if self.imageCheckBox25 ~= nil then self.imageCheckBox25:destroy(); self.imageCheckBox25 = nil; end; if self.imageCheckBox14 ~= nil then self.imageCheckBox14:destroy(); self.imageCheckBox14 = nil; end; if self.edit56 ~= nil then self.edit56:destroy(); self.edit56 = nil; end; if self.imageCheckBox97 ~= nil then self.imageCheckBox97:destroy(); self.imageCheckBox97 = nil; end; if self.imageCheckBox147 ~= nil then self.imageCheckBox147:destroy(); self.imageCheckBox147 = nil; end; if self.imageCheckBox100 ~= nil then self.imageCheckBox100:destroy(); self.imageCheckBox100 = nil; end; if self.tab4 ~= nil then self.tab4:destroy(); self.tab4 = nil; end; if self.edit141 ~= nil then self.edit141:destroy(); self.edit141 = nil; end; if self.edit55 ~= nil then self.edit55:destroy(); self.edit55 = nil; end; if self.comboBox5 ~= nil then self.comboBox5:destroy(); self.comboBox5 = nil; end; if self.edit43 ~= nil then self.edit43:destroy(); self.edit43 = nil; end; if self.layout74 ~= nil then self.layout74:destroy(); self.layout74 = nil; end; if self.edit75 ~= nil then self.edit75:destroy(); self.edit75 = nil; end; if self.edit65 ~= nil then self.edit65:destroy(); self.edit65 = nil; end; if self.layout53 ~= nil then self.layout53:destroy(); self.layout53 = nil; end; if self.edit130 ~= nil then self.edit130:destroy(); self.edit130 = nil; end; if self.edit39 ~= nil then self.edit39:destroy(); self.edit39 = nil; end; if self.imageCheckBox144 ~= nil then self.imageCheckBox144:destroy(); self.imageCheckBox144 = nil; end; if self.imageCheckBox42 ~= nil then self.imageCheckBox42:destroy(); self.imageCheckBox42 = nil; end; if self.imageCheckBox5 ~= nil then self.imageCheckBox5:destroy(); self.imageCheckBox5 = nil; end; if self.imageCheckBox236 ~= nil then self.imageCheckBox236:destroy(); self.imageCheckBox236 = nil; end; if self.imageCheckBox299 ~= nil then self.imageCheckBox299:destroy(); self.imageCheckBox299 = nil; end; if self.dataLink1 ~= nil then self.dataLink1:destroy(); self.dataLink1 = nil; end; if self.edit144 ~= nil then self.edit144:destroy(); self.edit144 = nil; end; if self.imageCheckBox151 ~= nil then self.imageCheckBox151:destroy(); self.imageCheckBox151 = nil; end; if self.imageCheckBox16 ~= nil then self.imageCheckBox16:destroy(); self.imageCheckBox16 = nil; end; if self.button12 ~= nil then self.button12:destroy(); self.button12 = nil; end; if self.imageCheckBox49 ~= nil then self.imageCheckBox49:destroy(); self.imageCheckBox49 = nil; end; if self.imageCheckBox243 ~= nil then self.imageCheckBox243:destroy(); self.imageCheckBox243 = nil; end; if self.rectangle3 ~= nil then self.rectangle3:destroy(); self.rectangle3 = nil; end; if self.imageCheckBox212 ~= nil then self.imageCheckBox212:destroy(); self.imageCheckBox212 = nil; end; if self.imageCheckBox27 ~= nil then self.imageCheckBox27:destroy(); self.imageCheckBox27 = nil; end; if self.edit151 ~= nil then self.edit151:destroy(); self.edit151 = nil; end; if self.imageCheckBox70 ~= nil then self.imageCheckBox70:destroy(); self.imageCheckBox70 = nil; end; if self.imageCheckBox140 ~= nil then self.imageCheckBox140:destroy(); self.imageCheckBox140 = nil; end; if self.imageCheckBox221 ~= nil then self.imageCheckBox221:destroy(); self.imageCheckBox221 = nil; end; if self.edit132 ~= nil then self.edit132:destroy(); self.edit132 = nil; end; if self.imageCheckBox282 ~= nil then self.imageCheckBox282:destroy(); self.imageCheckBox282 = nil; end; if self.imageCheckBox53 ~= nil then self.imageCheckBox53:destroy(); self.imageCheckBox53 = nil; end; if self.imageCheckBox216 ~= nil then self.imageCheckBox216:destroy(); self.imageCheckBox216 = nil; end; if self.edit51 ~= nil then self.edit51:destroy(); self.edit51 = nil; end; if self.imageCheckBox57 ~= nil then self.imageCheckBox57:destroy(); self.imageCheckBox57 = nil; end; if self.edit119 ~= nil then self.edit119:destroy(); self.edit119 = nil; end; if self.edit48 ~= nil then self.edit48:destroy(); self.edit48 = nil; end; if self.imageCheckBox143 ~= nil then self.imageCheckBox143:destroy(); self.imageCheckBox143 = nil; end; if self.imageCheckBox273 ~= nil then self.imageCheckBox273:destroy(); self.imageCheckBox273 = nil; end; if self.imageCheckBox84 ~= nil then self.imageCheckBox84:destroy(); self.imageCheckBox84 = nil; end; if self.imageCheckBox3 ~= nil then self.imageCheckBox3:destroy(); self.imageCheckBox3 = nil; end; if self.imageCheckBox269 ~= nil then self.imageCheckBox269:destroy(); self.imageCheckBox269 = nil; end; if self.edit168 ~= nil then self.edit168:destroy(); self.edit168 = nil; end; if self.textEditor14 ~= nil then self.textEditor14:destroy(); self.textEditor14 = nil; end; if self.imageCheckBox277 ~= nil then self.imageCheckBox277:destroy(); self.imageCheckBox277 = nil; end; if self.imageCheckBox311 ~= nil then self.imageCheckBox311:destroy(); self.imageCheckBox311 = nil; end; if self.imageCheckBox312 ~= nil then self.imageCheckBox312:destroy(); self.imageCheckBox312 = nil; end; if self.imageCheckBox356 ~= nil then self.imageCheckBox356:destroy(); self.imageCheckBox356 = nil; end; if self.imageCheckBox108 ~= nil then self.imageCheckBox108:destroy(); self.imageCheckBox108 = nil; end; if self.edit78 ~= nil then self.edit78:destroy(); self.edit78 = nil; end; if self.layout40 ~= nil then self.layout40:destroy(); self.layout40 = nil; end; if self.imageCheckBox240 ~= nil then self.imageCheckBox240:destroy(); self.imageCheckBox240 = nil; end; if self.imageCheckBox324 ~= nil then self.imageCheckBox324:destroy(); self.imageCheckBox324 = nil; end; if self.imageCheckBox257 ~= nil then self.imageCheckBox257:destroy(); self.imageCheckBox257 = nil; end; if self.edit91 ~= nil then self.edit91:destroy(); self.edit91 = nil; end; if self.edit70 ~= nil then self.edit70:destroy(); self.edit70 = nil; end; if self.textEditor28 ~= nil then self.textEditor28:destroy(); self.textEditor28 = nil; end; if self.edit22 ~= nil then self.edit22:destroy(); self.edit22 = nil; end; if self.imageCheckBox122 ~= nil then self.imageCheckBox122:destroy(); self.imageCheckBox122 = nil; end; if self.layout6 ~= nil then self.layout6:destroy(); self.layout6 = nil; end; if self.imageCheckBox11 ~= nil then self.imageCheckBox11:destroy(); self.imageCheckBox11 = nil; end; if self.imageCheckBox47 ~= nil then self.imageCheckBox47:destroy(); self.imageCheckBox47 = nil; end; if self.textEditor18 ~= nil then self.textEditor18:destroy(); self.textEditor18 = nil; end; if self.imageCheckBox72 ~= nil then self.imageCheckBox72:destroy(); self.imageCheckBox72 = nil; end; if self.imageCheckBox230 ~= nil then self.imageCheckBox230:destroy(); self.imageCheckBox230 = nil; end; if self.edit136 ~= nil then self.edit136:destroy(); self.edit136 = nil; end; if self.imageCheckBox183 ~= nil then self.imageCheckBox183:destroy(); self.imageCheckBox183 = nil; end; if self.imageCheckBox98 ~= nil then self.imageCheckBox98:destroy(); self.imageCheckBox98 = nil; end; if self.imageCheckBox40 ~= nil then self.imageCheckBox40:destroy(); self.imageCheckBox40 = nil; end; if self.imageCheckBox310 ~= nil then self.imageCheckBox310:destroy(); self.imageCheckBox310 = nil; end; if self.edit173 ~= nil then self.edit173:destroy(); self.edit173 = nil; end; if self.imageCheckBox232 ~= nil then self.imageCheckBox232:destroy(); self.imageCheckBox232 = nil; end; if self.imageCheckBox167 ~= nil then self.imageCheckBox167:destroy(); self.imageCheckBox167 = nil; end; if self.edit20 ~= nil then self.edit20:destroy(); self.edit20 = nil; end; self:_oldLFMDestroy(); end; obj:endUpdate(); return obj; end; function newfrmSODLSheet() local retObj = nil; __o_rrpgObjs.beginObjectsLoading(); __o_Utils.tryFinally( function() retObj = constructNew_frmSODLSheet(); end, function() __o_rrpgObjs.endObjectsLoading(); end); assert(retObj ~= nil); return retObj; end; local _frmSODLSheet = { newEditor = newfrmSODLSheet, new = newfrmSODLSheet, name = "frmSODLSheet", dataType = "Valk_Data", formType = "sheetTemplate", formComponentName = "form", title = "SODLSheet", description=""}; frmSODLSheet = _frmSODLSheet; Firecast.registrarForm(_frmSODLSheet); Firecast.registrarDataType(_frmSODLSheet); return _frmSODLSheet;
apache-2.0
rrpgfirecast/firecast
Plugins/Sheets/MightyBladeV6/output/rdkObjs/mb3.0/1.lfm.lua
1
110335
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmmb3_01_svg() local obj = GUI.fromHandle(_obj_newObject("form")); local self = obj; local sheet = nil; rawset(obj, "_oldSetNodeObjectFunction", rawget(obj, "setNodeObject")); function obj:setNodeObject(nodeObject) sheet = nodeObject; self.sheet = nodeObject; self:_oldSetNodeObjectFunction(nodeObject); end; function obj:setNodeDatabase(nodeObject) self:setNodeObject(nodeObject); end; _gui_assignInitialParentForForm(obj.handle); obj:beginUpdate(); obj:setName("frmmb3_01_svg"); obj:setAlign("client"); obj:setTheme("light"); obj:setMargins({top=1}); obj.scrollBox1 = GUI.fromHandle(_obj_newObject("scrollBox")); obj.scrollBox1:setParent(obj); obj.scrollBox1:setAlign("client"); obj.scrollBox1:setName("scrollBox1"); obj.rectangle1 = GUI.fromHandle(_obj_newObject("rectangle")); obj.rectangle1:setParent(obj.scrollBox1); obj.rectangle1:setWidth(893); obj.rectangle1:setHeight(1263); obj.rectangle1:setColor("white"); obj.rectangle1:setName("rectangle1"); obj.image1 = GUI.fromHandle(_obj_newObject("image")); obj.image1:setParent(obj.rectangle1); obj.image1:setLeft(0); obj.image1:setTop(0); obj.image1:setWidth(893); obj.image1:setHeight(1263); obj.image1:setSRC("/mb3.0/images/1.png"); obj.image1:setStyle("stretch"); obj.image1:setOptimize(true); obj.image1:setName("image1"); obj.layout1 = GUI.fromHandle(_obj_newObject("layout")); obj.layout1:setParent(obj.rectangle1); obj.layout1:setLeft(807); obj.layout1:setTop(1); obj.layout1:setWidth(83); obj.layout1:setHeight(17); obj.layout1:setName("layout1"); obj.button1 = GUI.fromHandle(_obj_newObject("button")); obj.button1:setParent(obj.layout1); obj.button1:setLeft(0); obj.button1:setTop(0); obj.button1:setWidth(83); obj.button1:setHeight(18); obj.button1:setName("button1"); obj.layout2 = GUI.fromHandle(_obj_newObject("layout")); obj.layout2:setParent(obj.rectangle1); obj.layout2:setLeft(152); obj.layout2:setTop(90); obj.layout2:setWidth(461); obj.layout2:setHeight(16); obj.layout2:setName("layout2"); obj.edit1 = GUI.fromHandle(_obj_newObject("edit")); obj.edit1:setParent(obj.layout2); obj.edit1:setTransparent(true); obj.edit1:setFontSize(9.8); obj.edit1:setFontColor("#000000"); obj.edit1:setVertTextAlign("center"); obj.edit1:setLeft(0); obj.edit1:setTop(0); obj.edit1:setWidth(461); obj.edit1:setHeight(17); obj.edit1:setField("untitled15"); obj.edit1:setName("edit1"); obj.layout3 = GUI.fromHandle(_obj_newObject("layout")); obj.layout3:setParent(obj.rectangle1); obj.layout3:setLeft(131); obj.layout3:setTop(118); obj.layout3:setWidth(482); obj.layout3:setHeight(16); obj.layout3:setName("layout3"); obj.edit2 = GUI.fromHandle(_obj_newObject("edit")); obj.edit2:setParent(obj.layout3); obj.edit2:setTransparent(true); obj.edit2:setFontSize(9.8); obj.edit2:setFontColor("#000000"); obj.edit2:setVertTextAlign("center"); obj.edit2:setLeft(0); obj.edit2:setTop(0); obj.edit2:setWidth(482); obj.edit2:setHeight(17); obj.edit2:setField("untitled17"); obj.edit2:setName("edit2"); obj.layout4 = GUI.fromHandle(_obj_newObject("layout")); obj.layout4:setParent(obj.rectangle1); obj.layout4:setLeft(114); obj.layout4:setTop(145); obj.layout4:setWidth(215); obj.layout4:setHeight(17); obj.layout4:setName("layout4"); obj.edit3 = GUI.fromHandle(_obj_newObject("edit")); obj.edit3:setParent(obj.layout4); obj.edit3:setTransparent(true); obj.edit3:setFontSize(10.5); obj.edit3:setFontColor("#000000"); obj.edit3:setHorzTextAlign("leading"); obj.edit3:setVertTextAlign("center"); obj.edit3:setLeft(0); obj.edit3:setTop(0); obj.edit3:setWidth(215); obj.edit3:setHeight(18); obj.edit3:setField("untitled18"); obj.edit3:setName("edit3"); obj.layout5 = GUI.fromHandle(_obj_newObject("layout")); obj.layout5:setParent(obj.rectangle1); obj.layout5:setLeft(388); obj.layout5:setTop(145); obj.layout5:setWidth(225); obj.layout5:setHeight(16); obj.layout5:setName("layout5"); obj.edit4 = GUI.fromHandle(_obj_newObject("edit")); obj.edit4:setParent(obj.layout5); obj.edit4:setTransparent(true); obj.edit4:setFontSize(9.8); obj.edit4:setFontColor("#000000"); obj.edit4:setHorzTextAlign("leading"); obj.edit4:setVertTextAlign("center"); obj.edit4:setLeft(0); obj.edit4:setTop(0); obj.edit4:setWidth(225); obj.edit4:setHeight(17); obj.edit4:setField("untitled19"); obj.edit4:setName("edit4"); obj.layout6 = GUI.fromHandle(_obj_newObject("layout")); obj.layout6:setParent(obj.rectangle1); obj.layout6:setLeft(115); obj.layout6:setTop(172); obj.layout6:setWidth(33); obj.layout6:setHeight(16); obj.layout6:setName("layout6"); obj.edit5 = GUI.fromHandle(_obj_newObject("edit")); obj.edit5:setParent(obj.layout6); obj.edit5:setTransparent(true); obj.edit5:setFontSize(9.8); obj.edit5:setFontColor("#000000"); obj.edit5:setVertTextAlign("center"); obj.edit5:setLeft(0); obj.edit5:setTop(0); obj.edit5:setWidth(33); obj.edit5:setHeight(17); obj.edit5:setField("untitled20"); obj.edit5:setName("edit5"); obj.layout7 = GUI.fromHandle(_obj_newObject("layout")); obj.layout7:setParent(obj.rectangle1); obj.layout7:setLeft(527); obj.layout7:setTop(172); obj.layout7:setWidth(87); obj.layout7:setHeight(17); obj.layout7:setName("layout7"); obj.edit6 = GUI.fromHandle(_obj_newObject("edit")); obj.edit6:setParent(obj.layout7); obj.edit6:setTransparent(true); obj.edit6:setFontSize(10.5); obj.edit6:setFontColor("#000000"); obj.edit6:setVertTextAlign("center"); obj.edit6:setLeft(0); obj.edit6:setTop(0); obj.edit6:setWidth(87); obj.edit6:setHeight(18); obj.edit6:setField("untitled21"); obj.edit6:setName("edit6"); obj.layout8 = GUI.fromHandle(_obj_newObject("layout")); obj.layout8:setParent(obj.rectangle1); obj.layout8:setLeft(147); obj.layout8:setTop(198); obj.layout8:setWidth(468); obj.layout8:setHeight(16); obj.layout8:setName("layout8"); obj.edit7 = GUI.fromHandle(_obj_newObject("edit")); obj.edit7:setParent(obj.layout8); obj.edit7:setTransparent(true); obj.edit7:setFontSize(9.8); obj.edit7:setFontColor("#000000"); obj.edit7:setVertTextAlign("center"); obj.edit7:setLeft(0); obj.edit7:setTop(0); obj.edit7:setWidth(468); obj.edit7:setHeight(17); obj.edit7:setField("untitled22"); obj.edit7:setName("edit7"); obj.layout9 = GUI.fromHandle(_obj_newObject("layout")); obj.layout9:setParent(obj.rectangle1); obj.layout9:setLeft(640); obj.layout9:setTop(430); obj.layout9:setWidth(36); obj.layout9:setHeight(37); obj.layout9:setName("layout9"); obj.edit8 = GUI.fromHandle(_obj_newObject("edit")); obj.edit8:setParent(obj.layout9); obj.edit8:setTransparent(true); obj.edit8:setFontSize(12); obj.edit8:setFontColor("#000000"); obj.edit8:setHorzTextAlign("center"); obj.edit8:setVertTextAlign("center"); obj.edit8:setLeft(0); obj.edit8:setTop(0); obj.edit8:setWidth(36); obj.edit8:setHeight(38); obj.edit8:setField("untitled24"); obj.edit8:setName("edit8"); obj.layout10 = GUI.fromHandle(_obj_newObject("layout")); obj.layout10:setParent(obj.rectangle1); obj.layout10:setLeft(245); obj.layout10:setTop(168); obj.layout10:setWidth(22); obj.layout10:setHeight(27); obj.layout10:setName("layout10"); obj.checkBox1 = GUI.fromHandle(_obj_newObject("checkBox")); obj.checkBox1:setParent(obj.layout10); obj.checkBox1:setLeft(0); obj.checkBox1:setTop(0); obj.checkBox1:setWidth(22); obj.checkBox1:setHeight(28); obj.checkBox1:setField("untitled27"); obj.checkBox1:setName("checkBox1"); obj.layout11 = GUI.fromHandle(_obj_newObject("layout")); obj.layout11:setParent(obj.rectangle1); obj.layout11:setLeft(268); obj.layout11:setTop(168); obj.layout11:setWidth(22); obj.layout11:setHeight(27); obj.layout11:setName("layout11"); obj.checkBox2 = GUI.fromHandle(_obj_newObject("checkBox")); obj.checkBox2:setParent(obj.layout11); obj.checkBox2:setLeft(0); obj.checkBox2:setTop(0); obj.checkBox2:setWidth(22); obj.checkBox2:setHeight(28); obj.checkBox2:setField("untitled28"); obj.checkBox2:setName("checkBox2"); obj.layout12 = GUI.fromHandle(_obj_newObject("layout")); obj.layout12:setParent(obj.rectangle1); obj.layout12:setLeft(291); obj.layout12:setTop(168); obj.layout12:setWidth(22); obj.layout12:setHeight(27); obj.layout12:setName("layout12"); obj.checkBox3 = GUI.fromHandle(_obj_newObject("checkBox")); obj.checkBox3:setParent(obj.layout12); obj.checkBox3:setLeft(0); obj.checkBox3:setTop(0); obj.checkBox3:setWidth(22); obj.checkBox3:setHeight(28); obj.checkBox3:setField("untitled29"); obj.checkBox3:setName("checkBox3"); obj.layout13 = GUI.fromHandle(_obj_newObject("layout")); obj.layout13:setParent(obj.rectangle1); obj.layout13:setLeft(314); obj.layout13:setTop(168); obj.layout13:setWidth(22); obj.layout13:setHeight(27); obj.layout13:setName("layout13"); obj.checkBox4 = GUI.fromHandle(_obj_newObject("checkBox")); obj.checkBox4:setParent(obj.layout13); obj.checkBox4:setLeft(0); obj.checkBox4:setTop(0); obj.checkBox4:setWidth(22); obj.checkBox4:setHeight(28); obj.checkBox4:setField("untitled30"); obj.checkBox4:setName("checkBox4"); obj.layout14 = GUI.fromHandle(_obj_newObject("layout")); obj.layout14:setParent(obj.rectangle1); obj.layout14:setLeft(337); obj.layout14:setTop(168); obj.layout14:setWidth(22); obj.layout14:setHeight(27); obj.layout14:setName("layout14"); obj.checkBox5 = GUI.fromHandle(_obj_newObject("checkBox")); obj.checkBox5:setParent(obj.layout14); obj.checkBox5:setLeft(0); obj.checkBox5:setTop(0); obj.checkBox5:setWidth(22); obj.checkBox5:setHeight(28); obj.checkBox5:setField("untitled31"); obj.checkBox5:setName("checkBox5"); obj.layout15 = GUI.fromHandle(_obj_newObject("layout")); obj.layout15:setParent(obj.rectangle1); obj.layout15:setLeft(359); obj.layout15:setTop(168); obj.layout15:setWidth(22); obj.layout15:setHeight(27); obj.layout15:setName("layout15"); obj.checkBox6 = GUI.fromHandle(_obj_newObject("checkBox")); obj.checkBox6:setParent(obj.layout15); obj.checkBox6:setLeft(0); obj.checkBox6:setTop(0); obj.checkBox6:setWidth(22); obj.checkBox6:setHeight(28); obj.checkBox6:setField("untitled32"); obj.checkBox6:setName("checkBox6"); obj.layout16 = GUI.fromHandle(_obj_newObject("layout")); obj.layout16:setParent(obj.rectangle1); obj.layout16:setLeft(382); obj.layout16:setTop(168); obj.layout16:setWidth(22); obj.layout16:setHeight(27); obj.layout16:setName("layout16"); obj.checkBox7 = GUI.fromHandle(_obj_newObject("checkBox")); obj.checkBox7:setParent(obj.layout16); obj.checkBox7:setLeft(0); obj.checkBox7:setTop(0); obj.checkBox7:setWidth(22); obj.checkBox7:setHeight(28); obj.checkBox7:setField("untitled33"); obj.checkBox7:setName("checkBox7"); obj.layout17 = GUI.fromHandle(_obj_newObject("layout")); obj.layout17:setParent(obj.rectangle1); obj.layout17:setLeft(405); obj.layout17:setTop(168); obj.layout17:setWidth(22); obj.layout17:setHeight(27); obj.layout17:setName("layout17"); obj.checkBox8 = GUI.fromHandle(_obj_newObject("checkBox")); obj.checkBox8:setParent(obj.layout17); obj.checkBox8:setLeft(0); obj.checkBox8:setTop(0); obj.checkBox8:setWidth(22); obj.checkBox8:setHeight(28); obj.checkBox8:setField("untitled34"); obj.checkBox8:setName("checkBox8"); obj.layout18 = GUI.fromHandle(_obj_newObject("layout")); obj.layout18:setParent(obj.rectangle1); obj.layout18:setLeft(428); obj.layout18:setTop(168); obj.layout18:setWidth(22); obj.layout18:setHeight(27); obj.layout18:setName("layout18"); obj.checkBox9 = GUI.fromHandle(_obj_newObject("checkBox")); obj.checkBox9:setParent(obj.layout18); obj.checkBox9:setLeft(0); obj.checkBox9:setTop(0); obj.checkBox9:setWidth(22); obj.checkBox9:setHeight(28); obj.checkBox9:setField("untitled35"); obj.checkBox9:setName("checkBox9"); obj.layout19 = GUI.fromHandle(_obj_newObject("layout")); obj.layout19:setParent(obj.rectangle1); obj.layout19:setLeft(451); obj.layout19:setTop(168); obj.layout19:setWidth(22); obj.layout19:setHeight(27); obj.layout19:setName("layout19"); obj.checkBox10 = GUI.fromHandle(_obj_newObject("checkBox")); obj.checkBox10:setParent(obj.layout19); obj.checkBox10:setLeft(0); obj.checkBox10:setTop(0); obj.checkBox10:setWidth(22); obj.checkBox10:setHeight(28); obj.checkBox10:setField("untitled36"); obj.checkBox10:setName("checkBox10"); obj.layout20 = GUI.fromHandle(_obj_newObject("layout")); obj.layout20:setParent(obj.rectangle1); obj.layout20:setLeft(97); obj.layout20:setTop(261); obj.layout20:setWidth(47); obj.layout20:setHeight(43); obj.layout20:setName("layout20"); obj.edit9 = GUI.fromHandle(_obj_newObject("edit")); obj.edit9:setParent(obj.layout20); obj.edit9:setTransparent(true); obj.edit9:setFontSize(15); obj.edit9:setFontColor("#FF0000"); obj.edit9:setHorzTextAlign("center"); obj.edit9:setVertTextAlign("center"); obj.edit9:setLeft(0); obj.edit9:setTop(0); obj.edit9:setWidth(47); obj.edit9:setHeight(44); obj.edit9:setField("untitled37"); obj.edit9:setName("edit9"); obj.layout21 = GUI.fromHandle(_obj_newObject("layout")); obj.layout21:setParent(obj.rectangle1); obj.layout21:setLeft(205); obj.layout21:setTop(261); obj.layout21:setWidth(47); obj.layout21:setHeight(43); obj.layout21:setName("layout21"); obj.edit10 = GUI.fromHandle(_obj_newObject("edit")); obj.edit10:setParent(obj.layout21); obj.edit10:setTransparent(true); obj.edit10:setFontSize(15); obj.edit10:setFontColor("#0000FF"); obj.edit10:setHorzTextAlign("center"); obj.edit10:setVertTextAlign("center"); obj.edit10:setLeft(0); obj.edit10:setTop(0); obj.edit10:setWidth(47); obj.edit10:setHeight(44); obj.edit10:setField("untitled41"); obj.edit10:setName("edit10"); obj.layout22 = GUI.fromHandle(_obj_newObject("layout")); obj.layout22:setParent(obj.rectangle1); obj.layout22:setLeft(624); obj.layout22:setTop(221); obj.layout22:setWidth(194); obj.layout22:setHeight(152); obj.layout22:setName("layout22"); obj.button2 = GUI.fromHandle(_obj_newObject("button")); obj.button2:setParent(obj.layout22); obj.button2:setLeft(0); obj.button2:setTop(0); obj.button2:setWidth(194); obj.button2:setHeight(153); obj.button2:setName("button2"); obj.layout23 = GUI.fromHandle(_obj_newObject("layout")); obj.layout23:setParent(obj.rectangle1); obj.layout23:setLeft(704); obj.layout23:setTop(429); obj.layout23:setWidth(36); obj.layout23:setHeight(37); obj.layout23:setName("layout23"); obj.edit11 = GUI.fromHandle(_obj_newObject("edit")); obj.edit11:setParent(obj.layout23); obj.edit11:setTransparent(true); obj.edit11:setFontSize(12); obj.edit11:setFontColor("#000000"); obj.edit11:setHorzTextAlign("center"); obj.edit11:setVertTextAlign("center"); obj.edit11:setLeft(0); obj.edit11:setTop(0); obj.edit11:setWidth(36); obj.edit11:setHeight(38); obj.edit11:setField("untitled42"); obj.edit11:setName("edit11"); obj.layout24 = GUI.fromHandle(_obj_newObject("layout")); obj.layout24:setParent(obj.rectangle1); obj.layout24:setLeft(768); obj.layout24:setTop(429); obj.layout24:setWidth(36); obj.layout24:setHeight(37); obj.layout24:setName("layout24"); obj.edit12 = GUI.fromHandle(_obj_newObject("edit")); obj.edit12:setParent(obj.layout24); obj.edit12:setTransparent(true); obj.edit12:setFontSize(12); obj.edit12:setFontColor("#000000"); obj.edit12:setHorzTextAlign("center"); obj.edit12:setVertTextAlign("center"); obj.edit12:setLeft(0); obj.edit12:setTop(0); obj.edit12:setWidth(36); obj.edit12:setHeight(38); obj.edit12:setField("untitled43"); obj.edit12:setName("edit12"); obj.layout25 = GUI.fromHandle(_obj_newObject("layout")); obj.layout25:setParent(obj.rectangle1); obj.layout25:setLeft(313); obj.layout25:setTop(232); obj.layout25:setWidth(51); obj.layout25:setHeight(49); obj.layout25:setName("layout25"); obj.edit13 = GUI.fromHandle(_obj_newObject("edit")); obj.edit13:setParent(obj.layout25); obj.edit13:setTransparent(true); obj.edit13:setFontSize(13.5); obj.edit13:setFontColor("#000000"); obj.edit13:setHorzTextAlign("center"); obj.edit13:setVertTextAlign("center"); obj.edit13:setLeft(0); obj.edit13:setTop(0); obj.edit13:setWidth(51); obj.edit13:setHeight(50); obj.edit13:setField("untitled44"); obj.edit13:setName("edit13"); obj.layout26 = GUI.fromHandle(_obj_newObject("layout")); obj.layout26:setParent(obj.rectangle1); obj.layout26:setLeft(313); obj.layout26:setTop(302); obj.layout26:setWidth(51); obj.layout26:setHeight(49); obj.layout26:setName("layout26"); obj.edit14 = GUI.fromHandle(_obj_newObject("edit")); obj.edit14:setParent(obj.layout26); obj.edit14:setTransparent(true); obj.edit14:setFontSize(13.5); obj.edit14:setFontColor("#000000"); obj.edit14:setHorzTextAlign("center"); obj.edit14:setVertTextAlign("center"); obj.edit14:setLeft(0); obj.edit14:setTop(0); obj.edit14:setWidth(51); obj.edit14:setHeight(50); obj.edit14:setField("untitled45"); obj.edit14:setName("edit14"); obj.layout27 = GUI.fromHandle(_obj_newObject("layout")); obj.layout27:setParent(obj.rectangle1); obj.layout27:setLeft(313); obj.layout27:setTop(373); obj.layout27:setWidth(51); obj.layout27:setHeight(49); obj.layout27:setName("layout27"); obj.edit15 = GUI.fromHandle(_obj_newObject("edit")); obj.edit15:setParent(obj.layout27); obj.edit15:setTransparent(true); obj.edit15:setFontSize(13.5); obj.edit15:setFontColor("#000000"); obj.edit15:setHorzTextAlign("center"); obj.edit15:setVertTextAlign("center"); obj.edit15:setLeft(0); obj.edit15:setTop(0); obj.edit15:setWidth(51); obj.edit15:setHeight(50); obj.edit15:setField("untitled46"); obj.edit15:setName("edit15"); obj.layout28 = GUI.fromHandle(_obj_newObject("layout")); obj.layout28:setParent(obj.rectangle1); obj.layout28:setLeft(313); obj.layout28:setTop(441); obj.layout28:setWidth(51); obj.layout28:setHeight(49); obj.layout28:setName("layout28"); obj.edit16 = GUI.fromHandle(_obj_newObject("edit")); obj.edit16:setParent(obj.layout28); obj.edit16:setTransparent(true); obj.edit16:setFontSize(13.5); obj.edit16:setFontColor("#000000"); obj.edit16:setHorzTextAlign("center"); obj.edit16:setVertTextAlign("center"); obj.edit16:setLeft(0); obj.edit16:setTop(0); obj.edit16:setWidth(51); obj.edit16:setHeight(50); obj.edit16:setField("untitled47"); obj.edit16:setName("edit16"); obj.layout29 = GUI.fromHandle(_obj_newObject("layout")); obj.layout29:setParent(obj.rectangle1); obj.layout29:setLeft(99); obj.layout29:setTop(459); obj.layout29:setWidth(42); obj.layout29:setHeight(41); obj.layout29:setName("layout29"); obj.edit17 = GUI.fromHandle(_obj_newObject("edit")); obj.edit17:setParent(obj.layout29); obj.edit17:setTransparent(true); obj.edit17:setFontSize(12); obj.edit17:setFontColor("#000000"); obj.edit17:setHorzTextAlign("center"); obj.edit17:setVertTextAlign("center"); obj.edit17:setLeft(0); obj.edit17:setTop(0); obj.edit17:setWidth(42); obj.edit17:setHeight(42); obj.edit17:setField("untitled48"); obj.edit17:setName("edit17"); obj.layout30 = GUI.fromHandle(_obj_newObject("layout")); obj.layout30:setParent(obj.rectangle1); obj.layout30:setLeft(207); obj.layout30:setTop(459); obj.layout30:setWidth(42); obj.layout30:setHeight(41); obj.layout30:setName("layout30"); obj.edit18 = GUI.fromHandle(_obj_newObject("edit")); obj.edit18:setParent(obj.layout30); obj.edit18:setTransparent(true); obj.edit18:setFontSize(12); obj.edit18:setFontColor("#000000"); obj.edit18:setHorzTextAlign("center"); obj.edit18:setVertTextAlign("center"); obj.edit18:setLeft(0); obj.edit18:setTop(0); obj.edit18:setWidth(42); obj.edit18:setHeight(42); obj.edit18:setField("untitled49"); obj.edit18:setName("edit18"); obj.layout31 = GUI.fromHandle(_obj_newObject("layout")); obj.layout31:setParent(obj.rectangle1); obj.layout31:setLeft(77); obj.layout31:setTop(342); obj.layout31:setWidth(87); obj.layout31:setHeight(74); obj.layout31:setName("layout31"); obj.textEditor1 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor1:setParent(obj.layout31); obj.textEditor1:setLeft(0); obj.textEditor1:setTop(0); obj.textEditor1:setWidth(87); obj.textEditor1:setHeight(74); obj.textEditor1:setFontSize(12); obj.textEditor1:setFontColor("#000000"); obj.textEditor1:setField("untitled51"); obj.textEditor1:setTransparent(true); obj.textEditor1:setName("textEditor1"); obj.layout32 = GUI.fromHandle(_obj_newObject("layout")); obj.layout32:setParent(obj.rectangle1); obj.layout32:setLeft(185); obj.layout32:setTop(342); obj.layout32:setWidth(87); obj.layout32:setHeight(75); obj.layout32:setName("layout32"); obj.textEditor2 = GUI.fromHandle(_obj_newObject("textEditor")); obj.textEditor2:setParent(obj.layout32); obj.textEditor2:setLeft(0); obj.textEditor2:setTop(0); obj.textEditor2:setWidth(87); obj.textEditor2:setHeight(75); obj.textEditor2:setFontSize(12); obj.textEditor2:setFontColor("#000000"); obj.textEditor2:setField("untitled52"); obj.textEditor2:setTransparent(true); obj.textEditor2:setName("textEditor2"); obj.layout33 = GUI.fromHandle(_obj_newObject("layout")); obj.layout33:setParent(obj.rectangle1); obj.layout33:setLeft(141); obj.layout33:setTop(542); obj.layout33:setWidth(55); obj.layout33:setHeight(53); obj.layout33:setName("layout33"); obj.edit19 = GUI.fromHandle(_obj_newObject("edit")); obj.edit19:setParent(obj.layout33); obj.edit19:setTransparent(true); obj.edit19:setFontSize(15); obj.edit19:setFontColor("#000000"); obj.edit19:setHorzTextAlign("center"); obj.edit19:setVertTextAlign("center"); obj.edit19:setLeft(0); obj.edit19:setTop(0); obj.edit19:setWidth(55); obj.edit19:setHeight(54); obj.edit19:setField("untitled53"); obj.edit19:setName("edit19"); obj.layout34 = GUI.fromHandle(_obj_newObject("layout")); obj.layout34:setParent(obj.rectangle1); obj.layout34:setLeft(246); obj.layout34:setTop(542); obj.layout34:setWidth(55); obj.layout34:setHeight(53); obj.layout34:setName("layout34"); obj.edit20 = GUI.fromHandle(_obj_newObject("edit")); obj.edit20:setParent(obj.layout34); obj.edit20:setTransparent(true); obj.edit20:setFontSize(15); obj.edit20:setFontColor("#000000"); obj.edit20:setHorzTextAlign("center"); obj.edit20:setVertTextAlign("center"); obj.edit20:setLeft(0); obj.edit20:setTop(0); obj.edit20:setWidth(55); obj.edit20:setHeight(54); obj.edit20:setField("untitled54"); obj.edit20:setName("edit20"); obj.layout35 = GUI.fromHandle(_obj_newObject("layout")); obj.layout35:setParent(obj.rectangle1); obj.layout35:setLeft(355); obj.layout35:setTop(542); obj.layout35:setWidth(55); obj.layout35:setHeight(53); obj.layout35:setName("layout35"); obj.edit21 = GUI.fromHandle(_obj_newObject("edit")); obj.edit21:setParent(obj.layout35); obj.edit21:setTransparent(true); obj.edit21:setFontSize(15); obj.edit21:setFontColor("#000000"); obj.edit21:setHorzTextAlign("center"); obj.edit21:setVertTextAlign("center"); obj.edit21:setLeft(0); obj.edit21:setTop(0); obj.edit21:setWidth(55); obj.edit21:setHeight(54); obj.edit21:setField("untitled55"); obj.edit21:setName("edit21"); obj.layout36 = GUI.fromHandle(_obj_newObject("layout")); obj.layout36:setParent(obj.rectangle1); obj.layout36:setLeft(85); obj.layout36:setTop(646); obj.layout36:setWidth(173); obj.layout36:setHeight(17); obj.layout36:setName("layout36"); obj.edit22 = GUI.fromHandle(_obj_newObject("edit")); obj.edit22:setParent(obj.layout36); obj.edit22:setTransparent(true); obj.edit22:setFontSize(10.5); obj.edit22:setFontColor("#000000"); obj.edit22:setVertTextAlign("center"); obj.edit22:setLeft(0); obj.edit22:setTop(0); obj.edit22:setWidth(173); obj.edit22:setHeight(18); obj.edit22:setField("untitled56"); obj.edit22:setName("edit22"); obj.layout37 = GUI.fromHandle(_obj_newObject("layout")); obj.layout37:setParent(obj.rectangle1); obj.layout37:setLeft(85); obj.layout37:setTop(665); obj.layout37:setWidth(172); obj.layout37:setHeight(18); obj.layout37:setName("layout37"); obj.edit23 = GUI.fromHandle(_obj_newObject("edit")); obj.edit23:setParent(obj.layout37); obj.edit23:setTransparent(true); obj.edit23:setFontSize(11.3); obj.edit23:setFontColor("#000000"); obj.edit23:setVertTextAlign("center"); obj.edit23:setLeft(0); obj.edit23:setTop(0); obj.edit23:setWidth(172); obj.edit23:setHeight(19); obj.edit23:setField("untitled57"); obj.edit23:setName("edit23"); obj.layout38 = GUI.fromHandle(_obj_newObject("layout")); obj.layout38:setParent(obj.rectangle1); obj.layout38:setLeft(85); obj.layout38:setTop(684); obj.layout38:setWidth(173); obj.layout38:setHeight(18); obj.layout38:setName("layout38"); obj.edit24 = GUI.fromHandle(_obj_newObject("edit")); obj.edit24:setParent(obj.layout38); obj.edit24:setTransparent(true); obj.edit24:setFontSize(11.3); obj.edit24:setFontColor("#000000"); obj.edit24:setVertTextAlign("center"); obj.edit24:setLeft(0); obj.edit24:setTop(0); obj.edit24:setWidth(173); obj.edit24:setHeight(19); obj.edit24:setField("untitled58"); obj.edit24:setName("edit24"); obj.layout39 = GUI.fromHandle(_obj_newObject("layout")); obj.layout39:setParent(obj.rectangle1); obj.layout39:setLeft(85); obj.layout39:setTop(627); obj.layout39:setWidth(173); obj.layout39:setHeight(17); obj.layout39:setName("layout39"); obj.edit25 = GUI.fromHandle(_obj_newObject("edit")); obj.edit25:setParent(obj.layout39); obj.edit25:setTransparent(true); obj.edit25:setFontSize(10.5); obj.edit25:setFontColor("#000000"); obj.edit25:setVertTextAlign("center"); obj.edit25:setLeft(0); obj.edit25:setTop(0); obj.edit25:setWidth(173); obj.edit25:setHeight(18); obj.edit25:setField("untitled59"); obj.edit25:setName("edit25"); obj.layout40 = GUI.fromHandle(_obj_newObject("layout")); obj.layout40:setParent(obj.rectangle1); obj.layout40:setLeft(260); obj.layout40:setTop(627); obj.layout40:setWidth(107); obj.layout40:setHeight(17); obj.layout40:setName("layout40"); obj.edit26 = GUI.fromHandle(_obj_newObject("edit")); obj.edit26:setParent(obj.layout40); obj.edit26:setTransparent(true); obj.edit26:setFontSize(10.5); obj.edit26:setFontColor("#000000"); obj.edit26:setHorzTextAlign("center"); obj.edit26:setVertTextAlign("center"); obj.edit26:setLeft(0); obj.edit26:setTop(0); obj.edit26:setWidth(107); obj.edit26:setHeight(18); obj.edit26:setField("untitled60"); obj.edit26:setName("edit26"); obj.layout41 = GUI.fromHandle(_obj_newObject("layout")); obj.layout41:setParent(obj.rectangle1); obj.layout41:setLeft(259); obj.layout41:setTop(646); obj.layout41:setWidth(107); obj.layout41:setHeight(18); obj.layout41:setName("layout41"); obj.edit27 = GUI.fromHandle(_obj_newObject("edit")); obj.edit27:setParent(obj.layout41); obj.edit27:setTransparent(true); obj.edit27:setFontSize(11.3); obj.edit27:setFontColor("#000000"); obj.edit27:setHorzTextAlign("center"); obj.edit27:setVertTextAlign("center"); obj.edit27:setLeft(0); obj.edit27:setTop(0); obj.edit27:setWidth(107); obj.edit27:setHeight(19); obj.edit27:setField("untitled61"); obj.edit27:setName("edit27"); obj.layout42 = GUI.fromHandle(_obj_newObject("layout")); obj.layout42:setParent(obj.rectangle1); obj.layout42:setLeft(259); obj.layout42:setTop(665); obj.layout42:setWidth(107); obj.layout42:setHeight(17); obj.layout42:setName("layout42"); obj.edit28 = GUI.fromHandle(_obj_newObject("edit")); obj.edit28:setParent(obj.layout42); obj.edit28:setTransparent(true); obj.edit28:setFontSize(10.5); obj.edit28:setFontColor("#000000"); obj.edit28:setHorzTextAlign("center"); obj.edit28:setVertTextAlign("center"); obj.edit28:setLeft(0); obj.edit28:setTop(0); obj.edit28:setWidth(107); obj.edit28:setHeight(18); obj.edit28:setField("untitled62"); obj.edit28:setName("edit28"); obj.layout43 = GUI.fromHandle(_obj_newObject("layout")); obj.layout43:setParent(obj.rectangle1); obj.layout43:setLeft(259); obj.layout43:setTop(684); obj.layout43:setWidth(107); obj.layout43:setHeight(18); obj.layout43:setName("layout43"); obj.edit29 = GUI.fromHandle(_obj_newObject("edit")); obj.edit29:setParent(obj.layout43); obj.edit29:setTransparent(true); obj.edit29:setFontSize(11.3); obj.edit29:setFontColor("#000000"); obj.edit29:setHorzTextAlign("center"); obj.edit29:setVertTextAlign("center"); obj.edit29:setLeft(0); obj.edit29:setTop(0); obj.edit29:setWidth(107); obj.edit29:setHeight(19); obj.edit29:setField("untitled63"); obj.edit29:setName("edit29"); obj.layout44 = GUI.fromHandle(_obj_newObject("layout")); obj.layout44:setParent(obj.rectangle1); obj.layout44:setLeft(368); obj.layout44:setTop(627); obj.layout44:setWidth(60); obj.layout44:setHeight(17); obj.layout44:setName("layout44"); obj.edit30 = GUI.fromHandle(_obj_newObject("edit")); obj.edit30:setParent(obj.layout44); obj.edit30:setTransparent(true); obj.edit30:setFontSize(10.5); obj.edit30:setFontColor("#000000"); obj.edit30:setHorzTextAlign("center"); obj.edit30:setVertTextAlign("center"); obj.edit30:setLeft(0); obj.edit30:setTop(0); obj.edit30:setWidth(60); obj.edit30:setHeight(18); obj.edit30:setField("untitled65"); obj.edit30:setName("edit30"); obj.layout45 = GUI.fromHandle(_obj_newObject("layout")); obj.layout45:setParent(obj.rectangle1); obj.layout45:setLeft(368); obj.layout45:setTop(646); obj.layout45:setWidth(60); obj.layout45:setHeight(18); obj.layout45:setName("layout45"); obj.edit31 = GUI.fromHandle(_obj_newObject("edit")); obj.edit31:setParent(obj.layout45); obj.edit31:setTransparent(true); obj.edit31:setFontSize(11.3); obj.edit31:setFontColor("#000000"); obj.edit31:setHorzTextAlign("center"); obj.edit31:setVertTextAlign("center"); obj.edit31:setLeft(0); obj.edit31:setTop(0); obj.edit31:setWidth(60); obj.edit31:setHeight(19); obj.edit31:setField("untitled67"); obj.edit31:setName("edit31"); obj.layout46 = GUI.fromHandle(_obj_newObject("layout")); obj.layout46:setParent(obj.rectangle1); obj.layout46:setLeft(368); obj.layout46:setTop(665); obj.layout46:setWidth(60); obj.layout46:setHeight(18); obj.layout46:setName("layout46"); obj.edit32 = GUI.fromHandle(_obj_newObject("edit")); obj.edit32:setParent(obj.layout46); obj.edit32:setTransparent(true); obj.edit32:setFontSize(11.3); obj.edit32:setFontColor("#000000"); obj.edit32:setHorzTextAlign("center"); obj.edit32:setVertTextAlign("center"); obj.edit32:setLeft(0); obj.edit32:setTop(0); obj.edit32:setWidth(60); obj.edit32:setHeight(19); obj.edit32:setField("untitled68"); obj.edit32:setName("edit32"); obj.layout47 = GUI.fromHandle(_obj_newObject("layout")); obj.layout47:setParent(obj.rectangle1); obj.layout47:setLeft(368); obj.layout47:setTop(684); obj.layout47:setWidth(60); obj.layout47:setHeight(18); obj.layout47:setName("layout47"); obj.edit33 = GUI.fromHandle(_obj_newObject("edit")); obj.edit33:setParent(obj.layout47); obj.edit33:setTransparent(true); obj.edit33:setFontSize(11.3); obj.edit33:setFontColor("#000000"); obj.edit33:setHorzTextAlign("center"); obj.edit33:setVertTextAlign("center"); obj.edit33:setLeft(0); obj.edit33:setTop(0); obj.edit33:setWidth(60); obj.edit33:setHeight(19); obj.edit33:setField("untitled69"); obj.edit33:setName("edit33"); obj.layout48 = GUI.fromHandle(_obj_newObject("layout")); obj.layout48:setParent(obj.rectangle1); obj.layout48:setLeft(454); obj.layout48:setTop(600); obj.layout48:setWidth(175); obj.layout48:setHeight(18); obj.layout48:setName("layout48"); obj.edit34 = GUI.fromHandle(_obj_newObject("edit")); obj.edit34:setParent(obj.layout48); obj.edit34:setTransparent(true); obj.edit34:setFontSize(11.3); obj.edit34:setFontColor("#000000"); obj.edit34:setVertTextAlign("center"); obj.edit34:setLeft(0); obj.edit34:setTop(0); obj.edit34:setWidth(175); obj.edit34:setHeight(19); obj.edit34:setField("untitled70"); obj.edit34:setName("edit34"); obj.layout49 = GUI.fromHandle(_obj_newObject("layout")); obj.layout49:setParent(obj.rectangle1); obj.layout49:setLeft(454); obj.layout49:setTop(620); obj.layout49:setWidth(174); obj.layout49:setHeight(18); obj.layout49:setName("layout49"); obj.edit35 = GUI.fromHandle(_obj_newObject("edit")); obj.edit35:setParent(obj.layout49); obj.edit35:setTransparent(true); obj.edit35:setFontSize(11.3); obj.edit35:setFontColor("#000000"); obj.edit35:setVertTextAlign("center"); obj.edit35:setLeft(0); obj.edit35:setTop(0); obj.edit35:setWidth(174); obj.edit35:setHeight(19); obj.edit35:setField("untitled71"); obj.edit35:setName("edit35"); obj.layout50 = GUI.fromHandle(_obj_newObject("layout")); obj.layout50:setParent(obj.rectangle1); obj.layout50:setLeft(454); obj.layout50:setTop(639); obj.layout50:setWidth(174); obj.layout50:setHeight(18); obj.layout50:setName("layout50"); obj.edit36 = GUI.fromHandle(_obj_newObject("edit")); obj.edit36:setParent(obj.layout50); obj.edit36:setTransparent(true); obj.edit36:setFontSize(11.3); obj.edit36:setFontColor("#000000"); obj.edit36:setVertTextAlign("center"); obj.edit36:setLeft(0); obj.edit36:setTop(0); obj.edit36:setWidth(174); obj.edit36:setHeight(19); obj.edit36:setField("untitled72"); obj.edit36:setName("edit36"); obj.layout51 = GUI.fromHandle(_obj_newObject("layout")); obj.layout51:setParent(obj.rectangle1); obj.layout51:setLeft(454); obj.layout51:setTop(660); obj.layout51:setWidth(174); obj.layout51:setHeight(19); obj.layout51:setName("layout51"); obj.edit37 = GUI.fromHandle(_obj_newObject("edit")); obj.edit37:setParent(obj.layout51); obj.edit37:setTransparent(true); obj.edit37:setFontSize(12); obj.edit37:setFontColor("#000000"); obj.edit37:setVertTextAlign("center"); obj.edit37:setLeft(0); obj.edit37:setTop(0); obj.edit37:setWidth(174); obj.edit37:setHeight(20); obj.edit37:setField("untitled73"); obj.edit37:setName("edit37"); obj.layout52 = GUI.fromHandle(_obj_newObject("layout")); obj.layout52:setParent(obj.rectangle1); obj.layout52:setLeft(454); obj.layout52:setTop(679); obj.layout52:setWidth(175); obj.layout52:setHeight(18); obj.layout52:setName("layout52"); obj.edit38 = GUI.fromHandle(_obj_newObject("edit")); obj.edit38:setParent(obj.layout52); obj.edit38:setTransparent(true); obj.edit38:setFontSize(11.3); obj.edit38:setFontColor("#000000"); obj.edit38:setVertTextAlign("center"); obj.edit38:setLeft(0); obj.edit38:setTop(0); obj.edit38:setWidth(175); obj.edit38:setHeight(19); obj.edit38:setField("untitled74"); obj.edit38:setName("edit38"); obj.layout53 = GUI.fromHandle(_obj_newObject("layout")); obj.layout53:setParent(obj.rectangle1); obj.layout53:setLeft(454); obj.layout53:setTop(581); obj.layout53:setWidth(175); obj.layout53:setHeight(18); obj.layout53:setName("layout53"); obj.edit39 = GUI.fromHandle(_obj_newObject("edit")); obj.edit39:setParent(obj.layout53); obj.edit39:setTransparent(true); obj.edit39:setFontSize(11.3); obj.edit39:setFontColor("#000000"); obj.edit39:setVertTextAlign("center"); obj.edit39:setLeft(0); obj.edit39:setTop(0); obj.edit39:setWidth(175); obj.edit39:setHeight(19); obj.edit39:setField("untitled75"); obj.edit39:setName("edit39"); obj.layout54 = GUI.fromHandle(_obj_newObject("layout")); obj.layout54:setParent(obj.rectangle1); obj.layout54:setLeft(630); obj.layout54:setTop(600); obj.layout54:setWidth(72); obj.layout54:setHeight(18); obj.layout54:setName("layout54"); obj.edit40 = GUI.fromHandle(_obj_newObject("edit")); obj.edit40:setParent(obj.layout54); obj.edit40:setTransparent(true); obj.edit40:setFontSize(11.3); obj.edit40:setFontColor("#000000"); obj.edit40:setHorzTextAlign("center"); obj.edit40:setVertTextAlign("center"); obj.edit40:setLeft(0); obj.edit40:setTop(0); obj.edit40:setWidth(72); obj.edit40:setHeight(19); obj.edit40:setField("untitled76"); obj.edit40:setName("edit40"); obj.layout55 = GUI.fromHandle(_obj_newObject("layout")); obj.layout55:setParent(obj.rectangle1); obj.layout55:setLeft(630); obj.layout55:setTop(620); obj.layout55:setWidth(72); obj.layout55:setHeight(18); obj.layout55:setName("layout55"); obj.edit41 = GUI.fromHandle(_obj_newObject("edit")); obj.edit41:setParent(obj.layout55); obj.edit41:setTransparent(true); obj.edit41:setFontSize(11.3); obj.edit41:setFontColor("#000000"); obj.edit41:setHorzTextAlign("center"); obj.edit41:setVertTextAlign("center"); obj.edit41:setLeft(0); obj.edit41:setTop(0); obj.edit41:setWidth(72); obj.edit41:setHeight(19); obj.edit41:setField("untitled77"); obj.edit41:setName("edit41"); obj.layout56 = GUI.fromHandle(_obj_newObject("layout")); obj.layout56:setParent(obj.rectangle1); obj.layout56:setLeft(630); obj.layout56:setTop(639); obj.layout56:setWidth(72); obj.layout56:setHeight(18); obj.layout56:setName("layout56"); obj.edit42 = GUI.fromHandle(_obj_newObject("edit")); obj.edit42:setParent(obj.layout56); obj.edit42:setTransparent(true); obj.edit42:setFontSize(11.3); obj.edit42:setFontColor("#000000"); obj.edit42:setHorzTextAlign("center"); obj.edit42:setVertTextAlign("center"); obj.edit42:setLeft(0); obj.edit42:setTop(0); obj.edit42:setWidth(72); obj.edit42:setHeight(19); obj.edit42:setField("untitled78"); obj.edit42:setName("edit42"); obj.layout57 = GUI.fromHandle(_obj_newObject("layout")); obj.layout57:setParent(obj.rectangle1); obj.layout57:setLeft(630); obj.layout57:setTop(659); obj.layout57:setWidth(72); obj.layout57:setHeight(18); obj.layout57:setName("layout57"); obj.edit43 = GUI.fromHandle(_obj_newObject("edit")); obj.edit43:setParent(obj.layout57); obj.edit43:setTransparent(true); obj.edit43:setFontSize(11.3); obj.edit43:setFontColor("#000000"); obj.edit43:setHorzTextAlign("center"); obj.edit43:setVertTextAlign("center"); obj.edit43:setLeft(0); obj.edit43:setTop(0); obj.edit43:setWidth(72); obj.edit43:setHeight(19); obj.edit43:setField("untitled79"); obj.edit43:setName("edit43"); obj.layout58 = GUI.fromHandle(_obj_newObject("layout")); obj.layout58:setParent(obj.rectangle1); obj.layout58:setLeft(630); obj.layout58:setTop(679); obj.layout58:setWidth(72); obj.layout58:setHeight(18); obj.layout58:setName("layout58"); obj.edit44 = GUI.fromHandle(_obj_newObject("edit")); obj.edit44:setParent(obj.layout58); obj.edit44:setTransparent(true); obj.edit44:setFontSize(11.3); obj.edit44:setFontColor("#000000"); obj.edit44:setHorzTextAlign("center"); obj.edit44:setVertTextAlign("center"); obj.edit44:setLeft(0); obj.edit44:setTop(0); obj.edit44:setWidth(72); obj.edit44:setHeight(19); obj.edit44:setField("untitled80"); obj.edit44:setName("edit44"); obj.layout59 = GUI.fromHandle(_obj_newObject("layout")); obj.layout59:setParent(obj.rectangle1); obj.layout59:setLeft(630); obj.layout59:setTop(581); obj.layout59:setWidth(72); obj.layout59:setHeight(18); obj.layout59:setName("layout59"); obj.edit45 = GUI.fromHandle(_obj_newObject("edit")); obj.edit45:setParent(obj.layout59); obj.edit45:setTransparent(true); obj.edit45:setFontSize(11.3); obj.edit45:setFontColor("#000000"); obj.edit45:setHorzTextAlign("center"); obj.edit45:setVertTextAlign("center"); obj.edit45:setLeft(0); obj.edit45:setTop(0); obj.edit45:setWidth(72); obj.edit45:setHeight(19); obj.edit45:setField("untitled81"); obj.edit45:setName("edit45"); obj.layout60 = GUI.fromHandle(_obj_newObject("layout")); obj.layout60:setParent(obj.rectangle1); obj.layout60:setLeft(705); obj.layout60:setTop(600); obj.layout60:setWidth(109); obj.layout60:setHeight(18); obj.layout60:setName("layout60"); obj.edit46 = GUI.fromHandle(_obj_newObject("edit")); obj.edit46:setParent(obj.layout60); obj.edit46:setTransparent(true); obj.edit46:setFontSize(11.3); obj.edit46:setFontColor("#000000"); obj.edit46:setHorzTextAlign("center"); obj.edit46:setVertTextAlign("center"); obj.edit46:setLeft(0); obj.edit46:setTop(0); obj.edit46:setWidth(109); obj.edit46:setHeight(19); obj.edit46:setField("untitled82"); obj.edit46:setName("edit46"); obj.layout61 = GUI.fromHandle(_obj_newObject("layout")); obj.layout61:setParent(obj.rectangle1); obj.layout61:setLeft(704); obj.layout61:setTop(620); obj.layout61:setWidth(110); obj.layout61:setHeight(18); obj.layout61:setName("layout61"); obj.edit47 = GUI.fromHandle(_obj_newObject("edit")); obj.edit47:setParent(obj.layout61); obj.edit47:setTransparent(true); obj.edit47:setFontSize(11.3); obj.edit47:setFontColor("#000000"); obj.edit47:setHorzTextAlign("center"); obj.edit47:setVertTextAlign("center"); obj.edit47:setLeft(0); obj.edit47:setTop(0); obj.edit47:setWidth(110); obj.edit47:setHeight(19); obj.edit47:setField("untitled83"); obj.edit47:setName("edit47"); obj.layout62 = GUI.fromHandle(_obj_newObject("layout")); obj.layout62:setParent(obj.rectangle1); obj.layout62:setLeft(704); obj.layout62:setTop(639); obj.layout62:setWidth(110); obj.layout62:setHeight(18); obj.layout62:setName("layout62"); obj.edit48 = GUI.fromHandle(_obj_newObject("edit")); obj.edit48:setParent(obj.layout62); obj.edit48:setTransparent(true); obj.edit48:setFontSize(11.3); obj.edit48:setFontColor("#000000"); obj.edit48:setHorzTextAlign("center"); obj.edit48:setVertTextAlign("center"); obj.edit48:setLeft(0); obj.edit48:setTop(0); obj.edit48:setWidth(110); obj.edit48:setHeight(19); obj.edit48:setField("untitled84"); obj.edit48:setName("edit48"); obj.layout63 = GUI.fromHandle(_obj_newObject("layout")); obj.layout63:setParent(obj.rectangle1); obj.layout63:setLeft(705); obj.layout63:setTop(659); obj.layout63:setWidth(109); obj.layout63:setHeight(18); obj.layout63:setName("layout63"); obj.edit49 = GUI.fromHandle(_obj_newObject("edit")); obj.edit49:setParent(obj.layout63); obj.edit49:setTransparent(true); obj.edit49:setFontSize(11.3); obj.edit49:setFontColor("#000000"); obj.edit49:setHorzTextAlign("center"); obj.edit49:setVertTextAlign("center"); obj.edit49:setLeft(0); obj.edit49:setTop(0); obj.edit49:setWidth(109); obj.edit49:setHeight(19); obj.edit49:setField("untitled85"); obj.edit49:setName("edit49"); obj.layout64 = GUI.fromHandle(_obj_newObject("layout")); obj.layout64:setParent(obj.rectangle1); obj.layout64:setLeft(705); obj.layout64:setTop(679); obj.layout64:setWidth(109); obj.layout64:setHeight(18); obj.layout64:setName("layout64"); obj.edit50 = GUI.fromHandle(_obj_newObject("edit")); obj.edit50:setParent(obj.layout64); obj.edit50:setTransparent(true); obj.edit50:setFontSize(11.3); obj.edit50:setFontColor("#000000"); obj.edit50:setHorzTextAlign("center"); obj.edit50:setVertTextAlign("center"); obj.edit50:setLeft(0); obj.edit50:setTop(0); obj.edit50:setWidth(109); obj.edit50:setHeight(19); obj.edit50:setField("untitled86"); obj.edit50:setName("edit50"); obj.layout65 = GUI.fromHandle(_obj_newObject("layout")); obj.layout65:setParent(obj.rectangle1); obj.layout65:setLeft(704); obj.layout65:setTop(581); obj.layout65:setWidth(110); obj.layout65:setHeight(18); obj.layout65:setName("layout65"); obj.edit51 = GUI.fromHandle(_obj_newObject("edit")); obj.edit51:setParent(obj.layout65); obj.edit51:setTransparent(true); obj.edit51:setFontSize(11.3); obj.edit51:setFontColor("#000000"); obj.edit51:setHorzTextAlign("center"); obj.edit51:setVertTextAlign("center"); obj.edit51:setLeft(0); obj.edit51:setTop(0); obj.edit51:setWidth(110); obj.edit51:setHeight(19); obj.edit51:setField("untitled87"); obj.edit51:setName("edit51"); obj.layout66 = GUI.fromHandle(_obj_newObject("layout")); obj.layout66:setParent(obj.rectangle1); obj.layout66:setLeft(73); obj.layout66:setTop(789); obj.layout66:setWidth(211); obj.layout66:setHeight(27); obj.layout66:setName("layout66"); obj.edit52 = GUI.fromHandle(_obj_newObject("edit")); obj.edit52:setParent(obj.layout66); obj.edit52:setTransparent(true); obj.edit52:setFontSize(12); obj.edit52:setFontColor("#000000"); obj.edit52:setVertTextAlign("center"); obj.edit52:setLeft(0); obj.edit52:setTop(0); obj.edit52:setWidth(211); obj.edit52:setHeight(28); obj.edit52:setField("untitled88"); obj.edit52:setName("edit52"); obj.layout67 = GUI.fromHandle(_obj_newObject("layout")); obj.layout67:setParent(obj.rectangle1); obj.layout67:setLeft(73); obj.layout67:setTop(818); obj.layout67:setWidth(211); obj.layout67:setHeight(27); obj.layout67:setName("layout67"); obj.edit53 = GUI.fromHandle(_obj_newObject("edit")); obj.edit53:setParent(obj.layout67); obj.edit53:setTransparent(true); obj.edit53:setFontSize(12); obj.edit53:setFontColor("#000000"); obj.edit53:setVertTextAlign("center"); obj.edit53:setLeft(0); obj.edit53:setTop(0); obj.edit53:setWidth(211); obj.edit53:setHeight(28); obj.edit53:setField("untitled89"); obj.edit53:setName("edit53"); obj.layout68 = GUI.fromHandle(_obj_newObject("layout")); obj.layout68:setParent(obj.rectangle1); obj.layout68:setLeft(73); obj.layout68:setTop(846); obj.layout68:setWidth(211); obj.layout68:setHeight(27); obj.layout68:setName("layout68"); obj.edit54 = GUI.fromHandle(_obj_newObject("edit")); obj.edit54:setParent(obj.layout68); obj.edit54:setTransparent(true); obj.edit54:setFontSize(12); obj.edit54:setFontColor("#000000"); obj.edit54:setVertTextAlign("center"); obj.edit54:setLeft(0); obj.edit54:setTop(0); obj.edit54:setWidth(211); obj.edit54:setHeight(28); obj.edit54:setField("untitled90"); obj.edit54:setName("edit54"); obj.layout69 = GUI.fromHandle(_obj_newObject("layout")); obj.layout69:setParent(obj.rectangle1); obj.layout69:setLeft(73); obj.layout69:setTop(874); obj.layout69:setWidth(211); obj.layout69:setHeight(27); obj.layout69:setName("layout69"); obj.edit55 = GUI.fromHandle(_obj_newObject("edit")); obj.edit55:setParent(obj.layout69); obj.edit55:setTransparent(true); obj.edit55:setFontSize(12); obj.edit55:setFontColor("#000000"); obj.edit55:setVertTextAlign("center"); obj.edit55:setLeft(0); obj.edit55:setTop(0); obj.edit55:setWidth(211); obj.edit55:setHeight(28); obj.edit55:setField("untitled91"); obj.edit55:setName("edit55"); obj.layout70 = GUI.fromHandle(_obj_newObject("layout")); obj.layout70:setParent(obj.rectangle1); obj.layout70:setLeft(73); obj.layout70:setTop(902); obj.layout70:setWidth(211); obj.layout70:setHeight(27); obj.layout70:setName("layout70"); obj.edit56 = GUI.fromHandle(_obj_newObject("edit")); obj.edit56:setParent(obj.layout70); obj.edit56:setTransparent(true); obj.edit56:setFontSize(12); obj.edit56:setFontColor("#000000"); obj.edit56:setVertTextAlign("center"); obj.edit56:setLeft(0); obj.edit56:setTop(0); obj.edit56:setWidth(211); obj.edit56:setHeight(28); obj.edit56:setField("untitled92"); obj.edit56:setName("edit56"); obj.layout71 = GUI.fromHandle(_obj_newObject("layout")); obj.layout71:setParent(obj.rectangle1); obj.layout71:setLeft(73); obj.layout71:setTop(930); obj.layout71:setWidth(211); obj.layout71:setHeight(27); obj.layout71:setName("layout71"); obj.edit57 = GUI.fromHandle(_obj_newObject("edit")); obj.edit57:setParent(obj.layout71); obj.edit57:setTransparent(true); obj.edit57:setFontSize(12); obj.edit57:setFontColor("#000000"); obj.edit57:setVertTextAlign("center"); obj.edit57:setLeft(0); obj.edit57:setTop(0); obj.edit57:setWidth(211); obj.edit57:setHeight(28); obj.edit57:setField("untitled93"); obj.edit57:setName("edit57"); obj.layout72 = GUI.fromHandle(_obj_newObject("layout")); obj.layout72:setParent(obj.rectangle1); obj.layout72:setLeft(73); obj.layout72:setTop(957); obj.layout72:setWidth(211); obj.layout72:setHeight(28); obj.layout72:setName("layout72"); obj.edit58 = GUI.fromHandle(_obj_newObject("edit")); obj.edit58:setParent(obj.layout72); obj.edit58:setTransparent(true); obj.edit58:setFontSize(12); obj.edit58:setFontColor("#000000"); obj.edit58:setVertTextAlign("center"); obj.edit58:setLeft(0); obj.edit58:setTop(0); obj.edit58:setWidth(211); obj.edit58:setHeight(29); obj.edit58:setField("untitled94"); obj.edit58:setName("edit58"); obj.layout73 = GUI.fromHandle(_obj_newObject("layout")); obj.layout73:setParent(obj.rectangle1); obj.layout73:setLeft(73); obj.layout73:setTop(985); obj.layout73:setWidth(211); obj.layout73:setHeight(27); obj.layout73:setName("layout73"); obj.edit59 = GUI.fromHandle(_obj_newObject("edit")); obj.edit59:setParent(obj.layout73); obj.edit59:setTransparent(true); obj.edit59:setFontSize(12); obj.edit59:setFontColor("#000000"); obj.edit59:setVertTextAlign("center"); obj.edit59:setLeft(0); obj.edit59:setTop(0); obj.edit59:setWidth(211); obj.edit59:setHeight(28); obj.edit59:setField("untitled95"); obj.edit59:setName("edit59"); obj.layout74 = GUI.fromHandle(_obj_newObject("layout")); obj.layout74:setParent(obj.rectangle1); obj.layout74:setLeft(73); obj.layout74:setTop(1013); obj.layout74:setWidth(211); obj.layout74:setHeight(27); obj.layout74:setName("layout74"); obj.edit60 = GUI.fromHandle(_obj_newObject("edit")); obj.edit60:setParent(obj.layout74); obj.edit60:setTransparent(true); obj.edit60:setFontSize(12); obj.edit60:setFontColor("#000000"); obj.edit60:setVertTextAlign("center"); obj.edit60:setLeft(0); obj.edit60:setTop(0); obj.edit60:setWidth(211); obj.edit60:setHeight(28); obj.edit60:setField("untitled96"); obj.edit60:setName("edit60"); obj.layout75 = GUI.fromHandle(_obj_newObject("layout")); obj.layout75:setParent(obj.rectangle1); obj.layout75:setLeft(73); obj.layout75:setTop(1041); obj.layout75:setWidth(211); obj.layout75:setHeight(27); obj.layout75:setName("layout75"); obj.edit61 = GUI.fromHandle(_obj_newObject("edit")); obj.edit61:setParent(obj.layout75); obj.edit61:setTransparent(true); obj.edit61:setFontSize(12); obj.edit61:setFontColor("#000000"); obj.edit61:setVertTextAlign("center"); obj.edit61:setLeft(0); obj.edit61:setTop(0); obj.edit61:setWidth(211); obj.edit61:setHeight(28); obj.edit61:setField("untitled97"); obj.edit61:setName("edit61"); obj.layout76 = GUI.fromHandle(_obj_newObject("layout")); obj.layout76:setParent(obj.rectangle1); obj.layout76:setLeft(73); obj.layout76:setTop(1069); obj.layout76:setWidth(211); obj.layout76:setHeight(27); obj.layout76:setName("layout76"); obj.edit62 = GUI.fromHandle(_obj_newObject("edit")); obj.edit62:setParent(obj.layout76); obj.edit62:setTransparent(true); obj.edit62:setFontSize(12); obj.edit62:setFontColor("#000000"); obj.edit62:setVertTextAlign("center"); obj.edit62:setLeft(0); obj.edit62:setTop(0); obj.edit62:setWidth(211); obj.edit62:setHeight(28); obj.edit62:setField("untitled98"); obj.edit62:setName("edit62"); obj.layout77 = GUI.fromHandle(_obj_newObject("layout")); obj.layout77:setParent(obj.rectangle1); obj.layout77:setLeft(73); obj.layout77:setTop(1097); obj.layout77:setWidth(211); obj.layout77:setHeight(27); obj.layout77:setName("layout77"); obj.edit63 = GUI.fromHandle(_obj_newObject("edit")); obj.edit63:setParent(obj.layout77); obj.edit63:setTransparent(true); obj.edit63:setFontSize(12); obj.edit63:setFontColor("#000000"); obj.edit63:setVertTextAlign("center"); obj.edit63:setLeft(0); obj.edit63:setTop(0); obj.edit63:setWidth(211); obj.edit63:setHeight(28); obj.edit63:setField("untitled99"); obj.edit63:setName("edit63"); obj.layout78 = GUI.fromHandle(_obj_newObject("layout")); obj.layout78:setParent(obj.rectangle1); obj.layout78:setLeft(73); obj.layout78:setTop(1125); obj.layout78:setWidth(211); obj.layout78:setHeight(27); obj.layout78:setName("layout78"); obj.edit64 = GUI.fromHandle(_obj_newObject("edit")); obj.edit64:setParent(obj.layout78); obj.edit64:setTransparent(true); obj.edit64:setFontSize(12); obj.edit64:setFontColor("#000000"); obj.edit64:setVertTextAlign("center"); obj.edit64:setLeft(0); obj.edit64:setTop(0); obj.edit64:setWidth(211); obj.edit64:setHeight(28); obj.edit64:setField("untitled100"); obj.edit64:setName("edit64"); obj.layout79 = GUI.fromHandle(_obj_newObject("layout")); obj.layout79:setParent(obj.rectangle1); obj.layout79:setLeft(73); obj.layout79:setTop(762); obj.layout79:setWidth(211); obj.layout79:setHeight(27); obj.layout79:setName("layout79"); obj.edit65 = GUI.fromHandle(_obj_newObject("edit")); obj.edit65:setParent(obj.layout79); obj.edit65:setTransparent(true); obj.edit65:setFontSize(12); obj.edit65:setFontColor("#000000"); obj.edit65:setVertTextAlign("center"); obj.edit65:setLeft(0); obj.edit65:setTop(0); obj.edit65:setWidth(211); obj.edit65:setHeight(28); obj.edit65:setField("untitled101"); obj.edit65:setName("edit65"); obj.layout80 = GUI.fromHandle(_obj_newObject("layout")); obj.layout80:setParent(obj.rectangle1); obj.layout80:setLeft(286); obj.layout80:setTop(789); obj.layout80:setWidth(44); obj.layout80:setHeight(27); obj.layout80:setName("layout80"); obj.edit66 = GUI.fromHandle(_obj_newObject("edit")); obj.edit66:setParent(obj.layout80); obj.edit66:setTransparent(true); obj.edit66:setFontSize(12); obj.edit66:setFontColor("#000000"); obj.edit66:setHorzTextAlign("center"); obj.edit66:setVertTextAlign("center"); obj.edit66:setLeft(0); obj.edit66:setTop(0); obj.edit66:setWidth(44); obj.edit66:setHeight(28); obj.edit66:setField("untitled102"); obj.edit66:setName("edit66"); obj.layout81 = GUI.fromHandle(_obj_newObject("layout")); obj.layout81:setParent(obj.rectangle1); obj.layout81:setLeft(286); obj.layout81:setTop(762); obj.layout81:setWidth(44); obj.layout81:setHeight(27); obj.layout81:setName("layout81"); obj.edit67 = GUI.fromHandle(_obj_newObject("edit")); obj.edit67:setParent(obj.layout81); obj.edit67:setTransparent(true); obj.edit67:setFontSize(12); obj.edit67:setFontColor("#000000"); obj.edit67:setHorzTextAlign("center"); obj.edit67:setVertTextAlign("center"); obj.edit67:setLeft(0); obj.edit67:setTop(0); obj.edit67:setWidth(44); obj.edit67:setHeight(28); obj.edit67:setField("untitled103"); obj.edit67:setName("edit67"); obj.layout82 = GUI.fromHandle(_obj_newObject("layout")); obj.layout82:setParent(obj.rectangle1); obj.layout82:setLeft(286); obj.layout82:setTop(818); obj.layout82:setWidth(44); obj.layout82:setHeight(27); obj.layout82:setName("layout82"); obj.edit68 = GUI.fromHandle(_obj_newObject("edit")); obj.edit68:setParent(obj.layout82); obj.edit68:setTransparent(true); obj.edit68:setFontSize(12); obj.edit68:setFontColor("#000000"); obj.edit68:setHorzTextAlign("center"); obj.edit68:setVertTextAlign("center"); obj.edit68:setLeft(0); obj.edit68:setTop(0); obj.edit68:setWidth(44); obj.edit68:setHeight(28); obj.edit68:setField("untitled104"); obj.edit68:setName("edit68"); obj.layout83 = GUI.fromHandle(_obj_newObject("layout")); obj.layout83:setParent(obj.rectangle1); obj.layout83:setLeft(286); obj.layout83:setTop(846); obj.layout83:setWidth(44); obj.layout83:setHeight(27); obj.layout83:setName("layout83"); obj.edit69 = GUI.fromHandle(_obj_newObject("edit")); obj.edit69:setParent(obj.layout83); obj.edit69:setTransparent(true); obj.edit69:setFontSize(12); obj.edit69:setFontColor("#000000"); obj.edit69:setHorzTextAlign("center"); obj.edit69:setVertTextAlign("center"); obj.edit69:setLeft(0); obj.edit69:setTop(0); obj.edit69:setWidth(44); obj.edit69:setHeight(28); obj.edit69:setField("untitled105"); obj.edit69:setName("edit69"); obj.layout84 = GUI.fromHandle(_obj_newObject("layout")); obj.layout84:setParent(obj.rectangle1); obj.layout84:setLeft(286); obj.layout84:setTop(874); obj.layout84:setWidth(44); obj.layout84:setHeight(27); obj.layout84:setName("layout84"); obj.edit70 = GUI.fromHandle(_obj_newObject("edit")); obj.edit70:setParent(obj.layout84); obj.edit70:setTransparent(true); obj.edit70:setFontSize(12); obj.edit70:setFontColor("#000000"); obj.edit70:setHorzTextAlign("center"); obj.edit70:setVertTextAlign("center"); obj.edit70:setLeft(0); obj.edit70:setTop(0); obj.edit70:setWidth(44); obj.edit70:setHeight(28); obj.edit70:setField("untitled106"); obj.edit70:setName("edit70"); obj.layout85 = GUI.fromHandle(_obj_newObject("layout")); obj.layout85:setParent(obj.rectangle1); obj.layout85:setLeft(286); obj.layout85:setTop(902); obj.layout85:setWidth(44); obj.layout85:setHeight(27); obj.layout85:setName("layout85"); obj.edit71 = GUI.fromHandle(_obj_newObject("edit")); obj.edit71:setParent(obj.layout85); obj.edit71:setTransparent(true); obj.edit71:setFontSize(12); obj.edit71:setFontColor("#000000"); obj.edit71:setHorzTextAlign("center"); obj.edit71:setVertTextAlign("center"); obj.edit71:setLeft(0); obj.edit71:setTop(0); obj.edit71:setWidth(44); obj.edit71:setHeight(28); obj.edit71:setField("untitled107"); obj.edit71:setName("edit71"); obj.layout86 = GUI.fromHandle(_obj_newObject("layout")); obj.layout86:setParent(obj.rectangle1); obj.layout86:setLeft(286); obj.layout86:setTop(930); obj.layout86:setWidth(44); obj.layout86:setHeight(27); obj.layout86:setName("layout86"); obj.edit72 = GUI.fromHandle(_obj_newObject("edit")); obj.edit72:setParent(obj.layout86); obj.edit72:setTransparent(true); obj.edit72:setFontSize(12); obj.edit72:setFontColor("#000000"); obj.edit72:setHorzTextAlign("center"); obj.edit72:setVertTextAlign("center"); obj.edit72:setLeft(0); obj.edit72:setTop(0); obj.edit72:setWidth(44); obj.edit72:setHeight(28); obj.edit72:setField("untitled108"); obj.edit72:setName("edit72"); obj.layout87 = GUI.fromHandle(_obj_newObject("layout")); obj.layout87:setParent(obj.rectangle1); obj.layout87:setLeft(286); obj.layout87:setTop(958); obj.layout87:setWidth(44); obj.layout87:setHeight(27); obj.layout87:setName("layout87"); obj.edit73 = GUI.fromHandle(_obj_newObject("edit")); obj.edit73:setParent(obj.layout87); obj.edit73:setTransparent(true); obj.edit73:setFontSize(12); obj.edit73:setFontColor("#000000"); obj.edit73:setHorzTextAlign("center"); obj.edit73:setVertTextAlign("center"); obj.edit73:setLeft(0); obj.edit73:setTop(0); obj.edit73:setWidth(44); obj.edit73:setHeight(28); obj.edit73:setField("untitled109"); obj.edit73:setName("edit73"); obj.layout88 = GUI.fromHandle(_obj_newObject("layout")); obj.layout88:setParent(obj.rectangle1); obj.layout88:setLeft(286); obj.layout88:setTop(985); obj.layout88:setWidth(44); obj.layout88:setHeight(27); obj.layout88:setName("layout88"); obj.edit74 = GUI.fromHandle(_obj_newObject("edit")); obj.edit74:setParent(obj.layout88); obj.edit74:setTransparent(true); obj.edit74:setFontSize(12); obj.edit74:setFontColor("#000000"); obj.edit74:setHorzTextAlign("center"); obj.edit74:setVertTextAlign("center"); obj.edit74:setLeft(0); obj.edit74:setTop(0); obj.edit74:setWidth(44); obj.edit74:setHeight(28); obj.edit74:setField("untitled110"); obj.edit74:setName("edit74"); obj.layout89 = GUI.fromHandle(_obj_newObject("layout")); obj.layout89:setParent(obj.rectangle1); obj.layout89:setLeft(286); obj.layout89:setTop(1013); obj.layout89:setWidth(44); obj.layout89:setHeight(27); obj.layout89:setName("layout89"); obj.edit75 = GUI.fromHandle(_obj_newObject("edit")); obj.edit75:setParent(obj.layout89); obj.edit75:setTransparent(true); obj.edit75:setFontSize(12); obj.edit75:setFontColor("#000000"); obj.edit75:setHorzTextAlign("center"); obj.edit75:setVertTextAlign("center"); obj.edit75:setLeft(0); obj.edit75:setTop(0); obj.edit75:setWidth(44); obj.edit75:setHeight(28); obj.edit75:setField("untitled111"); obj.edit75:setName("edit75"); obj.layout90 = GUI.fromHandle(_obj_newObject("layout")); obj.layout90:setParent(obj.rectangle1); obj.layout90:setLeft(286); obj.layout90:setTop(1041); obj.layout90:setWidth(44); obj.layout90:setHeight(27); obj.layout90:setName("layout90"); obj.edit76 = GUI.fromHandle(_obj_newObject("edit")); obj.edit76:setParent(obj.layout90); obj.edit76:setTransparent(true); obj.edit76:setFontSize(12); obj.edit76:setFontColor("#000000"); obj.edit76:setHorzTextAlign("center"); obj.edit76:setVertTextAlign("center"); obj.edit76:setLeft(0); obj.edit76:setTop(0); obj.edit76:setWidth(44); obj.edit76:setHeight(28); obj.edit76:setField("untitled112"); obj.edit76:setName("edit76"); obj.layout91 = GUI.fromHandle(_obj_newObject("layout")); obj.layout91:setParent(obj.rectangle1); obj.layout91:setLeft(286); obj.layout91:setTop(1069); obj.layout91:setWidth(44); obj.layout91:setHeight(27); obj.layout91:setName("layout91"); obj.edit77 = GUI.fromHandle(_obj_newObject("edit")); obj.edit77:setParent(obj.layout91); obj.edit77:setTransparent(true); obj.edit77:setFontSize(12); obj.edit77:setFontColor("#000000"); obj.edit77:setHorzTextAlign("center"); obj.edit77:setVertTextAlign("center"); obj.edit77:setLeft(0); obj.edit77:setTop(0); obj.edit77:setWidth(44); obj.edit77:setHeight(28); obj.edit77:setField("untitled113"); obj.edit77:setName("edit77"); obj.layout92 = GUI.fromHandle(_obj_newObject("layout")); obj.layout92:setParent(obj.rectangle1); obj.layout92:setLeft(286); obj.layout92:setTop(1097); obj.layout92:setWidth(44); obj.layout92:setHeight(27); obj.layout92:setName("layout92"); obj.edit78 = GUI.fromHandle(_obj_newObject("edit")); obj.edit78:setParent(obj.layout92); obj.edit78:setTransparent(true); obj.edit78:setFontSize(12); obj.edit78:setFontColor("#000000"); obj.edit78:setHorzTextAlign("center"); obj.edit78:setVertTextAlign("center"); obj.edit78:setLeft(0); obj.edit78:setTop(0); obj.edit78:setWidth(44); obj.edit78:setHeight(28); obj.edit78:setField("untitled114"); obj.edit78:setName("edit78"); obj.layout93 = GUI.fromHandle(_obj_newObject("layout")); obj.layout93:setParent(obj.rectangle1); obj.layout93:setLeft(286); obj.layout93:setTop(1125); obj.layout93:setWidth(44); obj.layout93:setHeight(27); obj.layout93:setName("layout93"); obj.edit79 = GUI.fromHandle(_obj_newObject("edit")); obj.edit79:setParent(obj.layout93); obj.edit79:setTransparent(true); obj.edit79:setFontSize(12); obj.edit79:setFontColor("#000000"); obj.edit79:setHorzTextAlign("center"); obj.edit79:setVertTextAlign("center"); obj.edit79:setLeft(0); obj.edit79:setTop(0); obj.edit79:setWidth(44); obj.edit79:setHeight(28); obj.edit79:setField("untitled115"); obj.edit79:setName("edit79"); obj.layout94 = GUI.fromHandle(_obj_newObject("layout")); obj.layout94:setParent(obj.rectangle1); obj.layout94:setLeft(331); obj.layout94:setTop(789); obj.layout94:setWidth(53); obj.layout94:setHeight(27); obj.layout94:setName("layout94"); obj.edit80 = GUI.fromHandle(_obj_newObject("edit")); obj.edit80:setParent(obj.layout94); obj.edit80:setTransparent(true); obj.edit80:setFontSize(12); obj.edit80:setFontColor("#000000"); obj.edit80:setHorzTextAlign("center"); obj.edit80:setVertTextAlign("center"); obj.edit80:setLeft(0); obj.edit80:setTop(0); obj.edit80:setWidth(53); obj.edit80:setHeight(28); obj.edit80:setField("untitled116"); obj.edit80:setName("edit80"); obj.layout95 = GUI.fromHandle(_obj_newObject("layout")); obj.layout95:setParent(obj.rectangle1); obj.layout95:setLeft(331); obj.layout95:setTop(762); obj.layout95:setWidth(53); obj.layout95:setHeight(27); obj.layout95:setName("layout95"); obj.edit81 = GUI.fromHandle(_obj_newObject("edit")); obj.edit81:setParent(obj.layout95); obj.edit81:setTransparent(true); obj.edit81:setFontSize(12); obj.edit81:setFontColor("#000000"); obj.edit81:setHorzTextAlign("center"); obj.edit81:setVertTextAlign("center"); obj.edit81:setLeft(0); obj.edit81:setTop(0); obj.edit81:setWidth(53); obj.edit81:setHeight(28); obj.edit81:setField("untitled117"); obj.edit81:setName("edit81"); obj.layout96 = GUI.fromHandle(_obj_newObject("layout")); obj.layout96:setParent(obj.rectangle1); obj.layout96:setLeft(331); obj.layout96:setTop(818); obj.layout96:setWidth(53); obj.layout96:setHeight(27); obj.layout96:setName("layout96"); obj.edit82 = GUI.fromHandle(_obj_newObject("edit")); obj.edit82:setParent(obj.layout96); obj.edit82:setTransparent(true); obj.edit82:setFontSize(12); obj.edit82:setFontColor("#000000"); obj.edit82:setHorzTextAlign("center"); obj.edit82:setVertTextAlign("center"); obj.edit82:setLeft(0); obj.edit82:setTop(0); obj.edit82:setWidth(53); obj.edit82:setHeight(28); obj.edit82:setField("untitled118"); obj.edit82:setName("edit82"); obj.layout97 = GUI.fromHandle(_obj_newObject("layout")); obj.layout97:setParent(obj.rectangle1); obj.layout97:setLeft(331); obj.layout97:setTop(846); obj.layout97:setWidth(53); obj.layout97:setHeight(27); obj.layout97:setName("layout97"); obj.edit83 = GUI.fromHandle(_obj_newObject("edit")); obj.edit83:setParent(obj.layout97); obj.edit83:setTransparent(true); obj.edit83:setFontSize(12); obj.edit83:setFontColor("#000000"); obj.edit83:setHorzTextAlign("center"); obj.edit83:setVertTextAlign("center"); obj.edit83:setLeft(0); obj.edit83:setTop(0); obj.edit83:setWidth(53); obj.edit83:setHeight(28); obj.edit83:setField("untitled119"); obj.edit83:setName("edit83"); obj.layout98 = GUI.fromHandle(_obj_newObject("layout")); obj.layout98:setParent(obj.rectangle1); obj.layout98:setLeft(331); obj.layout98:setTop(874); obj.layout98:setWidth(53); obj.layout98:setHeight(27); obj.layout98:setName("layout98"); obj.edit84 = GUI.fromHandle(_obj_newObject("edit")); obj.edit84:setParent(obj.layout98); obj.edit84:setTransparent(true); obj.edit84:setFontSize(12); obj.edit84:setFontColor("#000000"); obj.edit84:setHorzTextAlign("center"); obj.edit84:setVertTextAlign("center"); obj.edit84:setLeft(0); obj.edit84:setTop(0); obj.edit84:setWidth(53); obj.edit84:setHeight(28); obj.edit84:setField("untitled120"); obj.edit84:setName("edit84"); obj.layout99 = GUI.fromHandle(_obj_newObject("layout")); obj.layout99:setParent(obj.rectangle1); obj.layout99:setLeft(331); obj.layout99:setTop(902); obj.layout99:setWidth(53); obj.layout99:setHeight(27); obj.layout99:setName("layout99"); obj.edit85 = GUI.fromHandle(_obj_newObject("edit")); obj.edit85:setParent(obj.layout99); obj.edit85:setTransparent(true); obj.edit85:setFontSize(12); obj.edit85:setFontColor("#000000"); obj.edit85:setHorzTextAlign("center"); obj.edit85:setVertTextAlign("center"); obj.edit85:setLeft(0); obj.edit85:setTop(0); obj.edit85:setWidth(53); obj.edit85:setHeight(28); obj.edit85:setField("untitled121"); obj.edit85:setName("edit85"); obj.layout100 = GUI.fromHandle(_obj_newObject("layout")); obj.layout100:setParent(obj.rectangle1); obj.layout100:setLeft(331); obj.layout100:setTop(930); obj.layout100:setWidth(53); obj.layout100:setHeight(27); obj.layout100:setName("layout100"); obj.edit86 = GUI.fromHandle(_obj_newObject("edit")); obj.edit86:setParent(obj.layout100); obj.edit86:setTransparent(true); obj.edit86:setFontSize(12); obj.edit86:setFontColor("#000000"); obj.edit86:setHorzTextAlign("center"); obj.edit86:setVertTextAlign("center"); obj.edit86:setLeft(0); obj.edit86:setTop(0); obj.edit86:setWidth(53); obj.edit86:setHeight(28); obj.edit86:setField("untitled122"); obj.edit86:setName("edit86"); obj.layout101 = GUI.fromHandle(_obj_newObject("layout")); obj.layout101:setParent(obj.rectangle1); obj.layout101:setLeft(331); obj.layout101:setTop(958); obj.layout101:setWidth(53); obj.layout101:setHeight(27); obj.layout101:setName("layout101"); obj.edit87 = GUI.fromHandle(_obj_newObject("edit")); obj.edit87:setParent(obj.layout101); obj.edit87:setTransparent(true); obj.edit87:setFontSize(12); obj.edit87:setFontColor("#000000"); obj.edit87:setHorzTextAlign("center"); obj.edit87:setVertTextAlign("center"); obj.edit87:setLeft(0); obj.edit87:setTop(0); obj.edit87:setWidth(53); obj.edit87:setHeight(28); obj.edit87:setField("untitled123"); obj.edit87:setName("edit87"); obj.layout102 = GUI.fromHandle(_obj_newObject("layout")); obj.layout102:setParent(obj.rectangle1); obj.layout102:setLeft(331); obj.layout102:setTop(985); obj.layout102:setWidth(53); obj.layout102:setHeight(27); obj.layout102:setName("layout102"); obj.edit88 = GUI.fromHandle(_obj_newObject("edit")); obj.edit88:setParent(obj.layout102); obj.edit88:setTransparent(true); obj.edit88:setFontSize(12); obj.edit88:setFontColor("#000000"); obj.edit88:setHorzTextAlign("center"); obj.edit88:setVertTextAlign("center"); obj.edit88:setLeft(0); obj.edit88:setTop(0); obj.edit88:setWidth(53); obj.edit88:setHeight(28); obj.edit88:setField("untitled124"); obj.edit88:setName("edit88"); obj.layout103 = GUI.fromHandle(_obj_newObject("layout")); obj.layout103:setParent(obj.rectangle1); obj.layout103:setLeft(331); obj.layout103:setTop(1013); obj.layout103:setWidth(53); obj.layout103:setHeight(27); obj.layout103:setName("layout103"); obj.edit89 = GUI.fromHandle(_obj_newObject("edit")); obj.edit89:setParent(obj.layout103); obj.edit89:setTransparent(true); obj.edit89:setFontSize(12); obj.edit89:setFontColor("#000000"); obj.edit89:setHorzTextAlign("center"); obj.edit89:setVertTextAlign("center"); obj.edit89:setLeft(0); obj.edit89:setTop(0); obj.edit89:setWidth(53); obj.edit89:setHeight(28); obj.edit89:setField("untitled125"); obj.edit89:setName("edit89"); obj.layout104 = GUI.fromHandle(_obj_newObject("layout")); obj.layout104:setParent(obj.rectangle1); obj.layout104:setLeft(331); obj.layout104:setTop(1041); obj.layout104:setWidth(53); obj.layout104:setHeight(27); obj.layout104:setName("layout104"); obj.edit90 = GUI.fromHandle(_obj_newObject("edit")); obj.edit90:setParent(obj.layout104); obj.edit90:setTransparent(true); obj.edit90:setFontSize(12); obj.edit90:setFontColor("#000000"); obj.edit90:setHorzTextAlign("center"); obj.edit90:setVertTextAlign("center"); obj.edit90:setLeft(0); obj.edit90:setTop(0); obj.edit90:setWidth(53); obj.edit90:setHeight(28); obj.edit90:setField("untitled126"); obj.edit90:setName("edit90"); obj.layout105 = GUI.fromHandle(_obj_newObject("layout")); obj.layout105:setParent(obj.rectangle1); obj.layout105:setLeft(331); obj.layout105:setTop(1069); obj.layout105:setWidth(53); obj.layout105:setHeight(27); obj.layout105:setName("layout105"); obj.edit91 = GUI.fromHandle(_obj_newObject("edit")); obj.edit91:setParent(obj.layout105); obj.edit91:setTransparent(true); obj.edit91:setFontSize(12); obj.edit91:setFontColor("#000000"); obj.edit91:setHorzTextAlign("center"); obj.edit91:setVertTextAlign("center"); obj.edit91:setLeft(0); obj.edit91:setTop(0); obj.edit91:setWidth(53); obj.edit91:setHeight(28); obj.edit91:setField("untitled127"); obj.edit91:setName("edit91"); obj.layout106 = GUI.fromHandle(_obj_newObject("layout")); obj.layout106:setParent(obj.rectangle1); obj.layout106:setLeft(331); obj.layout106:setTop(1097); obj.layout106:setWidth(53); obj.layout106:setHeight(27); obj.layout106:setName("layout106"); obj.edit92 = GUI.fromHandle(_obj_newObject("edit")); obj.edit92:setParent(obj.layout106); obj.edit92:setTransparent(true); obj.edit92:setFontSize(12); obj.edit92:setFontColor("#000000"); obj.edit92:setHorzTextAlign("center"); obj.edit92:setVertTextAlign("center"); obj.edit92:setLeft(0); obj.edit92:setTop(0); obj.edit92:setWidth(53); obj.edit92:setHeight(28); obj.edit92:setField("untitled128"); obj.edit92:setName("edit92"); obj.layout107 = GUI.fromHandle(_obj_newObject("layout")); obj.layout107:setParent(obj.rectangle1); obj.layout107:setLeft(331); obj.layout107:setTop(1125); obj.layout107:setWidth(53); obj.layout107:setHeight(27); obj.layout107:setName("layout107"); obj.edit93 = GUI.fromHandle(_obj_newObject("edit")); obj.edit93:setParent(obj.layout107); obj.edit93:setTransparent(true); obj.edit93:setFontSize(12); obj.edit93:setFontColor("#000000"); obj.edit93:setHorzTextAlign("center"); obj.edit93:setVertTextAlign("center"); obj.edit93:setLeft(0); obj.edit93:setTop(0); obj.edit93:setWidth(53); obj.edit93:setHeight(28); obj.edit93:setField("untitled129"); obj.edit93:setName("edit93"); obj.layout108 = GUI.fromHandle(_obj_newObject("layout")); obj.layout108:setParent(obj.rectangle1); obj.layout108:setLeft(385); obj.layout108:setTop(762); obj.layout108:setWidth(439); obj.layout108:setHeight(27); obj.layout108:setName("layout108"); obj.edit94 = GUI.fromHandle(_obj_newObject("edit")); obj.edit94:setParent(obj.layout108); obj.edit94:setTransparent(true); obj.edit94:setFontSize(9); obj.edit94:setFontColor("#000000"); obj.edit94:setVertTextAlign("center"); obj.edit94:setLeft(0); obj.edit94:setTop(0); obj.edit94:setWidth(439); obj.edit94:setHeight(28); obj.edit94:setField("untitled131"); obj.edit94:setName("edit94"); obj.layout109 = GUI.fromHandle(_obj_newObject("layout")); obj.layout109:setParent(obj.rectangle1); obj.layout109:setLeft(385); obj.layout109:setTop(789); obj.layout109:setWidth(439); obj.layout109:setHeight(27); obj.layout109:setName("layout109"); obj.edit95 = GUI.fromHandle(_obj_newObject("edit")); obj.edit95:setParent(obj.layout109); obj.edit95:setTransparent(true); obj.edit95:setFontSize(9); obj.edit95:setFontColor("#000000"); obj.edit95:setVertTextAlign("center"); obj.edit95:setLeft(0); obj.edit95:setTop(0); obj.edit95:setWidth(439); obj.edit95:setHeight(28); obj.edit95:setField("untitled130"); obj.edit95:setName("edit95"); obj.layout110 = GUI.fromHandle(_obj_newObject("layout")); obj.layout110:setParent(obj.rectangle1); obj.layout110:setLeft(385); obj.layout110:setTop(818); obj.layout110:setWidth(439); obj.layout110:setHeight(27); obj.layout110:setName("layout110"); obj.edit96 = GUI.fromHandle(_obj_newObject("edit")); obj.edit96:setParent(obj.layout110); obj.edit96:setTransparent(true); obj.edit96:setFontSize(9); obj.edit96:setFontColor("#000000"); obj.edit96:setVertTextAlign("center"); obj.edit96:setLeft(0); obj.edit96:setTop(0); obj.edit96:setWidth(439); obj.edit96:setHeight(28); obj.edit96:setField("untitled132"); obj.edit96:setName("edit96"); obj.layout111 = GUI.fromHandle(_obj_newObject("layout")); obj.layout111:setParent(obj.rectangle1); obj.layout111:setLeft(385); obj.layout111:setTop(846); obj.layout111:setWidth(439); obj.layout111:setHeight(27); obj.layout111:setName("layout111"); obj.edit97 = GUI.fromHandle(_obj_newObject("edit")); obj.edit97:setParent(obj.layout111); obj.edit97:setTransparent(true); obj.edit97:setFontSize(9); obj.edit97:setFontColor("#000000"); obj.edit97:setVertTextAlign("center"); obj.edit97:setLeft(0); obj.edit97:setTop(0); obj.edit97:setWidth(439); obj.edit97:setHeight(28); obj.edit97:setField("untitled133"); obj.edit97:setName("edit97"); obj.layout112 = GUI.fromHandle(_obj_newObject("layout")); obj.layout112:setParent(obj.rectangle1); obj.layout112:setLeft(385); obj.layout112:setTop(874); obj.layout112:setWidth(439); obj.layout112:setHeight(27); obj.layout112:setName("layout112"); obj.edit98 = GUI.fromHandle(_obj_newObject("edit")); obj.edit98:setParent(obj.layout112); obj.edit98:setTransparent(true); obj.edit98:setFontSize(9); obj.edit98:setFontColor("#000000"); obj.edit98:setVertTextAlign("center"); obj.edit98:setLeft(0); obj.edit98:setTop(0); obj.edit98:setWidth(439); obj.edit98:setHeight(28); obj.edit98:setField("untitled134"); obj.edit98:setName("edit98"); obj.layout113 = GUI.fromHandle(_obj_newObject("layout")); obj.layout113:setParent(obj.rectangle1); obj.layout113:setLeft(385); obj.layout113:setTop(902); obj.layout113:setWidth(439); obj.layout113:setHeight(27); obj.layout113:setName("layout113"); obj.edit99 = GUI.fromHandle(_obj_newObject("edit")); obj.edit99:setParent(obj.layout113); obj.edit99:setTransparent(true); obj.edit99:setFontSize(9); obj.edit99:setFontColor("#000000"); obj.edit99:setVertTextAlign("center"); obj.edit99:setLeft(0); obj.edit99:setTop(0); obj.edit99:setWidth(439); obj.edit99:setHeight(28); obj.edit99:setField("untitled135"); obj.edit99:setName("edit99"); obj.layout114 = GUI.fromHandle(_obj_newObject("layout")); obj.layout114:setParent(obj.rectangle1); obj.layout114:setLeft(385); obj.layout114:setTop(930); obj.layout114:setWidth(439); obj.layout114:setHeight(27); obj.layout114:setName("layout114"); obj.edit100 = GUI.fromHandle(_obj_newObject("edit")); obj.edit100:setParent(obj.layout114); obj.edit100:setTransparent(true); obj.edit100:setFontSize(9); obj.edit100:setFontColor("#000000"); obj.edit100:setVertTextAlign("center"); obj.edit100:setLeft(0); obj.edit100:setTop(0); obj.edit100:setWidth(439); obj.edit100:setHeight(28); obj.edit100:setField("untitled136"); obj.edit100:setName("edit100"); obj.layout115 = GUI.fromHandle(_obj_newObject("layout")); obj.layout115:setParent(obj.rectangle1); obj.layout115:setLeft(385); obj.layout115:setTop(957); obj.layout115:setWidth(439); obj.layout115:setHeight(27); obj.layout115:setName("layout115"); obj.edit101 = GUI.fromHandle(_obj_newObject("edit")); obj.edit101:setParent(obj.layout115); obj.edit101:setTransparent(true); obj.edit101:setFontSize(9); obj.edit101:setFontColor("#000000"); obj.edit101:setVertTextAlign("center"); obj.edit101:setLeft(0); obj.edit101:setTop(0); obj.edit101:setWidth(439); obj.edit101:setHeight(28); obj.edit101:setField("untitled137"); obj.edit101:setName("edit101"); obj.layout116 = GUI.fromHandle(_obj_newObject("layout")); obj.layout116:setParent(obj.rectangle1); obj.layout116:setLeft(385); obj.layout116:setTop(985); obj.layout116:setWidth(439); obj.layout116:setHeight(27); obj.layout116:setName("layout116"); obj.edit102 = GUI.fromHandle(_obj_newObject("edit")); obj.edit102:setParent(obj.layout116); obj.edit102:setTransparent(true); obj.edit102:setFontSize(9); obj.edit102:setFontColor("#000000"); obj.edit102:setVertTextAlign("center"); obj.edit102:setLeft(0); obj.edit102:setTop(0); obj.edit102:setWidth(439); obj.edit102:setHeight(28); obj.edit102:setField("untitled138"); obj.edit102:setName("edit102"); obj.layout117 = GUI.fromHandle(_obj_newObject("layout")); obj.layout117:setParent(obj.rectangle1); obj.layout117:setLeft(385); obj.layout117:setTop(1013); obj.layout117:setWidth(439); obj.layout117:setHeight(27); obj.layout117:setName("layout117"); obj.edit103 = GUI.fromHandle(_obj_newObject("edit")); obj.edit103:setParent(obj.layout117); obj.edit103:setTransparent(true); obj.edit103:setFontSize(9); obj.edit103:setFontColor("#000000"); obj.edit103:setVertTextAlign("center"); obj.edit103:setLeft(0); obj.edit103:setTop(0); obj.edit103:setWidth(439); obj.edit103:setHeight(28); obj.edit103:setField("untitled139"); obj.edit103:setName("edit103"); obj.layout118 = GUI.fromHandle(_obj_newObject("layout")); obj.layout118:setParent(obj.rectangle1); obj.layout118:setLeft(385); obj.layout118:setTop(1041); obj.layout118:setWidth(439); obj.layout118:setHeight(27); obj.layout118:setName("layout118"); obj.edit104 = GUI.fromHandle(_obj_newObject("edit")); obj.edit104:setParent(obj.layout118); obj.edit104:setTransparent(true); obj.edit104:setFontSize(9); obj.edit104:setFontColor("#000000"); obj.edit104:setVertTextAlign("center"); obj.edit104:setLeft(0); obj.edit104:setTop(0); obj.edit104:setWidth(439); obj.edit104:setHeight(28); obj.edit104:setField("untitled140"); obj.edit104:setName("edit104"); obj.layout119 = GUI.fromHandle(_obj_newObject("layout")); obj.layout119:setParent(obj.rectangle1); obj.layout119:setLeft(385); obj.layout119:setTop(1069); obj.layout119:setWidth(439); obj.layout119:setHeight(27); obj.layout119:setName("layout119"); obj.edit105 = GUI.fromHandle(_obj_newObject("edit")); obj.edit105:setParent(obj.layout119); obj.edit105:setTransparent(true); obj.edit105:setFontSize(9); obj.edit105:setFontColor("#000000"); obj.edit105:setVertTextAlign("center"); obj.edit105:setLeft(0); obj.edit105:setTop(0); obj.edit105:setWidth(439); obj.edit105:setHeight(28); obj.edit105:setField("untitled141"); obj.edit105:setName("edit105"); obj.layout120 = GUI.fromHandle(_obj_newObject("layout")); obj.layout120:setParent(obj.rectangle1); obj.layout120:setLeft(385); obj.layout120:setTop(1097); obj.layout120:setWidth(439); obj.layout120:setHeight(27); obj.layout120:setName("layout120"); obj.edit106 = GUI.fromHandle(_obj_newObject("edit")); obj.edit106:setParent(obj.layout120); obj.edit106:setTransparent(true); obj.edit106:setFontSize(9); obj.edit106:setFontColor("#000000"); obj.edit106:setVertTextAlign("center"); obj.edit106:setLeft(0); obj.edit106:setTop(0); obj.edit106:setWidth(439); obj.edit106:setHeight(28); obj.edit106:setField("untitled142"); obj.edit106:setName("edit106"); obj.layout121 = GUI.fromHandle(_obj_newObject("layout")); obj.layout121:setParent(obj.rectangle1); obj.layout121:setLeft(385); obj.layout121:setTop(1125); obj.layout121:setWidth(440); obj.layout121:setHeight(26); obj.layout121:setName("layout121"); obj.edit107 = GUI.fromHandle(_obj_newObject("edit")); obj.edit107:setParent(obj.layout121); obj.edit107:setTransparent(true); obj.edit107:setFontSize(9); obj.edit107:setFontColor("#000000"); obj.edit107:setVertTextAlign("center"); obj.edit107:setLeft(0); obj.edit107:setTop(0); obj.edit107:setWidth(440); obj.edit107:setHeight(27); obj.edit107:setField("untitled143"); obj.edit107:setName("edit107"); function obj:_releaseEvents() end; obj._oldLFMDestroy = obj.destroy; function obj:destroy() self:_releaseEvents(); if (self.handle ~= 0) and (self.setNodeDatabase ~= nil) then self:setNodeDatabase(nil); end; if self.layout83 ~= nil then self.layout83:destroy(); self.layout83 = nil; end; if self.edit73 ~= nil then self.edit73:destroy(); self.edit73 = nil; end; if self.edit64 ~= nil then self.edit64:destroy(); self.edit64 = nil; end; if self.edit98 ~= nil then self.edit98:destroy(); self.edit98 = nil; end; if self.layout15 ~= nil then self.layout15:destroy(); self.layout15 = nil; end; if self.edit41 ~= nil then self.edit41:destroy(); self.edit41 = nil; end; if self.layout10 ~= nil then self.layout10:destroy(); self.layout10 = nil; end; if self.layout58 ~= nil then self.layout58:destroy(); self.layout58 = nil; end; if self.edit36 ~= nil then self.edit36:destroy(); self.edit36 = nil; end; if self.edit9 ~= nil then self.edit9:destroy(); self.edit9 = nil; end; if self.layout64 ~= nil then self.layout64:destroy(); self.layout64 = nil; end; if self.edit33 ~= nil then self.edit33:destroy(); self.edit33 = nil; end; if self.layout110 ~= nil then self.layout110:destroy(); self.layout110 = nil; end; if self.edit29 ~= nil then self.edit29:destroy(); self.edit29 = nil; end; if self.layout63 ~= nil then self.layout63:destroy(); self.layout63 = nil; end; if self.layout114 ~= nil then self.layout114:destroy(); self.layout114 = nil; end; if self.layout17 ~= nil then self.layout17:destroy(); self.layout17 = nil; end; if self.edit28 ~= nil then self.edit28:destroy(); self.edit28 = nil; end; if self.layout94 ~= nil then self.layout94:destroy(); self.layout94 = nil; end; if self.layout47 ~= nil then self.layout47:destroy(); self.layout47 = nil; end; if self.edit71 ~= nil then self.edit71:destroy(); self.edit71 = nil; end; if self.layout41 ~= nil then self.layout41:destroy(); self.layout41 = nil; end; if self.edit85 ~= nil then self.edit85:destroy(); self.edit85 = nil; end; if self.button2 ~= nil then self.button2:destroy(); self.button2 = nil; end; if self.layout24 ~= nil then self.layout24:destroy(); self.layout24 = nil; end; if self.layout38 ~= nil then self.layout38:destroy(); self.layout38 = nil; end; if self.edit76 ~= nil then self.edit76:destroy(); self.edit76 = nil; end; if self.layout13 ~= nil then self.layout13:destroy(); self.layout13 = nil; end; if self.layout8 ~= nil then self.layout8:destroy(); self.layout8 = nil; end; if self.checkBox7 ~= nil then self.checkBox7:destroy(); self.checkBox7 = nil; end; if self.layout23 ~= nil then self.layout23:destroy(); self.layout23 = nil; end; if self.edit82 ~= nil then self.edit82:destroy(); self.edit82 = nil; end; if self.edit47 ~= nil then self.edit47:destroy(); self.edit47 = nil; end; if self.layout62 ~= nil then self.layout62:destroy(); self.layout62 = nil; end; if self.layout68 ~= nil then self.layout68:destroy(); self.layout68 = nil; end; if self.layout89 ~= nil then self.layout89:destroy(); self.layout89 = nil; end; if self.layout105 ~= nil then self.layout105:destroy(); self.layout105 = nil; end; if self.button1 ~= nil then self.button1:destroy(); self.button1 = nil; end; if self.edit26 ~= nil then self.edit26:destroy(); self.edit26 = nil; end; if self.edit34 ~= nil then self.edit34:destroy(); self.edit34 = nil; end; if self.layout9 ~= nil then self.layout9:destroy(); self.layout9 = nil; end; if self.edit11 ~= nil then self.edit11:destroy(); self.edit11 = nil; end; if self.image1 ~= nil then self.image1:destroy(); self.image1 = nil; end; if self.edit19 ~= nil then self.edit19:destroy(); self.edit19 = nil; end; if self.layout88 ~= nil then self.layout88:destroy(); self.layout88 = nil; end; if self.layout71 ~= nil then self.layout71:destroy(); self.layout71 = nil; end; if self.edit5 ~= nil then self.edit5:destroy(); self.edit5 = nil; end; if self.layout54 ~= nil then self.layout54:destroy(); self.layout54 = nil; end; if self.layout50 ~= nil then self.layout50:destroy(); self.layout50 = nil; end; if self.layout32 ~= nil then self.layout32:destroy(); self.layout32 = nil; end; if self.layout37 ~= nil then self.layout37:destroy(); self.layout37 = nil; end; if self.edit68 ~= nil then self.edit68:destroy(); self.edit68 = nil; end; if self.layout36 ~= nil then self.layout36:destroy(); self.layout36 = nil; end; if self.edit72 ~= nil then self.edit72:destroy(); self.edit72 = nil; end; if self.edit69 ~= nil then self.edit69:destroy(); self.edit69 = nil; end; if self.layout92 ~= nil then self.layout92:destroy(); self.layout92 = nil; end; if self.layout119 ~= nil then self.layout119:destroy(); self.layout119 = nil; end; if self.layout52 ~= nil then self.layout52:destroy(); self.layout52 = nil; end; if self.edit10 ~= nil then self.edit10:destroy(); self.edit10 = nil; end; if self.edit16 ~= nil then self.edit16:destroy(); self.edit16 = nil; end; if self.edit31 ~= nil then self.edit31:destroy(); self.edit31 = nil; end; if self.edit106 ~= nil then self.edit106:destroy(); self.edit106 = nil; end; if self.edit1 ~= nil then self.edit1:destroy(); self.edit1 = nil; end; if self.edit79 ~= nil then self.edit79:destroy(); self.edit79 = nil; end; if self.edit77 ~= nil then self.edit77:destroy(); self.edit77 = nil; end; if self.edit52 ~= nil then self.edit52:destroy(); self.edit52 = nil; end; if self.layout34 ~= nil then self.layout34:destroy(); self.layout34 = nil; end; if self.layout106 ~= nil then self.layout106:destroy(); self.layout106 = nil; end; if self.layout4 ~= nil then self.layout4:destroy(); self.layout4 = nil; end; if self.edit101 ~= nil then self.edit101:destroy(); self.edit101 = nil; end; if self.checkBox3 ~= nil then self.checkBox3:destroy(); self.checkBox3 = nil; end; if self.layout42 ~= nil then self.layout42:destroy(); self.layout42 = nil; end; if self.edit58 ~= nil then self.edit58:destroy(); self.edit58 = nil; end; if self.layout61 ~= nil then self.layout61:destroy(); self.layout61 = nil; end; if self.edit66 ~= nil then self.edit66:destroy(); self.edit66 = nil; end; if self.layout5 ~= nil then self.layout5:destroy(); self.layout5 = nil; end; if self.layout20 ~= nil then self.layout20:destroy(); self.layout20 = nil; end; if self.edit23 ~= nil then self.edit23:destroy(); self.edit23 = nil; end; if self.layout55 ~= nil then self.layout55:destroy(); self.layout55 = nil; end; if self.layout18 ~= nil then self.layout18:destroy(); self.layout18 = nil; end; if self.layout112 ~= nil then self.layout112:destroy(); self.layout112 = nil; end; if self.layout78 ~= nil then self.layout78:destroy(); self.layout78 = nil; end; if self.edit40 ~= nil then self.edit40:destroy(); self.edit40 = nil; end; if self.edit99 ~= nil then self.edit99:destroy(); self.edit99 = nil; end; if self.edit86 ~= nil then self.edit86:destroy(); self.edit86 = nil; end; if self.layout103 ~= nil then self.layout103:destroy(); self.layout103 = nil; end; if self.edit38 ~= nil then self.edit38:destroy(); self.edit38 = nil; end; if self.edit67 ~= nil then self.edit67:destroy(); self.edit67 = nil; end; if self.layout49 ~= nil then self.layout49:destroy(); self.layout49 = nil; end; if self.edit105 ~= nil then self.edit105:destroy(); self.edit105 = nil; end; if self.layout35 ~= nil then self.layout35:destroy(); self.layout35 = nil; end; if self.layout11 ~= nil then self.layout11:destroy(); self.layout11 = nil; end; if self.textEditor1 ~= nil then self.textEditor1:destroy(); self.textEditor1 = nil; end; if self.layout108 ~= nil then self.layout108:destroy(); self.layout108 = nil; end; if self.edit6 ~= nil then self.edit6:destroy(); self.edit6 = nil; end; if self.edit90 ~= nil then self.edit90:destroy(); self.edit90 = nil; end; if self.edit3 ~= nil then self.edit3:destroy(); self.edit3 = nil; end; if self.layout33 ~= nil then self.layout33:destroy(); self.layout33 = nil; end; if self.layout117 ~= nil then self.layout117:destroy(); self.layout117 = nil; end; if self.edit49 ~= nil then self.edit49:destroy(); self.edit49 = nil; end; if self.edit83 ~= nil then self.edit83:destroy(); self.edit83 = nil; end; if self.layout14 ~= nil then self.layout14:destroy(); self.layout14 = nil; end; if self.edit27 ~= nil then self.edit27:destroy(); self.edit27 = nil; end; if self.layout16 ~= nil then self.layout16:destroy(); self.layout16 = nil; end; if self.layout21 ~= nil then self.layout21:destroy(); self.layout21 = nil; end; if self.layout102 ~= nil then self.layout102:destroy(); self.layout102 = nil; end; if self.checkBox4 ~= nil then self.checkBox4:destroy(); self.checkBox4 = nil; end; if self.layout51 ~= nil then self.layout51:destroy(); self.layout51 = nil; end; if self.edit74 ~= nil then self.edit74:destroy(); self.edit74 = nil; end; if self.edit18 ~= nil then self.edit18:destroy(); self.edit18 = nil; end; if self.edit25 ~= nil then self.edit25:destroy(); self.edit25 = nil; end; if self.edit62 ~= nil then self.edit62:destroy(); self.edit62 = nil; end; if self.scrollBox1 ~= nil then self.scrollBox1:destroy(); self.scrollBox1 = nil; end; if self.layout100 ~= nil then self.layout100:destroy(); self.layout100 = nil; end; if self.layout7 ~= nil then self.layout7:destroy(); self.layout7 = nil; end; if self.edit60 ~= nil then self.edit60:destroy(); self.edit60 = nil; end; if self.layout79 ~= nil then self.layout79:destroy(); self.layout79 = nil; end; if self.edit94 ~= nil then self.edit94:destroy(); self.edit94 = nil; end; if self.layout39 ~= nil then self.layout39:destroy(); self.layout39 = nil; end; if self.layout43 ~= nil then self.layout43:destroy(); self.layout43 = nil; end; if self.edit46 ~= nil then self.edit46:destroy(); self.edit46 = nil; end; if self.layout69 ~= nil then self.layout69:destroy(); self.layout69 = nil; end; if self.layout80 ~= nil then self.layout80:destroy(); self.layout80 = nil; end; if self.edit104 ~= nil then self.edit104:destroy(); self.edit104 = nil; end; if self.layout30 ~= nil then self.layout30:destroy(); self.layout30 = nil; end; if self.edit7 ~= nil then self.edit7:destroy(); self.edit7 = nil; end; if self.layout57 ~= nil then self.layout57:destroy(); self.layout57 = nil; end; if self.layout82 ~= nil then self.layout82:destroy(); self.layout82 = nil; end; if self.layout60 ~= nil then self.layout60:destroy(); self.layout60 = nil; end; if self.edit12 ~= nil then self.edit12:destroy(); self.edit12 = nil; end; if self.layout59 ~= nil then self.layout59:destroy(); self.layout59 = nil; end; if self.edit80 ~= nil then self.edit80:destroy(); self.edit80 = nil; end; if self.edit95 ~= nil then self.edit95:destroy(); self.edit95 = nil; end; if self.edit35 ~= nil then self.edit35:destroy(); self.edit35 = nil; end; if self.layout65 ~= nil then self.layout65:destroy(); self.layout65 = nil; end; if self.edit92 ~= nil then self.edit92:destroy(); self.edit92 = nil; end; if self.layout72 ~= nil then self.layout72:destroy(); self.layout72 = nil; end; if self.edit97 ~= nil then self.edit97:destroy(); self.edit97 = nil; end; if self.checkBox6 ~= nil then self.checkBox6:destroy(); self.checkBox6 = nil; end; if self.edit57 ~= nil then self.edit57:destroy(); self.edit57 = nil; end; if self.layout118 ~= nil then self.layout118:destroy(); self.layout118 = nil; end; if self.layout99 ~= nil then self.layout99:destroy(); self.layout99 = nil; end; if self.layout90 ~= nil then self.layout90:destroy(); self.layout90 = nil; end; if self.layout95 ~= nil then self.layout95:destroy(); self.layout95 = nil; end; if self.layout3 ~= nil then self.layout3:destroy(); self.layout3 = nil; end; if self.edit54 ~= nil then self.edit54:destroy(); self.edit54 = nil; end; if self.edit63 ~= nil then self.edit63:destroy(); self.edit63 = nil; end; if self.layout93 ~= nil then self.layout93:destroy(); self.layout93 = nil; end; if self.checkBox8 ~= nil then self.checkBox8:destroy(); self.checkBox8 = nil; end; if self.layout1 ~= nil then self.layout1:destroy(); self.layout1 = nil; end; if self.edit61 ~= nil then self.edit61:destroy(); self.edit61 = nil; end; if self.rectangle1 ~= nil then self.rectangle1:destroy(); self.rectangle1 = nil; end; if self.edit50 ~= nil then self.edit50:destroy(); self.edit50 = nil; end; if self.layout45 ~= nil then self.layout45:destroy(); self.layout45 = nil; end; if self.layout81 ~= nil then self.layout81:destroy(); self.layout81 = nil; end; if self.edit84 ~= nil then self.edit84:destroy(); self.edit84 = nil; end; if self.edit24 ~= nil then self.edit24:destroy(); self.edit24 = nil; end; if self.layout77 ~= nil then self.layout77:destroy(); self.layout77 = nil; end; if self.edit59 ~= nil then self.edit59:destroy(); self.edit59 = nil; end; if self.layout12 ~= nil then self.layout12:destroy(); self.layout12 = nil; end; if self.edit14 ~= nil then self.edit14:destroy(); self.edit14 = nil; end; if self.layout111 ~= nil then self.layout111:destroy(); self.layout111 = nil; end; if self.layout46 ~= nil then self.layout46:destroy(); self.layout46 = nil; end; if self.layout56 ~= nil then self.layout56:destroy(); self.layout56 = nil; end; if self.edit4 ~= nil then self.edit4:destroy(); self.edit4 = nil; end; if self.layout25 ~= nil then self.layout25:destroy(); self.layout25 = nil; end; if self.edit44 ~= nil then self.edit44:destroy(); self.edit44 = nil; end; if self.edit88 ~= nil then self.edit88:destroy(); self.edit88 = nil; end; if self.edit89 ~= nil then self.edit89:destroy(); self.edit89 = nil; end; if self.edit100 ~= nil then self.edit100:destroy(); self.edit100 = nil; end; if self.layout66 ~= nil then self.layout66:destroy(); self.layout66 = nil; end; if self.textEditor2 ~= nil then self.textEditor2:destroy(); self.textEditor2 = nil; end; if self.layout107 ~= nil then self.layout107:destroy(); self.layout107 = nil; end; if self.layout116 ~= nil then self.layout116:destroy(); self.layout116 = nil; end; if self.edit103 ~= nil then self.edit103:destroy(); self.edit103 = nil; end; if self.layout26 ~= nil then self.layout26:destroy(); self.layout26 = nil; end; if self.layout101 ~= nil then self.layout101:destroy(); self.layout101 = nil; end; if self.checkBox9 ~= nil then self.checkBox9:destroy(); self.checkBox9 = nil; end; if self.edit8 ~= nil then self.edit8:destroy(); self.edit8 = nil; end; if self.layout27 ~= nil then self.layout27:destroy(); self.layout27 = nil; end; if self.edit45 ~= nil then self.edit45:destroy(); self.edit45 = nil; end; if self.edit53 ~= nil then self.edit53:destroy(); self.edit53 = nil; end; if self.layout28 ~= nil then self.layout28:destroy(); self.layout28 = nil; end; if self.layout44 ~= nil then self.layout44:destroy(); self.layout44 = nil; end; if self.layout19 ~= nil then self.layout19:destroy(); self.layout19 = nil; end; if self.edit2 ~= nil then self.edit2:destroy(); self.edit2 = nil; end; if self.edit96 ~= nil then self.edit96:destroy(); self.edit96 = nil; end; if self.edit107 ~= nil then self.edit107:destroy(); self.edit107 = nil; end; if self.layout74 ~= nil then self.layout74:destroy(); self.layout74 = nil; end; if self.layout104 ~= nil then self.layout104:destroy(); self.layout104 = nil; end; if self.edit30 ~= nil then self.edit30:destroy(); self.edit30 = nil; end; if self.checkBox5 ~= nil then self.checkBox5:destroy(); self.checkBox5 = nil; end; if self.edit21 ~= nil then self.edit21:destroy(); self.edit21 = nil; end; if self.edit56 ~= nil then self.edit56:destroy(); self.edit56 = nil; end; if self.layout76 ~= nil then self.layout76:destroy(); self.layout76 = nil; end; if self.edit55 ~= nil then self.edit55:destroy(); self.edit55 = nil; end; if self.edit43 ~= nil then self.edit43:destroy(); self.edit43 = nil; end; if self.edit75 ~= nil then self.edit75:destroy(); self.edit75 = nil; end; if self.edit65 ~= nil then self.edit65:destroy(); self.edit65 = nil; end; if self.layout53 ~= nil then self.layout53:destroy(); self.layout53 = nil; end; if self.edit93 ~= nil then self.edit93:destroy(); self.edit93 = nil; end; if self.edit13 ~= nil then self.edit13:destroy(); self.edit13 = nil; end; if self.edit39 ~= nil then self.edit39:destroy(); self.edit39 = nil; end; if self.edit81 ~= nil then self.edit81:destroy(); self.edit81 = nil; end; if self.layout97 ~= nil then self.layout97:destroy(); self.layout97 = nil; end; if self.edit37 ~= nil then self.edit37:destroy(); self.edit37 = nil; end; if self.layout70 ~= nil then self.layout70:destroy(); self.layout70 = nil; end; if self.layout31 ~= nil then self.layout31:destroy(); self.layout31 = nil; end; if self.edit17 ~= nil then self.edit17:destroy(); self.edit17 = nil; end; if self.edit51 ~= nil then self.edit51:destroy(); self.edit51 = nil; end; if self.layout2 ~= nil then self.layout2:destroy(); self.layout2 = nil; end; if self.layout120 ~= nil then self.layout120:destroy(); self.layout120 = nil; end; if self.edit48 ~= nil then self.edit48:destroy(); self.edit48 = nil; end; if self.layout67 ~= nil then self.layout67:destroy(); self.layout67 = nil; end; if self.checkBox2 ~= nil then self.checkBox2:destroy(); self.checkBox2 = nil; end; if self.edit87 ~= nil then self.edit87:destroy(); self.edit87 = nil; end; if self.layout29 ~= nil then self.layout29:destroy(); self.layout29 = nil; end; if self.layout121 ~= nil then self.layout121:destroy(); self.layout121 = nil; end; if self.edit15 ~= nil then self.edit15:destroy(); self.edit15 = nil; end; if self.layout113 ~= nil then self.layout113:destroy(); self.layout113 = nil; end; if self.layout84 ~= nil then self.layout84:destroy(); self.layout84 = nil; end; if self.layout40 ~= nil then self.layout40:destroy(); self.layout40 = nil; end; if self.layout87 ~= nil then self.layout87:destroy(); self.layout87 = nil; end; if self.edit78 ~= nil then self.edit78:destroy(); self.edit78 = nil; end; if self.layout96 ~= nil then self.layout96:destroy(); self.layout96 = nil; end; if self.edit91 ~= nil then self.edit91:destroy(); self.edit91 = nil; end; if self.edit70 ~= nil then self.edit70:destroy(); self.edit70 = nil; end; if self.edit42 ~= nil then self.edit42:destroy(); self.edit42 = nil; end; if self.edit22 ~= nil then self.edit22:destroy(); self.edit22 = nil; end; if self.checkBox10 ~= nil then self.checkBox10:destroy(); self.checkBox10 = nil; end; if self.layout109 ~= nil then self.layout109:destroy(); self.layout109 = nil; end; if self.layout6 ~= nil then self.layout6:destroy(); self.layout6 = nil; end; if self.layout98 ~= nil then self.layout98:destroy(); self.layout98 = nil; end; if self.layout22 ~= nil then self.layout22:destroy(); self.layout22 = nil; end; if self.layout48 ~= nil then self.layout48:destroy(); self.layout48 = nil; end; if self.layout73 ~= nil then self.layout73:destroy(); self.layout73 = nil; end; if self.edit32 ~= nil then self.edit32:destroy(); self.edit32 = nil; end; if self.layout86 ~= nil then self.layout86:destroy(); self.layout86 = nil; end; if self.edit102 ~= nil then self.edit102:destroy(); self.edit102 = nil; end; if self.layout115 ~= nil then self.layout115:destroy(); self.layout115 = nil; end; if self.layout85 ~= nil then self.layout85:destroy(); self.layout85 = nil; end; if self.checkBox1 ~= nil then self.checkBox1:destroy(); self.checkBox1 = nil; end; if self.layout75 ~= nil then self.layout75:destroy(); self.layout75 = nil; end; if self.layout91 ~= nil then self.layout91:destroy(); self.layout91 = nil; end; if self.edit20 ~= nil then self.edit20:destroy(); self.edit20 = nil; end; self:_oldLFMDestroy(); end; obj:endUpdate(); return obj; end; function newfrmmb3_01_svg() local retObj = nil; __o_rrpgObjs.beginObjectsLoading(); __o_Utils.tryFinally( function() retObj = constructNew_frmmb3_01_svg(); end, function() __o_rrpgObjs.endObjectsLoading(); end); assert(retObj ~= nil); return retObj; end; local _frmmb3_01_svg = { newEditor = newfrmmb3_01_svg, new = newfrmmb3_01_svg, name = "frmmb3_01_svg", dataType = "", formType = "undefined", formComponentName = "form", title = "", description=""}; frmmb3_01_svg = _frmmb3_01_svg; Firecast.registrarForm(_frmmb3_01_svg); return _frmmb3_01_svg;
apache-2.0
ccw808/mtasa-blue
vendor/google-breakpad/premake5.lua
7
1543
project "breakpad" language "C++" kind "StaticLib" targetname "breakpad" includedirs { "src", "src/third_party/glog/src" } vpaths { ["Headers/*"] = "src/**.h", ["Sources/*"] = {"src/**.cc", "src/**.c"}, ["*"] = "premake5.lua" } files { "premake5.lua", "src/**.h", "src/client/*.cc", "src/common/*.cc", "src/common/*.c", "src/processor/*.cc", "src/third_party/glog/src/*.cc", "src/third_party/libdisasm/*.c", "src/third_party/protobuf/protobuf/src/**.c" } filter "system:linux" files { "src/client/linux/**.cc", "src/common/linux/**.cc", "src/common/dwarf/**.cc" } filter "system:macosx" files { "src/client/mac/**.cc", "src/client/mac/**.mm", "src/common/mac/**.mm", "src/common/mac/**.cc" } -- Is there a better way to allow vendor to `include <BreakpadDefines.h>` -- It should include "src/client/apple/Framework/BreakpadDefines.h". filter "system:macosx" includedirs { "src/client/apple/Framework", "src/common/mac" } filter {} -- Ignore tests excludes(os.matchfiles("**/*_unittest.cc")) excludes(os.matchfiles("**/*_test.cc")) excludes(os.matchfiles("**/*_selftest.cc")) excludes { "src/client/linux/sender/google_crash_report_sender.cc", "src/common/linux/tests/**.cc", "src/client/mac/tests/**", "src/client/mac/handler/testcases/**", "src/common/stabs_reader.cc" } --[[filter "system:windows" files { "src/client/windows/**.cc", "src/common/windows/**.cc" }]] filter "system:not linux" flags { "ExcludeFromBuild" }
gpl-3.0
otservme/global1053
data/actions/scripts/in service of yalahar quest/inServiceOfYalaharQuestSewers.lua
2
2100
function onUse(cid, item, fromPosition, itemEx, toPosition) if(item.itemid == 2416) then if(itemEx.uid == 3071) then if(getPlayerStorageValue(cid, 26) < 1) then doSetMonsterOutfit(cid, "skeleton", 3 * 1000) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_ENERGYHIT) for x = -1, 1 do for y = -1, 1 do doSendMagicEffect({x = getPlayerPosition(cid).x + x, y = getPlayerPosition(cid).y + y, z = getPlayerPosition(cid).z}, CONST_ME_YELLOWENERGY) end end Player(cid):setStorageValue(26, 1) Player(cid):setStorageValue(12012, Player(cid):getStorageValue(12012) + 1) -- StorageValue for Questlog "Mission 01: Something Rotten" end elseif(itemEx.uid == 3072) then if(getPlayerStorageValue(cid, 27) < 1) then for x = -1, 1 do for y = -1, 1 do if(math.random(1, 2) == 2) then doSummonCreature("rat", {x = getPlayerPosition(cid).x + x, y = getPlayerPosition(cid).y + y, z = getPlayerPosition(cid).z}) doSendMagicEffect({x = getPlayerPosition(cid).x + x, y = getPlayerPosition(cid).y + y, z = getPlayerPosition(cid).z}, CONST_ME_TELEPORT) end end end Player(cid):setStorageValue(27, 1) Player(cid):setStorageValue(12012, Player(cid):getStorageValue(12012) + 1) -- StorageValue for Questlog "Mission 01: Something Rotten" end elseif(itemEx.uid == 3073) then if(getPlayerStorageValue(cid, 28) < 1) then doCreatureSay(cid, "You have used the crowbar on a grate.", TALKTYPE_ORANGE_1) Player(cid):setStorageValue(28, 1) Player(cid):setStorageValue(12012, Player(cid):getStorageValue(12012) + 1) -- StorageValue for Questlog "Mission 01: Something Rotten" end elseif(itemEx.uid == 3074) then if(getPlayerStorageValue(cid, 29) < 1) then doSetMonsterOutfit(cid, "bog raider", 5 * 1000) doCreatureSay(cid, "You have used the crowbar on a knot.", TALKTYPE_ORANGE_1) Player(cid):setStorageValue(29, 1) Player(cid):setStorageValue(12012, Player(cid):getStorageValue(12012) + 1) -- StorageValue for Questlog "Mission 01: Something Rotten" end end end return true end
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Cattah_Pamjah.lua
38
1050
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Cattah Pamjah -- Type: Title Changer -- @zone: 94 -- @pos -13.564 -2 10.673 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,npc) player:startEvent(0x0089); end; ----------------------------------- -- onEventUpdate ----------------------------------- function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end; ----------------------------------- -- onEventFinish ----------------------------------- function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end;
gpl-3.0
sinavafa/xzy
plugins/admin.lua
230
6382
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(receiver, 'Photo changed!', ok_cb, false) redis:del("bot:photo") else print('Error downloading: '..msg.id) send_large_msg(receiver, 'Failed, please try again!', ok_cb, false) end end local function parsed_url(link) local parsed_link = URL.parse(link) local parsed_path = URL.parse_path(parsed_link.path) return parsed_path[2] end local function get_contact_list_callback (cb_extra, success, result) local text = " " for k,v in pairs(result) do if v.print_name and v.id and v.phone then text = text..string.gsub(v.print_name , "_" , " ").." ["..v.id.."] = "..v.phone.."\n" end end local file = io.open("contact_list.txt", "w") file:write(text) file:flush() file:close() send_document("user#id"..cb_extra.target,"contact_list.txt", ok_cb, false)--.txt format local file = io.open("contact_list.json", "w") file:write(json:encode_pretty(result)) file:flush() file:close() send_document("user#id"..cb_extra.target,"contact_list.json", ok_cb, false)--json format end local function user_info_callback(cb_extra, success, result) result.access_hash = nil result.flags = nil result.phone = nil if result.username then result.username = '@'..result.username end result.print_name = result.print_name:gsub("_","") local text = serpent.block(result, {comment=false}) text = text:gsub("[{}]", "") text = text:gsub('"', "") text = text:gsub(",","") if cb_extra.msg.to.type == "chat" then send_large_msg("chat#id"..cb_extra.msg.to.id, text) else send_large_msg("user#id"..cb_extra.msg.to.id, text) end end local function get_dialog_list_callback(cb_extra, success, result) local text = "" for k,v in pairs(result) do if v.peer then if v.peer.type == "chat" then text = text.."group{"..v.peer.title.."}["..v.peer.id.."]("..v.peer.members_num..")" else if v.peer.print_name and v.peer.id then text = text.."user{"..v.peer.print_name.."}["..v.peer.id.."]" end if v.peer.username then text = text.."("..v.peer.username..")" end if v.peer.phone then text = text.."'"..v.peer.phone.."'" end end end if v.message then text = text..'\nlast msg >\nmsg id = '..v.message.id if v.message.text then text = text .. "\n text = "..v.message.text end if v.message.action then text = text.."\n"..serpent.block(v.message.action, {comment=false}) end if v.message.from then if v.message.from.print_name then text = text.."\n From > \n"..string.gsub(v.message.from.print_name, "_"," ").."["..v.message.from.id.."]" end if v.message.from.username then text = text.."( "..v.message.from.username.." )" end if v.message.from.phone then text = text.."' "..v.message.from.phone.." '" end end end text = text.."\n\n" end local file = io.open("dialog_list.txt", "w") file:write(text) file:flush() file:close() send_document("user#id"..cb_extra.target,"dialog_list.txt", ok_cb, false)--.txt format local file = io.open("dialog_list.json", "w") file:write(json:encode_pretty(result)) file:flush() file:close() send_document("user#id"..cb_extra.target,"dialog_list.json", ok_cb, false)--json format end local function run(msg,matches) local data = load_data(_config.moderation.data) local receiver = get_receiver(msg) local group = msg.to.id if not is_admin(msg) then return end if msg.media then if msg.media.type == 'photo' and redis:get("bot:photo") then if redis:get("bot:photo") == 'waiting' then load_photo(msg.id, set_bot_photo, msg) end end end if matches[1] == "setbotphoto" then redis:set("bot:photo", "waiting") return 'Please send me bot photo now' end if matches[1] == "markread" then if matches[2] == "on" then redis:set("bot:markread", "on") return "Mark read > on" end if matches[2] == "off" then redis:del("bot:markread") return "Mark read > off" end return end if matches[1] == "pm" then send_large_msg("user#id"..matches[2],matches[3]) return "Msg sent" end if matches[1] == "block" then if is_admin2(matches[2]) then return "You can't block admins" end block_user("user#id"..matches[2],ok_cb,false) return "User blocked" end if matches[1] == "unblock" then unblock_user("user#id"..matches[2],ok_cb,false) return "User unblocked" end if matches[1] == "import" then--join by group link local hash = parsed_url(matches[2]) import_chat_link(hash,ok_cb,false) end if matches[1] == "contactlist" then get_contact_list(get_contact_list_callback, {target = msg.from.id}) return "I've sent contact list with both json and text format to your private" end if matches[1] == "delcontact" then del_contact("user#id"..matches[2],ok_cb,false) return "User "..matches[2].." removed from contact list" end if matches[1] == "dialoglist" then get_dialog_list(get_dialog_list_callback, {target = msg.from.id}) return "I've sent dialog list with both json and text format to your private" end if matches[1] == "whois" then user_info("user#id"..matches[2],user_info_callback,{msg=msg}) end return end return { patterns = { "^[!/](pm) (%d+) (.*)$", "^[!/](import) (.*)$", "^[!/](unblock) (%d+)$", "^[!/](block) (%d+)$", "^[!/](markread) (on)$", "^[!/](markread) (off)$", "^[!/](setbotphoto)$", "%[(photo)%]", "^[!/](contactlist)$", "^[!/](dialoglist)$", "^[!/](delcontact) (%d+)$", "^[!/](whois) (%d+)$" }, run = run, } --By @imandaneshi :) --https://github.com/SEEDTEAM/TeleSeed/blob/master/plugins/admin.lua
gpl-2.0
otservme/global1053
data/migrations/4.lua
1
1162
function onUpdateDatabase() print("> Updating database to version 5 (black skull & guild wars)") db.query("ALTER TABLE `players` CHANGE `redskull` `skull` TINYINT(1) NOT NULL DEFAULT '0', CHANGE `redskulltime` `skulltime` INT(11) NOT NULL DEFAULT '0'") db.query("CREATE TABLE IF NOT EXISTS `guild_wars` ( `id` int(11) NOT NULL AUTO_INCREMENT, `guild1` int(11) NOT NULL DEFAULT '0', `guild2` int(11) NOT NULL DEFAULT '0', `name1` varchar(255) NOT NULL, `name2` varchar(255) NOT NULL, `status` tinyint(2) NOT NULL DEFAULT '0', `started` bigint(15) NOT NULL DEFAULT '0', `ended` bigint(15) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), KEY `guild1` (`guild1`), KEY `guild2` (`guild2`)) ENGINE=InnoDB") db.query("CREATE TABLE IF NOT EXISTS `guildwar_kills` (`id` int(11) NOT NULL AUTO_INCREMENT, `killer` varchar(50) NOT NULL, `target` varchar(50) NOT NULL, `killerguild` int(11) NOT NULL DEFAULT '0', `targetguild` int(11) NOT NULL DEFAULT '0', `warid` int(11) NOT NULL DEFAULT '0', `time` bigint(15) NOT NULL, PRIMARY KEY (`id`), KEY `warid` (`warid`), FOREIGN KEY (`warid`) REFERENCES `guild_wars`(`id`) ON DELETE CASCADE) ENGINE=InnoDB") return true end
gpl-2.0
The-HalcyonDays/darkstar
scripts/globals/items/zafmlug_bass.lua
17
1321
----------------------------------------- -- ID: 4385 -- Item: zafmlug_bass -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------------------------------------- function onItemCheck(target) local result = 0; if (target:getRace() ~= 7) then result = 247; end if(target:getMod(MOD_EAT_RAW_FISH) == 1) then result = 0; end if (target:hasStatusEffect(EFFECT_FOOD) == true or target:hasStatusEffect(EFFECT_FIELD_SUPPORT_FOOD) == true) then result = 246; end return result; end; ----------------------------------------- -- OnItemUse ----------------------------------------- function onItemUse(target) target:addStatusEffect(EFFECT_FOOD,0,0,300,4385); end; ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:addMod(MOD_DEX, 2); target:addMod(MOD_MND, -4); end; ----------------------------------------- -- onEffectLose Action ----------------------------------------- function onEffectLose(target,effect) target:delMod(MOD_DEX, 2); target:delMod(MOD_MND, -4); end;
gpl-3.0
FingasGaming/Game-Development
VRPE/sandbox/bin/scripts/core/kernel.lua
2
2885
package("fsm") package("window") package("SDLEvent") local eKey = keyCode() Kernel = {} Engine = {} function Kernel:Create() local fsm = kpFSM:Create(Kernel) Kernel.fsm = fsm Kernel.engine = Engine:Create() function Kernel:onInit() Kernel.engine:onInit() end function Kernel:onExecute(run) while run == true and QSDL(Kernel.engine.win.event) == false do --handle events here self.engine:onEvent() --update here self.engine:onUpdate(1) --render here self.engine:onDraw() end end function Kernel:onDestroy() self.engine:onDestroy() end return Kernel end function Engine:Create() local fsm = kpFSM:Create(Engine) local debugIMG = nil Engine.fsm = fsm --Engine.fsm = baseClass("statemachine").new() Engine.win = nil Engine.renEng = nil Engine.physics = nil Engine.game = nil Engine.timer = nil showGame = true showPhys = false --initialize engine function Engine:onInit() Engine.timer = kpTimer:new() Engine.win = loadWindowSettings() Engine.win:onInit() Engine.renEng = baseClass("renderEngine").new(Engine.win) --Engine.physics = loadPhysicsSettings() Engine.game = loadGame(Engine) Engine.game:onInit() -- Engine.physics:addBox(800/2, 600-50, 800, 170, 0) -- Engine.physics:addBox(-30, 0, 30, 600*2, 0) -- Engine.physics:addBox((800 + 30), 0, 30, 600*2, 0) local state = baseClass("state").new(self.fsm, "default") self.fsm:addState("default", state) self.fsm:setState("default") return Engine end --handle events function Engine:onEvent() pollEvent(self.win.event) self.game:onEvent(self.win.event) if checkKeyDown(self.win.event, eKey.SDLK_e) == true then if showGame == true then showGame = false elseif showGame == false then showGame = true end end if checkKeyDown(self.win.event, eKey.SDLK_r) == true then if showPhys == true then showPhys = false elseif showPhys == false then showPhys = true end end self.fsm:onExecute() end --update engine function Engine:onUpdate(delta) if not self.timer:started() then self.timer:start() end local prv = self.timer:ticks() local dt = (self.timer:ticks() - prv) / 1000 --if self.physics then --self.physics:step(1/Engine.win.refreshRate, self.physics.stepVal, self.physics.stepPos) --end self.game:onUpdate(dt) end --engine draw function Engine:onDraw() if showGame then self.renEng:onRender(self.game, Engine.timer:ticks()) end -- if showPhys and self.physics then -- Engine.win.win:clearRect() -- Engine.physics:debugPhysics(Engine.win.win, Engine.win.render) -- Engine.win.win:updateWindow() -- end -- --renderCrop(Engine.win.render, 0, 0, Engine.width, Engine.height) -- regulateFPS(Engine.win.refreshRate, Engine.timer:ticks()) -- Engine.win:flip() end --kill engine function Engine:onDestroy() if self.game then self.game:onDestroy() end end return Engine end
gpl-2.0
Goranaws/Dominos
core/fadeManager.lua
1
1122
--[[ fadeManager.lua Handles fading out frames when not moused over Necessary since using the blizzard fading functions can cause issues in combat --]] local MouseOverWatcher = {}; Dominos.MouseOverWatcher = MouseOverWatcher local Timer_After = _G['C_Timer'].After local watched = {} function MouseOverWatcher:Update() for f in pairs(watched) do if f:IsFocus() then if not f.focused then f.focused = true f:Fade() end else if f.focused then f.focused = nil f:Fade() end end end if next(watched) then self:RequestUpdate() end end function MouseOverWatcher:RequestUpdate() if not self.__Update then self.__Update = function() self.__Waiting = false self:Update() end end if not self.__Waiting then self.__Waiting = true Timer_After(0.15, self.__Update) end end function MouseOverWatcher:Add(f) if not watched[f] then watched[f] = true f.focused = f:IsFocus() and true or nil f:UpdateAlpha() self:RequestUpdate() end end function MouseOverWatcher:Remove(f) if watched[f] then watched[f] = nil f.focused = nil f:UpdateAlpha() end end
bsd-3-clause
rrpgfirecast/firecast
Plugins/Sheets/Ficha Pathfinder 2e/output/rdkObjs/FichaPathfinder2e/05.Magias.Foco.lfm.lua
1
15975
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmMagiasFoco() local obj = GUI.fromHandle(_obj_newObject("form")); local self = obj; local sheet = nil; rawset(obj, "_oldSetNodeObjectFunction", rawget(obj, "setNodeObject")); function obj:setNodeObject(nodeObject) sheet = nodeObject; self.sheet = nodeObject; self:_oldSetNodeObjectFunction(nodeObject); end; function obj:setNodeDatabase(nodeObject) self:setNodeObject(nodeObject); end; _gui_assignInitialParentForForm(obj.handle); obj:beginUpdate(); obj:setName("frmMagiasFoco"); obj:setWidth(250); obj:setHeight(25); obj:setMargins({top=1}); local function askForDelete() Dialogs.confirmYesNo("Deseja realmente apagar essa magia?", function (confirmado) if confirmado then NDB.deleteNode(sheet); end; end); end; local function showMagiaPopup() local pop = self:findControlByName("popMagia"); if pop ~= nil then pop:setNodeObject(self.sheet); pop:showPopupEx("bottomCenter", self); else showMessage("Ops, bug.. nao encontrei o popup de magia para exibir"); end; end; local function write(str) local mesa = Firecast.getMesaDe(sheet); if str then mesa.activeChat:escrever(str); else mesa.activeChat:escrever("String nula"); end; end; obj.edit1 = GUI.fromHandle(_obj_newObject("edit")); obj.edit1:setParent(obj); obj.edit1:setAlign("left"); obj.edit1:setWidth(25); obj.edit1:setField("nivelHabilidade"); obj.edit1:setName("edit1"); obj.button1 = GUI.fromHandle(_obj_newObject("button")); obj.button1:setParent(obj); obj.button1:setAlign("right"); obj.button1:setWidth(25); obj.button1:setText("i"); obj.button1:setName("button1"); obj.button2 = GUI.fromHandle(_obj_newObject("button")); obj.button2:setParent(obj); obj.button2:setAlign("right"); obj.button2:setWidth(25); obj.button2:setText("X"); obj.button2:setName("button2"); obj.layout1 = GUI.fromHandle(_obj_newObject("layout")); obj.layout1:setParent(obj); obj.layout1:setAlign("right"); obj.layout1:setWidth(75); obj.layout1:setName("layout1"); obj.layout2 = GUI.fromHandle(_obj_newObject("layout")); obj.layout2:setParent(obj.layout1); obj.layout2:setTop(5); obj.layout2:setHeight(15); obj.layout2:setWidth(45); obj.layout2:setName("layout2"); obj.imageCheckBox1 = GUI.fromHandle(_obj_newObject("imageCheckBox")); obj.imageCheckBox1:setParent(obj.layout2); obj.imageCheckBox1:setAlign("client"); obj.imageCheckBox1:setName("imageCheckBox1"); obj.Barrinha = GUI.fromHandle(_obj_newObject("progressBar")); obj.Barrinha:setParent(obj.imageCheckBox1); obj.Barrinha:setColorMode("hl"); obj.Barrinha:setWidth(45); obj.Barrinha:setHeight(15); obj.Barrinha:setMargins({top=5,bottom=5}); obj.Barrinha:setHitTest(true); obj.Barrinha:setMouseGlow(true); obj.Barrinha:setColor("Green"); obj.Barrinha:setName("Barrinha"); obj.Barrinha:setField("BarrinhaValor"); obj.Barrinha:setFieldMax("BarrinhaValorMax"); obj.ValoresBarrinha = GUI.fromHandle(_obj_newObject("layout")); obj.ValoresBarrinha:setParent(obj.layout1); obj.ValoresBarrinha:setLeft(45); obj.ValoresBarrinha:setTop(5); obj.ValoresBarrinha:setHeight(15); obj.ValoresBarrinha:setWidth(30); obj.ValoresBarrinha:setMargins({top=5,bottom=5}); obj.ValoresBarrinha:setVisible(false); obj.ValoresBarrinha:setName("ValoresBarrinha"); obj.CorBarrinha = GUI.fromHandle(_obj_newObject("rectangle")); obj.CorBarrinha:setParent(obj.ValoresBarrinha); obj.CorBarrinha:setAlign("client"); obj.CorBarrinha:setXradius(2); obj.CorBarrinha:setYradius(2); obj.CorBarrinha:setName("CorBarrinha"); obj.CorBarrinha:setColor("Green"); obj.InfoBarrinha = GUI.fromHandle(_obj_newObject("label")); obj.InfoBarrinha:setParent(obj.CorBarrinha); obj.InfoBarrinha:setAlign("left"); obj.InfoBarrinha:setFontColor("white"); obj.InfoBarrinha:setFontSize(10); obj.InfoBarrinha:setAutoSize(true); obj.InfoBarrinha:setTextTrimming("none"); obj.InfoBarrinha:setWordWrap(false); obj.InfoBarrinha:setName("InfoBarrinha"); obj.InfoBarrinha:setField("InfoBarrinha"); obj.InfoBarrinha:setHorzTextAlign("center"); obj.InfoBarrinha:setText("0/0"); obj.dataLink1 = GUI.fromHandle(_obj_newObject("dataLink")); obj.dataLink1:setParent(obj.layout1); obj.dataLink1:setField("CorBarrinha"); obj.dataLink1:setDefaultValue("Green"); obj.dataLink1:setName("dataLink1"); obj.edit2 = GUI.fromHandle(_obj_newObject("edit")); obj.edit2:setParent(obj); obj.edit2:setAlign("client"); obj.edit2:setField("nomeMagia"); obj.edit2:setName("edit2"); obj.dataLink2 = GUI.fromHandle(_obj_newObject("dataLink")); obj.dataLink2:setParent(obj); obj.dataLink2:setFields({'dispMagia','prepMagia'}); obj.dataLink2:setName("dataLink2"); obj.dataLink3 = GUI.fromHandle(_obj_newObject("dataLink")); obj.dataLink3:setParent(obj); obj.dataLink3:setFields({'nomeMagia','myCD','updateCD'}); obj.dataLink3:setName("dataLink3"); obj._e_event0 = obj.button1:addEventListener("onClick", function (_) showMagiaPopup(); end, obj); obj._e_event1 = obj.button2:addEventListener("onClick", function (_) askForDelete(); end, obj); obj._e_event2 = obj.Barrinha:addEventListener("onMouseEnter", function (_) self.CorBarrinha.color = "Green"; self.ValoresBarrinha.visible = true; sheet.InfoBarrinha = (sheet.BarrinhaValor or 0) .. "/" .. (sheet.BarrinhaValorMax or 0); end, obj); obj._e_event3 = obj.Barrinha:addEventListener("onMouseLeave", function (_) self.ValoresBarrinha.visible = false; end, obj); obj._e_event4 = obj.Barrinha:addEventListener("onDblClick", function (_) sheet.BarrinhaID = sheet.index; sheet.AtributoBarrinha = sheet.nomeMagia; sheet.ModificadorBarrinha = "igual"; sheet.ModificadorBarrinhaMax = "igual"; sheet.ValorTempAtualBarrinha = sheet.BarrinhaValor; sheet.ValorTempMaxBarrinha = sheet.BarrinhaValorMax; sheet.ValorMudadoAtualBarrinha = sheet.BarrinhaValor; sheet.ValorMudadoMaxBarrinha = sheet.BarrinhaValorMax; local rec = self:findControlByName("PopupBarColor"); if rec~=nil then rec.color = "Green" end; local pop = self:findControlByName("BarPopup"); if pop~= nil then pop.scopeNode = sheet; pop:show("top", self.Barrinha); pop.top = (pop.top + 29 + 10); end; end, obj); obj._e_event5 = obj.InfoBarrinha:addEventListener("onResize", function (_) self.InfoBarrinha.width = (self.ValoresBarrinha.width - 4); end, obj); obj._e_event6 = obj.dataLink1:addEventListener("onChange", function (_, field, oldValue, newValue) self.Barrinha.color = "Green"; end, obj); obj._e_event7 = obj.dataLink2:addEventListener("onChange", function (_, field, oldValue, newValue) if sheet==nil then return end; local id = sheet.id; local box = self:findControlByName("boxDetalhesDaMagia"); local node = box.node; if node == nil then return end; -- Since last version did not store the id we will need to find it in old sheets. if id==nil then local myRCLfield = NDB.getParent(sheet); if node.campoDasMagias0 == myRCLfield then sheet.id = 0 elseif node.campoDasMagias1 == myRCLfield then sheet.id = 1 elseif node.campoDasMagias2 == myRCLfield then sheet.id = 2 elseif node.campoDasMagias3 == myRCLfield then sheet.id = 3 elseif node.campoDasMagias4 == myRCLfield then sheet.id = 4 elseif node.campoDasMagias5 == myRCLfield then sheet.id = 5 elseif node.campoDasMagias6 == myRCLfield then sheet.id = 6 elseif node.campoDasMagias7 == myRCLfield then sheet.id = 7 elseif node.campoDasMagias8 == myRCLfield then sheet.id = 8 elseif node.campoDasMagias9 == myRCLfield then sheet.id = 9 elseif node.campoDasMagias10 == myRCLfield then sheet.id = 10 elseif node.campoDasMagias11 == myRCLfield then sheet.id = 11 elseif node.campoDasMagias12 == myRCLfield then sheet.id = 12 elseif node.campoDasMagias13 == myRCLfield then sheet.id = 13 elseif node.campoDasMagias14 == myRCLfield then sheet.id = 14 elseif node.campoDasMagias15 == myRCLfield then sheet.id = 15 elseif node.campoDasMagias16 == myRCLfield then sheet.id = 16 elseif node.campoDasMagias17 == myRCLfield then sheet.id = 17 elseif node.campoDasMagias18 == myRCLfield then sheet.id = 18 elseif node.campoDasMagias19 == myRCLfield then sheet.id = 19 end; id = sheet.id; if id==nil then return end; end; -- sort list local rcl = self:findControlByName("rclmagicList" .. id); if rcl~= nil then rcl:sort(); end; -- calculate sum os prepared and used local preparadas = 0; local usadas = 0; local nodes = NDB.getChildNodes(node["campoDasMagias" .. id]); for i=1, #nodes, 1 do preparadas = preparadas + (tonumber(nodes[i].dispMagia) or 0); usadas = usadas + (tonumber(nodes[i].prepMagia) or 0); end node["prep" .. id] = preparadas; node["used" .. id] = usadas; end, obj); obj._e_event8 = obj.dataLink3:addEventListener("onChange", function (_, field, oldValue, newValue) if sheet==nil then return end; local id = sheet.id; local box = self:findControlByName("boxDetalhesDaMagia"); local node = box.node; if node == nil then return end; -- Since last version did not store the id we will need to find it in old sheets. if id==nil then local myRCLfield = NDB.getParent(sheet); if node.campoDasMagias0 == myRCLfield then sheet.id = 0 elseif node.campoDasMagias1 == myRCLfield then sheet.id = 1 elseif node.campoDasMagias2 == myRCLfield then sheet.id = 2 elseif node.campoDasMagias3 == myRCLfield then sheet.id = 3 elseif node.campoDasMagias4 == myRCLfield then sheet.id = 4 elseif node.campoDasMagias5 == myRCLfield then sheet.id = 5 elseif node.campoDasMagias6 == myRCLfield then sheet.id = 6 elseif node.campoDasMagias7 == myRCLfield then sheet.id = 7 elseif node.campoDasMagias8 == myRCLfield then sheet.id = 8 elseif node.campoDasMagias9 == myRCLfield then sheet.id = 9 elseif node.campoDasMagias10 == myRCLfield then sheet.id = 10 elseif node.campoDasMagias11 == myRCLfield then sheet.id = 11 elseif node.campoDasMagias12 == myRCLfield then sheet.id = 12 elseif node.campoDasMagias13 == myRCLfield then sheet.id = 13 elseif node.campoDasMagias14 == myRCLfield then sheet.id = 14 elseif node.campoDasMagias15 == myRCLfield then sheet.id = 15 elseif node.campoDasMagias16 == myRCLfield then sheet.id = 16 elseif node.campoDasMagias17 == myRCLfield then sheet.id = 17 elseif node.campoDasMagias18 == myRCLfield then sheet.id = 18 elseif node.campoDasMagias19 == myRCLfield then sheet.id = 19 end; id = sheet.id; if id==nil then return end; end; local baseCD = tonumber(node["cd" .. id]) or 10; local ajustCD = tonumber(node.cd) or 0; local myCD = tonumber(sheet.myCD) or 0; sheet.cd = baseCD + ajustCD + myCD; end, obj); function obj:_releaseEvents() __o_rrpgObjs.removeEventListenerById(self._e_event8); __o_rrpgObjs.removeEventListenerById(self._e_event7); __o_rrpgObjs.removeEventListenerById(self._e_event6); __o_rrpgObjs.removeEventListenerById(self._e_event5); __o_rrpgObjs.removeEventListenerById(self._e_event4); __o_rrpgObjs.removeEventListenerById(self._e_event3); __o_rrpgObjs.removeEventListenerById(self._e_event2); __o_rrpgObjs.removeEventListenerById(self._e_event1); __o_rrpgObjs.removeEventListenerById(self._e_event0); end; obj._oldLFMDestroy = obj.destroy; function obj:destroy() self:_releaseEvents(); if (self.handle ~= 0) and (self.setNodeDatabase ~= nil) then self:setNodeDatabase(nil); end; if self.dataLink1 ~= nil then self.dataLink1:destroy(); self.dataLink1 = nil; end; if self.dataLink3 ~= nil then self.dataLink3:destroy(); self.dataLink3 = nil; end; if self.button1 ~= nil then self.button1:destroy(); self.button1 = nil; end; if self.CorBarrinha ~= nil then self.CorBarrinha:destroy(); self.CorBarrinha = nil; end; if self.InfoBarrinha ~= nil then self.InfoBarrinha:destroy(); self.InfoBarrinha = nil; end; if self.ValoresBarrinha ~= nil then self.ValoresBarrinha:destroy(); self.ValoresBarrinha = nil; end; if self.button2 ~= nil then self.button2:destroy(); self.button2 = nil; end; if self.imageCheckBox1 ~= nil then self.imageCheckBox1:destroy(); self.imageCheckBox1 = nil; end; if self.edit2 ~= nil then self.edit2:destroy(); self.edit2 = nil; end; if self.dataLink2 ~= nil then self.dataLink2:destroy(); self.dataLink2 = nil; end; if self.layout1 ~= nil then self.layout1:destroy(); self.layout1 = nil; end; if self.edit1 ~= nil then self.edit1:destroy(); self.edit1 = nil; end; if self.layout2 ~= nil then self.layout2:destroy(); self.layout2 = nil; end; if self.Barrinha ~= nil then self.Barrinha:destroy(); self.Barrinha = nil; end; self:_oldLFMDestroy(); end; obj:endUpdate(); return obj; end; function newfrmMagiasFoco() local retObj = nil; __o_rrpgObjs.beginObjectsLoading(); __o_Utils.tryFinally( function() retObj = constructNew_frmMagiasFoco(); end, function() __o_rrpgObjs.endObjectsLoading(); end); assert(retObj ~= nil); return retObj; end; local _frmMagiasFoco = { newEditor = newfrmMagiasFoco, new = newfrmMagiasFoco, name = "frmMagiasFoco", dataType = "", formType = "undefined", formComponentName = "form", title = "", description=""}; frmMagiasFoco = _frmMagiasFoco; Firecast.registrarForm(_frmMagiasFoco); return _frmMagiasFoco;
apache-2.0
The-HalcyonDays/darkstar
scripts/zones/Hazhalm_Testing_Grounds/Zone.lua
28
1351
----------------------------------- -- -- Zone: Hazhalm_Testing_Grounds (78) -- ----------------------------------- package.loaded["scripts/zones/Hazhalm_Testing_Grounds/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Hazhalm_Testing_Grounds/TextIDs"); ----------------------------------- -- onInitialize ----------------------------------- function onInitialize(zone) end; ----------------------------------- -- onZoneIn ----------------------------------- function onZoneIn(player,prevZone) local cs = -1; if (player:getXPos() == 0 and player:getYPos() == 0 and player:getZPos() == 0) then player:setPos(652.174,-272.632,-104.92,148); end return cs; end; ----------------------------------- -- onRegionEnter ----------------------------------- function onRegionEnter(player,region) end; ----------------------------------- -- onEventUpdate ----------------------------------- function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end; ----------------------------------- -- onEventFinish ----------------------------------- function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end;
gpl-3.0
sepehrpk/firebot1
plugins/meme.lua
637
5791
local helpers = require "OAuth.helpers" local _file_memes = './data/memes.lua' local _cache = {} local function post_petition(url, arguments) local response_body = {} local request_constructor = { url = url, method = "POST", sink = ltn12.sink.table(response_body), headers = {}, redirect = false } local source = arguments if type(arguments) == "table" then local source = helpers.url_encode_arguments(arguments) end request_constructor.headers["Content-Type"] = "application/x-www-form-urlencoded" request_constructor.headers["Content-Length"] = tostring(#source) request_constructor.source = ltn12.source.string(source) local ok, response_code, response_headers, response_status_line = http.request(request_constructor) if not ok then return nil end response_body = json:decode(table.concat(response_body)) return response_body end local function upload_memes(memes) local base = "http://hastebin.com/" local pet = post_petition(base .. "documents", memes) if pet == nil then return '', '' end local key = pet.key return base .. key, base .. 'raw/' .. key end local function analyze_meme_list() local function get_m(res, n) local r = "<option.*>(.*)</option>.*" local start = string.find(res, "<option.*>", n) if start == nil then return nil, nil end local final = string.find(res, "</option>", n) + #"</option>" local sub = string.sub(res, start, final) local f = string.match(sub, r) return f, final end local res, code = http.request('http://apimeme.com/') local r = "<option.*>(.*)</option>.*" local n = 0 local f, n = get_m(res, n) local ult = {} while f ~= nil do print(f) table.insert(ult, f) f, n = get_m(res, n) end return ult end local function get_memes() local memes = analyze_meme_list() return { last_time = os.time(), memes = memes } end local function load_data() local data = load_from_file(_file_memes) if not next(data) or data.memes == {} or os.time() - data.last_time > 86400 then data = get_memes() -- Upload only if changed? link, rawlink = upload_memes(table.concat(data.memes, '\n')) data.link = link data.rawlink = rawlink serialize_to_file(data, _file_memes) end return data end local function match_n_word(list1, list2) local n = 0 for k,v in pairs(list1) do for k2, v2 in pairs(list2) do if v2:find(v) then n = n + 1 end end end return n end local function match_meme(name) local _memes = load_data() local name = name:lower():split(' ') local max = 0 local id = nil for k,v in pairs(_memes.memes) do local n = match_n_word(name, v:lower():split(' ')) if n > 0 and n > max then max = n id = v end end return id end local function generate_meme(id, textup, textdown) local base = "http://apimeme.com/meme" local arguments = { meme=id, top=textup, bottom=textdown } return base .. "?" .. helpers.url_encode_arguments(arguments) end local function get_all_memes_names() local _memes = load_data() local text = 'Last time: ' .. _memes.last_time .. '\n-----------\n' for k, v in pairs(_memes.memes) do text = text .. '- ' .. v .. '\n' end text = text .. '--------------\n' .. 'You can see the images here: http://apimeme.com/' return text end local function callback_send(cb_extra, success, data) if success == 0 then send_msg(cb_extra.receiver, "Something wrong happened, probably that meme had been removed from server: " .. cb_extra.url, ok_cb, false) end end local function run(msg, matches) local receiver = get_receiver(msg) if matches[1] == 'list' then local _memes = load_data() return 'I have ' .. #_memes.memes .. ' meme names.\nCheck this link to see all :)\n' .. _memes.link elseif matches[1] == 'listall' then if not is_sudo(msg) then return "You can't list this way, use \"!meme list\"" else return get_all_memes_names() end elseif matches[1] == "search" then local meme_id = match_meme(matches[2]) if meme_id == nil then return "I can't match that search with any meme." end return "With that search your meme is " .. meme_id end local searchterm = string.gsub(matches[1]:lower(), ' ', '') local meme_id = _cache[searchterm] or match_meme(matches[1]) if not meme_id then return 'I don\'t understand the meme name "' .. matches[1] .. '"' end _cache[searchterm] = meme_id print("Generating meme: " .. meme_id .. " with texts " .. matches[2] .. ' and ' .. matches[3]) local url_gen = generate_meme(meme_id, matches[2], matches[3]) send_photo_from_url(receiver, url_gen, callback_send, {receiver=receiver, url=url_gen}) return nil end return { description = "Generate a meme image with up and bottom texts.", usage = { "!meme search (name): Return the name of the meme that match.", "!meme list: Return the link where you can see the memes.", "!meme listall: Return the list of all memes. Only admin can call it.", '!meme [name] - [text_up] - [text_down]: Generate a meme with the picture that match with that name with the texts provided.', '!meme [name] "[text_up]" "[text_down]": Generate a meme with the picture that match with that name with the texts provided.', }, patterns = { "^!meme (search) (.+)$", '^!meme (list)$', '^!meme (listall)$', '^!meme (.+) "(.*)" "(.*)"$', '^!meme "(.+)" "(.*)" "(.*)"$', "^!meme (.+) %- (.*) %- (.*)$" }, run = run }
gpl-2.0
shahabsaf1/beni-dalton
plugins/meme.lua
637
5791
local helpers = require "OAuth.helpers" local _file_memes = './data/memes.lua' local _cache = {} local function post_petition(url, arguments) local response_body = {} local request_constructor = { url = url, method = "POST", sink = ltn12.sink.table(response_body), headers = {}, redirect = false } local source = arguments if type(arguments) == "table" then local source = helpers.url_encode_arguments(arguments) end request_constructor.headers["Content-Type"] = "application/x-www-form-urlencoded" request_constructor.headers["Content-Length"] = tostring(#source) request_constructor.source = ltn12.source.string(source) local ok, response_code, response_headers, response_status_line = http.request(request_constructor) if not ok then return nil end response_body = json:decode(table.concat(response_body)) return response_body end local function upload_memes(memes) local base = "http://hastebin.com/" local pet = post_petition(base .. "documents", memes) if pet == nil then return '', '' end local key = pet.key return base .. key, base .. 'raw/' .. key end local function analyze_meme_list() local function get_m(res, n) local r = "<option.*>(.*)</option>.*" local start = string.find(res, "<option.*>", n) if start == nil then return nil, nil end local final = string.find(res, "</option>", n) + #"</option>" local sub = string.sub(res, start, final) local f = string.match(sub, r) return f, final end local res, code = http.request('http://apimeme.com/') local r = "<option.*>(.*)</option>.*" local n = 0 local f, n = get_m(res, n) local ult = {} while f ~= nil do print(f) table.insert(ult, f) f, n = get_m(res, n) end return ult end local function get_memes() local memes = analyze_meme_list() return { last_time = os.time(), memes = memes } end local function load_data() local data = load_from_file(_file_memes) if not next(data) or data.memes == {} or os.time() - data.last_time > 86400 then data = get_memes() -- Upload only if changed? link, rawlink = upload_memes(table.concat(data.memes, '\n')) data.link = link data.rawlink = rawlink serialize_to_file(data, _file_memes) end return data end local function match_n_word(list1, list2) local n = 0 for k,v in pairs(list1) do for k2, v2 in pairs(list2) do if v2:find(v) then n = n + 1 end end end return n end local function match_meme(name) local _memes = load_data() local name = name:lower():split(' ') local max = 0 local id = nil for k,v in pairs(_memes.memes) do local n = match_n_word(name, v:lower():split(' ')) if n > 0 and n > max then max = n id = v end end return id end local function generate_meme(id, textup, textdown) local base = "http://apimeme.com/meme" local arguments = { meme=id, top=textup, bottom=textdown } return base .. "?" .. helpers.url_encode_arguments(arguments) end local function get_all_memes_names() local _memes = load_data() local text = 'Last time: ' .. _memes.last_time .. '\n-----------\n' for k, v in pairs(_memes.memes) do text = text .. '- ' .. v .. '\n' end text = text .. '--------------\n' .. 'You can see the images here: http://apimeme.com/' return text end local function callback_send(cb_extra, success, data) if success == 0 then send_msg(cb_extra.receiver, "Something wrong happened, probably that meme had been removed from server: " .. cb_extra.url, ok_cb, false) end end local function run(msg, matches) local receiver = get_receiver(msg) if matches[1] == 'list' then local _memes = load_data() return 'I have ' .. #_memes.memes .. ' meme names.\nCheck this link to see all :)\n' .. _memes.link elseif matches[1] == 'listall' then if not is_sudo(msg) then return "You can't list this way, use \"!meme list\"" else return get_all_memes_names() end elseif matches[1] == "search" then local meme_id = match_meme(matches[2]) if meme_id == nil then return "I can't match that search with any meme." end return "With that search your meme is " .. meme_id end local searchterm = string.gsub(matches[1]:lower(), ' ', '') local meme_id = _cache[searchterm] or match_meme(matches[1]) if not meme_id then return 'I don\'t understand the meme name "' .. matches[1] .. '"' end _cache[searchterm] = meme_id print("Generating meme: " .. meme_id .. " with texts " .. matches[2] .. ' and ' .. matches[3]) local url_gen = generate_meme(meme_id, matches[2], matches[3]) send_photo_from_url(receiver, url_gen, callback_send, {receiver=receiver, url=url_gen}) return nil end return { description = "Generate a meme image with up and bottom texts.", usage = { "!meme search (name): Return the name of the meme that match.", "!meme list: Return the link where you can see the memes.", "!meme listall: Return the list of all memes. Only admin can call it.", '!meme [name] - [text_up] - [text_down]: Generate a meme with the picture that match with that name with the texts provided.', '!meme [name] "[text_up]" "[text_down]": Generate a meme with the picture that match with that name with the texts provided.', }, patterns = { "^!meme (search) (.+)$", '^!meme (list)$', '^!meme (listall)$', '^!meme (.+) "(.*)" "(.*)"$', '^!meme "(.+)" "(.*)" "(.*)"$', "^!meme (.+) %- (.*) %- (.*)$" }, run = run }
gpl-2.0
mamaddeveloper/ghs
plugins/search_youtube.lua
674
1270
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end local function searchYoutubeVideos(text) local url = 'https://www.googleapis.com/youtube/v3/search?' url = url..'part=snippet'..'&maxResults=4'..'&type=video' url = url..'&q='..URL.escape(text) if google_config.api_keys then local i = math.random(#google_config.api_keys) local api_key = google_config.api_keys[i] if api_key then url = url.."&key="..api_key end end local data = httpsRequest(url) if not data then print("HTTP Error") return nil elseif not data.items then return nil end return data.items end local function run(msg, matches) local text = '' local items = searchYoutubeVideos(matches[1]) if not items then return "Error!" end for k,item in pairs(items) do text = text..'http://youtu.be/'..item.id.videoId..' '.. item.snippet.title..'\n\n' end return text end return { description = "Search video on youtube and send it.", usage = "!youtube [term]: Search for a youtube video and send it.", patterns = { "^!youtube (.*)" }, run = run } end
gpl-2.0
The-HalcyonDays/darkstar
scripts/globals/spells/exuviation.lua
13
1241
----------------------------------------- -- Spell: Exuviation -- Restores HP and removes one detrimental magic effect. -- Can be used with Diffusion. -- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0; end; function onSpellCast(caster,target,spell) local minCure = 60; local divisor = 1; local constant = 40; local power = getCurePowerOld(caster); if(power > 99) then divisor = 57; constant = 79.125; elseif(power > 59) then divisor = 2; constant = 55; end local final = getCureFinal(caster,spell,getBaseCureOld(power,divisor,constant),minCure,true); final = final + (final * (target:getMod(MOD_CURE_POTENCY_RCVD)/100)); local diff = (target:getMaxHP() - target:getHP()); if(final > diff) then final = diff; end caster:eraseStatusEffect(); target:addHP(final); caster:updateEnmityFromCure(target,final); return final; end;
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Southern_San_dOria/npcs/Coderiant.lua
36
1471
----------------------------------- -- Area: Southern San d'Oria -- NPC: Coderiant -- General Info NPC -- @zone 230 -- @pos -111 -2 33 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Southern_San_dOria/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) -- "Flyers for Regine" conditional script FlyerForRegine = player:getQuestStatus(SANDORIA,FLYERS_FOR_REGINE); if (FlyerForRegine == 1) then count = trade:getItemCount(); MagicFlyer = trade:hasItemQty(532,1); if (MagicFlyer == true and count == 1) then player:messageSpecial(FLYER_REFUSED); end end end; ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,npc) player:startEvent(0x247); end; ----------------------------------- -- onEventUpdate ----------------------------------- function onEventUpdate(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); end; ----------------------------------- -- onEventFinish ----------------------------------- function onEventFinish(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); end;
gpl-3.0
zhaozg/luvit
tests/test-emitter.lua
2
3057
--[[ Copyright 2014 The Luvit Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --]] require('tap')(function (test) test("test listenerCount", function() assert(2 == require('core').Emitter:new() :on("foo", function(a) end) :on("foo", function(a,b) end) :on("bar", function(a,b) end) :listenerCount("foo")) assert(0 == require('core').Emitter:new():listenerCount("non-exist")) end) test("chaining", function(expect) require('core').Emitter:new() :on("foo", expect(function(x) assert(x.a == 'b') end)) :emit("foo", { a = "b" }) end) test("removal", function(expect) local e1 = require('core').Emitter:new() local cnt = 0 local function incr() cnt = cnt + 1 end local function dummy() assert(false, "this should be removed and never fire") end e1:on('t1', incr) e1:on('t1', dummy) e1:on('t1', incr) e1:removeListener('t1', dummy) e1:emit('t1') assert(cnt == 2) assert(e1:listenerCount('t1') == 2) end) test("once removal", function(expect) local e1 = require('core').Emitter:new() local cnt = 0 local function incr() cnt = cnt + 1 end local function dummy() assert(false, "this should be removed and never fire") end e1:once('t1', incr) e1:once('t1', dummy) e1:once('t1', incr) e1:removeListener('t1', dummy) e1:emit('t1') assert(cnt == 2) assert(e1:listenerCount('t1') == 0) end) test("remove all listeners", function(expect) local em = require('core').Emitter:new() assert(#em:listeners('data') == 0) em:on('data', function() end) em:removeAllListeners() em:on('data', expect(function() end)) em:emit('data', 'Go Fish') em:on('event', function() end) em:on('event', function() end) assert(em:listenerCount('data') == 1) assert(em:listenerCount('event') == 2) assert(em:listenerCount('data') == #em:listeners('data')) assert(em:listenerCount('event') == #em:listeners('event')) em:removeAllListeners('data') assert(em:listenerCount('data') == 0) assert(em:listenerCount('event') == 2) em:removeAllListeners('unused_listener') assert(em:listenerCount('data') == 0) assert(em:listenerCount('event') == 2) em:removeAllListeners() assert(em:listenerCount('data') == 0) assert(em:listenerCount('event') == 0) assert(em:listenerCount('data') == #em:listeners('data')) assert(em:listenerCount('event') == #em:listeners('event')) end) end)
apache-2.0
otservme/global1053
data/migrations/8.lua
1
3420
function onUpdateDatabase() print("> Updating database to version 9 (global inbox)") db.query("CREATE TABLE IF NOT EXISTS `player_inboxitems` (`player_id` int(11) NOT NULL, `sid` int(11) NOT NULL, `pid` int(11) NOT NULL DEFAULT '0', `itemtype` smallint(6) NOT NULL, `count` smallint(5) NOT NULL DEFAULT '0', `attributes` blob NOT NULL, UNIQUE KEY `player_id_2` (`player_id`,`sid`), KEY `player_id` (`player_id`), FOREIGN KEY (`player_id`) REFERENCES `players`(`id`) ON DELETE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=latin1") -- Delete "market" item db.query("DELETE FROM `player_depotitems` WHERE `itemtype` = 14405") -- Move up items in depot chests local resultId = db.storeQuery("SELECT `player_id`, `pid`, (SELECT `dp2`.`sid` FROM `player_depotitems` AS `dp2` WHERE `dp2`.`player_id` = `dp1`.`player_id` AND `dp2`.`pid` = `dp1`.`sid` AND `itemtype` = 2594) AS `sid` FROM `player_depotitems` AS `dp1` WHERE `itemtype` = 2589") if resultId ~= false then repeat db.query("UPDATE `player_depotitems` SET `pid` = " .. result.getDataInt(resultId, "pid") .. " WHERE `player_id` = " .. result.getDataInt(resultId, "player_id") .. " AND `pid` = " .. result.getDataInt(resultId, "sid")) until not result.next(resultId) result.free(resultId) end -- Delete the depot lockers db.query("DELETE FROM `player_depotitems` WHERE `itemtype` = 2589") -- Delete the depot chests db.query("DELETE FROM `player_depotitems` WHERE `itemtype` = 2594") resultId = db.storeQuery("SELECT DISTINCT `player_id` FROM `player_depotitems` WHERE `itemtype` = 14404") if resultId ~= false then repeat local playerId = result.getDataInt(resultId, "player_id") local runningId = 100 local stmt = "INSERT INTO `player_inboxitems` (`player_id`, `sid`, `pid`, `itemtype`, `count`, `attributes`) VALUES " local resultId2 = db.storeQuery("SELECT `sid` FROM `player_depotitems` WHERE `player_id` = " .. playerId .. " AND `itemtype` = 14404") if resultId2 ~= false then repeat local sids = {} sids[#sids + 1] = result.getDataInt(resultId2, "sid") while #sids > 0 do local sid = sids[#sids] sids[#sids] = nil local resultId3 = db.storeQuery("SELECT * FROM `player_depotitems` WHERE `player_id` = " .. playerId .. " AND `pid` = " .. sid) if resultId3 ~= false then repeat local attr, attrSize = result.getDataStream(resultId3, "attributes") runningId = runningId + 1 stmt = stmt .. "(" .. playerId .. "," .. runningId .. ",0," .. result.getDataInt(resultId3, "itemtype") .. "," .. result.getDataInt(resultId3, "count") .. "," .. db.escapeBlob(attr, attrSize) .. ")," sids[#sids + 1] = result.getDataInt(resultId3, "sid") db.query("DELETE FROM `player_depotitems` WHERE `player_id` = " .. result.getDataInt(resultId, "player_id") .. " AND `sid` = " .. result.getDataInt(resultId3, "sid")) until not result.next(resultId3) result.free(resultId3) end end until not result.next(resultId2) result.free(resultId2) end local stmtLen = string.len(stmt) if stmtLen > 102 then stmt = string.sub(stmt, 1, stmtLen - 1) db.query(stmt) end until not result.next(resultId) result.free(resultId) end -- Delete the inboxes db.query("DELETE FROM `player_depotitems` WHERE `itemtype` = 14404") return true end
gpl-2.0
CNA2/cna3
plugins/info.lua
8
5246
do local function scan_name(extra, success, result) local founds = {} for k,member in pairs(result.members) do if extra.name then gp_member = extra.name fields = {'first_name', 'last_name', 'print_name'} elseif extra.user then gp_member = string.gsub(extra.user, '@', '') fields = {'username'} end for k,field in pairs(fields) do if member[field] and type(member[field]) == 'string' then if member[field]:match(gp_member) then founds[tostring(member.id)] = member end end end end if next(founds) == nil then -- Empty table send_large_msg(extra.receiver, (extra.name or extra.user)..' not found on this chat.') else local text = '' for k,user in pairs(founds) do text = text..'Name: '..(user.first_name or '')..' '..(user.last_name or '')..'\n' ..'نام: '..(user.first_name or '')..'\n' ..'فامیلی: '..(user.last_name or '')..'\n' ..'ایدی: @'..(user.username or '')..'\n' ..'ایدی عددی: '..(user.id or '')..'\n\n' end send_large_msg(extra.receiver, text) end end local function action_by_reply(extra, success, result) local text = 'Name: '..(result.from.first_name or '')..' '..(result.from.last_name or '')..'\n' ..'نام: '..(result.from.first_name or '')..'\n' ..'فامیلی: '..(result.from.last_name or '')..'\n' ..'ایدی: @'..(result.from.username or '')..'\n' ..'ایدی عددی: '..result.from.id send_large_msg(extra.receiver, text) end local function returnids(extra, success, result) local chat_id = extra.msg.to.id local text = '['..result.id..'] '..result.title..'.\n' ..result.members_num..' members.\n\n' i = 0 for k,v in pairs(result.members) do i = i+1 if v.username then user_name = ' @'..v.username else user_name = '' end text = text..i..'. ['..v.id..'] '..user_name..' '..(v.first_name or '')..(v.last_name or '')..'\n' end if extra.matches == 'pm' then send_large_msg('user#id'..extra.msg.from.id, text) elseif extra.matches == 'txt' or extra.matches == 'pmtxt' then local textfile = '/tmp/chat_info_'..chat_id..'_'..os.date("%y%m%d.%H%M%S")..'.txt' local file = io.open(textfile, 'w') file:write(text) file:flush() file:close() if extra.matches == 'txt' then send_document('chat#id'..chat_id, textfile, rmtmp_cb, {file_path=textfile}) elseif extra.matches == 'pmtxt' then send_document('user#id'..extra.msg.from.id, textfile, rmtmp_cb, {file_path=textfile}) end elseif not extra.matches then send_large_msg('chat#id'..chat_id, text) end end local function run(msg, matches) local receiver = get_receiver(msg) if is_chat_msg(msg) then if msg.text == '!info' then if msg.reply_id then if is_mod(msg) then msgr = get_message(msg.reply_id, action_by_reply, {receiver=receiver}) end else local text = 'Name: '..(msg.from.first_name or '')..' '..(msg.from.last_name or '')..'\n' ..'First name: '..(msg.from.first_name or '')..'\n' ..'Last name: '..(msg.from.last_name or '')..'\n' ..'User name: @'..(msg.from.username or '')..'\n' ..'ID: ' .. msg.from.id local text = text..'\n\nYou are in group ' ..msg.to.title..' (ID: '..msg.to.id..')' return text end elseif is_mod(msg) and matches[1] == 'chat' then if matches[2] == 'pm' or matches[2] == 'txt' or matches[2] == 'pmtxt' then chat_info(receiver, returnids, {msg=msg, matches=matches[2]}) else chat_info(receiver, returnids, {msg=msg}) end elseif is_mod(msg) and string.match(matches[1], '^@.+$') then chat_info(receiver, scan_name, {receiver=receiver, user=matches[1]}) elseif is_mod(msg) and string.gsub(matches[1], ' ', '_') then user = string.gsub(matches[1], ' ', '_') chat_info(receiver, scan_name, {receiver=receiver, name=matches[1]}) end else return 'You are not in a group.' end end return { description = 'Know your id or the id of a chat members.', usage = { user = { '!info: will show your id and group id .' }, moderator = { '!info : will give you the id of member or yourself', '!info chat : the ids of chat', '!info chat txt : will give the ids of chat in text file', '!info chat pm : will give chat ids in Private ', '!info chat pmtxt : will give chat ids in text file to your privat', '!info <id> : will shot the ids of chat group', '!info @<user_name> : will return the info of username ', '!info <text> : will return the info of that name or last name' }, }, patterns = { "^info$", "^info (chat) (.*)$", "^info (chat) (.*)$", "^info (.*)$" }, run = run } end
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/RuAun_Gardens/mobs/Groundskeeper.lua
25
1323
----------------------------------- -- Area: RuAun Gardens -- MOB: Groundskeeper -- Note: Place holder Despot ----------------------------------- require("scripts/zones/RuAun_Gardens/MobIDs"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onMobDeath ----------------------------------- function onMobDeath(mob,killer) checkRegime(killer,mob,143,2); checkRegime(killer,mob,144,1); -- Get Groundskeeper ID and check if it is a PH of Despot mob = mob:getID(); -- Check if Groundskeeper is within the Despot_PH table if (Despot_PH[mob] ~= nil) then -- printf("%u is a PH",mob); -- Get Despot previous ToD Despot_ToD = GetServerVariable("[POP]Despot"); -- Check if Despot window is open, and there is not an Despot popped already(ACTION_NONE = 0) if (Despot_ToD <= os.time(t) and GetMobAction(Despot) == 0) then -- printf("Despot window open"); -- Give Groundskeeper 5 percent chance to pop Despot if (math.random(1,20) == 5) then -- printf("Despot will pop"); GetMobByID(Despot):setRespawnTime(GetMobRespawnTime(mob)); SetServerVariable("[PH]Despot", mob); DeterMob(mob, true); end end end end;
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Apollyon/mobs/Dark_Elemental.lua
17
2413
----------------------------------- -- Area: Apollyon SW -- NPC: elemental ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEngaged(mob,target) end; ----------------------------------- -- onMobDeath ----------------------------------- function onMobDeath(mob,killer) local mobID = mob:getID(); print(mobID); local mobX = mob:getXPos(); local mobY = mob:getYPos(); local mobZ = mob:getZPos(); local elementalday = GetServerVariable("[SW_Apollyon]ElementalTrigger"); local correctelement=false; switch (elementalday): caseof { [1] = function (x) if(mobID==16932913 or mobID==16932921 or mobID==16932929)then correctelement=true; end end , [2] = function (x) if(mobID==16932912 or mobID==16932920 or mobID==16932928 )then correctelement=true; end end , [3] = function (x) if(mobID==16932916 or mobID==16932924 or mobID==16932932 )then correctelement=true; end end , [4] = function (x) if(mobID==16932910 or mobID==16932918 or mobID==16932926 )then correctelement=true; end end , [5] = function (x) if(mobID==16932914 or mobID==16932922 or mobID==16932930 )then correctelement=true; end end , [6] = function (x) if(mobID==16932917 or mobID==16932925 or mobID==16932933 )then correctelement=true; end end , [7] = function (x) if(mobID==16932931 or mobID==16932915 or mobID==16932923 )then correctelement=true; end end , [8] = function (x) if(mobID==16932911 or mobID==16932919 or mobID==16932927 )then correctelement=true; end end , }; if(correctelement==true and IselementalDayAreDead()==true)then GetNPCByID(16932864+313):setPos(mobX,mobY,mobZ); GetNPCByID(16932864+313):setStatus(STATUS_NORMAL); end end;
gpl-3.0
miralireza/telegram_star
plugins/boobs.lua
731
1601
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if not data and attempt <= 3 then print('Cannot get that butts, trying another one...') return getRandomButts(attempt) end return 'http://media.obutts.ru/' .. data.preview end local function getRandomBoobs(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.oboobs.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if not data and attempt < 10 then print('Cannot get that boobs, trying another one...') return getRandomBoobs(attempt) end return 'http://media.oboobs.ru/' .. data.preview end local function run(msg, matches) local url = nil if matches[1] == "!boobs" then url = getRandomBoobs() end if matches[1] == "!butts" then url = getRandomButts() end if url ~= nil then local receiver = get_receiver(msg) send_photo_from_url(receiver, url) else return 'Error getting boobs/butts for you, please try again later.' end end return { description = "Gets a random boobs or butts pic", usage = { "!boobs: Get a boobs NSFW image. 🔞", "!butts: Get a butts NSFW image. 🔞" }, patterns = { "^!boobs$", "^!butts$" }, run = run } end
gpl-2.0
The-HalcyonDays/darkstar
scripts/globals/items/bowl_of_riverfin_soup.lua
36
1822
----------------------------------------- -- ID: 6069 -- Item: Bowl of Riverfin Soup -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- Accuracy % 14 Cap 90 -- Ranged Accuracy % 14 Cap 90 -- Attack % 18 Cap 80 -- Ranged Attack % 18 Cap 80 -- Amorph Killer 5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------------------------------------- function onItemCheck(target) local result = 0; if (target:hasStatusEffect(EFFECT_FOOD) == true or target:hasStatusEffect(EFFECT_FIELD_SUPPORT_FOOD) == true) then result = 246; end return result; end; ----------------------------------------- -- OnItemUse ----------------------------------------- function onItemUse(target) target:addStatusEffect(EFFECT_FOOD,0,0,10800,6069); end; ----------------------------------------- -- onEffectGain Action ----------------------------------------- function onEffectGain(target,effect) target:addMod(MOD_FOOD_ACCP, 14); target:addMod(MOD_FOOD_ACC_CAP, 90); target:addMod(MOD_FOOD_RACCP, 14); target:addMod(MOD_FOOD_RACC_CAP, 90); target:addMod(MOD_FOOD_ATTP, 18); target:addMod(MOD_FOOD_ATT_CAP, 80); target:addMod(MOD_FOOD_RATTP, 18); target:addMod(MOD_FOOD_RATT_CAP, 80); target:addMod(MOD_AMORPH_KILLER, 5); end; ----------------------------------------- -- onEffectLose Action ----------------------------------------- function onEffectLose(target,effect) target:delMod(MOD_FOOD_ACCP, 14); target:delMod(MOD_FOOD_ACC_CAP, 90); target:delMod(MOD_FOOD_RACCP, 14); target:delMod(MOD_FOOD_RACC_CAP, 90); target:delMod(MOD_FOOD_ATTP, 18); target:delMod(MOD_FOOD_ATT_CAP, 80); target:delMod(MOD_FOOD_RATTP, 18); target:delMod(MOD_FOOD_RATT_CAP, 80); target:delMod(MOD_AMORPH_KILLER, 5); end;
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5f6.lua
34
1105
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Odin's Gate -- @pos 260 -34 110 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,npc) if (npc:getAnimation() == 9) then player:messageSpecial(SOLID_STONE); end return 0; end; -- ----------------------------------- -- onEventUpdate ----------------------------------- function onEventUpdate(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); end; ----------------------------------- -- onEventFinish ----------------------------------- function onEventFinish(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); end;
gpl-3.0
bobsomers/flexrender
frlib/base/mat4.lua
1
6798
-- Import relevant base types. local types = require "base.types" require "base.common" require "base.vec4" -- Import utility functions. local geometric = require "base.geometric" -- Module aliases. local mat4 = types.mat4 local vec4 = types.vec4 local dot = geometric.dot -- Constructor that provides the following forms: -- mat4() -> [identity] -- mat4(x) -> [<x..x>,..,<x..x>] (x is a number) -- mat4(m) -> [<m11..m14>,..,<m41..m44>] (m is a mat4) -- mat4(a, b, c, d) -> [a, b, c, d] (a, b, c, d are column vec4s) -- mat4(a,..,p) -> [<a..d>,..,<m..p>] (a..p are numbers) function mat4.new(...) local m = nil local nargs = select('#', ...) if nargs == 0 then m = {vec4.frnew(1, 0, 0, 0), vec4.frnew(0, 1, 0, 0), vec4.frnew(0, 0, 1, 0), vec4.frnew(0, 0, 0, 1)} elseif nargs == 1 then local arg = select(1, ...) local argmt = getmetatable(arg) if type(arg) == "number" then m = {vec4.frnew(arg, arg, arg, arg), vec4.frnew(arg, arg, arg, arg), vec4.frnew(arg, arg, arg, arg), vec4.frnew(arg, arg, arg, arg)} elseif argmt == mat4 then m = {vec4.frnew(arg[1][1], arg[1][2], arg[1][3], arg[1][4]), vec4.frnew(arg[2][1], arg[2][2], arg[2][3], arg[2][4]), vec4.frnew(arg[3][1], arg[3][2], arg[3][3], arg[3][4]), vec4.frnew(arg[4][1], arg[4][2], arg[4][3], arg[4][4])} else error("invalid construction of mat4", 3) end elseif nargs == 4 then local args = {select(1, ...), select(2, ...), select(3, ...), select(4, ...)} if getmetatable(args[1]) ~= vec4 or getmetatable(args[2]) ~= vec4 or getmetatable(args[3]) ~= vec4 or getmetatable(args[4]) ~= vec4 then error("invalid construction of vec4", 3) end m = {vec4.frnew(args[1][1], args[1][2], args[1][3], args[1][4]), vec4.frnew(args[2][1], args[2][2], args[2][3], args[2][4]), vec4.frnew(args[3][1], args[3][2], args[3][3], args[3][4]), vec4.frnew(args[4][1], args[4][2], args[4][3], args[4][4])} elseif nargs == 16 then local args = {select(1, ...), select(2, ...), select(3, ...), select(4, ...), select(5, ...), select(6, ...), select(7, ...), select(8, ...), select(9, ...), select(10, ...), select(11, ...), select(12, ...), select(13, ...), select(14, ...), select(15, ...), select(16, ...)} if type(args[1]) ~= "number" or type(args[2]) ~= "number" or type(args[3]) ~= "number" or type(args[4]) ~= "number" or type(args[5]) ~= "number" or type(args[6]) ~= "number" or type(args[7]) ~= "number" or type(args[8]) ~= "number" or type(args[9]) ~= "number" or type(args[10]) ~= "number" or type(args[11]) ~= "number" or type(args[12]) ~= "number" or type(args[13]) ~= "number" or type(args[14]) ~= "number" or type(args[15]) ~= "number" or type(args[16]) ~= "number" then error("invalid construction of mat4", 3) end m = {vec4.frnew(args[1], args[2], args[3], args[4]), vec4.frnew(args[5], args[6], args[7], args[8]), vec4.frnew(args[9], args[10], args[11], args[12]), vec4.frnew(args[13], args[14], args[15], args[16])} else error("invalid construction of mat4", 3) end setmetatable(m, mat4) return m end -- Fast constructor for internal use only. function mat4.frnew(a, b, c, d) local m = {a, b, c, d} setmetatable(m, mat4) return m end -- Attempts to coerce val to a mat4 by construction. function mat4.frcoerce(val) if getmetatable(val) == mat4 then return val end local result, m = pcall(mat4.new, val) if result then return m end error("no known conversion to mat4", 3) end -- Converts the matrix to a string representation. function mat4.__tostring(m) return table.concat { "mat4<", tostring(m[1]), ", ", tostring(m[2]), ", ", tostring(m[3]), ", ", tostring(m[4]), ">" } end -- Adds two matrices component-wise, coercing the arguments as necessary. -- Always produces a mat4. function mat4.__add(a, b) a = mat4.frcoerce(a) b = mat4.frcoerce(b) return mat4.frnew(a[1] + b[1], a[2] + b[2], a[3] + b[3], a[4] + b[4]) end -- Subtracts two matrices component-wise, coercing the arguments as necessary. -- Always produces a mat4. function mat4.__sub(a, b) a = mat4.frcoerce(a) b = mat4.frcoerce(b) return mat4.frnew(a[1] - b[1], a[2] - b[2], a[3] - b[3], a[4] - b[4]) end -- If a and b are mat4s, performs matrix multiplcation and produces a mat4. -- If a is a mat4 and b is a vec4, performs matrix-vector multiplication and -- produces a vec4. -- Otherwise multiples component-wise, coercing the arguments as necessary and -- produces a mat4. function mat4.__mul(a, b) local mta = getmetatable(a) local mtb = getmetatable(b) if mta == mat4 then local rows = {vec4.frnew(a[1][1], a[2][1], a[3][1], a[4][1]), vec4.frnew(a[1][2], a[2][2], a[3][2], a[4][2]), vec4.frnew(a[1][3], a[2][3], a[3][3], a[4][3]), vec4.frnew(a[1][4], a[2][4], a[3][4], a[4][4])} local cols = b if mtb == mat4 then return mat4.frnew(vec4.frnew(dot(rows[1], cols[1]), dot(rows[2], cols[1]), dot(rows[3], cols[1]), dot(rows[4], cols[1])), vec4.frnew(dot(rows[1], cols[2]), dot(rows[2], cols[2]), dot(rows[3], cols[2]), dot(rows[4], cols[2])), vec4.frnew(dot(rows[1], cols[3]), dot(rows[2], cols[3]), dot(rows[3], cols[3]), dot(rows[4], cols[3])), vec4.frnew(dot(rows[1], cols[4]), dot(rows[2], cols[4]), dot(rows[3], cols[4]), dot(rows[4], cols[4]))) elseif mtb == vec4 then return vec4.frnew(dot(rows[1], cols), dot(rows[2], cols), dot(rows[3], cols), dot(rows[4], cols)) end end a = mat4.frcoerce(a) b = mat4.frcoerce(b) return mat4.frnew(a[1] * b[1], a[2] * b[2], a[3] * b[3], a[4] * b[4]) end -- Divides two matrices component-wise, coercing the arguments as necessary. -- Always produces a mat4. function mat4.__div(a, b) a = mat4.frcoerce(a) b = mat4.frcoerce(b) return mat4.frnew(a[1] / b[1], a[2] / b[2], a[3] / b[3], a[4] / b[4]) end -- Negates a matrix component-wise. -- Always produces a mat4. function mat4.__unm(m) return mat4.frnew(-m[1], -m[2], -m[3], -m[4]) end -- Module exports. return nil
mit
telldus/tellstick-lua-examples
zwave/Fibaro/RGBW-to-sensor.lua
1
1212
-- Script to convert the SWITCH_MULTILEVEL_REPORT that is sent from the analog -- input on Fibaro RGBW Controller FGRGBWM-441 to a sensor value. -- The sensor value is shown as degrees celcius (°C), but is in fact voltage (V). -- This script can only handle 1 analog input as it is now. -- Please note that configuration 14 has to be set to handle analog 0-10 V input. -- Use configuration 43 to set the input change threshold local main_device = "Fibaro RGBW" -- Set the name of the main device local analog_input = "Fibaro RGBW IN1" -- Set the name of the device that is IN1 local debug = true -- Select if you like to se debug data in the console or not -- DO NOT EDIT BELOW THIS LINE -- SWITCH_MULTILEVEL = 0x26 SWITCH_MULTILEVEL_REPORT = 3 local deviceManager = require "telldus.DeviceManager" local sensor = deviceManager:findByName(main_device) function onZwaveMessageReceived(device, flags, cmdClass, cmd, data) if device:name() ~= analog_input then return end if cmdClass ~= SWITCH_MULTILEVEL or cmd ~= SWITCH_MULTILEVEL_REPORT then return end voltage = data[0] / 10 if debug == true then print("%s - %s V", device:name(), voltage) end sensor:setSensorValue(1, voltage, 0) end
mit
zhaozg/luvit
examples/poll-libcurl.lua
12
5680
-- FFI example for libcurl integration into the libuv event loop local ffi = require('ffi') local bit = require('bit') local uv = require('uv') local timer = require('timer') local Object = require('core').Object local utils = require('utils') local libcurl = ffi.load('libcurl') ffi.cdef[[ enum CURLMSG { CURLMSG_NONE, /* first, not used */ CURLMSG_DONE, /* This easy handle has completed. 'result' contains the CURLcode of the transfer */ CURLMSG_LAST /* last, not used */ }; struct CURLMsg { enum CURLMSG msg; /* what this message means */ void *easy_handle; /* the handle it concerns */ union { void *whatever; /* message-specific data */ int result; /* return code for transfer */ } data; }; enum curl_global_option { CURL_GLOBAL_ALL = 2, }; enum curl_multi_option { CURLMOPT_SOCKETFUNCTION = 20000 + 1, CURLMOPT_TIMERFUNCTION = 20000 + 4 }; enum curl_socket_option { CURL_SOCKET_TIMEOUT = -1 }; enum curl_poll_option { CURL_POLL_IN = 1, CURL_POLL_OUT = 2, CURL_POLL_REMOVE = 4 }; enum curl_option { CURLOPT_CAINFO = 10065, CURLOPT_CONNECTTIMEOUT = 78, CURLOPT_COOKIE = 10022, CURLOPT_FOLLOWLOCATION = 52, CURLOPT_HEADER = 42, CURLOPT_HTTPHEADER = 10023, CURLOPT_INTERFACE = 10062, CURLOPT_POST = 47, CURLOPT_POSTFIELDS = 10015, CURLOPT_REFERER = 10016, CURLOPT_SSL_VERIFYPEER = 64, CURLOPT_URL = 10002, CURLOPT_USERAGENT = 10018, CURLOPT_WRITEFUNCTION = 20011 }; enum curl_cselect_option { CURL_CSELECT_IN = 0x01, CURL_CSELECT_OUT = 0x02 }; /* #define CURLOPTTYPE_LONG 0 #define CURLOPTTYPE_OBJECTPOINT 10000 #define CURLOPTTYPE_FUNCTIONPOINT 20000 #define CURLOPTTYPE_OFF_T 30000 */ void *curl_easy_init(); int curl_easy_setopt(void *curl, enum curl_option option, ...); int curl_easy_perform(void *curl); void curl_easy_cleanup(void *curl); char *curl_easy_strerror(int code); int curl_global_init(enum curl_global_option option); void *curl_multi_init(); int curl_multi_setopt(void *curlm, enum curl_multi_option option, ...); int curl_multi_add_handle(void *curlm, void *curl_handle); int curl_multi_socket_action(void *curlm, int s, int ev_bitmask, int *running_handles); int curl_multi_assign(void *curlm, int sockfd, void *sockp); int curl_multi_remove_handle(void *curlm, void *curl_handle); struct CURLMsg *curl_multi_info_read(void *culm, int *msgs_in_queue); typedef int (*curlm_socketfunction_ptr_t)(void *curlm, int sockfd, int ev_bitmask, int *running_handles); typedef int (*curlm_timeoutfunction_ptr_t)(void *curlm, long timeout_ms, int *userp); typedef size_t (*curl_datafunction_ptr_t)(char *ptr, size_t size, size_t nmemb, void *userdata); ]] local Multi = Object:extend() function Multi:initialize() self.polls = {} self.socketWrapper = ffi.cast('curlm_socketfunction_ptr_t', utils.bind(Multi._onSocket, self)) self.timeoutWrapper = ffi.cast('curlm_timeoutfunction_ptr_t', utils.bind(Multi._onTimeout, self)) self.multi = libcurl.curl_multi_init() libcurl.curl_multi_setopt(self.multi, ffi.C.CURLMOPT_SOCKETFUNCTION, self.socketWrapper) libcurl.curl_multi_setopt(self.multi, ffi.C.CURLMOPT_TIMERFUNCTION, self.timeoutWrapper) end function Multi:add(url) local handle = libcurl.curl_easy_init() local dataCallback = ffi.cast('curl_datafunction_ptr_t', utils.bind(Multi._onData, self)) libcurl.curl_easy_setopt(handle, ffi.C.CURLOPT_URL, url) libcurl.curl_easy_setopt(handle, ffi.C.CURLOPT_WRITEFUNCTION, dataCallback) libcurl.curl_multi_add_handle(self.multi, handle); end function Multi:_onData(ptr, size, nmemb, userdata) print(ffi.string(ptr)) return size end function Multi:_onSocket(easy, sockfd, action) timer.clearTimer(self.timer) local function perform(err, events) local flags = bit.tobit(0) if events == 'r' then flags = bit.bor(flags, ffi.C.CURL_CSELECT_IN) elseif events == 'w' then flags = bit.bor(flags, ffi.C.CURL_CSELECT_OUT) end local running_handles = ffi.new('int[1]') libcurl.curl_multi_socket_action(self.multi, sockfd, flags, running_handles) while true do local pending = ffi.new('int[1]') local msg = libcurl.curl_multi_info_read(self.multi, pending) if msg == nil then break end if msg.msg == ffi.C.CURLMSG_DONE then libcurl.curl_multi_remove_handle(self.multi, easy) libcurl.curl_easy_cleanup(easy) break end end end local poll = self.polls[sockfd] if not poll then poll = uv.new_poll(sockfd) self.polls[sockfd] = poll end if action == ffi.C.CURL_POLL_IN then uv.poll_start(poll, 'r', perform) elseif action == ffi.C.CURL_POLL_OUT then uv.poll_start(poll, 'w', perform) elseif action == ffi.C.CURL_POLL_REMOVE then uv.poll_stop(poll) uv.close(poll) self.polls[sockfd] = nil end return 0 end function Multi:_onTimeout(curlm, timeout_ms) timeout_ms = tonumber(timeout_ms) if timeout_ms < 0 then timeout_ms = 1 end if self.timer then timer.clearTimer(self.timer) end local function action() local running_handles = ffi.new('int[1]') libcurl.curl_multi_socket_action(curlm, ffi.C.CURL_SOCKET_TIMEOUT, 0, running_handles) end self.timer = timer.setTimeout(timeout_ms, action) return 0 end libcurl.curl_global_init(ffi.C.CURL_GLOBAL_ALL) local m = Multi:new() for i=1, 2 do m:add('https://luvit.io/') end
apache-2.0
CodeAndWeb/TexturePacker-Shiva-JPSprite
ShivaProject/Resources/Scripts/JPSpriteSample_Function_updateInfoLabel.lua
1
1048
-------------------------------------------------------------------------------- -- Function......... : updateInfoLabel -- Author........... : -- Description...... : -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function JPSpriteSample.updateInfoLabel ( ) -------------------------------------------------------------------------------- local hInfoText = hud.getComponent ( this.getUser ( ), "JPSpriteSample.InfoText" ) local nFramerate = 1 / application.getAverageFrameTime ( ) local hFramerate = hud.getComponent ( this.getUser ( ), "JPSpriteSample.Framerate" ) local nSpriteCount = table.getSize ( this.tSpritesData ( ) ) hud.setLabelText ( hInfoText, string.format ( "%i sprites %i fps", nSpriteCount, nFramerate ) ) -------------------------------------------------------------------------------- end --------------------------------------------------------------------------------
mit
The-HalcyonDays/darkstar
scripts/zones/Mhaura/npcs/Phoochuchu.lua
19
1441
----------------------------------- -- Area: Mhaura -- NPC: Phoochuchu -- Involved in Quest: A Thief in Norg!? -- @pos -4 -4 69 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Mhaura/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,npc) if(player:getQuestStatus(OUTLANDS,A_THIEF_IN_NORG) == QUEST_ACCEPTED) then local aThiefinNorgCS = player:getVar("aThiefinNorgCS"); if(aThiefinNorgCS == 2) then player:startEvent(0x012d); elseif(aThiefinNorgCS == 3) then player:startEvent(0x012f); elseif(aThiefinNorgCS >= 4) then player:startEvent(0x012e); end else player:startEvent(0x012c); end end; ----------------------------------- -- onEventUpdate ----------------------------------- function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end; ----------------------------------- -- onEventFinish ----------------------------------- function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); if(csid == 0x012d) then player:setVar("aThiefinNorgCS",3); end end;
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Quicksand_Caves/npcs/qm7.lua
8
1900
----------------------------------- -- Area: Quicksand Caves -- NPC: ??? -- Involved in Mission: The Mithra and the Crystal (Zilart 12) -- @pos -504 20 -419 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("scripts/zones/Quicksand_Caves/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,npc) if(player:getCurrentMission(ZILART) == THE_MITHRA_AND_THE_CRYSTAL and player:getVar("ZilartStatus") == 1 and player:hasKeyItem(SCRAP_OF_PAPYRUS) == false) then if(player:needToZone() and player:getVar("AncientVesselKilled") == 1) then player:setVar("AncientVesselKilled",0); player:addKeyItem(SCRAP_OF_PAPYRUS); player:messageSpecial(KEYITEM_OBTAINED,SCRAP_OF_PAPYRUS); else player:startEvent(0x000c); end elseif(player:hasCompletedMission(ZILART,THE_MITHRA_AND_THE_CRYSTAL) or player:hasKeyItem(SCRAP_OF_PAPYRUS)) then player:messageSpecial(YOU_FIND_NOTHING); else player:messageSpecial(SOMETHING_IS_BURIED); end end; ----------------------------------- -- onEventUpdate ----------------------------------- function onEventUpdate(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); end; ----------------------------------- -- onEventFinish ----------------------------------- function onEventFinish(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); if(csid == 0x000c and option == 1) then SpawnMob(17629642,600):updateClaim(player); -- Ancient Vessel end end;
gpl-3.0
The-HalcyonDays/darkstar
scripts/globals/weaponskills/slice.lua
30
1623
----------------------------------- -- Slice -- Scythe weapon skill -- Skill level: 5 -- Delivers a single-hit attack. Damage varies with TP. -- Modifiers: STR:100% -- 100%TP 200%TP 300%TP -- 1.50 1.75 2.00 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/settings"); require("scripts/globals/weaponskills"); ----------------------------------- function onUseWeaponSkill(player, target, wsID) local params = {}; params.numHits = 1; --ftp damage mods (for Damage Varies with TP; lines are calculated in the function params.ftp100 = 1.5; params.ftp200 = 1.75; params.ftp300 = 2.0; --wscs are in % so 0.2=20% params.str_wsc = 0.3; params.dex_wsc = 0.0; params.vit_wsc = 0.0; params.agi_wsc = 0.0; params.int_wsc = 0.0; params.mnd_wsc = 0.0; params.chr_wsc = 0.0; --critical mods, again in % (ONLY USE FOR CRITICAL HIT VARIES WITH TP) params.crit100 = 0.0; params.crit200=0.0; params.crit300=0.0; params.canCrit = false; --accuracy mods (ONLY USE FOR ACCURACY VARIES WITH TP) , should be the acc at those %s NOT the penalty values. Leave 0 if acc doesnt vary with tp. params.acc100 = 0; params.acc200=0; params.acc300=0; --attack multiplier (only some WSes use this, this varies the actual ratio value, see Tachi: Kasha) 1 is default. params.atkmulti = 1; if (USE_ADOULIN_WEAPON_SKILL_CHANGES == true) then params.str_wsc = 1.0; end local damage, criticalHit, tpHits, extraHits = doPhysicalWeaponskill(player, target, params); damage = damage * WEAPON_SKILL_POWER return tpHits, extraHits, criticalHit, damage; end
gpl-3.0
rrpgfirecast/firecast
Macros/Uteis/timer.lua
1
4297
-- -- -- -- -- -- /@@@ ,, -- @@@@@@ ,@@@@@&@@@@. -- @@@@@@@@ @@& *&@&@@%@ -- ,@@@ %@@@@& @@@@ @@@@# -- @@@( @%@%& @@@@ @@@@@&@@%&%. -- @@@@@ %@@&/ ,@@@@@@@@ -- (@&&%@ , &@@@&(& -- #@@@@& ,@#@ ,&@@*@# -- @@@@@& @@@@ @@@@@% -- .@@@@@. @@@@@, @@@# -- @@@@%@ ,@@&&@@@@@@@@@&&( -- @@@@@@ @&@@@@@@. -- @@@@@@@*&@ -- %@@%@@@@& -- %@@@&@ -- -- -- -- -- MACRO TIMER by thirteen local function SecondsToClock(seconds) local days = math.floor(seconds / 86400) seconds = seconds - days * 86400 local hours = math.floor(seconds / 3600 ) seconds = seconds - hours * 3600 local minutes = math.floor(seconds / 60) seconds = seconds - minutes * 60 return string.format("%02d:%02d:%02d:%02d.",days,hours,minutes,seconds); end; if(arg[1] ~= nil and arg[2] ~= nil) then alarme = ""; IdA = ""; -- CAPTANDO TEMPO DO ALARME timer = arg[1]; if (string.sub(timer, -1) == "s") then timer = tonumber(string.match(timer, '%d[%d.,]*')) * 1000; alarme = "[§B][§K1]".. tostring(math.floor((timer)/1000)).."[§K14] segundos"; elseif (string.sub(timer, -1) == "m") then timer = tonumber(string.match(timer, '%d[%d.,]*')) * 60000; alarme = "[§B][§K1]".. tostring(math.floor((timer)/60000)).."[§K14] minutos"; elseif (string.sub(timer, -1) == "h") then timer = tonumber(string.match(timer, '%d[%d.,]*')) * 3600000; alarme = "[§B][§K1]".. tostring(math.floor((timer)/3600000)).."[§K14] horas"; else escrever("[§K14][§B]Comando Inválido![§B] /[§K2][§B]timer[§K15][§B] <[§K14]Tempo[§K15]h/m/s> <[§K14]Intervalo de Avisos[§K15]h/m/s>."); return; end; -- CAPTANDO INTERVALOS DE AVISO interval = arg[2]; if (string.sub(interval, -1) == "s") then interval = tonumber(string.match(interval, '%d[%d.,]*')) * 1000; IdA = "[§B][§K1]".. tostring(math.floor((interval)/1000)).."[§K14] segundos"; elseif (string.sub(interval, -1) == "m") then interval = tonumber(string.match(interval, '%d[%d.,]*')) * 60000; IdA = "[§B][§K1]".. tostring(math.floor((interval)/60000)).."[§K14] minutos"; elseif (string.sub(interval, -1) == "h") then interval = tonumber(string.match(interval, '%d[%d.,]*')) * 3600000; IdA = "[§B][§K1]".. tostring(math.floor((interval)/3600000)).."[§K14] horas"; else escrever("[§K14][§B]Comando Inválido![§B] /[§K2][§B]timer[§K15][§B] <[§K14]Tempo[§K15]h/m/s> <[§K14]Intervalo de Avisos[§K15]h/m/s>."); return; end; if(interval>timer) then interval = timer; IdA = alarme; end; enviar("⏳ [§B][§K2]Alarme: ".. alarme .." [§B][§K2]Intervalo de Avisos: " .. IdA); wait(400); -- TIMER if(timer ~= interval) then for i = 0, timer, interval do if (timer-i > 0) then escrever("⏳ [§B][§K2]Tempo restante:[§B] [§K1]".. SecondsToClock((timer-i)/1000)); else escrever("⏳ [§B][§K1]Tempo esgotado."); enviar("/rir"); end; if((timer - i) > interval) then wait(interval); else wait(timer - i); escrever("⏳ [§B][§K1]Tempo esgotado."); enviar("/rir"); break; end; end; else escrever("⏳ [§B][§K2]Tempo restante:[§B] [§K1]".. SecondsToClock((timer)/1000)); wait(interval); escrever("⏳ [§B][§K1]Tempo esgotado."); enviar("/rir"); end; else escrever("[§K14][§B]Comando Inválido![§B] /[§K2][§B]timer[§K15][§B] <[§K14]Tempo[§K15]h/m/s> <[§K14]Intervalo de Avisos[§K15]h/m/s>."); end;
apache-2.0
ds84182/roblox-sbx
source/native/settings.lua
1
2868
local Settings = cure:WaitForChild('settings') local settings = {} local eventChanged do local connections = {} local waitEvent = Instance.new('BoolValue') local waitArguments = {} local Event = {} local Invoker = {Event = Event} function Event:connect(func) local connection = {connected = true} function connection:disconnect() for i = 1,#connections do if connections[i][2] == self then table.remove(connections,i) break end end self.connected = false end connections[#connections+1] = {func,connection} return connection end function Event:wait() waitEvent.Changed:wait() return unpack(waitArguments) end function Invoker:Fire(...) waitArguments = {...} waitEvent.Value = not waitEvent.Value for i,conn in pairs(connections) do conn[1](...) end end settings.Changed = Event eventChanged = Invoker end local function connectEvents(object) local conChanged,conParent conChanged = object.Changed:connect(function(value) eventChanged:Fire(object.Name,value) end) conParent = object.AncestryChanged:connect(function() if object.Parent ~= Settings then conChanged:disconnect() conParent:disconnect() end end) end for i,object in pairs(Settings:GetChildren()) do connectEvents(object) end Settings.ChildAdded:connect(connectEvents) do local convertCase = { ['bool'] = 'Bool'; ['boolean'] = 'Bool'; ['brickcolor'] = 'BrickColor'; ['cframe'] = 'CFrame'; ['color3'] = 'Color3'; ['int'] = 'Int'; ['number'] = 'Number'; ['object'] = 'Object'; ['ray'] = 'Ray'; ['string'] = 'String'; ['vector3'] = 'Vector3'; } function settings:Add(key,type,value) if key == "Add" or key == "Remove" or key == "Changed" then error("'" .. key .. "' cannot used as a setting",2) end if Settings:FindFirstChild(key) then return false else local dtype = convertCase[tostring(type):lower()] if not dtype then error("`" .. tostring(type) .. "` is not a valid type",2) end local object = Instance.new(dtype .. 'Value') object.Name = key object.Value = value object.Parent = Settings return true end end end function settings:Remove(key) local value = Settings:FindFirstChild(key) if value then value:Destroy() return true else return false end end local function setvalue(value,v) value.Value = v end setmetatable(settings,{ __index = function(self,k) local value = Settings:FindFirstChild(k) if value then return value.Value else error("setting `" .. tostring(k) .. "` does not exist",2) end end; __newindex = function(self,k,v) local value = Settings:FindFirstChild(k) if value then local s,e = pcall(setvalue,value,v) if not s then error(e,2) end else error("setting `" .. tostring(k) .. "` does not exist",2) end end; }) return settings
lgpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Upper_Jeuno/npcs/HomePoint#1.lua
12
1252
----------------------------------- -- Area: Upper Jeuno -- NPC: HomePoint#1 -- @pos -98.981 0.001 167.569 244 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/globals/homepoint"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,npc) homepointMenu( player, 0x21fc, 32); end; ----------------------------------- -- onEventUpdate ----------------------------------- function onEventUpdate(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); end; ----------------------------------- -- onEventFinish ----------------------------------- function onEventFinish(player,csid,option) --printf("CSID: %u",csid); --printf("RESULT: %u",option); if(csid == 0x21fc) then if (option == 1) then player:setHomePoint(); player:messageSpecial(HOMEPOINT_SET); else hpTeleport( player, option); end end end;
gpl-3.0
rrpgfirecast/firecast
Plugins/Sheets/Ficha Ragnarock/output/rdkObjs/Ficha Ragnarock/Library.lfm.lua
2
3837
require("rrpg.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); function newfrmLibrary() __o_rrpgObjs.beginObjectsLoading(); local obj = gui.fromHandle(_obj_newObject("form")); local self = obj; local sheet = nil; rawset(obj, "_oldSetNodeObjectFunction", rawget(obj, "setNodeObject")); function obj:setNodeObject(nodeObject) sheet = nodeObject; self.sheet = nodeObject; self:_oldSetNodeObjectFunction(nodeObject); end; function obj:setNodeDatabase(nodeObject) self:setNodeObject(nodeObject); end; _gui_assignInitialParentForForm(obj.handle); obj:beginUpdate(); obj:setName("frmLibrary"); obj:setAlign("client"); obj.scrollBox1 = gui.fromHandle(_obj_newObject("scrollBox")); obj.scrollBox1:setParent(obj); obj.scrollBox1:setAlign("client"); obj.scrollBox1:setName("scrollBox1"); obj.image1 = gui.fromHandle(_obj_newObject("image")); obj.image1:setParent(obj.scrollBox1); obj.image1:setAlign("client"); obj.image1:setField("bgLibrary"); obj.image1:setStyle("autoFit"); obj.image1:setEditable(true); obj.image1:setName("image1"); obj.dataLink1 = gui.fromHandle(_obj_newObject("dataLink")); obj.dataLink1:setParent(obj.image1); obj.dataLink1:setField("bgLibrary"); obj.dataLink1:setDefaultValue(""); obj.dataLink1:setName("dataLink1"); obj.button1 = gui.fromHandle(_obj_newObject("button")); obj.button1:setParent(obj.image1); obj.button1:setAlign("top"); obj.button1:setText("Novo"); obj.button1:setHint("Adicionar"); obj.button1:setMargins({bottom=10}); obj.button1:setName("button1"); obj.rclLibrary = gui.fromHandle(_obj_newObject("recordList")); obj.rclLibrary:setParent(obj.image1); obj.rclLibrary:setAlign("client"); obj.rclLibrary:setName("rclLibrary"); obj.rclLibrary:setField("listaLibrary"); obj.rclLibrary:setTemplateForm("frmNPCForm"); obj.rclLibrary:setLayout("horizontalTiles"); obj.rclLibrary:setSelectable(true); obj._e_event0 = obj.button1:addEventListener("onClick", function (self) self.rclLibrary:append(); end, obj); obj._e_event1 = obj.rclLibrary:addEventListener("onCompare", function (self, nodeA, nodeB) -- Esse codigo organiza a ordem dos objetos da lista alfabeticamente. return utils.compareStringPtBr(nodeA.nome, nodeB.nome); end, obj); function obj:_releaseEvents() __o_rrpgObjs.removeEventListenerById(self._e_event1); __o_rrpgObjs.removeEventListenerById(self._e_event0); end; obj._oldLFMDestroy = obj.destroy; function obj:destroy() self:_releaseEvents(); if (self.handle ~= 0) and (self.setNodeDatabase ~= nil) then self:setNodeDatabase(nil); end; if self.image1 ~= nil then self.image1:destroy(); self.image1 = nil; end; if self.scrollBox1 ~= nil then self.scrollBox1:destroy(); self.scrollBox1 = nil; end; if self.rclLibrary ~= nil then self.rclLibrary:destroy(); self.rclLibrary = nil; end; if self.button1 ~= nil then self.button1:destroy(); self.button1 = nil; end; if self.dataLink1 ~= nil then self.dataLink1:destroy(); self.dataLink1 = nil; end; self:_oldLFMDestroy(); end; obj:endUpdate(); __o_rrpgObjs.endObjectsLoading(); return obj; end; local _frmLibrary = { newEditor = newfrmLibrary, new = newfrmLibrary, name = "frmLibrary", dataType = "", formType = "undefined", formComponentName = "form", title = "", description=""}; frmLibrary = _frmLibrary; rrpg.registrarForm(_frmLibrary); return _frmLibrary;
apache-2.0
otservme/global1053
data/actions/scripts/elemental spheres quest/ElementalSpheresQuestMachine.lua
2
1616
local t = { [1] = {x=33183, y=32197, z=13}, [2] = {x=33331, y=32076, z=13}, [3] = {x=33265, y=32202, z=13}, [4] = {x=33087, y=32096, z=13} } function onUse(cid, item, fromPosition, itemEx, toPosition) if(itemEx.actionid == 100) then return true end if(isInArray({7911, 7912}, item.itemid)) then if(isInArray({33268, 33269}, toPosition.x) and toPosition.y == 31830 and toPosition.z == 10 and Player(cid):getStorageValue(key)(10002) >= 20) then local v = Player(cid):getVocation():getId() if(v > 4) then v = v - 4 end Player(cid):setStorageValue(10002, Player(cid):getStorageValue(key)(10002) - 20) Position(getThingPos(cid)):sendMagicEffect(CONST_ME_TELEPORT) Position(t[v]):sendMagicEffect(CONST_ME_TELEPORT) end toPosition.x = toPosition.x + (item.itemid == 7911 and 1 or -1) local get = getTileItemById(toPosition, item.itemid == 7911 and 7912 or 7911) doTransformItem(get.uid, get.itemid + 4) -- need to pass to the metatable functions doTransformItem(item.uid, item.itemid + 4) -- need to pass to the metatable functions Creature(cid):say("ON", TALKTYPE_ORANGE_1, false, cid, (toPosition or getCreaturePosition(cid))) else toPosition.x = toPosition.x + (item.itemid == 7915 and 1 or -1) local get = getTileItemById(toPosition, item.itemid == 7915 and 7916 or 7915) doTransformItem(get.uid, get.itemid - 4) -- need to pass to the metatable functions doTransformItem(item.uid, item.itemid - 4) -- need to pass to the metatable functions Creature(cid):say("OFF", TALKTYPE_ORANGE_1, false, cid, (toPosition or getCreaturePosition(cid))) end return true end
gpl-2.0
tyochiai/nyagos
nyagos.d/aliases.lua
1
2608
if not nyagos then print("This is a script for nyagos not lua.exe") os.exit() end nyagos.alias.lua_e=function(args) if #args >= 1 then assert(load(args[1]))() end end nyagos.alias.lua_f=function(args) local path=table.remove(args,1) assert(loadfile(path))(args) end nyagos.alias["for"]=function(args) local batchpathu = nyagos.env.temp .. os.tmpname() .. ".cmd" local batchpatha = nyagos.utoa(batchpathu) local fd,fd_err = nyagos.open(batchpathu,"w") if not fd then nyagos.writerr(fd_err.."\n") return end local cmdline = "@for "..table.concat(args.rawargs," ").."\n" fd:write("@set prompt=$G\n") fd:write(cmdline) fd:close() nyagos.rawexec(nyagos.env.comspec,"/c",batchpathu) os.remove(batchpatha) end nyagos.alias.kill = function(args) local command="taskkill.exe" for i=1,#args do if args[i] == "-f" then command="taskkill.exe /F" else nyagos.exec(command .. " /PID " .. args[i]) end end end nyagos.alias.killall = function(args) local command="taskkill.exe" for i=1,#args do if args[i] == "-f" then command="taskkill.exe /F" else nyagos.exec(command .. " /IM " .. args[i]) end end end -- on chcp, font-width is changed. nyagos.alias.chcp = function(args) nyagos.resetcharwidth() nyagos.rawexec(args[0],table.unpack(args)) end -- wildcard expand for external commands nyagos.alias.wildcard = function(args) local newargs = {} for i=1,#args do local tmp = nyagos.glob(args[i]) for j=1,#tmp do newargs[ #newargs+1] = tmp[j] end end -- for i=1,#newargs do print(newargs[i]) end nyagos.exec( newargs ) end -- print the absolute path function nyagos.alias.abspath(args) local cwd = nyagos.getwd() for i = 1,#args do local path1 = nyagos.pathjoin(cwd,args[i]) nyagos.write(path1) nyagos.write("\n") end end -- chompf - cut last CRLF of the files and output them to STDOUT function nyagos.alias.chompf(args) local lf="" if #args <= 0 then for line in nyagos.lines() do nyagos.write(lf) nyagos.write(line) lf = "\n" end else for i=1,#args do for line in nyagos.lines(args[i]) do nyagos.write(lf) nyagos.write(line) lf = "\n" end end end end
bsd-3-clause
The-HalcyonDays/darkstar
scripts/zones/Boneyard_Gully/bcnms/like_the_wind.lua
11
1653
----------------------------------- -- Area: Boneyard_Gully -- Name: like_the_wind -- BCNM: 673 -- Mask: 1 ----------------------------------- package.loaded["scripts/zones/Boneyard_Gully/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/globals/keyitems"); require("scripts/zones/Boneyard_Gully/TextIDs"); ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) end; -- Physically entering the BCNM via bcnmEnter(bcnmid) function onBcnmEnter(player,instance) if (player:hasKeyItem(MIASMA_FILTER)) then player:delKeyItem(MIASMA_FILTER); end; end; -- Leaving the BCNM by every mean possible, given by the LeaveCode -- 1=Select Exit on circle -- 2=Winning the BC -- 3=Disconnected or warped out -- 4=Losing the BC -- via bcnmLeave(1) or bcnmLeave(2). LeaveCodes 3 and 4 are called -- from the core when a player disconnects or the time limit is up, etc function onBcnmLeave(player,instance,leavecode) if(leavecode == 2) then -- play end CS. Need time and battle id for record keeping + storage player:startEvent(0x7d01,1,1,1,instance:getTimeInside(),1,0,0); elseif(leavecode == 4) then player:startEvent(0x7d02); end end; function onBcnmDestroy(player,instance) end; function onEventUpdate(player,csid,option) -- print("bc update csid "..csid.." and option "..option); end; function onEventFinish(player,csid,option) -- print("bc finish csid "..csid.." and option "..option); if (csid == 0x7d01) then player:addExp(2000); end end;
gpl-3.0
coltonj96/UsefulCombinators
UsefulCombinators_0.4.0/migrations/UsefulCombinators_0.2.9.lua
14
1409
game.reload_script() for index, force in pairs(game.forces) do force.reset_technologies() if force.technologies["useful-combinators"].researched then force.recipes["random-combinator"].enabled = true if force.recipes["comparator-combinator"] then force.recipes["comparator-combinator"].enabled = true end force.recipes["converter-combinator"].enabled = true force.recipes["timer-combinator"].enabled = true force.recipes["counting-combinator"].enabled = true force.recipes["min-combinator"].enabled = true force.recipes["max-combinator"].enabled = true force.recipes["and-gate-combinator"].enabled = true force.recipes["or-gate-combinator"].enabled = true force.recipes["not-gate-combinator"].enabled = true force.recipes["nand-gate-combinator"].enabled = true force.recipes["nor-gate-combinator"].enabled = true force.recipes["xor-gate-combinator"].enabled = true force.recipes["xnor-gate-combinator"].enabled = true force.recipes["detector-combinator"].enabled = true force.recipes["sensor-combinator"].enabled = true force.recipes["railway-combinator"].enabled = true force.recipes["color-combinator"].enabled = true force.recipes["emitter-combinator"].enabled = true force.recipes["receiver-combinator"].enabled = true force.recipes["power-combinator"].enabled = true end end
mit
The-HalcyonDays/darkstar
scripts/zones/Metalworks/npcs/Lutia.lua
38
1034
----------------------------------- -- Area: Metalworks -- NPC: Lutia -- Type: Standard NPC -- @zone: 237 -- @pos 24.076 -17 -33.060 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; require("scripts/zones/Metalworks/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(player,npc) player:startEvent(0x00ca); end; ----------------------------------- -- onEventUpdate ----------------------------------- function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end; ----------------------------------- -- onEventFinish ----------------------------------- function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end;
gpl-3.0
The-HalcyonDays/darkstar
scripts/globals/weaponskills/wasp_sting.lua
12
1538
----------------------------------- -- Wasp Sting -- Dagger weapon skill -- Skill level: 5 -- Poisons target. Duration of effect varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Soil Gorget. -- Aligned with the Soil Belt. -- Element: None -- Modifiers: : DEX:100% -- 100%TP 200%TP 300%TP -- 1.00 1.00 1.00 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/settings"); require("scripts/globals/weaponskills"); ----------------------------------- function onUseWeaponSkill(player, target, wsID) local params = {}; params.numHits = 1; params.ftp100 = 1; params.ftp200 = 1; params.ftp300 = 1; params.str_wsc = 0.0; params.dex_wsc = 0.0; params.vit_wsc = 0.0; params.agi_wsc = 0.0; params.int_wsc = 0.0; params.mnd_wsc = 0.0; params.chr_wsc = 0.0; params.crit100 = 0.0; params.crit200 = 0.0; params.crit300 = 0.0; params.canCrit = false; params.acc100 = 0.0; params.acc200= 0.0; params.acc300= 0.0; params.atkmulti = 1; if (USE_ADOULIN_WEAPON_SKILL_CHANGES == true) then params.dex_wsc = 1.0; end local damage, criticalHit, tpHits, extraHits = doPhysicalWeaponskill(player, target, params); if damage > 0 then local tp = player:getTP(); local duration = (tp/100 * 15) + 75; if(target:hasStatusEffect(EFFECT_POISON) == false) then target:addStatusEffect(EFFECT_POISON, 1, 0, duration); end end damage = damage * WEAPON_SKILL_POWER return tpHits, extraHits, criticalHit, damage; end
gpl-3.0
APItools/monitor
lua/spec/http_ng/backend/ngx_spec.lua
2
1077
local backend = require 'http_ng.backend.ngx' describe('ngx backend',function() describe('GET method', function() local method = 'GET' it('accesses the url', function() backend.capture = function(location, options) assert.equal('/___http_call', location) assert.equal(ngx.HTTP_GET, options.method) assert.are.same({_url = 'http://localhost:8081'}, options.vars) return { status = 200, body = '' } end local response = backend.send{method = method, url = 'http://localhost:8081' } assert.truthy(response) end) it('sends headers', function() backend.capture = function(location, options) assert.equal('/___http_call', location) assert.equal(ngx.HTTP_GET, options.method) assert.are.same({Host = 'fake.example.com'}, options.ctx.headers) return { status = 200, body = '' } end local response = backend.send{method = method, url = 'http://localhost:8081/path', headers = {Host = 'fake.example.com'} } assert.truthy(response) end) end) end)
mit
JohnTM/Craft-Examples
Learn Craft.codea/Main.lua
1
1386
----------------------------------------- -- Learn Craft -- Written by John Millard -- Special thanks to Ignatz for the MultiStep project template ----------------------------------------- -- Description: ----------------------------------------- -- MultiStep function setup() steps = listProjectTabs() if steps[1]=="Notes" then table.remove(steps,1) end --remove first tab if named Notes table.remove(steps) --remove the last tab startStep() global = "select a step" end function showList() output.clear() for i=1,#steps do print(i,steps[i]) end end function drawStepName() fill(255, 255, 255, 255) font("Inconsolata") fontSize(40) textAlign(LEFT) textMode(CORNER) local name = string.gsub(steps[lastStep], "([A-Z])", " %1") text(name, 10, HEIGHT - 60) end function startStep() if cleanup then cleanup() end lastStep=Step or readLocalData("lastStep") or 1 lastStep=math.min(lastStep,#steps) saveLocalData("lastStep",lastStep) parameter.clear() parameter.integer("Step", 1, #steps, lastStep) parameter.watch("steps[Step]") parameter.action("Run", startStep) parameter.action("Next", function() Step = math.min(Step + 1, #steps) startStep() end) loadstring(readProjectTab(steps[Step]))() if PrintExplanation then PrintExplanation() end setup() end
apache-2.0
laroccrj/BattleStratego
game/dota_addons/Battle Stratego/scripts/vscripts/addon_game_mode.lua
6
2377
-- This is the entry-point to your game mode and should be used primarily to precache models/particles/sounds/etc require('internal/util') require('gamemode') function Precache( context ) --[[ This function is used to precache resources/units/items/abilities that will be needed for sure in your game and that will not be precached by hero selection. When a hero is selected from the hero selection screen, the game will precache that hero's assets, any equipped cosmetics, and perform the data-driven precaching defined in that hero's precache{} block, as well as the precache{} block for any equipped abilities. See GameMode:PostLoadPrecache() in gamemode.lua for more information ]] DebugPrint("[BAREBONES] Performing pre-load precache") -- Particles can be precached individually or by folder -- It it likely that precaching a single particle system will precache all of its children, but this may not be guaranteed PrecacheResource("particle", "particles/econ/generic/generic_aoe_explosion_sphere_1/generic_aoe_explosion_sphere_1.vpcf", context) PrecacheResource("particle_folder", "particles/test_particle", context) -- Models can also be precached by folder or individually -- PrecacheModel should generally used over PrecacheResource for individual models PrecacheResource("model_folder", "particles/heroes/antimage", context) PrecacheResource("model", "particles/heroes/viper/viper.vmdl", context) PrecacheModel("models/heroes/viper/viper.vmdl", context) -- Sounds can precached here like anything else PrecacheResource("soundfile", "soundevents/game_sounds_heroes/game_sounds_gyrocopter.vsndevts", context) -- Entire items can be precached by name -- Abilities can also be precached in this way despite the name PrecacheItemByNameSync("example_ability", context) PrecacheItemByNameSync("item_example_item", context) -- Entire heroes (sound effects/voice/models/particles) can be precached with PrecacheUnitByNameSync -- Custom units from npc_units_custom.txt can also have all of their abilities and precache{} blocks precached in this way PrecacheUnitByNameSync("npc_dota_hero_ancient_apparition", context) PrecacheUnitByNameSync("npc_dota_hero_enigma", context) end -- Create the game mode when we activate function Activate() GameRules.GameMode = GameMode() GameRules.GameMode:InitGameMode() end
apache-2.0
Ali-2h/zed-spam
plugins/ingroup.lua
202
31524
do local function check_member(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostring(msg.to.id)] = { moderators = {}, set_owner = member_id , settings = { set_name = string.gsub(msg.to.print_name, '_', ' '), lock_name = 'yes', lock_photo = 'no', lock_member = 'no', flood = 'yes' } } save_data(_config.moderation.data, data) local groups = 'groups' if not data[tostring(groups)] then data[tostring(groups)] = {} save_data(_config.moderation.data, data) end data[tostring(groups)][tostring(msg.to.id)] = msg.to.id save_data(_config.moderation.data, data) return send_large_msg(receiver, 'You have been promoted as the owner.') end end end local function check_member_modadd(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostring(msg.to.id)] = { moderators = {}, set_owner = member_id , settings = { set_name = string.gsub(msg.to.print_name, '_', ' '), lock_name = 'yes', lock_photo = 'no', lock_member = 'no', flood = 'yes' } } save_data(_config.moderation.data, data) local groups = 'groups' if not data[tostring(groups)] then data[tostring(groups)] = {} save_data(_config.moderation.data, data) end data[tostring(groups)][tostring(msg.to.id)] = msg.to.id save_data(_config.moderation.data, data) return send_large_msg(receiver, 'Group is added and you have been promoted as the owner ') end end end local function automodadd(msg) local data = load_data(_config.moderation.data) if msg.action.type == 'chat_created' then receiver = get_receiver(msg) chat_info(receiver, check_member,{receiver=receiver, data=data, msg = msg}) end end local function check_member_modrem(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration removal data[tostring(msg.to.id)] = nil save_data(_config.moderation.data, data) local groups = 'groups' if not data[tostring(groups)] then data[tostring(groups)] = nil save_data(_config.moderation.data, data) end data[tostring(groups)][tostring(msg.to.id)] = nil save_data(_config.moderation.data, data) return send_large_msg(receiver, 'Group has been removed') end end end local function show_group_settingsmod(msg, data, target) if not is_momod(msg) then return "For moderators only!" end local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)] then if data[tostring(msg.to.id)]['settings']['flood_msg_max'] then NUM_MSG_MAX = tonumber(data[tostring(msg.to.id)]['settings']['flood_msg_max']) print('custom'..NUM_MSG_MAX) else NUM_MSG_MAX = 5 end end local bots_protection = "Yes" if data[tostring(msg.to.id)]['settings']['lock_bots'] then bots_protection = data[tostring(msg.to.id)]['settings']['lock_bots'] end local settings = data[tostring(target)]['settings'] local text = "Group settings:\nLock group name : "..settings.lock_name.."\nLock group photo : "..settings.lock_photo.."\nLock group member : "..settings.lock_member.."\nflood sensitivity : "..NUM_MSG_MAX.."\nBot protection : "..bots_protection return text end local function set_descriptionmod(msg, data, target, about) if not is_momod(msg) then return "For moderators only!" end local data_cat = 'description' data[tostring(target)][data_cat] = about save_data(_config.moderation.data, data) return 'Set group description to:\n'..about end local function get_description(msg, data) local data_cat = 'description' if not data[tostring(msg.to.id)][data_cat] then return 'No description available.' end local about = data[tostring(msg.to.id)][data_cat] local about = string.gsub(msg.to.print_name, "_", " ")..':\n\n'..about return 'About '..about end local function lock_group_arabic(msg, data, target) if not is_momod(msg) then return "For moderators only!" end local group_arabic_lock = data[tostring(target)]['settings']['lock_arabic'] if group_arabic_lock == 'yes' then return 'Arabic is already locked' else data[tostring(target)]['settings']['lock_arabic'] = 'yes' save_data(_config.moderation.data, data) return 'Arabic has been locked' end end local function unlock_group_arabic(msg, data, target) if not is_momod(msg) then return "For moderators only!" end local group_arabic_lock = data[tostring(target)]['settings']['lock_arabic'] if group_arabic_lock == 'no' then return 'Arabic is already unlocked' else data[tostring(target)]['settings']['lock_arabic'] = 'no' save_data(_config.moderation.data, data) return 'Arabic has been unlocked' end end local function lock_group_bots(msg, data, target) if not is_momod(msg) then return "For moderators only!" end local group_bots_lock = data[tostring(target)]['settings']['lock_bots'] if group_bots_lock == 'yes' then return 'Bots protection is already enabled' else data[tostring(target)]['settings']['lock_bots'] = 'yes' save_data(_config.moderation.data, data) return 'Bots protection has been enabled' end end local function unlock_group_bots(msg, data, target) if not is_momod(msg) then return "For moderators only!" end local group_bots_lock = data[tostring(target)]['settings']['lock_bots'] if group_bots_lock == 'no' then return 'Bots protection is already disabled' else data[tostring(target)]['settings']['lock_bots'] = 'no' save_data(_config.moderation.data, data) return 'Bots protection has been disabled' end end local function lock_group_namemod(msg, data, target) if not is_momod(msg) then return "For moderators only!" end local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['settings']['lock_name'] = 'yes' save_data(_config.moderation.data, data) rename_chat('chat#id'..target, group_name_set, ok_cb, false) return 'Group name has been locked' end end local function unlock_group_namemod(msg, data, target) if not is_momod(msg) then return "For moderators only!" end local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'no' then return 'Group name is already unlocked' else data[tostring(target)]['settings']['lock_name'] = 'no' save_data(_config.moderation.data, data) return 'Group name has been unlocked' end end local function lock_group_floodmod(msg, data, target) if not is_owner(msg) then return "Only admins can do it for now" end local group_flood_lock = data[tostring(target)]['settings']['flood'] if group_flood_lock == 'yes' then return 'Group flood is locked' else data[tostring(target)]['settings']['flood'] = 'yes' save_data(_config.moderation.data, data) return 'Group flood has been locked' end end local function unlock_group_floodmod(msg, data, target) if not is_owner(msg) then return "Only admins can do it for now" end local group_flood_lock = data[tostring(target)]['settings']['flood'] if group_flood_lock == 'no' then return 'Group flood is not locked' else data[tostring(target)]['settings']['flood'] = 'no' save_data(_config.moderation.data, data) return 'Group flood has been unlocked' end end local function lock_group_membermod(msg, data, target) if not is_momod(msg) then return "For moderators only!" end local group_member_lock = data[tostring(target)]['settings']['lock_member'] if group_member_lock == 'yes' then return 'Group members are already locked' else data[tostring(target)]['settings']['lock_member'] = 'yes' save_data(_config.moderation.data, data) end return 'Group members has been locked' end local function unlock_group_membermod(msg, data, target) if not is_momod(msg) then return "For moderators only!" end local group_member_lock = data[tostring(target)]['settings']['lock_member'] if group_member_lock == 'no' then return 'Group members are not locked' else data[tostring(target)]['settings']['lock_member'] = 'no' save_data(_config.moderation.data, data) return 'Group members has been unlocked' end end local function unlock_group_photomod(msg, data, target) if not is_momod(msg) then return "For moderators only!" end local group_photo_lock = data[tostring(target)]['settings']['lock_photo'] if group_photo_lock == 'no' then return 'Group photo is not locked' else data[tostring(target)]['settings']['lock_photo'] = 'no' save_data(_config.moderation.data, data) return 'Group photo has been unlocked' end end local function set_rulesmod(msg, data, target) if not is_momod(msg) then return "For moderators only!" end local data_cat = 'rules' data[tostring(target)][data_cat] = rules save_data(_config.moderation.data, data) return 'Set group rules to:\n'..rules end local function modadd(msg) -- superuser and admins only (because sudo are always has privilege) if not is_admin(msg) then return "You're not admin" end local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)] then return 'Group is already added.' end receiver = get_receiver(msg) chat_info(receiver, check_member_modadd,{receiver=receiver, data=data, msg = msg}) end local function modrem(msg) -- superuser and admins only (because sudo are always has privilege) if not is_admin(msg) then return "You're not admin" end local data = load_data(_config.moderation.data) if not data[tostring(msg.to.id)] then return 'Group is not added.' end receiver = get_receiver(msg) chat_info(receiver, check_member_modrem,{receiver=receiver, data=data, msg = msg}) end local function get_rules(msg, data) local data_cat = 'rules' if not data[tostring(msg.to.id)][data_cat] then return 'No rules available.' end local rules = data[tostring(msg.to.id)][data_cat] local rules = 'Chat rules:\n'..rules return rules end local function set_group_photo(msg, success, result) local data = load_data(_config.moderation.data) local receiver = get_receiver(msg) if success then local file = 'data/photos/chat_photo_'..msg.to.id..'.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) chat_set_photo (receiver, file, ok_cb, false) data[tostring(msg.to.id)]['settings']['set_photo'] = file save_data(_config.moderation.data, data) data[tostring(msg.to.id)]['settings']['lock_photo'] = 'yes' save_data(_config.moderation.data, data) send_large_msg(receiver, 'Photo saved!', ok_cb, false) else print('Error downloading: '..msg.id) send_large_msg(receiver, 'Failed, please try again!', ok_cb, false) end end local function promote(receiver, member_username, member_id) local data = load_data(_config.moderation.data) local group = string.gsub(receiver, 'chat#id', '') if not data[group] then return send_large_msg(receiver, 'Group is not added.') end if data[group]['moderators'][tostring(member_id)] then return send_large_msg(receiver, member_username..' is already a moderator.') end data[group]['moderators'][tostring(member_id)] = member_username save_data(_config.moderation.data, data) return send_large_msg(receiver, '@'..member_username..' has been promoted.') end local function demote(receiver, member_username, member_id) local data = load_data(_config.moderation.data) local group = string.gsub(receiver, 'chat#id', '') if not data[group] then return send_large_msg(receiver, 'Group is not added.') end if not data[group]['moderators'][tostring(member_id)] then return send_large_msg(receiver, member_username..' is not a moderator.') end data[group]['moderators'][tostring(member_id)] = nil save_data(_config.moderation.data, data) return send_large_msg(receiver, '@'..member_username..' has been demoted.') end local function username_id(cb_extra, success, result) local mod_cmd = cb_extra.mod_cmd local receiver = cb_extra.receiver local member = cb_extra.member local text = 'No user @'..member..' in this group.' for k,v in pairs(result.members) do vusername = v.username if vusername == member then member_username = member member_id = v.id if mod_cmd == 'promote' then return promote(receiver, member_username, member_id) elseif mod_cmd == 'demote' then return demote(receiver, member_username, member_id) end end end send_large_msg(receiver, text) end local function modlist(msg) local data = load_data(_config.moderation.data) if not data[tostring(msg.to.id)] then return 'Group is not added.' end -- determine if table is empty if next(data[tostring(msg.to.id)]['moderators']) == nil then --fix way return 'No moderator in this group.' end local i = 1 local message = '\nList of moderators for ' .. string.gsub(msg.to.print_name, '_', ' ') .. ':\n' for k,v in pairs(data[tostring(msg.to.id)]['moderators']) do message = message ..i..' - @'..v..' [' ..k.. '] \n' i = i + 1 end return message end local function callbackres(extra, success, result) local user = result.id local name = string.gsub(result.print_name, "_", " ") local chat = 'chat#id'..extra.chatid send_large_msg(chat, user..'\n'..name) return user end local function help() local help_text = tostring(_config.help_text) return help_text end local function cleanmember(cb_extra, success, result) local receiver = cb_extra.receiver local chat_id = "chat#id"..result.id local chatname = result.print_name if success == -1 then return send_large_msg(receiver, '*Error: Invite link failed* \nReason: Not creator.') end for k,v in pairs(result.members) do kick_user(v.id, result.id) end end local function run(msg, matches) local data = load_data(_config.moderation.data) local receiver = get_receiver(msg) local name_log = user_print_name(msg.from) local group = msg.to.id if msg.media then if msg.media.type == 'photo' and data[tostring(msg.to.id)]['settings']['set_photo'] == 'waiting' and is_chat_msg(msg) and is_momod(msg) then load_photo(msg.id, set_group_photo, msg) end end if matches[1] == 'add' then print("group "..msg.to.print_name.."("..msg.to.id..") added") return modadd(msg) end if matches[1] == 'rem' then print("group "..msg.to.print_name.."("..msg.to.id..") removed") return modrem(msg) end if matches[1] == 'chat_created' and msg.from.id == 0 then return automodadd(msg) end if msg.to.id and data[tostring(msg.to.id)] then local settings = data[tostring(msg.to.id)]['settings'] if matches[1] == 'chat_add_user' then if not msg.service then return "Are you trying to troll me?" end local group_member_lock = settings.lock_member local user = 'user#id'..msg.action.user.id local chat = 'chat#id'..msg.to.id if group_member_lock == 'yes' and not is_owner2(msg.action.user.id, msg.to.id) then chat_del_user(chat, user, ok_cb, true) elseif group_member_lock == 'yes' and tonumber(msg.from.id) == tonumber(our_id) then return nil elseif group_member_lock == 'no' then return nil end end if matches[1] == 'chat_add_user' then if not msg.service then return "Are you trying to troll me?" end local receiver = 'user#id'..msg.action.user.id local data_cat = 'rules' if not data[tostring(msg.to.id)][data_cat] then return false end local rules = data[tostring(msg.to.id)][data_cat] local rules = 'Welcome to "' .. string.gsub(msg.to.print_name, '_', ' ') ..'" this group has rules that you should follow:\n'..rules savelog(msg.to.id, name_log.." ["..msg.from.id.."] deleted user "..msg.action.user.id) send_large_msg(receiver, rules) end if matches[1] == 'chat_del_user' then if not msg.service then return "Are you trying to troll me?" end local user = 'user#id'..msg.action.user.id local chat = 'chat#id'..msg.to.id savelog(msg.to.id, name_log.." ["..msg.from.id.."] deleted user "..user) end if matches[1] == 'chat_delete_photo' then if not msg.service then return "Are you trying to troll me?" end local group_photo_lock = settings.lock_photo if group_photo_lock == 'yes' then local picturehash = 'picture:changed:'..msg.to.id..':'..msg.from.id redis:incr(picturehash) --- local picturehash = 'picture:changed:'..msg.to.id..':'..msg.from.id local picprotectionredis = redis:get(picturehash) if picprotectionredis then if tonumber(picprotectionredis) == 4 and not is_owner(msg) then kick_user(msg.from.id, msg.to.id) end if tonumber(picprotectionredis) == 8 and not is_owner(msg) then ban_user(msg.from.id, msg.to.id) local picturehash = 'picture:changed:'..msg.to.id..':'..msg.from.id redis:set(picturehash, 0) end end savelog(msg.to.id, name_log.." ["..msg.from.id.."] tried to deleted picture but failed ") chat_set_photo(receiver, settings.set_photo, ok_cb, false) elseif group_photo_lock == 'no' then return nil end end if matches[1] == 'chat_change_photo' and msg.from.id ~= 0 then if not msg.service then return "Are you trying to troll me?" end local group_photo_lock = settings.lock_photo if group_photo_lock == 'yes' then local picturehash = 'picture:changed:'..msg.to.id..':'..msg.from.id redis:incr(picturehash) --- local picturehash = 'picture:changed:'..msg.to.id..':'..msg.from.id local picprotectionredis = redis:get(picturehash) if picprotectionredis then if tonumber(picprotectionredis) == 4 and not is_owner(msg) then kick_user(msg.from.id, msg.to.id) end if tonumber(picprotectionredis) == 8 and not is_owner(msg) then ban_user(msg.from.id, msg.to.id) local picturehash = 'picture:changed:'..msg.to.id..':'..msg.from.id redis:set(picturehash, 0) end end savelog(msg.to.id, name_log.." ["..msg.from.id.."] tried to change picture but failed ") chat_set_photo(receiver, settings.set_photo, ok_cb, false) elseif group_photo_lock == 'no' then return nil end end if matches[1] == 'chat_rename' then if not msg.service then return "Are you trying to troll me?" end local group_name_set = settings.set_name local group_name_lock = settings.lock_name local to_rename = 'chat#id'..msg.to.id if group_name_lock == 'yes' then if group_name_set ~= tostring(msg.to.print_name) then local namehash = 'name:changed:'..msg.to.id..':'..msg.from.id redis:incr(namehash) local namehash = 'name:changed:'..msg.to.id..':'..msg.from.id local nameprotectionredis = redis:get(namehash) if nameprotectionredis then if tonumber(nameprotectionredis) == 4 and not is_owner(msg) then kick_user(msg.from.id, msg.to.id) end if tonumber(nameprotectionredis) == 8 and not is_owner(msg) then ban_user(msg.from.id, msg.to.id) local namehash = 'name:changed:'..msg.to.id..':'..msg.from.id redis:set(namehash, 0) end end savelog(msg.to.id, name_log.." ["..msg.from.id.."] tried to change name but failed ") rename_chat(to_rename, group_name_set, ok_cb, false) end elseif group_name_lock == 'no' then return nil end end if matches[1] == 'setname' and is_momod(msg) then local new_name = string.gsub(matches[2], '_', ' ') data[tostring(msg.to.id)]['settings']['set_name'] = new_name save_data(_config.moderation.data, data) local group_name_set = data[tostring(msg.to.id)]['settings']['set_name'] local to_rename = 'chat#id'..msg.to.id rename_chat(to_rename, group_name_set, ok_cb, false) savelog(msg.to.id, "Group { "..msg.to.print_name.." } name changed to [ "..new_name.." ] by "..name_log.." ["..msg.from.id.."]") end if matches[1] == 'setphoto' and is_momod(msg) then data[tostring(msg.to.id)]['settings']['set_photo'] = 'waiting' save_data(_config.moderation.data, data) return 'Please send me new group photo now' end if matches[1] == 'promote' and matches[2] then if not is_owner(msg) then return "Only owner can promote" end local member = string.gsub(matches[2], "@", "") local mod_cmd = 'promote' savelog(msg.to.id, name_log.." ["..msg.from.id.."] promoted @".. member) chat_info(receiver, username_id, {mod_cmd= mod_cmd, receiver=receiver, member=member}) end if matches[1] == 'demote' and matches[2] then if not is_owner(msg) then return "Only owner can demote" end if string.gsub(matches[2], "@", "") == msg.from.username then return "You can't demote yourself" end local member = string.gsub(matches[2], "@", "") local mod_cmd = 'demote' savelog(msg.to.id, name_log.." ["..msg.from.id.."] demoted @".. member) chat_info(receiver, username_id, {mod_cmd= mod_cmd, receiver=receiver, member=member}) end if matches[1] == 'modlist' then savelog(msg.to.id, name_log.." ["..msg.from.id.."] requested group modlist") return modlist(msg) end if matches[1] == 'about' then savelog(msg.to.id, name_log.." ["..msg.from.id.."] requested group description") return get_description(msg, data) end if matches[1] == 'rules' then savelog(msg.to.id, name_log.." ["..msg.from.id.."] requested group rules") return get_rules(msg, data) end if matches[1] == 'set' then if matches[2] == 'rules' then rules = matches[3] local target = msg.to.id savelog(msg.to.id, name_log.." ["..msg.from.id.."] has changed group rules to ["..matches[3].."]") return set_rulesmod(msg, data, target) end if matches[2] == 'about' then local data = load_data(_config.moderation.data) local target = msg.to.id local about = matches[3] savelog(msg.to.id, name_log.." ["..msg.from.id.."] has changed group description to ["..matches[3].."]") return set_descriptionmod(msg, data, target, about) end end if matches[1] == 'lock' then local target = msg.to.id if matches[2] == 'name' then savelog(msg.to.id, name_log.." ["..msg.from.id.."] locked name ") return lock_group_namemod(msg, data, target) end if matches[2] == 'member' then savelog(msg.to.id, name_log.." ["..msg.from.id.."] locked member ") return lock_group_membermod(msg, data, target) end if matches[2] == 'flood' then savelog(msg.to.id, name_log.." ["..msg.from.id.."] locked flood ") return lock_group_floodmod(msg, data, target) end if matches[2] == 'arabic' then savelog(msg.to.id, name_log.." ["..msg.from.id.."] locked arabic ") return lock_group_arabic(msg, data, target) end if matches[2] == 'bots' then savelog(msg.to.id, name_log.." ["..msg.from.id.."] locked bots ") return lock_group_bots(msg, data, target) end end if matches[1] == 'unlock' then local target = msg.to.id if matches[2] == 'name' then savelog(msg.to.id, name_log.." ["..msg.from.id.."] unlocked name ") return unlock_group_namemod(msg, data, target) end if matches[2] == 'member' then savelog(msg.to.id, name_log.." ["..msg.from.id.."] unlocked member ") return unlock_group_membermod(msg, data, target) end if matches[2] == 'photo' then savelog(msg.to.id, name_log.." ["..msg.from.id.."] unlocked photo ") return unlock_group_photomod(msg, data, target) end if matches[2] == 'flood' then savelog(msg.to.id, name_log.." ["..msg.from.id.."] unlocked flood ") return unlock_group_floodmod(msg, data, target) end if matches[2] == 'arabic' then savelog(msg.to.id, name_log.." ["..msg.from.id.."] unlocked arabic ") return unlock_group_arabic(msg, data, target) end if matches[2] == 'bots' then savelog(msg.to.id, name_log.." ["..msg.from.id.."] unlocked bots ") return unlock_group_bots(msg, data, target) end end if matches[1] == 'settings' then local target = msg.to.id savelog(msg.to.id, name_log.." ["..msg.from.id.."] requested group settings ") return show_group_settingsmod(msg, data, target) end if matches[1] == 'newlink' then if not is_momod(msg) then return "For moderators only!" end local function callback (extra , success, result) local receiver = 'chat#'..msg.to.id if success == 0 then return send_large_msg(receiver, '*Error: Invite link failed* \nReason: Not creator.') end send_large_msg(receiver, "Created a new link") data[tostring(msg.to.id)]['settings']['set_link'] = result save_data(_config.moderation.data, data) end local receiver = 'chat#'..msg.to.id savelog(msg.to.id, name_log.." ["..msg.from.id.."] revoked group link ") return export_chat_link(receiver, callback, true) end if matches[1] == 'link' then if not is_momod(msg) then return "For moderators only!" end local group_link = data[tostring(msg.to.id)]['settings']['set_link'] if not group_link then return "Create a link using /newlink first !" end savelog(msg.to.id, name_log.." ["..msg.from.id.."] requested group link ["..group_link.."]") return "Group link:\n"..group_link end if matches[1] == 'setowner' then if not is_owner(msg) then return "For owner only!" end data[tostring(msg.to.id)]['set_owner'] = matches[2] save_data(_config.moderation.data, data) savelog(msg.to.id, name_log.." ["..msg.from.id.."] set ["..matches[2].."] as owner") local text = matches[2].." added as owner" return text end if matches[1] == 'owner' then local group_owner = data[tostring(msg.to.id)]['set_owner'] if not group_owner then return "no owner,ask admins in support groups to set owner for your group" end savelog(msg.to.id, name_log.." ["..msg.from.id.."] used /owner") return "Group owner is ["..group_owner..']' end if matches[1] == 'setgpowner' then local receiver = "chat#id"..matches[2] if not is_admin(msg) then return "For admins only!" end data[tostring(matches[2])]['set_owner'] = matches[3] save_data(_config.moderation.data, data) local text = matches[3].." added as owner" send_large_msg(receiver, text) return end if matches[1] == 'setflood' then if not is_momod(msg) then return "For moderators only!" end if tonumber(matches[2]) < 5 or tonumber(matches[2]) > 20 then return "Wrong number,range is [5-20]" end local flood_max = matches[2] data[tostring(msg.to.id)]['settings']['flood_msg_max'] = flood_max save_data(_config.moderation.data, data) savelog(msg.to.id, name_log.." ["..msg.from.id.."] set flood to ["..matches[2].."]") return 'Group flood has been set to '..matches[2] end if matches[1] == 'clean' then if not is_owner(msg) then return "Only owner can clean" end if matches[2] == 'member' then if not is_owner(msg) then return "Only admins can clean members" end local receiver = get_receiver(msg) chat_info(receiver, cleanmember, {receiver=receiver}) end if matches[2] == 'modlist' then if next(data[tostring(msg.to.id)]['moderators']) == nil then --fix way return 'No moderator in this group.' end local message = '\nList of moderators for ' .. string.gsub(msg.to.print_name, '_', ' ') .. ':\n' for k,v in pairs(data[tostring(msg.to.id)]['moderators']) do data[tostring(msg.to.id)]['moderators'][tostring(k)] = nil save_data(_config.moderation.data, data) end savelog(msg.to.id, name_log.." ["..msg.from.id.."] cleaned modlist") end if matches[2] == 'rules' then local data_cat = 'rules' data[tostring(msg.to.id)][data_cat] = nil save_data(_config.moderation.data, data) savelog(msg.to.id, name_log.." ["..msg.from.id.."] cleaned rules") end if matches[2] == 'about' then local data_cat = 'description' data[tostring(msg.to.id)][data_cat] = nil save_data(_config.moderation.data, data) savelog(msg.to.id, name_log.." ["..msg.from.id.."] cleaned about") end end if matches[1] == 'help' then if not is_momod(msg) then return end savelog(msg.to.id, name_log.." ["..msg.from.id.."] Used /help") return help() end if matches[1] == 'res' and is_momod(msg) then local cbres_extra = { chatid = msg.to.id } local username = matches[2] local username = username:gsub("@","") savelog(msg.to.id, name_log.." ["..msg.from.id.."] Used /res "..username) return res_user(username, callbackres, cbres_extra) end end end return { patterns = { "^[!/](add)$", "^[!/](rem)$", "^[!/](rules)$", "^[!/](about)$", "^[!/](setname) (.*)$", "^[!/](setphoto)$", "^[!/](promote) (.*)$", "^[!/](help)$", "^[!/](clean) (.*)$", "^[!/](demote) (.*)$", "^[!/](set) ([^%s]+) (.*)$", "^[!/](lock) (.*)$", "^[!/](setowner) (%d+)$", "^[!/](owner)$", "^[!/](res) (.*)$", "^[!/](setgpowner) (%d+) (%d+)$",-- (group id) (owner id) "^[!/](unlock) (.*)$", "^[!/](setflood) (%d+)$", "^[!/](settings)$", "^[!/](modlist)$", "^[!/](newlink)$", "^[!/](link)$", "%[(photo)%]", "^!!tgservice (.+)$", }, run = run } end
gpl-2.0
sysr-q/lua
lua-5.3.0-tests/constructs.lua
1
7255
-- $Id: constructs.lua,v 1.37 2014/12/26 17:20:53 roberto Exp $ ;;print "testing syntax";; local debug = require "debug" -- testing semicollons do ;;; end ; do ; a = 3; assert(a == 3) end; ; -- invalid operations should not raise errors when not executed if false then a = 3 // 0; a = 0 % 0 end -- testing priorities assert(2^3^2 == 2^(3^2)); assert(2^3*4 == (2^3)*4); assert(2.0^-2 == 1/4 and -2^- -2 == - - -4); assert(not nil and 2 and not(2>3 or 3<2)); assert(-3-1-5 == 0+0-9); assert(-2^2 == -4 and (-2)^2 == 4 and 2*2-3-1 == 0); assert(-3%5 == 2 and -3+5 == 2) assert(2*1+3/3 == 3 and 1+2 .. 3*1 == "33"); assert(not(2+1 > 3*1) and "a".."b" > "a"); assert("7" .. 3 << 1 == 146) assert(10 >> 1 .. "9" == 0) assert(10 | 1 .. "9" == 27) assert(0xF0 | 0xCC ~ 0xAA & 0xFD == 0xF4) assert(0xFD & 0xAA ~ 0xCC | 0xF0 == 0xF4) assert(0xF0 & 0x0F + 1 == 0x10) assert(3^4//2^3//5 == 2) assert(-3+4*5//2^3^2//9+4%10/3 == (-3)+(((4*5)//(2^(3^2)))//9)+((4%10)/3)) assert(not ((true or false) and nil)) assert( true or false and nil) -- old bug assert((((1 or false) and true) or false) == true) assert((((nil and true) or false) and true) == false) local a,b = 1,nil; assert(-(1 or 2) == -1 and (1 and 2)+(-1.25 or -4) == 0.75); x = ((b or a)+1 == 2 and (10 or a)+1 == 11); assert(x); x = (((2<3) or 1) == true and (2<3 and 4) == 4); assert(x); x,y=1,2; assert((x>y) and x or y == 2); x,y=2,1; assert((x>y) and x or y == 2); assert(1234567890 == tonumber('1234567890') and 1234567890+1 == 1234567891) -- silly loops repeat until 1; repeat until true; while false do end; while nil do end; do -- test old bug (first name could not be an `upvalue') local a; function f(x) x={a=1}; x={x=1}; x={G=1} end end function f (i) if type(i) ~= 'number' then return i,'jojo'; end; if i > 0 then return i, f(i-1); end; end x = {f(3), f(5), f(10);}; assert(x[1] == 3 and x[2] == 5 and x[3] == 10 and x[4] == 9 and x[12] == 1); assert(x[nil] == nil) x = {f'alo', f'xixi', nil}; assert(x[1] == 'alo' and x[2] == 'xixi' and x[3] == nil); x = {f'alo'..'xixi'}; assert(x[1] == 'aloxixi') x = {f{}} assert(x[2] == 'jojo' and type(x[1]) == 'table') local f = function (i) if i < 10 then return 'a'; elseif i < 20 then return 'b'; elseif i < 30 then return 'c'; end; end assert(f(3) == 'a' and f(12) == 'b' and f(26) == 'c' and f(100) == nil) for i=1,1000 do break; end; n=100; i=3; t = {}; a=nil while not a do a=0; for i=1,n do for i=i,1,-1 do a=a+1; t[i]=1; end; end; end assert(a == n*(n+1)/2 and i==3); assert(t[1] and t[n] and not t[0] and not t[n+1]) function f(b) local x = 1; repeat local a; if b==1 then local b=1; x=10; break elseif b==2 then x=20; break; elseif b==3 then x=30; else local a,b,c,d=math.sin(1); x=x+1; end until x>=12; return x; end; assert(f(1) == 10 and f(2) == 20 and f(3) == 30 and f(4)==12) local f = function (i) if i < 10 then return 'a' elseif i < 20 then return 'b' elseif i < 30 then return 'c' else return 8 end end assert(f(3) == 'a' and f(12) == 'b' and f(26) == 'c' and f(100) == 8) local a, b = nil, 23 x = {f(100)*2+3 or a, a or b+2} assert(x[1] == 19 and x[2] == 25) x = {f=2+3 or a, a = b+2} assert(x.f == 5 and x.a == 25) a={y=1} x = {a.y} assert(x[1] == 1) function f(i) while 1 do if i>0 then i=i-1; else return; end; end; end; function g(i) while 1 do if i>0 then i=i-1 else return end end end f(10); g(10); do function f () return 1,2,3; end local a, b, c = f(); assert(a==1 and b==2 and c==3) a, b, c = (f()); assert(a==1 and b==nil and c==nil) end local a,b = 3 and f(); assert(a==1 and b==nil) function g() f(); return; end; assert(g() == nil) function g() return nil or f() end a,b = g() assert(a==1 and b==nil) print'+'; f = [[ return function ( a , b , c , d , e ) local x = a >= b or c or ( d and e ) or nil return x end , { a = 1 , b = 2 >= 1 , } or { 1 }; ]] f = string.gsub(f, "%s+", "\n"); -- force a SETLINE between opcodes f,a = load(f)(); assert(a.a == 1 and a.b) function g (a,b,c,d,e) if not (a>=b or c or d and e or nil) then return 0; else return 1; end; end function h (a,b,c,d,e) while (a>=b or c or (d and e) or nil) do return 1; end; return 0; end; assert(f(2,1) == true and g(2,1) == 1 and h(2,1) == 1) assert(f(1,2,'a') == 'a' and g(1,2,'a') == 1 and h(1,2,'a') == 1) assert(f(1,2,'a') ~= -- force SETLINE before nil nil, "") assert(f(1,2,'a') == 'a' and g(1,2,'a') == 1 and h(1,2,'a') == 1) assert(f(1,2,nil,1,'x') == 'x' and g(1,2,nil,1,'x') == 1 and h(1,2,nil,1,'x') == 1) assert(f(1,2,nil,nil,'x') == nil and g(1,2,nil,nil,'x') == 0 and h(1,2,nil,nil,'x') == 0) assert(f(1,2,nil,1,nil) == nil and g(1,2,nil,1,nil) == 0 and h(1,2,nil,1,nil) == 0) assert(1 and 2<3 == true and 2<3 and 'a'<'b' == true) x = 2<3 and not 3; assert(x==false) x = 2<1 or (2>1 and 'a'); assert(x=='a') do local a; if nil then a=1; else a=2; end; -- this nil comes as PUSHNIL 2 assert(a==2) end function F(a) assert(debug.getinfo(1, "n").name == 'F') return a,2,3 end a,b = F(1)~=nil; assert(a == true and b == nil); a,b = F(nil)==nil; assert(a == true and b == nil) ---------------------------------------------------------------- ------------------------------------------------------------------ -- sometimes will be 0, sometimes will not... _ENV.GLOB1 = os.time() % 2 -- basic expressions with their respective values local basiccases = { {"nil", nil}, {"false", false}, {"true", true}, {"10", 10}, {"(0==_ENV.GLOB1)", 0 == _ENV.GLOB1}, } print('testing short-circuit optimizations (' .. _ENV.GLOB1 .. ')') -- operators with their respective values local binops = { {" and ", function (a,b) if not a then return a else return b end end}, {" or ", function (a,b) if a then return a else return b end end}, } local cases = {} -- creates all combinations of '(cases[i] op cases[n-i])' plus -- 'not(cases[i] op cases[n-i])' (syntax + value) local function createcases (n) local res = {} for i = 1, n - 1 do for _, v1 in ipairs(cases[i]) do for _, v2 in ipairs(cases[n - i]) do for _, op in ipairs(binops) do local t = { "(" .. v1[1] .. op[1] .. v2[1] .. ")", op[2](v1[2], v2[2]) } res[#res + 1] = t res[#res + 1] = {"not" .. t[1], not t[2]} end end end end return res end -- do not do too many combinations for soft tests local level = _soft and 3 or 4 cases[1] = basiccases for i = 2, level do cases[i] = createcases(i) end print("+") local prog = [[if %s then IX = true end; return %s]] local i = 0 for n = 1, level do for _, v in pairs(cases[n]) do local s = v[1] local p = load(string.format(prog, s, s)) IX = false assert(p() == v[2] and IX == not not v[2]) i = i + 1 if i % 60000 == 0 then print('+') end end end ------------------------------------------------------------------ -- testing some syntax errors (chosen through 'gcov') assert(string.find(select(2, load("for x do")), "expected")) assert(string.find(select(2, load("x:call")), "expected")) print'OK'
mit
The-HalcyonDays/darkstar
scripts/globals/mobskills/Sand_Blast.lua
25
1241
--------------------------------------------------- -- Sand Blast -- Deals Earth damage to targets in a fan-shaped area of effect. Additional effect: Blind -- Range: 8' cone --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------------- function onMobSkillCheck(target,mob,skill) if (mob:getID()==16806242) then -- Feeler Anltion if (mob:getLocalVar("SAND_BLAST")==1 and math.random(1,99)>80) then -- spawn shit else return 1; end end; return 0; end; function onMobWeaponSkill(target, mob, skill) local typeEffect = EFFECT_BLINDNESS; skill:setMsg(MobStatusEffectMove(mob, target, typeEffect, 20, 0, 120)); if (mob:getID()==16806242) then -- Feeler Anltion mob:setLocalVar("SAND_BLAST",0); -- Used it for the last time! if (GetMobAction(16806248) == 0) then -- Alastor Antlion local alastorAntlion = GetMobByID(16806248); alastorAntlion:setSpawn(mob:getXPos()+1,mob:getYPos()+1,mob:getZPos()+1); -- Set its spawn location. SpawnMob(16806248, 120):updateEnmity(target); end end return typeEffect; end;
gpl-3.0
mjanicek/rembulan
rembulan-tests/src/test/resources/benchmarksgame/pidigits.lua-2.lua
4
3450
-- The Computer Language Benchmarks Game -- http://benchmarksgame.alioth.debian.org/ -- contributed by Mike Pall -- Start of dynamically compiled chunk. local chunk = [=[ -- Factory function for multi-precision number (mpn) operations. local function fmm(fa, fb) return loadstring([[ return function(y, a, ka, b, kb) local carry, n = 0, #a ]]..(fb == 0 and "" or [[ local na, nb = n, #b -- Need to adjust lengths. 1 element suffices here. if na > nb then b[na] = 0 elseif na < nb then a[nb] = 0; n = nb end ]])..[[ for i=1,n do -- Sum up all elements and propagate carry. local x = a[i] ]]..(fa == 2 and "*ka" or "").. (fb == 2 and "+b[i]*kb" or (fb == 1 and "+b[i]" or ""))..[[ + carry if x < RADIX and x >= 0 then carry = 0; y[i] = x -- Check for overflow. else local d = x % RADIX; carry = (x-d) / RADIX; y[i] = d end end y[n+1] = nil -- Truncate target. 1 element suffices here. if carry == 0 then while n > 0 and y[n] == 0 do y[n] = nil end elseif carry == -1 then y[n] = y[n] - RADIX else y[n+1] = carry end ]]..(fb == 0 and "" or [[ -- Undo length adjustment. if na > nb then b[na] = nil elseif na < nb and y ~= a then a[nb] = nil end ]])..[[ return y end]])() end -- Generate needed mpn functions. local mm_kk, mm_k1, mm_k0, mm_11 = fmm(2, 2), fmm(2, 1), fmm(2, 0), fmm(1, 1) -- Choose the most efficient mpn function for y = a*ka + b*kb at run-time. local function mm(y, a, ka, b, kb) local f = mm_kk if kb == 0 or #b == 0 then if ka == 1 then return a else f = mm_k0 end elseif kb == 1 then if ka == 1 then f = mm_11 else f = mm_k1 end end return f(y, a, ka, b, kb) end -- Compose matrix with numbers on the right. local function compose_r(aq,ar,as,at, bq,br,bs,bt) mm(ar, ar,bq, at,br) mm(at, at,bt, ar,bs) mm(as, as,bt, aq,bs) mm(aq, aq,bq, nil,0) end -- Compose matrix with numbers on the left. local function compose_l(aq,ar,as,at, bq,br,bs,bt) mm(ar, ar,bt, aq,br) mm(at, at,bt, as,br) mm(as, as,bq, at,bs) mm(aq, aq,bq, nil,0) end -- Extract one digit. local u, v, jj = {}, {}, 0 local function extract(q,r,s,t, j) local u = j == jj + 1 and mm(u, u,1, q,1) or mm(u, q,j, r,1); jj = j local v = mm(v, t,1, s,j) local nu, nv, y = #u, #v if nu == nv then if nu == 1 then y = u[1] / v[1] else y = (u[nu]*RADIX + u[nu-1]) / (v[nv]*RADIX + v[nv-1]) end elseif nu == nv+1 then y = (u[nu]*RADIX + u[nv]) / v[nv] else return 0 end return math.floor(y) end -- Coroutine which yields successive digits of PI. return coroutine.wrap(function() local q, r, s, t, k = {1}, {}, {}, {1}, 1 repeat local y = extract(q,r,s,t, 3) if y == extract(q,r,s,t, 4) then coroutine.yield(y) compose_r(q,r,s,t, 10, -10*y, 0, 1) else compose_l(q,r,s,t, k, 4*k+2, 0, 2*k+1) k = k + 1 end until false end) ]=] -- End of dynamically compiled chunk. local N = tonumber(arg and arg[1]) or 27 local RADIX = N < 6500 and 2^36 or 2^32 -- Avoid overflow. -- Substitute radix and compile chunk. local pidigit = loadstring(string.gsub(chunk, "RADIX", tostring(RADIX)))() -- Print lines with 10 digits. for i=10,N,10 do for j=1,10 do io.write(pidigit()) end io.write("\t:", i, "\n") end -- Print remaining digits (if any). local n10 = N % 10 if n10 ~= 0 then for i=1,n10 do io.write(pidigit()) end io.write(string.rep(" ", 10-n10), "\t:", N, "\n") end
apache-2.0
mamaddeveloper/ghs
plugins/domaintools.lua
359
1494
local ltn12 = require "ltn12" local https = require "ssl.https" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function check(name) local api = "https://domainsearch.p.mashape.com/index.php?" local param = "name="..name local url = api..param local api_key = mashape.api_key if api_key:isempty() then return 'Configure your Mashape API Key' end local headers = { ["X-Mashape-Key"] = api_key, ["Accept"] = "application/json" } local respbody = {} local body, code = https.request{ url = url, method = "GET", headers = headers, sink = ltn12.sink.table(respbody), protocol = "tlsv1" } if code ~= 200 then return code end local body = table.concat(respbody) local body = json:decode(body) --vardump(body) local domains = "List of domains for '"..name.."':\n" for k,v in pairs(body) do print(k) local status = " ❌ " if v == "Available" then status = " ✔ " end domains = domains..k..status.."\n" end return domains end local function run(msg, matches) if matches[1] == "check" then local name = matches[2] return check(name) end end return { description = "Domain tools", usage = {"!domain check [domain] : Check domain name availability.", }, patterns = { "^!domain (check) (.*)$", }, run = run }
gpl-2.0