content
stringlengths
0
1.05M
origin
stringclasses
2 values
type
stringclasses
2 values
-- lightningexplo return { ["lightningexplo"] = { smogcone = { air = true, class = [[CSimpleParticleSystem]], count = 4, ground = true, water = true, properties = { airdrag = 0.8, alwaysvisible = true, colormap = [[0.3 0.3 0.8 0.01 0.3 0.4 0.8 0.01 0 0 0 0.0]], directional = false, emitrot = 90, emitrotspread = [[0 r20]], emitvector = [[0, 1, 0]], gravity = [[0, 0, 0]], numparticles = 1, particlelife = 35, particlelifespread = 10, particlesize = 10, particlesizespread = 5, particlespeed = 1, particlespeedspread = 1, pos = [[0, 1, 0]], sizegrowth = 1.5, sizemod = -1.0, texture = [[lightb]], useairlos = true, }, }, smogcone6 = { air = true, class = [[CSimpleParticleSystem]], count = 1, ground = true, water = true, properties = { airdrag = 0.8, alwaysvisible = true, colormap = [[0.3 0.3 0.8 0.02 .03 .03 .08 0.01 0 0 0 0.0]], directional = false, emitrot = 90, emitrotspread = 80, emitvector = [[0, 1, 0]], gravity = [[0, 0, 0]], numparticles = 15, particlelife = 50, particlelifespread = 10, particlesize = 5, particlesizespread = 8, particlespeed = 1, particlespeedspread = 0, pos = [[0, 1, 0]], sizegrowth = 0.5, sizemod = 1.0, texture = [[brightblueexplo]], useairlos = true, }, }, yuped = { air = true, class = [[CSimpleGroundFlash]], count = 1, ground = true, water = true, properties = { alwaysvisible = true, colormap = [[0.3 0.3 0.8 1 0.2 0.2 0.6 1 0.0 0.0 0.0 0.0]], size = 50, sizegrowth = -0.3, texture = [[groundflash]], ttl = 100, }, }, }, --Leopard Weapon ["lightningexplobig"] = { smogcone = { air = true, class = [[CSimpleParticleSystem]], count = 4, ground = true, water = true, properties = { airdrag = 0.8, alwaysvisible = true, colormap = [[0.3 0.3 0.8 0.01 0.3 0.4 0.8 0.01 0 0 0 0.0]], directional = false, emitrot = 90, emitrotspread = [[0 r20]], emitvector = [[0, 1, 0]], gravity = [[0, 0, 0]], numparticles = 1, particlelife = 120, particlelifespread = 10, particlesize = 15, particlesizespread = 5, particlespeed = 1, particlespeedspread = 1, pos = [[0, 1, 0]], sizegrowth = 3, sizemod = -1.0, texture = [[lightb]], useairlos = true, }, }, smogcone6 = { air = true, class = [[CSimpleParticleSystem]], count = 1, ground = true, water = true, properties = { airdrag = 0.8, alwaysvisible = true, colormap = [[0.3 0.3 0.8 0.02 .03 .03 .08 0.01 0 0 0 0.0]], directional = false, emitrot = 90, emitrotspread = 80, emitvector = [[0, 1, 0]], gravity = [[0, 0, 0]], numparticles = 15, particlelife = 50, particlelifespread = 10, particlesize = 5, particlesizespread = 8, particlespeed = 1, particlespeedspread = 0, pos = [[0, 1, 0]], sizegrowth = 0.6, sizemod = 1.0, texture = [[brightblueexplo]], useairlos = true, }, }, yuped = { air = true, class = [[CSimpleGroundFlash]], count = 1, ground = true, water = true, properties = { alwaysvisible = true, colormap = [[0.3 0.3 0.8 1 0.2 0.2 0.6 1 0.0 0.0 0.0 0.0]], size = 135, sizegrowth = -0.3, texture = [[groundflash]], ttl = 135, }, }, }, }
nilq/small-lua-stack
null
AddCSLuaFile("shared.lua") AddCSLuaFile("cl_init.lua") include("shared.lua") function ENT:Initialize() self:SetModel("models/psychedelics/mushroom/spores.mdl") self:PhysicsInit(SOLID_VPHYSICS) self:SetMoveType(MOVETYPE_VPHYSICS) self:SetSolid(SOLID_VPHYSICS) self:GetPhysicsObject():Wake() self:Activate() end function ENT:Use(activator, caller) end function ENT:Touch(entity) local level = entity.level if level == nil then level = 0 end if not (entity:GetClass() == "psychedelics_box" and level == 3) then return end if entity.sporesTouched then return end entity.sporesTouched = true timer.Simple(0.2, function() entity.sporesTouched = false end) -- delay used to fix bugs related to tick level = level + 1 entity.level = level entity:SetNWInt("psychedelicsWaterLevel", 100) entity:SetNWString("psychedelicsTipText", "Water it regularly and wait for it to grow") self:Remove() end function ENT:Think() end
nilq/small-lua-stack
null
object_tangible_loot_creature_loot_collections_eralam_shard_04 = object_tangible_loot_creature_loot_collections_shared_eralam_shard_04:new { } ObjectTemplates:addTemplate(object_tangible_loot_creature_loot_collections_eralam_shard_04, "object/tangible/loot/creature/loot/collections/eralam_shard_04.iff")
nilq/small-lua-stack
null
-- Hide ~ from end of lines. vim.opt.fillchars = {eob = " "} -- Add icons for lsp diagnostics sings vim.cmd [[ sign define LspDiagnosticsSignError text= texthl=LspDiagnosticsSignError linehl= numhl= sign define LspDiagnosticsSignWarning text= texthl=LspDiagnosticsSignWarning linehl= numhl= sign define LspDiagnosticsSignInformation text= texthl=LspDiagnosticsSignInformation linehl= numhl= sign define LspDiagnosticsSignHint text= texthl=LspDiagnosticsSignHint linehl= numhl= ]] vim.g.tokyonight_style = 'night' -- styles: storm, night and day. vim.g.onedark_style = 'deep' -- styles: dark, darker, cool, deep, warm and warmer. vim.cmd('colorscheme tokyonight')
nilq/small-lua-stack
null
FOREST_SIZE = 5 PLANT_SIZE = 5 NMS_MOD_DEFINITION_CONTAINER = { ["MOD_FILENAME"] = "ForestDensityAndSizeIncrease.pak", ["MOD_AUTHOR"] = "Mjjstral", ["NMS_VERSION"] = "1.77", ["MODIFICATIONS"] = { { ["PAK_FILE_SOURCE"] = "NMSARC.515F1D3.pak", ["MBIN_CHANGE_TABLE"] = { { ["MBIN_FILE_SOURCE"] = { "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\BARREN\BARRENHQOBJECTSFULL.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\BARREN\BARRENOBJECTSDEAD.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\BARREN\BARRENOBJECTSFULL.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\BARREN\BARRENOBJECTSLOW.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\BARREN\BARRENOBJECTSMID.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\FROZEN\FROZENHQOBJECTSMID.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\FROZEN\FROZENOBJECTSDEAD.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\FROZEN\FROZENOBJECTSFULL.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\FROZEN\FROZENOBJECTSLOW.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\FROZEN\FROZENOBJECTSMID.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\LUSH\LUSHHQOBJECTSFULL.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\LUSH\LUSHOBJECTSDEAD.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\LUSH\LUSHOBJECTSFULL.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\LUSH\LUSHOBJECTSLOW.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\LUSH\LUSHOBJECTSMID.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\RADIOACTIVE\RADIOACTIVEOBJECTSDEAD.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\RADIOACTIVE\RADIOACTIVEOBJECTSFULL.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\RADIOACTIVE\RADIOACTIVEOBJECTSLOW.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\RADIOACTIVE\RADIOACTIVEOBJECTSMID.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\SCORCHED\SCORCHEDOBJECTSDEAD.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\SCORCHED\SCORCHEDOBJECTSFULL.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\SCORCHED\SCORCHEDOBJECTSLOW.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\SCORCHED\SCORCHEDOBJECTSMID.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\TOXIC\TOXICOBJECTSDEAD.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\TOXIC\TOXICOBJECTSFULL.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\TOXIC\TOXICOBJECTSLOW.MBIN", "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\TOXIC\TOXICOBJECTSMID.MBIN" }, ["EXML_CHANGE_TABLE"] = { { ["PRECEDING_KEY_WORDS"] = "", ["MATH_OPERATION"] = "*", ["REPLACE_TYPE"] = "ALL", ["VALUE_MATCH"] = "", ["VALUE_CHANGE_TABLE"] = { {"MaxScale", PLANT_SIZE} } } } }, { ["MBIN_FILE_SOURCE"] = "METADATA\SIMULATION\SOLARSYSTEM\BIOMES\PLACEMENTVALUES\SPAWNDENSITYLIST.MBIN", ["EXML_CHANGE_TABLE"] = { { ["SPECIAL_KEY_WORDS"] = {"Name","FOREST",}, ["MATH_OPERATION"] = "*", ["REPLACE_TYPE"] = "", ["VALUE_MATCH"] = "", ["VALUE_CHANGE_TABLE"] = { {"PatchSize", FOREST_SIZE }, -- Original "64" {"RegionScale", FOREST_SIZE } -- Original "6" } }, { ["SPECIAL_KEY_WORDS"] = {"Name","GRASS",}, ["MATH_OPERATION"] = "*", ["REPLACE_TYPE"] = "", ["VALUE_MATCH"] = "", ["VALUE_CHANGE_TABLE"] = { {"PatchSize", FOREST_SIZE }, -- Original "4" {"RegionScale", FOREST_SIZE } -- Original "5" } }, { ["SPECIAL_KEY_WORDS"] = {"Name","BIOMEPLANT",}, ["MATH_OPERATION"] = "*", ["REPLACE_TYPE"] = "", ["VALUE_MATCH"] = "", ["VALUE_CHANGE_TABLE"] = { {"PatchSize", FOREST_SIZE }, -- Original "550" {"RegionScale", FOREST_SIZE } -- Original "0.1" } } } --807 global replacements } } } } } --NOTE: ANYTHING NOT in table NMS_MOD_DEFINITION_CONTAINER IS IGNORED AFTER THE SCRIPT IS LOADED --IT IS BETTER TO ADD THINGS AT THE TOP IF YOU NEED TO --DON'T ADD ANYTHING PASS THIS POINT HERE
nilq/small-lua-stack
null
--[[ Title: Common Load World Filter Author(s): big Date: 2021.3.30 Desc: use the lib: ------------------------------------------------------------ local CommonLoadWorldFilter = NPL.load('(gl)Mod/WorldShare/filters/cellar/Common/LoadWorld/CommonLoadWorldFilter.lua') CommonLoadWorldFilter:Init() ------------------------------------------------------------ ]] -- bottles local CommonLoadWorld = NPL.load('(gl)Mod/WorldShare/cellar/Common/LoadWorld/CommonLoadWorld.lua') local CommonLoadWorldFilter = NPL.export() function CommonLoadWorldFilter:Init() GameLogic.GetFilters():add_filter( 'cellar.common.common_load_world.enter_community_world', function(...) CommonLoadWorld:EnterCommunityWorld(...) end ) GameLogic.GetFilters():add_filter( 'cellar.common.common_load_world.enter_course_world', function(...) CommonLoadWorld:EnterCourseWorld(...) end ) GameLogic.GetFilters():add_filter( 'cellar.common.common_load_world.enter_homework_world', function(...) CommonLoadWorld:EnterHomeworkWorld(...) end ) end
nilq/small-lua-stack
null
workspace "AudioCapture" startproject "AudioCapture" configurations { "Debug", "Release" } platforms { "x86", "x64" } filter "platforms:*64" architecture "x64" filter "platforms:*86" architecture "x86" outputdir = "%{cfg.system}-%{cfg.architecture}-%{cfg.buildcfg}" project "AudioCapture" location "AudioCapture" kind "ConsoleApp" language "C++" characterset "MBCS" cppdialect "C++17" pchheader "ACPCH.h" pchsource "AudioCapture/Source/ACPCH.cpp" targetdir ("Build/" .. outputdir .. "/%{prj.name}") objdir ("Intermediate/" .. outputdir .. "/%{prj.name}") files { "%{prj.name}/Source/**.h", "%{prj.name}/Source/**.c", "%{prj.name}/Source/**.hpp", "%{prj.name}/Source/**.cpp", } includedirs { "%{prj.name}/Source", "AudioCaptureCore/Include", "AudioCapture/ThirdParty/Nuklear" } links { "Gdiplus.lib", "Shlwapi.lib", } dependson { "AudioCaptureModule" } linkoptions { "/MANIFESTUAC:\"level='requireAdministrator' uiAccess='false'\"" } debugargs { "-im vlc.exe" } postbuildcommands { "{MKDIR} ../Build/" .. outputdir .. "/AudioCapture", "{COPY} %{cfg.buildtarget.relpath} ../AudioCapture" } filter "files:**.c" flags { "NoPCH" } filter "system:windows" staticruntime "On" systemversion "latest" filter "configurations:Debug" symbols "On" filter "configurations:Release" optimize "On" filter "platforms:x64" defines { "PLATFORM64" } filter "platforms:x86" defines { "PLATFORM32" } project "AudioCaptureModule" location "AudioCaptureModule" kind "SharedLib" language "C++" characterset "MBCS" cppdialect "C++17" targetdir ("Build/" .. outputdir .. "/%{prj.name}") objdir ("Intermediate/" .. outputdir .. "/%{prj.name}") files { "%{prj.name}/Source/**.h", "%{prj.name}/Source/**.hpp", "%{prj.name}/Source/**.cpp", "%{prj.name}/Source/**.asm", } includedirs { "%{prj.name}/Source", "AudioCaptureCore/Include" } postbuildcommands { "{MKDIR} ../Build/" .. outputdir .. "/AudioCapture", "{COPY} %{cfg.buildtarget.relpath} ../AudioCapture" } filter "system:windows" staticruntime "Off" systemversion "latest" filter "configurations:Debug" symbols "On" filter "configurations:Release" optimize "On" filter "platforms:x64" defines { "PLATFORM64" } filter "platforms:x86" defines { "PLATFORM32" } project "AudioCaptureCore" location "AudioCaptureCore" kind "None" -- targetdir ("Build/" .. outputdir .. "/%{prj.name}") -- objdir ("Intermediate/" .. outputdir .. "/%{prj.name}") files { "%{prj.name}/Include/**.hpp" } includedirs { "%{prj.name}/Include" } -- filter "system:windows" -- staticruntime "Off" -- systemversion "latest" -- filter "configurations:Debug" -- symbols "On" -- filter "configurations:Release" -- optimize "On" -- filter "platforms:x64" -- defines { "PLATFORM64" } -- filter "platforms:x86" -- defines { "PLATFORM32" }
nilq/small-lua-stack
null
--[[ Copyright (c) 2021-2022 Jason Morley, Tom Sutcliffe Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ]] _ENV = module() local fns = require("fns") local fmt = string.format local Word, Long, Real, String = DataTypes.EWord, DataTypes.ELong, DataTypes.EReal, DataTypes.EString local WordArray, LongArray, RealArray, StringArray = DataTypes.EWordArray, DataTypes.ELongArray, DataTypes.ERealArray, DataTypes.EStringArray codes_er5 = { [0x00] = "SimpleDirectRightSideInt", [0x01] = "SimpleDirectRightSideLong", [0x02] = "SimpleDirectRightSideFloat", [0x03] = "SimpleDirectRightSideString", [0x04] = "SimpleDirectLeftSideInt", [0x05] = "SimpleDirectLeftSideLong", [0x06] = "SimpleDirectLeftSideFloat", [0x07] = "SimpleDirectLeftSideString", [0x08] = "SimpleInDirectRightSideInt", [0x09] = "SimpleInDirectRightSideLong", [0x0A] = "SimpleInDirectRightSideFloat", [0x0B] = "SimpleInDirectRightSideString", [0x0C] = "SimpleInDirectLeftSideInt", [0x0D] = "SimpleInDirectLeftSideLong", [0x0E] = "SimpleInDirectLeftSideFloat", [0x0F] = "SimpleInDirectLeftSideString", [0x10] = "ArrayDirectRightSideInt", [0x11] = "ArrayDirectRightSideLong", [0x12] = "ArrayDirectRightSideFloat", [0x13] = "ArrayDirectRightSideString", [0x14] = "ArrayDirectLeftSideInt", [0x15] = "ArrayDirectLeftSideLong", [0x16] = "ArrayDirectLeftSideFloat", [0x17] = "ArrayDirectLeftSideString", [0x18] = "ArrayInDirectRightSideInt", [0x19] = "ArrayInDirectRightSideLong", [0x1A] = "ArrayInDirectRightSideFloat", [0x1B] = "ArrayInDirectRightSideString", [0X1C] = "ArrayInDirectLeftSideInt", [0x1D] = "ArrayInDirectLeftSideLong", [0x1E] = "ArrayInDirectLeftSideFloat", [0x1F] = "ArrayInDirectLeftSideString", [0x20] = "FieldRightSideInt", [0x21] = "FieldRightSideLong", [0x22] = "FieldRightSideFloat", [0x23] = "FieldRightSideString", [0x24] = "FieldLeftSideInt", [0x25] = "FieldLeftSideLong", [0x26] = "FieldLeftSideFloat", [0x27] = "FieldLeftSideString", [0x28] = "ConstantInt", [0x29] = "ConstantLong", [0x2A] = "ConstantFloat", [0x2B] = "ConstantString", [0x2C] = "IllegalOpCode", [0x2D] = "IllegalOpCode", [0x2E] = "IllegalOpCode", [0x2F] = "IllegalOpCode", [0x30] = "CompareLessThanInt", [0x31] = "CompareLessThanLong", [0x32] = "CompareLessThanFloat", [0x33] = "CompareLessThanString", [0x34] = "CompareLessOrEqualInt", [0x35] = "CompareLessOrEqualLong", [0x36] = "CompareLessOrEqualFloat", [0x37] = "CompareLessOrEqualString", [0x38] = "CompareGreaterThanInt", [0x39] = "CompareGreaterThanLong", [0x3A] = "CompareGreaterThanFloat", [0x3B] = "CompareGreaterThanString", [0x3C] = "CompareGreaterOrEqualInt", [0x3D] = "CompareGreaterOrEqualLong", [0x3E] = "CompareGreaterOrEqualFloat", [0x3F] = "CompareGreaterOrEqualString", [0x40] = "CompareEqualInt", [0x41] = "CompareEqualLong", [0x42] = "CompareEqualFloat", [0x43] = "CompareEqualString", [0x44] = "CompareNotEqualInt", [0x45] = "CompareNotEqualLong", [0x46] = "CompareNotEqualFloat", [0x47] = "CompareNotEqualString", [0x48] = "AddInt", [0x49] = "AddLong", [0x4A] = "AddFloat", [0x4B] = "AddString", [0x4C] = "SubtractInt", [0x4D] = "SubtractLong", [0x4E] = "SubtractFloat", [0x4F] = "StackByteAsWord", [0x50] = "MultiplyInt", [0x51] = "MultiplyLong", [0x52] = "MultiplyFloat", [0x53] = "RunProcedure", [0x54] = "DivideInt", [0x55] = "DivideLong", [0x56] = "DivideFloat", [0x57] = "CallFunction", [0x58] = "PowerOfInt", [0x59] = "PowerOfLong", [0x5A] = "PowerOfFloat", [0x5B] = "BranchIfFalse", [0x5C] = "AndInt", [0x5D] = "AndLong", [0x5E] = "AndFloat", [0x5F] = "StackByteAsLong", [0x60] = "OrInt", [0x61] = "OrLong", [0x62] = "OrFloat", [0x63] = "StackWordAsLong", [0x64] = "NotInt", [0x65] = "NotLong", [0x66] = "NotFloat", [0x67] = "Statement16", [0x68] = "UnaryMinusInt", [0x69] = "UnaryMinusLong", [0x6A] = "UnaryMinusFloat", [0x6B] = "CallProcByStringExpr", [0x6C] = "PercentLessThan", [0x6D] = "PercentGreaterThan", [0x6E] = "PercentAdd", [0x6F] = "PercentSubtract", [0x70] = "PercentMultiply", [0x71] = "PercentDivide", [0x72] = "IllegalOpCode", [0x73] = "IllegalOpCode", [0x74] = "ZeroReturnInt", [0x75] = "ZeroReturnLong", [0x76] = "ZeroReturnFloat", [0x77] = "NullReturnString", [0x78] = "LongToInt", [0x79] = "FloatToInt", [0x7A] = "FloatToLong", [0x7B] = "IntToLong", [0x7C] = "IntToFloat", [0x7D] = "LongToFloat", [0x7E] = "LongToUInt", [0x7F] = "FloatToUInt", [0x80] = "DropInt", [0x81] = "DropLong", [0x82] = "DropFloat", [0x83] = "DropString", [0x84] = "AssignInt", [0x85] = "AssignLong", [0x86] = "AssignFloat", [0x87] = "AssignString", [0x88] = "PrintInt", [0x89] = "PrintLong", [0x8A] = "PrintFloat", [0x8B] = "PrintString", [0x8C] = "LPrintInt", [0x8D] = "LPrintLong", [0x8E] = "LPrintFloat", [0x8F] = "LPrintString", [0x90] = "PrintSpace", [0x91] = "LPrintSpace", [0x92] = "PrintCarriageReturn", [0x93] = "LPrintCarriageReturn", [0x94] = "InputInt", [0x95] = "InputLong", [0x96] = "InputFloat", [0x97] = "InputString", [0x98] = "PokeW", [0x99] = "PokeL", [0x9A] = "PokeD", [0x9B] = "PokeStr", [0x9C] = "PokeB", [0x9D] = "Append", [0x9E] = "At", [0x9F] = "Back", [0xA0] = "Beep", [0xA1] = "Close", [0xA2] = "Cls", [0xA3] = "IllegalOpCode", [0xA4] = "Copy", [0xA5] = "Create", [0xA6] = "Cursor", [0xA7] = "Delete", [0xA8] = "Erase", [0xA9] = "Escape", [0xAA] = "First", [0xAB] = "Vector", [0xAC] = "Last", [0xAD] = "LClose", [0xAE] = "LoadM", [0xAF] = "LOpen", [0xB0] = "Next", [0xB1] = "OnErr", [0xB2] = "Off", [0xB3] = "OffFor", [0xB4] = "Open", [0xB5] = "Pause", [0xB6] = "Position", [0xB7] = "IoSignal", [0xB8] = "Raise", [0xB9] = "Randomize", [0xBA] = "Rename", [0xBB] = "Stop", [0xBC] = "Trap", [0xBD] = "Update", [0xBE] = "Use", [0xBF] = "GoTo", [0xC0] = "Return", [0xC1] = "UnLoadM", [0xC2] = "Edit", [0xC3] = "Screen2", [0xC4] = "OpenR", [0xC5] = "gSaveBit", [0xC6] = "gClose", [0xC7] = "gUse", [0xC8] = "gSetWin", [0xC9] = "gVisible", [0xCA] = "gFont", [0xCB] = "gUnloadFont", [0xCC] = "gGMode", [0xCD] = "gTMode", [0xCE] = "gStyle", [0xCF] = "gOrder", [0xD0] = "IllegalOpCode", [0xD1] = "gCls", [0xD2] = "gAt", [0xD3] = "gMove", [0xD4] = "gPrintWord", [0xD5] = "gPrintLong", [0xD6] = "gPrintDbl", [0xD7] = "gPrintStr", [0xD8] = "gPrintSpace", [0xD9] = "gPrintBoxText", [0xDA] = "gLineBy", [0xDB] = "gBox", [0xDC] = "gCircle", [0xDD] = "gEllipse", [0xDE] = "gPoly", [0xDF] = "gFill", [0xE0] = "gPatt", [0xE1] = "gCopy", [0xE2] = "gScroll", [0xE3] = "gUpdate", [0xE4] = "GetEvent", [0xE5] = "gLineTo", [0xE6] = "gPeekLine", [0xE7] = "Screen4", [0xE8] = "IoWaitStat", [0xE9] = "IoYield", [0xEA] = "mInit", [0xEB] = "mCard", [0xEC] = "dInit", [0xED] = "dItem", [0xEE] = "IllegalOpCode", [0xEF] = "IllegalOpCode", [0xF0] = "Busy", [0xF1] = "Lock", [0xF2] = "gInvert", [0xF3] = "gXPrint", [0xF4] = "gBorder", [0xF5] = "gClock", [0xF6] = "IllegalOpCode", [0xF7] = "IllegalOpCode", [0xF8] = "MkDir", [0xF9] = "RmDir", [0xFA] = "SetPath", [0xFB] = "SecsToDate", [0xFC] = "gIPrint", [0xFD] = "IllegalOpCode", [0xFE] = "IllegalOpCode", [0xFF] = "NextOpcodeTable", [0x100] = "gGrey_epoc", [0x101] = "DefaultWin", [0x102] = "IllegalOpCode", [0x103] = "IllegalOpCode", [0x104] = "Font", [0x105] = "Style", [0x106] = "IllegalOpCode", [0x107] = "IllegalOpCode", [0x108] = "IllegalOpCode", [0x109] = "IllegalOpCode", [0x10A] = "IllegalOpCode", [0x10B] = "IllegalOpCode", [0x10C] = "FreeAlloc", [0x10D] = "IllegalOpCode", [0x10E] = "IllegalOpCode", [0x10F] = "gButton", [0x110] = "gXBorder", [0x111] = "IllegalOpCode", [0x112] = "IllegalOpCode", [0x113] = "IllegalOpCode", [0x114] = "ScreenInfo", [0x115] = "IllegalOpCode", [0x116] = "IllegalOpCode", [0x117] = "IllegalOpCode", [0x118] = "CallOpxFunc", [0x119] = "Statement32", [0x11A] = "Modify", [0x11B] = "Insert", [0x11C] = "Cancel", [0x11D] = "Put", [0x11E] = "DeleteTable", [0x11F] = "GotoMark", [0x120] = "KillMark", [0x121] = "ReturnFromEval", [0x122] = "GetEvent32", [0x123] = "GetEventA32", [0x124] = "gColor", [0x125] = "SetFlags", [0x126] = "SetDoc", [0x127] = "DaysToDate", [0x128] = "gInfo32", [0x129] = "IoWaitStat32", [0x12A] = "Compact", [0x12B] = "BeginTrans", [0x12C] = "CommitTrans", [0x12D] = "Rollback", [0x12E] = "ClearFlags", [0x12F] = "PointerFilter", [0x130] = "mCasc", [0x131] = "EvalExternalRightSideRef", [0x132] = "EvalExternalLeftSideRef", [0x133] = "dEditCheckbox", -- In 6.0 this opcode has actually been REDEFINED to gSetPenWidth [0x134] = "gSetPenWidth", -- in ER6 is "dEditMulti", [0x135] = "IllegalOpCode", --"gColorInfo", [0x136] = "gColorInfo", --"gColorBackground", [0x137] = "gColorBackground", -- ER6 "mCardX", [0x138] = "SetHelp", [0x139] = "ShowHelp", [0x13A] = "SetHelpUid", [0x13B] = "gXBorder32", [0x13C] = "IllegalOpCode", [0x13D] = "IllegalOpCode", [0x13E] = "IllegalOpCode", [0x13F] = "IllegalOpCode", [0x140] = "IllegalOpCode", [0x141] = "IllegalOpCode", [0x142] = "IllegalOpCode", [0x143] = "IllegalOpCode", [0x144] = "IllegalOpCode", [0x145] = "IllegalOpCode", [0x146] = "IllegalOpCode", [0x147] = "IllegalOpCode", [0x148] = "IllegalOpCode", [0x149] = "IllegalOpCode", [0x14A] = "IllegalOpCode", [0x14B] = "IllegalOpCode", [0x14C] = "IllegalOpCode", [0x14D] = "IllegalOpCode", [0x14E] = "IllegalOpCode", [0x14F] = "IllegalOpCode", [0x150] = "IllegalOpCode", [0x151] = "IllegalOpCode", [0x152] = "IllegalOpCode", [0x153] = "IllegalOpCode", [0x154] = "IllegalOpCode", [0x155] = "IllegalOpCode", [0x156] = "IllegalOpCode", [0x157] = "IllegalOpCode", [0x158] = "IllegalOpCode", [0x159] = "IllegalOpCode", [0x15A] = "IllegalOpCode", [0x15B] = "IllegalOpCode", [0x15C] = "IllegalOpCode", [0x15D] = "IllegalOpCode", [0x15E] = "IllegalOpCode", [0x15F] = "IllegalOpCode", [0x160] = "IllegalOpCode", [0x161] = "IllegalOpCode", [0x162] = "IllegalOpCode", [0x163] = "IllegalOpCode", [0x164] = "IllegalOpCode", [0x165] = "IllegalOpCode", [0x166] = "IllegalOpCode", [0x167] = "IllegalOpCode", [0x168] = "IllegalOpCode", [0x169] = "IllegalOpCode", [0x16A] = "IllegalOpCode", [0x16B] = "IllegalOpCode", [0x16C] = "IllegalOpCode", [0x16D] = "IllegalOpCode", [0x16E] = "IllegalOpCode", [0x16F] = "IllegalOpCode", [0x170] = "IllegalOpCode", [0x171] = "IllegalOpCode", [0x172] = "IllegalOpCode", [0x173] = "IllegalOpCode", [0x174] = "IllegalOpCode", [0x175] = "IllegalOpCode", [0x176] = "IllegalOpCode", [0x177] = "IllegalOpCode", [0x178] = "IllegalOpCode", [0x179] = "IllegalOpCode", [0x17A] = "IllegalOpCode", [0x17B] = "IllegalOpCode", [0x17C] = "IllegalOpCode", [0x17D] = "IllegalOpCode", [0x17E] = "IllegalOpCode", [0x17F] = "IllegalOpCode", [0x180] = "IllegalOpCode", [0x181] = "IllegalOpCode", [0x182] = "IllegalOpCode", [0x183] = "IllegalOpCode", [0x184] = "IllegalOpCode", [0x185] = "IllegalOpCode", [0x186] = "IllegalOpCode", [0x187] = "IllegalOpCode", [0x188] = "IllegalOpCode", [0x189] = "IllegalOpCode", [0x18A] = "IllegalOpCode", [0x18B] = "IllegalOpCode", [0x18C] = "IllegalOpCode", [0x18D] = "IllegalOpCode", [0x18E] = "IllegalOpCode", [0x18F] = "IllegalOpCode", [0x190] = "IllegalOpCode", [0x191] = "IllegalOpCode", [0x192] = "IllegalOpCode", [0x193] = "IllegalOpCode", [0x194] = "IllegalOpCode", [0x195] = "IllegalOpCode", [0x196] = "IllegalOpCode", [0x197] = "IllegalOpCode", [0x198] = "IllegalOpCode", [0x199] = "IllegalOpCode", [0x19A] = "IllegalOpCode", [0x19B] = "IllegalOpCode", [0x19C] = "IllegalOpCode", [0x19D] = "IllegalOpCode", [0x19E] = "IllegalOpCode", [0x19F] = "IllegalOpCode", [0x1A0] = "IllegalOpCode", [0x1A1] = "IllegalOpCode", [0x1A2] = "IllegalOpCode", [0x1A3] = "IllegalOpCode", [0x1A4] = "IllegalOpCode", [0x1A5] = "IllegalOpCode", [0x1A6] = "IllegalOpCode", [0x1A7] = "IllegalOpCode", [0x1A8] = "IllegalOpCode", [0x1A9] = "IllegalOpCode", [0x1AA] = "IllegalOpCode", [0x1AB] = "IllegalOpCode", [0x1AC] = "IllegalOpCode", [0x1AD] = "IllegalOpCode", [0x1AE] = "IllegalOpCode", [0x1AF] = "IllegalOpCode", [0x1B0] = "IllegalOpCode", [0x1B1] = "IllegalOpCode", [0x1B2] = "IllegalOpCode", [0x1B3] = "IllegalOpCode", [0x1B4] = "IllegalOpCode", [0x1B5] = "IllegalOpCode", [0x1B6] = "IllegalOpCode", [0x1B7] = "IllegalOpCode", [0x1B8] = "IllegalOpCode", [0x1B9] = "IllegalOpCode", [0x1BA] = "IllegalOpCode", [0x1BB] = "IllegalOpCode", [0x1BC] = "IllegalOpCode", [0x1BD] = "IllegalOpCode", [0x1BE] = "IllegalOpCode", [0x1BF] = "IllegalOpCode", [0x1C0] = "IllegalOpCode", [0x1C1] = "IllegalOpCode", [0x1C2] = "IllegalOpCode", [0x1C3] = "IllegalOpCode", [0x1C4] = "IllegalOpCode", [0x1C5] = "IllegalOpCode", [0x1C6] = "IllegalOpCode", [0x1C7] = "IllegalOpCode", [0x1C8] = "IllegalOpCode", [0x1C9] = "IllegalOpCode", [0x1CA] = "IllegalOpCode", [0x1CB] = "IllegalOpCode", [0x1CC] = "IllegalOpCode", [0x1CD] = "IllegalOpCode", [0x1CE] = "IllegalOpCode", [0x1CF] = "IllegalOpCode", [0x1D0] = "IllegalOpCode", [0x1D1] = "IllegalOpCode", [0x1D2] = "IllegalOpCode", [0x1D3] = "IllegalOpCode", [0x1D4] = "IllegalOpCode", [0x1D5] = "IllegalOpCode", [0x1D6] = "IllegalOpCode", [0x1D7] = "IllegalOpCode", [0x1D8] = "IllegalOpCode", [0x1D9] = "IllegalOpCode", [0x1DA] = "IllegalOpCode", [0x1DB] = "IllegalOpCode", [0x1DC] = "IllegalOpCode", [0x1DD] = "IllegalOpCode", [0x1DE] = "IllegalOpCode", [0x1DF] = "IllegalOpCode", [0x1E0] = "IllegalOpCode", [0x1E1] = "IllegalOpCode", [0x1E2] = "IllegalOpCode", [0x1E3] = "IllegalOpCode", [0x1E4] = "IllegalOpCode", [0x1E5] = "IllegalOpCode", [0x1E6] = "IllegalOpCode", [0x1E7] = "IllegalOpCode", [0x1E8] = "IllegalOpCode", [0x1E9] = "IllegalOpCode", [0x1EA] = "IllegalOpCode", [0x1EB] = "IllegalOpCode", [0x1EC] = "IllegalOpCode", [0x1ED] = "IllegalOpCode", [0x1EE] = "IllegalOpCode", [0x1EF] = "IllegalOpCode", [0x1F0] = "IllegalOpCode", [0x1F1] = "IllegalOpCode", [0x1F2] = "IllegalOpCode", [0x1F3] = "IllegalOpCode", [0x1F4] = "IllegalOpCode", [0x1F5] = "IllegalOpCode", [0x1F6] = "IllegalOpCode", [0x1F7] = "IllegalOpCode", [0x1F8] = "IllegalOpCode", [0x1F9] = "IllegalOpCode", [0x1FA] = "IllegalOpCode", [0x1FB] = "IllegalOpCode", [0x1FC] = "IllegalOpCode", [0x1FD] = "IllegalOpCode", [0x1FE] = "IllegalOpCode", [0x1FF] = "IllegalOpCode", } codes_sibo = setmetatable({ [0x57] = "CallFunction_sibo", [0xA3] = "Compress", [0xD0] = "gInfo", [0x100] = "gGrey_sibo", [0x118] = "IllegalOpCode", [0x122] = "IllegalOpCode", [0x123] = "IllegalOpCode", [0x124] = "IllegalOpCode", [0x126] = "IllegalOpCode", [0x128] = "IllegalOpCode", [0x129] = "IllegalOpCode", [0x130] = "IllegalOpCode", [0x133] = "IllegalOpCode", [0x137] = "IllegalOpCode", }, { __index = codes_er5 }) function IllegalOpCode(stack, runtime) printf("Illegal opcode at:\n%s\n", runtime:getOpoStacktrace()) error(KErrIllegal) end local function index_dump(runtime) local index = runtime:IP16() return fmt("0x%04X", index) end local function IPs8_dump(runtime) local val = runtime:IPs8() return fmt("%d (0x%s)", val, fmt("%02X", val):sub(-2)) end IP8_dump = fns.IP8_dump local function IP16_dump(runtime) local index = runtime:IP16() return fmt("0x%04X", index) end local function IPs16_dump(runtime) local val = runtime:IPs16() return fmt("%d (0x%s)", val, fmt("%04X", val):sub(-4)) end local function IPs32_dump(runtime) local val = runtime:IPs32() return fmt("%d (0x%s)", val, fmt("%08X", val):sub(-8)) end local function numParams_dump(runtime) local numParams = runtime:IP8() return fmt("numParams=%d", numParams) end local function logName_dump(runtime) local logName = runtime:IP8() return fmt("%c", string.byte("A") + logName) end --[[ xxRightSide<TYPE> means basically push the value onto the stack, the name I assume coming from the fact that this is what you'd call when the value appears on the right hand side of an assignment operation. xxLeftSide<TYPE> means push a reference of some sort to the variable, such that a subsequent Assign<TYPE> call can assign to it. We aren't concerned with database fields or type checking so we simplify the stack usage considerably from what COplRuntime does. ]] local function leftSide(stack, runtime, type, indirect) local index = runtime:IP16() local var = runtime:getVar(index, type, indirect) if isArrayType(type) then local pos = stack:pop() var = var[pos] end stack:push(var) end local function rightSide(stack, runtime, type, indirect) leftSide(stack, runtime, type, indirect) stack:push(stack:pop()()) end function SimpleDirectRightSideInt(stack, runtime) -- 0x00 return rightSide(stack, runtime, Word, false) end SimpleDirectRightSideInt_dump = index_dump function SimpleDirectRightSideLong(stack, runtime) -- 0x01 return rightSide(stack, runtime, Long, false) end SimpleDirectRightSideLong_dump = index_dump function SimpleDirectRightSideFloat(stack, runtime) -- 0x02 return rightSide(stack, runtime, Real, false) end SimpleDirectRightSideFloat_dump = index_dump function SimpleDirectRightSideString(stack, runtime) -- 0x03 return rightSide(stack, runtime, String, false) end SimpleDirectRightSideString_dump = index_dump function SimpleDirectLeftSideInt(stack, runtime) -- 0x04 return leftSide(stack, runtime, Word, false) end SimpleDirectLeftSideInt_dump = index_dump function SimpleDirectLeftSideLong(stack, runtime) -- 0x05 return leftSide(stack, runtime, Long, false) end SimpleDirectLeftSideLong_dump = index_dump function SimpleDirectLeftSideFloat(stack, runtime) -- 0x06 return leftSide(stack, runtime, Real, false) end SimpleDirectLeftSideFloat_dump = index_dump function SimpleDirectLeftSideString(stack, runtime) -- 0x07 return leftSide(stack, runtime, String, false) end SimpleDirectLeftSideString_dump = index_dump function SimpleInDirectRightSideInt(stack, runtime) -- 0x08 return rightSide(stack, runtime, Word, true) end SimpleInDirectRightSideInt_dump = index_dump function SimpleInDirectRightSideLong(stack, runtime) -- 0x09 return rightSide(stack, runtime, Long, true) end SimpleInDirectRightSideLong_dump = index_dump function SimpleInDirectRightSideFloat(stack, runtime) -- 0x0A return rightSide(stack, runtime, Real, true) end SimpleInDirectRightSideFloat_dump = index_dump function SimpleInDirectRightSideString(stack, runtime) -- 0x0B return rightSide(stack, runtime, String, true) end SimpleInDirectRightSideString_dump = index_dump function SimpleInDirectLeftSideInt(stack, runtime) -- 0x0C return leftSide(stack, runtime, Word, true) end SimpleInDirectLeftSideInt_dump = index_dump function SimpleInDirectLeftSideLong(stack, runtime) -- 0x0D return leftSide(stack, runtime, Long, true) end SimpleInDirectLeftSideLong_dump = index_dump function SimpleInDirectLeftSideFloat(stack, runtime) -- 0x0E return leftSide(stack, runtime, Real, true) end SimpleInDirectLeftSideFloat_dump = index_dump function SimpleInDirectLeftSideString(stack, runtime) -- 0x0F return leftSide(stack, runtime, String, true) end SimpleInDirectLeftSideString_dump = index_dump function ArrayDirectRightSideInt(stack, runtime) -- 0x10 return rightSide(stack, runtime, WordArray, false) end ArrayDirectRightSideInt_dump = index_dump function ArrayDirectRightSideLong(stack, runtime) -- 0x11 return rightSide(stack, runtime, LongArray, false) end ArrayDirectRightSideLong_dump = index_dump function ArrayDirectRightSideFloat(stack, runtime) -- 0x12 return rightSide(stack, runtime, RealArray, false) end ArrayDirectRightSideFloat_dump = index_dump function ArrayDirectRightSideString(stack, runtime) -- 0x13 return rightSide(stack, runtime, StringArray, false) end ArrayDirectRightSideString_dump = index_dump function ArrayDirectLeftSideInt(stack, runtime) -- 0x14 return leftSide(stack, runtime, WordArray, false) end ArrayDirectLeftSideInt_dump = index_dump function ArrayDirectLeftSideLong(stack, runtime) -- 0x15 return leftSide(stack, runtime, LongArray, false) end ArrayDirectLeftSideLong_dump = index_dump function ArrayDirectLeftSideFloat(stack, runtime) -- 0x16 return leftSide(stack, runtime, RealArray, false) end ArrayDirectLeftSideFloat_dump = index_dump function ArrayDirectLeftSideString(stack, runtime) -- 0x17 return leftSide(stack, runtime, StringArray, false) end ArrayDirectLeftSideString_dump = index_dump function ArrayInDirectRightSideInt(stack, runtime) -- 0x18 return rightSide(stack, runtime, WordArray, true) end ArrayInDirectRightSideInt_dump = index_dump function ArrayInDirectRightSideLong(stack, runtime) -- 0x19 return rightSide(stack, runtime, LongArray, true) end ArrayInDirectRightSideLong_dump = index_dump function ArrayInDirectRightSideFloat(stack, runtime) -- 0x1A return rightSide(stack, runtime, RealArray, true) end ArrayInDirectRightSideFloat_dump = index_dump function ArrayInDirectRightSideString(stack, runtime) -- 0x1B return rightSide(stack, runtime, StringArray, true) end ArrayInDirectRightSideString_dump = index_dump function ArrayInDirectLeftSideInt(stack, runtime) -- 0x1C return leftSide(stack, runtime, WordArray, true) end ArrayInDirectLeftSideInt_dump = index_dump function ArrayInDirectLeftSideLong(stack, runtime) -- 0x1D return leftSide(stack, runtime, LongArray, true) end ArrayInDirectLeftSideLong_dump = index_dump function ArrayInDirectLeftSideFloat(stack, runtime) -- 0x1E return leftSide(stack, runtime, RealArray, true) end ArrayInDirectLeftSideFloat_dump = index_dump function ArrayInDirectLeftSideString(stack, runtime) -- 0x1F return leftSide(stack, runtime, StringArray, true) end ArrayInDirectLeftSideString_dump = index_dump local function fieldLeftSide(stack, runtime) local logName = runtime:IP8() local varName = stack:pop() local db = runtime:getDb(logName) -- printf("fieldLeftSide %s\n", varName) local var = db:getCurrentVar(varName) stack:push(var) end local function fieldRightSide(stack, runtime) local logName = runtime:IP8() local varName = stack:pop() local db = runtime:getDb(logName) -- printf("fieldRightSide %s\n", varName) local val = db:getCurrentVal(varName) stack:push(val) end FieldRightSideInt = fieldRightSide -- 0x20 FieldRightSideInt_dump = logName_dump FieldRightSideLong = fieldRightSide -- 0x21 FieldRightSideLong_dump = logName_dump FieldRightSideFloat = fieldRightSide -- 0x22 FieldRightSideFloat_dump = logName_dump FieldRightSideString = fieldRightSide -- 0x23 FieldRightSideString_dump = logName_dump FieldLeftSideInt = fieldLeftSide -- 0x24 FieldLeftSideInt_dump = logName_dump FieldLeftSideLong = fieldLeftSide -- 0x25 FieldLeftSideLong_dump = logName_dump FieldLeftSideFloat = fieldLeftSide -- 0x26 FieldLeftSideFloat_dump = logName_dump FieldLeftSideString = fieldLeftSide -- 0x27 FieldLeftSideString_dump = logName_dump function ConstantInt(stack, runtime) -- 0x28 local val = runtime:IPs16() stack:push(val) end ConstantInt_dump = IPs16_dump function ConstantLong(stack, runtime) -- 0x29 local val = runtime:IPs32() stack:push(val) end ConstantLong_dump = IPs32_dump function ConstantFloat(stack, runtime) -- 0x2A local val = runtime:IPReal() stack:push(val) end function ConstantFloat_dump(runtime) local val = runtime:IPReal() return fmt("%g", val) end function ConstantString(stack, runtime) -- 0x2B local str = runtime:ipString() stack:push(str) end function ConstantString_dump(runtime) local str = runtime:ipString() return fmt('"%s"', hexEscape(str)) end function CompareLessThanUntyped(stack) local right = stack:pop() local left = stack:pop() stack:push(left < right) end CompareLessThanInt = CompareLessThanUntyped -- 0x30 CompareLessThanLong = CompareLessThanUntyped -- 0x31 CompareLessThanFloat = CompareLessThanUntyped -- 0x32 CompareLessThanString = CompareLessThanUntyped -- 0x33 function CompareLessOrEqualUntyped(stack) local right = stack:pop() local left = stack:pop() stack:push(left <= right) end CompareLessOrEqualInt = CompareLessOrEqualUntyped -- 0x34 CompareLessOrEqualLong = CompareLessOrEqualUntyped -- 0x35 CompareLessOrEqualFloat = CompareLessOrEqualUntyped -- 0x36 CompareLessOrEqualString = CompareLessOrEqualUntyped -- 0x37 function CompareGreaterThanUntyped(stack) local right = stack:pop() local left = stack:pop() stack:push(left > right) end CompareGreaterThanInt = CompareGreaterThanUntyped -- 0x38 CompareGreaterThanLong = CompareGreaterThanUntyped -- 0x39 CompareGreaterThanFloat = CompareGreaterThanUntyped -- 0x3A CompareGreaterThanString = CompareGreaterThanUntyped -- 0x3B function CompareGreaterOrEqualUntyped(stack) local right = stack:pop() local left = stack:pop() stack:push(left >= right) end CompareGreaterOrEqualInt = CompareGreaterOrEqualUntyped -- 0x3C CompareGreaterOrEqualLong = CompareGreaterOrEqualUntyped -- 0x3D CompareGreaterOrEqualFloat = CompareGreaterOrEqualUntyped -- 0x3E CompareGreaterOrEqualString = CompareGreaterOrEqualUntyped -- 0x3F function CompareEqualUntyped(stack) local right = stack:pop() local left = stack:pop() stack:push(left == right) end CompareEqualInt = CompareEqualUntyped -- 0x40 CompareEqualLong = CompareEqualUntyped -- 0x41 CompareEqualFloat = CompareEqualUntyped -- 0x42 CompareEqualString = CompareEqualUntyped -- 0x43 function CompareNotEqualUntyped(stack) local right = stack:pop() local left = stack:pop() stack:push(left ~= right) end CompareNotEqualInt = CompareNotEqualUntyped -- 0x44 CompareNotEqualLong = CompareNotEqualUntyped -- 0x45 CompareNotEqualFloat = CompareNotEqualUntyped -- 0x46 CompareNotEqualString = CompareNotEqualUntyped -- 0x47 function AddUntyped(stack) local right = stack:pop() local left = stack:pop() stack:push(left + right) end AddInt = AddUntyped -- 0x48 AddLong = AddUntyped -- 0x49 AddFloat = AddUntyped -- 0x4A function AddString(stack) -- 0x4B local right = stack:pop() local left = stack:pop() stack:push(left .. right) end function SubtractUntyped(stack) local right = stack:pop() local left = stack:pop() stack:push(left - right) end SubtractInt = SubtractUntyped -- 0x4C SubtractLong = SubtractUntyped -- 0x4D SubtractFloat = SubtractUntyped -- 0x4E function StackByteAsWord(stack, runtime) -- 0x4F local val = runtime:IPs8() stack:push(val) end StackByteAsWord_dump = IPs8_dump function MultiplyUntyped(stack) if stack then local right = stack:pop() local left = stack:pop() stack:push(left * right) end end MultiplyInt = MultiplyUntyped -- 0x50 MultiplyLong = MultiplyUntyped -- 0x51 MultiplyFloat = MultiplyUntyped -- 0x52 local function decodeRunProc(runtime) local procIdx = runtime:IP16() local name, numParams local proc = runtime:currentProc() for _, subproc in ipairs(proc.subprocs) do if subproc.offset == procIdx then name = subproc.name numParams = subproc.numParams break end end return procIdx, name, numParams end function RunProcedure(stack, runtime) -- 0x53 local procIdx, name, numParams = decodeRunProc(runtime) assert(name, "Subproc not found for index "..tostring(procIdx)) local proc = runtime:findProc(name) -- printf("RunProcedure %s\n", name) runtime:pushNewFrame(stack, proc, numParams) end function RunProcedure_dump(runtime) local procIdx, name, numParams = decodeRunProc(runtime) return fmt('0x%04X (name="%s" nargs=%s)', procIdx, name or "?", tostring(numParams or "?")) end function DivideInt(stack) -- 0x54 local denominator = stack:pop() if denominator == 0 then error(KErrDivideByZero) end stack:push(stack:pop() // denominator) end DivideLong = DivideInt -- 0x55 function DivideFloat(stack) -- 0x56 local denominator = stack:pop() if denominator == 0 then error(KErrDivideByZero) end stack:push(stack:pop() / denominator) end function CallFunction(stack, runtime) -- 0x57 local fnIdx = runtime:IP8() local fnName = fns.codes_er5[fnIdx] local fn = assert(fns[fnName], "Function "..fnName.. " not implemented!") fn(stack, runtime) end function CallFunction_dump(runtime) local fnIdx = runtime:IP8() local fnName = fns.codes_er5[fnIdx] local dumpFn = fns[fnName.."_dump"] return fmt("0x%02X (%s)%s", fnIdx, fnName or "?", dumpFn and dumpFn(runtime) or "") end function CallFunction_sibo(stack, runtime) -- 0x57 local fnIdx = runtime:IP8() local fnName = fns.codes_sibo[fnIdx] local fn = assert(fns[fnName], "Function "..fnName.. " not implemented!") fn(stack, runtime) end function CallFunction_sibo_dump(runtime) local fnIdx = runtime:IP8() local fnName = fns.codes_sibo[fnIdx] local dumpFn = fns[fnName.."_dump"] return fmt("0x%02X (%s)%s", fnIdx, fnName or "?", dumpFn and dumpFn(runtime) or "") end function PowerOfUntyped(stack) local powerOf = stack:pop() local number = stack:pop() if powerOf <= 0 and number == 0 then -- No infs here thank you very much error(KErrInvalidArgs) end stack:push(number ^ powerOf) end PowerOfInt = PowerOfUntyped -- 0x58 PowerOfLong = PowerOfUntyped -- 0x59 PowerOfFloat = PowerOfUntyped -- 0x5A function BranchIfFalse(stack, runtime) -- 0x5B local ip = runtime:getIp() - 1 -- Because ip points to just after us local relJmp = runtime:IPs16() if stack:pop() == 0 then runtime:setIp(ip + relJmp) end end function BranchIfFalse_dump(runtime) local ip = runtime:getIp() - 1 -- Because ip points to just after us local relJmp = runtime:IPs16() return fmt("%d (->%08X)", relJmp, ip + relJmp) end function AndInt(stack) -- 0x5C local right = stack:pop() local left = stack:pop() stack:push(left & right) end AndLong = AndInt -- 0x5D function AndFloat(stack) -- 0x5E local right = stack:pop() local left = stack:pop() -- Weird one, this stack:push((left ~= 0) and (right ~= 0)) end StackByteAsLong = StackByteAsWord -- 0x5F StackByteAsLong_dump = IPs8_dump function OrInt(stack) -- 0x60 local right = stack:pop() local left = stack:pop() stack:push(left | right) end OrLong = OrInt -- 0x61 function OrFloat(stack) -- 0x62 local right = stack:pop() local left = stack:pop() stack:push((left ~= 0) or (right ~= 0)) end function StackWordAsLong(stack, runtime) -- 0x63 local val = runtime:IPs16() stack:push(val) end StackWordAsLong_dump = IPs16_dump function NotInt(stack) -- 0x64 stack:push(~stack:pop()) end NotLong = NotInt -- 0x65 function NotFloat(stack) -- 0x66 stack:push(stack:pop() ~= 0) end function OplDebug(pos) printf("Statement number %d\n", pos) end function Statement16(stack, runtime) -- 0x67 local pos = runtime:IP16() OplDebug(pos) end Statement16_dump = IP16_dump function UnaryMinusUntyped(stack) stack:push(-stack:pop()) end UnaryMinusInt = UnaryMinusUntyped -- 0x68 UnaryMinusLong = UnaryMinusUntyped -- 0x69 UnaryMinusFloat = UnaryMinusUntyped -- 0x6A function CallProcByStringExpr(stack, runtime) -- 0x6B local numParams = runtime:IP8() local type = runtime:IP8() local procName = stack:remove(stack:getSize() - numParams*2) if not procName:match("[%%%&%$]$") and type ~= 0 then procName = string.format("%s%c", procName, type) end local proc = runtime:findProc(procName:upper()) runtime:pushNewFrame(stack, proc, numParams) end function CallProcByStringExpr_dump(runtime) local numParams = runtime:IP8() local type = runtime:IP8() return fmt("nargs=%d type=%s", numParams, type) end function PercentLessThan(stack, runtime) -- 0x6C unimplemented("PercentLessThan") end function PercentGreaterThan(stack, runtime) -- 0x6D unimplemented("PercentGreaterThan") end function PercentAdd(stack, runtime) -- 0x6E unimplemented("PercentAdd") end function PercentSubtract(stack, runtime) -- 0x6F unimplemented("PercentSubtract") end function PercentMultiply(stack, runtime) -- 0x70 unimplemented("PercentMultiply") end function PercentDivide(stack, runtime) -- 0x71 unimplemented("PercentDivide") end function ZeroReturn(stack, runtime) runtime:returnFromFrame(stack, 0) end ZeroReturnInt = ZeroReturn -- 0x74 ZeroReturnLong = ZeroReturn -- 0x75 ZeroReturnFloat = ZeroReturn -- 0x76 function NullReturnString(stack, runtime) -- 0x77 runtime:returnFromFrame(stack, "") end local function NoOp() end LongToInt = NoOp -- 0x78 function FloatToInt(stack, runtime) -- 0x79 return fns.IntLong(stack, runtime) -- no idea why these are duplicated end FloatToLong = FloatToInt -- 0x7A IntToLong = NoOp -- 0x7B IntToFloat = NoOp -- 0x7C LongToFloat = NoOp -- 0x7D LongToUInt = NoOp -- 0x7E FloatToUInt = NoOp -- 0x7F function DropUntyped(stack) stack:pop() end DropInt = DropUntyped -- 0x80 DropLong = DropUntyped -- 0x81 DropFloat = DropUntyped -- 0x82 DropString = DropUntyped -- 0x83 function AssignUntyped(stack, runtime) local val = stack:pop() local var = stack:pop() var(val) end AssignInt = AssignUntyped -- 0x84 AssignLong = AssignUntyped -- 0x85 AssignFloat = AssignUntyped -- 0x86 AssignString = AssignUntyped -- 0x87 function PrintUntyped(stack, runtime) runtime:PRINT(tostring(stack:pop())) end PrintInt = PrintUntyped -- 0x88 PrintLong = PrintUntyped -- 0x89 function PrintFloat(stack, runtime) -- 0x8A local val = stack:pop() local int = math.tointeger(val) if int then -- Whole number floats print without the .0 in OPL runtime:PRINT(tostring(int)) else runtime:PRINT(tostring(val)) end end PrintString = PrintUntyped -- 0x8B function LPrintInt(stack, runtime) -- 0x8C stack:push(string.format("%d", stack:pop())) LPrintString(stack, runtime) end function LPrintLong(stack, runtime) -- 0x8D stack:push(string.format("%d", stack:pop())) LPrintString(stack, runtime) end function LPrintFloat(stack, runtime) -- 0x8E stack:push(string.format("%g", stack:pop())) LPrintString(stack, runtime) end function LPrintString(stack, runtime) -- 0x8F local str = stack:pop() local handle = runtime:getResource("lopen") assert(handle, KErrClosed) local err = runtime:IOWRITE(handle, str) assert(err == 0, err) end function PrintSpace(stack, runtime) -- 0x90 runtime:PRINT(" ") end function LPrintSpace(stack, runtime) -- 0x91 stack:push(" ") LPrintString(stack, runtime) end function PrintCarriageReturn(stack, runtime) -- 0x92 runtime:PRINT("\n") end function LPrintCarriageReturn(stack, runtime) -- 0x93 stack:push("\n") LPrintString(stack, runtime) end function InputInt(stack, runtime) -- 0x94 local var = stack:pop() local trapped = runtime:getTrap() local result while result == nil do local line = runtime:iohandler().editValue({ type = "integer", initialValue = "", prompt = "?", allowCancel = trapped, }) if not line then error(KErrEsc) end result = tonumber(line) if result == nil then if trapped then -- We can error and the trap check in runtime will deal with it error(KErrGenFail) else -- iohandler is responsible for outputting a linefeed after reading the line runtime:iohandler().print("?") -- And go round again end end end var(result) runtime:setTrap(false) end InputLong = InputInt -- 0x95 InputFloat = InputInt -- 0x96 function InputString(stack, runtime) -- 0x97 local var = stack:pop() local trapped = runtime:getTrap() local line = runtime:iohandler().editValue({ type = "text", initialValue = "", prompt = "?", allowCancel = trapped, }) var(line) runtime:setTrap(false) end function PokeW(stack, runtime) -- 0x98 local data = string.pack("<i2", stack:pop()) local addr = runtime:addrFromInt(stack:pop()) addr:write(data) end function PokeL(stack, runtime) -- 0x99 local data = string.pack("<i4", stack:pop()) local addr = runtime:addrFromInt(stack:pop()) addr:write(data) end function PokeD(stack, runtime) -- 0x9A local data = string.pack("<d", stack:pop()) local addr = runtime:addrFromInt(stack:pop()) addr:write(data) end function PokeStr(stack, runtime) -- 0x9B local data = string.pack("<s1", stack:pop()) local addr = runtime:addrFromInt(stack:pop()) addr:write(data) end function PokeB(stack, runtime) -- 0x9C local data = string.pack("B", stack:pop()) local addr = runtime:addrFromInt(stack:pop()) addr:write(data) end function Append(stack, runtime) -- 0x9D local db = runtime:getDb() db:appendRecord() runtime:saveDbIfModified() runtime:setTrap(false) end function At(stack, runtime) -- 0x9E local x, y = stack:popXY() runtime:AT(x, y) end function Back(stack, runtime) -- 0x9F local db = runtime:getDb() db:setPos(db:getPos() - 1) runtime:setTrap(false) end function Beep(stack, runtime) -- 0xA0 local pitch = stack:pop() local freq = 512 / (pitch + 1) -- in Khz local duration = stack:pop() * 1/32 -- in seconds local ok, err = runtime:iohandler().beep(freq, duration) assert(ok, err) end function Close(stack, runtime) -- 0xA1 runtime:closeDb() runtime:setTrap(false) end function Cls(stack, runtime) -- 0xA2 runtime:CLS() end function Copy(stack, runtime) -- 0xA4 local dest = stack:pop() local src = stack:pop() assert(not src:match("%*"), "COPY doesn't support wildcards yet!") local data, err = runtime:iohandler().fsop("read", src) assert(data, err) if dest:match("\\$") then dest = dest..oplpath.basename(src) end err = runtime:iohandler().fsop("write", dest, data) assert(err == KErrNone, err) runtime:setTrap(false) end local function parseOpenOrCreate(runtime) local logName = runtime:IP8() local fields = {} while true do local type = runtime:IP8() if type == 0xFF then break end local field = runtime:ipString() table.insert(fields, { name = field, type = type }) end return logName, fields end function Create(stack, runtime) -- 0xA5 local logName, fields = parseOpenOrCreate(runtime) local tableSpec = stack:pop() runtime:openDb(logName, tableSpec, fields, "Create") runtime:setTrap(false) end function Create_dump(runtime) local logName, fields = parseOpenOrCreate(runtime) local fieldNames = {} for i, field in ipairs(fields) do fieldNames[i] = field.name end return fmt("logName=%d fields=%s", logName, table.concat(fieldNames, ", ")) end function Cursor(stack, runtime) -- 0xA6 local numParams = runtime:IP8() printf("CURSOR numParams=%d\n", numParams) -- TODO end Cursor_dump = numParams_dump function Delete(stack, runtime) -- 0xA7 local filename = stack:pop() assert(#filename > 0, KErrName) filename = runtime:assertPathValid(runtime:abs(filename)) local err = runtime:iohandler().fsop("delete", filename) if err ~= 0 then error(err) end runtime:setTrap(false) end function Erase(stack, runtime) -- 0xA8 local db = runtime:getDb() db:deleteRecord() runtime:setTrap(false) end function Escape(stack, runtime) -- 0xA9 local state = runtime:IP8() -- We don't care end function Escape_dump(runtime) return fmt("state=%d", runtime:IP8()) end function First(stack, runtime) -- 0xAA local db = runtime:getDb() db:setPos(1) runtime:setTrap(false) end function Vector(stack, runtime) -- 0xAB local ip = runtime:getIp() local maxIndex = runtime:IP16() local index = stack:pop() if index == 0 or index > maxIndex then runtime:setIp(ip + 2 + maxIndex * 2) else runtime:setIp(ip + index * 2) local relJmp = runtime:IPs16() runtime:setIp(ip - 1 + relJmp) end end function Vector_dump(runtime) local ip = runtime:getIp() - 1 local maxIndex = runtime:IP16() local strings = {} for i = 1, maxIndex do local relJmp = runtime:IPs16() strings[i] = fmt("%08X %d (->%08X)", runtime:getIp() - 2, relJmp, ip + relJmp) end return fmt("maxIndex=%d\n%s", maxIndex, table.concat(strings, "\n")) end function Last(stack, runtime) -- 0xAC local db = runtime:getDb() db:setPos(db:getCount()) runtime:setTrap(false) end function LClose(stack, runtime) -- 0xAD local handle = runtime:getResource("lopen") if handle then local err = runtime:IOCLOSE(handle) runtime:setResource("lopen", nil) if err ~= 0 then error(err) end end runtime:setTrap(false) end function LoadM(stack, runtime) -- 0xAE -- Unlike everything else, LoadM has its own idea of where paths should be relative to local path = oplpath.abs(stack:pop(), runtime:getPath()) runtime:loadModule(path) runtime:setTrap(false) end function LOpen(stack, runtime) -- 0xAF if runtime:getResource("lopen") then error(KErrDevOpen) end local name = stack:pop() local mode = KIoOpenModeReplace local handle, err = runtime:IOOPEN(name, mode) assert(handle, err) runtime:setResource("lopen", handle) runtime:setTrap(false) end function Next(stack, runtime) -- 0xB0 local db = runtime:getDb() db:setPos(db:getPos() + 1) runtime:setTrap(false) end local function decodeOnErr(runtime) local offset = runtime:IP16() local newIp if offset ~= 0 then newIp = runtime:getIp() + offset - 3 end return newIp, offset end function OnErr(stack, runtime) -- 0xB1 runtime:setFrameErrIp(decodeOnErr(runtime)) end function OnErr_dump(runtime) local newIp, offset = decodeOnErr(runtime) return newIp and fmt("%d (->%08X)", offset, newIp) or "OFF" end function Off(stack, runtime) -- 0xB2 unimplemented("Off") end function OffFor(stack, runtime) -- 0xB3 unimplemented("OffFor") end function Open(stack, runtime) -- 0xB4 local logName, fields = parseOpenOrCreate(runtime) local tableSpec = stack:pop() runtime:openDb(logName, tableSpec, fields, "Open") runtime:setTrap(false) end Open_dump = Create_dump function Pause(stack, runtime) -- 0xB5 local val = stack:pop() -- pause time in 1/20 seconds runtime:PAUSE(val) end function Position(stack, runtime) -- 0xB6 local pos = stack:pop() local db = runtime:getDb() db:setPos(pos) runtime:setTrap(false) end function IoSignal(stack, runtime) -- 0xB7 runtime:requestSignal() end function Raise(stack, runtime) -- 0xB8 error(stack:pop()) end function Randomize(stack, runtime) -- 0xB9 math.randomseed(stack:pop()) end function Rename(stack, runtime) -- 0xBA local dest = stack:pop() local src = stack:pop() -- printf("Rename %s->%s\n", src, dest) src = runtime:abs(src) dest = runtime:abs(dest) local err = runtime:iohandler().fsop("rename", src, dest) if err ~= 0 then error(err) end runtime:setTrap(false) end function Stop(stack, runtime) -- 0xBB -- OPL uses User::Leave(0) for this (and for returning from the main fn) but -- I can't bring myself to error with a zero code so KStopErr is a made-up -- value that's something more obvious printf("Stop called.\n") error(KStopErr) end function Trap(stack, runtime) -- 0xBC runtime:setTrap(true) end function Update(stack, runtime) -- 0xBD local db = runtime:getDb() db:updateRecord() runtime:saveDbIfModified() runtime:setTrap(false) end function Use(stack, runtime) -- 0xBE runtime:useDb(runtime:IP8()) runtime:setTrap(false) end Use_dump = logName_dump function GoTo(stack, runtime) -- 0xBF local ip = runtime:getIp() - 1 -- Because ip points to just after us local relJmp = runtime:IPs16() runtime:setIp(ip + relJmp) end function GoTo_dump(runtime) local ip = runtime:getIp() - 1 -- Because ip points to just after us local relJmp = runtime:IPs16() return fmt("%d (->%08X)", relJmp, ip + relJmp) end function Return(stack, runtime) -- 0xC0 local val = stack:pop() runtime:returnFromFrame(stack, val) end function UnLoadM(stack, runtime) -- 0xC1 local module = stack:pop() runtime:unloadModule(module) runtime:setTrap(false) end function Edit(stack, runtime) -- 0xC2 unimplemented("Edit") runtime:setTrap(false) end function Screen2(stack, runtime) -- 0xC3 local w, h = stack:popXY() runtime:SCREEN(w, h) end function OpenR(stack, runtime) -- 0xC4 local logName, fields = parseOpenOrCreate(runtime) local tableSpec = stack:pop() runtime:openDb(logName, tableSpec, fields, "OpenR") runtime:setTrap(false) end OpenR_dump = Open_dump function gSaveBit(stack, runtime) -- 0xC5 local numParams = runtime:IP8() local w, h if numParams == 1 then w, h = stack:popXY() end runtime:gSAVEBIT(stack:pop(), w, h) runtime:setTrap(false) end gSaveBit_dump = numParams_dump function gClose(stack, runtime) -- 0xC6 local id = stack:pop() assert(id ~= KDefaultWin, KErrInvalidArgs) -- Cannot close the console runtime:closeGraphicsContext(id) runtime:setTrap(false) end function gUse(stack, runtime) -- 0xC7 runtime:gUSE(stack:pop()) runtime:setTrap(false) end function gSetWin(stack, runtime) -- 0xC8 local numParams = runtime:IP8() local w, h if numParams == 4 then w, h = stack:popXY() end local x, y = stack:popXY() runtime:gSETWIN(x, y, w, h) end gSetWin_dump = numParams_dump function gVisible(stack, runtime) -- 0xC9 local show = runtime:IP8() == 1 runtime:gVISIBLE(show) end gVisible_dump = IP8_dump function gFont(stack, runtime) -- 0xCA local id = stack:pop() runtime:gFONT(id) runtime:setTrap(false) end function gUnloadFont(stack, runtime) -- 0xCB unimplemented("gUnloadFont") runtime:setTrap(false) end function gGMode(stack, runtime) -- 0xCC runtime:gGMODE(stack:pop()) end function gTMode(stack, runtime) -- 0xCD runtime:gTMODE(stack:pop()) end function gStyle(stack, runtime) -- 0xCE runtime:gSTYLE(stack:pop()) end function gOrder(stack, runtime) -- 0xCF local pos = stack:pop() local id = stack:pop() runtime:gORDER(id, pos) end function gInfo(stack, runtime) -- 0xD0 (SIBO only) local addr = runtime:addrFromInt(stack:pop()) local context = runtime:getGraphicsContext() local w, h, ascent = runtime:gTWIDTH("0") local data = { 0, -- 1 lowest character code (??) 255, -- 2 highest character code (??) h, -- 3 font height h - ascent, -- 4 font descent ascent, -- 5 font ascent w, -- 6 width of '0' (really?) 17, -- 7 max character width 17, -- 8 font flags TODO CHECK 0, -- 9-11 font name TODO 0, -- 10 0, -- 11 0, -- 12 0, -- 13 0, -- 14 0, -- 15 0, -- 16 0, -- 17 context.mode, -- 18 gMode context.tmode, -- 19 gTMode context.style, -- 20 gStyle 0, -- 21 cursor state -1, -- 22 ID of window containing cursor 0, -- 23 cursor width 0, -- 24 cursor height 0, -- 25 cursor ascent 0, -- 26 cursor x 0, -- 27 cursor y context.isWindow and 0 or 1, -- 28 drawableIsBitmap 6, -- 29 cursor effects 0, -- 30 gGREY setting (TODO...) 0, -- 31 reserved 0, -- 32 reserved } addr:writeArray(data, DataTypes.EWord) end function gCls(stack, runtime) -- 0xD1 runtime:gCLS() end function gAt(stack, runtime) -- 0xD2 local x, y = stack:popXY() runtime:gAT(x, y) end function gMove(stack, runtime) -- 0xD3 local dx, dy = stack:popXY() runtime:gMOVE(dx, dy) end function gPrintWord(stack, runtime) -- 0xD4 runtime:gPRINT(stack:pop()) end gPrintLong = gPrintWord -- 0xD5 gPrintDbl = gPrintWord -- 0xD6 gPrintStr = gPrintWord -- 0xD7 function gPrintSpace(stack, runtime) -- 0xD8 runtime:gPRINT(" ") end function gPrintBoxText(stack, runtime) -- 0xD9 local context = runtime:getGraphicsContext() local numParams = runtime:IP8() local margin = 0 local bottom = 0 local top = 0 local align = 2 -- left if numParams > 4 then margin = stack:pop() end if numParams > 3 then bottom = stack:pop() end if numParams > 2 then top = stack:pop() end if numParams > 1 then align = stack:pop() end local width = stack:pop() local text = stack:pop() runtime:gPRINTB(text, width, align, top, bottom, margin) end gPrintBoxText_dump = numParams_dump function gLineBy(stack, runtime) -- 0xDA local dx, dy = stack:popXY() runtime:gLINEBY(dx, dy) end function gBox(stack, runtime) -- 0xDB local width, height = stack:popXY() runtime:gBOX(width, height) end function gCircle(stack, runtime) -- 0xDC local hasFill = runtime:IP8() local fill = false if hasFill ~= 0 then fill = stack:pop() ~= 0 end local radius = stack:pop() runtime:gCIRCLE(radius, fill) end gCircle_dump = numParams_dump function gEllipse(stack, runtime) -- 0xDD local hasFill = runtime:IP8() local fill = false if hasFill ~= 0 then fill = stack:pop() ~= 0 end local x, y = stack:popXY() runtime:gELLIPSE(x, y, fill) end gEllipse_dump = numParams_dump function gPoly(stack, runtime) -- 0xDE local addr = runtime:addrFromInt(stack:pop()) local x, y, n = string.unpack("<i2i2i2", addr:read(6)) local intArray = { x, y, n } addr = addr + 6 for i = 0, n-1 do local x, y = string.unpack("<i2i2", addr:read(4)) addr = addr + 4 intArray[4 + i*2] = x intArray[4 + i*2 + 1] = y end runtime:gPOLY(intArray) end function gFill(stack, runtime) -- 0xDF local mode = stack:pop() local width, height = stack:popXY() runtime:gFILL(width, height, mode) end function gPatt(stack, runtime) -- 0xE0 local mode = stack:pop() local height = stack:pop() local width = stack:pop() local id = stack:pop() runtime:gPATT(id, width, height, mode) runtime:setTrap(false) end function gCopy(stack, runtime) -- 0xE1 local mode = stack:pop() local x, y, w, h = stack:popRect() local srcId = stack:pop() runtime:gCOPY(srcId, x, y, w, h, mode) runtime:setTrap(false) end function gScroll(stack, runtime) -- 0xE2 local numParams = runtime:IP8() local x, y, w, h if numParams == 6 then x, y, w, h = stack:popRect() end local dx, dy = stack:popXY() runtime:gSCROLL(dx, dy, x, y, w, h) end gScroll_dump = numParams_dump function gUpdate(stack, runtime) -- 0xE3 local val = runtime:IP8() if val == 255 then runtime:gUPDATE() elseif val == 0 then runtime:gUPDATE(false) else runtime:gUPDATE(true) end end function gUpdate_dump(runtime) local flag = runtime:IP8() return fmt("flag=%d", flag) end function GetEvent(stack, runtime) -- 0xE4 local resultAddr = stack:pop() local stat = runtime:makeTemporaryVar(DataTypes.EWord) local ev = runtime:makeTemporaryVar(DataTypes.ELongArray, 16) runtime:GETEVENTA32(stat, ev:addressOf()) runtime:waitForRequest(stat) local result = {} local k = ev[KEvAType]() if k & KEvNotKeyMask == 0 then result[1] = keycodeToCharacterCode(k) result[2] = ev[KEvAKMod]() | ((ev[KEvAKRep]()) << 8) else result[1] = k end resultAddr:writeArray(result, DataTypes.EWord) end function gLineTo(stack, runtime) -- 0xE5 local x, y = stack:popXY() runtime:gLINETO(x, y) end function gPeekLine(stack, runtime) -- 0xE6 local mode = stack:pop() assert(mode >= -1 and mode <= 2, KErrInvalidArgs) local numPixels = stack:pop() local numBits = numPixels << (mode == -1 and 0 or mode) local numWords = (numBits + 15) // 16 local numBytes = numWords * 2 local d = stack:pop() local x, y = stack:popXY() local drawable = stack:pop() -- printf("gPeekLine %d,%d id=%d numPixels=%d mode=%d\n", x, y, drawable, numPixels, mode) runtime:flushGraphicsOps() local result = runtime:iohandler().graphicsop("peekline", drawable, x, y, numPixels, mode) d:write(result) end function Screen4(stack, runtime) -- 0xE7 local x, y = stack:popXY() local w, h = stack:popXY() runtime:SCREEN(w, h, x, y) end function IoWaitStat(stack, runtime) -- 0xE8 local stat = stack:pop():asVariable(DataTypes.EWord) runtime:waitForRequest(stat) end function IoYield(stack, runtime) -- 0xE9 runtime:checkCompletions() end function mInit(stack, runtime) -- 0xEA runtime:mINIT() end function mCard(stack, runtime) -- 0xEB local numParams = runtime:IP8() local menu = runtime:getMenu() local card = {} for i = 1, numParams do local item = {} item.key = stack:pop() item.text = stack:pop() if item.text:match(">$") then -- It's a cascade local cascade = menu.cascades[item.text] if cascade then item.text = item.text:sub(1, -2) item.submenu = cascade else -- We're suppose to just ignore its cascadiness print("CASCADE NOT FOUND") end end -- Last item is popped first table.insert(card, 1, item) end card.title = stack:pop() table.insert(menu, card) end mCard_dump = numParams_dump function dInit(stack, runtime) -- 0xEC local numParams = runtime:IP8() local dialog = { title = "", flags = 0, xpos = 0, ypos = 0, items = {} } if numParams == 2 then dialog.flags = stack:pop() end if numParams >= 1 then dialog.title = stack:pop() end runtime:setDialog(dialog) end dInit_dump = numParams_dump function dItem(stack, runtime) -- 0xED local itemType = runtime:IP8() local dialog = runtime:getDialog() local item = { type = itemType } local shouldAdd = true if itemType == dItemTypes.dTEXT then local flagToAlign = { [0] = "left", [1] = "right", [2] = "center" } local flags = 0 if runtime:IP8() ~= 0 then flags = stack:pop() end item.align = flagToAlign[flags & 3] item.value = stack:pop() item.prompt = stack:pop() if item.prompt == "" then item.prompt = nil end item.selectable = (flags & KDTextAllowSelection) > 0 item.lineBelow = (flags & KDTextLineBelow) > 0 if item.prompt == nil and item.value == "" and (flags & KDTextSeparator) > 0 then item = { type = dItemTypes.dSEPARATOR } end -- Ignoring the other flags for now elseif itemType == dItemTypes.dCHOICE then item.choices = {} local commaList = stack:pop() item.prompt = stack:pop() item.variable = stack:pop() local prevItem = dialog.items[#dialog.items] if prevItem and prevItem.type == dItemTypes.dCHOICE and prevItem.moreChoices then assert(item.variable == prevItem.variable, "Cannot use '...' with a different variable!") item = prevItem item.moreChoices = false shouldAdd = false end for choice in commaList:gmatch("[^,]+") do if choice == "..." then item.moreChoices = true else assert(not item.moreChoices, "Cannot specify more options after '...'!") table.insert(item.choices, choice) end end -- Have to resolve default choice here, and _not_ at the point of the DIALOG call! local val = math.min(math.max(item.variable(), 1), #item.choices) item.value = tostring(val) elseif itemType == dItemTypes.dLONG or itemType == dItemTypes.dFLOAT or itemType == dItemTypes.dDATE or itemType == dItemTypes.dTIME then item.max = stack:pop() item.min = stack:pop() assert(item.max >= item.min, KErrInvalidArgs) local timeFlags if itemType == dItemTypes.dTIME then timeFlags = stack:pop() -- TODO something with timeFlags end item.prompt = stack:pop() item.variable = stack:pop() item.value = tostring(item.variable()) elseif itemType == dItemTypes.dEDIT or itemType == dItemTypes.dEDITlen then if itemType == dItemTypes.dEDITlen then item.len = stack:pop() end item.prompt = stack:pop() item.variable = stack:pop() item.value = tostring(item.variable()) -- printf("dEdit len=%s string maxlen=%d\n", item.len, item.variable:stringMaxLen()) if not item.len then item.len = item.variable:stringMaxLen() end item.type = dItemTypes.dEDIT -- No need to distinguish in higher layers elseif itemType == dItemTypes.dXINPUT then item.prompt = stack:pop() item.variable = stack:pop() elseif itemType == dItemTypes.dBUTTONS then shouldAdd = false assert(dialog.buttons == nil, KOplStructure) local numButtons = runtime:IP8() dialog.buttons = {} for i = 1, numButtons do local key = stack:pop() local text = stack:pop() table.insert(dialog.buttons, 1, { key = key, text = text }) end elseif itemType == dItemTypes.dPOSITION then dialog.xpos, dialog.ypos = stack:popXY() shouldAdd = false else error("Unsupported dItem type "..itemType) end if shouldAdd then table.insert(dialog.items, item) end end function dItem_dump(runtime) local itemType = runtime:IP8() local extra = "" if itemType == dItemTypes.dBUTTONS then extra = fmt(" numButtons=%d", runtime:IP8()) elseif itemType == dItemTypes.dTEXT then extra = fmt(" hasFlags=%d", runtime:IP8()) end return fmt("%d (%s)%s", itemType, dItemTypes[itemType] or "?", extra) end function Busy(stack, runtime) -- 0xF0 local numParams = runtime:IP8() local corner, delay, str if numParams > 2 then delay = stack:pop() end if numParams > 1 then corner = stack:pop() end if numParams > 0 then str = stack:pop() end runtime:BUSY(str, corner, delay) end Busy_dump = numParams_dump function Lock(stack, runtime) -- 0xF1 runtime:IP8() -- Don't care end Lock_dump = IPs8_dump function gInvert(stack, runtime) -- 0xF2 local w, h = stack:popXY() runtime:gINVERT(w, h) end function gXPrint(stack, runtime) -- 0xF3 local flags = stack:pop() local str = stack:pop() runtime:gXPRINT(str, flags) end function gBorder(stack, runtime) -- 0xF4 local numParams = runtime:IP8() local w, h if numParams == 3 then w, h = stack:popXY() end local flags = stack:pop() runtime:gBORDER(flags, w, h) end gBorder_dump = numParams_dump function gClock(stack, runtime) -- 0xF5 local numParams = runtime:IP8() local mode, offset, format, font, style if numParams == 6 then style = stack:pop() end if numParams >= 5 then font = stack:pop() end if numParams >= 4 then format = stack:pop() end if numParams >= 3 then offset = stack:pop() end if numParams >= 2 then mode = stack:pop() end -- TODO support the rest of the params runtime:gCLOCK(mode) end gClock_dump = numParams_dump function MkDir(stack, runtime) -- 0xF8 local path = stack:pop() runtime:MKDIR(path) runtime:setTrap(false) end function RmDir(stack, runtime) -- 0xF9 local path = stack:pop() runtime:RMDIR(path) runtime:setTrap(false) end function SetPath(stack, runtime) -- 0xFA local path = stack:pop() -- printf("SetPath %s\n", path) local dir = oplpath.split(path) -- Yep, D:\dir\thingwithoutslash means D:\dir\ runtime:setCwd(dir) end function SecsToDate(stack, runtime) -- 0xFB unimplemented("SecsToDate") end function gIPrint(stack, runtime) -- 0xFC local numParams = runtime:IP8() local corner = 3 if numParams == 1 then corner = stack:pop() end runtime:gIPRINT(stack:pop(), corner) end gIPrint_dump = numParams_dump function NextOpcodeTable(stack, runtime) -- 0xFF local realOpcode = 256 + runtime:IP8() local fnName = runtime.opcodes[realOpcode] local realFn = _ENV[fnName] assert(realFn, "No function for "..fnName) realFn(stack, runtime) end function NextOpcodeTable_dump(runtime) local extendedCode = runtime:IP8() local realOpcode = 256 + extendedCode local fnName = runtime.opcodes[realOpcode] local dumpFn = _ENV[fnName.."_dump"] return fmt("%02X %s %s", extendedCode, fnName, dumpFn and dumpFn(runtime) or "") end function gGrey_epoc(stack, runtime) -- 0x100 local mode = stack:pop() local val = mode == 1 and 0xAA or 0 runtime:gCOLOR(val, val, val) end function gGrey_sibo(stack, runtime) -- 0x100 local mode = stack:pop() runtime:getGraphicsContext().greyMode = mode end function DefaultWin(stack, runtime) -- 0x101 local id = 1 local newMode = stack:pop() local context = runtime:getGraphicsContext(id) context.displayMode = newMode runtime:iohandler().graphicsop("close", id) runtime:iohandler().createWindow(id, 0, 0, context.width, context.height, newMode) runtime:iohandler().graphicsop("show", id, true) end function Font(stack, runtime) -- 0x104 local style = stack:pop() local uid = stack:pop() runtime:FONT(uid, style) end function Style(stack, runtime) -- 0x105 local style = stack:pop() runtime:STYLE(style) end function FreeAlloc(stack, runtime) -- 0x10C local addr = runtime:addrFromInt(stack:pop()) runtime:realloc(addr:intValue(), 0) end function gButton(stack, runtime) -- 0x10F local text, type, width, height, state, bitmap, mask, layout local numParams = runtime:IP8() if numParams == 3 then layout = stack:pop() end if numParams >= 2 then mask = stack:pop() end if numParams >= 1 then bitmap = stack:pop() end state = stack:pop() height = stack:pop() width = stack:pop() type = stack:pop() text = stack:pop() runtime:gBUTTON(text, type, width, height, state, bitmap, mask, layout) end gButton_dump = numParams_dump function gXBorder(stack, runtime) -- 0x110 local numParams = runtime:IP8() local w, h if numParams == 4 then w, h = stack:popXY() end local flags = stack:pop() local type = stack:pop() runtime:gXBORDER(type, flags, w, h) end gXBorder_dump = numParams_dump function ScreenInfo(stack, runtime) -- 0x114 local addr = runtime:addrFromInt(stack:pop()) local screen = runtime:getGraphics().screen local screenFontUid = KFontCourierNormal11 local result = { [1] = screen.x, -- Left margin in pixels [2] = screen.y, -- Top margin in pixels [3] = screen.w, -- text screen width in chars [4] = screen.h, -- text screen height in chars [5] = 1, -- text win window id (ie default window) [6] = 0, -- unused [7] = screen.charw, -- screen font char width [8] = screen.charh, -- screen font char height [9] = screen.fontid & 0xFFFF, [10] = (screen.fontid >> 16) & 0xFFFF, } addr:writeArray(result, DataTypes.EWord) end function CallOpxFunc(stack, runtime) -- 0x118 local opxNo = runtime:IP8() local fnIdx = runtime:IP16() local opx = runtime:moduleForProc(runtime:currentProc()).opxTable[1 + opxNo] assert(opx, "Bad opx id?") if not opx.module then local ok local modName = "opx."..opx.filename ok, opx.module = pcall(require, modName) if not ok then unimplemented(modName) end end local fnName = opx.module.fns[fnIdx] if not fnName then unimplemented(fmt("opx.%s.%d", opx.filename, fnIdx)) end local fn = opx.module[fnName] if not fn then unimplemented(fmt("opx.%s.%s", opx.filename, fnName)) end fn(stack, runtime) end function CallOpxFunc_dump(runtime) local opxNo = runtime:IP8() local fnIdx = runtime:IP16() local opx = runtime:moduleForProc(runtime:currentProc()).opxTable[1 + opxNo] local fnName if opx then local ok, module = pcall(require, fmt("opx.%s", opx.filename)) if ok then fnName = module.fns[fnIdx] end end return fmt("%d %d (%s %s)", opxNo, fnIdx, opx and opx.filename or "?", fnName or "?") end function Statement32(stack, runtime) -- 0x119 unimplemented("Statement32") end function Modify(stack, runtime) -- 0x11A runtime:getDb():modify() runtime:setTrap(false) end function Insert(stack, runtime) -- 0x11B runtime:getDb():insert() runtime:setTrap(false) end function Cancel(stack, runtime) -- 0x11C runtime:getDb():cancel() runtime:setTrap(false) end function Put(stack, runtime) -- 0x11D local db = runtime:getDb() db:put() runtime:saveDbIfModified() runtime:setTrap(false) end function DeleteTable(stack, runtime) -- 0x11E unimplemented("DeleteTable") end function GotoMark(stack, runtime) -- 0x11F unimplemented("GotoMark") end function KillMark(stack, runtime) -- 0x120 unimplemented("KillMark") end function ReturnFromEval(stack, runtime) -- 0x121 unimplemented("ReturnFromEval") end function GetEvent32(stack, runtime) -- 0x122 local stat = runtime:makeTemporaryVar(DataTypes.EWord) local ev = runtime:addrFromInt(stack:pop()) runtime:GETEVENTA32(stat, ev) runtime:waitForRequest(stat) end function GetEventA32(stack, runtime) -- 0x123 local ev = runtime:addrFromInt(stack:pop()) local stat = stack:pop():asVariable(DataTypes.EWord) runtime:GETEVENTA32(stat, ev) end function gColor(stack, runtime) -- 0x124 local blue = stack:pop() local green = stack:pop() local red = stack:pop() runtime:gCOLOR(red, green, blue) end function SetFlags(stack, runtime) -- 0x125 local flags = stack:pop() printf("SetFlags(%d)\n", flags) end function SetDoc(stack, runtime) -- 0x126 printf("SetDoc(%s)\n", stack:pop()) end function DaysToDate(stack, runtime) -- 0x127 unimplemented("DaysToDate") end function gInfo32(stack, runtime) -- 0x128 local addr = runtime:addrFromInt(stack:pop()) local context = runtime:getGraphicsContext() local w, h, ascent = runtime:gTWIDTH("0") local data = { 0, -- 1 reserved 0, -- 2 reserved h, -- 3 font height h - ascent, -- 4 font descent ascent, -- 5 font ascent w, -- 6 width of '0' (really?) 17, -- 7 max character width 17, -- 8 font flags context.font.uid, -- 9 font uid 0, -- 10 0, -- 11 0, -- 12 0, -- 13 0, -- 14 0, -- 15 0, -- 16 0, -- 17 context.mode, -- 18 gMode context.tmode, -- 19 gTMode context.style, -- 20 gStyle 0, -- 21 cursor state -1, -- 22 ID of window containing cursor 0, -- 23 cursor width 0, -- 24 cursor height 0, -- 25 cursor ascent 0, -- 26 cursor x 0, -- 27 cursor y 0, -- 28 drawableIsBitmap 6, -- 29 cursor effects 0, -- 30 color mode of current window context.color.r, -- 31 fg r context.color.g, -- 32 fg g context.color.b, -- 33 fg b context.bgcolor.r, -- 34 bg r context.bgcolor.g, -- 35 bg g context.bgcolor.b, -- 36 bg b 0, -- 37 0, -- 38 0, -- 39 0, -- 40 0, -- 41 0, -- 42 0, -- 43 0, -- 44 0, -- 45 0, -- 46 0, -- 47 0, -- 48 } addr:writeArray(data, DataTypes.ELong) end function IoWaitStat32(stack, runtime) -- 0x129 local stat = stack:pop():asVariable(DataTypes.ELong) -- printf("IoWaitStat32 %s", stat) runtime:waitForRequest(stat) -- printf(" -> %s\n", stat) end function Compact(stack, runtime) -- 0x12A unimplemented("Compact") end function BeginTrans(stack, runtime) -- 0x12B runtime:getDb():beginTransaction() end function CommitTrans(stack, runtime) -- 0x12C runtime:getDb():endTransaction(true) runtime:saveDbIfModified() end function Rollback(stack, runtime) -- 0x12D runtime:getDb():endTransaction(false) end function ClearFlags(stack, runtime) -- 0x12E unimplemented("ClearFlags") end function PointerFilter(stack, runtime) -- 0x12F local mask = stack:pop() local filter = stack:pop() printf("PointerFilter filter=%d mask=%d\n", filter, mask) end function mCasc(stack, runtime) -- 0x130 local numParams = runtime:IP8() local card = {} for i = 1, numParams do local key = stack:pop() local text = stack:pop() -- Last item is popped first table.insert(card, 1, { key = key, text = text }) end local title = stack:pop() card.title = title runtime:getMenu().cascades[title..">"] = card end mCasc_dump = numParams_dump function EvalExternalRightSideRef(stack, runtime) -- 0x131 unimplemented("EvalExternalRightSideRef") end function EvalExternalLeftSideRef(stack, runtime) -- 0x132 unimplemented("EvalExternalLeftSideRef") end function dEditCheckbox(stack, runtime) -- 0x133 local dialog = runtime:getDialog() local item = { type = dItemTypes.dCHECKBOX } item.prompt = stack:pop() item.variable = stack:pop() item.value = tostring(item.variable()) table.insert(dialog.items, item) end function gXBorder32(stack, runtime) -- 0x13B unimplemented("gXBorder32") end function SetHelpUid(stack, runtime) -- 0x13A unimplemented("SetHelpUid") end function ShowHelp(stack, runtime) -- 0x139 unimplemented("ShowHelp") end function SetHelp(stack, runtime) -- 0x138 unimplemented("SetHelp") end function mCardX(stack, runtime) -- 0x137 unimplemented("mCardX") end function gColorBackground(stack, runtime) -- ER5: 0x137, ER6: 0x136 local blue = stack:pop() local green = stack:pop() local red = stack:pop() runtime:gCOLORBACKGROUND(red, green, blue) end function gColorInfo(stack, runtime) -- ER5: 0x136, ER6: 0x135 local addr = runtime:addrFromInt(stack:pop()) local result = { 6, -- TDisplayMode::EColor256 256, -- numColors 256, -- numGrays } addr:writeArray(result, DataTypes.ELong) end function gSetPenWidth(stack, runtime) -- 0x134 local width = stack:pop() runtime:gSETPENWIDTH(width) end return _ENV
nilq/small-lua-stack
null
local PANEL = {} function PANEL:Init() self.size = NS_ICON_SIZE end function PANEL:setIconSize(size) self.size = size end function PANEL:setItem(item) self.Icon:SetSize( self.size * (item.width or 1), self.size * (item.height or 1) ) self.Icon:InvalidateLayout(true) self:setItemType(item:getID()) self:centerIcon() end function PANEL:centerIcon(w, h) w = w or self:GetWide() h = h or self:GetTall() local iconW, iconH = self.Icon:GetSize() self.Icon:SetPos((w - iconW) * 0.5, (h - iconH) * 0.5) end function PANEL:PaintBehind(w, h) surface.SetDrawColor(0, 0, 0, 150) surface.DrawRect(0, 0, w, h) surface.DrawOutlinedRect(0, 0, w, h) end function PANEL:PerformLayout(w, h) self:centerIcon(w, h) end vgui.Register("nutGridInvItem", PANEL, "nutItemIcon")
nilq/small-lua-stack
null
-- hydra farm has its E-W sprites flipped if data.raw["assembling-machine"]["ye_pool"] then local temp = data.raw["assembling-machine"]["ye_pool"].animation.east data.raw["assembling-machine"]["ye_pool"].animation.east = data.raw["assembling-machine"]["ye_pool"].animation.west data.raw["assembling-machine"]["ye_pool"].animation.west = temp end -- fish and wood have the wrong icon size (yuoki still has them at 32 when they became 64) if data.raw["recipe"]["ye_synwood_recipe"] then data.raw["recipe"]["ye_synwood_recipe"].icon_size = 64 end if data.raw["recipe"]["ye_synwood_recipe"] then data.raw["recipe"]["ye_synwood_recipe"].icon_size = 64 end if data.raw["recipe"]["ye_grow_fish1"] then data.raw["recipe"]["ye_grow_fish1"].icon_size = 64 end
nilq/small-lua-stack
null
local Screen = {} function Screen:new(name, meta, props) self = meta or {} self.Name = name return self end return Screen
nilq/small-lua-stack
null
package.path = package.path .. ";data/scripts/lib/?.lua" --namespace SectorWreckageCleaner SectorWreckageCleaner = {} local self = SectorWreckageCleaner self._Debug = 0 self._SizeLimit = 15 --Change this value if you want to mess with the size of the wreckage pieces being deleted. Bigger # = bigger wreckage, generally speaking. self._MoneyLimit = 100000 --Change this value if you want to mess with the monetary value of the wreckage pieces being deleted. self._CheckValue = true --Change this value to false if you want to skip the money check entirely. Advised if you set _SizeLimit higher than 20 or so. --!!! WARNING !!! SETTING THIS TO TRUE WILL CAUSE VALUABLE WRECKAGES WITH FEW BLOCKS TO BE DELETED !!! WARNING !!! function SectorWreckageCleaner.getUpdateInterval() return 10 end function SectorWreckageCleaner.updateServer() local _MethodName = "On Update Server" local _Sector = Sector() local _Wrecks = {_Sector:getEntitiesByType(EntityType.Wreckage)} local _WrecksDeletedCount = 0 local _WrecksTaggedCount = 0 for _, _Wreck in pairs(_Wrecks) do local _WreckPlan = Plan(_Wreck.id) if _WreckPlan.numBlocks and _WreckPlan.numBlocks <= self._SizeLimit then if not _Wreck:getValue("_WreckageCleaner_SKIP") then local _Delete = false if self._CheckValue then local _BlockPlan = _WreckPlan:get() if _BlockPlan:getMoneyValue() <= self._MoneyLimit then _Delete = true end else _Delete = true end if _Delete then _Sector:deleteEntity(_Wreck) _WrecksDeletedCount = _WrecksDeletedCount + 1 else --Tag this so it won't copy the blockplan again. _Wreck:setValue("_WreckageCleaner_SKIP", true) _WrecksTaggedCount = _WrecksTaggedCount + 1 end end end end self.Log(_MethodName, "Deleted " .. tostring(_WrecksDeletedCount) .. " wreckages and tagged " .. tostring(_WrecksTaggedCount) .. " this update.") end function SectorWreckageCleaner.Log(_MethodName, _Msg) if self._Debug == 1 then print("[SectorWreckageCleaner] - [" .. tostring(_MethodName) .. "] - " .. tostring(_Msg)) end end
nilq/small-lua-stack
null
require 'src.entities.exit' Player = class('entities.Player', Person) local function initAnimations(image) local animations = {} local grid = anim8.newGrid(32, 32, image:getWidth(), image:getHeight()) animations.up = anim8.newAnimation(grid('1-4', 4), 0.15) animations.down = anim8.newAnimation(grid('1-4', 1), 0.15) animations.left = anim8.newAnimation(grid('1-4', 2), 0.15) animations.right = anim8.newAnimation(grid('1-4', 3), 0.15) animations.upIdle = anim8.newAnimation(grid(1, 4), 0.15) animations.downIdle = anim8.newAnimation(grid(1, 1), 0.15) animations.leftIdle = anim8.newAnimation(grid(1, 2), 0.15) animations.rightIdle = anim8.newAnimation(grid(1, 3), 0.15) return animations end local function playerFilter(item, other) if other.isInstanceOf ~= nil and other:isInstanceOf(Exit) then return 'cross' end return 'slide' end local function handleCollision(self, collision, x, y) local other = collision.other self.touching = other if other.isInstanceOf ~= nil and other:isInstanceOf(Exit) then other:use() end end local function toggleControl(self, enable) if enable then beholder.group(self.inputObserverGroup, function() beholder.observe('INPUT_DIRECTION', function(dir) self:input(dir) end) beholder.observe('INPUT_BUTTON', function(btn) self:input(btn) end) end) else beholder.stopObserving(self.inputObserverGroup) end end function Player:initialize(init) assert(init.image ~= nil, 'Player expects an image parameter') Person.initialize(self, init) self.speed = 100 self.inputDirection = Vector() self.inputObserverGroup = {} self.toggleControlObserver = beholder.observe('TOGGLE_PLAYER_CONTROL', function(enable) toggleControl(self, enable) end) self.image = init.image self.animations = initAnimations(self.image) self.direction = 'down' self.animation = self.animations.downIdle end function Player:update(dt, world) local delta = self.inputDirection * self.speed * dt if delta ~= Vector() then self.touching = nil local targetPosition = self:getPosition() + delta local actualX, actualY, cols, len = world:move(self, targetPosition.x, targetPosition.y, playerFilter) for i = 1, len do handleCollision(self, cols[i], actualX, actualY) end self:setPosition(Vector(actualX, actualY)) self.inputDirection = Vector() self:switchAnimation(self.direction) else self:switchAnimation(self.direction .. 'Idle') end self.animation:update(dt) end function Player:draw() self.animation:draw(self.image, self.x - 3, self.y - 16) love.graphics.rectangle('line', self.x, self.y, 26, 16) end function Player:input(type) if type == 'up' then self.inputDirection.y = -1 self.direction = 'up' elseif type == 'down' then self.inputDirection.y = 1 self.direction = 'down' elseif type == 'left' then self.inputDirection.x = -1 self.direction = 'left' elseif type == 'right' then self.inputDirection.x = 1 self.direction = 'right' elseif type == 'confirm' then if self.touching ~= nil and self.touching.interact ~= nil then self.touching:interact() end end end function Player:switchAnimation(animationName) if self.animation ~= self.animations[animationName] then self.animation = self.animations[animationName] end end
nilq/small-lua-stack
null
#!/usr/bin/env lua n = io.read("*number") num = {} for i = 1, n do num[#num+1] = io.read("*number") end function A1(num) sum=0 isExist=false for i,v in ipairs(num) do if v%10==0 then sum=sum+v isExist=true end end return isExist and sum or nil end function A2(num) sign=0 sum=0 isExist=false for i,v in ipairs(num) do if v%5==1 then sum=sum+v*(-1)^sign sign=sign+1 isExist=true end end return isExist and sum or nil end function A3(num) cnt=0 isExist=false for i,v in ipairs(num) do if v%5==2 then cnt=cnt+1 isExist=true end end return isExist and cnt or nil end function A4(num) sum=0 cnt=0 isExist=false for i,v in ipairs(num) do if v%5==3 then sum=sum+v cnt=cnt+1 isExist=true end end return isExist and sum/cnt or nil end function A5(num) max=-1 isExist=false for i,v in ipairs(num) do if v%5==4 and v>max then max=v isExist=true end end return isExist and max or nil end a = { A1(num), A2(num), A3(num), A4(num), A5(num), } for i = 1, 5 do if not a[i] then a[i] = 'N' elseif i == 4 then a[i] = string.format("%.1f", a[i]) else a[i] = string.format("%d", a[i]) end end print(string.format("%s %s %s %s %s", a[1], a[2], a[3], a[4], a[5]))
nilq/small-lua-stack
null
function RPGM.CallClassFunction(class, functionName, ...) if not class then return end local functions = class:getFunctions() if not (istable(functions) and functions[functionName]) then return end return functions[functionName](...) end
nilq/small-lua-stack
null
local DrawRoad = Helpers.DrawRoad local function DrawConnectedEdges(vertexIndex, color) local connectedRoads = Roads:GetConnectedEdges(vertexIndex) for _, connectedEdge in pairs(connectedRoads) do if connectedEdge.id ~= vertexIndex then local connectedRoad = Roads:GetRoadById(connectedEdge.id) if connectedRoad then DrawRoad(connectedRoad, color) end end end end local function DrawNearestRoad() -- Get the nearest Edge to the Camera position local current_edge = Roads:GetEdgeByPosition(Camera:GetPosition(), 500) if current_edge then local road = Roads:GetRoadById(current_edge.id) -- If the associated Road object is streamed in, render the connected Edges if road then DrawConnectedEdges(current_edge.vertices[1].id, Color.Red) DrawConnectedEdges(current_edge.vertices[2].id, Color.Blue) end end end local function FindRoadPath() Roads:FindRoadPath( Vector3(-6873.57, 241.75, -9364.9), Vector3(-12280.43, 226.22, -5061.12), function(args) if not args.success then Chat:Print("Failed to find road path", Color.Red) return end Events:Subscribe( "Render", function() for i, v in ipairs(args.edges) do local color = Color.FromHSV((i - 1) / #args.edges * 360, 0.7, 1.0) local road = Roads:GetRoadById(v.id) -- If the Road game object is streamed in, render the spline in high detail, -- otherwise, we'll settle for basic point-to-point lines. if road then DrawRoad(road, color) else Render:DrawLine(v.vertices[1].position, v.vertices[2].position, color) end end end ) end ) end local function OnModuleLoad() Events:Subscribe('Render', DrawNearestRoad) FindRoadPath() end Events:Subscribe('ModuleLoad', OnModuleLoad)
nilq/small-lua-stack
null
require('../yarnparse') --really simple menu for displaying choices. --like dumb simple. menu={ --slows down input. timer=4.5, --select item. select=1 } function love.load() --load up the yarn file. yarn=yarnparse:load("twochoices.json") --let's start with Start --some would say it should automatically Start with Start? --but I like giving the coder more control. node=yarn:get_node("Start") --FPS globals-- min_dt = 1/60 --set to a smooth 60 fps next_time = love.timer.getTime() end function love.update(dt) --limit FPS next_time = next_time + min_dt local cur_time = love.timer.getTime() --the yarn code-- --does this node have ahoices for the player to make? if so, --update and use the simple as salt menu. if(node.has_choices) then if(menu.timer<0.1) then menu.timer=4.5 if(love.keyboard.isDown("up")) then menu.select=menu.select+1 if(menu.select>=#node.choices) then menu.select=1 end end if(love.keyboard.isDown("down")) then menu.select=menu.select-1 if(menu.select<=0) then menu.select=#node.choices end end if love.keyboard.isDown("space") then --if the player pressed space, they made a selection --so now we move to the chosen node. node=yarn:make_choice(node, menu.select) end else menu.timer=menu.timer-0.2 end end end function love.draw() --print that text! love.graphics.print(node.body.text, 100, 80) if(node.has_choices) then for i,v in ipairs(node.choices) do --our menu selection. The selected text is a diff color if(i==menu.select) then love.graphics.setColor(0.9, 0.4, 0.3) end --and this is the actual text itself. love.graphics.print(v.text, 100, 200+(i*20)) -------------------------------------- if(i==menu.select) then love.graphics.setColor(1, 1, 1) end end end end
nilq/small-lua-stack
null
require("tint-tesla-turret") function genTeslaTurrets(inputs) -- Copy electric furnace local item = table.deepcopy(data.raw.item["laser-turret"]) local recipe = table.deepcopy(data.raw.recipe["laser-turret"]) local entity = table.deepcopy(data.raw["electric-turret"]["laser-turret"]) local tech = table.deepcopy(data.raw.technology["laser-turret"]) local tint = {r = 1, g = 1, b = 0.1, a = 1} --Item if inputs.new then item.name = "5d-tesla-turret-" .. inputs.number end item.icon = "__5dim_battlefield__/graphics/icon/tesla-turret/tesla-turret-icon-" .. inputs.number .. ".png" item.subgroup = inputs.subgroup item.order = inputs.order item.place_result = item.name --Recipe recipe.name = item.name recipe.icon = item.icon recipe.result = item.name recipe.icon_size = 64 if inputs.new then recipe.enabled = false end recipe.ingredients = inputs.ingredients --Entity entity.name = item.name entity.next_upgrade = inputs.nextUpdate or nil entity.icon = item.icon entity.minable.result = item.name entity.folded_animation.layers[3] = tesla_turret_extension_mask { frame_count = 1, line_length = 1, tint = inputs.tint } entity.preparing_animation.layers[3] = tesla_turret_extension_mask {tint = inputs.tint} entity.prepared_animation.layers[3] = tesla_turret_shooting_mask {tint = inputs.tint} entity.folding_animation.layers[3] = tesla_turret_extension_mask { run_mode = "backward", tint = inputs.tint } entity.attack_parameters.cooldown = inputs.attackSpeed entity.attack_parameters.range = inputs.range entity.attack_parameters.damage_modifier = inputs.cooldown entity.attack_parameters.ammo_type.action.action_delivery.max_length = inputs.range + 1 entity.attack_parameters.ammo_type.action.action_delivery.beam = "electric-beam" entity.max_health = inputs.health or 1500 entity.fast_replaceable_group = "tesla-turret" entity.resistances = inputs.resistances or nil entity.energy_source.buffer_capacity = 801 * 6 .. "kJ" entity.energy_source.input_flow_limit = 9600 * 6 .. "kW" entity.energy_source.drain = 24 * 6 .. "kW" entity.attack_parameters.ammo_type.energy_consumption = 800 * 6 .. "kJ" data:extend({entity, recipe, item}) -- Technology if inputs.tech then tech.name = "5d-tesla-turrets-" .. inputs.tech.number tech.icon = item.icon tech.icon_size = 64 tech.unit.count = inputs.tech.count tech.unit.ingredients = inputs.tech.packs tech.prerequisites = inputs.tech.prerequisites tech.effects = { { type = "unlock-recipe", recipe = item.name } } data:extend({tech}) end end
nilq/small-lua-stack
null
-- load all plugins require "pluginList" require "misc-utils" require "top-bufferline" require "statusline" require("colorizer").setup() require("neoscroll").setup() -- smooth scroll -- lsp stuff require "nvim-lspconfig" require "compe-completion" local cmd = vim.cmd local g = vim.g g.mapleader = " " g.auto_save = 0 -- colorscheme related stuff cmd "syntax on" local base16 = require "base16" base16(base16.themes["onedark"], true) require "highlights" -- blankline g.indentLine_enabled = 1 g.indent_blankline_char = "▏" g.indent_blankline_filetype_exclude = {"help", "terminal", "dashboard"} g.indent_blankline_buftype_exclude = {"terminal"} g.indent_blankline_show_trailing_blankline_indent = false g.indent_blankline_show_first_indent_level = false require "treesitter-nvim" require "mappings" require "telescope-nvim" require "nvimTree" -- file tree stuff require "file-icons" -- git signs , lsp symbols etc require "gitsigns-nvim" require("nvim-autopairs").setup() require("lspkind").init() -- hide line numbers in terminal windows vim.api.nvim_exec([[ au BufEnter term://* setlocal nonumber ]], false) require "zenmode" require "whichkey" require "dashboard"
nilq/small-lua-stack
null
ATTRIBUTE.name = "Crafting" ATTRIBUTE.desc = "What you can craft."
nilq/small-lua-stack
null
-- General utility functions --------------------------------------------------------------------- local utils = {} -- Imports all key-values in a table, presumably the public entries in a module, into the current environment. -- If a key being imported already exists in the current environment, the current value for it is clobbered. function utils.import(module) local env = getfenv(1) for k, v in pairs(module) do env[k] = v end end -- Noop function, intended for use as functional argument. function utils.noop() end -- Simply returns its given arguments. Can be used as a near-noop callback function. Slightly more expensive than utils.noop due to '...' argument handling. function utils.passthrough(...) return ... end -- Convenience function that simply returns true, intended for use as functional argument. function utils.always_true() return true end -- Convenience function that simply returns false, intended for use as functional argument. function utils.always_false() return false end -- Serializes value(s) into a string that can be evaluated via loadstring. If multiple values are passed, they are each serialized and concatenated with the "," delimiter. -- WARNING: Cyclic references will cause an infinite recursion. function utils.serialize(...) local arg_len = select("#", ...) if arg_len == 0 then return "" elseif arg_len > 1 then local serialized_vals = {} for i = 1, arg_len do local val = select(i, ...) -- This has to be done in its own statement, since select(i, ...) returns all i-th to arg_len-th arguments serialized_vals[i] = utils.serialize(val) end return table.concat(serialized_vals, ",", 1, arg_len) end local val = select(1, ...) if val == nil then return "nil" end local val_type = type(val) if val_type == "string" then return string.format("%q", val) elseif val_type == "number" or val_type == "boolean" then return tostring(val) elseif val_type == "table" then local str_arr = {} local len if table.is_array(val) then len = #val for i = 1, len do str_arr[i] = utils.serialize(val[i]) end else len = 0 for k, v in pairs(val) do len = len + 1 local key_str = k if type(k) ~= "string" or not k:match("^[%a_][%w_]*$") then key_str = "[" .. utils.serialize(k) .. "]" end str_arr[len] = key_str .. "=" .. utils.serialize(v) end end return "{" .. table.concat(str_arr, ",", 1, len) .. "}" else -- unserializable value type like function, thread, or userdata - just wrap its tostring value in quotes and angle brackets return '"<' .. tostring(val) .. '>"' end end -- Serializes given value into JSON. Treats tables are JSON objects rather than arrays. Treats nil as JSON null. -- WARNING: Cyclic references will cause an infinite recursion. function utils.to_json(val) if val == nil then return "null" end local val_type = type(val) if val_type == "table" then return table.to_json(val) elseif val_type == "number" or val_type == "boolean" then return tostring(val) elseif val_type == "string" then return string.to_json(val) else -- unserializable value like function, thread, or userdata - just wrap its tostring value in quotes and angle brackets return '"<' .. tostring(val) .. '>"' end end -- If given value is not a table, simply returns the given value. -- If given value is is a table, then shallow copies the table into a second table, optionally passed in as the second argument. -- If this second argument is not a table (e.g. is omitted), then a new table is created with the same metatable as the given table. function utils.shallow_copy(t, new_t) if type(t) ~= 'table' then return t end if type(new_t) ~= 'table' then new_t = {} setmetatable(new_t, getmetatable(t)) end for k, v in next, t do new_t[k] = v end return new_t end -- If given value is not a table, simply returns the given value. -- If given value is is a table, then deep copies the table into a second table, optionally passed in as the second argument. -- If this second argument is not a table (e.g. is omitted), then a new table is created with the same metatable as the given table. -- WARNING: Cyclic references will cause an infinite recursion. function utils.deep_copy(t, new_t) if type(t) ~= 'table' then return t end if type(new_t) ~= 'table' then new_t = {} setmetatable(new_t, getmetatable(t)) end setmetatable(new_t, getmetatable(t)) for k, v in next, t do new_t[utils.deep_copy(k)] = utils.deep_copy(v) end return new_t end -- Helper function for utils.timed_run, taking advantage of the fact that arguments (whether function arguments, return arguments, assignment right-hand-side arguments) -- are evaluated from left to right in Lua. local function prepend_time_diff(start_time, ...) return os.difftime(os.clock(), start_time), ... end -- Calls the given function with given arguments and returns the CPU time (in seconds) it took for that call, along with all that call's return values. -- For example: -- function expensive_function(x, y, z) -- -- expensive operations... -- return a, b, c, d -- end -- local time_diff, my_a, my_b, my_c, my_d = utils.timed_call(expensive_function, my_x, my_y, my_z) function utils.timed_call(func, ...) return prepend_time_diff(os.clock(), func(...)) end -- Lua Standard Library extensions --------------------------------------------------------------------- function string.to_json(s) return string.gsub(string.format("%q", s), "\\\n", "\\n") end function string.at(s, i) return string.char(string.byte(s, i)) -- apparently a bit faster than string.sub(s, i, i) end -- XXX: There seems to be a string.sub bug where if the end string length is greater than the input string length, the game crashes. -- I can only replicate this bug in the Lua embedded within TW, not on any other Lua 5.1.x version I can build or otherwise get my hands on. -- The game also crashes whenever string.sub is called in a non-main coroutine (i.e. a coroutine that's not the one that scripts start in). -- So redefining string.sub here to avoid such crashes. -- Technically, this redefinition allows i to be omitted, while string.sub should disallow it, but other than that, I can't find any other behavioral difference. -- Somehow, this is also a bit faster than the original string.sub. string._orig_sub = string.sub --luacheck:no global function string.sub(s, i, j) --luacheck:no global if j == nil then j = -1 end return string.char(string.byte(s, i, j)) end -- string.starts_with(s, start_str) already implemented in lib_common.lua. -- string.ends_with(s, end_str) already implemented in lib_common.lua. -- Convenience function that simply returns a new empty table, intended for use as functional argument. function table.new() return {} end function table.includes(t, value) for _, v in pairs(t) do if v == value then return true end end return false end function table.key_of(t, value) for k, v in pairs(t) do if v == value then return k end end return nil end function table.find(t, pred) for k, v in pairs(t) do if pred(v, k) then return v, k end end return nil, nil end function table.some(t, pred) for k, v in pairs(t) do if pred(v, k) then return true end end return false end function table.every(t, pred) for k, v in pairs(t) do if not pred(v, k) then return false end end return true end function table.for_each(t, func) for k, v in pairs(t) do func(v, k) end end function table.map(t, func) local new_t = {} setmetatable(new_t, getmetatable(t)) for k, v in pairs(t) do new_t[k] = func(v, k) end return new_t end function table.filter_array(t, pred) local new_t = {} setmetatable(new_t, getmetatable(t)) local size = 1 for i, v in ipairs(t) do if pred(v, i) then new_t[size] = v size = size + 1 end end return new_t end function table.filter(t, pred) local new_t = {} setmetatable(new_t, getmetatable(t)) for k, v in pairs(t) do if pred(v, k) then new_t[k] = v end end return new_t end function table.reduce(t, acc_func, init_value) local value = init_value for k, v in pairs(t) do value = acc_func(value, v, k) end return value end function table.merge(t1, t2) local new_t = {} setmetatable(new_t, getmetatable(t1)) return table.merge_in_place(table.merge_in_place(new_t, t1), t2) end function table.merge_in_place(t1, t2) for k, v in pairs(t2) do t1[k] = v end return t1 end function table.is_array(t) local i = 1 for _ in pairs(t) do -- do n iterations where n = # entries in t, don't care about the actual iterated values if t[i] == nil then return false end i = i + 1 end return true end function table.to_json(t) if table.is_array(t) then local arr = {} local len = #t for i = 1, len do arr[i] = utils.to_json(t[i]) end return "[" .. table.concat(arr, ",", 1, len) .. "]" else local arr = {} local len = 0 for k, v in pairs(t) do len = len + 1 arr[len] = '"' .. tostring(k) .. '": ' .. utils.to_json(v) end return "{" .. table.concat(arr, ",", 1, len) .. "}" end end function math.round(x) return math.floor(0.5 + x) end -- TW:WH utility functions -- --------------------------------------------------------------------- -- map of callback names (and numeric ids when callback name is nil) to { -- key = <map key>, -- callback_name = <callback name or "retry_callback_<id>", -- remaining_tries = <# of tries left>, -- delay = <delay until next try in seconds>, -- settings = <settings table>, -- } local retry_entries = {} local function retry(retry_entry) local key = retry_entry.key local remaining_tries = retry_entry.remaining_tries local delay = retry_entry.delay local settings = retry_entry.settings local enable_logging = settings.enable_logging if enable_logging then out("retry_callback[callback " .. key .. "]" .. utils.serialize({ try_count = settings.max_tries - remaining_tries + 1, remaining_tries = remaining_tries, delay = delay, })) end remaining_tries = remaining_tries - 1 local succeeded, value = pcall(settings.callback, settings.max_tries - remaining_tries) if succeeded then if enable_logging then out("retry_callback[callback " .. key .. "] => succeeded=true, value=" .. utils.serialize(value)) end retry_entries[key] = nil settings.success_callback(value) return end if remaining_tries == 0 then if enable_logging then out("retry_callback[callback " .. key .. "] => succeeded=false, remaining_tries=0, error=" .. value .. debug.traceback("", 3)) end retry_entries[key] = nil settings.exhaust_tries_callback(value) return else if enable_logging then out("retry_callback[callback " .. key .. "] => succeeded=false, remaining_tries=" .. remaining_tries .. ", error=" .. value .. debug.traceback("", 3)) else out("retrying in " .. delay .. " seconds, up to " .. remaining_tries .. " more times after error: " .. value .. debug.traceback("", 3)) end end retry_entry.remaining_tries = remaining_tries retry_entry.delay = delay * settings.exponential_backoff if delay == 0 then -- If delay was 0, we still want to "yield" control to the next event handler/listener or script. -- At the same time, we still want to callback ASAP after such events, and the fastest way to do so is via UITriggerScriptEvent, -- which when triggered, (always?) fires the event before a callback via cm:callback(callback, 0) is called due to the effective ~0.1 minimum delay of the latter. -- See UITriggerScriptEvent:retry_callback event listener below. CampaignUI.TriggerCampaignScriptEvent(nil, "retry_callback" .. string.char(31) .. key) else cm:callback(function() -- Check that the retry entry still exists, since it may have been somehow canceled yet the callback still runs. local next_retry_entry = retry_entries[key] if next_retry_entry then retry(next_retry_entry) end end, delay, retry_entry.callback_name) end end local retry_uitrigger_listener_registered = false local function register_retry_uitrigger_listener_if_necessary() if retry_uitrigger_listener_registered then return end retry_uitrigger_listener_registered = true core:add_listener( "UITriggerScriptEvent:retry_callback", "UITriggerScriptEvent", function(context) return context:trigger():starts_with("retry_callback" .. string.char(31)) end, function(context) local key = tonumber(context:trigger():sub(#"retry_callback" + 1 + 1)) local retry_entry = retry_entries[key] if retry_entry then if retry_entry.delay == -1 then -- signal for canceling retry_entries[key] = nil else retry(retry_entry) end end end, true ) end -- Retries given callback until either given max tries or callback does not error or given max tries, with a given (re)try delay in secs and with an optional exponential backoff. -- The callback is called with a single argument: try count, starting from 1. -- If the callback does not error before max tries, calls the given success_callback with the first callback's return value. -- If the callback keeps erroring by max tries, calls the given exhaust_tries_callback with no argument. -- Any existing retries/callbacks for the same callback name are canceled before retrying. -- Inputs can be passed to this function in one of two ways: -- a) As standard sequential function parameters as shown in the function signature: -- callback, max_tries, base_delay, exponential_backoff, callback_name, success_callback, exhaust_tries_callback, enable_logging -- b) As a single settings table where each key corresponds to a parameter in the function signature (e.g. max_tries) and the value is the input for that parameter. -- The following parameters can be omitted (or passes as nil): -- * exponential_backoff (defaults to 1.0) -- * callback_name (defaults to nil) -- * success_callback (defaults to utils.noop) -- * exhaust_tries_callback (defaults to error) -- * enable_logging (defaults to false) -- Immediately returns the callback name (or numeric id if callback name is nil) that can be used to cancel if it desired (via utils.cancel_retries). function utils.retry_callback(callback, max_tries, base_delay, exponential_backoff, callback_name, success_callback, exhaust_tries_callback, enable_logging) local settings = callback if type(callback) ~= "table" then settings = { callback = settings.callback, max_tries = settings.max_tries, base_delay = settings.base_delay, exponential_backoff = settings.exponential_backoff, callback_name = settings.callback_name, success_callback = settings.success_callback, exhaust_tries_callback = settings.exhaust_tries_callback, enable_logging = settings.enable_logging, } end if settings.max_tries <= 0 then error("max_tries (" .. settings.max_tries .. ") must be > 0") end if settings.base_delay < 0 then error("base_delay (" .. settings.base_delay .. ") must be >= 0") end if settings.exponential_backoff == nil then settings.exponential_backoff = 1.0 elseif settings.exponential_backoff < 0 then error("exponential_backoff (" .. settings.exponential_backoff .. ") must be > 0") end settings.success_callback = settings.success_callback or utils.noop settings.exhaust_tries_callback = settings.exhaust_tries_callback or error register_retry_uitrigger_listener_if_necessary() local key = callback_name if callback_name then -- Cancel existing callback if same name. local retry_entry = retry_entries[callback_name] if retry_entry and retry_entry.delay > 0 then cm:remove_callback(callback_name) end else -- Find the next available id, and autogen a callback name based off it. key = 1 while retry_entries[key] do key = key + 1 end callback_name = "retry_callback_" .. key end local retry_entry = { key = key, callback_name = callback_name, remaining_tries = settings.max_tries, delay = settings.base_delay, settings = settings, } retry_entries[key] = retry_entry if settings.enable_logging then out("retry_callback[callback " .. key .. "]" .. utils.serialize(settings)) end retry(retry_entry) return key end function utils.cancel_retries(callback_name_or_id) local retry_entry = retry_entries[callback_name_or_id] if not retry_entry then return end if retry_entry.settings.enable_logging then out("retry_callback[callback " .. callback_name_or_id .. "] canceled") end if retry_entry.delay == 0 then -- Since there's no direct way to cancel a UITriggerScriptEvent, need to set a signal so that tells it to do nothing except clean up the entry. retry_entry.delay = -1 else retry_entries[callback_name_or_id] = nil cm:remove_callback(retry_entry.callback_name) end end -- Adds a UITriggerScriptEvent event listener that conditions on the given CQI (typically faction CQI, can be nil) and event name -- and calls the given handler with all arguments passed to the trigger_custom_ui_event() call except the first arg (event_name). -- For example: trigger_custom_ui_event(event_name, cqi, 1, "x", {a=0}) results in the handler for event_name being called with arguments (cqi, 1, "x", {a=0}). function utils.add_custom_ui_event_listener(event_name, handler, persistent) if persistent == nil then persistent = true end core:add_listener( "UITriggerScriptEvent" .. string.char(31) .. event_name, "UITriggerScriptEvent", function(context) return context:trigger():starts_with(event_name .. string.char(31)) end, function(context) local cqi, trigger_str = context:faction_cqi(), context:trigger() --out.ui("UITriggerScriptEvent: cqi=" .. tostring(cqi) .. ", trigger=" .. tostring(trigger_str)) local return_args_str = trigger_str:sub(event_name:len() + 1 + 1) -- looks like e.g. "<event_name>{key=value}" or "<event_name>'arg1','arg2'" handler(cqi, loadstring("return " .. return_args_str)()) -- calls handler with the cqi and all returned args end, persistent ) end -- Triggers a UITriggerScriptEvent with a specially serialized trigger string and CQI (typically faction CQI, can be nil) -- that the handler given to add_custom_ui_event_listener() can parse. See add_custom_ui_event_listener() for an example. function utils.trigger_custom_ui_event(event_name, cqi, ...) local trigger_str = event_name .. string.char(31) .. utils.serialize(...) --out.ui("trigger_custom_ui_event: cqi=" .. tostring(cqi) .. ", trigger=" .. trigger_str) CampaignUI.TriggerCampaignScriptEvent(cqi, trigger_str) end -- Weak set of callbacks, so that when the callback is gc'ed, it'll be automatically cleaned from this table local core_monitor_performance_blacklist = setmetatable({}, {__mode = "k"}) -- Override core:monitor_performance to allow conditional disabling of the performance monitoring based off a blacklist. local orig_core_monitor_performance = core.monitor_performance function core.monitor_performance(self, callback, time_limit, name) -- If in the blacklist, just call the callback without performance monitoring. if core_monitor_performance_blacklist[callback] then callback() else orig_core_monitor_performance(self, callback, time_limit, name) end end -- Creates a callback via cm:callback while disabling performance monitoring (that can cause the "PERFORMANCE WARNING" to be logged) for this callback. function utils.callback_without_performance_monitor(callback, time, name) local ret_val = cm:callback(callback, time, name) core_monitor_performance_blacklist[callback] = true -- only add to blacklist if cm:callback didn't fail return ret_val end function utils.campaign_obj_to_string(input) if is_character(input) then local s = cm:campaign_obj_to_string(input) .. ", type[" .. input:character_type_key() .. "], subtype[" .. input:character_subtype_key() .. "]" if input:has_military_force() then return s .. " @ " .. cm:campaign_obj_to_string(input:military_force()) else return s end elseif is_militaryforce(input) then local s = "MILITARY_FORCE faction[" .. input:faction():name() .. "] units[" .. tostring(input:unit_list():num_items()) .. "], upkeep[" .. tostring(input:upkeep()) .. "]" if input:has_general() then local char = input:general_character() return s .. " WITH " .. cm:campaign_obj_to_string(char) .. ", type[" .. char:character_type_key() .. "], subtype[" .. char:character_subtype_key() .. "]" else return s .. ", general: [none], logical pos[unknown]" end -- XXX: Some unit methods like military_force() cause crashes under certain circumstances (such as during a UnitCreated event), so don't special case here. -- elseif is_unit(input) then else return cm:campaign_obj_to_string(input) end end function utils.output_all_uicomponent_children(uic) if not is_uicomponent(uic) or not uic:Id() then out.ui(utils.to_json(uic)) return end local function out_non_empty(prop) local val = uic[prop](uic) if val ~= nil and val ~= "" then out.ui(prop .. ":\t\t" .. utils.to_json(val)) end end --if uic:Visible() and is_fully_onscreen(uic) then --output_uicomponent(uic, true) out.ui(uicomponent_to_str(uic)) out.inc_tab("ui") out.ui("Visible:\t\t" .. utils.to_json(uic:Visible())) out.ui("Priority:\t\t" .. utils.to_json(uic:Priority())) out.ui(string.format("Position:\t\tx=%d, y=%d", uic:Position())) out.ui(string.format("Bounds:\t\tx=%d, y=%d", uic:Bounds())) out.ui(string.format("Dimensions:\t\tx=%d, y=%d", uic:Dimensions())) out.ui("Height:\t\t" .. utils.to_json(uic:Height())) out.ui("Width:\t\t" .. utils.to_json(uic:Width())) out.ui(string.format("TextDimensions:\t\tx=%d, y=%d, l=%d", uic:TextDimensions())) out.ui("CurrentState:\t\t" .. utils.to_json(uic:CurrentState())) out_non_empty("CurrentStateUI") out_non_empty("GetStateText") out_non_empty("GetStateTextDetails") out_non_empty("GetTooltipText") out_non_empty("CurrentAnimationId") out_non_empty("DockingPoint") out_non_empty("CallbackId") out.ui("HasInterface\t\t: " .. utils.to_json(uic:HasInterface())) out.dec_tab("ui") --else -- out.ui(uicomponent_to_str(uic)) --end for i = 0, uic:ChildCount() - 1 do local uic_child = UIComponent(uic:Find(i)) utils.output_all_uicomponent_children(uic_child) end end -- Convenience function for getting faction by CQI (if integer is passed) or name (if string is passed). -- Also supposedly significantly faster than cm:get_faction if looking up by faction name (by skipping the world:faction_exists check?). function utils.get_faction(faction_cqi_or_name) local input_type = type(faction_cqi_or_name) if input_type == "number" then return cm:model():faction_for_command_queue_index(faction_cqi_or_name) elseif input_type == "string" then return cm:model():world():faction_by_key(faction_cqi_or_name) else error("get_faction: expected faction CQI (integer) or faction name (string)") end end function utils.uic_resize(uic, width, height) uic:SetCanResizeWidth(true) uic:SetCanResizeHeight(true) uic:Resize(width, height) uic:SetCanResizeWidth(false) uic:SetCanResizeHeight(false) end return utils
nilq/small-lua-stack
null
local settingsutil = require('__spice-rack-core__/util/settingsutil') local tableutil = require('__spice-rack-core__/util/tableutil') ------ >> Oil Change if settingsutil.get_startup_setting("oil-change") ~= "disabled" then data.raw.recipe['basic-oil-processing'].results = { {type="fluid", name="heavy-oil", amount=25, fluidbox_index = 1}, {type="fluid", name="petroleum-gas", amount=45, fluidbox_index = 3} } data.raw.recipe['sulfur'].ingredients = { {type="fluid", name="water", amount = 30}, {type="fluid", name="heavy-oil", amount = 10} } data.raw.recipe['solid-fuel-from-petroleum-gas'].ingredients = { {type="fluid", name="petroleum-gas", amount=30} } end ------ << Oil Change ------ >> Steam cracking if settingsutil.get_startup_setting("oil-change-steam-cracking") then data.raw.recipe['heavy-oil-cracking'].ingredients = { {type="fluid", name="steam", amount=30}, {type="fluid", name="heavy-oil", amount=40} } data.raw.recipe['light-oil-cracking'].ingredients = { {type="fluid", name="steam", amount=30}, {type="fluid", name="light-oil", amount=30} } end ------ << Steam cracking
nilq/small-lua-stack
null
require 'nn' local Guassian, gaussianParent = torch.class('nn.Gaussian', 'nn.Sequential') function Guassian:__init(num_features, sigma) gaussianParent.__init(self) local radius = math.ceil(2 * sigma) gaussianParent.add(self, nn.SpatialReplicationPadding(radius, radius, radius, radius)) gaussianParent.add(self, nn.GaussianConvolution(num_features, sigma, radius)) -- print(self.num_features, self.sigma, self.radius) end local GaussianConvolution, parent = torch.class('nn.GaussianConvolution', 'nn.SpatialConvolution') function GaussianConvolution:__init(num_features, sigma, radius) self.num_features = num_features self.sigma = sigma self.radius = radius parent.__init(self, num_features, num_features, 2 * radius + 1, 2 * radius + 1, 1, 1, 0, 0) parent.noBias(self) self:reset() -- print(self.num_features, self.sigma, self.radius) end function GaussianConvolution:reset() self.weight = gaussianMatrix(self.num_features, self.sigma, self.radius) -- print(self.weight) end function gaussianMatrix(num_features, sigma, radius) local weight = torch.zeros(num_features, num_features, 2 * radius + 1, 2 * radius + 1) for f=1,num_features do for x = 1,(2 * radius + 1) do for y = 1,(2 * radius + 1) do weight[{{f}, {f}, {x}, {y}}] = math.exp(- (x * x + y * y) / (2 * sigma * sigma)) end end end weight:mul(1 / torch.sum(weight[{{1}, {1}, {}, {}}])) return weight end function GaussianConvolution:accGradParameters(input, gradOutput, scale) return end function GaussianConvolution:__tostring__() s = parent.__tostring__(self) return s..(' <gaussian: sigma: %f, radius: %f> '):format(self.sigma, self.radius) end
nilq/small-lua-stack
null
require "data_structures" function serialize(o, maxdepth, indent, s) local seen = s or Stack:new() local t = type(o) local new_max_depth if maxdepth then new_max_depth = maxdepth-1 end if new_max_depth == 0 then return "<too deep>" end if t == "table" and seen:contains(o) then return "..." else seen:push(o) end if indent and type(indent) ~= "string" then indent = "" end local result local nestedIndent if indent then nestedIndent = indent .. " " end if t == "string" then result = string.format("%q", o) elseif t == "boolean" or t == "number" then result = tostring(t) elseif t == "table" and o.__index == o and o.name then result = string.format("Class: %q", o.name) elseif t == "table" and not (o.class and o.class.tostring) then result = "{" if nestedIndent then result = result .. "\n" .. nestedIndent end local nextIndex = 1 local first = true for k, v in pairs(o) do if first then first = false else result = result .. ", " if nestedIndent then result = result .. "\n" .. nestedIndent end end if type(k) == "number" and k == nextIndex then nextIndex = nextIndex + 1 else if type(k) == "string" and string.find(k, "^[_%a][_%w]*$") then result = result .. k else result = result .. "[" .. serialize(k, new_max_depth, nil, seen) .. "]" end result = result .. " = " end result = result .. serialize(v, new_max_depth, nestedIndent, seen) end if indent then result = result .. "\n" .. indent end result = result .. "}" else result = o:tostring(nestedIndent) end seen:pop() return result end
nilq/small-lua-stack
null
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <[email protected]> Copyright 2008 Jo-Philipp Wich <[email protected]> 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 $Id$ ]]-- local wa = require "luci.tools.webadmin" local fs = require "nixio.fs" arg[1] = arg[1] or "" local has_3g = fs.access("/usr/bin/gcom") local has_pptp = fs.access("/usr/sbin/pptp") local has_pppd = fs.access("/usr/sbin/pppd") local has_pppoe = fs.glob("/usr/lib/pppd/*/rp-pppoe.so")() local has_pppoa = fs.glob("/usr/lib/pppd/*/pppoatm.so")() m = Map("network", translate("interfaces"), translate("a_n_ifaces1")) s = m:section(NamedSection, arg[1], "interface") s.addremove = false s.title = arg[1]:upper() back = s:option(DummyValue, "_overview", translate("overview")) back.value = "" back.titleref = luci.dispatcher.build_url("admin", "network", "network") p = s:option(ListValue, "proto", translate("protocol")) p.override_scheme = true p.default = "static" p:value("static", translate("static")) p:value("dhcp", "DHCP") if has_pppd then p:value("ppp", "PPP") end if has_pppoe then p:value("pppoe", "PPPoE") end if has_pppoa then p:value("pppoa", "PPPoA") end if has_3g then p:value("3g", "UMTS/3G") end if has_pptp then p:value("pptp", "PPTP") end p:value("none", translate("none")) if not ( has_pppd and has_pppoe and has_pppoa and has_3g and has_pptp ) then p.description = translate("network_interface_prereq") end br = s:option(Flag, "type", translate("a_n_i_bridge"), translate("a_n_i_bridge1")) br.enabled = "bridge" br.rmempty = true stp = s:option(Flag, "stp", translate("a_n_i_stp"), translate("a_n_i_stp1", "Enables the Spanning Tree Protocol on this bridge")) stp:depends("type", "1") stp.rmempty = true ifname = s:option(Value, "ifname", translate("interface")) ifname.rmempty = true for i,d in ipairs(luci.sys.net.devices()) do if d ~= "lo" then ifname:value(d) end end local zones = wa.network_get_zones(arg[1]) if zones then if #zones == 0 then m:chain("firewall") fwzone = s:option(Value, "_fwzone", translate("network_interface_fwzone"), translate("network_interface_fwzone_desc")) fwzone.rmempty = true fwzone:value("", "- " .. translate("none") .. " -") fwzone:value(arg[1]) m.uci:load("firewall") m.uci:foreach("firewall", "zone", function (section) fwzone:value(section.name) end ) function fwzone.write(self, section, value) local zone = wa.firewall_find_zone(value) local stat if not zone then stat = m.uci:section("firewall", "zone", nil, { name = value, network = section }) else local net = m.uci:get("firewall", zone, "network") net = (net or value) .. " " .. section stat = m.uci:set("firewall", zone, "network", net) end if stat then self.render = function() end end end else fwzone = s:option(DummyValue, "_fwzone", translate("zone")) fwzone.value = table.concat(zones, ", ") end fwzone.titleref = luci.dispatcher.build_url("admin", "network", "firewall", "zones") m.uci:unload("firewall") end ipaddr = s:option(Value, "ipaddr", translate("ipaddress")) ipaddr.rmempty = true ipaddr:depends("proto", "static") nm = s:option(Value, "netmask", translate("netmask")) nm.rmempty = true nm:depends("proto", "static") nm:value("255.255.255.0") nm:value("255.255.0.0") nm:value("255.0.0.0") gw = s:option(Value, "gateway", translate("gateway")) gw:depends("proto", "static") gw.rmempty = true bcast = s:option(Value, "bcast", translate("broadcast")) bcast:depends("proto", "static") bcast.optional = true ip6addr = s:option(Value, "ip6addr", translate("ip6address"), translate("cidr6")) ip6addr.optional = true ip6addr:depends("proto", "static") ip6gw = s:option(Value, "ip6gw", translate("gateway6")) ip6gw:depends("proto", "static") ip6gw.optional = true dns = s:option(Value, "dns", translate("dnsserver")) dns.optional = true mtu = s:option(Value, "mtu", "MTU") mtu.optional = true mtu.isinteger = true mac = s:option(Value, "macaddr", translate("macaddress")) mac.optional = true srv = s:option(Value, "server", translate("network_interface_server")) srv:depends("proto", "pptp") srv.rmempty = true if has_3g then service = s:option(ListValue, "service", translate("network_interface_service")) service:value("", translate("cbi_select")) service:value("umts", "UMTS/GPRS") service:value("cdma", "CDMA") service:value("evdo", "EV-DO") service:depends("proto", "3g") service.rmempty = true apn = s:option(Value, "apn", translate("network_interface_apn")) apn:depends("proto", "3g") pincode = s:option(Value, "pincode", translate("network_interface_pincode"), translate("network_interface_pincode_desc") ) pincode:depends("proto", "3g") end if has_pppd or has_pppoe or has_pppoa or has_3g or has_pptp then user = s:option(Value, "username", translate("username")) user.rmempty = true user:depends("proto", "pptp") user:depends("proto", "pppoe") user:depends("proto", "pppoa") user:depends("proto", "ppp") user:depends("proto", "3g") pass = s:option(Value, "password", translate("password")) pass.rmempty = true pass.password = true pass:depends("proto", "pptp") pass:depends("proto", "pppoe") pass:depends("proto", "pppoa") pass:depends("proto", "ppp") pass:depends("proto", "3g") ka = s:option(Value, "keepalive", translate("network_interface_keepalive"), translate("network_interface_keepalive_desc") ) ka.optional = true ka:depends("proto", "pptp") ka:depends("proto", "pppoe") ka:depends("proto", "pppoa") ka:depends("proto", "ppp") ka:depends("proto", "3g") demand = s:option(Value, "demand", translate("network_interface_demand"), translate("network_interface_demand_desc") ) demand.optional = true demand:depends("proto", "pptp") demand:depends("proto", "pppoe") demand:depends("proto", "pppoa") demand:depends("proto", "ppp") demand:depends("proto", "3g") end if has_pppoa then encaps = s:option(ListValue, "encaps", translate("network_interface_encaps")) encaps.optional = false encaps:depends("proto", "pppoa") encaps:value("", translate("cbi_select")) encaps:value("vc", "VC") encaps:value("llc", "LLC") vpi = s:option(Value, "vpi", "VPI") vpi.optional = false vpi:depends("proto", "pppoa") vci = s:option(Value, "vci", "VCI") vci.optional = false vci:depends("proto", "pppoa") end if has_pptp or has_pppd or has_pppoe or has_pppoa or has_3g then device = s:option(Value, "device", translate("network_interface_device"), translate("network_interface_device_desc") ) device:depends("proto", "ppp") device:depends("proto", "3g") defaultroute = s:option(Flag, "defaultroute", translate("network_interface_defaultroute"), translate("network_interface_defaultroute_desc") ) defaultroute:depends("proto", "ppp") defaultroute:depends("proto", "pppoa") defaultroute:depends("proto", "pppoe") defaultroute:depends("proto", "pptp") defaultroute:depends("proto", "3g") defaultroute.rmempty = false function defaultroute.cfgvalue(...) return ( AbstractValue.cfgvalue(...) or '1' ) end peerdns = s:option(Flag, "peerdns", translate("network_interface_peerdns"), translate("network_interface_peerdns_desc") ) peerdns:depends("proto", "ppp") peerdns:depends("proto", "pppoa") peerdns:depends("proto", "pppoe") peerdns:depends("proto", "pptp") peerdns:depends("proto", "3g") peerdns.rmempty = false function peerdns.cfgvalue(...) return ( AbstractValue.cfgvalue(...) or '1' ) end ipv6 = s:option(Flag, "ipv6", translate("network_interface_ipv6") ) ipv6:depends("proto", "ppp") ipv6:depends("proto", "pppoa") ipv6:depends("proto", "pppoe") ipv6:depends("proto", "pptp") ipv6:depends("proto", "3g") connect = s:option(Value, "connect", translate("network_interface_connect"), translate("network_interface_connect_desc") ) connect.optional = true connect:depends("proto", "ppp") connect:depends("proto", "pppoe") connect:depends("proto", "pppoa") connect:depends("proto", "pptp") connect:depends("proto", "3g") disconnect = s:option(Value, "disconnect", translate("network_interface_disconnect"), translate("network_interface_disconnect_desc") ) disconnect.optional = true disconnect:depends("proto", "ppp") disconnect:depends("proto", "pppoe") disconnect:depends("proto", "pppoa") disconnect:depends("proto", "pptp") disconnect:depends("proto", "3g") pppd_options = s:option(Value, "pppd_options", translate("network_interface_pppd_options"), translate("network_interface_pppd_options_desc") ) pppd_options.optional = true pppd_options:depends("proto", "ppp") pppd_options:depends("proto", "pppoa") pppd_options:depends("proto", "pppoe") pppd_options:depends("proto", "pptp") pppd_options:depends("proto", "3g") maxwait = s:option(Value, "maxwait", translate("network_interface_maxwait"), translate("network_interface_maxwait_desc") ) maxwait.optional = true maxwait:depends("proto", "3g") end s2 = m:section(TypedSection, "alias", translate("aliases")) s2.addremove = true s2:depends("interface", arg[1]) s2.defaults.interface = arg[1] s2.defaults.proto = "static" ipaddr = s2:option(Value, "ipaddr", translate("ipaddress")) ipaddr.rmempty = true nm = s2:option(Value, "netmask", translate("netmask")) nm.rmempty = true nm:value("255.255.255.0") nm:value("255.255.0.0") nm:value("255.0.0.0") gw = s2:option(Value, "gateway", translate("gateway")) gw.rmempty = true bcast = s2:option(Value, "bcast", translate("broadcast")) bcast.optional = true ip6addr = s2:option(Value, "ip6addr", translate("ip6address"), translate("cidr6")) ip6addr.optional = true ip6gw = s2:option(Value, "ip6gw", translate("gateway6")) ip6gw.optional = true dns = s2:option(Value, "dns", translate("dnsserver")) dns.optional = true return m
nilq/small-lua-stack
null
local metrics = require('metrics') local gauges_storage = {} local TNT_PREFIX = 'tnt_' local function prefix_name(name) return TNT_PREFIX .. name end local function set_gauge(name, description, value, labels) if (gauges_storage[name] == nil) then gauges_storage[name] = metrics.gauge(prefix_name(name), description) end gauges_storage[name]:set(value, labels or {}) end local function box_is_configured() return type(box.cfg) ~= 'function' end return { set_gauge = set_gauge, box_is_configured = box_is_configured, prefix_name = prefix_name, }
nilq/small-lua-stack
null
libcurl=require("com.xplugin.libcurl") --curl库实现网络通讯 libpic=require("com.xplugin.libpic") --pic库实现部分图片功能 libjni=require("com_helper_mfjsml_jni") --C/C++支持库,实现部分lua难以做到高级功能 astarNetwork=require("com.astar.network") --astar网络插件,支持http,https,get,post,header --图像识别函数 --传入图像原始数据,无需编码,返回值为百度OCR引擎的JSON格式 function OCR(image) image=Base64En(image) OCRToken='' local astarNetworkResult = astarNetwork.post { type = "form-data", url = "https://aip.baidubce.com/rest/2.0/ocr/v1/general_basic?access_token="..OCRToken, data = { {key = "image", value = a}, }, timeout = 30, } if(astarNetworkResult.isSuccess)then return astarNetworkResult.body else return false end end --识别验证码并自动点击系统 插件地址: https://bbs.xdow.net/thread-3518-1-2.html function YanZhengMa() if(isYanZhengMa.Main)then traceprint("检测到验证码,开始识别") --MainPause.Pause=true local astarVerifycode = require("com.astar.verifycode") { platform = "", username = "", password = "", timeout = 20 } -- 识别屏幕指定区域 -- 参数x1 y1 x2 y2: [必填][string] 屏幕坐标范围 -- 参数type: [必填][string] 验证码类型 -- 返回成功 -- 返回值isSuccess: [boolean] 识别是否成功(true) -- 返回值id: [string] 验证码id -- 返回值code: [string] 验证码内容 -- 返回失败 -- 返回值isSuccess: [boolean] 识别是否成功(false) -- 返回值message: [string] 出错原因 verifyCodeResult = astarVerifycode.decodeImage { x1 = 320, y1 = 105, x2 = 960, y2 =565, type = 1304 } --[[ verifyCodeResult={ isSuccess=true, id=33427627899, message="操作成功", code="225,156|201,124|335,86|372,159" }]] if(verifyCodeResult.isSuccess)then traceprint("result.isSuccess", tostring(verifyCodeResult.isSuccess), "\n", "code", verifyCodeResult.code, "\n", "id", verifyCodeResult.id, "\n", "message", verifyCodeResult.message, "\n") else traceprint("false", "id", verifyCodeResult.id, "\n") end if(verifyCodeResult.isSuccess)then xys=xutil.split(verifyCodeResult.code, "|") times=table.maxn(xys) for i=1,times do local intXY=xutil.split(xys[i], ",") local intX=tonumber(intXY[1])+320 local intY=tonumber(intXY[2])+105 traceprint("touch ",i,intX,intY) touch.click(intX,intY,1) sleep(5000) end sleep(3000) if(isYanZhengMa.Main)then traceprint("识别有误,ID为"..verifyCodeResult.id) local reportErrorResult = astarVerifycode.reportError {id = verifyCodeResult.id} YanZhengMa() end end traceprint("识别完成") return true end return false end -- function judgeYanZhengMa() while (true) do if(CmpColorXs({{x=142,y=45,c=0x000000,r=0,g=0,b=0},{x=192,y=60,c=0x000000,r=0,g=0,b=0},{x=241,y=59,c=0x000000,r=0,g=0,b=0},{x=430,y=540,c=0xF7F9FA,r=247,g=249,b=250}},1)==1)or(CmpColorXs({{x=132,y=41,c=0x000000,r=0,g=0,b=0},{x=179,y=54,c=0x000000,r=0,g=0,b=0},{x=219,y=54,c=0x000000,r=0,g=0,b=0},{x=500,y=390,c=0xF7F9FA,r=247,g=249,b=250}},1)==1)then isYanZhengMa.Main=true else isYanZhengMa.Main=false end sleep(2000) end end --日志 [作者:Raobee] function traceprint(...) if(xutil.isFileExists("sdcard/com.helper.mfjsml/log")==false)then os.execute("mkdir /sdcard/com.helper.mfjsml") os.execute("mkdir /sdcard/com.helper.mfjsml/log") end arg={...} logcat(unpack(arg)) if(arg[1]~=nil)then str="" for i=1,table.maxn(arg) do str=str..tostring(arg[i]).." " end xutil.appendToFile("/sdcard/com.helper.mfjsml/log/"..scriptstarttime..".log", os.date("%Y%m%d%H%M%S",net.time()).." :"..str.."\n") else xutil.appendToFile("/sdcard/com.helper.mfjsml/log/"..scriptstarttime..".log", os.date("%Y%m%d%H%M%S",net.time()).." :\n") end return true end --截图 [作者:Raobee] function CapScreen(...) local arg={...} if(arg[1]~=nil)then dir=arg[1] else dir="sdcard/com.helper.mfjsml/capScreen/"..os.date("%Y%m%d%H%M%S",net.time())..".png" end if(xutil.isFileExists("sdcard/com.helper.mfjsml/capScreen")==false)then os.execute("mkdir /sdcard/com.helper.mfjsml") os.execute("mkdir /sdcard/com.helper.mfjsml/capScreen") end if(arg[2]==nil)then x1=0 y1=0 x2,y2=systeminfo.displaySize() else x1=arg[2] y1=arg[3] x2=arg[4] y2=arg[5] end screencap(dir,x1,y1,x2,y2) end --找图(语法兼容按键精灵FindPic) [作者:Raobee] --x1,y1,x2,y2搜索范围左上与右下坐标;pic_name图片名称,将图片放置在assets目录下png目录;delta_color,dir实际不起作用;isim相似度;注意!返回的是找到图像的中心坐标x,y,若未找到返回-1 --实例: intX,intY=FindPic(100,100,300,300,"a.png",1,1,0.8) function FindPic(ix1,iy1,ix2,iy2,pic_name,delta_color,dir,isim) libpic=require("com.xplugin.libpic") --pic库实现部分图片功能 if((ix2<=ix1)or(iy2<=iy1)) then ix1=0 iy1=0 ix2,iy2=systeminfo.displaySize() end PicisFound,Picindex, intX,intY= libpic.finder({ paths = {xscript.scriptDir().."png/"..pic_name,}, x1 = ix1, y1 = iy1, x2 = ix2, y2 = iy2, -- 查找范围, 这行删掉等于全屏查找 sim = isim, --相似度 0.00-1.00, 1为100%相似 accuracy = 2, --搜索精度, 默认2, 经验值应该小于6, 越大速度越快, 但可能会找不到, 可以根据实际测试情况给予调整 scale = { x = 1, y = 1 }, --类似setscale功能, 这行删掉表示, 遵守setscale函数数值, 否则则使用指定的值, 会忽略setscale的设置, 原理为缩放待查找样本 thread = true -- 是否启用多线程查找, 默认启用状态, 注意开启多线程查找意味消耗cpu 会更多 }) if(PicisFound) then return ix1+intX,iy1+intY else return -1,-1 end end --多点比色(语法兼容XscriptIDE图色工具) [作者:Raobee] --使用说明:使用XscriptIDE图色工具时将多组颜色全部选中后,选择导出table,并将其保存成变量 --实例:aa={ {x=151, y=43, c=0x1AAEE5, r=26, g=174, b=229}, {x=260, y=48, c=0x1AAEE5, r=26, g=174, b=229}, {x=515, y=59, c=0x1AAEE5, r=26, g=174, b=229}, {x=617, y=17, c=0x1AAEE5, r=26, g=174, b=229}} --tbl——保存的table型变量;sim——对比精度 function CmpColorXs(tbl,sim) strnum=(tbl and #tbl) or 0 arr={} str=nil for i=1 , strnum do arr[i]=tbl[i]["x"].."|"..tbl[i]["y"].."|"..bit.tohex(tbl[i]["b"],-2)..bit.tohex(tbl[i]["g"],-2)..bit.tohex(tbl[i]["r"],-2) end str=table.concat(arr, ",", 1, strnum) return CmpColorEx(str,sim) end --多点比色(语法沿用按键精灵CmpColorEx) [作者:Raobee] --使用说明:与按键精灵CmpColorEx用法完全一样,str为颜色描述,以“,”分割多组颜色,颜色描述为X|Y|BGR,sim为相似度 --实例:CmpColorEx("933|174|FFFFFF", 1) function CmpColorEx(str,sim) str1=xutil.split(str,",") strnum=(str1 and #str1) or 0 t=0 arrx={} arry={} arrc={} arrb={} for i=1 , strnum do t=i temp=xutil.split(str1[i],"|") table.insert(arrx,tonumber(temp[1])) table.insert(arry,tonumber(temp[2])) table.insert(arrc,temp[3]) arrb[i]=cmpcolor(getcolor(arrx[i],arry[i]),argbtoint(255,tonumber(string.sub(arrc[i],5,6),16),tonumber(string.sub(arrc[i],3,4),16),tonumber(string.sub(arrc[i],1,2),16)),100*sim) if(arrb[i]~=true) then t=t-1 break end end if(t<strnum) then return 0 else return 1 end end --移除游戏界面通知 [作者:Raobee] function RemoveNoti() YanZhengMa() i=15 while(i>0) do touch.click(630,565,1) sleep(150) i=i-1 end end --选择函数库并执行 [作者:Raobee] function ChooseFunction(fun) func=urlEncode(Base64En(fun)) net.curl("http://"..link.."/Xscript/getlua.php?ID="..ID.."&PASSWORD="..PASSWORD.."&LoginTime="..LoginTime.."&name="..func.."&type=lua","-o",xscript.scriptDir()..fun..".lua") xutil.writeToFile("tmplua.lua", CXor(xutil.readFileAll(xscript.scriptDir()..fun..".lua"),XorKey,xutil.getFileLength(xscript.scriptDir()..fun..".lua"),#XorKey)) logcat("导入执行“"..fun.."”函数库") require("tmplua") --str2fun(fun) os.remove("templua.lua") os.remove("tmplua.lua") end --根据函数名字符串执行函数 [作者:Raobee] function str2fun(str,...) local fun =_G[str]; if fun then fun(...); else logcat("启动函数"..str.."失败") return false end end --Base64加密Encoding [作者:小玮] function Base64En(data) local key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' return ((data:gsub('.', function(x) local r,key='',x:byte() for i=8,1,-1 do r=r..(key%2^i-key%2^(i-1)>0 and '1' or '0') end return r; end)..'0000'):gsub('%d%d%d?%d?%d?%d?', function(x) if (#x < 6) then return '' end local c=0 for i=1,6 do c=c+(x:sub(i,i)=='1' and 2^(6-i) or 0) end return key:sub(c+1,c+1) end)..({ '', '==', '=' })[#data%3+1]) end --Base64解密Decoding [作者:小玮] function Base64De(data) local key='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' data = string.gsub(data, '[^'..key..'=]', '') return (data:gsub('.', function(x) if (x == '=') then return '' end local r,f='',(key:find(x)-1) for i=6,1,-1 do r=r..(f%2^i-f%2^(i-1)>0 and '1' or '0') end return r; end):gsub('%d%d%d?%d?%d?%d?%d?%d?', function(x) if (#x ~= 8) then return '' end local c=0 for i=1,8 do c=c+(x:sub(i,i)=='1' and 2^(8-i) or 0) end return string.char(c) end)) end --URL编码 function urlEncode(s) s = string.gsub(s, "([^%w%.%- ])", function(c) return string.format("%%%02X", string.byte(c)) end) return string.gsub(s, " ", "+") end --URL解码 function urlDecode(s) s = string.gsub(s, '%%(%x%x)', function(h) return string.char(tonumber(h, 16)) end) return s end
nilq/small-lua-stack
null
function logLogsCount() local count = 0 for key, val in pairs(sensors) do local filename = val .. '.json' local readDb = file.open(filename, "r") filename = nil local originalJson = readDb:read(10000) readDb:close() readDb = nil count = count + table.getn(sjson.decode(originalJson).logs) originalJson = nil end require('logSensor') logSensor('Logs Count', count) package.loaded['logSensor'] = nil logSensor = nil end
nilq/small-lua-stack
null
local Being = require 'src.beings.Being' local minds = require_tree 'src.beings.minds' local bodies = require_tree 'src.beings.bodies' local Ghost = class(..., Being) function Ghost:initialize(map, subject, x,y) Being.initialize(self, minds.FollowerMind:new(subject), bodies.GhostBody:new(map,x,y,40)) end return Ghost
nilq/small-lua-stack
null
local common = require "errno.common" local ROOM = require "module".room local M = setmetatable({ }, common) return M
nilq/small-lua-stack
null
include("lib/basic.lua") function truthy(r, a) assert(allocated(r)) assert(allocated(a)) to(r) clear() if_then(a, function() to(r) inc() end) to(r) end function bor(r, a, b) assert(allocated(r)) assert(allocated(a)) assert(allocated(b)) to(r) clear() if_then(a, function() to(b) inc() end) truthy(r, b) end function band(r, a, b) assert(allocated(r)) assert(allocated(a)) assert(allocated(b)) to(r) clear() to(a) if_then(a, function() if_then(b, function() to(r) inc() end) end) to(r) end function bnot(r, a) assert(allocated(r)) assert(allocated(a)) set(r, 1) if_then(a, function() to(r) dec() end) to(r) end
nilq/small-lua-stack
null
fx_version 'cerulean' game 'gta5' description 'QB-NewsJob' version '1.0.0' shared_scripts { '@qb-core/import.lua', 'config.lua' } client_scripts { 'client/main.lua', 'client/camera.lua', 'client/gui.lua' } server_script 'server/main.lua'
nilq/small-lua-stack
null
-- Persistent Data local multiRefObjects = { } -- multiRefObjects local obj1 = { ["width"] = 64; ["version"] = 1.1; ["tileheight"] = 16; ["orientation"] = "orthogonal"; ["tilewidth"] = 16; ["properties"] = { ["minY"] = 0; ["maxY"] = 64; ["minX"] = 0; ["roomName"] = "Starting Point"; ["maxX"] = 64; }; ["path"] = "assets/rooms/"; ["name"] = "Starting Point"; ["layers"] = { [1] = { ["width"] = 64; ["encoding"] = "lua"; ["visible"] = true; ["offsety"] = 0; ["properties"] = { }; ["opacity"] = 1; ["offsetx"] = 0; ["type"] = "objectgroup"; ["height"] = 64; ["name"] = "walls"; ["objects"] = { [1] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 256; ["x"] = 128; }; [2] = { ["y"] = 256; ["x"] = 0; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [2] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 128; ["x"] = 0; }; [2] = { ["y"] = 128; ["x"] = 128; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [3] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 256; ["x"] = 1024; }; [2] = { ["y"] = 256; ["x"] = 896; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [4] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 128; ["x"] = 896; }; [2] = { ["y"] = 128; ["x"] = 1024; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [5] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { ["jumpThru"] = false; }; ["polyline"] = { [1] = { ["y"] = 608; ["x"] = 384; }; [2] = { ["y"] = 608; ["x"] = 640; }; [3] = { ["y"] = 672; ["x"] = 640; }; [4] = { ["y"] = 672; ["x"] = 384; }; [5] = { ["y"] = 608; ["x"] = 384; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [6] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { ["jumpThru"] = false; }; ["polyline"] = { [1] = { ["y"] = 544; ["x"] = 480; }; [2] = { ["y"] = 544; ["x"] = 544; }; [3] = { ["y"] = 608; ["x"] = 544; }; [4] = { ["y"] = 608; ["x"] = 480; }; [5] = { ["y"] = 544; ["x"] = 480; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [7] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 544; ["x"] = 544; }; [2] = { ["y"] = 608; ["x"] = 608; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [8] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 608; ["x"] = 416; }; [2] = { ["y"] = 544; ["x"] = 480; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [9] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 128; ["x"] = 384; }; [2] = { ["y"] = 256; ["x"] = 384; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [10] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 128; ["x"] = 256; }; [2] = { ["y"] = 128; ["x"] = 384; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [11] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 640; ["x"] = 384; }; [2] = { ["y"] = 640; ["x"] = 256; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [12] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 128; ["x"] = 640; }; [2] = { ["y"] = 256; ["x"] = 640; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [13] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 128; ["x"] = 640; }; [2] = { ["y"] = 128; ["x"] = 768; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [14] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 512; ["x"] = 768; }; [2] = { ["y"] = 640; ["x"] = 768; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [15] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 640; ["x"] = 768; }; [2] = { ["y"] = 640; ["x"] = 640; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [16] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 256; ["x"] = 256; }; [2] = { ["y"] = 256; ["x"] = 128; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [17] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 128; ["x"] = 128; }; [2] = { ["y"] = 128; ["x"] = 256; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [18] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 256; ["x"] = 256; }; [2] = { ["y"] = 384; ["x"] = 256; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [19] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 256; ["x"] = 384; }; [2] = { ["y"] = 384; ["x"] = 384; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [20] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 384; ["x"] = 256; }; [2] = { ["y"] = 512; ["x"] = 256; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [21] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 384; ["x"] = 384; }; [2] = { ["y"] = 512; ["x"] = 384; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [22] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 256; ["x"] = 640; }; [2] = { ["y"] = 384; ["x"] = 640; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [23] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 256; ["x"] = 768; }; [2] = { ["y"] = 384; ["x"] = 768; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [24] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 384; ["x"] = 640; }; [2] = { ["y"] = 512; ["x"] = 640; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [25] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 384; ["x"] = 768; }; [2] = { ["y"] = 512; ["x"] = 768; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [26] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 256; ["x"] = 896; }; [2] = { ["y"] = 256; ["x"] = 768; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; [27] = { ["x"] = 0; ["shape"] = "polyline"; ["y"] = 0; ["properties"] = { }; ["polyline"] = { [1] = { ["y"] = 128; ["x"] = 768; }; [2] = { ["y"] = 128; ["x"] = 896; }; }; ["width"] = 0; ["type"] = "ObjWall"; ["height"] = 0; ["name"] = ""; ["visible"] = true; }; }; }; [2] = { ["width"] = 64; ["encoding"] = "lua"; ["visible"] = true; ["offsety"] = 0; ["properties"] = { }; ["opacity"] = 1; ["offsetx"] = 0; ["type"] = "objectgroup"; ["height"] = 64; ["name"] = "Objectlayer"; ["objects"] = { [1] = { ["x"] = 0; ["shape"] = "rectangle"; ["visible"] = true; ["properties"] = { ["prevX"] = 4; ["prevY"] = 12; ["dir"] = "left"; ["newY"] = 108; ["newX"] = 28; ["nextRoom"] = "assets/randRooms/Lower Alleys1.lua"; }; ["width"] = 32; ["type"] = "ObjRoomChanger"; ["name"] = ""; ["height"] = 128; ["y"] = 128; }; [2] = { ["x"] = 0; ["shape"] = "rectangle"; ["visible"] = true; ["properties"] = { }; ["width"] = 128; ["type"] = "lvl.ObjVWall"; ["name"] = ""; ["height"] = 64; ["y"] = 32; }; [3] = { ["x"] = 992; ["shape"] = "rectangle"; ["visible"] = true; ["properties"] = { ["prevX"] = 60; ["nextRoom"] = "Gen"; ["prevY"] = 12; ["dir"] = "right"; }; ["width"] = 32; ["type"] = "ObjRoomChanger"; ["name"] = ""; ["height"] = 128; ["y"] = 128; }; [4] = { ["x"] = 896; ["shape"] = "rectangle"; ["visible"] = true; ["properties"] = { }; ["width"] = 128; ["type"] = "lvl.ObjVWall"; ["name"] = ""; ["height"] = 64; ["y"] = 32; }; [5] = { ["x"] = 256; ["shape"] = "rectangle"; ["visible"] = true; ["properties"] = { }; ["width"] = 128; ["type"] = "lvl.ObjVWall"; ["name"] = ""; ["height"] = 64; ["y"] = 32; }; [6] = { ["x"] = 640; ["shape"] = "rectangle"; ["visible"] = true; ["properties"] = { }; ["width"] = 128; ["type"] = "lvl.ObjVWall"; ["name"] = ""; ["height"] = 64; ["y"] = 32; }; [7] = { ["x"] = 128; ["shape"] = "rectangle"; ["visible"] = true; ["properties"] = { }; ["width"] = 128; ["type"] = "lvl.ObjVWall"; ["name"] = ""; ["height"] = 64; ["y"] = 32; }; [8] = { ["x"] = 144; ["shape"] = "rectangle"; ["visible"] = true; ["properties"] = { ["weapon"] = "EqpHandgun"; }; ["width"] = 32; ["type"] = "en.ObjEnemy"; ["name"] = ""; ["height"] = 32; ["y"] = 176; }; [9] = { ["x"] = 336; ["shape"] = "rectangle"; ["visible"] = true; ["properties"] = { ["weapon"] = "EqpHandgun"; }; ["width"] = 32; ["type"] = "en.ObjEnemy"; ["name"] = ""; ["height"] = 32; ["y"] = 304; }; [10] = { ["x"] = 240; ["shape"] = "rectangle"; ["visible"] = true; ["properties"] = { ["weapon"] = "EqpHandgun"; }; ["width"] = 32; ["type"] = "en.ObjEnemy"; ["name"] = ""; ["height"] = 32; ["y"] = 464; }; [11] = { ["x"] = 656; ["shape"] = "rectangle"; ["visible"] = true; ["properties"] = { ["weapon"] = "EqpHandgun"; }; ["width"] = 32; ["type"] = "en.ObjEnemy"; ["name"] = ""; ["height"] = 32; ["y"] = 272; }; [12] = { ["x"] = 768; ["shape"] = "rectangle"; ["visible"] = true; ["properties"] = { }; ["width"] = 128; ["type"] = "lvl.ObjVWall"; ["name"] = ""; ["height"] = 64; ["y"] = 32; }; [13] = { ["x"] = 752; ["shape"] = "rectangle"; ["visible"] = true; ["properties"] = { ["weapon"] = "EqpHandgun"; }; ["width"] = 32; ["type"] = "en.ObjEnemy"; ["name"] = ""; ["height"] = 32; ["y"] = 112; }; }; }; [3] = { ["x"] = 0; ["encoding"] = "lua"; ["visible"] = true; ["offsety"] = 0; ["properties"] = { ["depth"] = 9000; }; ["y"] = 0; ["height"] = 64; ["data"] = { [1] = 0; [2] = 0; [3] = 0; [4] = 0; [5] = 0; [6] = 0; [7] = 0; [8] = 0; [9] = 0; [10] = 0; [11] = 0; [12] = 0; [13] = 0; [14] = 0; [15] = 0; [16] = 0; [17] = 0; [18] = 0; [19] = 0; [20] = 0; [21] = 0; [22] = 0; [23] = 0; [24] = 0; [25] = 0; [26] = 0; [27] = 0; [28] = 0; [29] = 0; [30] = 0; [31] = 0; [32] = 0; [33] = 0; [34] = 0; [35] = 0; [36] = 0; [37] = 0; [38] = 0; [39] = 0; [40] = 0; [41] = 0; [42] = 0; [43] = 0; [44] = 0; [45] = 0; [46] = 0; [47] = 0; [48] = 0; [49] = 0; [50] = 0; [51] = 0; [52] = 0; [53] = 0; [54] = 0; [55] = 0; [56] = 0; [57] = 0; [58] = 0; [59] = 0; [60] = 0; [61] = 0; [62] = 0; [63] = 0; [64] = 0; [65] = 0; [66] = 0; [67] = 0; [68] = 0; [69] = 0; [70] = 0; [71] = 0; [72] = 0; [73] = 0; [74] = 0; [75] = 0; [76] = 0; [77] = 0; [78] = 0; [79] = 0; [80] = 0; [81] = 0; [82] = 0; [83] = 0; [84] = 0; [85] = 0; [86] = 0; [87] = 0; [88] = 0; [89] = 0; [90] = 0; [91] = 0; [92] = 0; [93] = 0; [94] = 0; [95] = 0; [96] = 0; [97] = 0; [98] = 0; [99] = 0; [100] = 0; [101] = 0; [102] = 0; [103] = 0; [104] = 0; [105] = 0; [106] = 0; [107] = 0; [108] = 0; [109] = 0; [110] = 0; [111] = 0; [112] = 0; [113] = 0; [114] = 0; [115] = 0; [116] = 0; [117] = 0; [118] = 0; [119] = 0; [120] = 0; [121] = 0; [122] = 0; [123] = 0; [124] = 0; [125] = 0; [126] = 0; [127] = 0; [128] = 0; [129] = 0; [130] = 0; [131] = 0; [132] = 0; [133] = 0; [134] = 0; [135] = 0; [136] = 0; [137] = 0; [138] = 0; [139] = 0; [140] = 0; [141] = 0; [142] = 0; [143] = 0; [144] = 0; [145] = 0; [146] = 0; [147] = 0; [148] = 0; [149] = 0; [150] = 0; [151] = 0; [152] = 0; [153] = 0; [154] = 0; [155] = 0; [156] = 0; [157] = 0; [158] = 0; [159] = 0; [160] = 0; [161] = 0; [162] = 0; [163] = 0; [164] = 0; [165] = 0; [166] = 0; [167] = 0; [168] = 0; [169] = 0; [170] = 0; [171] = 0; [172] = 0; [173] = 0; [174] = 0; [175] = 0; [176] = 0; [177] = 0; [178] = 0; [179] = 0; [180] = 0; [181] = 0; [182] = 0; [183] = 0; [184] = 0; [185] = 0; [186] = 0; [187] = 0; [188] = 0; [189] = 0; [190] = 0; [191] = 0; [192] = 0; [193] = 0; [194] = 0; [195] = 0; [196] = 0; [197] = 0; [198] = 0; [199] = 0; [200] = 0; [201] = 0; [202] = 0; [203] = 0; [204] = 0; [205] = 0; [206] = 0; [207] = 0; [208] = 0; [209] = 0; [210] = 0; [211] = 0; [212] = 0; [213] = 0; [214] = 0; [215] = 0; [216] = 0; [217] = 0; [218] = 0; [219] = 0; [220] = 0; [221] = 0; [222] = 0; [223] = 0; [224] = 0; [225] = 0; [226] = 0; [227] = 0; [228] = 0; [229] = 0; [230] = 0; [231] = 0; [232] = 0; [233] = 0; [234] = 0; [235] = 0; [236] = 0; [237] = 0; [238] = 0; [239] = 0; [240] = 0; [241] = 0; [242] = 0; [243] = 0; [244] = 0; [245] = 0; [246] = 0; [247] = 0; [248] = 0; [249] = 0; [250] = 0; [251] = 0; [252] = 0; [253] = 0; [254] = 0; [255] = 0; [256] = 0; [257] = 0; [258] = 0; [259] = 0; [260] = 0; [261] = 0; [262] = 0; [263] = 0; [264] = 0; [265] = 0; [266] = 0; [267] = 0; [268] = 0; [269] = 0; [270] = 0; [271] = 0; [272] = 0; [273] = 0; [274] = 0; [275] = 0; [276] = 0; [277] = 0; [278] = 0; [279] = 0; [280] = 0; [281] = 0; [282] = 0; [283] = 0; [284] = 0; [285] = 0; [286] = 0; [287] = 0; [288] = 0; [289] = 0; [290] = 0; [291] = 0; [292] = 0; [293] = 0; [294] = 0; [295] = 0; [296] = 0; [297] = 0; [298] = 0; [299] = 0; [300] = 0; [301] = 0; [302] = 0; [303] = 0; [304] = 0; [305] = 0; [306] = 0; [307] = 0; [308] = 0; [309] = 0; [310] = 0; [311] = 0; [312] = 0; [313] = 0; [314] = 0; [315] = 0; [316] = 0; [317] = 0; [318] = 0; [319] = 0; [320] = 0; [321] = 0; [322] = 0; [323] = 0; [324] = 0; [325] = 0; [326] = 0; [327] = 0; [328] = 0; [329] = 0; [330] = 0; [331] = 0; [332] = 0; [333] = 0; [334] = 0; [335] = 0; [336] = 0; [337] = 0; [338] = 0; [339] = 0; [340] = 0; [341] = 0; [342] = 0; [343] = 0; [344] = 0; [345] = 0; [346] = 0; [347] = 0; [348] = 0; [349] = 0; [350] = 0; [351] = 0; [352] = 0; [353] = 0; [354] = 0; [355] = 0; [356] = 0; [357] = 0; [358] = 0; [359] = 0; [360] = 0; [361] = 0; [362] = 0; [363] = 0; [364] = 0; [365] = 0; [366] = 0; [367] = 0; [368] = 0; [369] = 0; [370] = 0; [371] = 0; [372] = 0; [373] = 0; [374] = 0; [375] = 0; [376] = 0; [377] = 0; [378] = 0; [379] = 0; [380] = 0; [381] = 0; [382] = 0; [383] = 0; [384] = 0; [385] = 0; [386] = 0; [387] = 0; [388] = 0; [389] = 0; [390] = 0; [391] = 0; [392] = 0; [393] = 0; [394] = 0; [395] = 0; [396] = 0; [397] = 0; [398] = 0; [399] = 0; [400] = 0; [401] = 0; [402] = 0; [403] = 0; [404] = 0; [405] = 0; [406] = 0; [407] = 0; [408] = 0; [409] = 0; [410] = 0; [411] = 0; [412] = 0; [413] = 0; [414] = 0; [415] = 0; [416] = 0; [417] = 0; [418] = 0; [419] = 0; [420] = 0; [421] = 0; [422] = 0; [423] = 0; [424] = 0; [425] = 0; [426] = 0; [427] = 0; [428] = 0; [429] = 0; [430] = 0; [431] = 0; [432] = 0; [433] = 0; [434] = 0; [435] = 0; [436] = 0; [437] = 0; [438] = 0; [439] = 0; [440] = 0; [441] = 0; [442] = 0; [443] = 0; [444] = 0; [445] = 0; [446] = 0; [447] = 0; [448] = 0; [449] = 0; [450] = 0; [451] = 0; [452] = 0; [453] = 0; [454] = 0; [455] = 0; [456] = 0; [457] = 0; [458] = 0; [459] = 0; [460] = 0; [461] = 0; [462] = 0; [463] = 0; [464] = 0; [465] = 0; [466] = 0; [467] = 0; [468] = 0; [469] = 0; [470] = 0; [471] = 0; [472] = 0; [473] = 0; [474] = 0; [475] = 0; [476] = 0; [477] = 0; [478] = 0; [479] = 0; [480] = 0; [481] = 0; [482] = 0; [483] = 0; [484] = 0; [485] = 0; [486] = 0; [487] = 0; [488] = 0; [489] = 0; [490] = 0; [491] = 0; [492] = 0; [493] = 0; [494] = 0; [495] = 0; [496] = 0; [497] = 0; [498] = 0; [499] = 0; [500] = 0; [501] = 0; [502] = 0; [503] = 0; [504] = 0; [505] = 0; [506] = 0; [507] = 0; [508] = 0; [509] = 0; [510] = 0; [511] = 0; [512] = 0; [513] = 0; [514] = 0; [515] = 0; [516] = 0; [517] = 0; [518] = 0; [519] = 0; [520] = 0; [521] = 0; [522] = 0; [523] = 0; [524] = 0; [525] = 0; [526] = 0; [527] = 0; [528] = 0; [529] = 0; [530] = 0; [531] = 0; [532] = 0; [533] = 0; [534] = 0; [535] = 0; [536] = 0; [537] = 0; [538] = 0; [539] = 0; [540] = 0; [541] = 0; [542] = 0; [543] = 0; [544] = 0; [545] = 0; [546] = 0; [547] = 0; [548] = 0; [549] = 0; [550] = 0; [551] = 0; [552] = 0; [553] = 0; [554] = 0; [555] = 0; [556] = 0; [557] = 0; [558] = 0; [559] = 0; [560] = 0; [561] = 0; [562] = 0; [563] = 0; [564] = 0; [565] = 0; [566] = 0; [567] = 0; [568] = 0; [569] = 0; [570] = 0; [571] = 0; [572] = 0; [573] = 0; [574] = 0; [575] = 0; [576] = 0; [577] = 0; [578] = 0; [579] = 0; [580] = 0; [581] = 0; [582] = 0; [583] = 0; [584] = 0; [585] = 0; [586] = 0; [587] = 0; [588] = 0; [589] = 0; [590] = 0; [591] = 0; [592] = 0; [593] = 0; [594] = 0; [595] = 0; [596] = 0; [597] = 0; [598] = 0; [599] = 0; [600] = 0; [601] = 0; [602] = 0; [603] = 0; [604] = 0; [605] = 0; [606] = 0; [607] = 0; [608] = 0; [609] = 0; [610] = 0; [611] = 0; [612] = 0; [613] = 0; [614] = 0; [615] = 0; [616] = 0; [617] = 0; [618] = 0; [619] = 0; [620] = 0; [621] = 0; [622] = 0; [623] = 0; [624] = 0; [625] = 0; [626] = 0; [627] = 0; [628] = 0; [629] = 0; [630] = 0; [631] = 0; [632] = 0; [633] = 0; [634] = 0; [635] = 0; [636] = 0; [637] = 0; [638] = 0; [639] = 0; [640] = 0; [641] = 0; [642] = 0; [643] = 0; [644] = 0; [645] = 0; [646] = 0; [647] = 0; [648] = 0; [649] = 0; [650] = 0; [651] = 0; [652] = 0; [653] = 0; [654] = 0; [655] = 0; [656] = 0; [657] = 0; [658] = 0; [659] = 0; [660] = 0; [661] = 0; [662] = 0; [663] = 0; [664] = 0; [665] = 0; [666] = 0; [667] = 0; [668] = 0; [669] = 0; [670] = 0; [671] = 0; [672] = 0; [673] = 0; [674] = 0; [675] = 0; [676] = 0; [677] = 0; [678] = 0; [679] = 0; [680] = 0; [681] = 0; [682] = 0; [683] = 0; [684] = 0; [685] = 0; [686] = 0; [687] = 0; [688] = 0; [689] = 0; [690] = 0; [691] = 0; [692] = 0; [693] = 0; [694] = 0; [695] = 0; [696] = 0; [697] = 0; [698] = 0; [699] = 0; [700] = 0; [701] = 0; [702] = 0; [703] = 0; [704] = 0; [705] = 0; [706] = 0; [707] = 0; [708] = 0; [709] = 0; [710] = 0; [711] = 0; [712] = 0; [713] = 0; [714] = 0; [715] = 0; [716] = 0; [717] = 0; [718] = 0; [719] = 0; [720] = 0; [721] = 0; [722] = 0; [723] = 0; [724] = 0; [725] = 0; [726] = 0; [727] = 0; [728] = 0; [729] = 0; [730] = 0; [731] = 0; [732] = 0; [733] = 0; [734] = 0; [735] = 0; [736] = 0; [737] = 0; [738] = 0; [739] = 0; [740] = 0; [741] = 0; [742] = 0; [743] = 0; [744] = 0; [745] = 0; [746] = 0; [747] = 0; [748] = 0; [749] = 0; [750] = 0; [751] = 0; [752] = 0; [753] = 0; [754] = 0; [755] = 0; [756] = 0; [757] = 0; [758] = 0; [759] = 0; [760] = 0; [761] = 0; [762] = 0; [763] = 0; [764] = 0; [765] = 0; [766] = 0; [767] = 0; [768] = 0; [769] = 0; [770] = 0; [771] = 0; [772] = 0; [773] = 0; [774] = 0; [775] = 0; [776] = 0; [777] = 0; [778] = 0; [779] = 0; [780] = 0; [781] = 0; [782] = 0; [783] = 0; [784] = 0; [785] = 0; [786] = 0; [787] = 0; [788] = 0; [789] = 0; [790] = 0; [791] = 0; [792] = 0; [793] = 0; [794] = 0; [795] = 0; [796] = 0; [797] = 0; [798] = 0; [799] = 0; [800] = 0; [801] = 0; [802] = 0; [803] = 0; [804] = 0; [805] = 0; [806] = 0; [807] = 0; [808] = 0; [809] = 0; [810] = 0; [811] = 0; [812] = 0; [813] = 0; [814] = 0; [815] = 0; [816] = 0; [817] = 0; [818] = 0; [819] = 0; [820] = 0; [821] = 0; [822] = 0; [823] = 0; [824] = 0; [825] = 0; [826] = 0; [827] = 0; [828] = 0; [829] = 0; [830] = 0; [831] = 0; [832] = 0; [833] = 0; [834] = 0; [835] = 0; [836] = 0; [837] = 0; [838] = 0; [839] = 0; [840] = 0; [841] = 0; [842] = 0; [843] = 0; [844] = 0; [845] = 0; [846] = 0; [847] = 0; [848] = 0; [849] = 0; [850] = 0; [851] = 0; [852] = 0; [853] = 0; [854] = 0; [855] = 0; [856] = 0; [857] = 0; [858] = 0; [859] = 0; [860] = 0; [861] = 0; [862] = 0; [863] = 0; [864] = 0; [865] = 0; [866] = 0; [867] = 0; [868] = 0; [869] = 0; [870] = 0; [871] = 0; [872] = 0; [873] = 0; [874] = 0; [875] = 0; [876] = 0; [877] = 0; [878] = 0; [879] = 0; [880] = 0; [881] = 0; [882] = 0; [883] = 0; [884] = 0; [885] = 0; [886] = 0; [887] = 0; [888] = 0; [889] = 0; [890] = 0; [891] = 0; [892] = 0; [893] = 0; [894] = 0; [895] = 0; [896] = 0; [897] = 0; [898] = 0; [899] = 0; [900] = 0; [901] = 0; [902] = 0; [903] = 0; [904] = 0; [905] = 0; [906] = 0; [907] = 0; [908] = 0; [909] = 0; [910] = 0; [911] = 0; [912] = 0; [913] = 0; [914] = 0; [915] = 0; [916] = 0; [917] = 0; [918] = 0; [919] = 0; [920] = 0; [921] = 0; [922] = 0; [923] = 0; [924] = 0; [925] = 0; [926] = 0; [927] = 0; [928] = 0; [929] = 0; [930] = 0; [931] = 0; [932] = 0; [933] = 0; [934] = 0; [935] = 0; [936] = 0; [937] = 0; [938] = 0; [939] = 0; [940] = 0; [941] = 0; [942] = 0; [943] = 0; [944] = 0; [945] = 0; [946] = 0; [947] = 0; [948] = 0; [949] = 0; [950] = 0; [951] = 0; [952] = 0; [953] = 0; [954] = 0; [955] = 0; [956] = 0; [957] = 0; [958] = 0; [959] = 0; [960] = 0; [961] = 0; [962] = 0; [963] = 0; [964] = 0; [965] = 0; [966] = 0; [967] = 0; [968] = 0; [969] = 0; [970] = 0; [971] = 0; [972] = 0; [973] = 0; [974] = 0; [975] = 0; [976] = 0; [977] = 0; [978] = 0; [979] = 0; [980] = 0; [981] = 0; [982] = 0; [983] = 0; [984] = 0; [985] = 0; [986] = 0; [987] = 0; [988] = 0; [989] = 0; [990] = 0; [991] = 0; [992] = 0; [993] = 0; [994] = 0; [995] = 0; [996] = 0; [997] = 0; [998] = 0; [999] = 0; [1000] = 0; [1001] = 0; [1002] = 0; [1003] = 0; [1004] = 0; [1005] = 0; [1006] = 0; [1007] = 0; [1008] = 0; [1009] = 0; [1010] = 0; [1011] = 0; [1012] = 0; [1013] = 0; [1014] = 0; [1015] = 0; [1016] = 0; [1017] = 0; [1018] = 0; [1019] = 0; [1020] = 0; [1021] = 0; [1022] = 0; [1023] = 0; [1024] = 0; [1025] = 0; [1026] = 0; [1027] = 0; [1028] = 0; [1029] = 0; [1030] = 0; [1031] = 0; [1032] = 0; [1033] = 0; [1034] = 0; [1035] = 0; [1036] = 0; [1037] = 0; [1038] = 0; [1039] = 0; [1040] = 0; [1041] = 0; [1042] = 0; [1043] = 0; [1044] = 0; [1045] = 0; [1046] = 0; [1047] = 0; [1048] = 0; [1049] = 0; [1050] = 0; [1051] = 0; [1052] = 0; [1053] = 0; [1054] = 0; [1055] = 0; [1056] = 0; [1057] = 0; [1058] = 0; [1059] = 0; [1060] = 0; [1061] = 0; [1062] = 0; [1063] = 0; [1064] = 0; [1065] = 0; [1066] = 0; [1067] = 0; [1068] = 0; [1069] = 0; [1070] = 0; [1071] = 0; [1072] = 0; [1073] = 0; [1074] = 0; [1075] = 0; [1076] = 0; [1077] = 0; [1078] = 0; [1079] = 0; [1080] = 0; [1081] = 0; [1082] = 0; [1083] = 0; [1084] = 0; [1085] = 0; [1086] = 0; [1087] = 0; [1088] = 0; [1089] = 0; [1090] = 0; [1091] = 0; [1092] = 0; [1093] = 0; [1094] = 0; [1095] = 0; [1096] = 0; [1097] = 0; [1098] = 0; [1099] = 0; [1100] = 0; [1101] = 0; [1102] = 0; [1103] = 0; [1104] = 0; [1105] = 0; [1106] = 0; [1107] = 0; [1108] = 0; [1109] = 0; [1110] = 0; [1111] = 0; [1112] = 0; [1113] = 0; [1114] = 0; [1115] = 0; [1116] = 0; [1117] = 0; [1118] = 0; [1119] = 0; [1120] = 0; [1121] = 0; [1122] = 0; [1123] = 0; [1124] = 0; [1125] = 0; [1126] = 0; [1127] = 0; [1128] = 0; [1129] = 0; [1130] = 0; [1131] = 0; [1132] = 0; [1133] = 0; [1134] = 0; [1135] = 0; [1136] = 0; [1137] = 0; [1138] = 0; [1139] = 0; [1140] = 0; [1141] = 0; [1142] = 0; [1143] = 0; [1144] = 0; [1145] = 0; [1146] = 0; [1147] = 0; [1148] = 0; [1149] = 0; [1150] = 0; [1151] = 0; [1152] = 0; [1153] = 0; [1154] = 0; [1155] = 0; [1156] = 0; [1157] = 0; [1158] = 0; [1159] = 0; [1160] = 0; [1161] = 0; [1162] = 0; [1163] = 0; [1164] = 0; [1165] = 0; [1166] = 0; [1167] = 0; [1168] = 0; [1169] = 0; [1170] = 0; [1171] = 0; [1172] = 0; [1173] = 0; [1174] = 0; [1175] = 0; [1176] = 0; [1177] = 0; [1178] = 0; [1179] = 0; [1180] = 0; [1181] = 0; [1182] = 0; [1183] = 0; [1184] = 0; [1185] = 0; [1186] = 0; [1187] = 0; [1188] = 0; [1189] = 0; [1190] = 0; [1191] = 0; [1192] = 0; [1193] = 0; [1194] = 0; [1195] = 0; [1196] = 0; [1197] = 0; [1198] = 0; [1199] = 0; [1200] = 0; [1201] = 0; [1202] = 0; [1203] = 0; [1204] = 0; [1205] = 0; [1206] = 0; [1207] = 0; [1208] = 0; [1209] = 0; [1210] = 0; [1211] = 0; [1212] = 0; [1213] = 0; [1214] = 0; [1215] = 0; [1216] = 0; [1217] = 0; [1218] = 0; [1219] = 0; [1220] = 0; [1221] = 0; [1222] = 0; [1223] = 0; [1224] = 0; [1225] = 0; [1226] = 0; [1227] = 0; [1228] = 0; [1229] = 0; [1230] = 0; [1231] = 0; [1232] = 0; [1233] = 0; [1234] = 0; [1235] = 0; [1236] = 0; [1237] = 0; [1238] = 0; [1239] = 0; [1240] = 0; [1241] = 0; [1242] = 0; [1243] = 0; [1244] = 0; [1245] = 0; [1246] = 0; [1247] = 0; [1248] = 0; [1249] = 0; [1250] = 0; [1251] = 0; [1252] = 0; [1253] = 0; [1254] = 0; [1255] = 0; [1256] = 0; [1257] = 0; [1258] = 0; [1259] = 0; [1260] = 0; [1261] = 0; [1262] = 0; [1263] = 0; [1264] = 0; [1265] = 0; [1266] = 0; [1267] = 0; [1268] = 0; [1269] = 0; [1270] = 0; [1271] = 0; [1272] = 0; [1273] = 0; [1274] = 0; [1275] = 0; [1276] = 0; [1277] = 0; [1278] = 0; [1279] = 0; [1280] = 0; [1281] = 0; [1282] = 0; [1283] = 0; [1284] = 0; [1285] = 0; [1286] = 0; [1287] = 0; [1288] = 0; [1289] = 0; [1290] = 0; [1291] = 0; [1292] = 0; [1293] = 0; [1294] = 0; [1295] = 0; [1296] = 0; [1297] = 0; [1298] = 0; [1299] = 0; [1300] = 0; [1301] = 0; [1302] = 0; [1303] = 0; [1304] = 0; [1305] = 0; [1306] = 0; [1307] = 0; [1308] = 0; [1309] = 0; [1310] = 0; [1311] = 0; [1312] = 0; [1313] = 0; [1314] = 0; [1315] = 0; [1316] = 0; [1317] = 0; [1318] = 0; [1319] = 0; [1320] = 0; [1321] = 0; [1322] = 0; [1323] = 0; [1324] = 0; [1325] = 0; [1326] = 0; [1327] = 0; [1328] = 0; [1329] = 0; [1330] = 0; [1331] = 0; [1332] = 0; [1333] = 0; [1334] = 0; [1335] = 0; [1336] = 0; [1337] = 0; [1338] = 0; [1339] = 0; [1340] = 0; [1341] = 0; [1342] = 0; [1343] = 0; [1344] = 0; [1345] = 0; [1346] = 0; [1347] = 0; [1348] = 0; [1349] = 0; [1350] = 0; [1351] = 0; [1352] = 0; [1353] = 0; [1354] = 0; [1355] = 0; [1356] = 0; [1357] = 0; [1358] = 0; [1359] = 0; [1360] = 0; [1361] = 0; [1362] = 0; [1363] = 0; [1364] = 0; [1365] = 0; [1366] = 0; [1367] = 0; [1368] = 0; [1369] = 0; [1370] = 0; [1371] = 0; [1372] = 0; [1373] = 0; [1374] = 0; [1375] = 0; [1376] = 0; [1377] = 0; [1378] = 0; [1379] = 0; [1380] = 0; [1381] = 0; [1382] = 0; [1383] = 0; [1384] = 0; [1385] = 0; [1386] = 0; [1387] = 0; [1388] = 0; [1389] = 0; [1390] = 0; [1391] = 0; [1392] = 0; [1393] = 0; [1394] = 0; [1395] = 0; [1396] = 0; [1397] = 0; [1398] = 0; [1399] = 0; [1400] = 0; [1401] = 0; [1402] = 0; [1403] = 0; [1404] = 0; [1405] = 0; [1406] = 0; [1407] = 0; [1408] = 0; [1409] = 0; [1410] = 0; [1411] = 0; [1412] = 0; [1413] = 0; [1414] = 0; [1415] = 0; [1416] = 0; [1417] = 0; [1418] = 0; [1419] = 0; [1420] = 0; [1421] = 0; [1422] = 0; [1423] = 0; [1424] = 0; [1425] = 0; [1426] = 0; [1427] = 0; [1428] = 0; [1429] = 0; [1430] = 0; [1431] = 0; [1432] = 0; [1433] = 0; [1434] = 0; [1435] = 0; [1436] = 0; [1437] = 0; [1438] = 0; [1439] = 0; [1440] = 0; [1441] = 0; [1442] = 0; [1443] = 0; [1444] = 0; [1445] = 0; [1446] = 0; [1447] = 0; [1448] = 0; [1449] = 0; [1450] = 0; [1451] = 0; [1452] = 0; [1453] = 0; [1454] = 0; [1455] = 0; [1456] = 0; [1457] = 0; [1458] = 0; [1459] = 0; [1460] = 0; [1461] = 0; [1462] = 0; [1463] = 0; [1464] = 0; [1465] = 0; [1466] = 0; [1467] = 0; [1468] = 0; [1469] = 0; [1470] = 0; [1471] = 0; [1472] = 0; [1473] = 0; [1474] = 0; [1475] = 0; [1476] = 0; [1477] = 0; [1478] = 0; [1479] = 0; [1480] = 0; [1481] = 0; [1482] = 0; [1483] = 0; [1484] = 0; [1485] = 0; [1486] = 0; [1487] = 0; [1488] = 0; [1489] = 0; [1490] = 0; [1491] = 0; [1492] = 0; [1493] = 0; [1494] = 0; [1495] = 0; [1496] = 0; [1497] = 0; [1498] = 0; [1499] = 0; [1500] = 0; [1501] = 0; [1502] = 0; [1503] = 0; [1504] = 0; [1505] = 0; [1506] = 0; [1507] = 0; [1508] = 0; [1509] = 0; [1510] = 0; [1511] = 0; [1512] = 0; [1513] = 0; [1514] = 0; [1515] = 0; [1516] = 0; [1517] = 0; [1518] = 0; [1519] = 0; [1520] = 0; [1521] = 0; [1522] = 0; [1523] = 0; [1524] = 0; [1525] = 0; [1526] = 0; [1527] = 0; [1528] = 0; [1529] = 0; [1530] = 0; [1531] = 0; [1532] = 0; [1533] = 0; [1534] = 0; [1535] = 0; [1536] = 0; [1537] = 0; [1538] = 0; [1539] = 0; [1540] = 0; [1541] = 0; [1542] = 0; [1543] = 0; [1544] = 0; [1545] = 0; [1546] = 0; [1547] = 0; [1548] = 0; [1549] = 0; [1550] = 0; [1551] = 0; [1552] = 0; [1553] = 0; [1554] = 0; [1555] = 0; [1556] = 0; [1557] = 0; [1558] = 0; [1559] = 0; [1560] = 0; [1561] = 0; [1562] = 0; [1563] = 0; [1564] = 0; [1565] = 0; [1566] = 0; [1567] = 0; [1568] = 0; [1569] = 0; [1570] = 0; [1571] = 0; [1572] = 0; [1573] = 0; [1574] = 0; [1575] = 0; [1576] = 0; [1577] = 0; [1578] = 0; [1579] = 0; [1580] = 0; [1581] = 0; [1582] = 0; [1583] = 0; [1584] = 0; [1585] = 0; [1586] = 0; [1587] = 0; [1588] = 0; [1589] = 0; [1590] = 0; [1591] = 0; [1592] = 0; [1593] = 0; [1594] = 0; [1595] = 0; [1596] = 0; [1597] = 0; [1598] = 0; [1599] = 0; [1600] = 0; [1601] = 0; [1602] = 0; [1603] = 0; [1604] = 0; [1605] = 0; [1606] = 0; [1607] = 0; [1608] = 0; [1609] = 0; [1610] = 0; [1611] = 0; [1612] = 0; [1613] = 0; [1614] = 0; [1615] = 0; [1616] = 0; [1617] = 0; [1618] = 0; [1619] = 0; [1620] = 0; [1621] = 0; [1622] = 0; [1623] = 0; [1624] = 0; [1625] = 0; [1626] = 0; [1627] = 0; [1628] = 0; [1629] = 0; [1630] = 0; [1631] = 0; [1632] = 0; [1633] = 0; [1634] = 0; [1635] = 0; [1636] = 0; [1637] = 0; [1638] = 0; [1639] = 0; [1640] = 0; [1641] = 0; [1642] = 0; [1643] = 0; [1644] = 0; [1645] = 0; [1646] = 0; [1647] = 0; [1648] = 0; [1649] = 0; [1650] = 0; [1651] = 0; [1652] = 0; [1653] = 0; [1654] = 0; [1655] = 0; [1656] = 0; [1657] = 0; [1658] = 0; [1659] = 0; [1660] = 0; [1661] = 0; [1662] = 0; [1663] = 0; [1664] = 0; [1665] = 0; [1666] = 0; [1667] = 0; [1668] = 0; [1669] = 0; [1670] = 0; [1671] = 0; [1672] = 0; [1673] = 0; [1674] = 0; [1675] = 0; [1676] = 0; [1677] = 0; [1678] = 0; [1679] = 0; [1680] = 0; [1681] = 0; [1682] = 0; [1683] = 0; [1684] = 0; [1685] = 0; [1686] = 0; [1687] = 0; [1688] = 0; [1689] = 0; [1690] = 0; [1691] = 0; [1692] = 0; [1693] = 0; [1694] = 0; [1695] = 0; [1696] = 0; [1697] = 0; [1698] = 0; [1699] = 0; [1700] = 0; [1701] = 0; [1702] = 0; [1703] = 0; [1704] = 0; [1705] = 0; [1706] = 0; [1707] = 0; [1708] = 0; [1709] = 0; [1710] = 0; [1711] = 0; [1712] = 0; [1713] = 0; [1714] = 0; [1715] = 0; [1716] = 0; [1717] = 0; [1718] = 0; [1719] = 0; [1720] = 0; [1721] = 0; [1722] = 0; [1723] = 0; [1724] = 0; [1725] = 0; [1726] = 0; [1727] = 0; [1728] = 0; [1729] = 0; [1730] = 0; [1731] = 0; [1732] = 0; [1733] = 0; [1734] = 0; [1735] = 0; [1736] = 0; [1737] = 0; [1738] = 0; [1739] = 0; [1740] = 0; [1741] = 0; [1742] = 0; [1743] = 0; [1744] = 0; [1745] = 0; [1746] = 0; [1747] = 0; [1748] = 0; [1749] = 0; [1750] = 0; [1751] = 0; [1752] = 0; [1753] = 0; [1754] = 0; [1755] = 0; [1756] = 0; [1757] = 0; [1758] = 0; [1759] = 0; [1760] = 0; [1761] = 0; [1762] = 0; [1763] = 0; [1764] = 0; [1765] = 0; [1766] = 0; [1767] = 0; [1768] = 0; [1769] = 0; [1770] = 0; [1771] = 0; [1772] = 0; [1773] = 0; [1774] = 0; [1775] = 0; [1776] = 0; [1777] = 0; [1778] = 0; [1779] = 0; [1780] = 0; [1781] = 0; [1782] = 0; [1783] = 0; [1784] = 0; [1785] = 0; [1786] = 0; [1787] = 0; [1788] = 0; [1789] = 0; [1790] = 0; [1791] = 0; [1792] = 0; [1793] = 0; [1794] = 0; [1795] = 0; [1796] = 0; [1797] = 0; [1798] = 0; [1799] = 0; [1800] = 0; [1801] = 0; [1802] = 0; [1803] = 0; [1804] = 0; [1805] = 0; [1806] = 0; [1807] = 0; [1808] = 0; [1809] = 0; [1810] = 0; [1811] = 0; [1812] = 0; [1813] = 0; [1814] = 0; [1815] = 0; [1816] = 0; [1817] = 0; [1818] = 0; [1819] = 0; [1820] = 0; [1821] = 0; [1822] = 0; [1823] = 0; [1824] = 0; [1825] = 0; [1826] = 0; [1827] = 0; [1828] = 0; [1829] = 0; [1830] = 0; [1831] = 0; [1832] = 0; [1833] = 0; [1834] = 0; [1835] = 0; [1836] = 0; [1837] = 0; [1838] = 0; [1839] = 0; [1840] = 0; [1841] = 0; [1842] = 0; [1843] = 0; [1844] = 0; [1845] = 0; [1846] = 0; [1847] = 0; [1848] = 0; [1849] = 0; [1850] = 0; [1851] = 0; [1852] = 0; [1853] = 0; [1854] = 0; [1855] = 0; [1856] = 0; [1857] = 0; [1858] = 0; [1859] = 0; [1860] = 0; [1861] = 0; [1862] = 0; [1863] = 0; [1864] = 0; [1865] = 0; [1866] = 0; [1867] = 0; [1868] = 0; [1869] = 0; [1870] = 0; [1871] = 0; [1872] = 0; [1873] = 0; [1874] = 0; [1875] = 0; [1876] = 0; [1877] = 0; [1878] = 0; [1879] = 0; [1880] = 0; [1881] = 0; [1882] = 0; [1883] = 0; [1884] = 0; [1885] = 0; [1886] = 0; [1887] = 0; [1888] = 0; [1889] = 0; [1890] = 0; [1891] = 0; [1892] = 0; [1893] = 0; [1894] = 0; [1895] = 0; [1896] = 0; [1897] = 0; [1898] = 0; [1899] = 0; [1900] = 0; [1901] = 0; [1902] = 0; [1903] = 0; [1904] = 0; [1905] = 0; [1906] = 0; [1907] = 0; [1908] = 0; [1909] = 0; [1910] = 0; [1911] = 0; [1912] = 0; [1913] = 0; [1914] = 0; [1915] = 0; [1916] = 0; [1917] = 0; [1918] = 0; [1919] = 0; [1920] = 0; [1921] = 0; [1922] = 0; [1923] = 0; [1924] = 0; [1925] = 0; [1926] = 0; [1927] = 0; [1928] = 0; [1929] = 0; [1930] = 0; [1931] = 0; [1932] = 0; [1933] = 0; [1934] = 0; [1935] = 0; [1936] = 0; [1937] = 0; [1938] = 0; [1939] = 0; [1940] = 0; [1941] = 0; [1942] = 0; [1943] = 0; [1944] = 0; [1945] = 0; [1946] = 0; [1947] = 0; [1948] = 0; [1949] = 0; [1950] = 0; [1951] = 0; [1952] = 0; [1953] = 0; [1954] = 0; [1955] = 0; [1956] = 0; [1957] = 0; [1958] = 0; [1959] = 0; [1960] = 0; [1961] = 0; [1962] = 0; [1963] = 0; [1964] = 0; [1965] = 0; [1966] = 0; [1967] = 0; [1968] = 0; [1969] = 0; [1970] = 0; [1971] = 0; [1972] = 0; [1973] = 0; [1974] = 0; [1975] = 0; [1976] = 0; [1977] = 0; [1978] = 0; [1979] = 0; [1980] = 0; [1981] = 0; [1982] = 0; [1983] = 0; [1984] = 0; [1985] = 0; [1986] = 0; [1987] = 0; [1988] = 0; [1989] = 0; [1990] = 0; [1991] = 0; [1992] = 0; [1993] = 0; [1994] = 0; [1995] = 0; [1996] = 0; [1997] = 0; [1998] = 0; [1999] = 0; [2000] = 0; [2001] = 0; [2002] = 0; [2003] = 0; [2004] = 0; [2005] = 0; [2006] = 0; [2007] = 0; [2008] = 0; [2009] = 0; [2010] = 0; [2011] = 0; [2012] = 0; [2013] = 0; [2014] = 0; [2015] = 0; [2016] = 0; [2017] = 0; [2018] = 0; [2019] = 0; [2020] = 0; [2021] = 0; [2022] = 0; [2023] = 0; [2024] = 0; [2025] = 0; [2026] = 0; [2027] = 0; [2028] = 0; [2029] = 0; [2030] = 0; [2031] = 0; [2032] = 0; [2033] = 0; [2034] = 0; [2035] = 0; [2036] = 0; [2037] = 0; [2038] = 0; [2039] = 0; [2040] = 0; [2041] = 0; [2042] = 0; [2043] = 0; [2044] = 0; [2045] = 0; [2046] = 0; [2047] = 0; [2048] = 0; [2049] = 0; [2050] = 0; [2051] = 0; [2052] = 0; [2053] = 0; [2054] = 0; [2055] = 0; [2056] = 0; [2057] = 0; [2058] = 0; [2059] = 0; [2060] = 0; [2061] = 0; [2062] = 0; [2063] = 0; [2064] = 0; [2065] = 0; [2066] = 0; [2067] = 0; [2068] = 0; [2069] = 0; [2070] = 0; [2071] = 0; [2072] = 0; [2073] = 0; [2074] = 0; [2075] = 0; [2076] = 0; [2077] = 0; [2078] = 0; [2079] = 0; [2080] = 0; [2081] = 0; [2082] = 0; [2083] = 0; [2084] = 0; [2085] = 0; [2086] = 0; [2087] = 0; [2088] = 0; [2089] = 0; [2090] = 0; [2091] = 0; [2092] = 0; [2093] = 0; [2094] = 0; [2095] = 0; [2096] = 0; [2097] = 0; [2098] = 0; [2099] = 0; [2100] = 0; [2101] = 0; [2102] = 0; [2103] = 0; [2104] = 0; [2105] = 0; [2106] = 0; [2107] = 0; [2108] = 0; [2109] = 0; [2110] = 0; [2111] = 0; [2112] = 0; [2113] = 0; [2114] = 0; [2115] = 0; [2116] = 0; [2117] = 0; [2118] = 0; [2119] = 0; [2120] = 0; [2121] = 0; [2122] = 0; [2123] = 0; [2124] = 0; [2125] = 0; [2126] = 0; [2127] = 0; [2128] = 0; [2129] = 0; [2130] = 0; [2131] = 0; [2132] = 0; [2133] = 0; [2134] = 0; [2135] = 0; [2136] = 0; [2137] = 0; [2138] = 0; [2139] = 0; [2140] = 0; [2141] = 0; [2142] = 0; [2143] = 0; [2144] = 0; [2145] = 0; [2146] = 0; [2147] = 0; [2148] = 0; [2149] = 0; [2150] = 0; [2151] = 0; [2152] = 0; [2153] = 0; [2154] = 0; [2155] = 0; [2156] = 0; [2157] = 0; [2158] = 0; [2159] = 0; [2160] = 0; [2161] = 0; [2162] = 0; [2163] = 0; [2164] = 0; [2165] = 0; [2166] = 0; [2167] = 0; [2168] = 0; [2169] = 0; [2170] = 0; [2171] = 0; [2172] = 0; [2173] = 0; [2174] = 0; [2175] = 0; [2176] = 0; [2177] = 0; [2178] = 0; [2179] = 0; [2180] = 0; [2181] = 0; [2182] = 0; [2183] = 0; [2184] = 0; [2185] = 0; [2186] = 0; [2187] = 0; [2188] = 0; [2189] = 0; [2190] = 0; [2191] = 0; [2192] = 0; [2193] = 0; [2194] = 0; [2195] = 0; [2196] = 0; [2197] = 0; [2198] = 0; [2199] = 0; [2200] = 0; [2201] = 0; [2202] = 0; [2203] = 0; [2204] = 0; [2205] = 0; [2206] = 0; [2207] = 0; [2208] = 0; [2209] = 0; [2210] = 0; [2211] = 0; [2212] = 0; [2213] = 0; [2214] = 0; [2215] = 0; [2216] = 0; [2217] = 0; [2218] = 0; [2219] = 0; [2220] = 0; [2221] = 0; [2222] = 0; [2223] = 0; [2224] = 0; [2225] = 0; [2226] = 0; [2227] = 0; [2228] = 0; [2229] = 0; [2230] = 0; [2231] = 0; [2232] = 0; [2233] = 0; [2234] = 0; [2235] = 0; [2236] = 0; [2237] = 0; [2238] = 0; [2239] = 0; [2240] = 0; [2241] = 0; [2242] = 0; [2243] = 0; [2244] = 0; [2245] = 0; [2246] = 0; [2247] = 0; [2248] = 0; [2249] = 0; [2250] = 0; [2251] = 0; [2252] = 0; [2253] = 0; [2254] = 0; [2255] = 0; [2256] = 0; [2257] = 0; [2258] = 0; [2259] = 0; [2260] = 0; [2261] = 0; [2262] = 0; [2263] = 0; [2264] = 0; [2265] = 0; [2266] = 0; [2267] = 0; [2268] = 0; [2269] = 0; [2270] = 0; [2271] = 0; [2272] = 0; [2273] = 0; [2274] = 0; [2275] = 0; [2276] = 0; [2277] = 0; [2278] = 0; [2279] = 0; [2280] = 0; [2281] = 0; [2282] = 0; [2283] = 0; [2284] = 0; [2285] = 0; [2286] = 0; [2287] = 0; [2288] = 0; [2289] = 0; [2290] = 0; [2291] = 0; [2292] = 0; [2293] = 0; [2294] = 0; [2295] = 0; [2296] = 0; [2297] = 0; [2298] = 0; [2299] = 0; [2300] = 0; [2301] = 0; [2302] = 0; [2303] = 0; [2304] = 0; [2305] = 0; [2306] = 0; [2307] = 0; [2308] = 0; [2309] = 0; [2310] = 0; [2311] = 0; [2312] = 0; [2313] = 0; [2314] = 0; [2315] = 0; [2316] = 0; [2317] = 0; [2318] = 0; [2319] = 0; [2320] = 0; [2321] = 0; [2322] = 0; [2323] = 0; [2324] = 0; [2325] = 0; [2326] = 0; [2327] = 0; [2328] = 0; [2329] = 0; [2330] = 0; [2331] = 0; [2332] = 0; [2333] = 0; [2334] = 0; [2335] = 0; [2336] = 0; [2337] = 0; [2338] = 0; [2339] = 0; [2340] = 0; [2341] = 0; [2342] = 0; [2343] = 0; [2344] = 0; [2345] = 0; [2346] = 0; [2347] = 0; [2348] = 0; [2349] = 0; [2350] = 0; [2351] = 0; [2352] = 0; [2353] = 0; [2354] = 0; [2355] = 0; [2356] = 0; [2357] = 0; [2358] = 0; [2359] = 0; [2360] = 0; [2361] = 0; [2362] = 0; [2363] = 0; [2364] = 0; [2365] = 0; [2366] = 0; [2367] = 0; [2368] = 0; [2369] = 0; [2370] = 0; [2371] = 0; [2372] = 0; [2373] = 0; [2374] = 0; [2375] = 0; [2376] = 0; [2377] = 0; [2378] = 0; [2379] = 0; [2380] = 0; [2381] = 0; [2382] = 0; [2383] = 0; [2384] = 0; [2385] = 0; [2386] = 0; [2387] = 0; [2388] = 0; [2389] = 0; [2390] = 0; [2391] = 0; [2392] = 0; [2393] = 0; [2394] = 0; [2395] = 0; [2396] = 0; [2397] = 0; [2398] = 0; [2399] = 0; [2400] = 0; [2401] = 0; [2402] = 0; [2403] = 0; [2404] = 0; [2405] = 0; [2406] = 0; [2407] = 0; [2408] = 0; [2409] = 0; [2410] = 0; [2411] = 0; [2412] = 0; [2413] = 0; [2414] = 0; [2415] = 0; [2416] = 0; [2417] = 0; [2418] = 0; [2419] = 0; [2420] = 0; [2421] = 0; [2422] = 0; [2423] = 0; [2424] = 0; [2425] = 0; [2426] = 0; [2427] = 0; [2428] = 0; [2429] = 0; [2430] = 0; [2431] = 0; [2432] = 0; [2433] = 0; [2434] = 0; [2435] = 0; [2436] = 0; [2437] = 0; [2438] = 0; [2439] = 0; [2440] = 0; [2441] = 0; [2442] = 0; [2443] = 0; [2444] = 0; [2445] = 0; [2446] = 0; [2447] = 0; [2448] = 0; [2449] = 0; [2450] = 0; [2451] = 0; [2452] = 0; [2453] = 0; [2454] = 0; [2455] = 0; [2456] = 0; [2457] = 0; [2458] = 0; [2459] = 0; [2460] = 0; [2461] = 0; [2462] = 0; [2463] = 0; [2464] = 0; [2465] = 0; [2466] = 0; [2467] = 0; [2468] = 0; [2469] = 0; [2470] = 0; [2471] = 0; [2472] = 0; [2473] = 0; [2474] = 0; [2475] = 0; [2476] = 0; [2477] = 0; [2478] = 0; [2479] = 0; [2480] = 0; [2481] = 0; [2482] = 0; [2483] = 0; [2484] = 0; [2485] = 0; [2486] = 0; [2487] = 0; [2488] = 0; [2489] = 0; [2490] = 0; [2491] = 0; [2492] = 0; [2493] = 0; [2494] = 0; [2495] = 0; [2496] = 0; [2497] = 0; [2498] = 0; [2499] = 0; [2500] = 0; [2501] = 0; [2502] = 0; [2503] = 0; [2504] = 0; [2505] = 0; [2506] = 0; [2507] = 0; [2508] = 0; [2509] = 0; [2510] = 0; [2511] = 0; [2512] = 0; [2513] = 0; [2514] = 0; [2515] = 0; [2516] = 0; [2517] = 0; [2518] = 0; [2519] = 0; [2520] = 0; [2521] = 0; [2522] = 0; [2523] = 0; [2524] = 0; [2525] = 0; [2526] = 0; [2527] = 0; [2528] = 0; [2529] = 0; [2530] = 0; [2531] = 0; [2532] = 0; [2533] = 0; [2534] = 0; [2535] = 0; [2536] = 0; [2537] = 0; [2538] = 0; [2539] = 0; [2540] = 0; [2541] = 0; [2542] = 0; [2543] = 0; [2544] = 0; [2545] = 0; [2546] = 0; [2547] = 0; [2548] = 0; [2549] = 0; [2550] = 0; [2551] = 0; [2552] = 0; [2553] = 0; [2554] = 0; [2555] = 0; [2556] = 0; [2557] = 0; [2558] = 0; [2559] = 0; [2560] = 0; [2561] = 0; [2562] = 0; [2563] = 0; [2564] = 0; [2565] = 0; [2566] = 0; [2567] = 0; [2568] = 0; [2569] = 0; [2570] = 0; [2571] = 0; [2572] = 0; [2573] = 0; [2574] = 0; [2575] = 0; [2576] = 0; [2577] = 0; [2578] = 0; [2579] = 0; [2580] = 0; [2581] = 0; [2582] = 0; [2583] = 0; [2584] = 0; [2585] = 0; [2586] = 0; [2587] = 0; [2588] = 0; [2589] = 0; [2590] = 0; [2591] = 0; [2592] = 0; [2593] = 0; [2594] = 0; [2595] = 0; [2596] = 0; [2597] = 0; [2598] = 0; [2599] = 0; [2600] = 0; [2601] = 0; [2602] = 0; [2603] = 0; [2604] = 0; [2605] = 0; [2606] = 0; [2607] = 0; [2608] = 0; [2609] = 0; [2610] = 0; [2611] = 0; [2612] = 0; [2613] = 0; [2614] = 0; [2615] = 0; [2616] = 0; [2617] = 0; [2618] = 0; [2619] = 0; [2620] = 0; [2621] = 0; [2622] = 0; [2623] = 0; [2624] = 0; [2625] = 0; [2626] = 0; [2627] = 0; [2628] = 0; [2629] = 0; [2630] = 0; [2631] = 0; [2632] = 0; [2633] = 0; [2634] = 0; [2635] = 0; [2636] = 0; [2637] = 0; [2638] = 0; [2639] = 0; [2640] = 0; [2641] = 0; [2642] = 0; [2643] = 0; [2644] = 0; [2645] = 0; [2646] = 0; [2647] = 0; [2648] = 0; [2649] = 0; [2650] = 0; [2651] = 0; [2652] = 0; [2653] = 0; [2654] = 0; [2655] = 0; [2656] = 0; [2657] = 0; [2658] = 0; [2659] = 0; [2660] = 0; [2661] = 0; [2662] = 0; [2663] = 0; [2664] = 0; [2665] = 0; [2666] = 0; [2667] = 0; [2668] = 0; [2669] = 0; [2670] = 0; [2671] = 0; [2672] = 0; [2673] = 0; [2674] = 0; [2675] = 0; [2676] = 0; [2677] = 0; [2678] = 0; [2679] = 0; [2680] = 0; [2681] = 0; [2682] = 0; [2683] = 0; [2684] = 0; [2685] = 0; [2686] = 0; [2687] = 0; [2688] = 0; [2689] = 0; [2690] = 0; [2691] = 0; [2692] = 0; [2693] = 0; [2694] = 0; [2695] = 0; [2696] = 0; [2697] = 0; [2698] = 0; [2699] = 0; [2700] = 0; [2701] = 0; [2702] = 0; [2703] = 0; [2704] = 0; [2705] = 0; [2706] = 0; [2707] = 0; [2708] = 0; [2709] = 0; [2710] = 0; [2711] = 0; [2712] = 0; [2713] = 0; [2714] = 0; [2715] = 0; [2716] = 0; [2717] = 0; [2718] = 0; [2719] = 0; [2720] = 0; [2721] = 0; [2722] = 0; [2723] = 0; [2724] = 0; [2725] = 0; [2726] = 0; [2727] = 0; [2728] = 0; [2729] = 0; [2730] = 0; [2731] = 0; [2732] = 0; [2733] = 0; [2734] = 0; [2735] = 0; [2736] = 0; [2737] = 0; [2738] = 0; [2739] = 0; [2740] = 0; [2741] = 0; [2742] = 0; [2743] = 0; [2744] = 0; [2745] = 0; [2746] = 0; [2747] = 0; [2748] = 0; [2749] = 0; [2750] = 0; [2751] = 0; [2752] = 0; [2753] = 0; [2754] = 0; [2755] = 0; [2756] = 0; [2757] = 0; [2758] = 0; [2759] = 0; [2760] = 0; [2761] = 0; [2762] = 0; [2763] = 0; [2764] = 0; [2765] = 0; [2766] = 0; [2767] = 0; [2768] = 0; [2769] = 0; [2770] = 0; [2771] = 0; [2772] = 0; [2773] = 0; [2774] = 0; [2775] = 0; [2776] = 0; [2777] = 0; [2778] = 0; [2779] = 0; [2780] = 0; [2781] = 0; [2782] = 0; [2783] = 0; [2784] = 0; [2785] = 0; [2786] = 0; [2787] = 0; [2788] = 0; [2789] = 0; [2790] = 0; [2791] = 0; [2792] = 0; [2793] = 0; [2794] = 0; [2795] = 0; [2796] = 0; [2797] = 0; [2798] = 0; [2799] = 0; [2800] = 0; [2801] = 0; [2802] = 0; [2803] = 0; [2804] = 0; [2805] = 0; [2806] = 0; [2807] = 0; [2808] = 0; [2809] = 0; [2810] = 0; [2811] = 0; [2812] = 0; [2813] = 0; [2814] = 0; [2815] = 0; [2816] = 0; [2817] = 0; [2818] = 0; [2819] = 0; [2820] = 0; [2821] = 0; [2822] = 0; [2823] = 0; [2824] = 0; [2825] = 0; [2826] = 0; [2827] = 0; [2828] = 0; [2829] = 0; [2830] = 0; [2831] = 0; [2832] = 0; [2833] = 0; [2834] = 0; [2835] = 0; [2836] = 0; [2837] = 0; [2838] = 0; [2839] = 0; [2840] = 0; [2841] = 0; [2842] = 0; [2843] = 0; [2844] = 0; [2845] = 0; [2846] = 0; [2847] = 0; [2848] = 0; [2849] = 0; [2850] = 0; [2851] = 0; [2852] = 0; [2853] = 0; [2854] = 0; [2855] = 0; [2856] = 0; [2857] = 0; [2858] = 0; [2859] = 0; [2860] = 0; [2861] = 0; [2862] = 0; [2863] = 0; [2864] = 0; [2865] = 0; [2866] = 0; [2867] = 0; [2868] = 0; [2869] = 0; [2870] = 0; [2871] = 0; [2872] = 0; [2873] = 0; [2874] = 0; [2875] = 0; [2876] = 0; [2877] = 0; [2878] = 0; [2879] = 0; [2880] = 0; [2881] = 0; [2882] = 0; [2883] = 0; [2884] = 0; [2885] = 0; [2886] = 0; [2887] = 0; [2888] = 0; [2889] = 0; [2890] = 0; [2891] = 0; [2892] = 0; [2893] = 0; [2894] = 0; [2895] = 0; [2896] = 0; [2897] = 0; [2898] = 0; [2899] = 0; [2900] = 0; [2901] = 0; [2902] = 0; [2903] = 0; [2904] = 0; [2905] = 0; [2906] = 0; [2907] = 0; [2908] = 0; [2909] = 0; [2910] = 0; [2911] = 0; [2912] = 0; [2913] = 0; [2914] = 0; [2915] = 0; [2916] = 0; [2917] = 0; [2918] = 0; [2919] = 0; [2920] = 0; [2921] = 0; [2922] = 0; [2923] = 0; [2924] = 0; [2925] = 0; [2926] = 0; [2927] = 0; [2928] = 0; [2929] = 0; [2930] = 0; [2931] = 0; [2932] = 0; [2933] = 0; [2934] = 0; [2935] = 0; [2936] = 0; [2937] = 0; [2938] = 0; [2939] = 0; [2940] = 0; [2941] = 0; [2942] = 0; [2943] = 0; [2944] = 0; [2945] = 0; [2946] = 0; [2947] = 0; [2948] = 0; [2949] = 0; [2950] = 0; [2951] = 0; [2952] = 0; [2953] = 0; [2954] = 0; [2955] = 0; [2956] = 0; [2957] = 0; [2958] = 0; [2959] = 0; [2960] = 0; [2961] = 0; [2962] = 0; [2963] = 0; [2964] = 0; [2965] = 0; [2966] = 0; [2967] = 0; [2968] = 0; [2969] = 0; [2970] = 0; [2971] = 0; [2972] = 0; [2973] = 0; [2974] = 0; [2975] = 0; [2976] = 0; [2977] = 0; [2978] = 0; [2979] = 0; [2980] = 0; [2981] = 0; [2982] = 0; [2983] = 0; [2984] = 0; [2985] = 0; [2986] = 0; [2987] = 0; [2988] = 0; [2989] = 0; [2990] = 0; [2991] = 0; [2992] = 0; [2993] = 0; [2994] = 0; [2995] = 0; [2996] = 0; [2997] = 0; [2998] = 0; [2999] = 0; [3000] = 0; [3001] = 0; [3002] = 0; [3003] = 0; [3004] = 0; [3005] = 0; [3006] = 0; [3007] = 0; [3008] = 0; [3009] = 0; [3010] = 0; [3011] = 0; [3012] = 0; [3013] = 0; [3014] = 0; [3015] = 0; [3016] = 0; [3017] = 0; [3018] = 0; [3019] = 0; [3020] = 0; [3021] = 0; [3022] = 0; [3023] = 0; [3024] = 0; [3025] = 0; [3026] = 0; [3027] = 0; [3028] = 0; [3029] = 0; [3030] = 0; [3031] = 0; [3032] = 0; [3033] = 0; [3034] = 0; [3035] = 0; [3036] = 0; [3037] = 0; [3038] = 0; [3039] = 0; [3040] = 0; [3041] = 0; [3042] = 0; [3043] = 0; [3044] = 0; [3045] = 0; [3046] = 0; [3047] = 0; [3048] = 0; [3049] = 0; [3050] = 0; [3051] = 0; [3052] = 0; [3053] = 0; [3054] = 0; [3055] = 0; [3056] = 0; [3057] = 0; [3058] = 0; [3059] = 0; [3060] = 0; [3061] = 0; [3062] = 0; [3063] = 0; [3064] = 0; [3065] = 0; [3066] = 0; [3067] = 0; [3068] = 0; [3069] = 0; [3070] = 0; [3071] = 0; [3072] = 0; [3073] = 0; [3074] = 0; [3075] = 0; [3076] = 0; [3077] = 0; [3078] = 0; [3079] = 0; [3080] = 0; [3081] = 0; [3082] = 0; [3083] = 0; [3084] = 0; [3085] = 0; [3086] = 0; [3087] = 0; [3088] = 0; [3089] = 0; [3090] = 0; [3091] = 0; [3092] = 0; [3093] = 0; [3094] = 0; [3095] = 0; [3096] = 0; [3097] = 0; [3098] = 0; [3099] = 0; [3100] = 0; [3101] = 0; [3102] = 0; [3103] = 0; [3104] = 0; [3105] = 0; [3106] = 0; [3107] = 0; [3108] = 0; [3109] = 0; [3110] = 0; [3111] = 0; [3112] = 0; [3113] = 0; [3114] = 0; [3115] = 0; [3116] = 0; [3117] = 0; [3118] = 0; [3119] = 0; [3120] = 0; [3121] = 0; [3122] = 0; [3123] = 0; [3124] = 0; [3125] = 0; [3126] = 0; [3127] = 0; [3128] = 0; [3129] = 0; [3130] = 0; [3131] = 0; [3132] = 0; [3133] = 0; [3134] = 0; [3135] = 0; [3136] = 0; [3137] = 0; [3138] = 0; [3139] = 0; [3140] = 0; [3141] = 0; [3142] = 0; [3143] = 0; [3144] = 0; [3145] = 0; [3146] = 0; [3147] = 0; [3148] = 0; [3149] = 0; [3150] = 0; [3151] = 0; [3152] = 0; [3153] = 0; [3154] = 0; [3155] = 0; [3156] = 0; [3157] = 0; [3158] = 0; [3159] = 0; [3160] = 0; [3161] = 0; [3162] = 0; [3163] = 0; [3164] = 0; [3165] = 0; [3166] = 0; [3167] = 0; [3168] = 0; [3169] = 0; [3170] = 0; [3171] = 0; [3172] = 0; [3173] = 0; [3174] = 0; [3175] = 0; [3176] = 0; [3177] = 0; [3178] = 0; [3179] = 0; [3180] = 0; [3181] = 0; [3182] = 0; [3183] = 0; [3184] = 0; [3185] = 0; [3186] = 0; [3187] = 0; [3188] = 0; [3189] = 0; [3190] = 0; [3191] = 0; [3192] = 0; [3193] = 0; [3194] = 0; [3195] = 0; [3196] = 0; [3197] = 0; [3198] = 0; [3199] = 0; [3200] = 0; [3201] = 0; [3202] = 0; [3203] = 0; [3204] = 0; [3205] = 0; [3206] = 0; [3207] = 0; [3208] = 0; [3209] = 0; [3210] = 0; [3211] = 0; [3212] = 0; [3213] = 0; [3214] = 0; [3215] = 0; [3216] = 0; [3217] = 0; [3218] = 0; [3219] = 0; [3220] = 0; [3221] = 0; [3222] = 0; [3223] = 0; [3224] = 0; [3225] = 0; [3226] = 0; [3227] = 0; [3228] = 0; [3229] = 0; [3230] = 0; [3231] = 0; [3232] = 0; [3233] = 0; [3234] = 0; [3235] = 0; [3236] = 0; [3237] = 0; [3238] = 0; [3239] = 0; [3240] = 0; [3241] = 0; [3242] = 0; [3243] = 0; [3244] = 0; [3245] = 0; [3246] = 0; [3247] = 0; [3248] = 0; [3249] = 0; [3250] = 0; [3251] = 0; [3252] = 0; [3253] = 0; [3254] = 0; [3255] = 0; [3256] = 0; [3257] = 0; [3258] = 0; [3259] = 0; [3260] = 0; [3261] = 0; [3262] = 0; [3263] = 0; [3264] = 0; [3265] = 0; [3266] = 0; [3267] = 0; [3268] = 0; [3269] = 0; [3270] = 0; [3271] = 0; [3272] = 0; [3273] = 0; [3274] = 0; [3275] = 0; [3276] = 0; [3277] = 0; [3278] = 0; [3279] = 0; [3280] = 0; [3281] = 0; [3282] = 0; [3283] = 0; [3284] = 0; [3285] = 0; [3286] = 0; [3287] = 0; [3288] = 0; [3289] = 0; [3290] = 0; [3291] = 0; [3292] = 0; [3293] = 0; [3294] = 0; [3295] = 0; [3296] = 0; [3297] = 0; [3298] = 0; [3299] = 0; [3300] = 0; [3301] = 0; [3302] = 0; [3303] = 0; [3304] = 0; [3305] = 0; [3306] = 0; [3307] = 0; [3308] = 0; [3309] = 0; [3310] = 0; [3311] = 0; [3312] = 0; [3313] = 0; [3314] = 0; [3315] = 0; [3316] = 0; [3317] = 0; [3318] = 0; [3319] = 0; [3320] = 0; [3321] = 0; [3322] = 0; [3323] = 0; [3324] = 0; [3325] = 0; [3326] = 0; [3327] = 0; [3328] = 0; [3329] = 0; [3330] = 0; [3331] = 0; [3332] = 0; [3333] = 0; [3334] = 0; [3335] = 0; [3336] = 0; [3337] = 0; [3338] = 0; [3339] = 0; [3340] = 0; [3341] = 0; [3342] = 0; [3343] = 0; [3344] = 0; [3345] = 0; [3346] = 0; [3347] = 0; [3348] = 0; [3349] = 0; [3350] = 0; [3351] = 0; [3352] = 0; [3353] = 0; [3354] = 0; [3355] = 0; [3356] = 0; [3357] = 0; [3358] = 0; [3359] = 0; [3360] = 0; [3361] = 0; [3362] = 0; [3363] = 0; [3364] = 0; [3365] = 0; [3366] = 0; [3367] = 0; [3368] = 0; [3369] = 0; [3370] = 0; [3371] = 0; [3372] = 0; [3373] = 0; [3374] = 0; [3375] = 0; [3376] = 0; [3377] = 0; [3378] = 0; [3379] = 0; [3380] = 0; [3381] = 0; [3382] = 0; [3383] = 0; [3384] = 0; [3385] = 0; [3386] = 0; [3387] = 0; [3388] = 0; [3389] = 0; [3390] = 0; [3391] = 0; [3392] = 0; [3393] = 0; [3394] = 0; [3395] = 0; [3396] = 0; [3397] = 0; [3398] = 0; [3399] = 0; [3400] = 0; [3401] = 0; [3402] = 0; [3403] = 0; [3404] = 0; [3405] = 0; [3406] = 0; [3407] = 0; [3408] = 0; [3409] = 0; [3410] = 0; [3411] = 0; [3412] = 0; [3413] = 0; [3414] = 0; [3415] = 0; [3416] = 0; [3417] = 0; [3418] = 0; [3419] = 0; [3420] = 0; [3421] = 0; [3422] = 0; [3423] = 0; [3424] = 0; [3425] = 0; [3426] = 0; [3427] = 0; [3428] = 0; [3429] = 0; [3430] = 0; [3431] = 0; [3432] = 0; [3433] = 0; [3434] = 0; [3435] = 0; [3436] = 0; [3437] = 0; [3438] = 0; [3439] = 0; [3440] = 0; [3441] = 0; [3442] = 0; [3443] = 0; [3444] = 0; [3445] = 0; [3446] = 0; [3447] = 0; [3448] = 0; [3449] = 0; [3450] = 0; [3451] = 0; [3452] = 0; [3453] = 0; [3454] = 0; [3455] = 0; [3456] = 0; [3457] = 0; [3458] = 0; [3459] = 0; [3460] = 0; [3461] = 0; [3462] = 0; [3463] = 0; [3464] = 0; [3465] = 0; [3466] = 0; [3467] = 0; [3468] = 0; [3469] = 0; [3470] = 0; [3471] = 0; [3472] = 0; [3473] = 0; [3474] = 0; [3475] = 0; [3476] = 0; [3477] = 0; [3478] = 0; [3479] = 0; [3480] = 0; [3481] = 0; [3482] = 0; [3483] = 0; [3484] = 0; [3485] = 0; [3486] = 0; [3487] = 0; [3488] = 0; [3489] = 0; [3490] = 0; [3491] = 0; [3492] = 0; [3493] = 0; [3494] = 0; [3495] = 0; [3496] = 0; [3497] = 0; [3498] = 0; [3499] = 0; [3500] = 0; [3501] = 0; [3502] = 0; [3503] = 0; [3504] = 0; [3505] = 0; [3506] = 0; [3507] = 0; [3508] = 0; [3509] = 0; [3510] = 0; [3511] = 0; [3512] = 0; [3513] = 0; [3514] = 0; [3515] = 0; [3516] = 0; [3517] = 0; [3518] = 0; [3519] = 0; [3520] = 0; [3521] = 0; [3522] = 0; [3523] = 0; [3524] = 0; [3525] = 0; [3526] = 0; [3527] = 0; [3528] = 0; [3529] = 0; [3530] = 0; [3531] = 0; [3532] = 0; [3533] = 0; [3534] = 0; [3535] = 0; [3536] = 0; [3537] = 0; [3538] = 0; [3539] = 0; [3540] = 0; [3541] = 0; [3542] = 0; [3543] = 0; [3544] = 0; [3545] = 0; [3546] = 0; [3547] = 0; [3548] = 0; [3549] = 0; [3550] = 0; [3551] = 0; [3552] = 0; [3553] = 0; [3554] = 0; [3555] = 0; [3556] = 0; [3557] = 0; [3558] = 0; [3559] = 0; [3560] = 0; [3561] = 0; [3562] = 0; [3563] = 0; [3564] = 0; [3565] = 0; [3566] = 0; [3567] = 0; [3568] = 0; [3569] = 0; [3570] = 0; [3571] = 0; [3572] = 0; [3573] = 0; [3574] = 0; [3575] = 0; [3576] = 0; [3577] = 0; [3578] = 0; [3579] = 0; [3580] = 0; [3581] = 0; [3582] = 0; [3583] = 0; [3584] = 0; [3585] = 0; [3586] = 0; [3587] = 0; [3588] = 0; [3589] = 0; [3590] = 0; [3591] = 0; [3592] = 0; [3593] = 0; [3594] = 0; [3595] = 0; [3596] = 0; [3597] = 0; [3598] = 0; [3599] = 0; [3600] = 0; [3601] = 0; [3602] = 0; [3603] = 0; [3604] = 0; [3605] = 0; [3606] = 0; [3607] = 0; [3608] = 0; [3609] = 0; [3610] = 0; [3611] = 0; [3612] = 0; [3613] = 0; [3614] = 0; [3615] = 0; [3616] = 0; [3617] = 0; [3618] = 0; [3619] = 0; [3620] = 0; [3621] = 0; [3622] = 0; [3623] = 0; [3624] = 0; [3625] = 0; [3626] = 0; [3627] = 0; [3628] = 0; [3629] = 0; [3630] = 0; [3631] = 0; [3632] = 0; [3633] = 0; [3634] = 0; [3635] = 0; [3636] = 0; [3637] = 0; [3638] = 0; [3639] = 0; [3640] = 0; [3641] = 0; [3642] = 0; [3643] = 0; [3644] = 0; [3645] = 0; [3646] = 0; [3647] = 0; [3648] = 0; [3649] = 0; [3650] = 0; [3651] = 0; [3652] = 0; [3653] = 0; [3654] = 0; [3655] = 0; [3656] = 0; [3657] = 0; [3658] = 0; [3659] = 0; [3660] = 0; [3661] = 0; [3662] = 0; [3663] = 0; [3664] = 0; [3665] = 0; [3666] = 0; [3667] = 0; [3668] = 0; [3669] = 0; [3670] = 0; [3671] = 0; [3672] = 0; [3673] = 0; [3674] = 0; [3675] = 0; [3676] = 0; [3677] = 0; [3678] = 0; [3679] = 0; [3680] = 0; [3681] = 0; [3682] = 0; [3683] = 0; [3684] = 0; [3685] = 0; [3686] = 0; [3687] = 0; [3688] = 0; [3689] = 0; [3690] = 0; [3691] = 0; [3692] = 0; [3693] = 0; [3694] = 0; [3695] = 0; [3696] = 0; [3697] = 0; [3698] = 0; [3699] = 0; [3700] = 0; [3701] = 0; [3702] = 0; [3703] = 0; [3704] = 0; [3705] = 0; [3706] = 0; [3707] = 0; [3708] = 0; [3709] = 0; [3710] = 0; [3711] = 0; [3712] = 0; [3713] = 0; [3714] = 0; [3715] = 0; [3716] = 0; [3717] = 0; [3718] = 0; [3719] = 0; [3720] = 0; [3721] = 0; [3722] = 0; [3723] = 0; [3724] = 0; [3725] = 0; [3726] = 0; [3727] = 0; [3728] = 0; [3729] = 0; [3730] = 0; [3731] = 0; [3732] = 0; [3733] = 0; [3734] = 0; [3735] = 0; [3736] = 0; [3737] = 0; [3738] = 0; [3739] = 0; [3740] = 0; [3741] = 0; [3742] = 0; [3743] = 0; [3744] = 0; [3745] = 0; [3746] = 0; [3747] = 0; [3748] = 0; [3749] = 0; [3750] = 0; [3751] = 0; [3752] = 0; [3753] = 0; [3754] = 0; [3755] = 0; [3756] = 0; [3757] = 0; [3758] = 0; [3759] = 0; [3760] = 0; [3761] = 0; [3762] = 0; [3763] = 0; [3764] = 0; [3765] = 0; [3766] = 0; [3767] = 0; [3768] = 0; [3769] = 0; [3770] = 0; [3771] = 0; [3772] = 0; [3773] = 0; [3774] = 0; [3775] = 0; [3776] = 0; [3777] = 0; [3778] = 0; [3779] = 0; [3780] = 0; [3781] = 0; [3782] = 0; [3783] = 0; [3784] = 0; [3785] = 0; [3786] = 0; [3787] = 0; [3788] = 0; [3789] = 0; [3790] = 0; [3791] = 0; [3792] = 0; [3793] = 0; [3794] = 0; [3795] = 0; [3796] = 0; [3797] = 0; [3798] = 0; [3799] = 0; [3800] = 0; [3801] = 0; [3802] = 0; [3803] = 0; [3804] = 0; [3805] = 0; [3806] = 0; [3807] = 0; [3808] = 0; [3809] = 0; [3810] = 0; [3811] = 0; [3812] = 0; [3813] = 0; [3814] = 0; [3815] = 0; [3816] = 0; [3817] = 0; [3818] = 0; [3819] = 0; [3820] = 0; [3821] = 0; [3822] = 0; [3823] = 0; [3824] = 0; [3825] = 0; [3826] = 0; [3827] = 0; [3828] = 0; [3829] = 0; [3830] = 0; [3831] = 0; [3832] = 0; [3833] = 0; [3834] = 0; [3835] = 0; [3836] = 0; [3837] = 0; [3838] = 0; [3839] = 0; [3840] = 0; [3841] = 0; [3842] = 0; [3843] = 0; [3844] = 0; [3845] = 0; [3846] = 0; [3847] = 0; [3848] = 0; [3849] = 0; [3850] = 0; [3851] = 0; [3852] = 0; [3853] = 0; [3854] = 0; [3855] = 0; [3856] = 0; [3857] = 0; [3858] = 0; [3859] = 0; [3860] = 0; [3861] = 0; [3862] = 0; [3863] = 0; [3864] = 0; [3865] = 0; [3866] = 0; [3867] = 0; [3868] = 0; [3869] = 0; [3870] = 0; [3871] = 0; [3872] = 0; [3873] = 0; [3874] = 0; [3875] = 0; [3876] = 0; [3877] = 0; [3878] = 0; [3879] = 0; [3880] = 0; [3881] = 0; [3882] = 0; [3883] = 0; [3884] = 0; [3885] = 0; [3886] = 0; [3887] = 0; [3888] = 0; [3889] = 0; [3890] = 0; [3891] = 0; [3892] = 0; [3893] = 0; [3894] = 0; [3895] = 0; [3896] = 0; [3897] = 0; [3898] = 0; [3899] = 0; [3900] = 0; [3901] = 0; [3902] = 0; [3903] = 0; [3904] = 0; [3905] = 0; [3906] = 0; [3907] = 0; [3908] = 0; [3909] = 0; [3910] = 0; [3911] = 0; [3912] = 0; [3913] = 0; [3914] = 0; [3915] = 0; [3916] = 0; [3917] = 0; [3918] = 0; [3919] = 0; [3920] = 0; [3921] = 0; [3922] = 0; [3923] = 0; [3924] = 0; [3925] = 0; [3926] = 0; [3927] = 0; [3928] = 0; [3929] = 0; [3930] = 0; [3931] = 0; [3932] = 0; [3933] = 0; [3934] = 0; [3935] = 0; [3936] = 0; [3937] = 0; [3938] = 0; [3939] = 0; [3940] = 0; [3941] = 0; [3942] = 0; [3943] = 0; [3944] = 0; [3945] = 0; [3946] = 0; [3947] = 0; [3948] = 0; [3949] = 0; [3950] = 0; [3951] = 0; [3952] = 0; [3953] = 0; [3954] = 0; [3955] = 0; [3956] = 0; [3957] = 0; [3958] = 0; [3959] = 0; [3960] = 0; [3961] = 0; [3962] = 0; [3963] = 0; [3964] = 0; [3965] = 0; [3966] = 0; [3967] = 0; [3968] = 0; [3969] = 0; [3970] = 0; [3971] = 0; [3972] = 0; [3973] = 0; [3974] = 0; [3975] = 0; [3976] = 0; [3977] = 0; [3978] = 0; [3979] = 0; [3980] = 0; [3981] = 0; [3982] = 0; [3983] = 0; [3984] = 0; [3985] = 0; [3986] = 0; [3987] = 0; [3988] = 0; [3989] = 0; [3990] = 0; [3991] = 0; [3992] = 0; [3993] = 0; [3994] = 0; [3995] = 0; [3996] = 0; [3997] = 0; [3998] = 0; [3999] = 0; [4000] = 0; [4001] = 0; [4002] = 0; [4003] = 0; [4004] = 0; [4005] = 0; [4006] = 0; [4007] = 0; [4008] = 0; [4009] = 0; [4010] = 0; [4011] = 0; [4012] = 0; [4013] = 0; [4014] = 0; [4015] = 0; [4016] = 0; [4017] = 0; [4018] = 0; [4019] = 0; [4020] = 0; [4021] = 0; [4022] = 0; [4023] = 0; [4024] = 0; [4025] = 0; [4026] = 0; [4027] = 0; [4028] = 0; [4029] = 0; [4030] = 0; [4031] = 0; [4032] = 0; [4033] = 0; [4034] = 0; [4035] = 0; [4036] = 0; [4037] = 0; [4038] = 0; [4039] = 0; [4040] = 0; [4041] = 0; [4042] = 0; [4043] = 0; [4044] = 0; [4045] = 0; [4046] = 0; [4047] = 0; [4048] = 0; [4049] = 0; [4050] = 0; [4051] = 0; [4052] = 0; [4053] = 0; [4054] = 0; [4055] = 0; [4056] = 0; [4057] = 0; [4058] = 0; [4059] = 0; [4060] = 0; [4061] = 0; [4062] = 0; [4063] = 0; [4064] = 0; [4065] = 0; [4066] = 0; [4067] = 0; [4068] = 0; [4069] = 0; [4070] = 0; [4071] = 0; [4072] = 0; [4073] = 0; [4074] = 0; [4075] = 0; [4076] = 0; [4077] = 0; [4078] = 0; [4079] = 0; [4080] = 0; [4081] = 0; [4082] = 0; [4083] = 0; [4084] = 0; [4085] = 0; [4086] = 0; [4087] = 0; [4088] = 0; [4089] = 0; [4090] = 0; [4091] = 0; [4092] = 0; [4093] = 0; [4094] = 0; [4095] = 0; [4096] = 0; }; ["offsetx"] = 0; ["type"] = "tilelayer"; ["width"] = 64; ["name"] = "TileLayer 1"; ["opacity"] = 1; }; [4] = { ["x"] = 0; ["encoding"] = "lua"; ["visible"] = true; ["offsety"] = 0; ["properties"] = { ["depth"] = 9001; }; ["y"] = 0; ["height"] = 64; ["data"] = { [1] = 0; [2] = 0; [3] = 0; [4] = 0; [5] = 0; [6] = 0; [7] = 0; [8] = 0; [9] = 0; [10] = 0; [11] = 0; [12] = 0; [13] = 0; [14] = 0; [15] = 0; [16] = 0; [17] = 0; [18] = 0; [19] = 0; [20] = 0; [21] = 0; [22] = 0; [23] = 0; [24] = 0; [25] = 0; [26] = 0; [27] = 0; [28] = 0; [29] = 0; [30] = 0; [31] = 0; [32] = 0; [33] = 0; [34] = 0; [35] = 0; [36] = 0; [37] = 0; [38] = 0; [39] = 0; [40] = 0; [41] = 0; [42] = 0; [43] = 0; [44] = 0; [45] = 0; [46] = 0; [47] = 0; [48] = 0; [49] = 0; [50] = 0; [51] = 0; [52] = 0; [53] = 0; [54] = 0; [55] = 0; [56] = 0; [57] = 0; [58] = 0; [59] = 0; [60] = 0; [61] = 0; [62] = 0; [63] = 0; [64] = 0; [65] = 0; [66] = 0; [67] = 0; [68] = 0; [69] = 0; [70] = 0; [71] = 0; [72] = 0; [73] = 0; [74] = 0; [75] = 0; [76] = 0; [77] = 0; [78] = 0; [79] = 0; [80] = 0; [81] = 0; [82] = 0; [83] = 0; [84] = 0; [85] = 0; [86] = 0; [87] = 0; [88] = 0; [89] = 0; [90] = 0; [91] = 0; [92] = 0; [93] = 0; [94] = 0; [95] = 0; [96] = 0; [97] = 0; [98] = 0; [99] = 0; [100] = 0; [101] = 0; [102] = 0; [103] = 0; [104] = 0; [105] = 0; [106] = 0; [107] = 0; [108] = 0; [109] = 0; [110] = 0; [111] = 0; [112] = 0; [113] = 0; [114] = 0; [115] = 0; [116] = 0; [117] = 0; [118] = 0; [119] = 0; [120] = 0; [121] = 0; [122] = 0; [123] = 0; [124] = 0; [125] = 0; [126] = 0; [127] = 0; [128] = 0; [129] = 0; [130] = 0; [131] = 0; [132] = 0; [133] = 0; [134] = 0; [135] = 0; [136] = 0; [137] = 0; [138] = 0; [139] = 0; [140] = 0; [141] = 0; [142] = 0; [143] = 0; [144] = 0; [145] = 0; [146] = 0; [147] = 0; [148] = 0; [149] = 0; [150] = 0; [151] = 0; [152] = 0; [153] = 0; [154] = 0; [155] = 0; [156] = 0; [157] = 0; [158] = 0; [159] = 0; [160] = 0; [161] = 0; [162] = 0; [163] = 0; [164] = 0; [165] = 0; [166] = 0; [167] = 0; [168] = 0; [169] = 0; [170] = 0; [171] = 0; [172] = 0; [173] = 0; [174] = 0; [175] = 0; [176] = 0; [177] = 0; [178] = 0; [179] = 0; [180] = 0; [181] = 0; [182] = 0; [183] = 0; [184] = 0; [185] = 0; [186] = 0; [187] = 0; [188] = 0; [189] = 0; [190] = 0; [191] = 0; [192] = 0; [193] = 0; [194] = 0; [195] = 0; [196] = 0; [197] = 0; [198] = 0; [199] = 0; [200] = 0; [201] = 0; [202] = 0; [203] = 0; [204] = 0; [205] = 0; [206] = 0; [207] = 0; [208] = 0; [209] = 0; [210] = 0; [211] = 0; [212] = 0; [213] = 0; [214] = 0; [215] = 0; [216] = 0; [217] = 0; [218] = 0; [219] = 0; [220] = 0; [221] = 0; [222] = 0; [223] = 0; [224] = 0; [225] = 0; [226] = 0; [227] = 0; [228] = 0; [229] = 0; [230] = 0; [231] = 0; [232] = 0; [233] = 0; [234] = 0; [235] = 0; [236] = 0; [237] = 0; [238] = 0; [239] = 0; [240] = 0; [241] = 0; [242] = 0; [243] = 0; [244] = 0; [245] = 0; [246] = 0; [247] = 0; [248] = 0; [249] = 0; [250] = 0; [251] = 0; [252] = 0; [253] = 0; [254] = 0; [255] = 0; [256] = 0; [257] = 0; [258] = 0; [259] = 0; [260] = 0; [261] = 0; [262] = 0; [263] = 0; [264] = 0; [265] = 0; [266] = 0; [267] = 0; [268] = 0; [269] = 0; [270] = 0; [271] = 0; [272] = 0; [273] = 0; [274] = 0; [275] = 0; [276] = 0; [277] = 0; [278] = 0; [279] = 0; [280] = 0; [281] = 0; [282] = 0; [283] = 0; [284] = 0; [285] = 0; [286] = 0; [287] = 0; [288] = 0; [289] = 0; [290] = 0; [291] = 0; [292] = 0; [293] = 0; [294] = 0; [295] = 0; [296] = 0; [297] = 0; [298] = 0; [299] = 0; [300] = 0; [301] = 0; [302] = 0; [303] = 0; [304] = 0; [305] = 0; [306] = 0; [307] = 0; [308] = 0; [309] = 0; [310] = 0; [311] = 0; [312] = 0; [313] = 0; [314] = 0; [315] = 0; [316] = 0; [317] = 0; [318] = 0; [319] = 0; [320] = 0; [321] = 0; [322] = 0; [323] = 0; [324] = 0; [325] = 0; [326] = 0; [327] = 0; [328] = 0; [329] = 0; [330] = 0; [331] = 0; [332] = 0; [333] = 0; [334] = 0; [335] = 0; [336] = 0; [337] = 0; [338] = 0; [339] = 0; [340] = 0; [341] = 0; [342] = 0; [343] = 0; [344] = 0; [345] = 0; [346] = 0; [347] = 0; [348] = 0; [349] = 0; [350] = 0; [351] = 0; [352] = 0; [353] = 0; [354] = 0; [355] = 0; [356] = 0; [357] = 0; [358] = 0; [359] = 0; [360] = 0; [361] = 0; [362] = 0; [363] = 0; [364] = 0; [365] = 0; [366] = 0; [367] = 0; [368] = 0; [369] = 0; [370] = 0; [371] = 0; [372] = 0; [373] = 0; [374] = 0; [375] = 0; [376] = 0; [377] = 0; [378] = 0; [379] = 0; [380] = 0; [381] = 0; [382] = 0; [383] = 0; [384] = 0; [385] = 0; [386] = 0; [387] = 0; [388] = 0; [389] = 0; [390] = 0; [391] = 0; [392] = 0; [393] = 0; [394] = 0; [395] = 0; [396] = 0; [397] = 0; [398] = 0; [399] = 0; [400] = 0; [401] = 0; [402] = 0; [403] = 0; [404] = 0; [405] = 0; [406] = 0; [407] = 0; [408] = 0; [409] = 0; [410] = 0; [411] = 0; [412] = 0; [413] = 0; [414] = 0; [415] = 0; [416] = 0; [417] = 0; [418] = 0; [419] = 0; [420] = 0; [421] = 0; [422] = 0; [423] = 0; [424] = 0; [425] = 0; [426] = 0; [427] = 0; [428] = 0; [429] = 0; [430] = 0; [431] = 0; [432] = 0; [433] = 0; [434] = 0; [435] = 0; [436] = 0; [437] = 0; [438] = 0; [439] = 0; [440] = 0; [441] = 0; [442] = 0; [443] = 0; [444] = 0; [445] = 0; [446] = 0; [447] = 0; [448] = 0; [449] = 0; [450] = 0; [451] = 0; [452] = 0; [453] = 0; [454] = 0; [455] = 0; [456] = 0; [457] = 0; [458] = 0; [459] = 0; [460] = 0; [461] = 0; [462] = 0; [463] = 0; [464] = 0; [465] = 0; [466] = 0; [467] = 0; [468] = 0; [469] = 0; [470] = 0; [471] = 0; [472] = 0; [473] = 0; [474] = 0; [475] = 0; [476] = 0; [477] = 0; [478] = 0; [479] = 0; [480] = 0; [481] = 0; [482] = 0; [483] = 0; [484] = 0; [485] = 0; [486] = 0; [487] = 0; [488] = 0; [489] = 0; [490] = 0; [491] = 0; [492] = 0; [493] = 0; [494] = 0; [495] = 0; [496] = 0; [497] = 0; [498] = 0; [499] = 0; [500] = 0; [501] = 0; [502] = 0; [503] = 0; [504] = 0; [505] = 0; [506] = 0; [507] = 0; [508] = 0; [509] = 0; [510] = 0; [511] = 0; [512] = 0; [513] = 0; [514] = 0; [515] = 0; [516] = 0; [517] = 0; [518] = 0; [519] = 0; [520] = 0; [521] = 0; [522] = 0; [523] = 0; [524] = 0; [525] = 0; [526] = 0; [527] = 0; [528] = 0; [529] = 0; [530] = 0; [531] = 0; [532] = 0; [533] = 0; [534] = 0; [535] = 0; [536] = 0; [537] = 0; [538] = 0; [539] = 0; [540] = 0; [541] = 0; [542] = 0; [543] = 0; [544] = 0; [545] = 0; [546] = 0; [547] = 0; [548] = 0; [549] = 0; [550] = 0; [551] = 0; [552] = 0; [553] = 0; [554] = 0; [555] = 0; [556] = 0; [557] = 0; [558] = 0; [559] = 0; [560] = 0; [561] = 0; [562] = 0; [563] = 0; [564] = 0; [565] = 0; [566] = 0; [567] = 0; [568] = 0; [569] = 0; [570] = 0; [571] = 0; [572] = 0; [573] = 0; [574] = 0; [575] = 0; [576] = 0; [577] = 0; [578] = 0; [579] = 0; [580] = 0; [581] = 0; [582] = 0; [583] = 0; [584] = 0; [585] = 0; [586] = 0; [587] = 0; [588] = 0; [589] = 0; [590] = 0; [591] = 0; [592] = 0; [593] = 0; [594] = 0; [595] = 0; [596] = 0; [597] = 0; [598] = 0; [599] = 0; [600] = 0; [601] = 0; [602] = 0; [603] = 0; [604] = 0; [605] = 0; [606] = 0; [607] = 0; [608] = 0; [609] = 0; [610] = 0; [611] = 0; [612] = 0; [613] = 0; [614] = 0; [615] = 0; [616] = 0; [617] = 0; [618] = 0; [619] = 0; [620] = 0; [621] = 0; [622] = 0; [623] = 0; [624] = 0; [625] = 0; [626] = 0; [627] = 0; [628] = 0; [629] = 0; [630] = 0; [631] = 0; [632] = 0; [633] = 0; [634] = 0; [635] = 0; [636] = 0; [637] = 0; [638] = 0; [639] = 0; [640] = 0; [641] = 0; [642] = 0; [643] = 0; [644] = 0; [645] = 0; [646] = 0; [647] = 0; [648] = 0; [649] = 0; [650] = 0; [651] = 0; [652] = 0; [653] = 0; [654] = 0; [655] = 0; [656] = 0; [657] = 0; [658] = 0; [659] = 0; [660] = 0; [661] = 0; [662] = 0; [663] = 0; [664] = 0; [665] = 0; [666] = 0; [667] = 0; [668] = 0; [669] = 0; [670] = 0; [671] = 0; [672] = 0; [673] = 0; [674] = 0; [675] = 0; [676] = 0; [677] = 0; [678] = 0; [679] = 0; [680] = 0; [681] = 0; [682] = 0; [683] = 0; [684] = 0; [685] = 0; [686] = 0; [687] = 0; [688] = 0; [689] = 0; [690] = 0; [691] = 0; [692] = 0; [693] = 0; [694] = 0; [695] = 0; [696] = 0; [697] = 0; [698] = 0; [699] = 0; [700] = 0; [701] = 0; [702] = 0; [703] = 0; [704] = 0; [705] = 0; [706] = 0; [707] = 0; [708] = 0; [709] = 0; [710] = 0; [711] = 0; [712] = 0; [713] = 0; [714] = 0; [715] = 0; [716] = 0; [717] = 0; [718] = 0; [719] = 0; [720] = 0; [721] = 0; [722] = 0; [723] = 0; [724] = 0; [725] = 0; [726] = 0; [727] = 0; [728] = 0; [729] = 0; [730] = 0; [731] = 0; [732] = 0; [733] = 0; [734] = 0; [735] = 0; [736] = 0; [737] = 0; [738] = 0; [739] = 0; [740] = 0; [741] = 0; [742] = 0; [743] = 0; [744] = 0; [745] = 0; [746] = 0; [747] = 0; [748] = 0; [749] = 0; [750] = 0; [751] = 0; [752] = 0; [753] = 0; [754] = 0; [755] = 0; [756] = 0; [757] = 0; [758] = 0; [759] = 0; [760] = 0; [761] = 0; [762] = 0; [763] = 0; [764] = 0; [765] = 0; [766] = 0; [767] = 0; [768] = 0; [769] = 0; [770] = 0; [771] = 0; [772] = 0; [773] = 0; [774] = 0; [775] = 0; [776] = 0; [777] = 0; [778] = 0; [779] = 0; [780] = 0; [781] = 0; [782] = 0; [783] = 0; [784] = 0; [785] = 0; [786] = 0; [787] = 0; [788] = 0; [789] = 0; [790] = 0; [791] = 0; [792] = 0; [793] = 0; [794] = 0; [795] = 0; [796] = 0; [797] = 0; [798] = 0; [799] = 0; [800] = 0; [801] = 0; [802] = 0; [803] = 0; [804] = 0; [805] = 0; [806] = 0; [807] = 0; [808] = 0; [809] = 0; [810] = 0; [811] = 0; [812] = 0; [813] = 0; [814] = 0; [815] = 0; [816] = 0; [817] = 0; [818] = 0; [819] = 0; [820] = 0; [821] = 0; [822] = 0; [823] = 0; [824] = 0; [825] = 0; [826] = 0; [827] = 0; [828] = 0; [829] = 0; [830] = 0; [831] = 0; [832] = 0; [833] = 0; [834] = 0; [835] = 0; [836] = 0; [837] = 0; [838] = 0; [839] = 0; [840] = 0; [841] = 0; [842] = 0; [843] = 0; [844] = 0; [845] = 0; [846] = 0; [847] = 0; [848] = 0; [849] = 0; [850] = 0; [851] = 0; [852] = 0; [853] = 0; [854] = 0; [855] = 0; [856] = 0; [857] = 0; [858] = 0; [859] = 0; [860] = 0; [861] = 0; [862] = 0; [863] = 0; [864] = 0; [865] = 0; [866] = 0; [867] = 0; [868] = 0; [869] = 0; [870] = 0; [871] = 0; [872] = 0; [873] = 0; [874] = 0; [875] = 0; [876] = 0; [877] = 0; [878] = 0; [879] = 0; [880] = 0; [881] = 0; [882] = 0; [883] = 0; [884] = 0; [885] = 0; [886] = 0; [887] = 0; [888] = 0; [889] = 0; [890] = 0; [891] = 0; [892] = 0; [893] = 0; [894] = 0; [895] = 0; [896] = 0; [897] = 0; [898] = 0; [899] = 0; [900] = 0; [901] = 0; [902] = 0; [903] = 0; [904] = 0; [905] = 0; [906] = 0; [907] = 0; [908] = 0; [909] = 0; [910] = 0; [911] = 0; [912] = 0; [913] = 0; [914] = 0; [915] = 0; [916] = 0; [917] = 0; [918] = 0; [919] = 0; [920] = 0; [921] = 0; [922] = 0; [923] = 0; [924] = 0; [925] = 0; [926] = 0; [927] = 0; [928] = 0; [929] = 0; [930] = 0; [931] = 0; [932] = 0; [933] = 0; [934] = 0; [935] = 0; [936] = 0; [937] = 0; [938] = 0; [939] = 0; [940] = 0; [941] = 0; [942] = 0; [943] = 0; [944] = 0; [945] = 0; [946] = 0; [947] = 0; [948] = 0; [949] = 0; [950] = 0; [951] = 0; [952] = 0; [953] = 0; [954] = 0; [955] = 0; [956] = 0; [957] = 0; [958] = 0; [959] = 0; [960] = 0; [961] = 0; [962] = 0; [963] = 0; [964] = 0; [965] = 0; [966] = 0; [967] = 0; [968] = 0; [969] = 0; [970] = 0; [971] = 0; [972] = 0; [973] = 0; [974] = 0; [975] = 0; [976] = 0; [977] = 0; [978] = 0; [979] = 0; [980] = 0; [981] = 0; [982] = 0; [983] = 0; [984] = 0; [985] = 0; [986] = 0; [987] = 0; [988] = 0; [989] = 0; [990] = 0; [991] = 0; [992] = 0; [993] = 0; [994] = 0; [995] = 0; [996] = 0; [997] = 0; [998] = 0; [999] = 0; [1000] = 0; [1001] = 0; [1002] = 0; [1003] = 0; [1004] = 0; [1005] = 0; [1006] = 0; [1007] = 0; [1008] = 0; [1009] = 0; [1010] = 0; [1011] = 0; [1012] = 0; [1013] = 0; [1014] = 0; [1015] = 0; [1016] = 0; [1017] = 0; [1018] = 0; [1019] = 0; [1020] = 0; [1021] = 0; [1022] = 0; [1023] = 0; [1024] = 0; [1025] = 0; [1026] = 0; [1027] = 0; [1028] = 0; [1029] = 0; [1030] = 0; [1031] = 0; [1032] = 0; [1033] = 0; [1034] = 0; [1035] = 0; [1036] = 0; [1037] = 0; [1038] = 0; [1039] = 0; [1040] = 0; [1041] = 0; [1042] = 0; [1043] = 0; [1044] = 0; [1045] = 0; [1046] = 0; [1047] = 0; [1048] = 0; [1049] = 0; [1050] = 0; [1051] = 0; [1052] = 0; [1053] = 0; [1054] = 0; [1055] = 0; [1056] = 0; [1057] = 0; [1058] = 0; [1059] = 0; [1060] = 0; [1061] = 0; [1062] = 0; [1063] = 0; [1064] = 0; [1065] = 0; [1066] = 0; [1067] = 0; [1068] = 0; [1069] = 0; [1070] = 0; [1071] = 0; [1072] = 0; [1073] = 0; [1074] = 0; [1075] = 0; [1076] = 0; [1077] = 0; [1078] = 0; [1079] = 0; [1080] = 0; [1081] = 0; [1082] = 0; [1083] = 0; [1084] = 0; [1085] = 0; [1086] = 0; [1087] = 0; [1088] = 0; [1089] = 0; [1090] = 0; [1091] = 0; [1092] = 0; [1093] = 0; [1094] = 0; [1095] = 0; [1096] = 0; [1097] = 0; [1098] = 0; [1099] = 0; [1100] = 0; [1101] = 0; [1102] = 0; [1103] = 0; [1104] = 0; [1105] = 0; [1106] = 0; [1107] = 0; [1108] = 0; [1109] = 0; [1110] = 0; [1111] = 0; [1112] = 0; [1113] = 0; [1114] = 0; [1115] = 0; [1116] = 0; [1117] = 0; [1118] = 0; [1119] = 0; [1120] = 0; [1121] = 0; [1122] = 0; [1123] = 0; [1124] = 0; [1125] = 0; [1126] = 0; [1127] = 0; [1128] = 0; [1129] = 0; [1130] = 0; [1131] = 0; [1132] = 0; [1133] = 0; [1134] = 0; [1135] = 0; [1136] = 0; [1137] = 0; [1138] = 0; [1139] = 0; [1140] = 0; [1141] = 0; [1142] = 0; [1143] = 0; [1144] = 0; [1145] = 0; [1146] = 0; [1147] = 0; [1148] = 0; [1149] = 0; [1150] = 0; [1151] = 0; [1152] = 0; [1153] = 0; [1154] = 0; [1155] = 0; [1156] = 0; [1157] = 0; [1158] = 0; [1159] = 0; [1160] = 0; [1161] = 0; [1162] = 0; [1163] = 0; [1164] = 0; [1165] = 0; [1166] = 0; [1167] = 0; [1168] = 0; [1169] = 0; [1170] = 0; [1171] = 0; [1172] = 0; [1173] = 0; [1174] = 0; [1175] = 0; [1176] = 0; [1177] = 0; [1178] = 0; [1179] = 0; [1180] = 0; [1181] = 0; [1182] = 0; [1183] = 0; [1184] = 0; [1185] = 0; [1186] = 0; [1187] = 0; [1188] = 0; [1189] = 0; [1190] = 0; [1191] = 0; [1192] = 0; [1193] = 0; [1194] = 0; [1195] = 0; [1196] = 0; [1197] = 0; [1198] = 0; [1199] = 0; [1200] = 0; [1201] = 0; [1202] = 0; [1203] = 0; [1204] = 0; [1205] = 0; [1206] = 0; [1207] = 0; [1208] = 0; [1209] = 0; [1210] = 0; [1211] = 0; [1212] = 0; [1213] = 0; [1214] = 0; [1215] = 0; [1216] = 0; [1217] = 0; [1218] = 0; [1219] = 0; [1220] = 0; [1221] = 0; [1222] = 0; [1223] = 0; [1224] = 0; [1225] = 0; [1226] = 0; [1227] = 0; [1228] = 0; [1229] = 0; [1230] = 0; [1231] = 0; [1232] = 0; [1233] = 0; [1234] = 0; [1235] = 0; [1236] = 0; [1237] = 0; [1238] = 0; [1239] = 0; [1240] = 0; [1241] = 0; [1242] = 0; [1243] = 0; [1244] = 0; [1245] = 0; [1246] = 0; [1247] = 0; [1248] = 0; [1249] = 0; [1250] = 0; [1251] = 0; [1252] = 0; [1253] = 0; [1254] = 0; [1255] = 0; [1256] = 0; [1257] = 0; [1258] = 0; [1259] = 0; [1260] = 0; [1261] = 0; [1262] = 0; [1263] = 0; [1264] = 0; [1265] = 0; [1266] = 0; [1267] = 0; [1268] = 0; [1269] = 0; [1270] = 0; [1271] = 0; [1272] = 0; [1273] = 0; [1274] = 0; [1275] = 0; [1276] = 0; [1277] = 0; [1278] = 0; [1279] = 0; [1280] = 0; [1281] = 0; [1282] = 0; [1283] = 0; [1284] = 0; [1285] = 0; [1286] = 0; [1287] = 0; [1288] = 0; [1289] = 0; [1290] = 0; [1291] = 0; [1292] = 0; [1293] = 0; [1294] = 0; [1295] = 0; [1296] = 0; [1297] = 0; [1298] = 0; [1299] = 0; [1300] = 0; [1301] = 0; [1302] = 0; [1303] = 0; [1304] = 0; [1305] = 0; [1306] = 0; [1307] = 0; [1308] = 0; [1309] = 0; [1310] = 0; [1311] = 0; [1312] = 0; [1313] = 0; [1314] = 0; [1315] = 0; [1316] = 0; [1317] = 0; [1318] = 0; [1319] = 0; [1320] = 0; [1321] = 0; [1322] = 0; [1323] = 0; [1324] = 0; [1325] = 0; [1326] = 0; [1327] = 0; [1328] = 0; [1329] = 0; [1330] = 0; [1331] = 0; [1332] = 0; [1333] = 0; [1334] = 0; [1335] = 0; [1336] = 0; [1337] = 0; [1338] = 0; [1339] = 0; [1340] = 0; [1341] = 0; [1342] = 0; [1343] = 0; [1344] = 0; [1345] = 0; [1346] = 0; [1347] = 0; [1348] = 0; [1349] = 0; [1350] = 0; [1351] = 0; [1352] = 0; [1353] = 0; [1354] = 0; [1355] = 0; [1356] = 0; [1357] = 0; [1358] = 0; [1359] = 0; [1360] = 0; [1361] = 0; [1362] = 0; [1363] = 0; [1364] = 0; [1365] = 0; [1366] = 0; [1367] = 0; [1368] = 0; [1369] = 0; [1370] = 0; [1371] = 0; [1372] = 0; [1373] = 0; [1374] = 0; [1375] = 0; [1376] = 0; [1377] = 0; [1378] = 0; [1379] = 0; [1380] = 0; [1381] = 0; [1382] = 0; [1383] = 0; [1384] = 0; [1385] = 0; [1386] = 0; [1387] = 0; [1388] = 0; [1389] = 0; [1390] = 0; [1391] = 0; [1392] = 0; [1393] = 0; [1394] = 0; [1395] = 0; [1396] = 0; [1397] = 0; [1398] = 0; [1399] = 0; [1400] = 0; [1401] = 0; [1402] = 0; [1403] = 0; [1404] = 0; [1405] = 0; [1406] = 0; [1407] = 0; [1408] = 0; [1409] = 0; [1410] = 0; [1411] = 0; [1412] = 0; [1413] = 0; [1414] = 0; [1415] = 0; [1416] = 0; [1417] = 0; [1418] = 0; [1419] = 0; [1420] = 0; [1421] = 0; [1422] = 0; [1423] = 0; [1424] = 0; [1425] = 0; [1426] = 0; [1427] = 0; [1428] = 0; [1429] = 0; [1430] = 0; [1431] = 0; [1432] = 0; [1433] = 0; [1434] = 0; [1435] = 0; [1436] = 0; [1437] = 0; [1438] = 0; [1439] = 0; [1440] = 0; [1441] = 0; [1442] = 0; [1443] = 0; [1444] = 0; [1445] = 0; [1446] = 0; [1447] = 0; [1448] = 0; [1449] = 0; [1450] = 0; [1451] = 0; [1452] = 0; [1453] = 0; [1454] = 0; [1455] = 0; [1456] = 0; [1457] = 0; [1458] = 0; [1459] = 0; [1460] = 0; [1461] = 0; [1462] = 0; [1463] = 0; [1464] = 0; [1465] = 0; [1466] = 0; [1467] = 0; [1468] = 0; [1469] = 0; [1470] = 0; [1471] = 0; [1472] = 0; [1473] = 0; [1474] = 0; [1475] = 0; [1476] = 0; [1477] = 0; [1478] = 0; [1479] = 0; [1480] = 0; [1481] = 0; [1482] = 0; [1483] = 0; [1484] = 0; [1485] = 0; [1486] = 0; [1487] = 0; [1488] = 0; [1489] = 0; [1490] = 0; [1491] = 0; [1492] = 0; [1493] = 0; [1494] = 0; [1495] = 0; [1496] = 0; [1497] = 0; [1498] = 0; [1499] = 0; [1500] = 0; [1501] = 0; [1502] = 0; [1503] = 0; [1504] = 0; [1505] = 0; [1506] = 0; [1507] = 0; [1508] = 0; [1509] = 0; [1510] = 0; [1511] = 0; [1512] = 0; [1513] = 0; [1514] = 0; [1515] = 0; [1516] = 0; [1517] = 0; [1518] = 0; [1519] = 0; [1520] = 0; [1521] = 0; [1522] = 0; [1523] = 0; [1524] = 0; [1525] = 0; [1526] = 0; [1527] = 0; [1528] = 0; [1529] = 0; [1530] = 0; [1531] = 0; [1532] = 0; [1533] = 0; [1534] = 0; [1535] = 0; [1536] = 0; [1537] = 0; [1538] = 0; [1539] = 0; [1540] = 0; [1541] = 0; [1542] = 0; [1543] = 0; [1544] = 0; [1545] = 0; [1546] = 0; [1547] = 0; [1548] = 0; [1549] = 0; [1550] = 0; [1551] = 0; [1552] = 0; [1553] = 0; [1554] = 0; [1555] = 0; [1556] = 0; [1557] = 0; [1558] = 0; [1559] = 0; [1560] = 0; [1561] = 0; [1562] = 0; [1563] = 0; [1564] = 0; [1565] = 0; [1566] = 0; [1567] = 0; [1568] = 0; [1569] = 0; [1570] = 0; [1571] = 0; [1572] = 0; [1573] = 0; [1574] = 0; [1575] = 0; [1576] = 0; [1577] = 0; [1578] = 0; [1579] = 0; [1580] = 0; [1581] = 0; [1582] = 0; [1583] = 0; [1584] = 0; [1585] = 0; [1586] = 0; [1587] = 0; [1588] = 0; [1589] = 0; [1590] = 0; [1591] = 0; [1592] = 0; [1593] = 0; [1594] = 0; [1595] = 0; [1596] = 0; [1597] = 0; [1598] = 0; [1599] = 0; [1600] = 0; [1601] = 0; [1602] = 0; [1603] = 0; [1604] = 0; [1605] = 0; [1606] = 0; [1607] = 0; [1608] = 0; [1609] = 0; [1610] = 0; [1611] = 0; [1612] = 0; [1613] = 0; [1614] = 0; [1615] = 0; [1616] = 0; [1617] = 0; [1618] = 0; [1619] = 0; [1620] = 0; [1621] = 0; [1622] = 0; [1623] = 0; [1624] = 0; [1625] = 0; [1626] = 0; [1627] = 0; [1628] = 0; [1629] = 0; [1630] = 0; [1631] = 0; [1632] = 0; [1633] = 0; [1634] = 0; [1635] = 0; [1636] = 0; [1637] = 0; [1638] = 0; [1639] = 0; [1640] = 0; [1641] = 0; [1642] = 0; [1643] = 0; [1644] = 0; [1645] = 0; [1646] = 0; [1647] = 0; [1648] = 0; [1649] = 0; [1650] = 0; [1651] = 0; [1652] = 0; [1653] = 0; [1654] = 0; [1655] = 0; [1656] = 0; [1657] = 0; [1658] = 0; [1659] = 0; [1660] = 0; [1661] = 0; [1662] = 0; [1663] = 0; [1664] = 0; [1665] = 0; [1666] = 0; [1667] = 0; [1668] = 0; [1669] = 0; [1670] = 0; [1671] = 0; [1672] = 0; [1673] = 0; [1674] = 0; [1675] = 0; [1676] = 0; [1677] = 0; [1678] = 0; [1679] = 0; [1680] = 0; [1681] = 0; [1682] = 0; [1683] = 0; [1684] = 0; [1685] = 0; [1686] = 0; [1687] = 0; [1688] = 0; [1689] = 0; [1690] = 0; [1691] = 0; [1692] = 0; [1693] = 0; [1694] = 0; [1695] = 0; [1696] = 0; [1697] = 0; [1698] = 0; [1699] = 0; [1700] = 0; [1701] = 0; [1702] = 0; [1703] = 0; [1704] = 0; [1705] = 0; [1706] = 0; [1707] = 0; [1708] = 0; [1709] = 0; [1710] = 0; [1711] = 0; [1712] = 0; [1713] = 0; [1714] = 0; [1715] = 0; [1716] = 0; [1717] = 0; [1718] = 0; [1719] = 0; [1720] = 0; [1721] = 0; [1722] = 0; [1723] = 0; [1724] = 0; [1725] = 0; [1726] = 0; [1727] = 0; [1728] = 0; [1729] = 0; [1730] = 0; [1731] = 0; [1732] = 0; [1733] = 0; [1734] = 0; [1735] = 0; [1736] = 0; [1737] = 0; [1738] = 0; [1739] = 0; [1740] = 0; [1741] = 0; [1742] = 0; [1743] = 0; [1744] = 0; [1745] = 0; [1746] = 0; [1747] = 0; [1748] = 0; [1749] = 0; [1750] = 0; [1751] = 0; [1752] = 0; [1753] = 0; [1754] = 0; [1755] = 0; [1756] = 0; [1757] = 0; [1758] = 0; [1759] = 0; [1760] = 0; [1761] = 0; [1762] = 0; [1763] = 0; [1764] = 0; [1765] = 0; [1766] = 0; [1767] = 0; [1768] = 0; [1769] = 0; [1770] = 0; [1771] = 0; [1772] = 0; [1773] = 0; [1774] = 0; [1775] = 0; [1776] = 0; [1777] = 0; [1778] = 0; [1779] = 0; [1780] = 0; [1781] = 0; [1782] = 0; [1783] = 0; [1784] = 0; [1785] = 0; [1786] = 0; [1787] = 0; [1788] = 0; [1789] = 0; [1790] = 0; [1791] = 0; [1792] = 0; [1793] = 0; [1794] = 0; [1795] = 0; [1796] = 0; [1797] = 0; [1798] = 0; [1799] = 0; [1800] = 0; [1801] = 0; [1802] = 0; [1803] = 0; [1804] = 0; [1805] = 0; [1806] = 0; [1807] = 0; [1808] = 0; [1809] = 0; [1810] = 0; [1811] = 0; [1812] = 0; [1813] = 0; [1814] = 0; [1815] = 0; [1816] = 0; [1817] = 0; [1818] = 0; [1819] = 0; [1820] = 0; [1821] = 0; [1822] = 0; [1823] = 0; [1824] = 0; [1825] = 0; [1826] = 0; [1827] = 0; [1828] = 0; [1829] = 0; [1830] = 0; [1831] = 0; [1832] = 0; [1833] = 0; [1834] = 0; [1835] = 0; [1836] = 0; [1837] = 0; [1838] = 0; [1839] = 0; [1840] = 0; [1841] = 0; [1842] = 0; [1843] = 0; [1844] = 0; [1845] = 0; [1846] = 0; [1847] = 0; [1848] = 0; [1849] = 0; [1850] = 0; [1851] = 0; [1852] = 0; [1853] = 0; [1854] = 0; [1855] = 0; [1856] = 0; [1857] = 0; [1858] = 0; [1859] = 0; [1860] = 0; [1861] = 0; [1862] = 0; [1863] = 0; [1864] = 0; [1865] = 0; [1866] = 0; [1867] = 0; [1868] = 0; [1869] = 0; [1870] = 0; [1871] = 0; [1872] = 0; [1873] = 0; [1874] = 0; [1875] = 0; [1876] = 0; [1877] = 0; [1878] = 0; [1879] = 0; [1880] = 0; [1881] = 0; [1882] = 0; [1883] = 0; [1884] = 0; [1885] = 0; [1886] = 0; [1887] = 0; [1888] = 0; [1889] = 0; [1890] = 0; [1891] = 0; [1892] = 0; [1893] = 0; [1894] = 0; [1895] = 0; [1896] = 0; [1897] = 0; [1898] = 0; [1899] = 0; [1900] = 0; [1901] = 0; [1902] = 0; [1903] = 0; [1904] = 0; [1905] = 0; [1906] = 0; [1907] = 0; [1908] = 0; [1909] = 0; [1910] = 0; [1911] = 0; [1912] = 0; [1913] = 0; [1914] = 0; [1915] = 0; [1916] = 0; [1917] = 0; [1918] = 0; [1919] = 0; [1920] = 0; [1921] = 0; [1922] = 0; [1923] = 0; [1924] = 0; [1925] = 0; [1926] = 0; [1927] = 0; [1928] = 0; [1929] = 0; [1930] = 0; [1931] = 0; [1932] = 0; [1933] = 0; [1934] = 0; [1935] = 0; [1936] = 0; [1937] = 0; [1938] = 0; [1939] = 0; [1940] = 0; [1941] = 0; [1942] = 0; [1943] = 0; [1944] = 0; [1945] = 0; [1946] = 0; [1947] = 0; [1948] = 0; [1949] = 0; [1950] = 0; [1951] = 0; [1952] = 0; [1953] = 0; [1954] = 0; [1955] = 0; [1956] = 0; [1957] = 0; [1958] = 0; [1959] = 0; [1960] = 0; [1961] = 0; [1962] = 0; [1963] = 0; [1964] = 0; [1965] = 0; [1966] = 0; [1967] = 0; [1968] = 0; [1969] = 0; [1970] = 0; [1971] = 0; [1972] = 0; [1973] = 0; [1974] = 0; [1975] = 0; [1976] = 0; [1977] = 0; [1978] = 0; [1979] = 0; [1980] = 0; [1981] = 0; [1982] = 0; [1983] = 0; [1984] = 0; [1985] = 0; [1986] = 0; [1987] = 0; [1988] = 0; [1989] = 0; [1990] = 0; [1991] = 0; [1992] = 0; [1993] = 0; [1994] = 0; [1995] = 0; [1996] = 0; [1997] = 0; [1998] = 0; [1999] = 0; [2000] = 0; [2001] = 0; [2002] = 0; [2003] = 0; [2004] = 0; [2005] = 0; [2006] = 0; [2007] = 0; [2008] = 0; [2009] = 0; [2010] = 0; [2011] = 0; [2012] = 0; [2013] = 0; [2014] = 0; [2015] = 0; [2016] = 0; [2017] = 0; [2018] = 0; [2019] = 0; [2020] = 0; [2021] = 0; [2022] = 0; [2023] = 0; [2024] = 0; [2025] = 0; [2026] = 0; [2027] = 0; [2028] = 0; [2029] = 0; [2030] = 0; [2031] = 0; [2032] = 0; [2033] = 0; [2034] = 0; [2035] = 0; [2036] = 0; [2037] = 0; [2038] = 0; [2039] = 0; [2040] = 0; [2041] = 0; [2042] = 0; [2043] = 0; [2044] = 0; [2045] = 0; [2046] = 0; [2047] = 0; [2048] = 0; [2049] = 0; [2050] = 0; [2051] = 0; [2052] = 0; [2053] = 0; [2054] = 0; [2055] = 0; [2056] = 0; [2057] = 0; [2058] = 0; [2059] = 0; [2060] = 0; [2061] = 0; [2062] = 0; [2063] = 0; [2064] = 0; [2065] = 0; [2066] = 0; [2067] = 0; [2068] = 0; [2069] = 0; [2070] = 0; [2071] = 0; [2072] = 0; [2073] = 0; [2074] = 0; [2075] = 0; [2076] = 0; [2077] = 0; [2078] = 0; [2079] = 0; [2080] = 0; [2081] = 0; [2082] = 0; [2083] = 0; [2084] = 0; [2085] = 0; [2086] = 0; [2087] = 0; [2088] = 0; [2089] = 0; [2090] = 0; [2091] = 0; [2092] = 0; [2093] = 0; [2094] = 0; [2095] = 0; [2096] = 0; [2097] = 0; [2098] = 0; [2099] = 0; [2100] = 0; [2101] = 0; [2102] = 0; [2103] = 0; [2104] = 0; [2105] = 0; [2106] = 0; [2107] = 0; [2108] = 0; [2109] = 0; [2110] = 0; [2111] = 0; [2112] = 0; [2113] = 0; [2114] = 0; [2115] = 0; [2116] = 0; [2117] = 0; [2118] = 0; [2119] = 0; [2120] = 0; [2121] = 0; [2122] = 0; [2123] = 0; [2124] = 0; [2125] = 0; [2126] = 0; [2127] = 0; [2128] = 0; [2129] = 0; [2130] = 0; [2131] = 0; [2132] = 0; [2133] = 0; [2134] = 0; [2135] = 0; [2136] = 0; [2137] = 0; [2138] = 0; [2139] = 0; [2140] = 0; [2141] = 0; [2142] = 0; [2143] = 0; [2144] = 0; [2145] = 0; [2146] = 0; [2147] = 0; [2148] = 0; [2149] = 0; [2150] = 0; [2151] = 0; [2152] = 0; [2153] = 0; [2154] = 0; [2155] = 0; [2156] = 0; [2157] = 0; [2158] = 0; [2159] = 0; [2160] = 0; [2161] = 0; [2162] = 0; [2163] = 0; [2164] = 0; [2165] = 0; [2166] = 0; [2167] = 0; [2168] = 0; [2169] = 0; [2170] = 0; [2171] = 0; [2172] = 0; [2173] = 0; [2174] = 0; [2175] = 0; [2176] = 0; [2177] = 0; [2178] = 0; [2179] = 0; [2180] = 0; [2181] = 0; [2182] = 0; [2183] = 0; [2184] = 0; [2185] = 0; [2186] = 0; [2187] = 0; [2188] = 0; [2189] = 0; [2190] = 0; [2191] = 0; [2192] = 0; [2193] = 0; [2194] = 0; [2195] = 0; [2196] = 0; [2197] = 0; [2198] = 0; [2199] = 0; [2200] = 0; [2201] = 0; [2202] = 0; [2203] = 0; [2204] = 0; [2205] = 0; [2206] = 0; [2207] = 0; [2208] = 0; [2209] = 0; [2210] = 0; [2211] = 0; [2212] = 0; [2213] = 0; [2214] = 0; [2215] = 0; [2216] = 0; [2217] = 0; [2218] = 0; [2219] = 0; [2220] = 0; [2221] = 0; [2222] = 0; [2223] = 0; [2224] = 0; [2225] = 0; [2226] = 0; [2227] = 0; [2228] = 0; [2229] = 0; [2230] = 0; [2231] = 0; [2232] = 0; [2233] = 0; [2234] = 0; [2235] = 0; [2236] = 0; [2237] = 0; [2238] = 0; [2239] = 0; [2240] = 0; [2241] = 0; [2242] = 0; [2243] = 0; [2244] = 0; [2245] = 0; [2246] = 0; [2247] = 0; [2248] = 0; [2249] = 0; [2250] = 0; [2251] = 0; [2252] = 0; [2253] = 0; [2254] = 0; [2255] = 0; [2256] = 0; [2257] = 0; [2258] = 0; [2259] = 0; [2260] = 0; [2261] = 0; [2262] = 0; [2263] = 0; [2264] = 0; [2265] = 0; [2266] = 0; [2267] = 0; [2268] = 0; [2269] = 103; [2270] = 0; [2271] = 0; [2272] = 0; [2273] = 0; [2274] = 0; [2275] = -2147483545; [2276] = 0; [2277] = 0; [2278] = 0; [2279] = 0; [2280] = 0; [2281] = 0; [2282] = 0; [2283] = 0; [2284] = 0; [2285] = 0; [2286] = 0; [2287] = 0; [2288] = 0; [2289] = 0; [2290] = 0; [2291] = 0; [2292] = 0; [2293] = 0; [2294] = 0; [2295] = 0; [2296] = 0; [2297] = 0; [2298] = 0; [2299] = 0; [2300] = 0; [2301] = 0; [2302] = 0; [2303] = 0; [2304] = 0; [2305] = 0; [2306] = 0; [2307] = 0; [2308] = 0; [2309] = 0; [2310] = 0; [2311] = 0; [2312] = 0; [2313] = 0; [2314] = 0; [2315] = 0; [2316] = 0; [2317] = 0; [2318] = 0; [2319] = 0; [2320] = 0; [2321] = 0; [2322] = 0; [2323] = 0; [2324] = 0; [2325] = 0; [2326] = 0; [2327] = 0; [2328] = 0; [2329] = 0; [2330] = 0; [2331] = 0; [2332] = 0; [2333] = 0; [2334] = 0; [2335] = 0; [2336] = 0; [2337] = 0; [2338] = 0; [2339] = 0; [2340] = 0; [2341] = 0; [2342] = 0; [2343] = 0; [2344] = 0; [2345] = 0; [2346] = 0; [2347] = 0; [2348] = 0; [2349] = 0; [2350] = 0; [2351] = 0; [2352] = 0; [2353] = 0; [2354] = 0; [2355] = 0; [2356] = 0; [2357] = 0; [2358] = 0; [2359] = 0; [2360] = 0; [2361] = 0; [2362] = 0; [2363] = 0; [2364] = 0; [2365] = 0; [2366] = 0; [2367] = 0; [2368] = 0; [2369] = 0; [2370] = 0; [2371] = 0; [2372] = 0; [2373] = 0; [2374] = 0; [2375] = 0; [2376] = 0; [2377] = 0; [2378] = 0; [2379] = 0; [2380] = 0; [2381] = 0; [2382] = 0; [2383] = 0; [2384] = 0; [2385] = 0; [2386] = 0; [2387] = 0; [2388] = 0; [2389] = 0; [2390] = 0; [2391] = 0; [2392] = 0; [2393] = 0; [2394] = 0; [2395] = 103; [2396] = 0; [2397] = 0; [2398] = 0; [2399] = 0; [2400] = 0; [2401] = 0; [2402] = 0; [2403] = 0; [2404] = 0; [2405] = -2147483545; [2406] = 0; [2407] = 0; [2408] = 0; [2409] = 0; [2410] = 0; [2411] = 0; [2412] = 0; [2413] = 0; [2414] = 0; [2415] = 0; [2416] = 0; [2417] = 0; [2418] = 0; [2419] = 0; [2420] = 0; [2421] = 0; [2422] = 0; [2423] = 0; [2424] = 0; [2425] = 0; [2426] = 0; [2427] = 0; [2428] = 0; [2429] = 0; [2430] = 0; [2431] = 0; [2432] = 0; [2433] = 0; [2434] = 0; [2435] = 0; [2436] = 0; [2437] = 0; [2438] = 0; [2439] = 0; [2440] = 0; [2441] = 0; [2442] = 0; [2443] = 0; [2444] = 0; [2445] = 0; [2446] = 0; [2447] = 0; [2448] = 0; [2449] = 0; [2450] = 0; [2451] = 0; [2452] = 0; [2453] = 0; [2454] = 0; [2455] = 0; [2456] = 0; [2457] = 0; [2458] = 0; [2459] = 0; [2460] = 0; [2461] = 0; [2462] = 0; [2463] = 0; [2464] = 0; [2465] = 0; [2466] = 0; [2467] = 0; [2468] = 0; [2469] = 0; [2470] = 0; [2471] = 0; [2472] = 0; [2473] = 0; [2474] = 0; [2475] = 0; [2476] = 0; [2477] = 0; [2478] = 0; [2479] = 0; [2480] = 0; [2481] = 0; [2482] = 0; [2483] = 0; [2484] = 0; [2485] = 0; [2486] = 0; [2487] = 0; [2488] = 0; [2489] = 0; [2490] = 0; [2491] = 0; [2492] = 0; [2493] = 0; [2494] = 0; [2495] = 0; [2496] = 0; [2497] = 0; [2498] = 0; [2499] = 0; [2500] = 0; [2501] = 0; [2502] = 0; [2503] = 0; [2504] = 0; [2505] = 0; [2506] = 0; [2507] = 0; [2508] = 0; [2509] = 0; [2510] = 0; [2511] = 0; [2512] = 0; [2513] = 0; [2514] = 0; [2515] = 0; [2516] = 0; [2517] = 0; [2518] = 0; [2519] = 0; [2520] = 0; [2521] = 0; [2522] = 0; [2523] = 0; [2524] = 0; [2525] = 0; [2526] = 0; [2527] = 0; [2528] = 0; [2529] = 0; [2530] = 0; [2531] = 0; [2532] = 0; [2533] = 0; [2534] = 0; [2535] = 0; [2536] = 0; [2537] = 0; [2538] = 0; [2539] = 0; [2540] = 0; [2541] = 0; [2542] = 0; [2543] = 0; [2544] = 0; [2545] = 0; [2546] = 0; [2547] = 0; [2548] = 0; [2549] = 0; [2550] = 0; [2551] = 0; [2552] = 0; [2553] = 0; [2554] = 0; [2555] = 0; [2556] = 0; [2557] = 0; [2558] = 0; [2559] = 0; [2560] = 0; [2561] = 0; [2562] = 0; [2563] = 0; [2564] = 0; [2565] = 0; [2566] = 0; [2567] = 0; [2568] = 0; [2569] = 0; [2570] = 0; [2571] = 0; [2572] = 0; [2573] = 0; [2574] = 0; [2575] = 0; [2576] = 0; [2577] = 0; [2578] = 0; [2579] = 0; [2580] = 0; [2581] = 0; [2582] = 0; [2583] = 0; [2584] = 0; [2585] = 0; [2586] = 0; [2587] = 0; [2588] = 0; [2589] = 0; [2590] = 0; [2591] = 0; [2592] = 0; [2593] = 0; [2594] = 0; [2595] = 0; [2596] = 0; [2597] = 0; [2598] = 0; [2599] = 0; [2600] = 0; [2601] = 0; [2602] = 0; [2603] = 0; [2604] = 0; [2605] = 0; [2606] = 0; [2607] = 0; [2608] = 0; [2609] = 0; [2610] = 0; [2611] = 0; [2612] = 0; [2613] = 0; [2614] = 0; [2615] = 0; [2616] = 0; [2617] = 0; [2618] = 0; [2619] = 0; [2620] = 0; [2621] = 0; [2622] = 0; [2623] = 0; [2624] = 0; [2625] = 0; [2626] = 0; [2627] = 0; [2628] = 0; [2629] = 0; [2630] = 0; [2631] = 0; [2632] = 0; [2633] = 0; [2634] = 0; [2635] = 0; [2636] = 0; [2637] = 0; [2638] = 0; [2639] = 0; [2640] = 0; [2641] = 0; [2642] = 0; [2643] = 0; [2644] = 0; [2645] = 0; [2646] = 0; [2647] = 0; [2648] = 0; [2649] = 0; [2650] = 0; [2651] = 0; [2652] = 0; [2653] = 0; [2654] = 0; [2655] = 0; [2656] = 0; [2657] = 0; [2658] = 0; [2659] = 0; [2660] = 0; [2661] = 0; [2662] = 0; [2663] = 0; [2664] = 0; [2665] = 0; [2666] = 0; [2667] = 0; [2668] = 0; [2669] = 0; [2670] = 0; [2671] = 0; [2672] = 0; [2673] = 0; [2674] = 0; [2675] = 0; [2676] = 0; [2677] = 0; [2678] = 0; [2679] = 0; [2680] = 0; [2681] = 0; [2682] = 0; [2683] = 0; [2684] = 0; [2685] = 0; [2686] = 0; [2687] = 0; [2688] = 0; [2689] = 0; [2690] = 0; [2691] = 0; [2692] = 0; [2693] = 0; [2694] = 0; [2695] = 0; [2696] = 0; [2697] = 0; [2698] = 0; [2699] = 0; [2700] = 0; [2701] = 0; [2702] = 0; [2703] = 0; [2704] = 0; [2705] = 0; [2706] = 0; [2707] = 0; [2708] = 0; [2709] = 0; [2710] = 0; [2711] = 0; [2712] = 0; [2713] = 0; [2714] = 0; [2715] = 0; [2716] = 0; [2717] = 0; [2718] = 0; [2719] = 0; [2720] = 0; [2721] = 0; [2722] = 0; [2723] = 0; [2724] = 0; [2725] = 0; [2726] = 0; [2727] = 0; [2728] = 0; [2729] = 0; [2730] = 0; [2731] = 0; [2732] = 0; [2733] = 0; [2734] = 0; [2735] = 0; [2736] = 0; [2737] = 0; [2738] = 0; [2739] = 0; [2740] = 0; [2741] = 0; [2742] = 0; [2743] = 0; [2744] = 0; [2745] = 0; [2746] = 0; [2747] = 0; [2748] = 0; [2749] = 0; [2750] = 0; [2751] = 0; [2752] = 0; [2753] = 0; [2754] = 0; [2755] = 0; [2756] = 0; [2757] = 0; [2758] = 0; [2759] = 0; [2760] = 0; [2761] = 0; [2762] = 0; [2763] = 0; [2764] = 0; [2765] = 0; [2766] = 0; [2767] = 0; [2768] = 0; [2769] = 0; [2770] = 0; [2771] = 0; [2772] = 0; [2773] = 0; [2774] = 0; [2775] = 0; [2776] = 0; [2777] = 0; [2778] = 0; [2779] = 0; [2780] = 0; [2781] = 0; [2782] = 0; [2783] = 0; [2784] = 0; [2785] = 0; [2786] = 0; [2787] = 0; [2788] = 0; [2789] = 0; [2790] = 0; [2791] = 0; [2792] = 0; [2793] = 0; [2794] = 0; [2795] = 0; [2796] = 0; [2797] = 0; [2798] = 0; [2799] = 0; [2800] = 0; [2801] = 0; [2802] = 0; [2803] = 0; [2804] = 0; [2805] = 0; [2806] = 0; [2807] = 0; [2808] = 0; [2809] = 0; [2810] = 0; [2811] = 0; [2812] = 0; [2813] = 0; [2814] = 0; [2815] = 0; [2816] = 0; [2817] = 0; [2818] = 0; [2819] = 0; [2820] = 0; [2821] = 0; [2822] = 0; [2823] = 0; [2824] = 0; [2825] = 0; [2826] = 0; [2827] = 0; [2828] = 0; [2829] = 0; [2830] = 0; [2831] = 0; [2832] = 0; [2833] = 0; [2834] = 0; [2835] = 0; [2836] = 0; [2837] = 0; [2838] = 0; [2839] = 0; [2840] = 0; [2841] = 0; [2842] = 0; [2843] = 0; [2844] = 0; [2845] = 0; [2846] = 0; [2847] = 0; [2848] = 0; [2849] = 0; [2850] = 0; [2851] = 0; [2852] = 0; [2853] = 0; [2854] = 0; [2855] = 0; [2856] = 0; [2857] = 0; [2858] = 0; [2859] = 0; [2860] = 0; [2861] = 0; [2862] = 0; [2863] = 0; [2864] = 0; [2865] = 0; [2866] = 0; [2867] = 0; [2868] = 0; [2869] = 0; [2870] = 0; [2871] = 0; [2872] = 0; [2873] = 0; [2874] = 0; [2875] = 0; [2876] = 0; [2877] = 0; [2878] = 0; [2879] = 0; [2880] = 0; [2881] = 0; [2882] = 0; [2883] = 0; [2884] = 0; [2885] = 0; [2886] = 0; [2887] = 0; [2888] = 0; [2889] = 0; [2890] = 0; [2891] = 0; [2892] = 0; [2893] = 0; [2894] = 0; [2895] = 0; [2896] = 0; [2897] = 0; [2898] = 0; [2899] = 0; [2900] = 0; [2901] = 0; [2902] = 0; [2903] = 0; [2904] = 0; [2905] = 0; [2906] = 0; [2907] = 0; [2908] = 0; [2909] = 0; [2910] = 0; [2911] = 0; [2912] = 0; [2913] = 0; [2914] = 0; [2915] = 0; [2916] = 0; [2917] = 0; [2918] = 0; [2919] = 0; [2920] = 0; [2921] = 0; [2922] = 0; [2923] = 0; [2924] = 0; [2925] = 0; [2926] = 0; [2927] = 0; [2928] = 0; [2929] = 0; [2930] = 0; [2931] = 0; [2932] = 0; [2933] = 0; [2934] = 0; [2935] = 0; [2936] = 0; [2937] = 0; [2938] = 0; [2939] = 0; [2940] = 0; [2941] = 0; [2942] = 0; [2943] = 0; [2944] = 0; [2945] = 0; [2946] = 0; [2947] = 0; [2948] = 0; [2949] = 0; [2950] = 0; [2951] = 0; [2952] = 0; [2953] = 0; [2954] = 0; [2955] = 0; [2956] = 0; [2957] = 0; [2958] = 0; [2959] = 0; [2960] = 0; [2961] = 0; [2962] = 0; [2963] = 0; [2964] = 0; [2965] = 0; [2966] = 0; [2967] = 0; [2968] = 0; [2969] = 0; [2970] = 0; [2971] = 0; [2972] = 0; [2973] = 0; [2974] = 0; [2975] = 0; [2976] = 0; [2977] = 0; [2978] = 0; [2979] = 0; [2980] = 0; [2981] = 0; [2982] = 0; [2983] = 0; [2984] = 0; [2985] = 0; [2986] = 0; [2987] = 0; [2988] = 0; [2989] = 0; [2990] = 0; [2991] = 0; [2992] = 0; [2993] = 0; [2994] = 0; [2995] = 0; [2996] = 0; [2997] = 0; [2998] = 0; [2999] = 0; [3000] = 0; [3001] = 0; [3002] = 0; [3003] = 0; [3004] = 0; [3005] = 0; [3006] = 0; [3007] = 0; [3008] = 0; [3009] = 0; [3010] = 0; [3011] = 0; [3012] = 0; [3013] = 0; [3014] = 0; [3015] = 0; [3016] = 0; [3017] = 0; [3018] = 0; [3019] = 0; [3020] = 0; [3021] = 0; [3022] = 0; [3023] = 0; [3024] = 0; [3025] = 0; [3026] = 0; [3027] = 0; [3028] = 0; [3029] = 0; [3030] = 0; [3031] = 0; [3032] = 0; [3033] = 0; [3034] = 0; [3035] = 0; [3036] = 0; [3037] = 0; [3038] = 0; [3039] = 0; [3040] = 0; [3041] = 0; [3042] = 0; [3043] = 0; [3044] = 0; [3045] = 0; [3046] = 0; [3047] = 0; [3048] = 0; [3049] = 0; [3050] = 0; [3051] = 0; [3052] = 0; [3053] = 0; [3054] = 0; [3055] = 0; [3056] = 0; [3057] = 0; [3058] = 0; [3059] = 0; [3060] = 0; [3061] = 0; [3062] = 0; [3063] = 0; [3064] = 0; [3065] = 0; [3066] = 0; [3067] = 0; [3068] = 0; [3069] = 0; [3070] = 0; [3071] = 0; [3072] = 0; [3073] = 0; [3074] = 0; [3075] = 0; [3076] = 0; [3077] = 0; [3078] = 0; [3079] = 0; [3080] = 0; [3081] = 0; [3082] = 0; [3083] = 0; [3084] = 0; [3085] = 0; [3086] = 0; [3087] = 0; [3088] = 0; [3089] = 0; [3090] = 0; [3091] = 0; [3092] = 0; [3093] = 0; [3094] = 0; [3095] = 0; [3096] = 0; [3097] = 0; [3098] = 0; [3099] = 0; [3100] = 0; [3101] = 0; [3102] = 0; [3103] = 0; [3104] = 0; [3105] = 0; [3106] = 0; [3107] = 0; [3108] = 0; [3109] = 0; [3110] = 0; [3111] = 0; [3112] = 0; [3113] = 0; [3114] = 0; [3115] = 0; [3116] = 0; [3117] = 0; [3118] = 0; [3119] = 0; [3120] = 0; [3121] = 0; [3122] = 0; [3123] = 0; [3124] = 0; [3125] = 0; [3126] = 0; [3127] = 0; [3128] = 0; [3129] = 0; [3130] = 0; [3131] = 0; [3132] = 0; [3133] = 0; [3134] = 0; [3135] = 0; [3136] = 0; [3137] = 0; [3138] = 0; [3139] = 0; [3140] = 0; [3141] = 0; [3142] = 0; [3143] = 0; [3144] = 0; [3145] = 0; [3146] = 0; [3147] = 0; [3148] = 0; [3149] = 0; [3150] = 0; [3151] = 0; [3152] = 0; [3153] = 0; [3154] = 0; [3155] = 0; [3156] = 0; [3157] = 0; [3158] = 0; [3159] = 0; [3160] = 0; [3161] = 0; [3162] = 0; [3163] = 0; [3164] = 0; [3165] = 0; [3166] = 0; [3167] = 0; [3168] = 0; [3169] = 0; [3170] = 0; [3171] = 0; [3172] = 0; [3173] = 0; [3174] = 0; [3175] = 0; [3176] = 0; [3177] = 0; [3178] = 0; [3179] = 0; [3180] = 0; [3181] = 0; [3182] = 0; [3183] = 0; [3184] = 0; [3185] = 0; [3186] = 0; [3187] = 0; [3188] = 0; [3189] = 0; [3190] = 0; [3191] = 0; [3192] = 0; [3193] = 0; [3194] = 0; [3195] = 0; [3196] = 0; [3197] = 0; [3198] = 0; [3199] = 0; [3200] = 0; [3201] = 0; [3202] = 0; [3203] = 0; [3204] = 0; [3205] = 0; [3206] = 0; [3207] = 0; [3208] = 0; [3209] = 0; [3210] = 0; [3211] = 0; [3212] = 0; [3213] = 0; [3214] = 0; [3215] = 0; [3216] = 0; [3217] = 0; [3218] = 0; [3219] = 0; [3220] = 0; [3221] = 0; [3222] = 0; [3223] = 0; [3224] = 0; [3225] = 0; [3226] = 0; [3227] = 0; [3228] = 0; [3229] = 0; [3230] = 0; [3231] = 0; [3232] = 0; [3233] = 0; [3234] = 0; [3235] = 0; [3236] = 0; [3237] = 0; [3238] = 0; [3239] = 0; [3240] = 0; [3241] = 0; [3242] = 0; [3243] = 0; [3244] = 0; [3245] = 0; [3246] = 0; [3247] = 0; [3248] = 0; [3249] = 0; [3250] = 0; [3251] = 0; [3252] = 0; [3253] = 0; [3254] = 0; [3255] = 0; [3256] = 0; [3257] = 0; [3258] = 0; [3259] = 0; [3260] = 0; [3261] = 0; [3262] = 0; [3263] = 0; [3264] = 0; [3265] = 0; [3266] = 0; [3267] = 0; [3268] = 0; [3269] = 0; [3270] = 0; [3271] = 0; [3272] = 0; [3273] = 0; [3274] = 0; [3275] = 0; [3276] = 0; [3277] = 0; [3278] = 0; [3279] = 0; [3280] = 0; [3281] = 0; [3282] = 0; [3283] = 0; [3284] = 0; [3285] = 0; [3286] = 0; [3287] = 0; [3288] = 0; [3289] = 0; [3290] = 0; [3291] = 0; [3292] = 0; [3293] = 0; [3294] = 0; [3295] = 0; [3296] = 0; [3297] = 0; [3298] = 0; [3299] = 0; [3300] = 0; [3301] = 0; [3302] = 0; [3303] = 0; [3304] = 0; [3305] = 0; [3306] = 0; [3307] = 0; [3308] = 0; [3309] = 0; [3310] = 0; [3311] = 0; [3312] = 0; [3313] = 0; [3314] = 0; [3315] = 0; [3316] = 0; [3317] = 0; [3318] = 0; [3319] = 0; [3320] = 0; [3321] = 0; [3322] = 0; [3323] = 0; [3324] = 0; [3325] = 0; [3326] = 0; [3327] = 0; [3328] = 0; [3329] = 0; [3330] = 0; [3331] = 0; [3332] = 0; [3333] = 0; [3334] = 0; [3335] = 0; [3336] = 0; [3337] = 0; [3338] = 0; [3339] = 0; [3340] = 0; [3341] = 0; [3342] = 0; [3343] = 0; [3344] = 0; [3345] = 0; [3346] = 0; [3347] = 0; [3348] = 0; [3349] = 0; [3350] = 0; [3351] = 0; [3352] = 0; [3353] = 0; [3354] = 0; [3355] = 0; [3356] = 0; [3357] = 0; [3358] = 0; [3359] = 0; [3360] = 0; [3361] = 0; [3362] = 0; [3363] = 0; [3364] = 0; [3365] = 0; [3366] = 0; [3367] = 0; [3368] = 0; [3369] = 0; [3370] = 0; [3371] = 0; [3372] = 0; [3373] = 0; [3374] = 0; [3375] = 0; [3376] = 0; [3377] = 0; [3378] = 0; [3379] = 0; [3380] = 0; [3381] = 0; [3382] = 0; [3383] = 0; [3384] = 0; [3385] = 0; [3386] = 0; [3387] = 0; [3388] = 0; [3389] = 0; [3390] = 0; [3391] = 0; [3392] = 0; [3393] = 0; [3394] = 0; [3395] = 0; [3396] = 0; [3397] = 0; [3398] = 0; [3399] = 0; [3400] = 0; [3401] = 0; [3402] = 0; [3403] = 0; [3404] = 0; [3405] = 0; [3406] = 0; [3407] = 0; [3408] = 0; [3409] = 0; [3410] = 0; [3411] = 0; [3412] = 0; [3413] = 0; [3414] = 0; [3415] = 0; [3416] = 0; [3417] = 0; [3418] = 0; [3419] = 0; [3420] = 0; [3421] = 0; [3422] = 0; [3423] = 0; [3424] = 0; [3425] = 0; [3426] = 0; [3427] = 0; [3428] = 0; [3429] = 0; [3430] = 0; [3431] = 0; [3432] = 0; [3433] = 0; [3434] = 0; [3435] = 0; [3436] = 0; [3437] = 0; [3438] = 0; [3439] = 0; [3440] = 0; [3441] = 0; [3442] = 0; [3443] = 0; [3444] = 0; [3445] = 0; [3446] = 0; [3447] = 0; [3448] = 0; [3449] = 0; [3450] = 0; [3451] = 0; [3452] = 0; [3453] = 0; [3454] = 0; [3455] = 0; [3456] = 0; [3457] = 0; [3458] = 0; [3459] = 0; [3460] = 0; [3461] = 0; [3462] = 0; [3463] = 0; [3464] = 0; [3465] = 0; [3466] = 0; [3467] = 0; [3468] = 0; [3469] = 0; [3470] = 0; [3471] = 0; [3472] = 0; [3473] = 0; [3474] = 0; [3475] = 0; [3476] = 0; [3477] = 0; [3478] = 0; [3479] = 0; [3480] = 0; [3481] = 0; [3482] = 0; [3483] = 0; [3484] = 0; [3485] = 0; [3486] = 0; [3487] = 0; [3488] = 0; [3489] = 0; [3490] = 0; [3491] = 0; [3492] = 0; [3493] = 0; [3494] = 0; [3495] = 0; [3496] = 0; [3497] = 0; [3498] = 0; [3499] = 0; [3500] = 0; [3501] = 0; [3502] = 0; [3503] = 0; [3504] = 0; [3505] = 0; [3506] = 0; [3507] = 0; [3508] = 0; [3509] = 0; [3510] = 0; [3511] = 0; [3512] = 0; [3513] = 0; [3514] = 0; [3515] = 0; [3516] = 0; [3517] = 0; [3518] = 0; [3519] = 0; [3520] = 0; [3521] = 0; [3522] = 0; [3523] = 0; [3524] = 0; [3525] = 0; [3526] = 0; [3527] = 0; [3528] = 0; [3529] = 0; [3530] = 0; [3531] = 0; [3532] = 0; [3533] = 0; [3534] = 0; [3535] = 0; [3536] = 0; [3537] = 0; [3538] = 0; [3539] = 0; [3540] = 0; [3541] = 0; [3542] = 0; [3543] = 0; [3544] = 0; [3545] = 0; [3546] = 0; [3547] = 0; [3548] = 0; [3549] = 0; [3550] = 0; [3551] = 0; [3552] = 0; [3553] = 0; [3554] = 0; [3555] = 0; [3556] = 0; [3557] = 0; [3558] = 0; [3559] = 0; [3560] = 0; [3561] = 0; [3562] = 0; [3563] = 0; [3564] = 0; [3565] = 0; [3566] = 0; [3567] = 0; [3568] = 0; [3569] = 0; [3570] = 0; [3571] = 0; [3572] = 0; [3573] = 0; [3574] = 0; [3575] = 0; [3576] = 0; [3577] = 0; [3578] = 0; [3579] = 0; [3580] = 0; [3581] = 0; [3582] = 0; [3583] = 0; [3584] = 0; [3585] = 0; [3586] = 0; [3587] = 0; [3588] = 0; [3589] = 0; [3590] = 0; [3591] = 0; [3592] = 0; [3593] = 0; [3594] = 0; [3595] = 0; [3596] = 0; [3597] = 0; [3598] = 0; [3599] = 0; [3600] = 0; [3601] = 0; [3602] = 0; [3603] = 0; [3604] = 0; [3605] = 0; [3606] = 0; [3607] = 0; [3608] = 0; [3609] = 0; [3610] = 0; [3611] = 0; [3612] = 0; [3613] = 0; [3614] = 0; [3615] = 0; [3616] = 0; [3617] = 0; [3618] = 0; [3619] = 0; [3620] = 0; [3621] = 0; [3622] = 0; [3623] = 0; [3624] = 0; [3625] = 0; [3626] = 0; [3627] = 0; [3628] = 0; [3629] = 0; [3630] = 0; [3631] = 0; [3632] = 0; [3633] = 0; [3634] = 0; [3635] = 0; [3636] = 0; [3637] = 0; [3638] = 0; [3639] = 0; [3640] = 0; [3641] = 0; [3642] = 0; [3643] = 0; [3644] = 0; [3645] = 0; [3646] = 0; [3647] = 0; [3648] = 0; [3649] = 0; [3650] = 0; [3651] = 0; [3652] = 0; [3653] = 0; [3654] = 0; [3655] = 0; [3656] = 0; [3657] = 0; [3658] = 0; [3659] = 0; [3660] = 0; [3661] = 0; [3662] = 0; [3663] = 0; [3664] = 0; [3665] = 0; [3666] = 0; [3667] = 0; [3668] = 0; [3669] = 0; [3670] = 0; [3671] = 0; [3672] = 0; [3673] = 0; [3674] = 0; [3675] = 0; [3676] = 0; [3677] = 0; [3678] = 0; [3679] = 0; [3680] = 0; [3681] = 0; [3682] = 0; [3683] = 0; [3684] = 0; [3685] = 0; [3686] = 0; [3687] = 0; [3688] = 0; [3689] = 0; [3690] = 0; [3691] = 0; [3692] = 0; [3693] = 0; [3694] = 0; [3695] = 0; [3696] = 0; [3697] = 0; [3698] = 0; [3699] = 0; [3700] = 0; [3701] = 0; [3702] = 0; [3703] = 0; [3704] = 0; [3705] = 0; [3706] = 0; [3707] = 0; [3708] = 0; [3709] = 0; [3710] = 0; [3711] = 0; [3712] = 0; [3713] = 0; [3714] = 0; [3715] = 0; [3716] = 0; [3717] = 0; [3718] = 0; [3719] = 0; [3720] = 0; [3721] = 0; [3722] = 0; [3723] = 0; [3724] = 0; [3725] = 0; [3726] = 0; [3727] = 0; [3728] = 0; [3729] = 0; [3730] = 0; [3731] = 0; [3732] = 0; [3733] = 0; [3734] = 0; [3735] = 0; [3736] = 0; [3737] = 0; [3738] = 0; [3739] = 0; [3740] = 0; [3741] = 0; [3742] = 0; [3743] = 0; [3744] = 0; [3745] = 0; [3746] = 0; [3747] = 0; [3748] = 0; [3749] = 0; [3750] = 0; [3751] = 0; [3752] = 0; [3753] = 0; [3754] = 0; [3755] = 0; [3756] = 0; [3757] = 0; [3758] = 0; [3759] = 0; [3760] = 0; [3761] = 0; [3762] = 0; [3763] = 0; [3764] = 0; [3765] = 0; [3766] = 0; [3767] = 0; [3768] = 0; [3769] = 0; [3770] = 0; [3771] = 0; [3772] = 0; [3773] = 0; [3774] = 0; [3775] = 0; [3776] = 0; [3777] = 0; [3778] = 0; [3779] = 0; [3780] = 0; [3781] = 0; [3782] = 0; [3783] = 0; [3784] = 0; [3785] = 0; [3786] = 0; [3787] = 0; [3788] = 0; [3789] = 0; [3790] = 0; [3791] = 0; [3792] = 0; [3793] = 0; [3794] = 0; [3795] = 0; [3796] = 0; [3797] = 0; [3798] = 0; [3799] = 0; [3800] = 0; [3801] = 0; [3802] = 0; [3803] = 0; [3804] = 0; [3805] = 0; [3806] = 0; [3807] = 0; [3808] = 0; [3809] = 0; [3810] = 0; [3811] = 0; [3812] = 0; [3813] = 0; [3814] = 0; [3815] = 0; [3816] = 0; [3817] = 0; [3818] = 0; [3819] = 0; [3820] = 0; [3821] = 0; [3822] = 0; [3823] = 0; [3824] = 0; [3825] = 0; [3826] = 0; [3827] = 0; [3828] = 0; [3829] = 0; [3830] = 0; [3831] = 0; [3832] = 0; [3833] = 0; [3834] = 0; [3835] = 0; [3836] = 0; [3837] = 0; [3838] = 0; [3839] = 0; [3840] = 0; [3841] = 0; [3842] = 0; [3843] = 0; [3844] = 0; [3845] = 0; [3846] = 0; [3847] = 0; [3848] = 0; [3849] = 0; [3850] = 0; [3851] = 0; [3852] = 0; [3853] = 0; [3854] = 0; [3855] = 0; [3856] = 0; [3857] = 0; [3858] = 0; [3859] = 0; [3860] = 0; [3861] = 0; [3862] = 0; [3863] = 0; [3864] = 0; [3865] = 0; [3866] = 0; [3867] = 0; [3868] = 0; [3869] = 0; [3870] = 0; [3871] = 0; [3872] = 0; [3873] = 0; [3874] = 0; [3875] = 0; [3876] = 0; [3877] = 0; [3878] = 0; [3879] = 0; [3880] = 0; [3881] = 0; [3882] = 0; [3883] = 0; [3884] = 0; [3885] = 0; [3886] = 0; [3887] = 0; [3888] = 0; [3889] = 0; [3890] = 0; [3891] = 0; [3892] = 0; [3893] = 0; [3894] = 0; [3895] = 0; [3896] = 0; [3897] = 0; [3898] = 0; [3899] = 0; [3900] = 0; [3901] = 0; [3902] = 0; [3903] = 0; [3904] = 0; [3905] = 0; [3906] = 0; [3907] = 0; [3908] = 0; [3909] = 0; [3910] = 0; [3911] = 0; [3912] = 0; [3913] = 0; [3914] = 0; [3915] = 0; [3916] = 0; [3917] = 0; [3918] = 0; [3919] = 0; [3920] = 0; [3921] = 0; [3922] = 0; [3923] = 0; [3924] = 0; [3925] = 0; [3926] = 0; [3927] = 0; [3928] = 0; [3929] = 0; [3930] = 0; [3931] = 0; [3932] = 0; [3933] = 0; [3934] = 0; [3935] = 0; [3936] = 0; [3937] = 0; [3938] = 0; [3939] = 0; [3940] = 0; [3941] = 0; [3942] = 0; [3943] = 0; [3944] = 0; [3945] = 0; [3946] = 0; [3947] = 0; [3948] = 0; [3949] = 0; [3950] = 0; [3951] = 0; [3952] = 0; [3953] = 0; [3954] = 0; [3955] = 0; [3956] = 0; [3957] = 0; [3958] = 0; [3959] = 0; [3960] = 0; [3961] = 0; [3962] = 0; [3963] = 0; [3964] = 0; [3965] = 0; [3966] = 0; [3967] = 0; [3968] = 0; [3969] = 0; [3970] = 0; [3971] = 0; [3972] = 0; [3973] = 0; [3974] = 0; [3975] = 0; [3976] = 0; [3977] = 0; [3978] = 0; [3979] = 0; [3980] = 0; [3981] = 0; [3982] = 0; [3983] = 0; [3984] = 0; [3985] = 0; [3986] = 0; [3987] = 0; [3988] = 0; [3989] = 0; [3990] = 0; [3991] = 0; [3992] = 0; [3993] = 0; [3994] = 0; [3995] = 0; [3996] = 0; [3997] = 0; [3998] = 0; [3999] = 0; [4000] = 0; [4001] = 0; [4002] = 0; [4003] = 0; [4004] = 0; [4005] = 0; [4006] = 0; [4007] = 0; [4008] = 0; [4009] = 0; [4010] = 0; [4011] = 0; [4012] = 0; [4013] = 0; [4014] = 0; [4015] = 0; [4016] = 0; [4017] = 0; [4018] = 0; [4019] = 0; [4020] = 0; [4021] = 0; [4022] = 0; [4023] = 0; [4024] = 0; [4025] = 0; [4026] = 0; [4027] = 0; [4028] = 0; [4029] = 0; [4030] = 0; [4031] = 0; [4032] = 0; [4033] = 0; [4034] = 0; [4035] = 0; [4036] = 0; [4037] = 0; [4038] = 0; [4039] = 0; [4040] = 0; [4041] = 0; [4042] = 0; [4043] = 0; [4044] = 0; [4045] = 0; [4046] = 0; [4047] = 0; [4048] = 0; [4049] = 0; [4050] = 0; [4051] = 0; [4052] = 0; [4053] = 0; [4054] = 0; [4055] = 0; [4056] = 0; [4057] = 0; [4058] = 0; [4059] = 0; [4060] = 0; [4061] = 0; [4062] = 0; [4063] = 0; [4064] = 0; [4065] = 0; [4066] = 0; [4067] = 0; [4068] = 0; [4069] = 0; [4070] = 0; [4071] = 0; [4072] = 0; [4073] = 0; [4074] = 0; [4075] = 0; [4076] = 0; [4077] = 0; [4078] = 0; [4079] = 0; [4080] = 0; [4081] = 0; [4082] = 0; [4083] = 0; [4084] = 0; [4085] = 0; [4086] = 0; [4087] = 0; [4088] = 0; [4089] = 0; [4090] = 0; [4091] = 0; [4092] = 0; [4093] = 0; [4094] = 0; [4095] = 0; [4096] = 0; }; ["offsetx"] = 0; ["type"] = "tilelayer"; ["width"] = 64; ["name"] = "edges"; ["opacity"] = 1; }; [5] = { ["x"] = 0; ["encoding"] = "lua"; ["visible"] = true; ["offsety"] = 0; ["properties"] = { ["depth"] = 9002; }; ["y"] = 0; ["height"] = 64; ["data"] = { [1] = 0; [2] = 0; [3] = 0; [4] = 0; [5] = 0; [6] = 0; [7] = 0; [8] = 0; [9] = 0; [10] = 0; [11] = 0; [12] = 0; [13] = 0; [14] = 0; [15] = 0; [16] = 0; [17] = 0; [18] = 0; [19] = 0; [20] = 0; [21] = 0; [22] = 0; [23] = 0; [24] = 0; [25] = 0; [26] = 0; [27] = 0; [28] = 0; [29] = 0; [30] = 0; [31] = 0; [32] = 0; [33] = 0; [34] = 0; [35] = 0; [36] = 0; [37] = 0; [38] = 0; [39] = 0; [40] = 0; [41] = 0; [42] = 0; [43] = 0; [44] = 0; [45] = 0; [46] = 0; [47] = 0; [48] = 0; [49] = 0; [50] = 0; [51] = 0; [52] = 0; [53] = 0; [54] = 0; [55] = 0; [56] = 0; [57] = 0; [58] = 0; [59] = 0; [60] = 0; [61] = 0; [62] = 0; [63] = 0; [64] = 0; [65] = 0; [66] = 0; [67] = 0; [68] = 0; [69] = 0; [70] = 0; [71] = 0; [72] = 0; [73] = 0; [74] = 0; [75] = 0; [76] = 0; [77] = 0; [78] = 0; [79] = 0; [80] = 0; [81] = 0; [82] = 0; [83] = 0; [84] = 0; [85] = 0; [86] = 0; [87] = 0; [88] = 0; [89] = 0; [90] = 0; [91] = 0; [92] = 0; [93] = 0; [94] = 0; [95] = 0; [96] = 0; [97] = 0; [98] = 0; [99] = 0; [100] = 0; [101] = 0; [102] = 0; [103] = 0; [104] = 0; [105] = 0; [106] = 0; [107] = 0; [108] = 0; [109] = 0; [110] = 0; [111] = 0; [112] = 0; [113] = 0; [114] = 0; [115] = 0; [116] = 0; [117] = 0; [118] = 0; [119] = 0; [120] = 0; [121] = 0; [122] = 0; [123] = 0; [124] = 0; [125] = 0; [126] = 0; [127] = 0; [128] = 0; [129] = 0; [130] = 0; [131] = 0; [132] = 0; [133] = 0; [134] = 0; [135] = 0; [136] = 0; [137] = 0; [138] = 0; [139] = 0; [140] = 0; [141] = 0; [142] = 0; [143] = 0; [144] = 0; [145] = 0; [146] = 0; [147] = 0; [148] = 0; [149] = 0; [150] = 0; [151] = 0; [152] = 0; [153] = 0; [154] = 0; [155] = 0; [156] = 0; [157] = 0; [158] = 0; [159] = 0; [160] = 0; [161] = 0; [162] = 0; [163] = 0; [164] = 0; [165] = 0; [166] = 0; [167] = 0; [168] = 0; [169] = 0; [170] = 0; [171] = 0; [172] = 0; [173] = 0; [174] = 0; [175] = 0; [176] = 0; [177] = 0; [178] = 0; [179] = 0; [180] = 0; [181] = 0; [182] = 0; [183] = 0; [184] = 0; [185] = 0; [186] = 0; [187] = 0; [188] = 0; [189] = 0; [190] = 0; [191] = 0; [192] = 0; [193] = 0; [194] = 0; [195] = 0; [196] = 0; [197] = 0; [198] = 0; [199] = 0; [200] = 0; [201] = 0; [202] = 0; [203] = 0; [204] = 0; [205] = 0; [206] = 0; [207] = 0; [208] = 0; [209] = 0; [210] = 0; [211] = 0; [212] = 0; [213] = 0; [214] = 0; [215] = 0; [216] = 0; [217] = 0; [218] = 0; [219] = 0; [220] = 0; [221] = 0; [222] = 0; [223] = 0; [224] = 0; [225] = 0; [226] = 0; [227] = 0; [228] = 0; [229] = 0; [230] = 0; [231] = 0; [232] = 0; [233] = 0; [234] = 0; [235] = 0; [236] = 0; [237] = 0; [238] = 0; [239] = 0; [240] = 0; [241] = 0; [242] = 0; [243] = 0; [244] = 0; [245] = 0; [246] = 0; [247] = 0; [248] = 0; [249] = 0; [250] = 0; [251] = 0; [252] = 0; [253] = 0; [254] = 0; [255] = 0; [256] = 0; [257] = 0; [258] = 0; [259] = 0; [260] = 0; [261] = 0; [262] = 0; [263] = 0; [264] = 0; [265] = 0; [266] = 0; [267] = 0; [268] = 0; [269] = 0; [270] = 0; [271] = 0; [272] = 0; [273] = 0; [274] = 0; [275] = 0; [276] = 0; [277] = 0; [278] = 0; [279] = 0; [280] = 0; [281] = 0; [282] = 0; [283] = 0; [284] = 0; [285] = 0; [286] = 0; [287] = 0; [288] = 0; [289] = 0; [290] = 0; [291] = 0; [292] = 0; [293] = 0; [294] = 0; [295] = 0; [296] = 0; [297] = 0; [298] = 0; [299] = 0; [300] = 0; [301] = 0; [302] = 0; [303] = 0; [304] = 0; [305] = 0; [306] = 0; [307] = 0; [308] = 0; [309] = 0; [310] = 0; [311] = 0; [312] = 0; [313] = 0; [314] = 0; [315] = 0; [316] = 0; [317] = 0; [318] = 0; [319] = 0; [320] = 0; [321] = 0; [322] = 0; [323] = 0; [324] = 0; [325] = 0; [326] = 0; [327] = 0; [328] = 0; [329] = 0; [330] = 0; [331] = 0; [332] = 0; [333] = 0; [334] = 0; [335] = 0; [336] = 0; [337] = 0; [338] = 0; [339] = 0; [340] = 0; [341] = 0; [342] = 0; [343] = 0; [344] = 0; [345] = 0; [346] = 0; [347] = 0; [348] = 0; [349] = 0; [350] = 0; [351] = 0; [352] = 0; [353] = 0; [354] = 0; [355] = 0; [356] = 0; [357] = 0; [358] = 0; [359] = 0; [360] = 0; [361] = 0; [362] = 0; [363] = 0; [364] = 0; [365] = 0; [366] = 0; [367] = 0; [368] = 0; [369] = 0; [370] = 0; [371] = 0; [372] = 0; [373] = 0; [374] = 0; [375] = 0; [376] = 0; [377] = 0; [378] = 0; [379] = 0; [380] = 0; [381] = 0; [382] = 0; [383] = 0; [384] = 0; [385] = 0; [386] = 0; [387] = 0; [388] = 0; [389] = 0; [390] = 0; [391] = 0; [392] = 0; [393] = 0; [394] = 0; [395] = 0; [396] = 0; [397] = 0; [398] = 0; [399] = 0; [400] = 0; [401] = 0; [402] = 0; [403] = 0; [404] = 0; [405] = 0; [406] = 0; [407] = 0; [408] = 0; [409] = 0; [410] = 0; [411] = 0; [412] = 0; [413] = 0; [414] = 0; [415] = 0; [416] = 0; [417] = 0; [418] = 0; [419] = 0; [420] = 0; [421] = 0; [422] = 0; [423] = 0; [424] = 0; [425] = 0; [426] = 0; [427] = 0; [428] = 0; [429] = 0; [430] = 0; [431] = 0; [432] = 0; [433] = 0; [434] = 0; [435] = 0; [436] = 0; [437] = 0; [438] = 0; [439] = 0; [440] = 0; [441] = 0; [442] = 0; [443] = 0; [444] = 0; [445] = 0; [446] = 0; [447] = 0; [448] = 0; [449] = 0; [450] = 0; [451] = 0; [452] = 0; [453] = 0; [454] = 0; [455] = 0; [456] = 0; [457] = 0; [458] = 0; [459] = 0; [460] = 0; [461] = 0; [462] = 0; [463] = 0; [464] = 0; [465] = 0; [466] = 0; [467] = 0; [468] = 0; [469] = 0; [470] = 0; [471] = 0; [472] = 0; [473] = 0; [474] = 0; [475] = 0; [476] = 0; [477] = 0; [478] = 0; [479] = 0; [480] = 0; [481] = 0; [482] = 0; [483] = 0; [484] = 0; [485] = 0; [486] = 0; [487] = 0; [488] = 0; [489] = 0; [490] = 0; [491] = 0; [492] = 0; [493] = 0; [494] = 0; [495] = 0; [496] = 0; [497] = 0; [498] = 0; [499] = 0; [500] = 0; [501] = 0; [502] = 0; [503] = 0; [504] = 0; [505] = 0; [506] = 0; [507] = 0; [508] = 0; [509] = 0; [510] = 0; [511] = 0; [512] = 0; [513] = 0; [514] = 0; [515] = 0; [516] = 0; [517] = 0; [518] = 0; [519] = 0; [520] = 0; [521] = 0; [522] = 0; [523] = 0; [524] = 0; [525] = 0; [526] = 0; [527] = 0; [528] = 0; [529] = 0; [530] = 0; [531] = 0; [532] = 0; [533] = 0; [534] = 0; [535] = 0; [536] = 0; [537] = 0; [538] = 0; [539] = 0; [540] = 0; [541] = 0; [542] = 0; [543] = 0; [544] = 0; [545] = 0; [546] = 0; [547] = 0; [548] = 0; [549] = 0; [550] = 0; [551] = 0; [552] = 0; [553] = 0; [554] = 0; [555] = 0; [556] = 0; [557] = 0; [558] = 0; [559] = 0; [560] = 0; [561] = 0; [562] = 0; [563] = 0; [564] = 0; [565] = 0; [566] = 0; [567] = 0; [568] = 0; [569] = 0; [570] = 0; [571] = 0; [572] = 0; [573] = 0; [574] = 0; [575] = 0; [576] = 0; [577] = 0; [578] = 0; [579] = 0; [580] = 0; [581] = 0; [582] = 0; [583] = 0; [584] = 0; [585] = 0; [586] = 0; [587] = 0; [588] = 0; [589] = 0; [590] = 0; [591] = 0; [592] = 0; [593] = 0; [594] = 0; [595] = 0; [596] = 0; [597] = 0; [598] = 0; [599] = 0; [600] = 0; [601] = 0; [602] = 0; [603] = 0; [604] = 0; [605] = 0; [606] = 0; [607] = 0; [608] = 0; [609] = 0; [610] = 0; [611] = 0; [612] = 0; [613] = 0; [614] = 0; [615] = 0; [616] = 0; [617] = 0; [618] = 0; [619] = 0; [620] = 0; [621] = 0; [622] = 0; [623] = 0; [624] = 0; [625] = 0; [626] = 0; [627] = 0; [628] = 0; [629] = 0; [630] = 0; [631] = 0; [632] = 0; [633] = 0; [634] = 0; [635] = 0; [636] = 0; [637] = 0; [638] = 0; [639] = 0; [640] = 0; [641] = 0; [642] = 0; [643] = 0; [644] = 0; [645] = 0; [646] = 0; [647] = 0; [648] = 0; [649] = 0; [650] = 0; [651] = 0; [652] = 0; [653] = 0; [654] = 0; [655] = 0; [656] = 0; [657] = 0; [658] = 0; [659] = 0; [660] = 0; [661] = 0; [662] = 0; [663] = 0; [664] = 0; [665] = 0; [666] = 0; [667] = 0; [668] = 0; [669] = 0; [670] = 0; [671] = 0; [672] = 0; [673] = 0; [674] = 0; [675] = 0; [676] = 0; [677] = 0; [678] = 0; [679] = 0; [680] = 0; [681] = 0; [682] = 0; [683] = 0; [684] = 0; [685] = 0; [686] = 0; [687] = 0; [688] = 0; [689] = 0; [690] = 0; [691] = 0; [692] = 0; [693] = 0; [694] = 0; [695] = 0; [696] = 0; [697] = 0; [698] = 0; [699] = 0; [700] = 0; [701] = 0; [702] = 0; [703] = 0; [704] = 0; [705] = 0; [706] = 0; [707] = 0; [708] = 0; [709] = 0; [710] = 0; [711] = 0; [712] = 0; [713] = 0; [714] = 0; [715] = 0; [716] = 0; [717] = 0; [718] = 0; [719] = 0; [720] = 0; [721] = 0; [722] = 0; [723] = 0; [724] = 0; [725] = 0; [726] = 0; [727] = 0; [728] = 0; [729] = 0; [730] = 0; [731] = 0; [732] = 0; [733] = 0; [734] = 0; [735] = 0; [736] = 0; [737] = 0; [738] = 0; [739] = 0; [740] = 0; [741] = 0; [742] = 0; [743] = 0; [744] = 0; [745] = 0; [746] = 0; [747] = 0; [748] = 0; [749] = 0; [750] = 0; [751] = 0; [752] = 0; [753] = 0; [754] = 0; [755] = 0; [756] = 0; [757] = 0; [758] = 0; [759] = 0; [760] = 0; [761] = 0; [762] = 0; [763] = 0; [764] = 0; [765] = 0; [766] = 0; [767] = 0; [768] = 0; [769] = 0; [770] = 0; [771] = 0; [772] = 0; [773] = 0; [774] = 0; [775] = 0; [776] = 0; [777] = 0; [778] = 0; [779] = 0; [780] = 0; [781] = 0; [782] = 0; [783] = 0; [784] = 0; [785] = 0; [786] = 0; [787] = 0; [788] = 0; [789] = 0; [790] = 0; [791] = 0; [792] = 0; [793] = 0; [794] = 0; [795] = 0; [796] = 0; [797] = 0; [798] = 0; [799] = 0; [800] = 0; [801] = 0; [802] = 0; [803] = 0; [804] = 0; [805] = 0; [806] = 0; [807] = 0; [808] = 0; [809] = 0; [810] = 0; [811] = 0; [812] = 0; [813] = 0; [814] = 0; [815] = 0; [816] = 0; [817] = 0; [818] = 0; [819] = 0; [820] = 0; [821] = 0; [822] = 0; [823] = 0; [824] = 0; [825] = 0; [826] = 0; [827] = 0; [828] = 0; [829] = 0; [830] = 0; [831] = 0; [832] = 0; [833] = 0; [834] = 0; [835] = 0; [836] = 0; [837] = 0; [838] = 0; [839] = 0; [840] = 0; [841] = 0; [842] = 0; [843] = 0; [844] = 0; [845] = 0; [846] = 0; [847] = 0; [848] = 0; [849] = 0; [850] = 0; [851] = 0; [852] = 0; [853] = 0; [854] = 0; [855] = 0; [856] = 0; [857] = 0; [858] = 0; [859] = 0; [860] = 0; [861] = 0; [862] = 0; [863] = 0; [864] = 0; [865] = 0; [866] = 0; [867] = 0; [868] = 0; [869] = 0; [870] = 0; [871] = 0; [872] = 0; [873] = 0; [874] = 0; [875] = 0; [876] = 0; [877] = 0; [878] = 0; [879] = 0; [880] = 0; [881] = 0; [882] = 0; [883] = 0; [884] = 0; [885] = 0; [886] = 0; [887] = 0; [888] = 0; [889] = 0; [890] = 0; [891] = 0; [892] = 0; [893] = 0; [894] = 0; [895] = 0; [896] = 0; [897] = 0; [898] = 0; [899] = 0; [900] = 0; [901] = 0; [902] = 0; [903] = 0; [904] = 0; [905] = 0; [906] = 0; [907] = 0; [908] = 0; [909] = 0; [910] = 0; [911] = 0; [912] = 0; [913] = 0; [914] = 0; [915] = 0; [916] = 0; [917] = 0; [918] = 0; [919] = 0; [920] = 0; [921] = 0; [922] = 0; [923] = 0; [924] = 0; [925] = 0; [926] = 0; [927] = 0; [928] = 0; [929] = 0; [930] = 0; [931] = 0; [932] = 0; [933] = 0; [934] = 0; [935] = 0; [936] = 0; [937] = 0; [938] = 0; [939] = 0; [940] = 0; [941] = 0; [942] = 0; [943] = 0; [944] = 0; [945] = 0; [946] = 0; [947] = 0; [948] = 0; [949] = 0; [950] = 0; [951] = 0; [952] = 0; [953] = 0; [954] = 0; [955] = 0; [956] = 0; [957] = 0; [958] = 0; [959] = 0; [960] = 0; [961] = 0; [962] = 0; [963] = 0; [964] = 0; [965] = 0; [966] = 0; [967] = 0; [968] = 0; [969] = 0; [970] = 0; [971] = 0; [972] = 0; [973] = 0; [974] = 0; [975] = 0; [976] = 0; [977] = 0; [978] = 0; [979] = 0; [980] = 0; [981] = 0; [982] = 0; [983] = 0; [984] = 0; [985] = 0; [986] = 0; [987] = 0; [988] = 0; [989] = 0; [990] = 0; [991] = 0; [992] = 0; [993] = 0; [994] = 0; [995] = 0; [996] = 0; [997] = 0; [998] = 0; [999] = 0; [1000] = 0; [1001] = 0; [1002] = 0; [1003] = 0; [1004] = 0; [1005] = 0; [1006] = 0; [1007] = 0; [1008] = 0; [1009] = 0; [1010] = 0; [1011] = 0; [1012] = 0; [1013] = 0; [1014] = 0; [1015] = 0; [1016] = 0; [1017] = 0; [1018] = 0; [1019] = 0; [1020] = 0; [1021] = 0; [1022] = 0; [1023] = 0; [1024] = 0; [1025] = 0; [1026] = 0; [1027] = 0; [1028] = 0; [1029] = 0; [1030] = 0; [1031] = 0; [1032] = 0; [1033] = 0; [1034] = 0; [1035] = 0; [1036] = 0; [1037] = 0; [1038] = 0; [1039] = 0; [1040] = 0; [1041] = 0; [1042] = 0; [1043] = 0; [1044] = 0; [1045] = 0; [1046] = 0; [1047] = 0; [1048] = 0; [1049] = 0; [1050] = 0; [1051] = 0; [1052] = 0; [1053] = 0; [1054] = 0; [1055] = 0; [1056] = 0; [1057] = 0; [1058] = 0; [1059] = 0; [1060] = 0; [1061] = 0; [1062] = 0; [1063] = 0; [1064] = 0; [1065] = 0; [1066] = 0; [1067] = 0; [1068] = 0; [1069] = 0; [1070] = 0; [1071] = 0; [1072] = 0; [1073] = 0; [1074] = 0; [1075] = 0; [1076] = 0; [1077] = 0; [1078] = 0; [1079] = 0; [1080] = 0; [1081] = 0; [1082] = 0; [1083] = 0; [1084] = 0; [1085] = 0; [1086] = 0; [1087] = 0; [1088] = 0; [1089] = 0; [1090] = 0; [1091] = 0; [1092] = 0; [1093] = 0; [1094] = 0; [1095] = 0; [1096] = 0; [1097] = 0; [1098] = 0; [1099] = 0; [1100] = 0; [1101] = 0; [1102] = 0; [1103] = 0; [1104] = 0; [1105] = 0; [1106] = 0; [1107] = 0; [1108] = 0; [1109] = 0; [1110] = 0; [1111] = 0; [1112] = 0; [1113] = 0; [1114] = 0; [1115] = 0; [1116] = 0; [1117] = 0; [1118] = 0; [1119] = 0; [1120] = 0; [1121] = 0; [1122] = 0; [1123] = 0; [1124] = 0; [1125] = 0; [1126] = 0; [1127] = 0; [1128] = 0; [1129] = 0; [1130] = 0; [1131] = 0; [1132] = 0; [1133] = 0; [1134] = 0; [1135] = 0; [1136] = 0; [1137] = 0; [1138] = 0; [1139] = 0; [1140] = 0; [1141] = 0; [1142] = 0; [1143] = 0; [1144] = 0; [1145] = 0; [1146] = 0; [1147] = 0; [1148] = 0; [1149] = 0; [1150] = 0; [1151] = 0; [1152] = 0; [1153] = 0; [1154] = 0; [1155] = 0; [1156] = 0; [1157] = 0; [1158] = 0; [1159] = 0; [1160] = 0; [1161] = 0; [1162] = 0; [1163] = 0; [1164] = 0; [1165] = 0; [1166] = 0; [1167] = 0; [1168] = 0; [1169] = 0; [1170] = 0; [1171] = 0; [1172] = 0; [1173] = 0; [1174] = 0; [1175] = 0; [1176] = 0; [1177] = 0; [1178] = 0; [1179] = 0; [1180] = 0; [1181] = 0; [1182] = 0; [1183] = 0; [1184] = 0; [1185] = 0; [1186] = 0; [1187] = 0; [1188] = 0; [1189] = 0; [1190] = 0; [1191] = 0; [1192] = 0; [1193] = 0; [1194] = 0; [1195] = 0; [1196] = 0; [1197] = 0; [1198] = 0; [1199] = 0; [1200] = 0; [1201] = 0; [1202] = 0; [1203] = 0; [1204] = 0; [1205] = 0; [1206] = 0; [1207] = 0; [1208] = 0; [1209] = 0; [1210] = 0; [1211] = 0; [1212] = 0; [1213] = 0; [1214] = 0; [1215] = 0; [1216] = 0; [1217] = 0; [1218] = 0; [1219] = 0; [1220] = 0; [1221] = 0; [1222] = 0; [1223] = 0; [1224] = 0; [1225] = 0; [1226] = 0; [1227] = 0; [1228] = 0; [1229] = 0; [1230] = 0; [1231] = 0; [1232] = 0; [1233] = 0; [1234] = 0; [1235] = 0; [1236] = 0; [1237] = 0; [1238] = 0; [1239] = 0; [1240] = 0; [1241] = 0; [1242] = 0; [1243] = 0; [1244] = 0; [1245] = 0; [1246] = 0; [1247] = 0; [1248] = 0; [1249] = 0; [1250] = 0; [1251] = 0; [1252] = 0; [1253] = 0; [1254] = 0; [1255] = 0; [1256] = 0; [1257] = 0; [1258] = 0; [1259] = 0; [1260] = 0; [1261] = 0; [1262] = 0; [1263] = 0; [1264] = 0; [1265] = 0; [1266] = 0; [1267] = 0; [1268] = 0; [1269] = 0; [1270] = 0; [1271] = 0; [1272] = 0; [1273] = 0; [1274] = 0; [1275] = 0; [1276] = 0; [1277] = 0; [1278] = 0; [1279] = 0; [1280] = 0; [1281] = 0; [1282] = 0; [1283] = 0; [1284] = 0; [1285] = 0; [1286] = 0; [1287] = 0; [1288] = 0; [1289] = 0; [1290] = 0; [1291] = 0; [1292] = 0; [1293] = 0; [1294] = 0; [1295] = 0; [1296] = 0; [1297] = 0; [1298] = 0; [1299] = 0; [1300] = 0; [1301] = 0; [1302] = 0; [1303] = 0; [1304] = 0; [1305] = 0; [1306] = 0; [1307] = 0; [1308] = 0; [1309] = 0; [1310] = 0; [1311] = 0; [1312] = 0; [1313] = 0; [1314] = 0; [1315] = 0; [1316] = 0; [1317] = 0; [1318] = 0; [1319] = 0; [1320] = 0; [1321] = 0; [1322] = 0; [1323] = 0; [1324] = 0; [1325] = 0; [1326] = 0; [1327] = 0; [1328] = 0; [1329] = 0; [1330] = 0; [1331] = 0; [1332] = 0; [1333] = 0; [1334] = 0; [1335] = 0; [1336] = 0; [1337] = 0; [1338] = 0; [1339] = 0; [1340] = 0; [1341] = 0; [1342] = 0; [1343] = 0; [1344] = 0; [1345] = 0; [1346] = 0; [1347] = 0; [1348] = 0; [1349] = 0; [1350] = 0; [1351] = 0; [1352] = 0; [1353] = 0; [1354] = 0; [1355] = 0; [1356] = 0; [1357] = 0; [1358] = 0; [1359] = 0; [1360] = 0; [1361] = 0; [1362] = 0; [1363] = 0; [1364] = 0; [1365] = 0; [1366] = 0; [1367] = 0; [1368] = 0; [1369] = 0; [1370] = 0; [1371] = 0; [1372] = 0; [1373] = 0; [1374] = 0; [1375] = 0; [1376] = 0; [1377] = 0; [1378] = 0; [1379] = 0; [1380] = 0; [1381] = 0; [1382] = 0; [1383] = 0; [1384] = 0; [1385] = 0; [1386] = 0; [1387] = 0; [1388] = 0; [1389] = 0; [1390] = 0; [1391] = 0; [1392] = 0; [1393] = 0; [1394] = 0; [1395] = 0; [1396] = 0; [1397] = 0; [1398] = 0; [1399] = 0; [1400] = 0; [1401] = 0; [1402] = 0; [1403] = 0; [1404] = 0; [1405] = 0; [1406] = 0; [1407] = 0; [1408] = 0; [1409] = 0; [1410] = 0; [1411] = 0; [1412] = 0; [1413] = 0; [1414] = 0; [1415] = 0; [1416] = 0; [1417] = 0; [1418] = 0; [1419] = 0; [1420] = 0; [1421] = 0; [1422] = 0; [1423] = 0; [1424] = 0; [1425] = 0; [1426] = 0; [1427] = 0; [1428] = 0; [1429] = 0; [1430] = 0; [1431] = 0; [1432] = 0; [1433] = 0; [1434] = 0; [1435] = 0; [1436] = 0; [1437] = 0; [1438] = 0; [1439] = 0; [1440] = 0; [1441] = 0; [1442] = 0; [1443] = 0; [1444] = 0; [1445] = 0; [1446] = 0; [1447] = 0; [1448] = 0; [1449] = 0; [1450] = 0; [1451] = 0; [1452] = 0; [1453] = 0; [1454] = 0; [1455] = 0; [1456] = 0; [1457] = 0; [1458] = 0; [1459] = 0; [1460] = 0; [1461] = 0; [1462] = 0; [1463] = 0; [1464] = 0; [1465] = 0; [1466] = 0; [1467] = 0; [1468] = 0; [1469] = 0; [1470] = 0; [1471] = 0; [1472] = 0; [1473] = 0; [1474] = 0; [1475] = 0; [1476] = 0; [1477] = 0; [1478] = 0; [1479] = 0; [1480] = 0; [1481] = 0; [1482] = 0; [1483] = 0; [1484] = 0; [1485] = 0; [1486] = 0; [1487] = 0; [1488] = 0; [1489] = 0; [1490] = 0; [1491] = 0; [1492] = 0; [1493] = 0; [1494] = 0; [1495] = 0; [1496] = 0; [1497] = 0; [1498] = 0; [1499] = 0; [1500] = 0; [1501] = 0; [1502] = 0; [1503] = 0; [1504] = 0; [1505] = 0; [1506] = 0; [1507] = 0; [1508] = 0; [1509] = 0; [1510] = 0; [1511] = 0; [1512] = 0; [1513] = 0; [1514] = 0; [1515] = 0; [1516] = 0; [1517] = 0; [1518] = 0; [1519] = 0; [1520] = 0; [1521] = 0; [1522] = 0; [1523] = 0; [1524] = 0; [1525] = 0; [1526] = 0; [1527] = 0; [1528] = 0; [1529] = 0; [1530] = 0; [1531] = 0; [1532] = 0; [1533] = 0; [1534] = 0; [1535] = 0; [1536] = 0; [1537] = 0; [1538] = 0; [1539] = 0; [1540] = 0; [1541] = 0; [1542] = 0; [1543] = 0; [1544] = 0; [1545] = 0; [1546] = 0; [1547] = 0; [1548] = 0; [1549] = 0; [1550] = 0; [1551] = 0; [1552] = 0; [1553] = 0; [1554] = 0; [1555] = 0; [1556] = 0; [1557] = 0; [1558] = 0; [1559] = 0; [1560] = 0; [1561] = 0; [1562] = 0; [1563] = 0; [1564] = 0; [1565] = 0; [1566] = 0; [1567] = 0; [1568] = 0; [1569] = 0; [1570] = 0; [1571] = 0; [1572] = 0; [1573] = 0; [1574] = 0; [1575] = 0; [1576] = 0; [1577] = 0; [1578] = 0; [1579] = 0; [1580] = 0; [1581] = 0; [1582] = 0; [1583] = 0; [1584] = 0; [1585] = 0; [1586] = 0; [1587] = 0; [1588] = 0; [1589] = 0; [1590] = 0; [1591] = 0; [1592] = 0; [1593] = 0; [1594] = 0; [1595] = 0; [1596] = 0; [1597] = 0; [1598] = 0; [1599] = 0; [1600] = 0; [1601] = 0; [1602] = 0; [1603] = 0; [1604] = 0; [1605] = 0; [1606] = 0; [1607] = 0; [1608] = 0; [1609] = 0; [1610] = 0; [1611] = 0; [1612] = 0; [1613] = 0; [1614] = 0; [1615] = 0; [1616] = 0; [1617] = 0; [1618] = 0; [1619] = 0; [1620] = 0; [1621] = 0; [1622] = 0; [1623] = 0; [1624] = 0; [1625] = 0; [1626] = 0; [1627] = 0; [1628] = 0; [1629] = 0; [1630] = 0; [1631] = 0; [1632] = 0; [1633] = 0; [1634] = 0; [1635] = 0; [1636] = 0; [1637] = 0; [1638] = 0; [1639] = 0; [1640] = 0; [1641] = 0; [1642] = 0; [1643] = 0; [1644] = 0; [1645] = 0; [1646] = 0; [1647] = 0; [1648] = 0; [1649] = 0; [1650] = 0; [1651] = 0; [1652] = 0; [1653] = 0; [1654] = 0; [1655] = 0; [1656] = 0; [1657] = 0; [1658] = 0; [1659] = 0; [1660] = 0; [1661] = 0; [1662] = 0; [1663] = 0; [1664] = 0; [1665] = 0; [1666] = 0; [1667] = 0; [1668] = 0; [1669] = 0; [1670] = 0; [1671] = 0; [1672] = 0; [1673] = 0; [1674] = 0; [1675] = 0; [1676] = 0; [1677] = 0; [1678] = 0; [1679] = 0; [1680] = 0; [1681] = 0; [1682] = 0; [1683] = 0; [1684] = 0; [1685] = 0; [1686] = 0; [1687] = 0; [1688] = 0; [1689] = 0; [1690] = 0; [1691] = 0; [1692] = 0; [1693] = 0; [1694] = 0; [1695] = 0; [1696] = 0; [1697] = 0; [1698] = 0; [1699] = 0; [1700] = 0; [1701] = 0; [1702] = 0; [1703] = 0; [1704] = 0; [1705] = 0; [1706] = 0; [1707] = 0; [1708] = 0; [1709] = 0; [1710] = 0; [1711] = 0; [1712] = 0; [1713] = 0; [1714] = 0; [1715] = 0; [1716] = 0; [1717] = 0; [1718] = 0; [1719] = 0; [1720] = 0; [1721] = 0; [1722] = 0; [1723] = 0; [1724] = 0; [1725] = 0; [1726] = 0; [1727] = 0; [1728] = 0; [1729] = 0; [1730] = 0; [1731] = 0; [1732] = 0; [1733] = 0; [1734] = 0; [1735] = 0; [1736] = 0; [1737] = 0; [1738] = 0; [1739] = 0; [1740] = 0; [1741] = 0; [1742] = 0; [1743] = 0; [1744] = 0; [1745] = 0; [1746] = 0; [1747] = 0; [1748] = 0; [1749] = 0; [1750] = 0; [1751] = 0; [1752] = 0; [1753] = 0; [1754] = 0; [1755] = 0; [1756] = 0; [1757] = 0; [1758] = 0; [1759] = 0; [1760] = 0; [1761] = 0; [1762] = 0; [1763] = 0; [1764] = 0; [1765] = 0; [1766] = 0; [1767] = 0; [1768] = 0; [1769] = 0; [1770] = 0; [1771] = 0; [1772] = 0; [1773] = 0; [1774] = 0; [1775] = 0; [1776] = 0; [1777] = 0; [1778] = 0; [1779] = 0; [1780] = 0; [1781] = 0; [1782] = 0; [1783] = 0; [1784] = 0; [1785] = 0; [1786] = 0; [1787] = 0; [1788] = 0; [1789] = 0; [1790] = 0; [1791] = 0; [1792] = 0; [1793] = 0; [1794] = 0; [1795] = 0; [1796] = 0; [1797] = 0; [1798] = 0; [1799] = 0; [1800] = 0; [1801] = 0; [1802] = 0; [1803] = 0; [1804] = 0; [1805] = 0; [1806] = 0; [1807] = 0; [1808] = 0; [1809] = 0; [1810] = 0; [1811] = 0; [1812] = 0; [1813] = 0; [1814] = 0; [1815] = 0; [1816] = 0; [1817] = 0; [1818] = 0; [1819] = 0; [1820] = 0; [1821] = 0; [1822] = 0; [1823] = 0; [1824] = 0; [1825] = 0; [1826] = 0; [1827] = 0; [1828] = 0; [1829] = 0; [1830] = 0; [1831] = 0; [1832] = 0; [1833] = 0; [1834] = 0; [1835] = 0; [1836] = 0; [1837] = 0; [1838] = 0; [1839] = 0; [1840] = 0; [1841] = 0; [1842] = 0; [1843] = 0; [1844] = 0; [1845] = 0; [1846] = 0; [1847] = 0; [1848] = 0; [1849] = 0; [1850] = 0; [1851] = 0; [1852] = 0; [1853] = 0; [1854] = 0; [1855] = 0; [1856] = 0; [1857] = 0; [1858] = 0; [1859] = 0; [1860] = 0; [1861] = 0; [1862] = 0; [1863] = 0; [1864] = 0; [1865] = 0; [1866] = 0; [1867] = 0; [1868] = 0; [1869] = 0; [1870] = 0; [1871] = 0; [1872] = 0; [1873] = 0; [1874] = 0; [1875] = 0; [1876] = 0; [1877] = 0; [1878] = 0; [1879] = 0; [1880] = 0; [1881] = 0; [1882] = 0; [1883] = 0; [1884] = 0; [1885] = 0; [1886] = 0; [1887] = 0; [1888] = 0; [1889] = 0; [1890] = 0; [1891] = 0; [1892] = 0; [1893] = 0; [1894] = 0; [1895] = 0; [1896] = 0; [1897] = 0; [1898] = 0; [1899] = 0; [1900] = 0; [1901] = 0; [1902] = 0; [1903] = 0; [1904] = 0; [1905] = 0; [1906] = 0; [1907] = 0; [1908] = 0; [1909] = 0; [1910] = 0; [1911] = 0; [1912] = 0; [1913] = 0; [1914] = 0; [1915] = 0; [1916] = 0; [1917] = 0; [1918] = 0; [1919] = 0; [1920] = 0; [1921] = 0; [1922] = 0; [1923] = 0; [1924] = 0; [1925] = 0; [1926] = 0; [1927] = 0; [1928] = 0; [1929] = 0; [1930] = 0; [1931] = 0; [1932] = 0; [1933] = 0; [1934] = 0; [1935] = 0; [1936] = 0; [1937] = 0; [1938] = 0; [1939] = 0; [1940] = 0; [1941] = 0; [1942] = 0; [1943] = 0; [1944] = 0; [1945] = 0; [1946] = 0; [1947] = 0; [1948] = 0; [1949] = 0; [1950] = 0; [1951] = 0; [1952] = 0; [1953] = 0; [1954] = 0; [1955] = 0; [1956] = 0; [1957] = 0; [1958] = 0; [1959] = 0; [1960] = 0; [1961] = 0; [1962] = 0; [1963] = 0; [1964] = 0; [1965] = 0; [1966] = 0; [1967] = 0; [1968] = 0; [1969] = 0; [1970] = 0; [1971] = 0; [1972] = 0; [1973] = 0; [1974] = 0; [1975] = 0; [1976] = 0; [1977] = 0; [1978] = 0; [1979] = 0; [1980] = 0; [1981] = 0; [1982] = 0; [1983] = 0; [1984] = 0; [1985] = 0; [1986] = 0; [1987] = 0; [1988] = 0; [1989] = 0; [1990] = 0; [1991] = 0; [1992] = 0; [1993] = 0; [1994] = 0; [1995] = 0; [1996] = 0; [1997] = 0; [1998] = 0; [1999] = 0; [2000] = 0; [2001] = 0; [2002] = 0; [2003] = 0; [2004] = 0; [2005] = 0; [2006] = 0; [2007] = 0; [2008] = 0; [2009] = 0; [2010] = 0; [2011] = 0; [2012] = 0; [2013] = 0; [2014] = 0; [2015] = 0; [2016] = 0; [2017] = 0; [2018] = 0; [2019] = 0; [2020] = 0; [2021] = 0; [2022] = 0; [2023] = 0; [2024] = 0; [2025] = 0; [2026] = 0; [2027] = 0; [2028] = 0; [2029] = 0; [2030] = 0; [2031] = 0; [2032] = 0; [2033] = 0; [2034] = 0; [2035] = 0; [2036] = 0; [2037] = 0; [2038] = 0; [2039] = 0; [2040] = 0; [2041] = 0; [2042] = 0; [2043] = 0; [2044] = 0; [2045] = 0; [2046] = 0; [2047] = 0; [2048] = 0; [2049] = 0; [2050] = 0; [2051] = 0; [2052] = 0; [2053] = 0; [2054] = 0; [2055] = 0; [2056] = 0; [2057] = 0; [2058] = 0; [2059] = 0; [2060] = 0; [2061] = 0; [2062] = 0; [2063] = 0; [2064] = 0; [2065] = 0; [2066] = 0; [2067] = 0; [2068] = 0; [2069] = 0; [2070] = 0; [2071] = 0; [2072] = 0; [2073] = 0; [2074] = 0; [2075] = 0; [2076] = 0; [2077] = 0; [2078] = 0; [2079] = 0; [2080] = 0; [2081] = 0; [2082] = 0; [2083] = 0; [2084] = 0; [2085] = 0; [2086] = 0; [2087] = 0; [2088] = 0; [2089] = 0; [2090] = 0; [2091] = 0; [2092] = 0; [2093] = 0; [2094] = 0; [2095] = 0; [2096] = 0; [2097] = 0; [2098] = 0; [2099] = 0; [2100] = 0; [2101] = 0; [2102] = 0; [2103] = 0; [2104] = 0; [2105] = 0; [2106] = 0; [2107] = 0; [2108] = 0; [2109] = 0; [2110] = 0; [2111] = 0; [2112] = 0; [2113] = 0; [2114] = 0; [2115] = 0; [2116] = 0; [2117] = 0; [2118] = 0; [2119] = 0; [2120] = 0; [2121] = 0; [2122] = 0; [2123] = 0; [2124] = 0; [2125] = 0; [2126] = 0; [2127] = 0; [2128] = 0; [2129] = 0; [2130] = 0; [2131] = 0; [2132] = 0; [2133] = 0; [2134] = 0; [2135] = 0; [2136] = 0; [2137] = 0; [2138] = 0; [2139] = 0; [2140] = 0; [2141] = 0; [2142] = 0; [2143] = 0; [2144] = 0; [2145] = 0; [2146] = 0; [2147] = 0; [2148] = 0; [2149] = 0; [2150] = 0; [2151] = 0; [2152] = 0; [2153] = 0; [2154] = 0; [2155] = 0; [2156] = 0; [2157] = 0; [2158] = 0; [2159] = 0; [2160] = 0; [2161] = 0; [2162] = 0; [2163] = 0; [2164] = 0; [2165] = 0; [2166] = 0; [2167] = 0; [2168] = 0; [2169] = 0; [2170] = 0; [2171] = 0; [2172] = 0; [2173] = 0; [2174] = 0; [2175] = 0; [2176] = 0; [2177] = 0; [2178] = 0; [2179] = 0; [2180] = 0; [2181] = 0; [2182] = 0; [2183] = 0; [2184] = 0; [2185] = 0; [2186] = 0; [2187] = 0; [2188] = 0; [2189] = 0; [2190] = 0; [2191] = 0; [2192] = 0; [2193] = 0; [2194] = 0; [2195] = 0; [2196] = 0; [2197] = 0; [2198] = 0; [2199] = 0; [2200] = 0; [2201] = 0; [2202] = 0; [2203] = 0; [2204] = 0; [2205] = 0; [2206] = 0; [2207] = 0; [2208] = 0; [2209] = 0; [2210] = 0; [2211] = 0; [2212] = 0; [2213] = 0; [2214] = 0; [2215] = 0; [2216] = 0; [2217] = 0; [2218] = 0; [2219] = 0; [2220] = 0; [2221] = 0; [2222] = 0; [2223] = 0; [2224] = 0; [2225] = 0; [2226] = 0; [2227] = 0; [2228] = 0; [2229] = 0; [2230] = 0; [2231] = 0; [2232] = 0; [2233] = 0; [2234] = 0; [2235] = 0; [2236] = 0; [2237] = 0; [2238] = 0; [2239] = 0; [2240] = 0; [2241] = 0; [2242] = 0; [2243] = 0; [2244] = 0; [2245] = 0; [2246] = 0; [2247] = 0; [2248] = 0; [2249] = 0; [2250] = 0; [2251] = 0; [2252] = 0; [2253] = 0; [2254] = 0; [2255] = 0; [2256] = 0; [2257] = 0; [2258] = 0; [2259] = 0; [2260] = 0; [2261] = 0; [2262] = 0; [2263] = 0; [2264] = 0; [2265] = 0; [2266] = 0; [2267] = 0; [2268] = 0; [2269] = 0; [2270] = 0; [2271] = 0; [2272] = 0; [2273] = 0; [2274] = 0; [2275] = 0; [2276] = 0; [2277] = 0; [2278] = 0; [2279] = 0; [2280] = 0; [2281] = 0; [2282] = 0; [2283] = 0; [2284] = 0; [2285] = 0; [2286] = 0; [2287] = 0; [2288] = 0; [2289] = 0; [2290] = 0; [2291] = 0; [2292] = 0; [2293] = 0; [2294] = 0; [2295] = 0; [2296] = 0; [2297] = 0; [2298] = 0; [2299] = 0; [2300] = 0; [2301] = 0; [2302] = 0; [2303] = 0; [2304] = 0; [2305] = 0; [2306] = 0; [2307] = 0; [2308] = 0; [2309] = 0; [2310] = 0; [2311] = 0; [2312] = 0; [2313] = 0; [2314] = 0; [2315] = 0; [2316] = 0; [2317] = 0; [2318] = 0; [2319] = 0; [2320] = 0; [2321] = 0; [2322] = 0; [2323] = 0; [2324] = 0; [2325] = 0; [2326] = 0; [2327] = 0; [2328] = 0; [2329] = 0; [2330] = 0; [2331] = 0; [2332] = 0; [2333] = 0; [2334] = 0; [2335] = 0; [2336] = 0; [2337] = 0; [2338] = 0; [2339] = 0; [2340] = 0; [2341] = 0; [2342] = 0; [2343] = 0; [2344] = 0; [2345] = 0; [2346] = 0; [2347] = 0; [2348] = 0; [2349] = 0; [2350] = 0; [2351] = 0; [2352] = 0; [2353] = 0; [2354] = 0; [2355] = 0; [2356] = 0; [2357] = 0; [2358] = 0; [2359] = 0; [2360] = 0; [2361] = 0; [2362] = 0; [2363] = 0; [2364] = 0; [2365] = 0; [2366] = 0; [2367] = 0; [2368] = 0; [2369] = 0; [2370] = 0; [2371] = 0; [2372] = 0; [2373] = 0; [2374] = 0; [2375] = 0; [2376] = 0; [2377] = 0; [2378] = 0; [2379] = 0; [2380] = 0; [2381] = 0; [2382] = 0; [2383] = 0; [2384] = 0; [2385] = 0; [2386] = 0; [2387] = 0; [2388] = 0; [2389] = 0; [2390] = 0; [2391] = 0; [2392] = 0; [2393] = 0; [2394] = 0; [2395] = 0; [2396] = 0; [2397] = 0; [2398] = 0; [2399] = 0; [2400] = 0; [2401] = 0; [2402] = 0; [2403] = 0; [2404] = 0; [2405] = 0; [2406] = 0; [2407] = 0; [2408] = 0; [2409] = 0; [2410] = 0; [2411] = 0; [2412] = 0; [2413] = 0; [2414] = 0; [2415] = 0; [2416] = 0; [2417] = 0; [2418] = 0; [2419] = 0; [2420] = 0; [2421] = 0; [2422] = 0; [2423] = 0; [2424] = 0; [2425] = 0; [2426] = 0; [2427] = 0; [2428] = 0; [2429] = 0; [2430] = 0; [2431] = 0; [2432] = 0; [2433] = 0; [2434] = 0; [2435] = 0; [2436] = 0; [2437] = 0; [2438] = 0; [2439] = 0; [2440] = 0; [2441] = 0; [2442] = 0; [2443] = 0; [2444] = 0; [2445] = 0; [2446] = 0; [2447] = 0; [2448] = 0; [2449] = 0; [2450] = 0; [2451] = 0; [2452] = 0; [2453] = 0; [2454] = 0; [2455] = 0; [2456] = 0; [2457] = 0; [2458] = 0; [2459] = 0; [2460] = 0; [2461] = 0; [2462] = 0; [2463] = 0; [2464] = 0; [2465] = 0; [2466] = 0; [2467] = 0; [2468] = 0; [2469] = 0; [2470] = 0; [2471] = 0; [2472] = 0; [2473] = 0; [2474] = 0; [2475] = 0; [2476] = 0; [2477] = 0; [2478] = 0; [2479] = 0; [2480] = 0; [2481] = 0; [2482] = 0; [2483] = 0; [2484] = 0; [2485] = 0; [2486] = 0; [2487] = 0; [2488] = 0; [2489] = 0; [2490] = 0; [2491] = 0; [2492] = 0; [2493] = 0; [2494] = 0; [2495] = 0; [2496] = 0; [2497] = 0; [2498] = 0; [2499] = 0; [2500] = 0; [2501] = 0; [2502] = 0; [2503] = 0; [2504] = 0; [2505] = 0; [2506] = 0; [2507] = 0; [2508] = 0; [2509] = 0; [2510] = 0; [2511] = 0; [2512] = 0; [2513] = 0; [2514] = 0; [2515] = 0; [2516] = 0; [2517] = 0; [2518] = 0; [2519] = 0; [2520] = 0; [2521] = 0; [2522] = 0; [2523] = 0; [2524] = 0; [2525] = 0; [2526] = 0; [2527] = 0; [2528] = 0; [2529] = 0; [2530] = 0; [2531] = 0; [2532] = 0; [2533] = 0; [2534] = 0; [2535] = 0; [2536] = 0; [2537] = 0; [2538] = 0; [2539] = 0; [2540] = 0; [2541] = 0; [2542] = 0; [2543] = 0; [2544] = 0; [2545] = 0; [2546] = 0; [2547] = 0; [2548] = 0; [2549] = 0; [2550] = 0; [2551] = 0; [2552] = 0; [2553] = 0; [2554] = 0; [2555] = 0; [2556] = 0; [2557] = 0; [2558] = 0; [2559] = 0; [2560] = 0; [2561] = 0; [2562] = 0; [2563] = 0; [2564] = 0; [2565] = 0; [2566] = 0; [2567] = 0; [2568] = 0; [2569] = 0; [2570] = 0; [2571] = 0; [2572] = 0; [2573] = 0; [2574] = 0; [2575] = 0; [2576] = 0; [2577] = 0; [2578] = 0; [2579] = 0; [2580] = 0; [2581] = 0; [2582] = 0; [2583] = 0; [2584] = 0; [2585] = 0; [2586] = 0; [2587] = 0; [2588] = 0; [2589] = 0; [2590] = 0; [2591] = 0; [2592] = 0; [2593] = 0; [2594] = 0; [2595] = 0; [2596] = 0; [2597] = 0; [2598] = 0; [2599] = 0; [2600] = 0; [2601] = 0; [2602] = 0; [2603] = 0; [2604] = 0; [2605] = 0; [2606] = 0; [2607] = 0; [2608] = 0; [2609] = 0; [2610] = 0; [2611] = 0; [2612] = 0; [2613] = 0; [2614] = 0; [2615] = 0; [2616] = 0; [2617] = 0; [2618] = 0; [2619] = 0; [2620] = 0; [2621] = 0; [2622] = 0; [2623] = 0; [2624] = 0; [2625] = 0; [2626] = 0; [2627] = 0; [2628] = 0; [2629] = 0; [2630] = 0; [2631] = 0; [2632] = 0; [2633] = 0; [2634] = 0; [2635] = 0; [2636] = 0; [2637] = 0; [2638] = 0; [2639] = 0; [2640] = 0; [2641] = 0; [2642] = 0; [2643] = 0; [2644] = 0; [2645] = 0; [2646] = 0; [2647] = 0; [2648] = 0; [2649] = 0; [2650] = 0; [2651] = 0; [2652] = 0; [2653] = 0; [2654] = 0; [2655] = 0; [2656] = 0; [2657] = 0; [2658] = 0; [2659] = 0; [2660] = 0; [2661] = 0; [2662] = 0; [2663] = 0; [2664] = 0; [2665] = 0; [2666] = 0; [2667] = 0; [2668] = 0; [2669] = 0; [2670] = 0; [2671] = 0; [2672] = 0; [2673] = 0; [2674] = 0; [2675] = 0; [2676] = 0; [2677] = 0; [2678] = 0; [2679] = 0; [2680] = 0; [2681] = 0; [2682] = 0; [2683] = 0; [2684] = 0; [2685] = 0; [2686] = 0; [2687] = 0; [2688] = 0; [2689] = 0; [2690] = 0; [2691] = 0; [2692] = 0; [2693] = 0; [2694] = 0; [2695] = 0; [2696] = 0; [2697] = 0; [2698] = 0; [2699] = 0; [2700] = 0; [2701] = 0; [2702] = 0; [2703] = 0; [2704] = 0; [2705] = 0; [2706] = 0; [2707] = 0; [2708] = 0; [2709] = 0; [2710] = 0; [2711] = 0; [2712] = 0; [2713] = 0; [2714] = 0; [2715] = 0; [2716] = 0; [2717] = 0; [2718] = 0; [2719] = 0; [2720] = 0; [2721] = 0; [2722] = 0; [2723] = 0; [2724] = 0; [2725] = 0; [2726] = 0; [2727] = 0; [2728] = 0; [2729] = 0; [2730] = 0; [2731] = 0; [2732] = 0; [2733] = 0; [2734] = 0; [2735] = 0; [2736] = 0; [2737] = 0; [2738] = 0; [2739] = 0; [2740] = 0; [2741] = 0; [2742] = 0; [2743] = 0; [2744] = 0; [2745] = 0; [2746] = 0; [2747] = 0; [2748] = 0; [2749] = 0; [2750] = 0; [2751] = 0; [2752] = 0; [2753] = 0; [2754] = 0; [2755] = 0; [2756] = 0; [2757] = 0; [2758] = 0; [2759] = 0; [2760] = 0; [2761] = 0; [2762] = 0; [2763] = 0; [2764] = 0; [2765] = 0; [2766] = 0; [2767] = 0; [2768] = 0; [2769] = 0; [2770] = 0; [2771] = 0; [2772] = 0; [2773] = 0; [2774] = 0; [2775] = 0; [2776] = 0; [2777] = 0; [2778] = 0; [2779] = 0; [2780] = 0; [2781] = 0; [2782] = 0; [2783] = 0; [2784] = 0; [2785] = 0; [2786] = 0; [2787] = 0; [2788] = 0; [2789] = 0; [2790] = 0; [2791] = 0; [2792] = 0; [2793] = 0; [2794] = 0; [2795] = 0; [2796] = 0; [2797] = 0; [2798] = 0; [2799] = 0; [2800] = 0; [2801] = 0; [2802] = 0; [2803] = 0; [2804] = 0; [2805] = 0; [2806] = 0; [2807] = 0; [2808] = 0; [2809] = 0; [2810] = 0; [2811] = 0; [2812] = 0; [2813] = 0; [2814] = 0; [2815] = 0; [2816] = 0; [2817] = 0; [2818] = 0; [2819] = 0; [2820] = 0; [2821] = 0; [2822] = 0; [2823] = 0; [2824] = 0; [2825] = 0; [2826] = 0; [2827] = 0; [2828] = 0; [2829] = 0; [2830] = 0; [2831] = 0; [2832] = 0; [2833] = 0; [2834] = 0; [2835] = 0; [2836] = 0; [2837] = 0; [2838] = 0; [2839] = 0; [2840] = 0; [2841] = 0; [2842] = 0; [2843] = 0; [2844] = 0; [2845] = 0; [2846] = 0; [2847] = 0; [2848] = 0; [2849] = 0; [2850] = 0; [2851] = 0; [2852] = 0; [2853] = 0; [2854] = 0; [2855] = 0; [2856] = 0; [2857] = 0; [2858] = 0; [2859] = 0; [2860] = 0; [2861] = 0; [2862] = 0; [2863] = 0; [2864] = 0; [2865] = 0; [2866] = 0; [2867] = 0; [2868] = 0; [2869] = 0; [2870] = 0; [2871] = 0; [2872] = 0; [2873] = 0; [2874] = 0; [2875] = 0; [2876] = 0; [2877] = 0; [2878] = 0; [2879] = 0; [2880] = 0; [2881] = 0; [2882] = 0; [2883] = 0; [2884] = 0; [2885] = 0; [2886] = 0; [2887] = 0; [2888] = 0; [2889] = 0; [2890] = 0; [2891] = 0; [2892] = 0; [2893] = 0; [2894] = 0; [2895] = 0; [2896] = 0; [2897] = 0; [2898] = 0; [2899] = 0; [2900] = 0; [2901] = 0; [2902] = 0; [2903] = 0; [2904] = 0; [2905] = 0; [2906] = 0; [2907] = 0; [2908] = 0; [2909] = 0; [2910] = 0; [2911] = 0; [2912] = 0; [2913] = 0; [2914] = 0; [2915] = 0; [2916] = 0; [2917] = 0; [2918] = 0; [2919] = 0; [2920] = 0; [2921] = 0; [2922] = 0; [2923] = 0; [2924] = 0; [2925] = 0; [2926] = 0; [2927] = 0; [2928] = 0; [2929] = 0; [2930] = 0; [2931] = 0; [2932] = 0; [2933] = 0; [2934] = 0; [2935] = 0; [2936] = 0; [2937] = 0; [2938] = 0; [2939] = 0; [2940] = 0; [2941] = 0; [2942] = 0; [2943] = 0; [2944] = 0; [2945] = 0; [2946] = 0; [2947] = 0; [2948] = 0; [2949] = 0; [2950] = 0; [2951] = 0; [2952] = 0; [2953] = 0; [2954] = 0; [2955] = 0; [2956] = 0; [2957] = 0; [2958] = 0; [2959] = 0; [2960] = 0; [2961] = 0; [2962] = 0; [2963] = 0; [2964] = 0; [2965] = 0; [2966] = 0; [2967] = 0; [2968] = 0; [2969] = 0; [2970] = 0; [2971] = 0; [2972] = 0; [2973] = 0; [2974] = 0; [2975] = 0; [2976] = 0; [2977] = 0; [2978] = 0; [2979] = 0; [2980] = 0; [2981] = 0; [2982] = 0; [2983] = 0; [2984] = 0; [2985] = 0; [2986] = 0; [2987] = 0; [2988] = 0; [2989] = 0; [2990] = 0; [2991] = 0; [2992] = 0; [2993] = 0; [2994] = 0; [2995] = 0; [2996] = 0; [2997] = 0; [2998] = 0; [2999] = 0; [3000] = 0; [3001] = 0; [3002] = 0; [3003] = 0; [3004] = 0; [3005] = 0; [3006] = 0; [3007] = 0; [3008] = 0; [3009] = 0; [3010] = 0; [3011] = 0; [3012] = 0; [3013] = 0; [3014] = 0; [3015] = 0; [3016] = 0; [3017] = 0; [3018] = 0; [3019] = 0; [3020] = 0; [3021] = 0; [3022] = 0; [3023] = 0; [3024] = 0; [3025] = 0; [3026] = 0; [3027] = 0; [3028] = 0; [3029] = 0; [3030] = 0; [3031] = 0; [3032] = 0; [3033] = 0; [3034] = 0; [3035] = 0; [3036] = 0; [3037] = 0; [3038] = 0; [3039] = 0; [3040] = 0; [3041] = 0; [3042] = 0; [3043] = 0; [3044] = 0; [3045] = 0; [3046] = 0; [3047] = 0; [3048] = 0; [3049] = 0; [3050] = 0; [3051] = 0; [3052] = 0; [3053] = 0; [3054] = 0; [3055] = 0; [3056] = 0; [3057] = 0; [3058] = 0; [3059] = 0; [3060] = 0; [3061] = 0; [3062] = 0; [3063] = 0; [3064] = 0; [3065] = 0; [3066] = 0; [3067] = 0; [3068] = 0; [3069] = 0; [3070] = 0; [3071] = 0; [3072] = 0; [3073] = 0; [3074] = 0; [3075] = 0; [3076] = 0; [3077] = 0; [3078] = 0; [3079] = 0; [3080] = 0; [3081] = 0; [3082] = 0; [3083] = 0; [3084] = 0; [3085] = 0; [3086] = 0; [3087] = 0; [3088] = 0; [3089] = 0; [3090] = 0; [3091] = 0; [3092] = 0; [3093] = 0; [3094] = 0; [3095] = 0; [3096] = 0; [3097] = 0; [3098] = 0; [3099] = 0; [3100] = 0; [3101] = 0; [3102] = 0; [3103] = 0; [3104] = 0; [3105] = 0; [3106] = 0; [3107] = 0; [3108] = 0; [3109] = 0; [3110] = 0; [3111] = 0; [3112] = 0; [3113] = 0; [3114] = 0; [3115] = 0; [3116] = 0; [3117] = 0; [3118] = 0; [3119] = 0; [3120] = 0; [3121] = 0; [3122] = 0; [3123] = 0; [3124] = 0; [3125] = 0; [3126] = 0; [3127] = 0; [3128] = 0; [3129] = 0; [3130] = 0; [3131] = 0; [3132] = 0; [3133] = 0; [3134] = 0; [3135] = 0; [3136] = 0; [3137] = 0; [3138] = 0; [3139] = 0; [3140] = 0; [3141] = 0; [3142] = 0; [3143] = 0; [3144] = 0; [3145] = 0; [3146] = 0; [3147] = 0; [3148] = 0; [3149] = 0; [3150] = 0; [3151] = 0; [3152] = 0; [3153] = 0; [3154] = 0; [3155] = 0; [3156] = 0; [3157] = 0; [3158] = 0; [3159] = 0; [3160] = 0; [3161] = 0; [3162] = 0; [3163] = 0; [3164] = 0; [3165] = 0; [3166] = 0; [3167] = 0; [3168] = 0; [3169] = 0; [3170] = 0; [3171] = 0; [3172] = 0; [3173] = 0; [3174] = 0; [3175] = 0; [3176] = 0; [3177] = 0; [3178] = 0; [3179] = 0; [3180] = 0; [3181] = 0; [3182] = 0; [3183] = 0; [3184] = 0; [3185] = 0; [3186] = 0; [3187] = 0; [3188] = 0; [3189] = 0; [3190] = 0; [3191] = 0; [3192] = 0; [3193] = 0; [3194] = 0; [3195] = 0; [3196] = 0; [3197] = 0; [3198] = 0; [3199] = 0; [3200] = 0; [3201] = 0; [3202] = 0; [3203] = 0; [3204] = 0; [3205] = 0; [3206] = 0; [3207] = 0; [3208] = 0; [3209] = 0; [3210] = 0; [3211] = 0; [3212] = 0; [3213] = 0; [3214] = 0; [3215] = 0; [3216] = 0; [3217] = 0; [3218] = 0; [3219] = 0; [3220] = 0; [3221] = 0; [3222] = 0; [3223] = 0; [3224] = 0; [3225] = 0; [3226] = 0; [3227] = 0; [3228] = 0; [3229] = 0; [3230] = 0; [3231] = 0; [3232] = 0; [3233] = 0; [3234] = 0; [3235] = 0; [3236] = 0; [3237] = 0; [3238] = 0; [3239] = 0; [3240] = 0; [3241] = 0; [3242] = 0; [3243] = 0; [3244] = 0; [3245] = 0; [3246] = 0; [3247] = 0; [3248] = 0; [3249] = 0; [3250] = 0; [3251] = 0; [3252] = 0; [3253] = 0; [3254] = 0; [3255] = 0; [3256] = 0; [3257] = 0; [3258] = 0; [3259] = 0; [3260] = 0; [3261] = 0; [3262] = 0; [3263] = 0; [3264] = 0; [3265] = 0; [3266] = 0; [3267] = 0; [3268] = 0; [3269] = 0; [3270] = 0; [3271] = 0; [3272] = 0; [3273] = 0; [3274] = 0; [3275] = 0; [3276] = 0; [3277] = 0; [3278] = 0; [3279] = 0; [3280] = 0; [3281] = 0; [3282] = 0; [3283] = 0; [3284] = 0; [3285] = 0; [3286] = 0; [3287] = 0; [3288] = 0; [3289] = 0; [3290] = 0; [3291] = 0; [3292] = 0; [3293] = 0; [3294] = 0; [3295] = 0; [3296] = 0; [3297] = 0; [3298] = 0; [3299] = 0; [3300] = 0; [3301] = 0; [3302] = 0; [3303] = 0; [3304] = 0; [3305] = 0; [3306] = 0; [3307] = 0; [3308] = 0; [3309] = 0; [3310] = 0; [3311] = 0; [3312] = 0; [3313] = 0; [3314] = 0; [3315] = 0; [3316] = 0; [3317] = 0; [3318] = 0; [3319] = 0; [3320] = 0; [3321] = 0; [3322] = 0; [3323] = 0; [3324] = 0; [3325] = 0; [3326] = 0; [3327] = 0; [3328] = 0; [3329] = 0; [3330] = 0; [3331] = 0; [3332] = 0; [3333] = 0; [3334] = 0; [3335] = 0; [3336] = 0; [3337] = 0; [3338] = 0; [3339] = 0; [3340] = 0; [3341] = 0; [3342] = 0; [3343] = 0; [3344] = 0; [3345] = 0; [3346] = 0; [3347] = 0; [3348] = 0; [3349] = 0; [3350] = 0; [3351] = 0; [3352] = 0; [3353] = 0; [3354] = 0; [3355] = 0; [3356] = 0; [3357] = 0; [3358] = 0; [3359] = 0; [3360] = 0; [3361] = 0; [3362] = 0; [3363] = 0; [3364] = 0; [3365] = 0; [3366] = 0; [3367] = 0; [3368] = 0; [3369] = 0; [3370] = 0; [3371] = 0; [3372] = 0; [3373] = 0; [3374] = 0; [3375] = 0; [3376] = 0; [3377] = 0; [3378] = 0; [3379] = 0; [3380] = 0; [3381] = 0; [3382] = 0; [3383] = 0; [3384] = 0; [3385] = 0; [3386] = 0; [3387] = 0; [3388] = 0; [3389] = 0; [3390] = 0; [3391] = 0; [3392] = 0; [3393] = 0; [3394] = 0; [3395] = 0; [3396] = 0; [3397] = 0; [3398] = 0; [3399] = 0; [3400] = 0; [3401] = 0; [3402] = 0; [3403] = 0; [3404] = 0; [3405] = 0; [3406] = 0; [3407] = 0; [3408] = 0; [3409] = 0; [3410] = 0; [3411] = 0; [3412] = 0; [3413] = 0; [3414] = 0; [3415] = 0; [3416] = 0; [3417] = 0; [3418] = 0; [3419] = 0; [3420] = 0; [3421] = 0; [3422] = 0; [3423] = 0; [3424] = 0; [3425] = 0; [3426] = 0; [3427] = 0; [3428] = 0; [3429] = 0; [3430] = 0; [3431] = 0; [3432] = 0; [3433] = 0; [3434] = 0; [3435] = 0; [3436] = 0; [3437] = 0; [3438] = 0; [3439] = 0; [3440] = 0; [3441] = 0; [3442] = 0; [3443] = 0; [3444] = 0; [3445] = 0; [3446] = 0; [3447] = 0; [3448] = 0; [3449] = 0; [3450] = 0; [3451] = 0; [3452] = 0; [3453] = 0; [3454] = 0; [3455] = 0; [3456] = 0; [3457] = 0; [3458] = 0; [3459] = 0; [3460] = 0; [3461] = 0; [3462] = 0; [3463] = 0; [3464] = 0; [3465] = 0; [3466] = 0; [3467] = 0; [3468] = 0; [3469] = 0; [3470] = 0; [3471] = 0; [3472] = 0; [3473] = 0; [3474] = 0; [3475] = 0; [3476] = 0; [3477] = 0; [3478] = 0; [3479] = 0; [3480] = 0; [3481] = 0; [3482] = 0; [3483] = 0; [3484] = 0; [3485] = 0; [3486] = 0; [3487] = 0; [3488] = 0; [3489] = 0; [3490] = 0; [3491] = 0; [3492] = 0; [3493] = 0; [3494] = 0; [3495] = 0; [3496] = 0; [3497] = 0; [3498] = 0; [3499] = 0; [3500] = 0; [3501] = 0; [3502] = 0; [3503] = 0; [3504] = 0; [3505] = 0; [3506] = 0; [3507] = 0; [3508] = 0; [3509] = 0; [3510] = 0; [3511] = 0; [3512] = 0; [3513] = 0; [3514] = 0; [3515] = 0; [3516] = 0; [3517] = 0; [3518] = 0; [3519] = 0; [3520] = 0; [3521] = 0; [3522] = 0; [3523] = 0; [3524] = 0; [3525] = 0; [3526] = 0; [3527] = 0; [3528] = 0; [3529] = 0; [3530] = 0; [3531] = 0; [3532] = 0; [3533] = 0; [3534] = 0; [3535] = 0; [3536] = 0; [3537] = 0; [3538] = 0; [3539] = 0; [3540] = 0; [3541] = 0; [3542] = 0; [3543] = 0; [3544] = 0; [3545] = 0; [3546] = 0; [3547] = 0; [3548] = 0; [3549] = 0; [3550] = 0; [3551] = 0; [3552] = 0; [3553] = 0; [3554] = 0; [3555] = 0; [3556] = 0; [3557] = 0; [3558] = 0; [3559] = 0; [3560] = 0; [3561] = 0; [3562] = 0; [3563] = 0; [3564] = 0; [3565] = 0; [3566] = 0; [3567] = 0; [3568] = 0; [3569] = 0; [3570] = 0; [3571] = 0; [3572] = 0; [3573] = 0; [3574] = 0; [3575] = 0; [3576] = 0; [3577] = 0; [3578] = 0; [3579] = 0; [3580] = 0; [3581] = 0; [3582] = 0; [3583] = 0; [3584] = 0; [3585] = 0; [3586] = 0; [3587] = 0; [3588] = 0; [3589] = 0; [3590] = 0; [3591] = 0; [3592] = 0; [3593] = 0; [3594] = 0; [3595] = 0; [3596] = 0; [3597] = 0; [3598] = 0; [3599] = 0; [3600] = 0; [3601] = 0; [3602] = 0; [3603] = 0; [3604] = 0; [3605] = 0; [3606] = 0; [3607] = 0; [3608] = 0; [3609] = 0; [3610] = 0; [3611] = 0; [3612] = 0; [3613] = 0; [3614] = 0; [3615] = 0; [3616] = 0; [3617] = 0; [3618] = 0; [3619] = 0; [3620] = 0; [3621] = 0; [3622] = 0; [3623] = 0; [3624] = 0; [3625] = 0; [3626] = 0; [3627] = 0; [3628] = 0; [3629] = 0; [3630] = 0; [3631] = 0; [3632] = 0; [3633] = 0; [3634] = 0; [3635] = 0; [3636] = 0; [3637] = 0; [3638] = 0; [3639] = 0; [3640] = 0; [3641] = 0; [3642] = 0; [3643] = 0; [3644] = 0; [3645] = 0; [3646] = 0; [3647] = 0; [3648] = 0; [3649] = 0; [3650] = 0; [3651] = 0; [3652] = 0; [3653] = 0; [3654] = 0; [3655] = 0; [3656] = 0; [3657] = 0; [3658] = 0; [3659] = 0; [3660] = 0; [3661] = 0; [3662] = 0; [3663] = 0; [3664] = 0; [3665] = 0; [3666] = 0; [3667] = 0; [3668] = 0; [3669] = 0; [3670] = 0; [3671] = 0; [3672] = 0; [3673] = 0; [3674] = 0; [3675] = 0; [3676] = 0; [3677] = 0; [3678] = 0; [3679] = 0; [3680] = 0; [3681] = 0; [3682] = 0; [3683] = 0; [3684] = 0; [3685] = 0; [3686] = 0; [3687] = 0; [3688] = 0; [3689] = 0; [3690] = 0; [3691] = 0; [3692] = 0; [3693] = 0; [3694] = 0; [3695] = 0; [3696] = 0; [3697] = 0; [3698] = 0; [3699] = 0; [3700] = 0; [3701] = 0; [3702] = 0; [3703] = 0; [3704] = 0; [3705] = 0; [3706] = 0; [3707] = 0; [3708] = 0; [3709] = 0; [3710] = 0; [3711] = 0; [3712] = 0; [3713] = 0; [3714] = 0; [3715] = 0; [3716] = 0; [3717] = 0; [3718] = 0; [3719] = 0; [3720] = 0; [3721] = 0; [3722] = 0; [3723] = 0; [3724] = 0; [3725] = 0; [3726] = 0; [3727] = 0; [3728] = 0; [3729] = 0; [3730] = 0; [3731] = 0; [3732] = 0; [3733] = 0; [3734] = 0; [3735] = 0; [3736] = 0; [3737] = 0; [3738] = 0; [3739] = 0; [3740] = 0; [3741] = 0; [3742] = 0; [3743] = 0; [3744] = 0; [3745] = 0; [3746] = 0; [3747] = 0; [3748] = 0; [3749] = 0; [3750] = 0; [3751] = 0; [3752] = 0; [3753] = 0; [3754] = 0; [3755] = 0; [3756] = 0; [3757] = 0; [3758] = 0; [3759] = 0; [3760] = 0; [3761] = 0; [3762] = 0; [3763] = 0; [3764] = 0; [3765] = 0; [3766] = 0; [3767] = 0; [3768] = 0; [3769] = 0; [3770] = 0; [3771] = 0; [3772] = 0; [3773] = 0; [3774] = 0; [3775] = 0; [3776] = 0; [3777] = 0; [3778] = 0; [3779] = 0; [3780] = 0; [3781] = 0; [3782] = 0; [3783] = 0; [3784] = 0; [3785] = 0; [3786] = 0; [3787] = 0; [3788] = 0; [3789] = 0; [3790] = 0; [3791] = 0; [3792] = 0; [3793] = 0; [3794] = 0; [3795] = 0; [3796] = 0; [3797] = 0; [3798] = 0; [3799] = 0; [3800] = 0; [3801] = 0; [3802] = 0; [3803] = 0; [3804] = 0; [3805] = 0; [3806] = 0; [3807] = 0; [3808] = 0; [3809] = 0; [3810] = 0; [3811] = 0; [3812] = 0; [3813] = 0; [3814] = 0; [3815] = 0; [3816] = 0; [3817] = 0; [3818] = 0; [3819] = 0; [3820] = 0; [3821] = 0; [3822] = 0; [3823] = 0; [3824] = 0; [3825] = 0; [3826] = 0; [3827] = 0; [3828] = 0; [3829] = 0; [3830] = 0; [3831] = 0; [3832] = 0; [3833] = 0; [3834] = 0; [3835] = 0; [3836] = 0; [3837] = 0; [3838] = 0; [3839] = 0; [3840] = 0; [3841] = 0; [3842] = 0; [3843] = 0; [3844] = 0; [3845] = 0; [3846] = 0; [3847] = 0; [3848] = 0; [3849] = 0; [3850] = 0; [3851] = 0; [3852] = 0; [3853] = 0; [3854] = 0; [3855] = 0; [3856] = 0; [3857] = 0; [3858] = 0; [3859] = 0; [3860] = 0; [3861] = 0; [3862] = 0; [3863] = 0; [3864] = 0; [3865] = 0; [3866] = 0; [3867] = 0; [3868] = 0; [3869] = 0; [3870] = 0; [3871] = 0; [3872] = 0; [3873] = 0; [3874] = 0; [3875] = 0; [3876] = 0; [3877] = 0; [3878] = 0; [3879] = 0; [3880] = 0; [3881] = 0; [3882] = 0; [3883] = 0; [3884] = 0; [3885] = 0; [3886] = 0; [3887] = 0; [3888] = 0; [3889] = 0; [3890] = 0; [3891] = 0; [3892] = 0; [3893] = 0; [3894] = 0; [3895] = 0; [3896] = 0; [3897] = 0; [3898] = 0; [3899] = 0; [3900] = 0; [3901] = 0; [3902] = 0; [3903] = 0; [3904] = 0; [3905] = 0; [3906] = 0; [3907] = 0; [3908] = 0; [3909] = 0; [3910] = 0; [3911] = 0; [3912] = 0; [3913] = 0; [3914] = 0; [3915] = 0; [3916] = 0; [3917] = 0; [3918] = 0; [3919] = 0; [3920] = 0; [3921] = 0; [3922] = 0; [3923] = 0; [3924] = 0; [3925] = 0; [3926] = 0; [3927] = 0; [3928] = 0; [3929] = 0; [3930] = 0; [3931] = 0; [3932] = 0; [3933] = 0; [3934] = 0; [3935] = 0; [3936] = 0; [3937] = 0; [3938] = 0; [3939] = 0; [3940] = 0; [3941] = 0; [3942] = 0; [3943] = 0; [3944] = 0; [3945] = 0; [3946] = 0; [3947] = 0; [3948] = 0; [3949] = 0; [3950] = 0; [3951] = 0; [3952] = 0; [3953] = 0; [3954] = 0; [3955] = 0; [3956] = 0; [3957] = 0; [3958] = 0; [3959] = 0; [3960] = 0; [3961] = 0; [3962] = 0; [3963] = 0; [3964] = 0; [3965] = 0; [3966] = 0; [3967] = 0; [3968] = 0; [3969] = 0; [3970] = 0; [3971] = 0; [3972] = 0; [3973] = 0; [3974] = 0; [3975] = 0; [3976] = 0; [3977] = 0; [3978] = 0; [3979] = 0; [3980] = 0; [3981] = 0; [3982] = 0; [3983] = 0; [3984] = 0; [3985] = 0; [3986] = 0; [3987] = 0; [3988] = 0; [3989] = 0; [3990] = 0; [3991] = 0; [3992] = 0; [3993] = 0; [3994] = 0; [3995] = 0; [3996] = 0; [3997] = 0; [3998] = 0; [3999] = 0; [4000] = 0; [4001] = 0; [4002] = 0; [4003] = 0; [4004] = 0; [4005] = 0; [4006] = 0; [4007] = 0; [4008] = 0; [4009] = 0; [4010] = 0; [4011] = 0; [4012] = 0; [4013] = 0; [4014] = 0; [4015] = 0; [4016] = 0; [4017] = 0; [4018] = 0; [4019] = 0; [4020] = 0; [4021] = 0; [4022] = 0; [4023] = 0; [4024] = 0; [4025] = 0; [4026] = 0; [4027] = 0; [4028] = 0; [4029] = 0; [4030] = 0; [4031] = 0; [4032] = 0; [4033] = 0; [4034] = 0; [4035] = 0; [4036] = 0; [4037] = 0; [4038] = 0; [4039] = 0; [4040] = 0; [4041] = 0; [4042] = 0; [4043] = 0; [4044] = 0; [4045] = 0; [4046] = 0; [4047] = 0; [4048] = 0; [4049] = 0; [4050] = 0; [4051] = 0; [4052] = 0; [4053] = 0; [4054] = 0; [4055] = 0; [4056] = 0; [4057] = 0; [4058] = 0; [4059] = 0; [4060] = 0; [4061] = 0; [4062] = 0; [4063] = 0; [4064] = 0; [4065] = 0; [4066] = 0; [4067] = 0; [4068] = 0; [4069] = 0; [4070] = 0; [4071] = 0; [4072] = 0; [4073] = 0; [4074] = 0; [4075] = 0; [4076] = 0; [4077] = 0; [4078] = 0; [4079] = 0; [4080] = 0; [4081] = 0; [4082] = 0; [4083] = 0; [4084] = 0; [4085] = 0; [4086] = 0; [4087] = 0; [4088] = 0; [4089] = 0; [4090] = 0; [4091] = 0; [4092] = 0; [4093] = 0; [4094] = 0; [4095] = 0; [4096] = 0; }; ["offsetx"] = 0; ["type"] = "tilelayer"; ["width"] = 64; ["name"] = "fground"; ["opacity"] = 1; }; [6] = { ["x"] = 0; ["encoding"] = "lua"; ["visible"] = true; ["offsety"] = 0; ["properties"] = { ["depth"] = 9003; }; ["y"] = 0; ["height"] = 64; ["data"] = { [1] = 0; [2] = 0; [3] = 0; [4] = 0; [5] = 0; [6] = 0; [7] = 0; [8] = 0; [9] = 0; [10] = 0; [11] = 0; [12] = 0; [13] = 0; [14] = 0; [15] = 0; [16] = 0; [17] = 0; [18] = 0; [19] = 0; [20] = 0; [21] = 0; [22] = 0; [23] = 0; [24] = 0; [25] = 0; [26] = 0; [27] = 0; [28] = 0; [29] = 0; [30] = 0; [31] = 0; [32] = 0; [33] = 0; [34] = 0; [35] = 0; [36] = 0; [37] = 0; [38] = 0; [39] = 0; [40] = 0; [41] = 0; [42] = 0; [43] = 0; [44] = 0; [45] = 0; [46] = 0; [47] = 0; [48] = 0; [49] = 0; [50] = 0; [51] = 0; [52] = 0; [53] = 0; [54] = 0; [55] = 0; [56] = 0; [57] = 0; [58] = 0; [59] = 0; [60] = 0; [61] = 0; [62] = 0; [63] = 0; [64] = 0; [65] = 0; [66] = 0; [67] = 0; [68] = 0; [69] = 0; [70] = 0; [71] = 0; [72] = 0; [73] = 0; [74] = 0; [75] = 0; [76] = 0; [77] = 0; [78] = 0; [79] = 0; [80] = 0; [81] = 0; [82] = 0; [83] = 0; [84] = 0; [85] = 0; [86] = 0; [87] = 0; [88] = 0; [89] = 0; [90] = 0; [91] = 0; [92] = 0; [93] = 0; [94] = 0; [95] = 0; [96] = 0; [97] = 0; [98] = 0; [99] = 0; [100] = 0; [101] = 0; [102] = 0; [103] = 0; [104] = 0; [105] = 0; [106] = 0; [107] = 0; [108] = 0; [109] = 0; [110] = 0; [111] = 0; [112] = 0; [113] = 0; [114] = 0; [115] = 0; [116] = 0; [117] = 0; [118] = 0; [119] = 0; [120] = 0; [121] = 0; [122] = 0; [123] = 0; [124] = 0; [125] = 0; [126] = 0; [127] = 0; [128] = 0; [129] = 0; [130] = 0; [131] = 0; [132] = 0; [133] = 0; [134] = 0; [135] = 0; [136] = 0; [137] = 0; [138] = 0; [139] = 0; [140] = 0; [141] = 0; [142] = 0; [143] = 0; [144] = 0; [145] = 0; [146] = 0; [147] = 0; [148] = 0; [149] = 0; [150] = 0; [151] = 0; [152] = 0; [153] = 0; [154] = 0; [155] = 0; [156] = 0; [157] = 0; [158] = 0; [159] = 0; [160] = 0; [161] = 0; [162] = 0; [163] = 0; [164] = 0; [165] = 0; [166] = 0; [167] = 0; [168] = 0; [169] = 0; [170] = 0; [171] = 0; [172] = 0; [173] = 0; [174] = 0; [175] = 0; [176] = 0; [177] = 0; [178] = 0; [179] = 0; [180] = 0; [181] = 0; [182] = 0; [183] = 0; [184] = 0; [185] = 0; [186] = 0; [187] = 0; [188] = 0; [189] = 0; [190] = 0; [191] = 0; [192] = 0; [193] = 0; [194] = 0; [195] = 0; [196] = 0; [197] = 0; [198] = 0; [199] = 0; [200] = 0; [201] = 0; [202] = 0; [203] = 0; [204] = 0; [205] = 0; [206] = 0; [207] = 0; [208] = 0; [209] = 0; [210] = 0; [211] = 0; [212] = 0; [213] = 0; [214] = 0; [215] = 0; [216] = 0; [217] = 0; [218] = 0; [219] = 0; [220] = 0; [221] = 0; [222] = 0; [223] = 0; [224] = 0; [225] = 0; [226] = 0; [227] = 0; [228] = 0; [229] = 0; [230] = 0; [231] = 0; [232] = 0; [233] = 0; [234] = 0; [235] = 0; [236] = 0; [237] = 0; [238] = 0; [239] = 0; [240] = 0; [241] = 0; [242] = 0; [243] = 0; [244] = 0; [245] = 0; [246] = 0; [247] = 0; [248] = 0; [249] = 0; [250] = 0; [251] = 0; [252] = 0; [253] = 0; [254] = 0; [255] = 0; [256] = 0; [257] = 0; [258] = 0; [259] = 0; [260] = 0; [261] = 0; [262] = 0; [263] = 0; [264] = 0; [265] = 0; [266] = 0; [267] = 0; [268] = 0; [269] = 0; [270] = 0; [271] = 0; [272] = 0; [273] = 0; [274] = 0; [275] = 0; [276] = 0; [277] = 0; [278] = 0; [279] = 0; [280] = 0; [281] = 0; [282] = 0; [283] = 0; [284] = 0; [285] = 0; [286] = 0; [287] = 0; [288] = 0; [289] = 0; [290] = 0; [291] = 0; [292] = 0; [293] = 0; [294] = 0; [295] = 0; [296] = 0; [297] = 0; [298] = 0; [299] = 0; [300] = 0; [301] = 0; [302] = 0; [303] = 0; [304] = 0; [305] = 0; [306] = 0; [307] = 0; [308] = 0; [309] = 0; [310] = 0; [311] = 0; [312] = 0; [313] = 0; [314] = 0; [315] = 0; [316] = 0; [317] = 0; [318] = 0; [319] = 0; [320] = 0; [321] = 0; [322] = 0; [323] = 0; [324] = 0; [325] = 0; [326] = 0; [327] = 0; [328] = 0; [329] = 0; [330] = 0; [331] = 0; [332] = 0; [333] = 0; [334] = 0; [335] = 0; [336] = 0; [337] = 0; [338] = 0; [339] = 0; [340] = 0; [341] = 0; [342] = 0; [343] = 0; [344] = 0; [345] = 0; [346] = 0; [347] = 0; [348] = 0; [349] = 0; [350] = 0; [351] = 0; [352] = 0; [353] = 0; [354] = 0; [355] = 0; [356] = 0; [357] = 0; [358] = 0; [359] = 0; [360] = 0; [361] = 0; [362] = 0; [363] = 0; [364] = 0; [365] = 0; [366] = 0; [367] = 0; [368] = 0; [369] = 0; [370] = 0; [371] = 0; [372] = 0; [373] = 0; [374] = 0; [375] = 0; [376] = 0; [377] = 0; [378] = 0; [379] = 0; [380] = 0; [381] = 0; [382] = 0; [383] = 0; [384] = 0; [385] = 0; [386] = 0; [387] = 0; [388] = 0; [389] = 0; [390] = 0; [391] = 0; [392] = 0; [393] = 0; [394] = 0; [395] = 0; [396] = 0; [397] = 0; [398] = 0; [399] = 0; [400] = 0; [401] = 0; [402] = 0; [403] = 0; [404] = 0; [405] = 0; [406] = 0; [407] = 0; [408] = 0; [409] = 0; [410] = 0; [411] = 0; [412] = 0; [413] = 0; [414] = 0; [415] = 0; [416] = 0; [417] = 0; [418] = 0; [419] = 0; [420] = 0; [421] = 0; [422] = 0; [423] = 0; [424] = 0; [425] = 0; [426] = 0; [427] = 0; [428] = 0; [429] = 0; [430] = 0; [431] = 0; [432] = 0; [433] = 0; [434] = 0; [435] = 0; [436] = 0; [437] = 0; [438] = 0; [439] = 0; [440] = 0; [441] = 0; [442] = 0; [443] = 0; [444] = 0; [445] = 0; [446] = 0; [447] = 0; [448] = 0; [449] = 0; [450] = 0; [451] = 0; [452] = 0; [453] = 0; [454] = 0; [455] = 0; [456] = 0; [457] = 0; [458] = 0; [459] = 0; [460] = 0; [461] = 0; [462] = 0; [463] = 0; [464] = 0; [465] = 0; [466] = 0; [467] = 0; [468] = 0; [469] = 0; [470] = 0; [471] = 0; [472] = 0; [473] = 0; [474] = 0; [475] = 0; [476] = 0; [477] = 0; [478] = 0; [479] = 0; [480] = 0; [481] = 0; [482] = 0; [483] = 0; [484] = 0; [485] = 0; [486] = 0; [487] = 0; [488] = 0; [489] = 0; [490] = 0; [491] = 0; [492] = 0; [493] = 0; [494] = 0; [495] = 0; [496] = 0; [497] = 0; [498] = 0; [499] = 0; [500] = 0; [501] = 0; [502] = 0; [503] = 0; [504] = 0; [505] = 0; [506] = 0; [507] = 0; [508] = 0; [509] = 0; [510] = 0; [511] = 0; [512] = 0; [513] = 0; [514] = 0; [515] = 0; [516] = 0; [517] = 0; [518] = 0; [519] = 0; [520] = 0; [521] = 0; [522] = 0; [523] = 0; [524] = 0; [525] = 0; [526] = 0; [527] = 0; [528] = 0; [529] = 0; [530] = 0; [531] = 0; [532] = 0; [533] = 0; [534] = 0; [535] = 0; [536] = 0; [537] = 0; [538] = 0; [539] = 0; [540] = 0; [541] = 0; [542] = 0; [543] = 0; [544] = 0; [545] = 0; [546] = 0; [547] = 0; [548] = 0; [549] = 0; [550] = 0; [551] = 0; [552] = 0; [553] = 0; [554] = 0; [555] = 0; [556] = 0; [557] = 0; [558] = 0; [559] = 0; [560] = 0; [561] = 0; [562] = 0; [563] = 0; [564] = 0; [565] = 0; [566] = 0; [567] = 0; [568] = 0; [569] = 0; [570] = 0; [571] = 0; [572] = 0; [573] = 0; [574] = 0; [575] = 0; [576] = 0; [577] = 0; [578] = 0; [579] = 0; [580] = 0; [581] = 0; [582] = 0; [583] = 0; [584] = 0; [585] = 0; [586] = 0; [587] = 0; [588] = 0; [589] = 0; [590] = 0; [591] = 0; [592] = 0; [593] = 0; [594] = 0; [595] = 0; [596] = 0; [597] = 0; [598] = 0; [599] = 0; [600] = 0; [601] = 0; [602] = 0; [603] = 0; [604] = 0; [605] = 0; [606] = 0; [607] = 0; [608] = 0; [609] = 0; [610] = 0; [611] = 0; [612] = 0; [613] = 0; [614] = 0; [615] = 0; [616] = 0; [617] = 0; [618] = 0; [619] = 0; [620] = 0; [621] = 0; [622] = 0; [623] = 0; [624] = 0; [625] = 0; [626] = 0; [627] = 0; [628] = 0; [629] = 0; [630] = 0; [631] = 0; [632] = 0; [633] = 0; [634] = 0; [635] = 0; [636] = 0; [637] = 0; [638] = 0; [639] = 0; [640] = 0; [641] = 0; [642] = 0; [643] = 0; [644] = 0; [645] = 0; [646] = 0; [647] = 0; [648] = 0; [649] = 0; [650] = 0; [651] = 0; [652] = 0; [653] = 0; [654] = 0; [655] = 0; [656] = 0; [657] = 0; [658] = 0; [659] = 0; [660] = 0; [661] = 0; [662] = 0; [663] = 0; [664] = 0; [665] = 0; [666] = 0; [667] = 0; [668] = 0; [669] = 0; [670] = 0; [671] = 0; [672] = 0; [673] = 0; [674] = 0; [675] = 0; [676] = 0; [677] = 0; [678] = 0; [679] = 0; [680] = 0; [681] = 0; [682] = 0; [683] = 0; [684] = 0; [685] = 0; [686] = 0; [687] = 0; [688] = 0; [689] = 0; [690] = 0; [691] = 0; [692] = 0; [693] = 0; [694] = 0; [695] = 0; [696] = 0; [697] = 0; [698] = 0; [699] = 0; [700] = 0; [701] = 0; [702] = 0; [703] = 0; [704] = 0; [705] = 0; [706] = 0; [707] = 0; [708] = 0; [709] = 0; [710] = 0; [711] = 0; [712] = 0; [713] = 0; [714] = 0; [715] = 0; [716] = 0; [717] = 0; [718] = 0; [719] = 0; [720] = 0; [721] = 0; [722] = 0; [723] = 0; [724] = 0; [725] = 0; [726] = 0; [727] = 0; [728] = 0; [729] = 0; [730] = 0; [731] = 0; [732] = 0; [733] = 0; [734] = 0; [735] = 0; [736] = 0; [737] = 0; [738] = 0; [739] = 0; [740] = 0; [741] = 0; [742] = 0; [743] = 0; [744] = 0; [745] = 0; [746] = 0; [747] = 0; [748] = 0; [749] = 0; [750] = 0; [751] = 0; [752] = 0; [753] = 0; [754] = 0; [755] = 0; [756] = 0; [757] = 0; [758] = 0; [759] = 0; [760] = 0; [761] = 0; [762] = 0; [763] = 0; [764] = 0; [765] = 0; [766] = 0; [767] = 0; [768] = 0; [769] = 0; [770] = 0; [771] = 0; [772] = 0; [773] = 0; [774] = 0; [775] = 0; [776] = 0; [777] = 0; [778] = 0; [779] = 0; [780] = 0; [781] = 0; [782] = 0; [783] = 0; [784] = 0; [785] = 0; [786] = 0; [787] = 0; [788] = 0; [789] = 0; [790] = 0; [791] = 0; [792] = 0; [793] = 0; [794] = 0; [795] = 0; [796] = 0; [797] = 0; [798] = 0; [799] = 0; [800] = 0; [801] = 0; [802] = 0; [803] = 0; [804] = 0; [805] = 0; [806] = 0; [807] = 0; [808] = 0; [809] = 0; [810] = 0; [811] = 0; [812] = 0; [813] = 0; [814] = 0; [815] = 0; [816] = 0; [817] = 0; [818] = 0; [819] = 0; [820] = 0; [821] = 0; [822] = 0; [823] = 0; [824] = 0; [825] = 0; [826] = 0; [827] = 0; [828] = 0; [829] = 0; [830] = 0; [831] = 0; [832] = 0; [833] = 0; [834] = 0; [835] = 0; [836] = 0; [837] = 0; [838] = 0; [839] = 0; [840] = 0; [841] = 0; [842] = 0; [843] = 0; [844] = 0; [845] = 0; [846] = 0; [847] = 0; [848] = 0; [849] = 0; [850] = 0; [851] = 0; [852] = 0; [853] = 0; [854] = 0; [855] = 0; [856] = 0; [857] = 0; [858] = 0; [859] = 0; [860] = 0; [861] = 0; [862] = 0; [863] = 0; [864] = 0; [865] = 0; [866] = 0; [867] = 0; [868] = 0; [869] = 0; [870] = 0; [871] = 0; [872] = 0; [873] = 0; [874] = 0; [875] = 0; [876] = 0; [877] = 0; [878] = 0; [879] = 0; [880] = 0; [881] = 0; [882] = 0; [883] = 0; [884] = 0; [885] = 0; [886] = 0; [887] = 0; [888] = 0; [889] = 0; [890] = 0; [891] = 0; [892] = 0; [893] = 0; [894] = 0; [895] = 0; [896] = 0; [897] = 0; [898] = 0; [899] = 0; [900] = 0; [901] = 0; [902] = 0; [903] = 0; [904] = 0; [905] = 0; [906] = 0; [907] = 0; [908] = 0; [909] = 0; [910] = 0; [911] = 0; [912] = 0; [913] = 0; [914] = 0; [915] = 0; [916] = 0; [917] = 0; [918] = 0; [919] = 0; [920] = 0; [921] = 0; [922] = 0; [923] = 0; [924] = 0; [925] = 0; [926] = 0; [927] = 0; [928] = 0; [929] = 0; [930] = 0; [931] = 0; [932] = 0; [933] = 0; [934] = 0; [935] = 0; [936] = 0; [937] = 0; [938] = 0; [939] = 0; [940] = 0; [941] = 0; [942] = 0; [943] = 0; [944] = 0; [945] = 0; [946] = 0; [947] = 0; [948] = 0; [949] = 0; [950] = 0; [951] = 0; [952] = 0; [953] = 0; [954] = 0; [955] = 0; [956] = 0; [957] = 0; [958] = 0; [959] = 0; [960] = 0; [961] = 0; [962] = 0; [963] = 0; [964] = 0; [965] = 0; [966] = 0; [967] = 0; [968] = 0; [969] = 0; [970] = 0; [971] = 0; [972] = 0; [973] = 0; [974] = 0; [975] = 0; [976] = 0; [977] = 0; [978] = 0; [979] = 0; [980] = 0; [981] = 0; [982] = 0; [983] = 0; [984] = 0; [985] = 0; [986] = 0; [987] = 0; [988] = 0; [989] = 0; [990] = 0; [991] = 0; [992] = 0; [993] = 0; [994] = 0; [995] = 0; [996] = 0; [997] = 0; [998] = 0; [999] = 0; [1000] = 0; [1001] = 0; [1002] = 0; [1003] = 0; [1004] = 0; [1005] = 0; [1006] = 0; [1007] = 0; [1008] = 0; [1009] = 0; [1010] = 0; [1011] = 0; [1012] = 0; [1013] = 0; [1014] = 0; [1015] = 0; [1016] = 0; [1017] = 0; [1018] = 0; [1019] = 0; [1020] = 0; [1021] = 0; [1022] = 0; [1023] = 0; [1024] = 0; [1025] = 0; [1026] = 0; [1027] = 0; [1028] = 0; [1029] = 0; [1030] = 0; [1031] = 0; [1032] = 0; [1033] = 0; [1034] = 0; [1035] = 0; [1036] = 0; [1037] = 0; [1038] = 0; [1039] = 0; [1040] = 0; [1041] = 0; [1042] = 0; [1043] = 0; [1044] = 0; [1045] = 0; [1046] = 0; [1047] = 0; [1048] = 0; [1049] = 0; [1050] = 0; [1051] = 0; [1052] = 0; [1053] = 0; [1054] = 0; [1055] = 0; [1056] = 0; [1057] = 0; [1058] = 0; [1059] = 0; [1060] = 0; [1061] = 0; [1062] = 0; [1063] = 0; [1064] = 0; [1065] = 0; [1066] = 0; [1067] = 0; [1068] = 0; [1069] = 0; [1070] = 0; [1071] = 0; [1072] = 0; [1073] = 0; [1074] = 0; [1075] = 0; [1076] = 0; [1077] = 0; [1078] = 0; [1079] = 0; [1080] = 0; [1081] = 0; [1082] = 0; [1083] = 0; [1084] = 0; [1085] = 0; [1086] = 0; [1087] = 0; [1088] = 0; [1089] = 0; [1090] = 0; [1091] = 0; [1092] = 0; [1093] = 0; [1094] = 0; [1095] = 0; [1096] = 0; [1097] = 0; [1098] = 0; [1099] = 0; [1100] = 0; [1101] = 0; [1102] = 0; [1103] = 0; [1104] = 0; [1105] = 0; [1106] = 0; [1107] = 0; [1108] = 0; [1109] = 0; [1110] = 0; [1111] = 0; [1112] = 0; [1113] = 0; [1114] = 0; [1115] = 0; [1116] = 0; [1117] = 0; [1118] = 0; [1119] = 0; [1120] = 0; [1121] = 0; [1122] = 0; [1123] = 0; [1124] = 0; [1125] = 0; [1126] = 0; [1127] = 0; [1128] = 0; [1129] = 0; [1130] = 0; [1131] = 0; [1132] = 0; [1133] = 0; [1134] = 0; [1135] = 0; [1136] = 0; [1137] = 0; [1138] = 0; [1139] = 0; [1140] = 0; [1141] = 0; [1142] = 0; [1143] = 0; [1144] = 0; [1145] = 0; [1146] = 0; [1147] = 0; [1148] = 0; [1149] = 0; [1150] = 0; [1151] = 0; [1152] = 0; [1153] = 0; [1154] = 0; [1155] = 0; [1156] = 0; [1157] = 0; [1158] = 0; [1159] = 0; [1160] = 0; [1161] = 0; [1162] = 0; [1163] = 0; [1164] = 0; [1165] = 0; [1166] = 0; [1167] = 0; [1168] = 0; [1169] = 0; [1170] = 0; [1171] = 0; [1172] = 0; [1173] = 0; [1174] = 0; [1175] = 0; [1176] = 0; [1177] = 0; [1178] = 0; [1179] = 0; [1180] = 0; [1181] = 0; [1182] = 0; [1183] = 0; [1184] = 0; [1185] = 0; [1186] = 0; [1187] = 0; [1188] = 0; [1189] = 0; [1190] = 0; [1191] = 0; [1192] = 0; [1193] = 0; [1194] = 0; [1195] = 0; [1196] = 0; [1197] = 0; [1198] = 0; [1199] = 0; [1200] = 0; [1201] = 0; [1202] = 0; [1203] = 0; [1204] = 0; [1205] = 0; [1206] = 0; [1207] = 0; [1208] = 0; [1209] = 0; [1210] = 0; [1211] = 0; [1212] = 0; [1213] = 0; [1214] = 0; [1215] = 0; [1216] = 0; [1217] = 0; [1218] = 0; [1219] = 0; [1220] = 0; [1221] = 0; [1222] = 0; [1223] = 0; [1224] = 0; [1225] = 0; [1226] = 0; [1227] = 0; [1228] = 0; [1229] = 0; [1230] = 0; [1231] = 0; [1232] = 0; [1233] = 0; [1234] = 0; [1235] = 0; [1236] = 0; [1237] = 0; [1238] = 0; [1239] = 0; [1240] = 0; [1241] = 0; [1242] = 0; [1243] = 0; [1244] = 0; [1245] = 0; [1246] = 0; [1247] = 0; [1248] = 0; [1249] = 0; [1250] = 0; [1251] = 0; [1252] = 0; [1253] = 0; [1254] = 0; [1255] = 0; [1256] = 0; [1257] = 0; [1258] = 0; [1259] = 0; [1260] = 0; [1261] = 0; [1262] = 0; [1263] = 0; [1264] = 0; [1265] = 0; [1266] = 0; [1267] = 0; [1268] = 0; [1269] = 0; [1270] = 0; [1271] = 0; [1272] = 0; [1273] = 0; [1274] = 0; [1275] = 0; [1276] = 0; [1277] = 0; [1278] = 0; [1279] = 0; [1280] = 0; [1281] = 0; [1282] = 0; [1283] = 0; [1284] = 0; [1285] = 0; [1286] = 0; [1287] = 0; [1288] = 0; [1289] = 0; [1290] = 0; [1291] = 0; [1292] = 0; [1293] = 0; [1294] = 0; [1295] = 0; [1296] = 0; [1297] = 0; [1298] = 0; [1299] = 0; [1300] = 0; [1301] = 0; [1302] = 0; [1303] = 0; [1304] = 0; [1305] = 0; [1306] = 0; [1307] = 0; [1308] = 0; [1309] = 0; [1310] = 0; [1311] = 0; [1312] = 0; [1313] = 0; [1314] = 0; [1315] = 0; [1316] = 0; [1317] = 0; [1318] = 0; [1319] = 0; [1320] = 0; [1321] = 0; [1322] = 0; [1323] = 0; [1324] = 0; [1325] = 0; [1326] = 0; [1327] = 0; [1328] = 0; [1329] = 0; [1330] = 0; [1331] = 0; [1332] = 0; [1333] = 0; [1334] = 0; [1335] = 0; [1336] = 0; [1337] = 0; [1338] = 0; [1339] = 0; [1340] = 0; [1341] = 0; [1342] = 0; [1343] = 0; [1344] = 0; [1345] = 0; [1346] = 0; [1347] = 0; [1348] = 0; [1349] = 0; [1350] = 0; [1351] = 0; [1352] = 0; [1353] = 0; [1354] = 0; [1355] = 0; [1356] = 0; [1357] = 0; [1358] = 0; [1359] = 0; [1360] = 0; [1361] = 0; [1362] = 0; [1363] = 0; [1364] = 0; [1365] = 0; [1366] = 0; [1367] = 0; [1368] = 0; [1369] = 0; [1370] = 0; [1371] = 0; [1372] = 0; [1373] = 0; [1374] = 0; [1375] = 0; [1376] = 0; [1377] = 0; [1378] = 0; [1379] = 0; [1380] = 0; [1381] = 0; [1382] = 0; [1383] = 0; [1384] = 0; [1385] = 0; [1386] = 0; [1387] = 0; [1388] = 0; [1389] = 0; [1390] = 0; [1391] = 0; [1392] = 0; [1393] = 0; [1394] = 0; [1395] = 0; [1396] = 0; [1397] = 0; [1398] = 0; [1399] = 0; [1400] = 0; [1401] = 0; [1402] = 0; [1403] = 0; [1404] = 0; [1405] = 0; [1406] = 0; [1407] = 0; [1408] = 0; [1409] = 0; [1410] = 0; [1411] = 0; [1412] = 0; [1413] = 0; [1414] = 0; [1415] = 0; [1416] = 0; [1417] = 0; [1418] = 0; [1419] = 0; [1420] = 0; [1421] = 0; [1422] = 0; [1423] = 0; [1424] = 0; [1425] = 0; [1426] = 0; [1427] = 0; [1428] = 0; [1429] = 0; [1430] = 0; [1431] = 0; [1432] = 0; [1433] = 0; [1434] = 0; [1435] = 0; [1436] = 0; [1437] = 0; [1438] = 0; [1439] = 0; [1440] = 0; [1441] = 0; [1442] = 0; [1443] = 0; [1444] = 0; [1445] = 0; [1446] = 0; [1447] = 0; [1448] = 0; [1449] = 0; [1450] = 0; [1451] = 0; [1452] = 0; [1453] = 0; [1454] = 0; [1455] = 0; [1456] = 0; [1457] = 0; [1458] = 0; [1459] = 0; [1460] = 0; [1461] = 0; [1462] = 0; [1463] = 0; [1464] = 0; [1465] = 0; [1466] = 0; [1467] = 0; [1468] = 0; [1469] = 0; [1470] = 0; [1471] = 0; [1472] = 0; [1473] = 0; [1474] = 0; [1475] = 0; [1476] = 0; [1477] = 0; [1478] = 0; [1479] = 0; [1480] = 0; [1481] = 0; [1482] = 0; [1483] = 0; [1484] = 0; [1485] = 0; [1486] = 0; [1487] = 0; [1488] = 0; [1489] = 0; [1490] = 0; [1491] = 0; [1492] = 0; [1493] = 0; [1494] = 0; [1495] = 0; [1496] = 0; [1497] = 0; [1498] = 0; [1499] = 0; [1500] = 0; [1501] = 0; [1502] = 0; [1503] = 0; [1504] = 0; [1505] = 0; [1506] = 0; [1507] = 0; [1508] = 0; [1509] = 0; [1510] = 0; [1511] = 0; [1512] = 0; [1513] = 0; [1514] = 0; [1515] = 0; [1516] = 0; [1517] = 0; [1518] = 0; [1519] = 0; [1520] = 0; [1521] = 0; [1522] = 0; [1523] = 0; [1524] = 0; [1525] = 0; [1526] = 0; [1527] = 0; [1528] = 0; [1529] = 0; [1530] = 0; [1531] = 0; [1532] = 0; [1533] = 0; [1534] = 0; [1535] = 0; [1536] = 0; [1537] = 0; [1538] = 0; [1539] = 0; [1540] = 0; [1541] = 0; [1542] = 0; [1543] = 0; [1544] = 0; [1545] = 0; [1546] = 0; [1547] = 0; [1548] = 0; [1549] = 0; [1550] = 0; [1551] = 0; [1552] = 0; [1553] = 0; [1554] = 0; [1555] = 0; [1556] = 0; [1557] = 0; [1558] = 0; [1559] = 0; [1560] = 0; [1561] = 0; [1562] = 0; [1563] = 0; [1564] = 0; [1565] = 0; [1566] = 0; [1567] = 0; [1568] = 0; [1569] = 0; [1570] = 0; [1571] = 0; [1572] = 0; [1573] = 0; [1574] = 0; [1575] = 0; [1576] = 0; [1577] = 0; [1578] = 0; [1579] = 0; [1580] = 0; [1581] = 0; [1582] = 0; [1583] = 0; [1584] = 0; [1585] = 0; [1586] = 0; [1587] = 0; [1588] = 0; [1589] = 0; [1590] = 0; [1591] = 0; [1592] = 0; [1593] = 0; [1594] = 0; [1595] = 0; [1596] = 0; [1597] = 0; [1598] = 0; [1599] = 0; [1600] = 0; [1601] = 0; [1602] = 0; [1603] = 0; [1604] = 0; [1605] = 0; [1606] = 0; [1607] = 0; [1608] = 0; [1609] = 0; [1610] = 0; [1611] = 0; [1612] = 0; [1613] = 0; [1614] = 0; [1615] = 0; [1616] = 0; [1617] = 0; [1618] = 0; [1619] = 0; [1620] = 0; [1621] = 0; [1622] = 0; [1623] = 0; [1624] = 0; [1625] = 0; [1626] = 0; [1627] = 0; [1628] = 0; [1629] = 0; [1630] = 0; [1631] = 0; [1632] = 0; [1633] = 0; [1634] = 0; [1635] = 0; [1636] = 0; [1637] = 0; [1638] = 0; [1639] = 0; [1640] = 0; [1641] = 0; [1642] = 0; [1643] = 0; [1644] = 0; [1645] = 0; [1646] = 0; [1647] = 0; [1648] = 0; [1649] = 0; [1650] = 0; [1651] = 0; [1652] = 0; [1653] = 0; [1654] = 0; [1655] = 0; [1656] = 0; [1657] = 0; [1658] = 0; [1659] = 0; [1660] = 0; [1661] = 0; [1662] = 0; [1663] = 0; [1664] = 0; [1665] = 0; [1666] = 0; [1667] = 0; [1668] = 0; [1669] = 0; [1670] = 0; [1671] = 0; [1672] = 0; [1673] = 0; [1674] = 0; [1675] = 0; [1676] = 0; [1677] = 0; [1678] = 0; [1679] = 0; [1680] = 0; [1681] = 0; [1682] = 0; [1683] = 0; [1684] = 0; [1685] = 0; [1686] = 0; [1687] = 0; [1688] = 0; [1689] = 0; [1690] = 0; [1691] = 0; [1692] = 0; [1693] = 0; [1694] = 0; [1695] = 0; [1696] = 0; [1697] = 0; [1698] = 0; [1699] = 0; [1700] = 0; [1701] = 0; [1702] = 0; [1703] = 0; [1704] = 0; [1705] = 0; [1706] = 0; [1707] = 0; [1708] = 0; [1709] = 0; [1710] = 0; [1711] = 0; [1712] = 0; [1713] = 0; [1714] = 0; [1715] = 0; [1716] = 0; [1717] = 0; [1718] = 0; [1719] = 0; [1720] = 0; [1721] = 0; [1722] = 0; [1723] = 0; [1724] = 0; [1725] = 0; [1726] = 0; [1727] = 0; [1728] = 0; [1729] = 0; [1730] = 0; [1731] = 0; [1732] = 0; [1733] = 0; [1734] = 0; [1735] = 0; [1736] = 0; [1737] = 0; [1738] = 0; [1739] = 0; [1740] = 0; [1741] = 0; [1742] = 0; [1743] = 0; [1744] = 0; [1745] = 0; [1746] = 0; [1747] = 0; [1748] = 0; [1749] = 0; [1750] = 0; [1751] = 0; [1752] = 0; [1753] = 0; [1754] = 0; [1755] = 0; [1756] = 0; [1757] = 0; [1758] = 0; [1759] = 0; [1760] = 0; [1761] = 0; [1762] = 0; [1763] = 0; [1764] = 0; [1765] = 0; [1766] = 0; [1767] = 0; [1768] = 0; [1769] = 0; [1770] = 0; [1771] = 0; [1772] = 0; [1773] = 0; [1774] = 0; [1775] = 0; [1776] = 0; [1777] = 0; [1778] = 0; [1779] = 0; [1780] = 0; [1781] = 0; [1782] = 0; [1783] = 0; [1784] = 0; [1785] = 0; [1786] = 0; [1787] = 0; [1788] = 0; [1789] = 0; [1790] = 0; [1791] = 0; [1792] = 0; [1793] = 0; [1794] = 0; [1795] = 0; [1796] = 0; [1797] = 0; [1798] = 0; [1799] = 0; [1800] = 0; [1801] = 0; [1802] = 0; [1803] = 0; [1804] = 0; [1805] = 0; [1806] = 0; [1807] = 0; [1808] = 0; [1809] = 0; [1810] = 0; [1811] = 0; [1812] = 0; [1813] = 0; [1814] = 0; [1815] = 0; [1816] = 0; [1817] = 0; [1818] = 0; [1819] = 0; [1820] = 0; [1821] = 0; [1822] = 0; [1823] = 0; [1824] = 0; [1825] = 0; [1826] = 0; [1827] = 0; [1828] = 0; [1829] = 0; [1830] = 0; [1831] = 0; [1832] = 0; [1833] = 0; [1834] = 0; [1835] = 0; [1836] = 0; [1837] = 0; [1838] = 0; [1839] = 0; [1840] = 0; [1841] = 0; [1842] = 0; [1843] = 0; [1844] = 0; [1845] = 0; [1846] = 0; [1847] = 0; [1848] = 0; [1849] = 0; [1850] = 0; [1851] = 0; [1852] = 0; [1853] = 0; [1854] = 0; [1855] = 0; [1856] = 0; [1857] = 0; [1858] = 0; [1859] = 0; [1860] = 0; [1861] = 0; [1862] = 0; [1863] = 0; [1864] = 0; [1865] = 0; [1866] = 0; [1867] = 0; [1868] = 0; [1869] = 0; [1870] = 0; [1871] = 0; [1872] = 0; [1873] = 0; [1874] = 0; [1875] = 0; [1876] = 0; [1877] = 0; [1878] = 0; [1879] = 0; [1880] = 0; [1881] = 0; [1882] = 0; [1883] = 0; [1884] = 0; [1885] = 0; [1886] = 0; [1887] = 0; [1888] = 0; [1889] = 0; [1890] = 0; [1891] = 0; [1892] = 0; [1893] = 0; [1894] = 0; [1895] = 0; [1896] = 0; [1897] = 0; [1898] = 0; [1899] = 0; [1900] = 0; [1901] = 0; [1902] = 0; [1903] = 0; [1904] = 0; [1905] = 0; [1906] = 0; [1907] = 0; [1908] = 0; [1909] = 0; [1910] = 0; [1911] = 0; [1912] = 0; [1913] = 0; [1914] = 0; [1915] = 0; [1916] = 0; [1917] = 0; [1918] = 0; [1919] = 0; [1920] = 0; [1921] = 0; [1922] = 0; [1923] = 0; [1924] = 0; [1925] = 0; [1926] = 0; [1927] = 0; [1928] = 0; [1929] = 0; [1930] = 0; [1931] = 0; [1932] = 0; [1933] = 0; [1934] = 0; [1935] = 0; [1936] = 0; [1937] = 0; [1938] = 0; [1939] = 0; [1940] = 0; [1941] = 0; [1942] = 0; [1943] = 0; [1944] = 0; [1945] = 0; [1946] = 0; [1947] = 0; [1948] = 0; [1949] = 0; [1950] = 0; [1951] = 0; [1952] = 0; [1953] = 0; [1954] = 0; [1955] = 0; [1956] = 0; [1957] = 0; [1958] = 0; [1959] = 0; [1960] = 0; [1961] = 0; [1962] = 0; [1963] = 0; [1964] = 0; [1965] = 0; [1966] = 0; [1967] = 0; [1968] = 0; [1969] = 0; [1970] = 0; [1971] = 0; [1972] = 0; [1973] = 0; [1974] = 0; [1975] = 0; [1976] = 0; [1977] = 0; [1978] = 0; [1979] = 0; [1980] = 0; [1981] = 0; [1982] = 0; [1983] = 0; [1984] = 0; [1985] = 0; [1986] = 0; [1987] = 0; [1988] = 0; [1989] = 0; [1990] = 0; [1991] = 0; [1992] = 0; [1993] = 0; [1994] = 0; [1995] = 0; [1996] = 0; [1997] = 0; [1998] = 0; [1999] = 0; [2000] = 0; [2001] = 0; [2002] = 0; [2003] = 0; [2004] = 0; [2005] = 0; [2006] = 0; [2007] = 0; [2008] = 0; [2009] = 0; [2010] = 0; [2011] = 0; [2012] = 0; [2013] = 0; [2014] = 0; [2015] = 0; [2016] = 0; [2017] = 0; [2018] = 0; [2019] = 0; [2020] = 0; [2021] = 0; [2022] = 0; [2023] = 0; [2024] = 0; [2025] = 0; [2026] = 0; [2027] = 0; [2028] = 0; [2029] = 0; [2030] = 0; [2031] = 0; [2032] = 0; [2033] = 0; [2034] = 0; [2035] = 0; [2036] = 0; [2037] = 0; [2038] = 0; [2039] = 0; [2040] = 0; [2041] = 0; [2042] = 0; [2043] = 0; [2044] = 0; [2045] = 0; [2046] = 0; [2047] = 0; [2048] = 0; [2049] = 0; [2050] = 0; [2051] = 0; [2052] = 0; [2053] = 0; [2054] = 0; [2055] = 0; [2056] = 0; [2057] = 0; [2058] = 0; [2059] = 0; [2060] = 0; [2061] = 0; [2062] = 0; [2063] = 0; [2064] = 0; [2065] = 0; [2066] = 0; [2067] = 0; [2068] = 0; [2069] = 0; [2070] = 0; [2071] = 0; [2072] = 0; [2073] = 0; [2074] = 0; [2075] = 0; [2076] = 0; [2077] = 0; [2078] = 0; [2079] = 0; [2080] = 0; [2081] = 0; [2082] = 0; [2083] = 0; [2084] = 0; [2085] = 0; [2086] = 0; [2087] = 0; [2088] = 0; [2089] = 0; [2090] = 0; [2091] = 0; [2092] = 0; [2093] = 0; [2094] = 0; [2095] = 0; [2096] = 0; [2097] = 0; [2098] = 0; [2099] = 0; [2100] = 0; [2101] = 0; [2102] = 0; [2103] = 0; [2104] = 0; [2105] = 0; [2106] = 0; [2107] = 0; [2108] = 0; [2109] = 0; [2110] = 0; [2111] = 0; [2112] = 0; [2113] = 0; [2114] = 0; [2115] = 0; [2116] = 0; [2117] = 0; [2118] = 0; [2119] = 0; [2120] = 0; [2121] = 0; [2122] = 0; [2123] = 0; [2124] = 0; [2125] = 0; [2126] = 0; [2127] = 0; [2128] = 0; [2129] = 0; [2130] = 0; [2131] = 0; [2132] = 0; [2133] = 0; [2134] = 0; [2135] = 0; [2136] = 0; [2137] = 0; [2138] = 0; [2139] = 0; [2140] = 0; [2141] = 0; [2142] = 0; [2143] = 0; [2144] = 0; [2145] = 0; [2146] = 0; [2147] = 0; [2148] = 0; [2149] = 0; [2150] = 0; [2151] = 0; [2152] = 0; [2153] = 0; [2154] = 0; [2155] = 0; [2156] = 0; [2157] = 0; [2158] = 0; [2159] = 0; [2160] = 0; [2161] = 0; [2162] = 0; [2163] = 0; [2164] = 0; [2165] = 0; [2166] = 0; [2167] = 0; [2168] = 0; [2169] = 0; [2170] = 0; [2171] = 0; [2172] = 0; [2173] = 0; [2174] = 0; [2175] = 0; [2176] = 0; [2177] = 0; [2178] = 0; [2179] = 0; [2180] = 0; [2181] = 0; [2182] = 0; [2183] = 0; [2184] = 0; [2185] = 0; [2186] = 0; [2187] = 0; [2188] = 0; [2189] = 0; [2190] = 0; [2191] = 0; [2192] = 0; [2193] = 0; [2194] = 0; [2195] = 0; [2196] = 0; [2197] = 0; [2198] = 0; [2199] = 0; [2200] = 0; [2201] = 0; [2202] = 0; [2203] = 0; [2204] = 0; [2205] = 0; [2206] = 0; [2207] = 0; [2208] = 0; [2209] = 0; [2210] = 0; [2211] = 0; [2212] = 0; [2213] = 0; [2214] = 0; [2215] = 0; [2216] = 0; [2217] = 0; [2218] = 0; [2219] = 0; [2220] = 0; [2221] = 0; [2222] = 0; [2223] = 0; [2224] = 0; [2225] = 0; [2226] = 0; [2227] = 0; [2228] = 0; [2229] = 0; [2230] = 0; [2231] = 0; [2232] = 0; [2233] = 0; [2234] = 0; [2235] = 0; [2236] = 0; [2237] = 0; [2238] = 0; [2239] = 0; [2240] = 0; [2241] = 0; [2242] = 0; [2243] = 0; [2244] = 0; [2245] = 0; [2246] = 0; [2247] = 0; [2248] = 0; [2249] = 0; [2250] = 0; [2251] = 0; [2252] = 0; [2253] = 0; [2254] = 0; [2255] = 0; [2256] = 0; [2257] = 0; [2258] = 0; [2259] = 0; [2260] = 0; [2261] = 0; [2262] = 0; [2263] = 0; [2264] = 0; [2265] = 0; [2266] = 0; [2267] = 0; [2268] = 0; [2269] = 0; [2270] = 0; [2271] = 0; [2272] = 0; [2273] = 0; [2274] = 0; [2275] = 0; [2276] = 0; [2277] = 0; [2278] = 0; [2279] = 0; [2280] = 0; [2281] = 0; [2282] = 0; [2283] = 0; [2284] = 0; [2285] = 0; [2286] = 0; [2287] = 0; [2288] = 0; [2289] = 0; [2290] = 0; [2291] = 0; [2292] = 0; [2293] = 0; [2294] = 0; [2295] = 0; [2296] = 0; [2297] = 0; [2298] = 0; [2299] = 0; [2300] = 0; [2301] = 0; [2302] = 0; [2303] = 0; [2304] = 0; [2305] = 0; [2306] = 0; [2307] = 0; [2308] = 0; [2309] = 0; [2310] = 0; [2311] = 0; [2312] = 0; [2313] = 0; [2314] = 0; [2315] = 0; [2316] = 0; [2317] = 0; [2318] = 0; [2319] = 0; [2320] = 0; [2321] = 0; [2322] = 0; [2323] = 0; [2324] = 0; [2325] = 0; [2326] = 0; [2327] = 0; [2328] = 0; [2329] = 0; [2330] = 0; [2331] = 0; [2332] = 0; [2333] = 0; [2334] = 0; [2335] = 0; [2336] = 0; [2337] = 0; [2338] = 0; [2339] = 0; [2340] = 0; [2341] = 0; [2342] = 0; [2343] = 0; [2344] = 0; [2345] = 0; [2346] = 0; [2347] = 0; [2348] = 0; [2349] = 0; [2350] = 0; [2351] = 0; [2352] = 0; [2353] = 0; [2354] = 0; [2355] = 0; [2356] = 0; [2357] = 0; [2358] = 0; [2359] = 0; [2360] = 0; [2361] = 0; [2362] = 0; [2363] = 0; [2364] = 0; [2365] = 0; [2366] = 0; [2367] = 0; [2368] = 0; [2369] = 0; [2370] = 0; [2371] = 0; [2372] = 0; [2373] = 0; [2374] = 0; [2375] = 0; [2376] = 0; [2377] = 0; [2378] = 0; [2379] = 0; [2380] = 0; [2381] = 0; [2382] = 0; [2383] = 0; [2384] = 0; [2385] = 0; [2386] = 0; [2387] = 0; [2388] = 0; [2389] = 0; [2390] = 0; [2391] = 0; [2392] = 0; [2393] = 0; [2394] = 0; [2395] = 0; [2396] = 0; [2397] = 0; [2398] = 0; [2399] = 0; [2400] = 0; [2401] = 0; [2402] = 0; [2403] = 0; [2404] = 0; [2405] = 0; [2406] = 0; [2407] = 0; [2408] = 0; [2409] = 0; [2410] = 0; [2411] = 0; [2412] = 0; [2413] = 0; [2414] = 0; [2415] = 0; [2416] = 0; [2417] = 0; [2418] = 0; [2419] = 0; [2420] = 0; [2421] = 0; [2422] = 0; [2423] = 0; [2424] = 0; [2425] = 0; [2426] = 0; [2427] = 0; [2428] = 0; [2429] = 0; [2430] = 0; [2431] = 0; [2432] = 0; [2433] = 0; [2434] = 0; [2435] = 0; [2436] = 0; [2437] = 0; [2438] = 0; [2439] = 0; [2440] = 0; [2441] = 0; [2442] = 0; [2443] = 0; [2444] = 0; [2445] = 0; [2446] = 0; [2447] = 0; [2448] = 0; [2449] = 0; [2450] = 0; [2451] = 0; [2452] = 0; [2453] = 0; [2454] = 0; [2455] = 0; [2456] = 0; [2457] = 0; [2458] = 0; [2459] = 0; [2460] = 0; [2461] = 0; [2462] = 0; [2463] = 0; [2464] = 0; [2465] = 0; [2466] = 0; [2467] = 0; [2468] = 0; [2469] = 0; [2470] = 0; [2471] = 0; [2472] = 0; [2473] = 0; [2474] = 0; [2475] = 0; [2476] = 0; [2477] = 0; [2478] = 0; [2479] = 0; [2480] = 0; [2481] = 0; [2482] = 0; [2483] = 0; [2484] = 0; [2485] = 0; [2486] = 0; [2487] = 0; [2488] = 0; [2489] = 0; [2490] = 0; [2491] = 0; [2492] = 0; [2493] = 0; [2494] = 0; [2495] = 0; [2496] = 0; [2497] = 0; [2498] = 0; [2499] = 0; [2500] = 0; [2501] = 0; [2502] = 0; [2503] = 0; [2504] = 0; [2505] = 0; [2506] = 0; [2507] = 0; [2508] = 0; [2509] = 0; [2510] = 0; [2511] = 0; [2512] = 0; [2513] = 0; [2514] = 0; [2515] = 0; [2516] = 0; [2517] = 0; [2518] = 0; [2519] = 0; [2520] = 0; [2521] = 0; [2522] = 0; [2523] = 0; [2524] = 0; [2525] = 0; [2526] = 0; [2527] = 0; [2528] = 0; [2529] = 0; [2530] = 0; [2531] = 0; [2532] = 0; [2533] = 0; [2534] = 0; [2535] = 0; [2536] = 0; [2537] = 0; [2538] = 0; [2539] = 0; [2540] = 0; [2541] = 0; [2542] = 0; [2543] = 0; [2544] = 0; [2545] = 0; [2546] = 0; [2547] = 0; [2548] = 0; [2549] = 0; [2550] = 0; [2551] = 0; [2552] = 0; [2553] = 0; [2554] = 0; [2555] = 0; [2556] = 0; [2557] = 0; [2558] = 0; [2559] = 0; [2560] = 0; [2561] = 0; [2562] = 0; [2563] = 0; [2564] = 0; [2565] = 0; [2566] = 0; [2567] = 0; [2568] = 0; [2569] = 0; [2570] = 0; [2571] = 0; [2572] = 0; [2573] = 0; [2574] = 0; [2575] = 0; [2576] = 0; [2577] = 0; [2578] = 0; [2579] = 0; [2580] = 0; [2581] = 0; [2582] = 0; [2583] = 0; [2584] = 0; [2585] = 0; [2586] = 0; [2587] = 0; [2588] = 0; [2589] = 0; [2590] = 0; [2591] = 0; [2592] = 0; [2593] = 0; [2594] = 0; [2595] = 0; [2596] = 0; [2597] = 0; [2598] = 0; [2599] = 0; [2600] = 0; [2601] = 0; [2602] = 0; [2603] = 0; [2604] = 0; [2605] = 0; [2606] = 0; [2607] = 0; [2608] = 0; [2609] = 0; [2610] = 0; [2611] = 0; [2612] = 0; [2613] = 0; [2614] = 0; [2615] = 0; [2616] = 0; [2617] = 0; [2618] = 0; [2619] = 0; [2620] = 0; [2621] = 0; [2622] = 0; [2623] = 0; [2624] = 0; [2625] = 0; [2626] = 0; [2627] = 0; [2628] = 0; [2629] = 0; [2630] = 0; [2631] = 0; [2632] = 0; [2633] = 0; [2634] = 0; [2635] = 0; [2636] = 0; [2637] = 0; [2638] = 0; [2639] = 0; [2640] = 0; [2641] = 0; [2642] = 0; [2643] = 0; [2644] = 0; [2645] = 0; [2646] = 0; [2647] = 0; [2648] = 0; [2649] = 0; [2650] = 0; [2651] = 0; [2652] = 0; [2653] = 0; [2654] = 0; [2655] = 0; [2656] = 0; [2657] = 0; [2658] = 0; [2659] = 0; [2660] = 0; [2661] = 0; [2662] = 0; [2663] = 0; [2664] = 0; [2665] = 0; [2666] = 0; [2667] = 0; [2668] = 0; [2669] = 0; [2670] = 0; [2671] = 0; [2672] = 0; [2673] = 0; [2674] = 0; [2675] = 0; [2676] = 0; [2677] = 0; [2678] = 0; [2679] = 0; [2680] = 0; [2681] = 0; [2682] = 0; [2683] = 0; [2684] = 0; [2685] = 0; [2686] = 0; [2687] = 0; [2688] = 0; [2689] = 0; [2690] = 0; [2691] = 0; [2692] = 0; [2693] = 0; [2694] = 0; [2695] = 0; [2696] = 0; [2697] = 0; [2698] = 0; [2699] = 0; [2700] = 0; [2701] = 0; [2702] = 0; [2703] = 0; [2704] = 0; [2705] = 0; [2706] = 0; [2707] = 0; [2708] = 0; [2709] = 0; [2710] = 0; [2711] = 0; [2712] = 0; [2713] = 0; [2714] = 0; [2715] = 0; [2716] = 0; [2717] = 0; [2718] = 0; [2719] = 0; [2720] = 0; [2721] = 0; [2722] = 0; [2723] = 0; [2724] = 0; [2725] = 0; [2726] = 0; [2727] = 0; [2728] = 0; [2729] = 0; [2730] = 0; [2731] = 0; [2732] = 0; [2733] = 0; [2734] = 0; [2735] = 0; [2736] = 0; [2737] = 0; [2738] = 0; [2739] = 0; [2740] = 0; [2741] = 0; [2742] = 0; [2743] = 0; [2744] = 0; [2745] = 0; [2746] = 0; [2747] = 0; [2748] = 0; [2749] = 0; [2750] = 0; [2751] = 0; [2752] = 0; [2753] = 0; [2754] = 0; [2755] = 0; [2756] = 0; [2757] = 0; [2758] = 0; [2759] = 0; [2760] = 0; [2761] = 0; [2762] = 0; [2763] = 0; [2764] = 0; [2765] = 0; [2766] = 0; [2767] = 0; [2768] = 0; [2769] = 0; [2770] = 0; [2771] = 0; [2772] = 0; [2773] = 0; [2774] = 0; [2775] = 0; [2776] = 0; [2777] = 0; [2778] = 0; [2779] = 0; [2780] = 0; [2781] = 0; [2782] = 0; [2783] = 0; [2784] = 0; [2785] = 0; [2786] = 0; [2787] = 0; [2788] = 0; [2789] = 0; [2790] = 0; [2791] = 0; [2792] = 0; [2793] = 0; [2794] = 0; [2795] = 0; [2796] = 0; [2797] = 0; [2798] = 0; [2799] = 0; [2800] = 0; [2801] = 0; [2802] = 0; [2803] = 0; [2804] = 0; [2805] = 0; [2806] = 0; [2807] = 0; [2808] = 0; [2809] = 0; [2810] = 0; [2811] = 0; [2812] = 0; [2813] = 0; [2814] = 0; [2815] = 0; [2816] = 0; [2817] = 0; [2818] = 0; [2819] = 0; [2820] = 0; [2821] = 0; [2822] = 0; [2823] = 0; [2824] = 0; [2825] = 0; [2826] = 0; [2827] = 0; [2828] = 0; [2829] = 0; [2830] = 0; [2831] = 0; [2832] = 0; [2833] = 0; [2834] = 0; [2835] = 0; [2836] = 0; [2837] = 0; [2838] = 0; [2839] = 0; [2840] = 0; [2841] = 0; [2842] = 0; [2843] = 0; [2844] = 0; [2845] = 0; [2846] = 0; [2847] = 0; [2848] = 0; [2849] = 0; [2850] = 0; [2851] = 0; [2852] = 0; [2853] = 0; [2854] = 0; [2855] = 0; [2856] = 0; [2857] = 0; [2858] = 0; [2859] = 0; [2860] = 0; [2861] = 0; [2862] = 0; [2863] = 0; [2864] = 0; [2865] = 0; [2866] = 0; [2867] = 0; [2868] = 0; [2869] = 0; [2870] = 0; [2871] = 0; [2872] = 0; [2873] = 0; [2874] = 0; [2875] = 0; [2876] = 0; [2877] = 0; [2878] = 0; [2879] = 0; [2880] = 0; [2881] = 0; [2882] = 0; [2883] = 0; [2884] = 0; [2885] = 0; [2886] = 0; [2887] = 0; [2888] = 0; [2889] = 0; [2890] = 0; [2891] = 0; [2892] = 0; [2893] = 0; [2894] = 0; [2895] = 0; [2896] = 0; [2897] = 0; [2898] = 0; [2899] = 0; [2900] = 0; [2901] = 0; [2902] = 0; [2903] = 0; [2904] = 0; [2905] = 0; [2906] = 0; [2907] = 0; [2908] = 0; [2909] = 0; [2910] = 0; [2911] = 0; [2912] = 0; [2913] = 0; [2914] = 0; [2915] = 0; [2916] = 0; [2917] = 0; [2918] = 0; [2919] = 0; [2920] = 0; [2921] = 0; [2922] = 0; [2923] = 0; [2924] = 0; [2925] = 0; [2926] = 0; [2927] = 0; [2928] = 0; [2929] = 0; [2930] = 0; [2931] = 0; [2932] = 0; [2933] = 0; [2934] = 0; [2935] = 0; [2936] = 0; [2937] = 0; [2938] = 0; [2939] = 0; [2940] = 0; [2941] = 0; [2942] = 0; [2943] = 0; [2944] = 0; [2945] = 0; [2946] = 0; [2947] = 0; [2948] = 0; [2949] = 0; [2950] = 0; [2951] = 0; [2952] = 0; [2953] = 0; [2954] = 0; [2955] = 0; [2956] = 0; [2957] = 0; [2958] = 0; [2959] = 0; [2960] = 0; [2961] = 0; [2962] = 0; [2963] = 0; [2964] = 0; [2965] = 0; [2966] = 0; [2967] = 0; [2968] = 0; [2969] = 0; [2970] = 0; [2971] = 0; [2972] = 0; [2973] = 0; [2974] = 0; [2975] = 0; [2976] = 0; [2977] = 0; [2978] = 0; [2979] = 0; [2980] = 0; [2981] = 0; [2982] = 0; [2983] = 0; [2984] = 0; [2985] = 0; [2986] = 0; [2987] = 0; [2988] = 0; [2989] = 0; [2990] = 0; [2991] = 0; [2992] = 0; [2993] = 0; [2994] = 0; [2995] = 0; [2996] = 0; [2997] = 0; [2998] = 0; [2999] = 0; [3000] = 0; [3001] = 0; [3002] = 0; [3003] = 0; [3004] = 0; [3005] = 0; [3006] = 0; [3007] = 0; [3008] = 0; [3009] = 0; [3010] = 0; [3011] = 0; [3012] = 0; [3013] = 0; [3014] = 0; [3015] = 0; [3016] = 0; [3017] = 0; [3018] = 0; [3019] = 0; [3020] = 0; [3021] = 0; [3022] = 0; [3023] = 0; [3024] = 0; [3025] = 0; [3026] = 0; [3027] = 0; [3028] = 0; [3029] = 0; [3030] = 0; [3031] = 0; [3032] = 0; [3033] = 0; [3034] = 0; [3035] = 0; [3036] = 0; [3037] = 0; [3038] = 0; [3039] = 0; [3040] = 0; [3041] = 0; [3042] = 0; [3043] = 0; [3044] = 0; [3045] = 0; [3046] = 0; [3047] = 0; [3048] = 0; [3049] = 0; [3050] = 0; [3051] = 0; [3052] = 0; [3053] = 0; [3054] = 0; [3055] = 0; [3056] = 0; [3057] = 0; [3058] = 0; [3059] = 0; [3060] = 0; [3061] = 0; [3062] = 0; [3063] = 0; [3064] = 0; [3065] = 0; [3066] = 0; [3067] = 0; [3068] = 0; [3069] = 0; [3070] = 0; [3071] = 0; [3072] = 0; [3073] = 0; [3074] = 0; [3075] = 0; [3076] = 0; [3077] = 0; [3078] = 0; [3079] = 0; [3080] = 0; [3081] = 0; [3082] = 0; [3083] = 0; [3084] = 0; [3085] = 0; [3086] = 0; [3087] = 0; [3088] = 0; [3089] = 0; [3090] = 0; [3091] = 0; [3092] = 0; [3093] = 0; [3094] = 0; [3095] = 0; [3096] = 0; [3097] = 0; [3098] = 0; [3099] = 0; [3100] = 0; [3101] = 0; [3102] = 0; [3103] = 0; [3104] = 0; [3105] = 0; [3106] = 0; [3107] = 0; [3108] = 0; [3109] = 0; [3110] = 0; [3111] = 0; [3112] = 0; [3113] = 0; [3114] = 0; [3115] = 0; [3116] = 0; [3117] = 0; [3118] = 0; [3119] = 0; [3120] = 0; [3121] = 0; [3122] = 0; [3123] = 0; [3124] = 0; [3125] = 0; [3126] = 0; [3127] = 0; [3128] = 0; [3129] = 0; [3130] = 0; [3131] = 0; [3132] = 0; [3133] = 0; [3134] = 0; [3135] = 0; [3136] = 0; [3137] = 0; [3138] = 0; [3139] = 0; [3140] = 0; [3141] = 0; [3142] = 0; [3143] = 0; [3144] = 0; [3145] = 0; [3146] = 0; [3147] = 0; [3148] = 0; [3149] = 0; [3150] = 0; [3151] = 0; [3152] = 0; [3153] = 0; [3154] = 0; [3155] = 0; [3156] = 0; [3157] = 0; [3158] = 0; [3159] = 0; [3160] = 0; [3161] = 0; [3162] = 0; [3163] = 0; [3164] = 0; [3165] = 0; [3166] = 0; [3167] = 0; [3168] = 0; [3169] = 0; [3170] = 0; [3171] = 0; [3172] = 0; [3173] = 0; [3174] = 0; [3175] = 0; [3176] = 0; [3177] = 0; [3178] = 0; [3179] = 0; [3180] = 0; [3181] = 0; [3182] = 0; [3183] = 0; [3184] = 0; [3185] = 0; [3186] = 0; [3187] = 0; [3188] = 0; [3189] = 0; [3190] = 0; [3191] = 0; [3192] = 0; [3193] = 0; [3194] = 0; [3195] = 0; [3196] = 0; [3197] = 0; [3198] = 0; [3199] = 0; [3200] = 0; [3201] = 0; [3202] = 0; [3203] = 0; [3204] = 0; [3205] = 0; [3206] = 0; [3207] = 0; [3208] = 0; [3209] = 0; [3210] = 0; [3211] = 0; [3212] = 0; [3213] = 0; [3214] = 0; [3215] = 0; [3216] = 0; [3217] = 0; [3218] = 0; [3219] = 0; [3220] = 0; [3221] = 0; [3222] = 0; [3223] = 0; [3224] = 0; [3225] = 0; [3226] = 0; [3227] = 0; [3228] = 0; [3229] = 0; [3230] = 0; [3231] = 0; [3232] = 0; [3233] = 0; [3234] = 0; [3235] = 0; [3236] = 0; [3237] = 0; [3238] = 0; [3239] = 0; [3240] = 0; [3241] = 0; [3242] = 0; [3243] = 0; [3244] = 0; [3245] = 0; [3246] = 0; [3247] = 0; [3248] = 0; [3249] = 0; [3250] = 0; [3251] = 0; [3252] = 0; [3253] = 0; [3254] = 0; [3255] = 0; [3256] = 0; [3257] = 0; [3258] = 0; [3259] = 0; [3260] = 0; [3261] = 0; [3262] = 0; [3263] = 0; [3264] = 0; [3265] = 0; [3266] = 0; [3267] = 0; [3268] = 0; [3269] = 0; [3270] = 0; [3271] = 0; [3272] = 0; [3273] = 0; [3274] = 0; [3275] = 0; [3276] = 0; [3277] = 0; [3278] = 0; [3279] = 0; [3280] = 0; [3281] = 0; [3282] = 0; [3283] = 0; [3284] = 0; [3285] = 0; [3286] = 0; [3287] = 0; [3288] = 0; [3289] = 0; [3290] = 0; [3291] = 0; [3292] = 0; [3293] = 0; [3294] = 0; [3295] = 0; [3296] = 0; [3297] = 0; [3298] = 0; [3299] = 0; [3300] = 0; [3301] = 0; [3302] = 0; [3303] = 0; [3304] = 0; [3305] = 0; [3306] = 0; [3307] = 0; [3308] = 0; [3309] = 0; [3310] = 0; [3311] = 0; [3312] = 0; [3313] = 0; [3314] = 0; [3315] = 0; [3316] = 0; [3317] = 0; [3318] = 0; [3319] = 0; [3320] = 0; [3321] = 0; [3322] = 0; [3323] = 0; [3324] = 0; [3325] = 0; [3326] = 0; [3327] = 0; [3328] = 0; [3329] = 0; [3330] = 0; [3331] = 0; [3332] = 0; [3333] = 0; [3334] = 0; [3335] = 0; [3336] = 0; [3337] = 0; [3338] = 0; [3339] = 0; [3340] = 0; [3341] = 0; [3342] = 0; [3343] = 0; [3344] = 0; [3345] = 0; [3346] = 0; [3347] = 0; [3348] = 0; [3349] = 0; [3350] = 0; [3351] = 0; [3352] = 0; [3353] = 0; [3354] = 0; [3355] = 0; [3356] = 0; [3357] = 0; [3358] = 0; [3359] = 0; [3360] = 0; [3361] = 0; [3362] = 0; [3363] = 0; [3364] = 0; [3365] = 0; [3366] = 0; [3367] = 0; [3368] = 0; [3369] = 0; [3370] = 0; [3371] = 0; [3372] = 0; [3373] = 0; [3374] = 0; [3375] = 0; [3376] = 0; [3377] = 0; [3378] = 0; [3379] = 0; [3380] = 0; [3381] = 0; [3382] = 0; [3383] = 0; [3384] = 0; [3385] = 0; [3386] = 0; [3387] = 0; [3388] = 0; [3389] = 0; [3390] = 0; [3391] = 0; [3392] = 0; [3393] = 0; [3394] = 0; [3395] = 0; [3396] = 0; [3397] = 0; [3398] = 0; [3399] = 0; [3400] = 0; [3401] = 0; [3402] = 0; [3403] = 0; [3404] = 0; [3405] = 0; [3406] = 0; [3407] = 0; [3408] = 0; [3409] = 0; [3410] = 0; [3411] = 0; [3412] = 0; [3413] = 0; [3414] = 0; [3415] = 0; [3416] = 0; [3417] = 0; [3418] = 0; [3419] = 0; [3420] = 0; [3421] = 0; [3422] = 0; [3423] = 0; [3424] = 0; [3425] = 0; [3426] = 0; [3427] = 0; [3428] = 0; [3429] = 0; [3430] = 0; [3431] = 0; [3432] = 0; [3433] = 0; [3434] = 0; [3435] = 0; [3436] = 0; [3437] = 0; [3438] = 0; [3439] = 0; [3440] = 0; [3441] = 0; [3442] = 0; [3443] = 0; [3444] = 0; [3445] = 0; [3446] = 0; [3447] = 0; [3448] = 0; [3449] = 0; [3450] = 0; [3451] = 0; [3452] = 0; [3453] = 0; [3454] = 0; [3455] = 0; [3456] = 0; [3457] = 0; [3458] = 0; [3459] = 0; [3460] = 0; [3461] = 0; [3462] = 0; [3463] = 0; [3464] = 0; [3465] = 0; [3466] = 0; [3467] = 0; [3468] = 0; [3469] = 0; [3470] = 0; [3471] = 0; [3472] = 0; [3473] = 0; [3474] = 0; [3475] = 0; [3476] = 0; [3477] = 0; [3478] = 0; [3479] = 0; [3480] = 0; [3481] = 0; [3482] = 0; [3483] = 0; [3484] = 0; [3485] = 0; [3486] = 0; [3487] = 0; [3488] = 0; [3489] = 0; [3490] = 0; [3491] = 0; [3492] = 0; [3493] = 0; [3494] = 0; [3495] = 0; [3496] = 0; [3497] = 0; [3498] = 0; [3499] = 0; [3500] = 0; [3501] = 0; [3502] = 0; [3503] = 0; [3504] = 0; [3505] = 0; [3506] = 0; [3507] = 0; [3508] = 0; [3509] = 0; [3510] = 0; [3511] = 0; [3512] = 0; [3513] = 0; [3514] = 0; [3515] = 0; [3516] = 0; [3517] = 0; [3518] = 0; [3519] = 0; [3520] = 0; [3521] = 0; [3522] = 0; [3523] = 0; [3524] = 0; [3525] = 0; [3526] = 0; [3527] = 0; [3528] = 0; [3529] = 0; [3530] = 0; [3531] = 0; [3532] = 0; [3533] = 0; [3534] = 0; [3535] = 0; [3536] = 0; [3537] = 0; [3538] = 0; [3539] = 0; [3540] = 0; [3541] = 0; [3542] = 0; [3543] = 0; [3544] = 0; [3545] = 0; [3546] = 0; [3547] = 0; [3548] = 0; [3549] = 0; [3550] = 0; [3551] = 0; [3552] = 0; [3553] = 0; [3554] = 0; [3555] = 0; [3556] = 0; [3557] = 0; [3558] = 0; [3559] = 0; [3560] = 0; [3561] = 0; [3562] = 0; [3563] = 0; [3564] = 0; [3565] = 0; [3566] = 0; [3567] = 0; [3568] = 0; [3569] = 0; [3570] = 0; [3571] = 0; [3572] = 0; [3573] = 0; [3574] = 0; [3575] = 0; [3576] = 0; [3577] = 0; [3578] = 0; [3579] = 0; [3580] = 0; [3581] = 0; [3582] = 0; [3583] = 0; [3584] = 0; [3585] = 0; [3586] = 0; [3587] = 0; [3588] = 0; [3589] = 0; [3590] = 0; [3591] = 0; [3592] = 0; [3593] = 0; [3594] = 0; [3595] = 0; [3596] = 0; [3597] = 0; [3598] = 0; [3599] = 0; [3600] = 0; [3601] = 0; [3602] = 0; [3603] = 0; [3604] = 0; [3605] = 0; [3606] = 0; [3607] = 0; [3608] = 0; [3609] = 0; [3610] = 0; [3611] = 0; [3612] = 0; [3613] = 0; [3614] = 0; [3615] = 0; [3616] = 0; [3617] = 0; [3618] = 0; [3619] = 0; [3620] = 0; [3621] = 0; [3622] = 0; [3623] = 0; [3624] = 0; [3625] = 0; [3626] = 0; [3627] = 0; [3628] = 0; [3629] = 0; [3630] = 0; [3631] = 0; [3632] = 0; [3633] = 0; [3634] = 0; [3635] = 0; [3636] = 0; [3637] = 0; [3638] = 0; [3639] = 0; [3640] = 0; [3641] = 0; [3642] = 0; [3643] = 0; [3644] = 0; [3645] = 0; [3646] = 0; [3647] = 0; [3648] = 0; [3649] = 0; [3650] = 0; [3651] = 0; [3652] = 0; [3653] = 0; [3654] = 0; [3655] = 0; [3656] = 0; [3657] = 0; [3658] = 0; [3659] = 0; [3660] = 0; [3661] = 0; [3662] = 0; [3663] = 0; [3664] = 0; [3665] = 0; [3666] = 0; [3667] = 0; [3668] = 0; [3669] = 0; [3670] = 0; [3671] = 0; [3672] = 0; [3673] = 0; [3674] = 0; [3675] = 0; [3676] = 0; [3677] = 0; [3678] = 0; [3679] = 0; [3680] = 0; [3681] = 0; [3682] = 0; [3683] = 0; [3684] = 0; [3685] = 0; [3686] = 0; [3687] = 0; [3688] = 0; [3689] = 0; [3690] = 0; [3691] = 0; [3692] = 0; [3693] = 0; [3694] = 0; [3695] = 0; [3696] = 0; [3697] = 0; [3698] = 0; [3699] = 0; [3700] = 0; [3701] = 0; [3702] = 0; [3703] = 0; [3704] = 0; [3705] = 0; [3706] = 0; [3707] = 0; [3708] = 0; [3709] = 0; [3710] = 0; [3711] = 0; [3712] = 0; [3713] = 0; [3714] = 0; [3715] = 0; [3716] = 0; [3717] = 0; [3718] = 0; [3719] = 0; [3720] = 0; [3721] = 0; [3722] = 0; [3723] = 0; [3724] = 0; [3725] = 0; [3726] = 0; [3727] = 0; [3728] = 0; [3729] = 0; [3730] = 0; [3731] = 0; [3732] = 0; [3733] = 0; [3734] = 0; [3735] = 0; [3736] = 0; [3737] = 0; [3738] = 0; [3739] = 0; [3740] = 0; [3741] = 0; [3742] = 0; [3743] = 0; [3744] = 0; [3745] = 0; [3746] = 0; [3747] = 0; [3748] = 0; [3749] = 0; [3750] = 0; [3751] = 0; [3752] = 0; [3753] = 0; [3754] = 0; [3755] = 0; [3756] = 0; [3757] = 0; [3758] = 0; [3759] = 0; [3760] = 0; [3761] = 0; [3762] = 0; [3763] = 0; [3764] = 0; [3765] = 0; [3766] = 0; [3767] = 0; [3768] = 0; [3769] = 0; [3770] = 0; [3771] = 0; [3772] = 0; [3773] = 0; [3774] = 0; [3775] = 0; [3776] = 0; [3777] = 0; [3778] = 0; [3779] = 0; [3780] = 0; [3781] = 0; [3782] = 0; [3783] = 0; [3784] = 0; [3785] = 0; [3786] = 0; [3787] = 0; [3788] = 0; [3789] = 0; [3790] = 0; [3791] = 0; [3792] = 0; [3793] = 0; [3794] = 0; [3795] = 0; [3796] = 0; [3797] = 0; [3798] = 0; [3799] = 0; [3800] = 0; [3801] = 0; [3802] = 0; [3803] = 0; [3804] = 0; [3805] = 0; [3806] = 0; [3807] = 0; [3808] = 0; [3809] = 0; [3810] = 0; [3811] = 0; [3812] = 0; [3813] = 0; [3814] = 0; [3815] = 0; [3816] = 0; [3817] = 0; [3818] = 0; [3819] = 0; [3820] = 0; [3821] = 0; [3822] = 0; [3823] = 0; [3824] = 0; [3825] = 0; [3826] = 0; [3827] = 0; [3828] = 0; [3829] = 0; [3830] = 0; [3831] = 0; [3832] = 0; [3833] = 0; [3834] = 0; [3835] = 0; [3836] = 0; [3837] = 0; [3838] = 0; [3839] = 0; [3840] = 0; [3841] = 0; [3842] = 0; [3843] = 0; [3844] = 0; [3845] = 0; [3846] = 0; [3847] = 0; [3848] = 0; [3849] = 0; [3850] = 0; [3851] = 0; [3852] = 0; [3853] = 0; [3854] = 0; [3855] = 0; [3856] = 0; [3857] = 0; [3858] = 0; [3859] = 0; [3860] = 0; [3861] = 0; [3862] = 0; [3863] = 0; [3864] = 0; [3865] = 0; [3866] = 0; [3867] = 0; [3868] = 0; [3869] = 0; [3870] = 0; [3871] = 0; [3872] = 0; [3873] = 0; [3874] = 0; [3875] = 0; [3876] = 0; [3877] = 0; [3878] = 0; [3879] = 0; [3880] = 0; [3881] = 0; [3882] = 0; [3883] = 0; [3884] = 0; [3885] = 0; [3886] = 0; [3887] = 0; [3888] = 0; [3889] = 0; [3890] = 0; [3891] = 0; [3892] = 0; [3893] = 0; [3894] = 0; [3895] = 0; [3896] = 0; [3897] = 0; [3898] = 0; [3899] = 0; [3900] = 0; [3901] = 0; [3902] = 0; [3903] = 0; [3904] = 0; [3905] = 0; [3906] = 0; [3907] = 0; [3908] = 0; [3909] = 0; [3910] = 0; [3911] = 0; [3912] = 0; [3913] = 0; [3914] = 0; [3915] = 0; [3916] = 0; [3917] = 0; [3918] = 0; [3919] = 0; [3920] = 0; [3921] = 0; [3922] = 0; [3923] = 0; [3924] = 0; [3925] = 0; [3926] = 0; [3927] = 0; [3928] = 0; [3929] = 0; [3930] = 0; [3931] = 0; [3932] = 0; [3933] = 0; [3934] = 0; [3935] = 0; [3936] = 0; [3937] = 0; [3938] = 0; [3939] = 0; [3940] = 0; [3941] = 0; [3942] = 0; [3943] = 0; [3944] = 0; [3945] = 0; [3946] = 0; [3947] = 0; [3948] = 0; [3949] = 0; [3950] = 0; [3951] = 0; [3952] = 0; [3953] = 0; [3954] = 0; [3955] = 0; [3956] = 0; [3957] = 0; [3958] = 0; [3959] = 0; [3960] = 0; [3961] = 0; [3962] = 0; [3963] = 0; [3964] = 0; [3965] = 0; [3966] = 0; [3967] = 0; [3968] = 0; [3969] = 0; [3970] = 0; [3971] = 0; [3972] = 0; [3973] = 0; [3974] = 0; [3975] = 0; [3976] = 0; [3977] = 0; [3978] = 0; [3979] = 0; [3980] = 0; [3981] = 0; [3982] = 0; [3983] = 0; [3984] = 0; [3985] = 0; [3986] = 0; [3987] = 0; [3988] = 0; [3989] = 0; [3990] = 0; [3991] = 0; [3992] = 0; [3993] = 0; [3994] = 0; [3995] = 0; [3996] = 0; [3997] = 0; [3998] = 0; [3999] = 0; [4000] = 0; [4001] = 0; [4002] = 0; [4003] = 0; [4004] = 0; [4005] = 0; [4006] = 0; [4007] = 0; [4008] = 0; [4009] = 0; [4010] = 0; [4011] = 0; [4012] = 0; [4013] = 0; [4014] = 0; [4015] = 0; [4016] = 0; [4017] = 0; [4018] = 0; [4019] = 0; [4020] = 0; [4021] = 0; [4022] = 0; [4023] = 0; [4024] = 0; [4025] = 0; [4026] = 0; [4027] = 0; [4028] = 0; [4029] = 0; [4030] = 0; [4031] = 0; [4032] = 0; [4033] = 0; [4034] = 0; [4035] = 0; [4036] = 0; [4037] = 0; [4038] = 0; [4039] = 0; [4040] = 0; [4041] = 0; [4042] = 0; [4043] = 0; [4044] = 0; [4045] = 0; [4046] = 0; [4047] = 0; [4048] = 0; [4049] = 0; [4050] = 0; [4051] = 0; [4052] = 0; [4053] = 0; [4054] = 0; [4055] = 0; [4056] = 0; [4057] = 0; [4058] = 0; [4059] = 0; [4060] = 0; [4061] = 0; [4062] = 0; [4063] = 0; [4064] = 0; [4065] = 0; [4066] = 0; [4067] = 0; [4068] = 0; [4069] = 0; [4070] = 0; [4071] = 0; [4072] = 0; [4073] = 0; [4074] = 0; [4075] = 0; [4076] = 0; [4077] = 0; [4078] = 0; [4079] = 0; [4080] = 0; [4081] = 0; [4082] = 0; [4083] = 0; [4084] = 0; [4085] = 0; [4086] = 0; [4087] = 0; [4088] = 0; [4089] = 0; [4090] = 0; [4091] = 0; [4092] = 0; [4093] = 0; [4094] = 0; [4095] = 0; [4096] = 0; }; ["offsetx"] = 0; ["type"] = "tilelayer"; ["width"] = 64; ["name"] = "fground2"; ["opacity"] = 1; }; [7] = { ["x"] = 0; ["encoding"] = "lua"; ["visible"] = true; ["offsety"] = 0; ["properties"] = { ["depth"] = -5; }; ["y"] = 0; ["height"] = 64; ["data"] = { [1] = 0; [2] = 0; [3] = 0; [4] = 0; [5] = 0; [6] = 0; [7] = 0; [8] = 0; [9] = 0; [10] = 0; [11] = 0; [12] = 0; [13] = 0; [14] = 0; [15] = 0; [16] = 0; [17] = 0; [18] = 0; [19] = 0; [20] = 0; [21] = 0; [22] = 0; [23] = 0; [24] = 0; [25] = 0; [26] = 0; [27] = 0; [28] = 0; [29] = 0; [30] = 0; [31] = 0; [32] = 0; [33] = 0; [34] = 0; [35] = 0; [36] = 0; [37] = 0; [38] = 0; [39] = 0; [40] = 0; [41] = 0; [42] = 0; [43] = 0; [44] = 0; [45] = 0; [46] = 0; [47] = 0; [48] = 0; [49] = 0; [50] = 0; [51] = 0; [52] = 0; [53] = 0; [54] = 0; [55] = 0; [56] = 0; [57] = 0; [58] = 0; [59] = 0; [60] = 0; [61] = 0; [62] = 0; [63] = 0; [64] = 0; [65] = 0; [66] = 0; [67] = 0; [68] = 0; [69] = 0; [70] = 0; [71] = 0; [72] = 0; [73] = 0; [74] = 0; [75] = 0; [76] = 0; [77] = 0; [78] = 0; [79] = 0; [80] = 0; [81] = 0; [82] = 0; [83] = 0; [84] = 0; [85] = 0; [86] = 0; [87] = 0; [88] = 0; [89] = 0; [90] = 0; [91] = 0; [92] = 0; [93] = 0; [94] = 0; [95] = 0; [96] = 0; [97] = 0; [98] = 0; [99] = 0; [100] = 0; [101] = 0; [102] = 0; [103] = 0; [104] = 0; [105] = 0; [106] = 0; [107] = 0; [108] = 0; [109] = 0; [110] = 0; [111] = 0; [112] = 0; [113] = 0; [114] = 0; [115] = 0; [116] = 0; [117] = 0; [118] = 0; [119] = 0; [120] = 0; [121] = 0; [122] = 0; [123] = 0; [124] = 0; [125] = 0; [126] = 0; [127] = 0; [128] = 0; [129] = 0; [130] = 0; [131] = 0; [132] = 0; [133] = 0; [134] = 0; [135] = 0; [136] = 0; [137] = 0; [138] = 0; [139] = 0; [140] = 0; [141] = 0; [142] = 0; [143] = 0; [144] = 0; [145] = 0; [146] = 0; [147] = 0; [148] = 0; [149] = 0; [150] = 0; [151] = 0; [152] = 0; [153] = 0; [154] = 0; [155] = 0; [156] = 0; [157] = 0; [158] = 0; [159] = 0; [160] = 0; [161] = 0; [162] = 0; [163] = 0; [164] = 0; [165] = 0; [166] = 0; [167] = 0; [168] = 0; [169] = 0; [170] = 0; [171] = 0; [172] = 0; [173] = 0; [174] = 0; [175] = 0; [176] = 0; [177] = 0; [178] = 0; [179] = 0; [180] = 0; [181] = 0; [182] = 0; [183] = 0; [184] = 0; [185] = 0; [186] = 0; [187] = 0; [188] = 0; [189] = 0; [190] = 0; [191] = 0; [192] = 0; [193] = 0; [194] = 0; [195] = 0; [196] = 0; [197] = 0; [198] = 0; [199] = 0; [200] = 0; [201] = 0; [202] = 0; [203] = 0; [204] = 0; [205] = 0; [206] = 0; [207] = 0; [208] = 0; [209] = 0; [210] = 0; [211] = 0; [212] = 0; [213] = 0; [214] = 0; [215] = 0; [216] = 0; [217] = 0; [218] = 0; [219] = 0; [220] = 0; [221] = 0; [222] = 0; [223] = 0; [224] = 0; [225] = 0; [226] = 0; [227] = 0; [228] = 0; [229] = 0; [230] = 0; [231] = 0; [232] = 0; [233] = 0; [234] = 0; [235] = 0; [236] = 0; [237] = 0; [238] = 0; [239] = 0; [240] = 0; [241] = 0; [242] = 0; [243] = 0; [244] = 0; [245] = 0; [246] = 0; [247] = 0; [248] = 0; [249] = 0; [250] = 0; [251] = 0; [252] = 0; [253] = 0; [254] = 0; [255] = 0; [256] = 0; [257] = 0; [258] = 0; [259] = 0; [260] = 0; [261] = 0; [262] = 0; [263] = 0; [264] = 0; [265] = 0; [266] = 0; [267] = 0; [268] = 0; [269] = 0; [270] = 0; [271] = 0; [272] = 0; [273] = 0; [274] = 0; [275] = 0; [276] = 0; [277] = 0; [278] = 0; [279] = 0; [280] = 0; [281] = 0; [282] = 0; [283] = 0; [284] = 0; [285] = 0; [286] = 0; [287] = 0; [288] = 0; [289] = 0; [290] = 0; [291] = 0; [292] = 0; [293] = 0; [294] = 0; [295] = 0; [296] = 0; [297] = 0; [298] = 0; [299] = 0; [300] = 0; [301] = 0; [302] = 0; [303] = 0; [304] = 0; [305] = 0; [306] = 0; [307] = 0; [308] = 0; [309] = 0; [310] = 0; [311] = 0; [312] = 0; [313] = 0; [314] = 0; [315] = 0; [316] = 0; [317] = 0; [318] = 0; [319] = 0; [320] = 0; [321] = 0; [322] = 0; [323] = 0; [324] = 0; [325] = 0; [326] = 0; [327] = 0; [328] = 0; [329] = 0; [330] = 0; [331] = 0; [332] = 0; [333] = 0; [334] = 0; [335] = 0; [336] = 0; [337] = 0; [338] = 0; [339] = 0; [340] = 0; [341] = 0; [342] = 0; [343] = 0; [344] = 0; [345] = 0; [346] = 0; [347] = 0; [348] = 0; [349] = 0; [350] = 0; [351] = 0; [352] = 0; [353] = 0; [354] = 0; [355] = 0; [356] = 0; [357] = 0; [358] = 0; [359] = 0; [360] = 0; [361] = 0; [362] = 0; [363] = 0; [364] = 0; [365] = 0; [366] = 0; [367] = 0; [368] = 0; [369] = 0; [370] = 0; [371] = 0; [372] = 0; [373] = 0; [374] = 0; [375] = 0; [376] = 0; [377] = 0; [378] = 0; [379] = 0; [380] = 0; [381] = 0; [382] = 0; [383] = 0; [384] = 0; [385] = 0; [386] = 0; [387] = 0; [388] = 0; [389] = 0; [390] = 0; [391] = 0; [392] = 0; [393] = 0; [394] = 0; [395] = 0; [396] = 0; [397] = 0; [398] = 0; [399] = 0; [400] = 0; [401] = 0; [402] = 0; [403] = 0; [404] = 0; [405] = 0; [406] = 0; [407] = 0; [408] = 0; [409] = 0; [410] = 0; [411] = 0; [412] = 0; [413] = 0; [414] = 0; [415] = 0; [416] = 0; [417] = 0; [418] = 0; [419] = 0; [420] = 0; [421] = 0; [422] = 0; [423] = 0; [424] = 0; [425] = 0; [426] = 0; [427] = 0; [428] = 0; [429] = 0; [430] = 0; [431] = 0; [432] = 0; [433] = 0; [434] = 0; [435] = 0; [436] = 0; [437] = 0; [438] = 0; [439] = 0; [440] = 0; [441] = 0; [442] = 0; [443] = 0; [444] = 0; [445] = 0; [446] = 0; [447] = 0; [448] = 0; [449] = 0; [450] = 0; [451] = 0; [452] = 0; [453] = 0; [454] = 0; [455] = 0; [456] = 0; [457] = 0; [458] = 0; [459] = 0; [460] = 0; [461] = 0; [462] = 0; [463] = 0; [464] = 0; [465] = 0; [466] = 0; [467] = 0; [468] = 0; [469] = 0; [470] = 0; [471] = 0; [472] = 0; [473] = 0; [474] = 0; [475] = 0; [476] = 0; [477] = 0; [478] = 0; [479] = 0; [480] = 0; [481] = 0; [482] = 0; [483] = 0; [484] = 0; [485] = 0; [486] = 0; [487] = 0; [488] = 0; [489] = 0; [490] = 0; [491] = 0; [492] = 0; [493] = 0; [494] = 0; [495] = 0; [496] = 0; [497] = 0; [498] = 0; [499] = 0; [500] = 0; [501] = 0; [502] = 0; [503] = 0; [504] = 0; [505] = 0; [506] = 0; [507] = 0; [508] = 0; [509] = 0; [510] = 0; [511] = 0; [512] = 0; [513] = 0; [514] = 0; [515] = 0; [516] = 0; [517] = 0; [518] = 0; [519] = 0; [520] = 0; [521] = 0; [522] = 0; [523] = 0; [524] = 0; [525] = 0; [526] = 0; [527] = 0; [528] = 0; [529] = 0; [530] = 0; [531] = 0; [532] = 0; [533] = 0; [534] = 0; [535] = 0; [536] = 0; [537] = 0; [538] = 0; [539] = 0; [540] = 0; [541] = 0; [542] = 0; [543] = 0; [544] = 0; [545] = 0; [546] = 0; [547] = 0; [548] = 0; [549] = 0; [550] = 0; [551] = 0; [552] = 0; [553] = 0; [554] = 0; [555] = 0; [556] = 0; [557] = 0; [558] = 0; [559] = 0; [560] = 0; [561] = 0; [562] = 0; [563] = 0; [564] = 0; [565] = 0; [566] = 0; [567] = 0; [568] = 0; [569] = 0; [570] = 0; [571] = 0; [572] = 0; [573] = 0; [574] = 0; [575] = 0; [576] = 0; [577] = 0; [578] = 0; [579] = 0; [580] = 0; [581] = 0; [582] = 0; [583] = 0; [584] = 0; [585] = 0; [586] = 0; [587] = 0; [588] = 0; [589] = 0; [590] = 0; [591] = 0; [592] = 0; [593] = 0; [594] = 0; [595] = 0; [596] = 0; [597] = 0; [598] = 0; [599] = 0; [600] = 0; [601] = 0; [602] = 0; [603] = 0; [604] = 0; [605] = 0; [606] = 0; [607] = 0; [608] = 0; [609] = 0; [610] = 0; [611] = 0; [612] = 0; [613] = 0; [614] = 0; [615] = 0; [616] = 0; [617] = 0; [618] = 0; [619] = 0; [620] = 0; [621] = 0; [622] = 0; [623] = 0; [624] = 0; [625] = 0; [626] = 0; [627] = 0; [628] = 0; [629] = 0; [630] = 0; [631] = 0; [632] = 0; [633] = 0; [634] = 0; [635] = 0; [636] = 0; [637] = 0; [638] = 0; [639] = 0; [640] = 0; [641] = 0; [642] = 0; [643] = 0; [644] = 0; [645] = 0; [646] = 0; [647] = 0; [648] = 0; [649] = 0; [650] = 0; [651] = 0; [652] = 0; [653] = 0; [654] = 0; [655] = 0; [656] = 0; [657] = 0; [658] = 0; [659] = 0; [660] = 0; [661] = 0; [662] = 0; [663] = 0; [664] = 0; [665] = 0; [666] = 0; [667] = 0; [668] = 0; [669] = 0; [670] = 0; [671] = 0; [672] = 0; [673] = 0; [674] = 0; [675] = 0; [676] = 0; [677] = 0; [678] = 0; [679] = 0; [680] = 0; [681] = 0; [682] = 0; [683] = 0; [684] = 0; [685] = 0; [686] = 0; [687] = 0; [688] = 0; [689] = 0; [690] = 0; [691] = 0; [692] = 0; [693] = 0; [694] = 0; [695] = 0; [696] = 0; [697] = 0; [698] = 0; [699] = 0; [700] = 0; [701] = 0; [702] = 0; [703] = 0; [704] = 0; [705] = 0; [706] = 0; [707] = 0; [708] = 0; [709] = 0; [710] = 0; [711] = 0; [712] = 0; [713] = 0; [714] = 0; [715] = 0; [716] = 0; [717] = 0; [718] = 0; [719] = 0; [720] = 0; [721] = 0; [722] = 0; [723] = 0; [724] = 0; [725] = 0; [726] = 0; [727] = 0; [728] = 0; [729] = 0; [730] = 0; [731] = 0; [732] = 0; [733] = 0; [734] = 0; [735] = 0; [736] = 0; [737] = 0; [738] = 0; [739] = 0; [740] = 0; [741] = 0; [742] = 0; [743] = 0; [744] = 0; [745] = 0; [746] = 0; [747] = 0; [748] = 0; [749] = 0; [750] = 0; [751] = 0; [752] = 0; [753] = 0; [754] = 0; [755] = 0; [756] = 0; [757] = 0; [758] = 0; [759] = 0; [760] = 0; [761] = 0; [762] = 0; [763] = 0; [764] = 0; [765] = 0; [766] = 0; [767] = 0; [768] = 0; [769] = 0; [770] = 0; [771] = 0; [772] = 0; [773] = 0; [774] = 0; [775] = 0; [776] = 0; [777] = 0; [778] = 0; [779] = 0; [780] = 0; [781] = 0; [782] = 0; [783] = 0; [784] = 0; [785] = 0; [786] = 0; [787] = 0; [788] = 0; [789] = 0; [790] = 0; [791] = 0; [792] = 0; [793] = 0; [794] = 0; [795] = 0; [796] = 0; [797] = 0; [798] = 0; [799] = 0; [800] = 0; [801] = 0; [802] = 0; [803] = 0; [804] = 0; [805] = 0; [806] = 0; [807] = 0; [808] = 0; [809] = 0; [810] = 0; [811] = 0; [812] = 0; [813] = 0; [814] = 0; [815] = 0; [816] = 0; [817] = 0; [818] = 0; [819] = 0; [820] = 0; [821] = 0; [822] = 0; [823] = 0; [824] = 0; [825] = 0; [826] = 0; [827] = 0; [828] = 0; [829] = 0; [830] = 0; [831] = 0; [832] = 0; [833] = 0; [834] = 0; [835] = 0; [836] = 0; [837] = 0; [838] = 0; [839] = 0; [840] = 0; [841] = 0; [842] = 0; [843] = 0; [844] = 0; [845] = 0; [846] = 0; [847] = 0; [848] = 0; [849] = 0; [850] = 0; [851] = 0; [852] = 0; [853] = 0; [854] = 0; [855] = 0; [856] = 0; [857] = 0; [858] = 0; [859] = 0; [860] = 0; [861] = 0; [862] = 0; [863] = 0; [864] = 0; [865] = 0; [866] = 0; [867] = 0; [868] = 0; [869] = 0; [870] = 0; [871] = 0; [872] = 0; [873] = 0; [874] = 0; [875] = 0; [876] = 0; [877] = 0; [878] = 0; [879] = 0; [880] = 0; [881] = 0; [882] = 0; [883] = 0; [884] = 0; [885] = 0; [886] = 0; [887] = 0; [888] = 0; [889] = 0; [890] = 0; [891] = 0; [892] = 0; [893] = 0; [894] = 0; [895] = 0; [896] = 0; [897] = 0; [898] = 0; [899] = 0; [900] = 0; [901] = 0; [902] = 0; [903] = 0; [904] = 0; [905] = 0; [906] = 0; [907] = 0; [908] = 0; [909] = 0; [910] = 0; [911] = 0; [912] = 0; [913] = 0; [914] = 0; [915] = 0; [916] = 0; [917] = 0; [918] = 0; [919] = 0; [920] = 0; [921] = 0; [922] = 0; [923] = 0; [924] = 0; [925] = 0; [926] = 0; [927] = 0; [928] = 0; [929] = 0; [930] = 0; [931] = 0; [932] = 0; [933] = 0; [934] = 0; [935] = 0; [936] = 0; [937] = 0; [938] = 0; [939] = 0; [940] = 0; [941] = 0; [942] = 0; [943] = 0; [944] = 0; [945] = 0; [946] = 0; [947] = 0; [948] = 0; [949] = 0; [950] = 0; [951] = 0; [952] = 0; [953] = 0; [954] = 0; [955] = 0; [956] = 0; [957] = 0; [958] = 0; [959] = 0; [960] = 0; [961] = 0; [962] = 0; [963] = 0; [964] = 0; [965] = 0; [966] = 0; [967] = 0; [968] = 0; [969] = 0; [970] = 0; [971] = 0; [972] = 0; [973] = 0; [974] = 0; [975] = 0; [976] = 0; [977] = 0; [978] = 0; [979] = 0; [980] = 0; [981] = 0; [982] = 0; [983] = 0; [984] = 0; [985] = 0; [986] = 0; [987] = 0; [988] = 0; [989] = 0; [990] = 0; [991] = 0; [992] = 0; [993] = 0; [994] = 0; [995] = 0; [996] = 0; [997] = 0; [998] = 0; [999] = 0; [1000] = 0; [1001] = 0; [1002] = 0; [1003] = 0; [1004] = 0; [1005] = 0; [1006] = 0; [1007] = 0; [1008] = 0; [1009] = 0; [1010] = 0; [1011] = 0; [1012] = 0; [1013] = 0; [1014] = 0; [1015] = 0; [1016] = 0; [1017] = 0; [1018] = 0; [1019] = 0; [1020] = 0; [1021] = 0; [1022] = 0; [1023] = 0; [1024] = 0; [1025] = 0; [1026] = 0; [1027] = 0; [1028] = 0; [1029] = 0; [1030] = 0; [1031] = 0; [1032] = 0; [1033] = 0; [1034] = 0; [1035] = 0; [1036] = 0; [1037] = 0; [1038] = 0; [1039] = 0; [1040] = 0; [1041] = 0; [1042] = 0; [1043] = 0; [1044] = 0; [1045] = 0; [1046] = 0; [1047] = 0; [1048] = 0; [1049] = 0; [1050] = 0; [1051] = 0; [1052] = 0; [1053] = 0; [1054] = 0; [1055] = 0; [1056] = 0; [1057] = 0; [1058] = 0; [1059] = 0; [1060] = 0; [1061] = 0; [1062] = 0; [1063] = 0; [1064] = 0; [1065] = 0; [1066] = 0; [1067] = 0; [1068] = 0; [1069] = 0; [1070] = 0; [1071] = 0; [1072] = 0; [1073] = 0; [1074] = 0; [1075] = 0; [1076] = 0; [1077] = 0; [1078] = 0; [1079] = 0; [1080] = 0; [1081] = 0; [1082] = 0; [1083] = 0; [1084] = 0; [1085] = 0; [1086] = 0; [1087] = 0; [1088] = 0; [1089] = 0; [1090] = 0; [1091] = 0; [1092] = 0; [1093] = 0; [1094] = 0; [1095] = 0; [1096] = 0; [1097] = 0; [1098] = 0; [1099] = 0; [1100] = 0; [1101] = 0; [1102] = 0; [1103] = 0; [1104] = 0; [1105] = 225; [1106] = 0; [1107] = 225; [1108] = 0; [1109] = 225; [1110] = 0; [1111] = 225; [1112] = 0; [1113] = 0; [1114] = 0; [1115] = 0; [1116] = 0; [1117] = 0; [1118] = 0; [1119] = 0; [1120] = 0; [1121] = 0; [1122] = 0; [1123] = 0; [1124] = 0; [1125] = 0; [1126] = 0; [1127] = 0; [1128] = 0; [1129] = 215; [1130] = 0; [1131] = 225; [1132] = 0; [1133] = 225; [1134] = 0; [1135] = 215; [1136] = 0; [1137] = 0; [1138] = 0; [1139] = 0; [1140] = 0; [1141] = 0; [1142] = 0; [1143] = 0; [1144] = 0; [1145] = 0; [1146] = 0; [1147] = 0; [1148] = 0; [1149] = 0; [1150] = 0; [1151] = 0; [1152] = 0; [1153] = 0; [1154] = 0; [1155] = 0; [1156] = 0; [1157] = 0; [1158] = 0; [1159] = 0; [1160] = 0; [1161] = 0; [1162] = 0; [1163] = 0; [1164] = 0; [1165] = 0; [1166] = 0; [1167] = 0; [1168] = 0; [1169] = 0; [1170] = 0; [1171] = 0; [1172] = 0; [1173] = 0; [1174] = 0; [1175] = 0; [1176] = 0; [1177] = 0; [1178] = 0; [1179] = 0; [1180] = 0; [1181] = 0; [1182] = 0; [1183] = 0; [1184] = 0; [1185] = 0; [1186] = 0; [1187] = 0; [1188] = 0; [1189] = 0; [1190] = 0; [1191] = 0; [1192] = 0; [1193] = 0; [1194] = 0; [1195] = 0; [1196] = 0; [1197] = 0; [1198] = 0; [1199] = 0; [1200] = 0; [1201] = 0; [1202] = 0; [1203] = 0; [1204] = 0; [1205] = 0; [1206] = 0; [1207] = 0; [1208] = 0; [1209] = 0; [1210] = 0; [1211] = 0; [1212] = 0; [1213] = 0; [1214] = 0; [1215] = 0; [1216] = 0; [1217] = 0; [1218] = 0; [1219] = 0; [1220] = 0; [1221] = 0; [1222] = 0; [1223] = 0; [1224] = 0; [1225] = 0; [1226] = 0; [1227] = 0; [1228] = 0; [1229] = 0; [1230] = 0; [1231] = 0; [1232] = 0; [1233] = 225; [1234] = 0; [1235] = 215; [1236] = 0; [1237] = 215; [1238] = 0; [1239] = 215; [1240] = 0; [1241] = 0; [1242] = 0; [1243] = 0; [1244] = 0; [1245] = 0; [1246] = 0; [1247] = 0; [1248] = 0; [1249] = 0; [1250] = 0; [1251] = 0; [1252] = 0; [1253] = 0; [1254] = 0; [1255] = 0; [1256] = 0; [1257] = 215; [1258] = 0; [1259] = 225; [1260] = 0; [1261] = 225; [1262] = 0; [1263] = 215; [1264] = 0; [1265] = 0; [1266] = 0; [1267] = 0; [1268] = 0; [1269] = 0; [1270] = 0; [1271] = 0; [1272] = 0; [1273] = 0; [1274] = 0; [1275] = 0; [1276] = 0; [1277] = 0; [1278] = 0; [1279] = 0; [1280] = 0; [1281] = 0; [1282] = 0; [1283] = 0; [1284] = 0; [1285] = 0; [1286] = 0; [1287] = 0; [1288] = 0; [1289] = 0; [1290] = 0; [1291] = 0; [1292] = 0; [1293] = 0; [1294] = 0; [1295] = 0; [1296] = 0; [1297] = 0; [1298] = 0; [1299] = 0; [1300] = 0; [1301] = 0; [1302] = 0; [1303] = 0; [1304] = 0; [1305] = 0; [1306] = 0; [1307] = 0; [1308] = 0; [1309] = 0; [1310] = 0; [1311] = 0; [1312] = 0; [1313] = 0; [1314] = 0; [1315] = 0; [1316] = 0; [1317] = 0; [1318] = 0; [1319] = 0; [1320] = 0; [1321] = 0; [1322] = 0; [1323] = 0; [1324] = 0; [1325] = 0; [1326] = 0; [1327] = 0; [1328] = 0; [1329] = 0; [1330] = 0; [1331] = 0; [1332] = 0; [1333] = 0; [1334] = 0; [1335] = 0; [1336] = 0; [1337] = 0; [1338] = 0; [1339] = 0; [1340] = 0; [1341] = 0; [1342] = 0; [1343] = 0; [1344] = 0; [1345] = 0; [1346] = 0; [1347] = 0; [1348] = 0; [1349] = 0; [1350] = 0; [1351] = 0; [1352] = 0; [1353] = 0; [1354] = 0; [1355] = 0; [1356] = 0; [1357] = 0; [1358] = 0; [1359] = 0; [1360] = 0; [1361] = 215; [1362] = 0; [1363] = 215; [1364] = 0; [1365] = 225; [1366] = 0; [1367] = 215; [1368] = 0; [1369] = 0; [1370] = 0; [1371] = 0; [1372] = 0; [1373] = 0; [1374] = 0; [1375] = 0; [1376] = 0; [1377] = 0; [1378] = 0; [1379] = 0; [1380] = 0; [1381] = 0; [1382] = 0; [1383] = 0; [1384] = 0; [1385] = 225; [1386] = 0; [1387] = 215; [1388] = 0; [1389] = 225; [1390] = 0; [1391] = 215; [1392] = 0; [1393] = 0; [1394] = 0; [1395] = 0; [1396] = 0; [1397] = 0; [1398] = 0; [1399] = 0; [1400] = 0; [1401] = 0; [1402] = 0; [1403] = 0; [1404] = 0; [1405] = 0; [1406] = 0; [1407] = 0; [1408] = 0; [1409] = 0; [1410] = 0; [1411] = 0; [1412] = 0; [1413] = 0; [1414] = 0; [1415] = 0; [1416] = 0; [1417] = 0; [1418] = 0; [1419] = 0; [1420] = 0; [1421] = 0; [1422] = 0; [1423] = 0; [1424] = 0; [1425] = 0; [1426] = 0; [1427] = 0; [1428] = 0; [1429] = 0; [1430] = 0; [1431] = 0; [1432] = 0; [1433] = 0; [1434] = 0; [1435] = 0; [1436] = 0; [1437] = 0; [1438] = 0; [1439] = 0; [1440] = 0; [1441] = 0; [1442] = 0; [1443] = 0; [1444] = 0; [1445] = 0; [1446] = 0; [1447] = 0; [1448] = 0; [1449] = 0; [1450] = 0; [1451] = 0; [1452] = 0; [1453] = 0; [1454] = 0; [1455] = 0; [1456] = 0; [1457] = 0; [1458] = 0; [1459] = 0; [1460] = 0; [1461] = 0; [1462] = 0; [1463] = 0; [1464] = 0; [1465] = 0; [1466] = 0; [1467] = 0; [1468] = 0; [1469] = 0; [1470] = 0; [1471] = 0; [1472] = 0; [1473] = 0; [1474] = 0; [1475] = 0; [1476] = 0; [1477] = 0; [1478] = 0; [1479] = 0; [1480] = 0; [1481] = 0; [1482] = 0; [1483] = 0; [1484] = 0; [1485] = 0; [1486] = 0; [1487] = 0; [1488] = 0; [1489] = 215; [1490] = 0; [1491] = 215; [1492] = 0; [1493] = 225; [1494] = 0; [1495] = 215; [1496] = 0; [1497] = 0; [1498] = 0; [1499] = 0; [1500] = 0; [1501] = 0; [1502] = 0; [1503] = 0; [1504] = 0; [1505] = 0; [1506] = 0; [1507] = 0; [1508] = 0; [1509] = 0; [1510] = 0; [1511] = 0; [1512] = 0; [1513] = 225; [1514] = 0; [1515] = 215; [1516] = 0; [1517] = 215; [1518] = 0; [1519] = 215; [1520] = 0; [1521] = 0; [1522] = 0; [1523] = 0; [1524] = 0; [1525] = 0; [1526] = 0; [1527] = 0; [1528] = 0; [1529] = 0; [1530] = 0; [1531] = 0; [1532] = 0; [1533] = 0; [1534] = 0; [1535] = 0; [1536] = 0; [1537] = 0; [1538] = 0; [1539] = 0; [1540] = 0; [1541] = 0; [1542] = 0; [1543] = 0; [1544] = 0; [1545] = 0; [1546] = 0; [1547] = 0; [1548] = 0; [1549] = 0; [1550] = 0; [1551] = 0; [1552] = 0; [1553] = 0; [1554] = 0; [1555] = 0; [1556] = 0; [1557] = 0; [1558] = 0; [1559] = 0; [1560] = 0; [1561] = 0; [1562] = 0; [1563] = 0; [1564] = 0; [1565] = 0; [1566] = 0; [1567] = 0; [1568] = 0; [1569] = 0; [1570] = 0; [1571] = 0; [1572] = 0; [1573] = 0; [1574] = 0; [1575] = 0; [1576] = 0; [1577] = 0; [1578] = 0; [1579] = 0; [1580] = 0; [1581] = 0; [1582] = 0; [1583] = 0; [1584] = 0; [1585] = 0; [1586] = 0; [1587] = 0; [1588] = 0; [1589] = 0; [1590] = 0; [1591] = 0; [1592] = 0; [1593] = 0; [1594] = 0; [1595] = 0; [1596] = 0; [1597] = 0; [1598] = 0; [1599] = 0; [1600] = 0; [1601] = 0; [1602] = 0; [1603] = 0; [1604] = 0; [1605] = 0; [1606] = 0; [1607] = 0; [1608] = 0; [1609] = 0; [1610] = 0; [1611] = 0; [1612] = 0; [1613] = 0; [1614] = 0; [1615] = 0; [1616] = 0; [1617] = 225; [1618] = 0; [1619] = 215; [1620] = 0; [1621] = 225; [1622] = 0; [1623] = 225; [1624] = 0; [1625] = 0; [1626] = 0; [1627] = 0; [1628] = 0; [1629] = 0; [1630] = 0; [1631] = 0; [1632] = 0; [1633] = 0; [1634] = 0; [1635] = 0; [1636] = 0; [1637] = 0; [1638] = 0; [1639] = 0; [1640] = 0; [1641] = 225; [1642] = 0; [1643] = 215; [1644] = 0; [1645] = 225; [1646] = 0; [1647] = 225; [1648] = 0; [1649] = 0; [1650] = 0; [1651] = 0; [1652] = 0; [1653] = 0; [1654] = 0; [1655] = 0; [1656] = 0; [1657] = 0; [1658] = 0; [1659] = 0; [1660] = 0; [1661] = 0; [1662] = 0; [1663] = 0; [1664] = 0; [1665] = 0; [1666] = 0; [1667] = 0; [1668] = 0; [1669] = 0; [1670] = 0; [1671] = 0; [1672] = 0; [1673] = 0; [1674] = 0; [1675] = 0; [1676] = 0; [1677] = 0; [1678] = 0; [1679] = 0; [1680] = 0; [1681] = 0; [1682] = 0; [1683] = 0; [1684] = 0; [1685] = 0; [1686] = 0; [1687] = 0; [1688] = 0; [1689] = 0; [1690] = 0; [1691] = 0; [1692] = 0; [1693] = 0; [1694] = 0; [1695] = 0; [1696] = 0; [1697] = 0; [1698] = 0; [1699] = 0; [1700] = 0; [1701] = 0; [1702] = 0; [1703] = 0; [1704] = 0; [1705] = 0; [1706] = 0; [1707] = 0; [1708] = 0; [1709] = 0; [1710] = 0; [1711] = 0; [1712] = 0; [1713] = 0; [1714] = 0; [1715] = 0; [1716] = 0; [1717] = 0; [1718] = 0; [1719] = 0; [1720] = 0; [1721] = 0; [1722] = 0; [1723] = 0; [1724] = 0; [1725] = 0; [1726] = 0; [1727] = 0; [1728] = 0; [1729] = 0; [1730] = 0; [1731] = 0; [1732] = 0; [1733] = 0; [1734] = 0; [1735] = 0; [1736] = 0; [1737] = 0; [1738] = 0; [1739] = 0; [1740] = 0; [1741] = 0; [1742] = 0; [1743] = 0; [1744] = 0; [1745] = 225; [1746] = 0; [1747] = 225; [1748] = 0; [1749] = 225; [1750] = 0; [1751] = 215; [1752] = 0; [1753] = 0; [1754] = 0; [1755] = 0; [1756] = 0; [1757] = 0; [1758] = 0; [1759] = 0; [1760] = 0; [1761] = 0; [1762] = 0; [1763] = 0; [1764] = 0; [1765] = 0; [1766] = 0; [1767] = 0; [1768] = 0; [1769] = 215; [1770] = 0; [1771] = 215; [1772] = 0; [1773] = 225; [1774] = 0; [1775] = 215; [1776] = 0; [1777] = 0; [1778] = 0; [1779] = 0; [1780] = 0; [1781] = 0; [1782] = 0; [1783] = 0; [1784] = 0; [1785] = 0; [1786] = 0; [1787] = 0; [1788] = 0; [1789] = 0; [1790] = 0; [1791] = 0; [1792] = 0; [1793] = 0; [1794] = 0; [1795] = 0; [1796] = 0; [1797] = 0; [1798] = 0; [1799] = 0; [1800] = 0; [1801] = 0; [1802] = 0; [1803] = 0; [1804] = 0; [1805] = 0; [1806] = 0; [1807] = 0; [1808] = 0; [1809] = 0; [1810] = 0; [1811] = 0; [1812] = 0; [1813] = 0; [1814] = 0; [1815] = 0; [1816] = 0; [1817] = 0; [1818] = 0; [1819] = 0; [1820] = 0; [1821] = 0; [1822] = 0; [1823] = 0; [1824] = 0; [1825] = 0; [1826] = 0; [1827] = 0; [1828] = 0; [1829] = 0; [1830] = 0; [1831] = 0; [1832] = 0; [1833] = 0; [1834] = 0; [1835] = 0; [1836] = 0; [1837] = 0; [1838] = 0; [1839] = 0; [1840] = 0; [1841] = 0; [1842] = 0; [1843] = 0; [1844] = 0; [1845] = 0; [1846] = 0; [1847] = 0; [1848] = 0; [1849] = 0; [1850] = 0; [1851] = 0; [1852] = 0; [1853] = 0; [1854] = 0; [1855] = 0; [1856] = 0; [1857] = 0; [1858] = 0; [1859] = 0; [1860] = 0; [1861] = 0; [1862] = 0; [1863] = 0; [1864] = 0; [1865] = 0; [1866] = 0; [1867] = 0; [1868] = 0; [1869] = 0; [1870] = 0; [1871] = 0; [1872] = 0; [1873] = 225; [1874] = 0; [1875] = 225; [1876] = 0; [1877] = 215; [1878] = 0; [1879] = 225; [1880] = 0; [1881] = 0; [1882] = 0; [1883] = 0; [1884] = 0; [1885] = 0; [1886] = 0; [1887] = 0; [1888] = 0; [1889] = 0; [1890] = 0; [1891] = 0; [1892] = 0; [1893] = 0; [1894] = 0; [1895] = 0; [1896] = 0; [1897] = 225; [1898] = 0; [1899] = 225; [1900] = 0; [1901] = 215; [1902] = 0; [1903] = 225; [1904] = 0; [1905] = 0; [1906] = 0; [1907] = 0; [1908] = 0; [1909] = 0; [1910] = 0; [1911] = 0; [1912] = 0; [1913] = 0; [1914] = 0; [1915] = 0; [1916] = 0; [1917] = 0; [1918] = 0; [1919] = 0; [1920] = 0; [1921] = 0; [1922] = 0; [1923] = 0; [1924] = 0; [1925] = 0; [1926] = 0; [1927] = 0; [1928] = 0; [1929] = 0; [1930] = 0; [1931] = 0; [1932] = 0; [1933] = 0; [1934] = 0; [1935] = 0; [1936] = 0; [1937] = 0; [1938] = 0; [1939] = 0; [1940] = 0; [1941] = 0; [1942] = 0; [1943] = 0; [1944] = 0; [1945] = 0; [1946] = 0; [1947] = 0; [1948] = 0; [1949] = 0; [1950] = 0; [1951] = 0; [1952] = 0; [1953] = 0; [1954] = 0; [1955] = 0; [1956] = 0; [1957] = 0; [1958] = 0; [1959] = 0; [1960] = 0; [1961] = 0; [1962] = 0; [1963] = 0; [1964] = 0; [1965] = 0; [1966] = 0; [1967] = 0; [1968] = 0; [1969] = 0; [1970] = 0; [1971] = 0; [1972] = 0; [1973] = 0; [1974] = 0; [1975] = 0; [1976] = 0; [1977] = 0; [1978] = 0; [1979] = 0; [1980] = 0; [1981] = 0; [1982] = 0; [1983] = 0; [1984] = 0; [1985] = 0; [1986] = 0; [1987] = 0; [1988] = 0; [1989] = 0; [1990] = 0; [1991] = 0; [1992] = 0; [1993] = 0; [1994] = 0; [1995] = 0; [1996] = 0; [1997] = 0; [1998] = 0; [1999] = 0; [2000] = 0; [2001] = 215; [2002] = 0; [2003] = 225; [2004] = 0; [2005] = 215; [2006] = 0; [2007] = 225; [2008] = 0; [2009] = 0; [2010] = 0; [2011] = 0; [2012] = 0; [2013] = 0; [2014] = 0; [2015] = 0; [2016] = 0; [2017] = 0; [2018] = 0; [2019] = 0; [2020] = 0; [2021] = 0; [2022] = 0; [2023] = 0; [2024] = 0; [2025] = 215; [2026] = 0; [2027] = 215; [2028] = 0; [2029] = 225; [2030] = 0; [2031] = 215; [2032] = 0; [2033] = 0; [2034] = 0; [2035] = 0; [2036] = 0; [2037] = 0; [2038] = 0; [2039] = 0; [2040] = 0; [2041] = 0; [2042] = 0; [2043] = 0; [2044] = 0; [2045] = 0; [2046] = 0; [2047] = 0; [2048] = 0; [2049] = 0; [2050] = 0; [2051] = 0; [2052] = 0; [2053] = 0; [2054] = 0; [2055] = 0; [2056] = 0; [2057] = 0; [2058] = 0; [2059] = 0; [2060] = 0; [2061] = 0; [2062] = 0; [2063] = 0; [2064] = 0; [2065] = 0; [2066] = 0; [2067] = 0; [2068] = 0; [2069] = 0; [2070] = 0; [2071] = 0; [2072] = 0; [2073] = 0; [2074] = 0; [2075] = 0; [2076] = 0; [2077] = 0; [2078] = 0; [2079] = 0; [2080] = 0; [2081] = 0; [2082] = 0; [2083] = 0; [2084] = 0; [2085] = 0; [2086] = 0; [2087] = 0; [2088] = 0; [2089] = 0; [2090] = 0; [2091] = 0; [2092] = 0; [2093] = 0; [2094] = 0; [2095] = 0; [2096] = 0; [2097] = 0; [2098] = 0; [2099] = 0; [2100] = 0; [2101] = 0; [2102] = 0; [2103] = 0; [2104] = 0; [2105] = 0; [2106] = 0; [2107] = 0; [2108] = 0; [2109] = 0; [2110] = 0; [2111] = 0; [2112] = 0; [2113] = 0; [2114] = 0; [2115] = 0; [2116] = 0; [2117] = 0; [2118] = 0; [2119] = 0; [2120] = 0; [2121] = 0; [2122] = 0; [2123] = 0; [2124] = 0; [2125] = 0; [2126] = 0; [2127] = 0; [2128] = 0; [2129] = 0; [2130] = 0; [2131] = 0; [2132] = 0; [2133] = 0; [2134] = 0; [2135] = 0; [2136] = 0; [2137] = 0; [2138] = 0; [2139] = 0; [2140] = 0; [2141] = 0; [2142] = 0; [2143] = 0; [2144] = 0; [2145] = 0; [2146] = 0; [2147] = 0; [2148] = 0; [2149] = 0; [2150] = 0; [2151] = 0; [2152] = 0; [2153] = 0; [2154] = 0; [2155] = 0; [2156] = 0; [2157] = 0; [2158] = 0; [2159] = 0; [2160] = 0; [2161] = 0; [2162] = 0; [2163] = 0; [2164] = 0; [2165] = 0; [2166] = 0; [2167] = 0; [2168] = 0; [2169] = 0; [2170] = 0; [2171] = 0; [2172] = 0; [2173] = 0; [2174] = 0; [2175] = 0; [2176] = 0; [2177] = 0; [2178] = 0; [2179] = 0; [2180] = 0; [2181] = 0; [2182] = 0; [2183] = 0; [2184] = 0; [2185] = 0; [2186] = 0; [2187] = 0; [2188] = 0; [2189] = 0; [2190] = 0; [2191] = 0; [2192] = 0; [2193] = 0; [2194] = 0; [2195] = 0; [2196] = 0; [2197] = 0; [2198] = 0; [2199] = 0; [2200] = 0; [2201] = 0; [2202] = 0; [2203] = 0; [2204] = 0; [2205] = 0; [2206] = 0; [2207] = 0; [2208] = 0; [2209] = 0; [2210] = 0; [2211] = 0; [2212] = 0; [2213] = 0; [2214] = 0; [2215] = 0; [2216] = 0; [2217] = 0; [2218] = 0; [2219] = 0; [2220] = 0; [2221] = 0; [2222] = 0; [2223] = 0; [2224] = 0; [2225] = 0; [2226] = 0; [2227] = 0; [2228] = 0; [2229] = 0; [2230] = 0; [2231] = 0; [2232] = 0; [2233] = 0; [2234] = 0; [2235] = 0; [2236] = 0; [2237] = 0; [2238] = 0; [2239] = 0; [2240] = 0; [2241] = 0; [2242] = 0; [2243] = 0; [2244] = 0; [2245] = 0; [2246] = 0; [2247] = 0; [2248] = 0; [2249] = 0; [2250] = 0; [2251] = 0; [2252] = 0; [2253] = 0; [2254] = 0; [2255] = 0; [2256] = 0; [2257] = 0; [2258] = 0; [2259] = 0; [2260] = 0; [2261] = 0; [2262] = 0; [2263] = 0; [2264] = 0; [2265] = 0; [2266] = 0; [2267] = 0; [2268] = 0; [2269] = 0; [2270] = 0; [2271] = 0; [2272] = 0; [2273] = 0; [2274] = 0; [2275] = 0; [2276] = 0; [2277] = 0; [2278] = 0; [2279] = 0; [2280] = 0; [2281] = 0; [2282] = 0; [2283] = 0; [2284] = 0; [2285] = 0; [2286] = 0; [2287] = 0; [2288] = 0; [2289] = 0; [2290] = 0; [2291] = 0; [2292] = 0; [2293] = 0; [2294] = 0; [2295] = 0; [2296] = 0; [2297] = 0; [2298] = 0; [2299] = 0; [2300] = 0; [2301] = 0; [2302] = 0; [2303] = 0; [2304] = 0; [2305] = 0; [2306] = 0; [2307] = 0; [2308] = 0; [2309] = 0; [2310] = 0; [2311] = 0; [2312] = 0; [2313] = 0; [2314] = 0; [2315] = 0; [2316] = 0; [2317] = 0; [2318] = 0; [2319] = 0; [2320] = 0; [2321] = 0; [2322] = 0; [2323] = 0; [2324] = 0; [2325] = 0; [2326] = 0; [2327] = 0; [2328] = 0; [2329] = 0; [2330] = 0; [2331] = 0; [2332] = 0; [2333] = 0; [2334] = 0; [2335] = 0; [2336] = 0; [2337] = 0; [2338] = 0; [2339] = 0; [2340] = 0; [2341] = 0; [2342] = 0; [2343] = 0; [2344] = 0; [2345] = 0; [2346] = 0; [2347] = 0; [2348] = 0; [2349] = 0; [2350] = 0; [2351] = 0; [2352] = 0; [2353] = 0; [2354] = 0; [2355] = 0; [2356] = 0; [2357] = 0; [2358] = 0; [2359] = 0; [2360] = 0; [2361] = 0; [2362] = 0; [2363] = 0; [2364] = 0; [2365] = 0; [2366] = 0; [2367] = 0; [2368] = 0; [2369] = 0; [2370] = 0; [2371] = 0; [2372] = 0; [2373] = 0; [2374] = 0; [2375] = 0; [2376] = 0; [2377] = 0; [2378] = 0; [2379] = 0; [2380] = 0; [2381] = 0; [2382] = 0; [2383] = 0; [2384] = 0; [2385] = 0; [2386] = 0; [2387] = 0; [2388] = 0; [2389] = 0; [2390] = 0; [2391] = 0; [2392] = 0; [2393] = 0; [2394] = 0; [2395] = 0; [2396] = 0; [2397] = 0; [2398] = 0; [2399] = 0; [2400] = 0; [2401] = 0; [2402] = 0; [2403] = 0; [2404] = 0; [2405] = 0; [2406] = 0; [2407] = 0; [2408] = 0; [2409] = 0; [2410] = 0; [2411] = 0; [2412] = 0; [2413] = 0; [2414] = 0; [2415] = 0; [2416] = 0; [2417] = 0; [2418] = 0; [2419] = 0; [2420] = 0; [2421] = 0; [2422] = 0; [2423] = 0; [2424] = 0; [2425] = 0; [2426] = 0; [2427] = 0; [2428] = 0; [2429] = 0; [2430] = 0; [2431] = 0; [2432] = 0; [2433] = 0; [2434] = 0; [2435] = 0; [2436] = 0; [2437] = 0; [2438] = 0; [2439] = 0; [2440] = 0; [2441] = 0; [2442] = 0; [2443] = 0; [2444] = 0; [2445] = 0; [2446] = 0; [2447] = 0; [2448] = 0; [2449] = 0; [2450] = 0; [2451] = 0; [2452] = 0; [2453] = 0; [2454] = 0; [2455] = 0; [2456] = 0; [2457] = 0; [2458] = 0; [2459] = 0; [2460] = 0; [2461] = 0; [2462] = 0; [2463] = 0; [2464] = 0; [2465] = 0; [2466] = 0; [2467] = 0; [2468] = 0; [2469] = 0; [2470] = 0; [2471] = 0; [2472] = 0; [2473] = 0; [2474] = 0; [2475] = 0; [2476] = 0; [2477] = 0; [2478] = 0; [2479] = 0; [2480] = 0; [2481] = 0; [2482] = 0; [2483] = 0; [2484] = 0; [2485] = 0; [2486] = 0; [2487] = 0; [2488] = 0; [2489] = 0; [2490] = 0; [2491] = 0; [2492] = 0; [2493] = 0; [2494] = 0; [2495] = 0; [2496] = 0; [2497] = 0; [2498] = 0; [2499] = 0; [2500] = 0; [2501] = 0; [2502] = 0; [2503] = 0; [2504] = 0; [2505] = 0; [2506] = 0; [2507] = 0; [2508] = 0; [2509] = 0; [2510] = 0; [2511] = 0; [2512] = 0; [2513] = 0; [2514] = 0; [2515] = 0; [2516] = 0; [2517] = 0; [2518] = 0; [2519] = 0; [2520] = 0; [2521] = 0; [2522] = 0; [2523] = 0; [2524] = 0; [2525] = 0; [2526] = 0; [2527] = 0; [2528] = 0; [2529] = 0; [2530] = 0; [2531] = 0; [2532] = 0; [2533] = 0; [2534] = 0; [2535] = 0; [2536] = 0; [2537] = 0; [2538] = 0; [2539] = 0; [2540] = 0; [2541] = 0; [2542] = 0; [2543] = 0; [2544] = 0; [2545] = 0; [2546] = 0; [2547] = 0; [2548] = 0; [2549] = 0; [2550] = 0; [2551] = 0; [2552] = 0; [2553] = 0; [2554] = 0; [2555] = 0; [2556] = 0; [2557] = 0; [2558] = 0; [2559] = 0; [2560] = 0; [2561] = 0; [2562] = 0; [2563] = 0; [2564] = 0; [2565] = 0; [2566] = 0; [2567] = 0; [2568] = 0; [2569] = 0; [2570] = 0; [2571] = 0; [2572] = 0; [2573] = 0; [2574] = 0; [2575] = 0; [2576] = 0; [2577] = 0; [2578] = 0; [2579] = 0; [2580] = 0; [2581] = 0; [2582] = 0; [2583] = 0; [2584] = 0; [2585] = 0; [2586] = 0; [2587] = 0; [2588] = 0; [2589] = 0; [2590] = 0; [2591] = 0; [2592] = 0; [2593] = 0; [2594] = 0; [2595] = 0; [2596] = 0; [2597] = 0; [2598] = 0; [2599] = 0; [2600] = 0; [2601] = 0; [2602] = 0; [2603] = 0; [2604] = 0; [2605] = 0; [2606] = 0; [2607] = 0; [2608] = 0; [2609] = 0; [2610] = 0; [2611] = 0; [2612] = 0; [2613] = 0; [2614] = 0; [2615] = 0; [2616] = 0; [2617] = 0; [2618] = 0; [2619] = 0; [2620] = 0; [2621] = 0; [2622] = 0; [2623] = 0; [2624] = 0; [2625] = 0; [2626] = 0; [2627] = 0; [2628] = 0; [2629] = 0; [2630] = 0; [2631] = 0; [2632] = 0; [2633] = 0; [2634] = 0; [2635] = 0; [2636] = 0; [2637] = 0; [2638] = 0; [2639] = 0; [2640] = 0; [2641] = 0; [2642] = 0; [2643] = 0; [2644] = 0; [2645] = 0; [2646] = 0; [2647] = 0; [2648] = 0; [2649] = 0; [2650] = 0; [2651] = 0; [2652] = 0; [2653] = 0; [2654] = 0; [2655] = 0; [2656] = 0; [2657] = 0; [2658] = 0; [2659] = 0; [2660] = 0; [2661] = 0; [2662] = 0; [2663] = 0; [2664] = 0; [2665] = 0; [2666] = 0; [2667] = 0; [2668] = 0; [2669] = 0; [2670] = 0; [2671] = 0; [2672] = 0; [2673] = 0; [2674] = 0; [2675] = 0; [2676] = 0; [2677] = 0; [2678] = 0; [2679] = 0; [2680] = 0; [2681] = 0; [2682] = 0; [2683] = 0; [2684] = 0; [2685] = 0; [2686] = 0; [2687] = 0; [2688] = 0; [2689] = 0; [2690] = 0; [2691] = 0; [2692] = 0; [2693] = 0; [2694] = 0; [2695] = 0; [2696] = 0; [2697] = 0; [2698] = 0; [2699] = 0; [2700] = 0; [2701] = 0; [2702] = 0; [2703] = 0; [2704] = 0; [2705] = 0; [2706] = 0; [2707] = 0; [2708] = 0; [2709] = 0; [2710] = 0; [2711] = 0; [2712] = 0; [2713] = 0; [2714] = 0; [2715] = 0; [2716] = 0; [2717] = 0; [2718] = 0; [2719] = 0; [2720] = 0; [2721] = 0; [2722] = 0; [2723] = 0; [2724] = 0; [2725] = 0; [2726] = 0; [2727] = 0; [2728] = 0; [2729] = 0; [2730] = 0; [2731] = 0; [2732] = 0; [2733] = 0; [2734] = 0; [2735] = 0; [2736] = 0; [2737] = 0; [2738] = 0; [2739] = 0; [2740] = 0; [2741] = 0; [2742] = 0; [2743] = 0; [2744] = 0; [2745] = 0; [2746] = 0; [2747] = 0; [2748] = 0; [2749] = 0; [2750] = 0; [2751] = 0; [2752] = 0; [2753] = 0; [2754] = 0; [2755] = 0; [2756] = 0; [2757] = 0; [2758] = 0; [2759] = 0; [2760] = 0; [2761] = 0; [2762] = 0; [2763] = 0; [2764] = 0; [2765] = 0; [2766] = 0; [2767] = 0; [2768] = 0; [2769] = 0; [2770] = 0; [2771] = 0; [2772] = 0; [2773] = 0; [2774] = 0; [2775] = 0; [2776] = 0; [2777] = 0; [2778] = 0; [2779] = 0; [2780] = 0; [2781] = 0; [2782] = 0; [2783] = 0; [2784] = 0; [2785] = 0; [2786] = 0; [2787] = 0; [2788] = 0; [2789] = 0; [2790] = 0; [2791] = 0; [2792] = 0; [2793] = 0; [2794] = 0; [2795] = 0; [2796] = 0; [2797] = 0; [2798] = 0; [2799] = 0; [2800] = 0; [2801] = 0; [2802] = 0; [2803] = 0; [2804] = 0; [2805] = 0; [2806] = 0; [2807] = 0; [2808] = 0; [2809] = 0; [2810] = 0; [2811] = 0; [2812] = 0; [2813] = 0; [2814] = 0; [2815] = 0; [2816] = 0; [2817] = 0; [2818] = 0; [2819] = 0; [2820] = 0; [2821] = 0; [2822] = 0; [2823] = 0; [2824] = 0; [2825] = 0; [2826] = 0; [2827] = 0; [2828] = 0; [2829] = 0; [2830] = 0; [2831] = 0; [2832] = 0; [2833] = 0; [2834] = 0; [2835] = 0; [2836] = 0; [2837] = 0; [2838] = 0; [2839] = 0; [2840] = 0; [2841] = 0; [2842] = 0; [2843] = 0; [2844] = 0; [2845] = 0; [2846] = 0; [2847] = 0; [2848] = 0; [2849] = 0; [2850] = 0; [2851] = 0; [2852] = 0; [2853] = 0; [2854] = 0; [2855] = 0; [2856] = 0; [2857] = 0; [2858] = 0; [2859] = 0; [2860] = 0; [2861] = 0; [2862] = 0; [2863] = 0; [2864] = 0; [2865] = 0; [2866] = 0; [2867] = 0; [2868] = 0; [2869] = 0; [2870] = 0; [2871] = 0; [2872] = 0; [2873] = 0; [2874] = 0; [2875] = 0; [2876] = 0; [2877] = 0; [2878] = 0; [2879] = 0; [2880] = 0; [2881] = 0; [2882] = 0; [2883] = 0; [2884] = 0; [2885] = 0; [2886] = 0; [2887] = 0; [2888] = 0; [2889] = 0; [2890] = 0; [2891] = 0; [2892] = 0; [2893] = 0; [2894] = 0; [2895] = 0; [2896] = 0; [2897] = 0; [2898] = 0; [2899] = 0; [2900] = 0; [2901] = 0; [2902] = 0; [2903] = 0; [2904] = 0; [2905] = 0; [2906] = 0; [2907] = 0; [2908] = 0; [2909] = 0; [2910] = 0; [2911] = 0; [2912] = 0; [2913] = 0; [2914] = 0; [2915] = 0; [2916] = 0; [2917] = 0; [2918] = 0; [2919] = 0; [2920] = 0; [2921] = 0; [2922] = 0; [2923] = 0; [2924] = 0; [2925] = 0; [2926] = 0; [2927] = 0; [2928] = 0; [2929] = 0; [2930] = 0; [2931] = 0; [2932] = 0; [2933] = 0; [2934] = 0; [2935] = 0; [2936] = 0; [2937] = 0; [2938] = 0; [2939] = 0; [2940] = 0; [2941] = 0; [2942] = 0; [2943] = 0; [2944] = 0; [2945] = 0; [2946] = 0; [2947] = 0; [2948] = 0; [2949] = 0; [2950] = 0; [2951] = 0; [2952] = 0; [2953] = 0; [2954] = 0; [2955] = 0; [2956] = 0; [2957] = 0; [2958] = 0; [2959] = 0; [2960] = 0; [2961] = 0; [2962] = 0; [2963] = 0; [2964] = 0; [2965] = 0; [2966] = 0; [2967] = 0; [2968] = 0; [2969] = 0; [2970] = 0; [2971] = 0; [2972] = 0; [2973] = 0; [2974] = 0; [2975] = 0; [2976] = 0; [2977] = 0; [2978] = 0; [2979] = 0; [2980] = 0; [2981] = 0; [2982] = 0; [2983] = 0; [2984] = 0; [2985] = 0; [2986] = 0; [2987] = 0; [2988] = 0; [2989] = 0; [2990] = 0; [2991] = 0; [2992] = 0; [2993] = 0; [2994] = 0; [2995] = 0; [2996] = 0; [2997] = 0; [2998] = 0; [2999] = 0; [3000] = 0; [3001] = 0; [3002] = 0; [3003] = 0; [3004] = 0; [3005] = 0; [3006] = 0; [3007] = 0; [3008] = 0; [3009] = 0; [3010] = 0; [3011] = 0; [3012] = 0; [3013] = 0; [3014] = 0; [3015] = 0; [3016] = 0; [3017] = 0; [3018] = 0; [3019] = 0; [3020] = 0; [3021] = 0; [3022] = 0; [3023] = 0; [3024] = 0; [3025] = 0; [3026] = 0; [3027] = 0; [3028] = 0; [3029] = 0; [3030] = 0; [3031] = 0; [3032] = 0; [3033] = 0; [3034] = 0; [3035] = 0; [3036] = 0; [3037] = 0; [3038] = 0; [3039] = 0; [3040] = 0; [3041] = 0; [3042] = 0; [3043] = 0; [3044] = 0; [3045] = 0; [3046] = 0; [3047] = 0; [3048] = 0; [3049] = 0; [3050] = 0; [3051] = 0; [3052] = 0; [3053] = 0; [3054] = 0; [3055] = 0; [3056] = 0; [3057] = 0; [3058] = 0; [3059] = 0; [3060] = 0; [3061] = 0; [3062] = 0; [3063] = 0; [3064] = 0; [3065] = 0; [3066] = 0; [3067] = 0; [3068] = 0; [3069] = 0; [3070] = 0; [3071] = 0; [3072] = 0; [3073] = 0; [3074] = 0; [3075] = 0; [3076] = 0; [3077] = 0; [3078] = 0; [3079] = 0; [3080] = 0; [3081] = 0; [3082] = 0; [3083] = 0; [3084] = 0; [3085] = 0; [3086] = 0; [3087] = 0; [3088] = 0; [3089] = 0; [3090] = 0; [3091] = 0; [3092] = 0; [3093] = 0; [3094] = 0; [3095] = 0; [3096] = 0; [3097] = 0; [3098] = 0; [3099] = 0; [3100] = 0; [3101] = 0; [3102] = 0; [3103] = 0; [3104] = 0; [3105] = 0; [3106] = 0; [3107] = 0; [3108] = 0; [3109] = 0; [3110] = 0; [3111] = 0; [3112] = 0; [3113] = 0; [3114] = 0; [3115] = 0; [3116] = 0; [3117] = 0; [3118] = 0; [3119] = 0; [3120] = 0; [3121] = 0; [3122] = 0; [3123] = 0; [3124] = 0; [3125] = 0; [3126] = 0; [3127] = 0; [3128] = 0; [3129] = 0; [3130] = 0; [3131] = 0; [3132] = 0; [3133] = 0; [3134] = 0; [3135] = 0; [3136] = 0; [3137] = 0; [3138] = 0; [3139] = 0; [3140] = 0; [3141] = 0; [3142] = 0; [3143] = 0; [3144] = 0; [3145] = 0; [3146] = 0; [3147] = 0; [3148] = 0; [3149] = 0; [3150] = 0; [3151] = 0; [3152] = 0; [3153] = 0; [3154] = 0; [3155] = 0; [3156] = 0; [3157] = 0; [3158] = 0; [3159] = 0; [3160] = 0; [3161] = 0; [3162] = 0; [3163] = 0; [3164] = 0; [3165] = 0; [3166] = 0; [3167] = 0; [3168] = 0; [3169] = 0; [3170] = 0; [3171] = 0; [3172] = 0; [3173] = 0; [3174] = 0; [3175] = 0; [3176] = 0; [3177] = 0; [3178] = 0; [3179] = 0; [3180] = 0; [3181] = 0; [3182] = 0; [3183] = 0; [3184] = 0; [3185] = 0; [3186] = 0; [3187] = 0; [3188] = 0; [3189] = 0; [3190] = 0; [3191] = 0; [3192] = 0; [3193] = 0; [3194] = 0; [3195] = 0; [3196] = 0; [3197] = 0; [3198] = 0; [3199] = 0; [3200] = 0; [3201] = 0; [3202] = 0; [3203] = 0; [3204] = 0; [3205] = 0; [3206] = 0; [3207] = 0; [3208] = 0; [3209] = 0; [3210] = 0; [3211] = 0; [3212] = 0; [3213] = 0; [3214] = 0; [3215] = 0; [3216] = 0; [3217] = 0; [3218] = 0; [3219] = 0; [3220] = 0; [3221] = 0; [3222] = 0; [3223] = 0; [3224] = 0; [3225] = 0; [3226] = 0; [3227] = 0; [3228] = 0; [3229] = 0; [3230] = 0; [3231] = 0; [3232] = 0; [3233] = 0; [3234] = 0; [3235] = 0; [3236] = 0; [3237] = 0; [3238] = 0; [3239] = 0; [3240] = 0; [3241] = 0; [3242] = 0; [3243] = 0; [3244] = 0; [3245] = 0; [3246] = 0; [3247] = 0; [3248] = 0; [3249] = 0; [3250] = 0; [3251] = 0; [3252] = 0; [3253] = 0; [3254] = 0; [3255] = 0; [3256] = 0; [3257] = 0; [3258] = 0; [3259] = 0; [3260] = 0; [3261] = 0; [3262] = 0; [3263] = 0; [3264] = 0; [3265] = 0; [3266] = 0; [3267] = 0; [3268] = 0; [3269] = 0; [3270] = 0; [3271] = 0; [3272] = 0; [3273] = 0; [3274] = 0; [3275] = 0; [3276] = 0; [3277] = 0; [3278] = 0; [3279] = 0; [3280] = 0; [3281] = 0; [3282] = 0; [3283] = 0; [3284] = 0; [3285] = 0; [3286] = 0; [3287] = 0; [3288] = 0; [3289] = 0; [3290] = 0; [3291] = 0; [3292] = 0; [3293] = 0; [3294] = 0; [3295] = 0; [3296] = 0; [3297] = 0; [3298] = 0; [3299] = 0; [3300] = 0; [3301] = 0; [3302] = 0; [3303] = 0; [3304] = 0; [3305] = 0; [3306] = 0; [3307] = 0; [3308] = 0; [3309] = 0; [3310] = 0; [3311] = 0; [3312] = 0; [3313] = 0; [3314] = 0; [3315] = 0; [3316] = 0; [3317] = 0; [3318] = 0; [3319] = 0; [3320] = 0; [3321] = 0; [3322] = 0; [3323] = 0; [3324] = 0; [3325] = 0; [3326] = 0; [3327] = 0; [3328] = 0; [3329] = 0; [3330] = 0; [3331] = 0; [3332] = 0; [3333] = 0; [3334] = 0; [3335] = 0; [3336] = 0; [3337] = 0; [3338] = 0; [3339] = 0; [3340] = 0; [3341] = 0; [3342] = 0; [3343] = 0; [3344] = 0; [3345] = 0; [3346] = 0; [3347] = 0; [3348] = 0; [3349] = 0; [3350] = 0; [3351] = 0; [3352] = 0; [3353] = 0; [3354] = 0; [3355] = 0; [3356] = 0; [3357] = 0; [3358] = 0; [3359] = 0; [3360] = 0; [3361] = 0; [3362] = 0; [3363] = 0; [3364] = 0; [3365] = 0; [3366] = 0; [3367] = 0; [3368] = 0; [3369] = 0; [3370] = 0; [3371] = 0; [3372] = 0; [3373] = 0; [3374] = 0; [3375] = 0; [3376] = 0; [3377] = 0; [3378] = 0; [3379] = 0; [3380] = 0; [3381] = 0; [3382] = 0; [3383] = 0; [3384] = 0; [3385] = 0; [3386] = 0; [3387] = 0; [3388] = 0; [3389] = 0; [3390] = 0; [3391] = 0; [3392] = 0; [3393] = 0; [3394] = 0; [3395] = 0; [3396] = 0; [3397] = 0; [3398] = 0; [3399] = 0; [3400] = 0; [3401] = 0; [3402] = 0; [3403] = 0; [3404] = 0; [3405] = 0; [3406] = 0; [3407] = 0; [3408] = 0; [3409] = 0; [3410] = 0; [3411] = 0; [3412] = 0; [3413] = 0; [3414] = 0; [3415] = 0; [3416] = 0; [3417] = 0; [3418] = 0; [3419] = 0; [3420] = 0; [3421] = 0; [3422] = 0; [3423] = 0; [3424] = 0; [3425] = 0; [3426] = 0; [3427] = 0; [3428] = 0; [3429] = 0; [3430] = 0; [3431] = 0; [3432] = 0; [3433] = 0; [3434] = 0; [3435] = 0; [3436] = 0; [3437] = 0; [3438] = 0; [3439] = 0; [3440] = 0; [3441] = 0; [3442] = 0; [3443] = 0; [3444] = 0; [3445] = 0; [3446] = 0; [3447] = 0; [3448] = 0; [3449] = 0; [3450] = 0; [3451] = 0; [3452] = 0; [3453] = 0; [3454] = 0; [3455] = 0; [3456] = 0; [3457] = 0; [3458] = 0; [3459] = 0; [3460] = 0; [3461] = 0; [3462] = 0; [3463] = 0; [3464] = 0; [3465] = 0; [3466] = 0; [3467] = 0; [3468] = 0; [3469] = 0; [3470] = 0; [3471] = 0; [3472] = 0; [3473] = 0; [3474] = 0; [3475] = 0; [3476] = 0; [3477] = 0; [3478] = 0; [3479] = 0; [3480] = 0; [3481] = 0; [3482] = 0; [3483] = 0; [3484] = 0; [3485] = 0; [3486] = 0; [3487] = 0; [3488] = 0; [3489] = 0; [3490] = 0; [3491] = 0; [3492] = 0; [3493] = 0; [3494] = 0; [3495] = 0; [3496] = 0; [3497] = 0; [3498] = 0; [3499] = 0; [3500] = 0; [3501] = 0; [3502] = 0; [3503] = 0; [3504] = 0; [3505] = 0; [3506] = 0; [3507] = 0; [3508] = 0; [3509] = 0; [3510] = 0; [3511] = 0; [3512] = 0; [3513] = 0; [3514] = 0; [3515] = 0; [3516] = 0; [3517] = 0; [3518] = 0; [3519] = 0; [3520] = 0; [3521] = 0; [3522] = 0; [3523] = 0; [3524] = 0; [3525] = 0; [3526] = 0; [3527] = 0; [3528] = 0; [3529] = 0; [3530] = 0; [3531] = 0; [3532] = 0; [3533] = 0; [3534] = 0; [3535] = 0; [3536] = 0; [3537] = 0; [3538] = 0; [3539] = 0; [3540] = 0; [3541] = 0; [3542] = 0; [3543] = 0; [3544] = 0; [3545] = 0; [3546] = 0; [3547] = 0; [3548] = 0; [3549] = 0; [3550] = 0; [3551] = 0; [3552] = 0; [3553] = 0; [3554] = 0; [3555] = 0; [3556] = 0; [3557] = 0; [3558] = 0; [3559] = 0; [3560] = 0; [3561] = 0; [3562] = 0; [3563] = 0; [3564] = 0; [3565] = 0; [3566] = 0; [3567] = 0; [3568] = 0; [3569] = 0; [3570] = 0; [3571] = 0; [3572] = 0; [3573] = 0; [3574] = 0; [3575] = 0; [3576] = 0; [3577] = 0; [3578] = 0; [3579] = 0; [3580] = 0; [3581] = 0; [3582] = 0; [3583] = 0; [3584] = 0; [3585] = 0; [3586] = 0; [3587] = 0; [3588] = 0; [3589] = 0; [3590] = 0; [3591] = 0; [3592] = 0; [3593] = 0; [3594] = 0; [3595] = 0; [3596] = 0; [3597] = 0; [3598] = 0; [3599] = 0; [3600] = 0; [3601] = 0; [3602] = 0; [3603] = 0; [3604] = 0; [3605] = 0; [3606] = 0; [3607] = 0; [3608] = 0; [3609] = 0; [3610] = 0; [3611] = 0; [3612] = 0; [3613] = 0; [3614] = 0; [3615] = 0; [3616] = 0; [3617] = 0; [3618] = 0; [3619] = 0; [3620] = 0; [3621] = 0; [3622] = 0; [3623] = 0; [3624] = 0; [3625] = 0; [3626] = 0; [3627] = 0; [3628] = 0; [3629] = 0; [3630] = 0; [3631] = 0; [3632] = 0; [3633] = 0; [3634] = 0; [3635] = 0; [3636] = 0; [3637] = 0; [3638] = 0; [3639] = 0; [3640] = 0; [3641] = 0; [3642] = 0; [3643] = 0; [3644] = 0; [3645] = 0; [3646] = 0; [3647] = 0; [3648] = 0; [3649] = 0; [3650] = 0; [3651] = 0; [3652] = 0; [3653] = 0; [3654] = 0; [3655] = 0; [3656] = 0; [3657] = 0; [3658] = 0; [3659] = 0; [3660] = 0; [3661] = 0; [3662] = 0; [3663] = 0; [3664] = 0; [3665] = 0; [3666] = 0; [3667] = 0; [3668] = 0; [3669] = 0; [3670] = 0; [3671] = 0; [3672] = 0; [3673] = 0; [3674] = 0; [3675] = 0; [3676] = 0; [3677] = 0; [3678] = 0; [3679] = 0; [3680] = 0; [3681] = 0; [3682] = 0; [3683] = 0; [3684] = 0; [3685] = 0; [3686] = 0; [3687] = 0; [3688] = 0; [3689] = 0; [3690] = 0; [3691] = 0; [3692] = 0; [3693] = 0; [3694] = 0; [3695] = 0; [3696] = 0; [3697] = 0; [3698] = 0; [3699] = 0; [3700] = 0; [3701] = 0; [3702] = 0; [3703] = 0; [3704] = 0; [3705] = 0; [3706] = 0; [3707] = 0; [3708] = 0; [3709] = 0; [3710] = 0; [3711] = 0; [3712] = 0; [3713] = 0; [3714] = 0; [3715] = 0; [3716] = 0; [3717] = 0; [3718] = 0; [3719] = 0; [3720] = 0; [3721] = 0; [3722] = 0; [3723] = 0; [3724] = 0; [3725] = 0; [3726] = 0; [3727] = 0; [3728] = 0; [3729] = 0; [3730] = 0; [3731] = 0; [3732] = 0; [3733] = 0; [3734] = 0; [3735] = 0; [3736] = 0; [3737] = 0; [3738] = 0; [3739] = 0; [3740] = 0; [3741] = 0; [3742] = 0; [3743] = 0; [3744] = 0; [3745] = 0; [3746] = 0; [3747] = 0; [3748] = 0; [3749] = 0; [3750] = 0; [3751] = 0; [3752] = 0; [3753] = 0; [3754] = 0; [3755] = 0; [3756] = 0; [3757] = 0; [3758] = 0; [3759] = 0; [3760] = 0; [3761] = 0; [3762] = 0; [3763] = 0; [3764] = 0; [3765] = 0; [3766] = 0; [3767] = 0; [3768] = 0; [3769] = 0; [3770] = 0; [3771] = 0; [3772] = 0; [3773] = 0; [3774] = 0; [3775] = 0; [3776] = 0; [3777] = 0; [3778] = 0; [3779] = 0; [3780] = 0; [3781] = 0; [3782] = 0; [3783] = 0; [3784] = 0; [3785] = 0; [3786] = 0; [3787] = 0; [3788] = 0; [3789] = 0; [3790] = 0; [3791] = 0; [3792] = 0; [3793] = 0; [3794] = 0; [3795] = 0; [3796] = 0; [3797] = 0; [3798] = 0; [3799] = 0; [3800] = 0; [3801] = 0; [3802] = 0; [3803] = 0; [3804] = 0; [3805] = 0; [3806] = 0; [3807] = 0; [3808] = 0; [3809] = 0; [3810] = 0; [3811] = 0; [3812] = 0; [3813] = 0; [3814] = 0; [3815] = 0; [3816] = 0; [3817] = 0; [3818] = 0; [3819] = 0; [3820] = 0; [3821] = 0; [3822] = 0; [3823] = 0; [3824] = 0; [3825] = 0; [3826] = 0; [3827] = 0; [3828] = 0; [3829] = 0; [3830] = 0; [3831] = 0; [3832] = 0; [3833] = 0; [3834] = 0; [3835] = 0; [3836] = 0; [3837] = 0; [3838] = 0; [3839] = 0; [3840] = 0; [3841] = 0; [3842] = 0; [3843] = 0; [3844] = 0; [3845] = 0; [3846] = 0; [3847] = 0; [3848] = 0; [3849] = 0; [3850] = 0; [3851] = 0; [3852] = 0; [3853] = 0; [3854] = 0; [3855] = 0; [3856] = 0; [3857] = 0; [3858] = 0; [3859] = 0; [3860] = 0; [3861] = 0; [3862] = 0; [3863] = 0; [3864] = 0; [3865] = 0; [3866] = 0; [3867] = 0; [3868] = 0; [3869] = 0; [3870] = 0; [3871] = 0; [3872] = 0; [3873] = 0; [3874] = 0; [3875] = 0; [3876] = 0; [3877] = 0; [3878] = 0; [3879] = 0; [3880] = 0; [3881] = 0; [3882] = 0; [3883] = 0; [3884] = 0; [3885] = 0; [3886] = 0; [3887] = 0; [3888] = 0; [3889] = 0; [3890] = 0; [3891] = 0; [3892] = 0; [3893] = 0; [3894] = 0; [3895] = 0; [3896] = 0; [3897] = 0; [3898] = 0; [3899] = 0; [3900] = 0; [3901] = 0; [3902] = 0; [3903] = 0; [3904] = 0; [3905] = 0; [3906] = 0; [3907] = 0; [3908] = 0; [3909] = 0; [3910] = 0; [3911] = 0; [3912] = 0; [3913] = 0; [3914] = 0; [3915] = 0; [3916] = 0; [3917] = 0; [3918] = 0; [3919] = 0; [3920] = 0; [3921] = 0; [3922] = 0; [3923] = 0; [3924] = 0; [3925] = 0; [3926] = 0; [3927] = 0; [3928] = 0; [3929] = 0; [3930] = 0; [3931] = 0; [3932] = 0; [3933] = 0; [3934] = 0; [3935] = 0; [3936] = 0; [3937] = 0; [3938] = 0; [3939] = 0; [3940] = 0; [3941] = 0; [3942] = 0; [3943] = 0; [3944] = 0; [3945] = 0; [3946] = 0; [3947] = 0; [3948] = 0; [3949] = 0; [3950] = 0; [3951] = 0; [3952] = 0; [3953] = 0; [3954] = 0; [3955] = 0; [3956] = 0; [3957] = 0; [3958] = 0; [3959] = 0; [3960] = 0; [3961] = 0; [3962] = 0; [3963] = 0; [3964] = 0; [3965] = 0; [3966] = 0; [3967] = 0; [3968] = 0; [3969] = 0; [3970] = 0; [3971] = 0; [3972] = 0; [3973] = 0; [3974] = 0; [3975] = 0; [3976] = 0; [3977] = 0; [3978] = 0; [3979] = 0; [3980] = 0; [3981] = 0; [3982] = 0; [3983] = 0; [3984] = 0; [3985] = 0; [3986] = 0; [3987] = 0; [3988] = 0; [3989] = 0; [3990] = 0; [3991] = 0; [3992] = 0; [3993] = 0; [3994] = 0; [3995] = 0; [3996] = 0; [3997] = 0; [3998] = 0; [3999] = 0; [4000] = 0; [4001] = 0; [4002] = 0; [4003] = 0; [4004] = 0; [4005] = 0; [4006] = 0; [4007] = 0; [4008] = 0; [4009] = 0; [4010] = 0; [4011] = 0; [4012] = 0; [4013] = 0; [4014] = 0; [4015] = 0; [4016] = 0; [4017] = 0; [4018] = 0; [4019] = 0; [4020] = 0; [4021] = 0; [4022] = 0; [4023] = 0; [4024] = 0; [4025] = 0; [4026] = 0; [4027] = 0; [4028] = 0; [4029] = 0; [4030] = 0; [4031] = 0; [4032] = 0; [4033] = 0; [4034] = 0; [4035] = 0; [4036] = 0; [4037] = 0; [4038] = 0; [4039] = 0; [4040] = 0; [4041] = 0; [4042] = 0; [4043] = 0; [4044] = 0; [4045] = 0; [4046] = 0; [4047] = 0; [4048] = 0; [4049] = 0; [4050] = 0; [4051] = 0; [4052] = 0; [4053] = 0; [4054] = 0; [4055] = 0; [4056] = 0; [4057] = 0; [4058] = 0; [4059] = 0; [4060] = 0; [4061] = 0; [4062] = 0; [4063] = 0; [4064] = 0; [4065] = 0; [4066] = 0; [4067] = 0; [4068] = 0; [4069] = 0; [4070] = 0; [4071] = 0; [4072] = 0; [4073] = 0; [4074] = 0; [4075] = 0; [4076] = 0; [4077] = 0; [4078] = 0; [4079] = 0; [4080] = 0; [4081] = 0; [4082] = 0; [4083] = 0; [4084] = 0; [4085] = 0; [4086] = 0; [4087] = 0; [4088] = 0; [4089] = 0; [4090] = 0; [4091] = 0; [4092] = 0; [4093] = 0; [4094] = 0; [4095] = 0; [4096] = 0; }; ["offsetx"] = 0; ["type"] = "tilelayer"; ["width"] = 64; ["name"] = "bkg1"; ["opacity"] = 1; }; [8] = { ["x"] = 0; ["encoding"] = "lua"; ["visible"] = true; ["offsety"] = 0; ["properties"] = { ["depth"] = -4; }; ["y"] = 0; ["height"] = 64; ["data"] = { [1] = 0; [2] = 0; [3] = 0; [4] = 0; [5] = 0; [6] = 0; [7] = 0; [8] = 0; [9] = 0; [10] = 0; [11] = 0; [12] = 0; [13] = 0; [14] = 0; [15] = 0; [16] = 0; [17] = 0; [18] = 0; [19] = 0; [20] = 0; [21] = 0; [22] = 0; [23] = 0; [24] = 0; [25] = 0; [26] = 0; [27] = 0; [28] = 0; [29] = 0; [30] = 0; [31] = 0; [32] = 0; [33] = 0; [34] = 0; [35] = 0; [36] = 0; [37] = 0; [38] = 0; [39] = 0; [40] = 0; [41] = 0; [42] = 0; [43] = 0; [44] = 0; [45] = 0; [46] = 0; [47] = 0; [48] = 0; [49] = 0; [50] = 0; [51] = 0; [52] = 0; [53] = 0; [54] = 0; [55] = 0; [56] = 0; [57] = 0; [58] = 0; [59] = 0; [60] = 0; [61] = 0; [62] = 0; [63] = 0; [64] = 0; [65] = 0; [66] = 0; [67] = 0; [68] = 0; [69] = 0; [70] = 0; [71] = 0; [72] = 0; [73] = 0; [74] = 0; [75] = 0; [76] = 0; [77] = 0; [78] = 0; [79] = 0; [80] = 0; [81] = 0; [82] = 0; [83] = 0; [84] = 0; [85] = 0; [86] = 0; [87] = 0; [88] = 0; [89] = 0; [90] = 0; [91] = 0; [92] = 0; [93] = 0; [94] = 0; [95] = 0; [96] = 0; [97] = 0; [98] = 0; [99] = 0; [100] = 0; [101] = 0; [102] = 0; [103] = 0; [104] = 0; [105] = 0; [106] = 0; [107] = 0; [108] = 0; [109] = 0; [110] = 0; [111] = 0; [112] = 0; [113] = 0; [114] = 0; [115] = 0; [116] = 0; [117] = 0; [118] = 0; [119] = 0; [120] = 0; [121] = 0; [122] = 0; [123] = 0; [124] = 0; [125] = 0; [126] = 0; [127] = 0; [128] = 0; [129] = 0; [130] = 0; [131] = 0; [132] = 0; [133] = 0; [134] = 0; [135] = 0; [136] = 0; [137] = 0; [138] = 0; [139] = 0; [140] = 0; [141] = 0; [142] = 0; [143] = 0; [144] = 0; [145] = 0; [146] = 0; [147] = 0; [148] = 0; [149] = 0; [150] = 0; [151] = 0; [152] = 0; [153] = 0; [154] = 0; [155] = 0; [156] = 0; [157] = 0; [158] = 0; [159] = 0; [160] = 0; [161] = 0; [162] = 0; [163] = 0; [164] = 0; [165] = 0; [166] = 0; [167] = 0; [168] = 0; [169] = 0; [170] = 0; [171] = 0; [172] = 0; [173] = 0; [174] = 0; [175] = 0; [176] = 0; [177] = 0; [178] = 0; [179] = 0; [180] = 0; [181] = 0; [182] = 0; [183] = 0; [184] = 0; [185] = 0; [186] = 0; [187] = 0; [188] = 0; [189] = 0; [190] = 0; [191] = 0; [192] = 0; [193] = 0; [194] = 0; [195] = 0; [196] = 0; [197] = 0; [198] = 0; [199] = 0; [200] = 0; [201] = 0; [202] = 0; [203] = 0; [204] = 0; [205] = 0; [206] = 0; [207] = 0; [208] = 0; [209] = 0; [210] = 0; [211] = 0; [212] = 0; [213] = 0; [214] = 0; [215] = 0; [216] = 0; [217] = 0; [218] = 0; [219] = 0; [220] = 0; [221] = 0; [222] = 0; [223] = 0; [224] = 0; [225] = 0; [226] = 0; [227] = 0; [228] = 0; [229] = 0; [230] = 0; [231] = 0; [232] = 0; [233] = 0; [234] = 0; [235] = 0; [236] = 0; [237] = 0; [238] = 0; [239] = 0; [240] = 0; [241] = 0; [242] = 0; [243] = 0; [244] = 0; [245] = 0; [246] = 0; [247] = 0; [248] = 0; [249] = 0; [250] = 0; [251] = 0; [252] = 0; [253] = 0; [254] = 0; [255] = 0; [256] = 0; [257] = 0; [258] = 0; [259] = 0; [260] = 0; [261] = 0; [262] = 0; [263] = 0; [264] = 0; [265] = 0; [266] = 0; [267] = 0; [268] = 0; [269] = 0; [270] = 0; [271] = 0; [272] = 0; [273] = 0; [274] = 0; [275] = 0; [276] = 0; [277] = 0; [278] = 0; [279] = 0; [280] = 0; [281] = 0; [282] = 0; [283] = 0; [284] = 0; [285] = 0; [286] = 0; [287] = 0; [288] = 0; [289] = 0; [290] = 0; [291] = 0; [292] = 0; [293] = 0; [294] = 0; [295] = 0; [296] = 0; [297] = 0; [298] = 0; [299] = 0; [300] = 0; [301] = 0; [302] = 0; [303] = 0; [304] = 0; [305] = 0; [306] = 0; [307] = 0; [308] = 0; [309] = 0; [310] = 0; [311] = 0; [312] = 0; [313] = 0; [314] = 0; [315] = 0; [316] = 0; [317] = 0; [318] = 0; [319] = 0; [320] = 0; [321] = 0; [322] = 0; [323] = 0; [324] = 0; [325] = 0; [326] = 0; [327] = 0; [328] = 0; [329] = 0; [330] = 0; [331] = 0; [332] = 0; [333] = 0; [334] = 0; [335] = 0; [336] = 0; [337] = 0; [338] = 0; [339] = 0; [340] = 0; [341] = 0; [342] = 0; [343] = 0; [344] = 0; [345] = 0; [346] = 0; [347] = 0; [348] = 0; [349] = 0; [350] = 0; [351] = 0; [352] = 0; [353] = 0; [354] = 0; [355] = 0; [356] = 0; [357] = 0; [358] = 0; [359] = 0; [360] = 0; [361] = 0; [362] = 0; [363] = 0; [364] = 0; [365] = 0; [366] = 0; [367] = 0; [368] = 0; [369] = 0; [370] = 0; [371] = 0; [372] = 0; [373] = 0; [374] = 0; [375] = 0; [376] = 0; [377] = 0; [378] = 0; [379] = 0; [380] = 0; [381] = 0; [382] = 0; [383] = 0; [384] = 0; [385] = 0; [386] = 0; [387] = 0; [388] = 0; [389] = 0; [390] = 0; [391] = 0; [392] = 0; [393] = 0; [394] = 0; [395] = 0; [396] = 0; [397] = 0; [398] = 0; [399] = 0; [400] = 0; [401] = 0; [402] = 0; [403] = 0; [404] = 0; [405] = 0; [406] = 0; [407] = 0; [408] = 0; [409] = 0; [410] = 0; [411] = 0; [412] = 0; [413] = 0; [414] = 0; [415] = 0; [416] = 0; [417] = 0; [418] = 0; [419] = 0; [420] = 0; [421] = 0; [422] = 0; [423] = 0; [424] = 0; [425] = 0; [426] = 0; [427] = 0; [428] = 0; [429] = 0; [430] = 0; [431] = 0; [432] = 0; [433] = 0; [434] = 0; [435] = 0; [436] = 0; [437] = 0; [438] = 0; [439] = 0; [440] = 0; [441] = 0; [442] = 0; [443] = 0; [444] = 0; [445] = 0; [446] = 0; [447] = 0; [448] = 0; [449] = 0; [450] = 0; [451] = 0; [452] = 0; [453] = 0; [454] = 0; [455] = 0; [456] = 0; [457] = 0; [458] = 0; [459] = 0; [460] = 0; [461] = 0; [462] = 0; [463] = 0; [464] = 0; [465] = 0; [466] = 0; [467] = 0; [468] = 0; [469] = 0; [470] = 0; [471] = 0; [472] = 0; [473] = 0; [474] = 0; [475] = 0; [476] = 0; [477] = 0; [478] = 0; [479] = 0; [480] = 0; [481] = 0; [482] = 0; [483] = 0; [484] = 0; [485] = 0; [486] = 0; [487] = 0; [488] = 0; [489] = 0; [490] = 0; [491] = 0; [492] = 0; [493] = 0; [494] = 0; [495] = 0; [496] = 0; [497] = 0; [498] = 0; [499] = 0; [500] = 0; [501] = 0; [502] = 0; [503] = 0; [504] = 0; [505] = 0; [506] = 0; [507] = 0; [508] = 0; [509] = 0; [510] = 0; [511] = 0; [512] = 0; [513] = 0; [514] = 0; [515] = 0; [516] = 0; [517] = 0; [518] = 0; [519] = 0; [520] = 0; [521] = 0; [522] = 0; [523] = 0; [524] = 0; [525] = 0; [526] = 0; [527] = 0; [528] = 0; [529] = 0; [530] = 0; [531] = 0; [532] = 0; [533] = 0; [534] = 0; [535] = 0; [536] = 0; [537] = 0; [538] = 0; [539] = 0; [540] = 0; [541] = 0; [542] = 0; [543] = 0; [544] = 0; [545] = 0; [546] = 0; [547] = 0; [548] = 0; [549] = 0; [550] = 0; [551] = 0; [552] = 0; [553] = 0; [554] = 0; [555] = 0; [556] = 0; [557] = 0; [558] = 0; [559] = 0; [560] = 0; [561] = 0; [562] = 0; [563] = 0; [564] = 0; [565] = 0; [566] = 0; [567] = 0; [568] = 0; [569] = 0; [570] = 0; [571] = 0; [572] = 0; [573] = 0; [574] = 0; [575] = 0; [576] = 0; [577] = 0; [578] = 0; [579] = 0; [580] = 0; [581] = 0; [582] = 0; [583] = 0; [584] = 0; [585] = 0; [586] = 0; [587] = 0; [588] = 0; [589] = 0; [590] = 0; [591] = 0; [592] = 0; [593] = 0; [594] = 0; [595] = 0; [596] = 0; [597] = 0; [598] = 0; [599] = 0; [600] = 0; [601] = 0; [602] = 0; [603] = 0; [604] = 0; [605] = 0; [606] = 0; [607] = 0; [608] = 0; [609] = 0; [610] = 0; [611] = 0; [612] = 0; [613] = 0; [614] = 0; [615] = 0; [616] = 0; [617] = 0; [618] = 0; [619] = 0; [620] = 0; [621] = 0; [622] = 0; [623] = 0; [624] = 0; [625] = 0; [626] = 0; [627] = 0; [628] = 0; [629] = 0; [630] = 0; [631] = 0; [632] = 0; [633] = 0; [634] = 0; [635] = 0; [636] = 0; [637] = 0; [638] = 0; [639] = 0; [640] = 0; [641] = 0; [642] = 0; [643] = 0; [644] = 0; [645] = 0; [646] = 0; [647] = 0; [648] = 0; [649] = 0; [650] = 0; [651] = 0; [652] = 0; [653] = 0; [654] = 0; [655] = 0; [656] = 0; [657] = 0; [658] = 0; [659] = 0; [660] = 0; [661] = 0; [662] = 0; [663] = 0; [664] = 0; [665] = 0; [666] = 0; [667] = 0; [668] = 0; [669] = 0; [670] = 0; [671] = 0; [672] = 0; [673] = 0; [674] = 0; [675] = 0; [676] = 0; [677] = 0; [678] = 0; [679] = 0; [680] = 0; [681] = 0; [682] = 0; [683] = 0; [684] = 0; [685] = 0; [686] = 0; [687] = 0; [688] = 0; [689] = 0; [690] = 0; [691] = 0; [692] = 0; [693] = 0; [694] = 0; [695] = 0; [696] = 0; [697] = 0; [698] = 0; [699] = 0; [700] = 0; [701] = 0; [702] = 0; [703] = 0; [704] = 0; [705] = 0; [706] = 0; [707] = 0; [708] = 0; [709] = 0; [710] = 0; [711] = 0; [712] = 0; [713] = 0; [714] = 0; [715] = 0; [716] = 0; [717] = 0; [718] = 0; [719] = 0; [720] = 0; [721] = 0; [722] = 0; [723] = 0; [724] = 0; [725] = 0; [726] = 0; [727] = 0; [728] = 0; [729] = 0; [730] = 0; [731] = 0; [732] = 0; [733] = 0; [734] = 0; [735] = 0; [736] = 0; [737] = 0; [738] = 0; [739] = 0; [740] = 0; [741] = 0; [742] = 0; [743] = 0; [744] = 0; [745] = 0; [746] = 0; [747] = 0; [748] = 0; [749] = 0; [750] = 0; [751] = 0; [752] = 0; [753] = 0; [754] = 0; [755] = 0; [756] = 0; [757] = 0; [758] = 0; [759] = 0; [760] = 0; [761] = 0; [762] = 0; [763] = 0; [764] = 0; [765] = 0; [766] = 0; [767] = 0; [768] = 0; [769] = 0; [770] = 0; [771] = 0; [772] = 0; [773] = 0; [774] = 0; [775] = 0; [776] = 0; [777] = 0; [778] = 0; [779] = 0; [780] = 0; [781] = 0; [782] = 0; [783] = 0; [784] = 0; [785] = 0; [786] = 0; [787] = 0; [788] = 0; [789] = 0; [790] = 0; [791] = 0; [792] = 0; [793] = 0; [794] = 0; [795] = 0; [796] = 0; [797] = 0; [798] = 0; [799] = 0; [800] = 0; [801] = 0; [802] = 0; [803] = 0; [804] = 0; [805] = 0; [806] = 0; [807] = 0; [808] = 0; [809] = 0; [810] = 0; [811] = 0; [812] = 0; [813] = 0; [814] = 0; [815] = 0; [816] = 0; [817] = 0; [818] = 0; [819] = 0; [820] = 0; [821] = 0; [822] = 0; [823] = 0; [824] = 0; [825] = 0; [826] = 0; [827] = 0; [828] = 0; [829] = 0; [830] = 0; [831] = 0; [832] = 0; [833] = 0; [834] = 0; [835] = 0; [836] = 0; [837] = 0; [838] = 0; [839] = 0; [840] = 0; [841] = 0; [842] = 0; [843] = 0; [844] = 0; [845] = 0; [846] = 0; [847] = 0; [848] = 0; [849] = 0; [850] = 0; [851] = 0; [852] = 0; [853] = 0; [854] = 0; [855] = 0; [856] = 0; [857] = 0; [858] = 0; [859] = 0; [860] = 0; [861] = 0; [862] = 0; [863] = 0; [864] = 0; [865] = 0; [866] = 0; [867] = 0; [868] = 0; [869] = 0; [870] = 0; [871] = 0; [872] = 0; [873] = 0; [874] = 0; [875] = 0; [876] = 0; [877] = 0; [878] = 0; [879] = 0; [880] = 0; [881] = 0; [882] = 0; [883] = 0; [884] = 0; [885] = 0; [886] = 0; [887] = 0; [888] = 0; [889] = 0; [890] = 0; [891] = 0; [892] = 0; [893] = 0; [894] = 0; [895] = 0; [896] = 0; [897] = 0; [898] = 0; [899] = 0; [900] = 0; [901] = 0; [902] = 0; [903] = 0; [904] = 0; [905] = 0; [906] = 0; [907] = 0; [908] = 0; [909] = 0; [910] = 0; [911] = 0; [912] = 0; [913] = 0; [914] = 0; [915] = 0; [916] = 0; [917] = 0; [918] = 0; [919] = 0; [920] = 0; [921] = 0; [922] = 0; [923] = 0; [924] = 0; [925] = 0; [926] = 0; [927] = 0; [928] = 0; [929] = 0; [930] = 0; [931] = 0; [932] = 0; [933] = 0; [934] = 0; [935] = 0; [936] = 0; [937] = 0; [938] = 0; [939] = 0; [940] = 0; [941] = 0; [942] = 0; [943] = 0; [944] = 0; [945] = 0; [946] = 0; [947] = 0; [948] = 0; [949] = 0; [950] = 0; [951] = 0; [952] = 0; [953] = 0; [954] = 0; [955] = 0; [956] = 0; [957] = 0; [958] = 0; [959] = 0; [960] = 0; [961] = 0; [962] = 0; [963] = 0; [964] = 0; [965] = 0; [966] = 0; [967] = 0; [968] = 0; [969] = 0; [970] = 0; [971] = 0; [972] = 0; [973] = 0; [974] = 0; [975] = 0; [976] = 0; [977] = 0; [978] = 0; [979] = 0; [980] = 0; [981] = 0; [982] = 0; [983] = 0; [984] = 0; [985] = 0; [986] = 0; [987] = 0; [988] = 0; [989] = 0; [990] = 0; [991] = 0; [992] = 0; [993] = 0; [994] = 0; [995] = 0; [996] = 0; [997] = 0; [998] = 0; [999] = 0; [1000] = 0; [1001] = 0; [1002] = 0; [1003] = 0; [1004] = 0; [1005] = 0; [1006] = 0; [1007] = 0; [1008] = 0; [1009] = 0; [1010] = 0; [1011] = 0; [1012] = 0; [1013] = 0; [1014] = 0; [1015] = 0; [1016] = 0; [1017] = 0; [1018] = 0; [1019] = 0; [1020] = 0; [1021] = 0; [1022] = 0; [1023] = 0; [1024] = 0; [1025] = 0; [1026] = 0; [1027] = 0; [1028] = 0; [1029] = 0; [1030] = 0; [1031] = 0; [1032] = 0; [1033] = 0; [1034] = 0; [1035] = 0; [1036] = 0; [1037] = 0; [1038] = 0; [1039] = 0; [1040] = 0; [1041] = 0; [1042] = 0; [1043] = 0; [1044] = 0; [1045] = 0; [1046] = 0; [1047] = 0; [1048] = 0; [1049] = 0; [1050] = 0; [1051] = 0; [1052] = 0; [1053] = 0; [1054] = 0; [1055] = 0; [1056] = 0; [1057] = 0; [1058] = 0; [1059] = 0; [1060] = 0; [1061] = 0; [1062] = 0; [1063] = 0; [1064] = 0; [1065] = 0; [1066] = 0; [1067] = 0; [1068] = 0; [1069] = 0; [1070] = 0; [1071] = 0; [1072] = 0; [1073] = 0; [1074] = 0; [1075] = 0; [1076] = 0; [1077] = 0; [1078] = 0; [1079] = 0; [1080] = 0; [1081] = 0; [1082] = 0; [1083] = 0; [1084] = 0; [1085] = 0; [1086] = 0; [1087] = 0; [1088] = 0; [1089] = 0; [1090] = 0; [1091] = 0; [1092] = 0; [1093] = 0; [1094] = 0; [1095] = 0; [1096] = 0; [1097] = 0; [1098] = 0; [1099] = 0; [1100] = 0; [1101] = 0; [1102] = 0; [1103] = 0; [1104] = 0; [1105] = 0; [1106] = 0; [1107] = 0; [1108] = 0; [1109] = 0; [1110] = 0; [1111] = 0; [1112] = 0; [1113] = 0; [1114] = 0; [1115] = 0; [1116] = 0; [1117] = 0; [1118] = 0; [1119] = 0; [1120] = 0; [1121] = 0; [1122] = 0; [1123] = 0; [1124] = 0; [1125] = 0; [1126] = 0; [1127] = 0; [1128] = 0; [1129] = 0; [1130] = 0; [1131] = 0; [1132] = 0; [1133] = 0; [1134] = 0; [1135] = 0; [1136] = 0; [1137] = 0; [1138] = 0; [1139] = 0; [1140] = 0; [1141] = 0; [1142] = 0; [1143] = 0; [1144] = 0; [1145] = 0; [1146] = 0; [1147] = 0; [1148] = 0; [1149] = 0; [1150] = 0; [1151] = 0; [1152] = 0; [1153] = 0; [1154] = 0; [1155] = 0; [1156] = 0; [1157] = 0; [1158] = 0; [1159] = 0; [1160] = 0; [1161] = 0; [1162] = 0; [1163] = 0; [1164] = 0; [1165] = 0; [1166] = 0; [1167] = 0; [1168] = 0; [1169] = 0; [1170] = 0; [1171] = 0; [1172] = 0; [1173] = 0; [1174] = 0; [1175] = 0; [1176] = 0; [1177] = 0; [1178] = 0; [1179] = 0; [1180] = 0; [1181] = 0; [1182] = 0; [1183] = 0; [1184] = 0; [1185] = 0; [1186] = 0; [1187] = 0; [1188] = 0; [1189] = 0; [1190] = 0; [1191] = 0; [1192] = 0; [1193] = 0; [1194] = 0; [1195] = 0; [1196] = 0; [1197] = 0; [1198] = 0; [1199] = 0; [1200] = 0; [1201] = 0; [1202] = 0; [1203] = 0; [1204] = 0; [1205] = 0; [1206] = 0; [1207] = 0; [1208] = 0; [1209] = 0; [1210] = 0; [1211] = 0; [1212] = 0; [1213] = 0; [1214] = 0; [1215] = 0; [1216] = 0; [1217] = 0; [1218] = 0; [1219] = 0; [1220] = 0; [1221] = 0; [1222] = 0; [1223] = 0; [1224] = 0; [1225] = 0; [1226] = 0; [1227] = 0; [1228] = 0; [1229] = 0; [1230] = 0; [1231] = 0; [1232] = 0; [1233] = 0; [1234] = 0; [1235] = 0; [1236] = 0; [1237] = 0; [1238] = 0; [1239] = 0; [1240] = 0; [1241] = 0; [1242] = 0; [1243] = 0; [1244] = 0; [1245] = 0; [1246] = 0; [1247] = 0; [1248] = 0; [1249] = 0; [1250] = 0; [1251] = 0; [1252] = 0; [1253] = 0; [1254] = 0; [1255] = 0; [1256] = 0; [1257] = 0; [1258] = 0; [1259] = 0; [1260] = 0; [1261] = 0; [1262] = 0; [1263] = 0; [1264] = 0; [1265] = 0; [1266] = 0; [1267] = 0; [1268] = 0; [1269] = 0; [1270] = 0; [1271] = 0; [1272] = 0; [1273] = 0; [1274] = 0; [1275] = 0; [1276] = 0; [1277] = 0; [1278] = 0; [1279] = 0; [1280] = 0; [1281] = 0; [1282] = 0; [1283] = 0; [1284] = 0; [1285] = 0; [1286] = 0; [1287] = 0; [1288] = 0; [1289] = 0; [1290] = 0; [1291] = 0; [1292] = 0; [1293] = 0; [1294] = 0; [1295] = 0; [1296] = 0; [1297] = 0; [1298] = 0; [1299] = 0; [1300] = 0; [1301] = 0; [1302] = 0; [1303] = 0; [1304] = 0; [1305] = 0; [1306] = 0; [1307] = 0; [1308] = 0; [1309] = 0; [1310] = 0; [1311] = 0; [1312] = 0; [1313] = 0; [1314] = 0; [1315] = 0; [1316] = 0; [1317] = 0; [1318] = 0; [1319] = 0; [1320] = 0; [1321] = 0; [1322] = 0; [1323] = 0; [1324] = 0; [1325] = 0; [1326] = 0; [1327] = 0; [1328] = 0; [1329] = 0; [1330] = 0; [1331] = 0; [1332] = 0; [1333] = 0; [1334] = 0; [1335] = 0; [1336] = 0; [1337] = 0; [1338] = 0; [1339] = 0; [1340] = 0; [1341] = 0; [1342] = 0; [1343] = 0; [1344] = 0; [1345] = 0; [1346] = 0; [1347] = 0; [1348] = 0; [1349] = 0; [1350] = 0; [1351] = 0; [1352] = 0; [1353] = 0; [1354] = 0; [1355] = 0; [1356] = 0; [1357] = 0; [1358] = 0; [1359] = 0; [1360] = 0; [1361] = 0; [1362] = 0; [1363] = 0; [1364] = 0; [1365] = 0; [1366] = 0; [1367] = 0; [1368] = 0; [1369] = 0; [1370] = 0; [1371] = 0; [1372] = 0; [1373] = 0; [1374] = 0; [1375] = 0; [1376] = 0; [1377] = 0; [1378] = 0; [1379] = 0; [1380] = 0; [1381] = 0; [1382] = 0; [1383] = 0; [1384] = 0; [1385] = 0; [1386] = 0; [1387] = 0; [1388] = 0; [1389] = 0; [1390] = 0; [1391] = 0; [1392] = 0; [1393] = 0; [1394] = 0; [1395] = 0; [1396] = 0; [1397] = 0; [1398] = 0; [1399] = 0; [1400] = 0; [1401] = 0; [1402] = 0; [1403] = 0; [1404] = 0; [1405] = 0; [1406] = 0; [1407] = 0; [1408] = 0; [1409] = 0; [1410] = 0; [1411] = 0; [1412] = 0; [1413] = 0; [1414] = 0; [1415] = 0; [1416] = 0; [1417] = 0; [1418] = 0; [1419] = 0; [1420] = 0; [1421] = 0; [1422] = 0; [1423] = 0; [1424] = 0; [1425] = 0; [1426] = 0; [1427] = 0; [1428] = 0; [1429] = 0; [1430] = 0; [1431] = 0; [1432] = 0; [1433] = 0; [1434] = 0; [1435] = 0; [1436] = 0; [1437] = 0; [1438] = 0; [1439] = 0; [1440] = 0; [1441] = 0; [1442] = 0; [1443] = 0; [1444] = 0; [1445] = 0; [1446] = 0; [1447] = 0; [1448] = 0; [1449] = 0; [1450] = 0; [1451] = 0; [1452] = 0; [1453] = 0; [1454] = 0; [1455] = 0; [1456] = 0; [1457] = 0; [1458] = 0; [1459] = 0; [1460] = 0; [1461] = 0; [1462] = 0; [1463] = 0; [1464] = 0; [1465] = 0; [1466] = 0; [1467] = 0; [1468] = 0; [1469] = 0; [1470] = 0; [1471] = 0; [1472] = 0; [1473] = 0; [1474] = 0; [1475] = 0; [1476] = 0; [1477] = 0; [1478] = 0; [1479] = 0; [1480] = 0; [1481] = 0; [1482] = 0; [1483] = 0; [1484] = 0; [1485] = 0; [1486] = 0; [1487] = 0; [1488] = 0; [1489] = 0; [1490] = 0; [1491] = 0; [1492] = 0; [1493] = 0; [1494] = 0; [1495] = 0; [1496] = 0; [1497] = 0; [1498] = 0; [1499] = 0; [1500] = 0; [1501] = 0; [1502] = 0; [1503] = 0; [1504] = 0; [1505] = 0; [1506] = 0; [1507] = 0; [1508] = 0; [1509] = 0; [1510] = 0; [1511] = 0; [1512] = 0; [1513] = 0; [1514] = 0; [1515] = 0; [1516] = 0; [1517] = 0; [1518] = 0; [1519] = 0; [1520] = 0; [1521] = 0; [1522] = 0; [1523] = 0; [1524] = 0; [1525] = 0; [1526] = 0; [1527] = 0; [1528] = 0; [1529] = 0; [1530] = 0; [1531] = 0; [1532] = 0; [1533] = 0; [1534] = 0; [1535] = 0; [1536] = 0; [1537] = 0; [1538] = 0; [1539] = 0; [1540] = 0; [1541] = 0; [1542] = 0; [1543] = 0; [1544] = 0; [1545] = 0; [1546] = 0; [1547] = 0; [1548] = 0; [1549] = 0; [1550] = 0; [1551] = 0; [1552] = 0; [1553] = 0; [1554] = 0; [1555] = 0; [1556] = 0; [1557] = 0; [1558] = 0; [1559] = 0; [1560] = 0; [1561] = 0; [1562] = 0; [1563] = 0; [1564] = 0; [1565] = 0; [1566] = 0; [1567] = 0; [1568] = 0; [1569] = 0; [1570] = 0; [1571] = 0; [1572] = 0; [1573] = 0; [1574] = 0; [1575] = 0; [1576] = 0; [1577] = 0; [1578] = 0; [1579] = 0; [1580] = 0; [1581] = 0; [1582] = 0; [1583] = 0; [1584] = 0; [1585] = 0; [1586] = 0; [1587] = 0; [1588] = 0; [1589] = 0; [1590] = 0; [1591] = 0; [1592] = 0; [1593] = 0; [1594] = 0; [1595] = 0; [1596] = 0; [1597] = 0; [1598] = 0; [1599] = 0; [1600] = 0; [1601] = 0; [1602] = 0; [1603] = 0; [1604] = 0; [1605] = 0; [1606] = 0; [1607] = 0; [1608] = 0; [1609] = 0; [1610] = 0; [1611] = 0; [1612] = 0; [1613] = 0; [1614] = 0; [1615] = 0; [1616] = 0; [1617] = 0; [1618] = 0; [1619] = 0; [1620] = 0; [1621] = 0; [1622] = 0; [1623] = 0; [1624] = 0; [1625] = 0; [1626] = 0; [1627] = 0; [1628] = 0; [1629] = 0; [1630] = 0; [1631] = 0; [1632] = 0; [1633] = 0; [1634] = 0; [1635] = 0; [1636] = 0; [1637] = 0; [1638] = 0; [1639] = 0; [1640] = 0; [1641] = 0; [1642] = 0; [1643] = 0; [1644] = 0; [1645] = 0; [1646] = 0; [1647] = 0; [1648] = 0; [1649] = 0; [1650] = 0; [1651] = 0; [1652] = 0; [1653] = 0; [1654] = 0; [1655] = 0; [1656] = 0; [1657] = 0; [1658] = 0; [1659] = 0; [1660] = 0; [1661] = 0; [1662] = 0; [1663] = 0; [1664] = 0; [1665] = 0; [1666] = 0; [1667] = 0; [1668] = 0; [1669] = 0; [1670] = 0; [1671] = 0; [1672] = 0; [1673] = 0; [1674] = 0; [1675] = 0; [1676] = 0; [1677] = 0; [1678] = 0; [1679] = 0; [1680] = 0; [1681] = 0; [1682] = 0; [1683] = 0; [1684] = 0; [1685] = 0; [1686] = 0; [1687] = 0; [1688] = 0; [1689] = 0; [1690] = 0; [1691] = 0; [1692] = 0; [1693] = 0; [1694] = 0; [1695] = 0; [1696] = 0; [1697] = 0; [1698] = 0; [1699] = 0; [1700] = 0; [1701] = 0; [1702] = 0; [1703] = 0; [1704] = 0; [1705] = 0; [1706] = 0; [1707] = 0; [1708] = 0; [1709] = 0; [1710] = 0; [1711] = 0; [1712] = 0; [1713] = 0; [1714] = 0; [1715] = 0; [1716] = 0; [1717] = 0; [1718] = 0; [1719] = 0; [1720] = 0; [1721] = 0; [1722] = 0; [1723] = 0; [1724] = 0; [1725] = 0; [1726] = 0; [1727] = 0; [1728] = 0; [1729] = 0; [1730] = 0; [1731] = 0; [1732] = 0; [1733] = 0; [1734] = 0; [1735] = 0; [1736] = 0; [1737] = 0; [1738] = 0; [1739] = 0; [1740] = 0; [1741] = 0; [1742] = 0; [1743] = 0; [1744] = 0; [1745] = 0; [1746] = 0; [1747] = 0; [1748] = 0; [1749] = 0; [1750] = 0; [1751] = 0; [1752] = 0; [1753] = 0; [1754] = 0; [1755] = 0; [1756] = 0; [1757] = 0; [1758] = 0; [1759] = 0; [1760] = 0; [1761] = 0; [1762] = 0; [1763] = 0; [1764] = 0; [1765] = 0; [1766] = 0; [1767] = 0; [1768] = 0; [1769] = 0; [1770] = 0; [1771] = 0; [1772] = 0; [1773] = 0; [1774] = 0; [1775] = 0; [1776] = 0; [1777] = 0; [1778] = 0; [1779] = 0; [1780] = 0; [1781] = 0; [1782] = 0; [1783] = 0; [1784] = 0; [1785] = 0; [1786] = 0; [1787] = 0; [1788] = 0; [1789] = 0; [1790] = 0; [1791] = 0; [1792] = 0; [1793] = 0; [1794] = 0; [1795] = 0; [1796] = 0; [1797] = 0; [1798] = 0; [1799] = 0; [1800] = 0; [1801] = 0; [1802] = 0; [1803] = 0; [1804] = 0; [1805] = 0; [1806] = 0; [1807] = 0; [1808] = 0; [1809] = 0; [1810] = 0; [1811] = 0; [1812] = 0; [1813] = 0; [1814] = 0; [1815] = 0; [1816] = 0; [1817] = 0; [1818] = 0; [1819] = 0; [1820] = 0; [1821] = 0; [1822] = 0; [1823] = 0; [1824] = 0; [1825] = 0; [1826] = 0; [1827] = 0; [1828] = 0; [1829] = 0; [1830] = 0; [1831] = 0; [1832] = 0; [1833] = 0; [1834] = 0; [1835] = 0; [1836] = 0; [1837] = 0; [1838] = 0; [1839] = 0; [1840] = 0; [1841] = 0; [1842] = 0; [1843] = 0; [1844] = 0; [1845] = 0; [1846] = 0; [1847] = 0; [1848] = 0; [1849] = 0; [1850] = 0; [1851] = 0; [1852] = 0; [1853] = 0; [1854] = 0; [1855] = 0; [1856] = 0; [1857] = 0; [1858] = 0; [1859] = 0; [1860] = 0; [1861] = 0; [1862] = 0; [1863] = 0; [1864] = 0; [1865] = 0; [1866] = 0; [1867] = 0; [1868] = 0; [1869] = 0; [1870] = 0; [1871] = 0; [1872] = 0; [1873] = 0; [1874] = 0; [1875] = 0; [1876] = 0; [1877] = 0; [1878] = 0; [1879] = 0; [1880] = 0; [1881] = 0; [1882] = 0; [1883] = 0; [1884] = 0; [1885] = 0; [1886] = 0; [1887] = 0; [1888] = 0; [1889] = 0; [1890] = 0; [1891] = 0; [1892] = 0; [1893] = 0; [1894] = 0; [1895] = 0; [1896] = 0; [1897] = 0; [1898] = 0; [1899] = 0; [1900] = 0; [1901] = 0; [1902] = 0; [1903] = 0; [1904] = 0; [1905] = 0; [1906] = 0; [1907] = 0; [1908] = 0; [1909] = 0; [1910] = 0; [1911] = 0; [1912] = 0; [1913] = 0; [1914] = 0; [1915] = 0; [1916] = 0; [1917] = 0; [1918] = 0; [1919] = 0; [1920] = 0; [1921] = 0; [1922] = 0; [1923] = 0; [1924] = 0; [1925] = 0; [1926] = 0; [1927] = 0; [1928] = 0; [1929] = 0; [1930] = 0; [1931] = 0; [1932] = 0; [1933] = 0; [1934] = 0; [1935] = 0; [1936] = 0; [1937] = 0; [1938] = 0; [1939] = 0; [1940] = 0; [1941] = 0; [1942] = 0; [1943] = 0; [1944] = 0; [1945] = 0; [1946] = 0; [1947] = 0; [1948] = 0; [1949] = 0; [1950] = 0; [1951] = 0; [1952] = 0; [1953] = 0; [1954] = 0; [1955] = 0; [1956] = 0; [1957] = 0; [1958] = 0; [1959] = 0; [1960] = 0; [1961] = 0; [1962] = 0; [1963] = 0; [1964] = 0; [1965] = 0; [1966] = 0; [1967] = 0; [1968] = 0; [1969] = 0; [1970] = 0; [1971] = 0; [1972] = 0; [1973] = 0; [1974] = 0; [1975] = 0; [1976] = 0; [1977] = 0; [1978] = 0; [1979] = 0; [1980] = 0; [1981] = 0; [1982] = 0; [1983] = 0; [1984] = 0; [1985] = 0; [1986] = 0; [1987] = 0; [1988] = 0; [1989] = 0; [1990] = 0; [1991] = 0; [1992] = 0; [1993] = 0; [1994] = 0; [1995] = 0; [1996] = 0; [1997] = 0; [1998] = 0; [1999] = 0; [2000] = 0; [2001] = 0; [2002] = 0; [2003] = 0; [2004] = 0; [2005] = 0; [2006] = 0; [2007] = 0; [2008] = 0; [2009] = 0; [2010] = 0; [2011] = 0; [2012] = 0; [2013] = 0; [2014] = 0; [2015] = 0; [2016] = 0; [2017] = 0; [2018] = 0; [2019] = 0; [2020] = 0; [2021] = 0; [2022] = 0; [2023] = 0; [2024] = 0; [2025] = 0; [2026] = 0; [2027] = 0; [2028] = 0; [2029] = 0; [2030] = 0; [2031] = 0; [2032] = 0; [2033] = 0; [2034] = 0; [2035] = 0; [2036] = 0; [2037] = 0; [2038] = 0; [2039] = 0; [2040] = 0; [2041] = 0; [2042] = 0; [2043] = 0; [2044] = 0; [2045] = 0; [2046] = 0; [2047] = 0; [2048] = 0; [2049] = 0; [2050] = 0; [2051] = 0; [2052] = 0; [2053] = 0; [2054] = 0; [2055] = 0; [2056] = 0; [2057] = 0; [2058] = 0; [2059] = 0; [2060] = 0; [2061] = 0; [2062] = 0; [2063] = 0; [2064] = 0; [2065] = 0; [2066] = 0; [2067] = 0; [2068] = 0; [2069] = 0; [2070] = 0; [2071] = 0; [2072] = 0; [2073] = 0; [2074] = 0; [2075] = 0; [2076] = 0; [2077] = 0; [2078] = 0; [2079] = 0; [2080] = 0; [2081] = 0; [2082] = 0; [2083] = 0; [2084] = 0; [2085] = 0; [2086] = 0; [2087] = 0; [2088] = 0; [2089] = 0; [2090] = 0; [2091] = 0; [2092] = 0; [2093] = 0; [2094] = 0; [2095] = 0; [2096] = 0; [2097] = 0; [2098] = 0; [2099] = 0; [2100] = 0; [2101] = 0; [2102] = 0; [2103] = 0; [2104] = 0; [2105] = 0; [2106] = 0; [2107] = 0; [2108] = 0; [2109] = 0; [2110] = 0; [2111] = 0; [2112] = 0; [2113] = 0; [2114] = 0; [2115] = 0; [2116] = 0; [2117] = 0; [2118] = 0; [2119] = 0; [2120] = 0; [2121] = 0; [2122] = 0; [2123] = 0; [2124] = 0; [2125] = 0; [2126] = 0; [2127] = 0; [2128] = 0; [2129] = 0; [2130] = 0; [2131] = 0; [2132] = 0; [2133] = 0; [2134] = 0; [2135] = 0; [2136] = 0; [2137] = 0; [2138] = 0; [2139] = 0; [2140] = 0; [2141] = 0; [2142] = 0; [2143] = 0; [2144] = 0; [2145] = 0; [2146] = 0; [2147] = 0; [2148] = 0; [2149] = 0; [2150] = 0; [2151] = 0; [2152] = 0; [2153] = 0; [2154] = 0; [2155] = 0; [2156] = 0; [2157] = 0; [2158] = 0; [2159] = 0; [2160] = 0; [2161] = 0; [2162] = 0; [2163] = 0; [2164] = 0; [2165] = 0; [2166] = 0; [2167] = 0; [2168] = 0; [2169] = 0; [2170] = 0; [2171] = 0; [2172] = 0; [2173] = 0; [2174] = 0; [2175] = 0; [2176] = 0; [2177] = 0; [2178] = 0; [2179] = 0; [2180] = 0; [2181] = 0; [2182] = 0; [2183] = 0; [2184] = 0; [2185] = 0; [2186] = 0; [2187] = 0; [2188] = 0; [2189] = 0; [2190] = 0; [2191] = 0; [2192] = 0; [2193] = 0; [2194] = 0; [2195] = 0; [2196] = 0; [2197] = 0; [2198] = 0; [2199] = 0; [2200] = 0; [2201] = 0; [2202] = 0; [2203] = 0; [2204] = 0; [2205] = 0; [2206] = 0; [2207] = 0; [2208] = 0; [2209] = 0; [2210] = 0; [2211] = 0; [2212] = 0; [2213] = 0; [2214] = 0; [2215] = 0; [2216] = 0; [2217] = 0; [2218] = 0; [2219] = 0; [2220] = 0; [2221] = 0; [2222] = 0; [2223] = 0; [2224] = 0; [2225] = 0; [2226] = 0; [2227] = 0; [2228] = 0; [2229] = 0; [2230] = 0; [2231] = 0; [2232] = 0; [2233] = 0; [2234] = 0; [2235] = 0; [2236] = 0; [2237] = 0; [2238] = 0; [2239] = 0; [2240] = 0; [2241] = 0; [2242] = 0; [2243] = 0; [2244] = 0; [2245] = 0; [2246] = 0; [2247] = 0; [2248] = 0; [2249] = 0; [2250] = 0; [2251] = 0; [2252] = 0; [2253] = 0; [2254] = 0; [2255] = 0; [2256] = 0; [2257] = 0; [2258] = 0; [2259] = 0; [2260] = 0; [2261] = 0; [2262] = 0; [2263] = 0; [2264] = 0; [2265] = 0; [2266] = 0; [2267] = 0; [2268] = 0; [2269] = 0; [2270] = 0; [2271] = 0; [2272] = 0; [2273] = 0; [2274] = 0; [2275] = 0; [2276] = 0; [2277] = 0; [2278] = 0; [2279] = 0; [2280] = 0; [2281] = 0; [2282] = 0; [2283] = 0; [2284] = 0; [2285] = 0; [2286] = 0; [2287] = 0; [2288] = 0; [2289] = 0; [2290] = 0; [2291] = 0; [2292] = 0; [2293] = 0; [2294] = 0; [2295] = 0; [2296] = 0; [2297] = 0; [2298] = 0; [2299] = 0; [2300] = 0; [2301] = 0; [2302] = 0; [2303] = 0; [2304] = 0; [2305] = 0; [2306] = 0; [2307] = 0; [2308] = 0; [2309] = 0; [2310] = 0; [2311] = 0; [2312] = 0; [2313] = 0; [2314] = 0; [2315] = 0; [2316] = 0; [2317] = 0; [2318] = 0; [2319] = 0; [2320] = 0; [2321] = 0; [2322] = 0; [2323] = 0; [2324] = 0; [2325] = 0; [2326] = 0; [2327] = 0; [2328] = 0; [2329] = 0; [2330] = 0; [2331] = 0; [2332] = 0; [2333] = 0; [2334] = 0; [2335] = 0; [2336] = 0; [2337] = 0; [2338] = 0; [2339] = 0; [2340] = 0; [2341] = 0; [2342] = 0; [2343] = 0; [2344] = 0; [2345] = 0; [2346] = 0; [2347] = 0; [2348] = 0; [2349] = 0; [2350] = 0; [2351] = 0; [2352] = 0; [2353] = 0; [2354] = 0; [2355] = 0; [2356] = 0; [2357] = 0; [2358] = 0; [2359] = 0; [2360] = 0; [2361] = 0; [2362] = 0; [2363] = 0; [2364] = 0; [2365] = 0; [2366] = 0; [2367] = 0; [2368] = 0; [2369] = 0; [2370] = 0; [2371] = 0; [2372] = 0; [2373] = 0; [2374] = 0; [2375] = 0; [2376] = 0; [2377] = 0; [2378] = 0; [2379] = 0; [2380] = 0; [2381] = 0; [2382] = 0; [2383] = 0; [2384] = 0; [2385] = 0; [2386] = 0; [2387] = 0; [2388] = 0; [2389] = 0; [2390] = 0; [2391] = 0; [2392] = 0; [2393] = 0; [2394] = 0; [2395] = 0; [2396] = 0; [2397] = 0; [2398] = 0; [2399] = 0; [2400] = 0; [2401] = 0; [2402] = 0; [2403] = 0; [2404] = 0; [2405] = 0; [2406] = 0; [2407] = 0; [2408] = 0; [2409] = 0; [2410] = 0; [2411] = 0; [2412] = 0; [2413] = 0; [2414] = 0; [2415] = 0; [2416] = 0; [2417] = 0; [2418] = 0; [2419] = 0; [2420] = 0; [2421] = 0; [2422] = 0; [2423] = 0; [2424] = 0; [2425] = 0; [2426] = 0; [2427] = 0; [2428] = 0; [2429] = 0; [2430] = 0; [2431] = 0; [2432] = 0; [2433] = 0; [2434] = 0; [2435] = 0; [2436] = 0; [2437] = 0; [2438] = 0; [2439] = 0; [2440] = 0; [2441] = 0; [2442] = 0; [2443] = 0; [2444] = 0; [2445] = 0; [2446] = 0; [2447] = 0; [2448] = 0; [2449] = 0; [2450] = 0; [2451] = 0; [2452] = 0; [2453] = 0; [2454] = 0; [2455] = 0; [2456] = 0; [2457] = 0; [2458] = 0; [2459] = 0; [2460] = 0; [2461] = 0; [2462] = 0; [2463] = 0; [2464] = 0; [2465] = 0; [2466] = 0; [2467] = 0; [2468] = 0; [2469] = 0; [2470] = 0; [2471] = 0; [2472] = 0; [2473] = 0; [2474] = 0; [2475] = 0; [2476] = 0; [2477] = 0; [2478] = 0; [2479] = 0; [2480] = 0; [2481] = 0; [2482] = 0; [2483] = 0; [2484] = 0; [2485] = 0; [2486] = 0; [2487] = 0; [2488] = 0; [2489] = 0; [2490] = 0; [2491] = 0; [2492] = 0; [2493] = 0; [2494] = 0; [2495] = 0; [2496] = 0; [2497] = 0; [2498] = 0; [2499] = 0; [2500] = 0; [2501] = 0; [2502] = 0; [2503] = 0; [2504] = 0; [2505] = 0; [2506] = 0; [2507] = 0; [2508] = 0; [2509] = 0; [2510] = 0; [2511] = 0; [2512] = 0; [2513] = 0; [2514] = 0; [2515] = 0; [2516] = 0; [2517] = 0; [2518] = 0; [2519] = 0; [2520] = 0; [2521] = 0; [2522] = 0; [2523] = 0; [2524] = 0; [2525] = 0; [2526] = 0; [2527] = 0; [2528] = 0; [2529] = 0; [2530] = 0; [2531] = 0; [2532] = 0; [2533] = 0; [2534] = 0; [2535] = 0; [2536] = 0; [2537] = 0; [2538] = 0; [2539] = 0; [2540] = 0; [2541] = 0; [2542] = 0; [2543] = 0; [2544] = 0; [2545] = 0; [2546] = 0; [2547] = 0; [2548] = 0; [2549] = 0; [2550] = 0; [2551] = 0; [2552] = 0; [2553] = 0; [2554] = 0; [2555] = 0; [2556] = 0; [2557] = 0; [2558] = 0; [2559] = 0; [2560] = 0; [2561] = 0; [2562] = 0; [2563] = 0; [2564] = 0; [2565] = 0; [2566] = 0; [2567] = 0; [2568] = 0; [2569] = 0; [2570] = 0; [2571] = 0; [2572] = 0; [2573] = 0; [2574] = 0; [2575] = 0; [2576] = 0; [2577] = 0; [2578] = 0; [2579] = 0; [2580] = 0; [2581] = 0; [2582] = 0; [2583] = 0; [2584] = 0; [2585] = 0; [2586] = 0; [2587] = 0; [2588] = 0; [2589] = 0; [2590] = 0; [2591] = 0; [2592] = 0; [2593] = 0; [2594] = 0; [2595] = 0; [2596] = 0; [2597] = 0; [2598] = 0; [2599] = 0; [2600] = 0; [2601] = 0; [2602] = 0; [2603] = 0; [2604] = 0; [2605] = 0; [2606] = 0; [2607] = 0; [2608] = 0; [2609] = 0; [2610] = 0; [2611] = 0; [2612] = 0; [2613] = 0; [2614] = 0; [2615] = 0; [2616] = 0; [2617] = 0; [2618] = 0; [2619] = 0; [2620] = 0; [2621] = 0; [2622] = 0; [2623] = 0; [2624] = 0; [2625] = 0; [2626] = 0; [2627] = 0; [2628] = 0; [2629] = 0; [2630] = 0; [2631] = 0; [2632] = 0; [2633] = 0; [2634] = 0; [2635] = 0; [2636] = 0; [2637] = 0; [2638] = 0; [2639] = 0; [2640] = 0; [2641] = 0; [2642] = 0; [2643] = 0; [2644] = 0; [2645] = 0; [2646] = 0; [2647] = 0; [2648] = 0; [2649] = 0; [2650] = 0; [2651] = 0; [2652] = 0; [2653] = 0; [2654] = 0; [2655] = 0; [2656] = 0; [2657] = 0; [2658] = 0; [2659] = 0; [2660] = 0; [2661] = 0; [2662] = 0; [2663] = 0; [2664] = 0; [2665] = 0; [2666] = 0; [2667] = 0; [2668] = 0; [2669] = 0; [2670] = 0; [2671] = 0; [2672] = 0; [2673] = 0; [2674] = 0; [2675] = 0; [2676] = 0; [2677] = 0; [2678] = 0; [2679] = 0; [2680] = 0; [2681] = 0; [2682] = 0; [2683] = 0; [2684] = 0; [2685] = 0; [2686] = 0; [2687] = 0; [2688] = 0; [2689] = 0; [2690] = 0; [2691] = 0; [2692] = 0; [2693] = 0; [2694] = 0; [2695] = 0; [2696] = 0; [2697] = 0; [2698] = 0; [2699] = 0; [2700] = 0; [2701] = 0; [2702] = 0; [2703] = 0; [2704] = 0; [2705] = 0; [2706] = 0; [2707] = 0; [2708] = 0; [2709] = 0; [2710] = 0; [2711] = 0; [2712] = 0; [2713] = 0; [2714] = 0; [2715] = 0; [2716] = 0; [2717] = 0; [2718] = 0; [2719] = 0; [2720] = 0; [2721] = 0; [2722] = 0; [2723] = 0; [2724] = 0; [2725] = 0; [2726] = 0; [2727] = 0; [2728] = 0; [2729] = 0; [2730] = 0; [2731] = 0; [2732] = 0; [2733] = 0; [2734] = 0; [2735] = 0; [2736] = 0; [2737] = 0; [2738] = 0; [2739] = 0; [2740] = 0; [2741] = 0; [2742] = 0; [2743] = 0; [2744] = 0; [2745] = 0; [2746] = 0; [2747] = 0; [2748] = 0; [2749] = 0; [2750] = 0; [2751] = 0; [2752] = 0; [2753] = 0; [2754] = 0; [2755] = 0; [2756] = 0; [2757] = 0; [2758] = 0; [2759] = 0; [2760] = 0; [2761] = 0; [2762] = 0; [2763] = 0; [2764] = 0; [2765] = 0; [2766] = 0; [2767] = 0; [2768] = 0; [2769] = 0; [2770] = 0; [2771] = 0; [2772] = 0; [2773] = 0; [2774] = 0; [2775] = 0; [2776] = 0; [2777] = 0; [2778] = 0; [2779] = 0; [2780] = 0; [2781] = 0; [2782] = 0; [2783] = 0; [2784] = 0; [2785] = 0; [2786] = 0; [2787] = 0; [2788] = 0; [2789] = 0; [2790] = 0; [2791] = 0; [2792] = 0; [2793] = 0; [2794] = 0; [2795] = 0; [2796] = 0; [2797] = 0; [2798] = 0; [2799] = 0; [2800] = 0; [2801] = 0; [2802] = 0; [2803] = 0; [2804] = 0; [2805] = 0; [2806] = 0; [2807] = 0; [2808] = 0; [2809] = 0; [2810] = 0; [2811] = 0; [2812] = 0; [2813] = 0; [2814] = 0; [2815] = 0; [2816] = 0; [2817] = 0; [2818] = 0; [2819] = 0; [2820] = 0; [2821] = 0; [2822] = 0; [2823] = 0; [2824] = 0; [2825] = 0; [2826] = 0; [2827] = 0; [2828] = 0; [2829] = 0; [2830] = 0; [2831] = 0; [2832] = 0; [2833] = 0; [2834] = 0; [2835] = 0; [2836] = 0; [2837] = 0; [2838] = 0; [2839] = 0; [2840] = 0; [2841] = 0; [2842] = 0; [2843] = 0; [2844] = 0; [2845] = 0; [2846] = 0; [2847] = 0; [2848] = 0; [2849] = 0; [2850] = 0; [2851] = 0; [2852] = 0; [2853] = 0; [2854] = 0; [2855] = 0; [2856] = 0; [2857] = 0; [2858] = 0; [2859] = 0; [2860] = 0; [2861] = 0; [2862] = 0; [2863] = 0; [2864] = 0; [2865] = 0; [2866] = 0; [2867] = 0; [2868] = 0; [2869] = 0; [2870] = 0; [2871] = 0; [2872] = 0; [2873] = 0; [2874] = 0; [2875] = 0; [2876] = 0; [2877] = 0; [2878] = 0; [2879] = 0; [2880] = 0; [2881] = 0; [2882] = 0; [2883] = 0; [2884] = 0; [2885] = 0; [2886] = 0; [2887] = 0; [2888] = 0; [2889] = 0; [2890] = 0; [2891] = 0; [2892] = 0; [2893] = 0; [2894] = 0; [2895] = 0; [2896] = 0; [2897] = 0; [2898] = 0; [2899] = 0; [2900] = 0; [2901] = 0; [2902] = 0; [2903] = 0; [2904] = 0; [2905] = 0; [2906] = 0; [2907] = 0; [2908] = 0; [2909] = 0; [2910] = 0; [2911] = 0; [2912] = 0; [2913] = 0; [2914] = 0; [2915] = 0; [2916] = 0; [2917] = 0; [2918] = 0; [2919] = 0; [2920] = 0; [2921] = 0; [2922] = 0; [2923] = 0; [2924] = 0; [2925] = 0; [2926] = 0; [2927] = 0; [2928] = 0; [2929] = 0; [2930] = 0; [2931] = 0; [2932] = 0; [2933] = 0; [2934] = 0; [2935] = 0; [2936] = 0; [2937] = 0; [2938] = 0; [2939] = 0; [2940] = 0; [2941] = 0; [2942] = 0; [2943] = 0; [2944] = 0; [2945] = 0; [2946] = 0; [2947] = 0; [2948] = 0; [2949] = 0; [2950] = 0; [2951] = 0; [2952] = 0; [2953] = 0; [2954] = 0; [2955] = 0; [2956] = 0; [2957] = 0; [2958] = 0; [2959] = 0; [2960] = 0; [2961] = 0; [2962] = 0; [2963] = 0; [2964] = 0; [2965] = 0; [2966] = 0; [2967] = 0; [2968] = 0; [2969] = 0; [2970] = 0; [2971] = 0; [2972] = 0; [2973] = 0; [2974] = 0; [2975] = 0; [2976] = 0; [2977] = 0; [2978] = 0; [2979] = 0; [2980] = 0; [2981] = 0; [2982] = 0; [2983] = 0; [2984] = 0; [2985] = 0; [2986] = 0; [2987] = 0; [2988] = 0; [2989] = 0; [2990] = 0; [2991] = 0; [2992] = 0; [2993] = 0; [2994] = 0; [2995] = 0; [2996] = 0; [2997] = 0; [2998] = 0; [2999] = 0; [3000] = 0; [3001] = 0; [3002] = 0; [3003] = 0; [3004] = 0; [3005] = 0; [3006] = 0; [3007] = 0; [3008] = 0; [3009] = 0; [3010] = 0; [3011] = 0; [3012] = 0; [3013] = 0; [3014] = 0; [3015] = 0; [3016] = 0; [3017] = 0; [3018] = 0; [3019] = 0; [3020] = 0; [3021] = 0; [3022] = 0; [3023] = 0; [3024] = 0; [3025] = 0; [3026] = 0; [3027] = 0; [3028] = 0; [3029] = 0; [3030] = 0; [3031] = 0; [3032] = 0; [3033] = 0; [3034] = 0; [3035] = 0; [3036] = 0; [3037] = 0; [3038] = 0; [3039] = 0; [3040] = 0; [3041] = 0; [3042] = 0; [3043] = 0; [3044] = 0; [3045] = 0; [3046] = 0; [3047] = 0; [3048] = 0; [3049] = 0; [3050] = 0; [3051] = 0; [3052] = 0; [3053] = 0; [3054] = 0; [3055] = 0; [3056] = 0; [3057] = 0; [3058] = 0; [3059] = 0; [3060] = 0; [3061] = 0; [3062] = 0; [3063] = 0; [3064] = 0; [3065] = 0; [3066] = 0; [3067] = 0; [3068] = 0; [3069] = 0; [3070] = 0; [3071] = 0; [3072] = 0; [3073] = 0; [3074] = 0; [3075] = 0; [3076] = 0; [3077] = 0; [3078] = 0; [3079] = 0; [3080] = 0; [3081] = 0; [3082] = 0; [3083] = 0; [3084] = 0; [3085] = 0; [3086] = 0; [3087] = 0; [3088] = 0; [3089] = 0; [3090] = 0; [3091] = 0; [3092] = 0; [3093] = 0; [3094] = 0; [3095] = 0; [3096] = 0; [3097] = 0; [3098] = 0; [3099] = 0; [3100] = 0; [3101] = 0; [3102] = 0; [3103] = 0; [3104] = 0; [3105] = 0; [3106] = 0; [3107] = 0; [3108] = 0; [3109] = 0; [3110] = 0; [3111] = 0; [3112] = 0; [3113] = 0; [3114] = 0; [3115] = 0; [3116] = 0; [3117] = 0; [3118] = 0; [3119] = 0; [3120] = 0; [3121] = 0; [3122] = 0; [3123] = 0; [3124] = 0; [3125] = 0; [3126] = 0; [3127] = 0; [3128] = 0; [3129] = 0; [3130] = 0; [3131] = 0; [3132] = 0; [3133] = 0; [3134] = 0; [3135] = 0; [3136] = 0; [3137] = 0; [3138] = 0; [3139] = 0; [3140] = 0; [3141] = 0; [3142] = 0; [3143] = 0; [3144] = 0; [3145] = 0; [3146] = 0; [3147] = 0; [3148] = 0; [3149] = 0; [3150] = 0; [3151] = 0; [3152] = 0; [3153] = 0; [3154] = 0; [3155] = 0; [3156] = 0; [3157] = 0; [3158] = 0; [3159] = 0; [3160] = 0; [3161] = 0; [3162] = 0; [3163] = 0; [3164] = 0; [3165] = 0; [3166] = 0; [3167] = 0; [3168] = 0; [3169] = 0; [3170] = 0; [3171] = 0; [3172] = 0; [3173] = 0; [3174] = 0; [3175] = 0; [3176] = 0; [3177] = 0; [3178] = 0; [3179] = 0; [3180] = 0; [3181] = 0; [3182] = 0; [3183] = 0; [3184] = 0; [3185] = 0; [3186] = 0; [3187] = 0; [3188] = 0; [3189] = 0; [3190] = 0; [3191] = 0; [3192] = 0; [3193] = 0; [3194] = 0; [3195] = 0; [3196] = 0; [3197] = 0; [3198] = 0; [3199] = 0; [3200] = 0; [3201] = 0; [3202] = 0; [3203] = 0; [3204] = 0; [3205] = 0; [3206] = 0; [3207] = 0; [3208] = 0; [3209] = 0; [3210] = 0; [3211] = 0; [3212] = 0; [3213] = 0; [3214] = 0; [3215] = 0; [3216] = 0; [3217] = 0; [3218] = 0; [3219] = 0; [3220] = 0; [3221] = 0; [3222] = 0; [3223] = 0; [3224] = 0; [3225] = 0; [3226] = 0; [3227] = 0; [3228] = 0; [3229] = 0; [3230] = 0; [3231] = 0; [3232] = 0; [3233] = 0; [3234] = 0; [3235] = 0; [3236] = 0; [3237] = 0; [3238] = 0; [3239] = 0; [3240] = 0; [3241] = 0; [3242] = 0; [3243] = 0; [3244] = 0; [3245] = 0; [3246] = 0; [3247] = 0; [3248] = 0; [3249] = 0; [3250] = 0; [3251] = 0; [3252] = 0; [3253] = 0; [3254] = 0; [3255] = 0; [3256] = 0; [3257] = 0; [3258] = 0; [3259] = 0; [3260] = 0; [3261] = 0; [3262] = 0; [3263] = 0; [3264] = 0; [3265] = 0; [3266] = 0; [3267] = 0; [3268] = 0; [3269] = 0; [3270] = 0; [3271] = 0; [3272] = 0; [3273] = 0; [3274] = 0; [3275] = 0; [3276] = 0; [3277] = 0; [3278] = 0; [3279] = 0; [3280] = 0; [3281] = 0; [3282] = 0; [3283] = 0; [3284] = 0; [3285] = 0; [3286] = 0; [3287] = 0; [3288] = 0; [3289] = 0; [3290] = 0; [3291] = 0; [3292] = 0; [3293] = 0; [3294] = 0; [3295] = 0; [3296] = 0; [3297] = 0; [3298] = 0; [3299] = 0; [3300] = 0; [3301] = 0; [3302] = 0; [3303] = 0; [3304] = 0; [3305] = 0; [3306] = 0; [3307] = 0; [3308] = 0; [3309] = 0; [3310] = 0; [3311] = 0; [3312] = 0; [3313] = 0; [3314] = 0; [3315] = 0; [3316] = 0; [3317] = 0; [3318] = 0; [3319] = 0; [3320] = 0; [3321] = 0; [3322] = 0; [3323] = 0; [3324] = 0; [3325] = 0; [3326] = 0; [3327] = 0; [3328] = 0; [3329] = 0; [3330] = 0; [3331] = 0; [3332] = 0; [3333] = 0; [3334] = 0; [3335] = 0; [3336] = 0; [3337] = 0; [3338] = 0; [3339] = 0; [3340] = 0; [3341] = 0; [3342] = 0; [3343] = 0; [3344] = 0; [3345] = 0; [3346] = 0; [3347] = 0; [3348] = 0; [3349] = 0; [3350] = 0; [3351] = 0; [3352] = 0; [3353] = 0; [3354] = 0; [3355] = 0; [3356] = 0; [3357] = 0; [3358] = 0; [3359] = 0; [3360] = 0; [3361] = 0; [3362] = 0; [3363] = 0; [3364] = 0; [3365] = 0; [3366] = 0; [3367] = 0; [3368] = 0; [3369] = 0; [3370] = 0; [3371] = 0; [3372] = 0; [3373] = 0; [3374] = 0; [3375] = 0; [3376] = 0; [3377] = 0; [3378] = 0; [3379] = 0; [3380] = 0; [3381] = 0; [3382] = 0; [3383] = 0; [3384] = 0; [3385] = 0; [3386] = 0; [3387] = 0; [3388] = 0; [3389] = 0; [3390] = 0; [3391] = 0; [3392] = 0; [3393] = 0; [3394] = 0; [3395] = 0; [3396] = 0; [3397] = 0; [3398] = 0; [3399] = 0; [3400] = 0; [3401] = 0; [3402] = 0; [3403] = 0; [3404] = 0; [3405] = 0; [3406] = 0; [3407] = 0; [3408] = 0; [3409] = 0; [3410] = 0; [3411] = 0; [3412] = 0; [3413] = 0; [3414] = 0; [3415] = 0; [3416] = 0; [3417] = 0; [3418] = 0; [3419] = 0; [3420] = 0; [3421] = 0; [3422] = 0; [3423] = 0; [3424] = 0; [3425] = 0; [3426] = 0; [3427] = 0; [3428] = 0; [3429] = 0; [3430] = 0; [3431] = 0; [3432] = 0; [3433] = 0; [3434] = 0; [3435] = 0; [3436] = 0; [3437] = 0; [3438] = 0; [3439] = 0; [3440] = 0; [3441] = 0; [3442] = 0; [3443] = 0; [3444] = 0; [3445] = 0; [3446] = 0; [3447] = 0; [3448] = 0; [3449] = 0; [3450] = 0; [3451] = 0; [3452] = 0; [3453] = 0; [3454] = 0; [3455] = 0; [3456] = 0; [3457] = 0; [3458] = 0; [3459] = 0; [3460] = 0; [3461] = 0; [3462] = 0; [3463] = 0; [3464] = 0; [3465] = 0; [3466] = 0; [3467] = 0; [3468] = 0; [3469] = 0; [3470] = 0; [3471] = 0; [3472] = 0; [3473] = 0; [3474] = 0; [3475] = 0; [3476] = 0; [3477] = 0; [3478] = 0; [3479] = 0; [3480] = 0; [3481] = 0; [3482] = 0; [3483] = 0; [3484] = 0; [3485] = 0; [3486] = 0; [3487] = 0; [3488] = 0; [3489] = 0; [3490] = 0; [3491] = 0; [3492] = 0; [3493] = 0; [3494] = 0; [3495] = 0; [3496] = 0; [3497] = 0; [3498] = 0; [3499] = 0; [3500] = 0; [3501] = 0; [3502] = 0; [3503] = 0; [3504] = 0; [3505] = 0; [3506] = 0; [3507] = 0; [3508] = 0; [3509] = 0; [3510] = 0; [3511] = 0; [3512] = 0; [3513] = 0; [3514] = 0; [3515] = 0; [3516] = 0; [3517] = 0; [3518] = 0; [3519] = 0; [3520] = 0; [3521] = 0; [3522] = 0; [3523] = 0; [3524] = 0; [3525] = 0; [3526] = 0; [3527] = 0; [3528] = 0; [3529] = 0; [3530] = 0; [3531] = 0; [3532] = 0; [3533] = 0; [3534] = 0; [3535] = 0; [3536] = 0; [3537] = 0; [3538] = 0; [3539] = 0; [3540] = 0; [3541] = 0; [3542] = 0; [3543] = 0; [3544] = 0; [3545] = 0; [3546] = 0; [3547] = 0; [3548] = 0; [3549] = 0; [3550] = 0; [3551] = 0; [3552] = 0; [3553] = 0; [3554] = 0; [3555] = 0; [3556] = 0; [3557] = 0; [3558] = 0; [3559] = 0; [3560] = 0; [3561] = 0; [3562] = 0; [3563] = 0; [3564] = 0; [3565] = 0; [3566] = 0; [3567] = 0; [3568] = 0; [3569] = 0; [3570] = 0; [3571] = 0; [3572] = 0; [3573] = 0; [3574] = 0; [3575] = 0; [3576] = 0; [3577] = 0; [3578] = 0; [3579] = 0; [3580] = 0; [3581] = 0; [3582] = 0; [3583] = 0; [3584] = 0; [3585] = 0; [3586] = 0; [3587] = 0; [3588] = 0; [3589] = 0; [3590] = 0; [3591] = 0; [3592] = 0; [3593] = 0; [3594] = 0; [3595] = 0; [3596] = 0; [3597] = 0; [3598] = 0; [3599] = 0; [3600] = 0; [3601] = 0; [3602] = 0; [3603] = 0; [3604] = 0; [3605] = 0; [3606] = 0; [3607] = 0; [3608] = 0; [3609] = 0; [3610] = 0; [3611] = 0; [3612] = 0; [3613] = 0; [3614] = 0; [3615] = 0; [3616] = 0; [3617] = 0; [3618] = 0; [3619] = 0; [3620] = 0; [3621] = 0; [3622] = 0; [3623] = 0; [3624] = 0; [3625] = 0; [3626] = 0; [3627] = 0; [3628] = 0; [3629] = 0; [3630] = 0; [3631] = 0; [3632] = 0; [3633] = 0; [3634] = 0; [3635] = 0; [3636] = 0; [3637] = 0; [3638] = 0; [3639] = 0; [3640] = 0; [3641] = 0; [3642] = 0; [3643] = 0; [3644] = 0; [3645] = 0; [3646] = 0; [3647] = 0; [3648] = 0; [3649] = 0; [3650] = 0; [3651] = 0; [3652] = 0; [3653] = 0; [3654] = 0; [3655] = 0; [3656] = 0; [3657] = 0; [3658] = 0; [3659] = 0; [3660] = 0; [3661] = 0; [3662] = 0; [3663] = 0; [3664] = 0; [3665] = 0; [3666] = 0; [3667] = 0; [3668] = 0; [3669] = 0; [3670] = 0; [3671] = 0; [3672] = 0; [3673] = 0; [3674] = 0; [3675] = 0; [3676] = 0; [3677] = 0; [3678] = 0; [3679] = 0; [3680] = 0; [3681] = 0; [3682] = 0; [3683] = 0; [3684] = 0; [3685] = 0; [3686] = 0; [3687] = 0; [3688] = 0; [3689] = 0; [3690] = 0; [3691] = 0; [3692] = 0; [3693] = 0; [3694] = 0; [3695] = 0; [3696] = 0; [3697] = 0; [3698] = 0; [3699] = 0; [3700] = 0; [3701] = 0; [3702] = 0; [3703] = 0; [3704] = 0; [3705] = 0; [3706] = 0; [3707] = 0; [3708] = 0; [3709] = 0; [3710] = 0; [3711] = 0; [3712] = 0; [3713] = 0; [3714] = 0; [3715] = 0; [3716] = 0; [3717] = 0; [3718] = 0; [3719] = 0; [3720] = 0; [3721] = 0; [3722] = 0; [3723] = 0; [3724] = 0; [3725] = 0; [3726] = 0; [3727] = 0; [3728] = 0; [3729] = 0; [3730] = 0; [3731] = 0; [3732] = 0; [3733] = 0; [3734] = 0; [3735] = 0; [3736] = 0; [3737] = 0; [3738] = 0; [3739] = 0; [3740] = 0; [3741] = 0; [3742] = 0; [3743] = 0; [3744] = 0; [3745] = 0; [3746] = 0; [3747] = 0; [3748] = 0; [3749] = 0; [3750] = 0; [3751] = 0; [3752] = 0; [3753] = 0; [3754] = 0; [3755] = 0; [3756] = 0; [3757] = 0; [3758] = 0; [3759] = 0; [3760] = 0; [3761] = 0; [3762] = 0; [3763] = 0; [3764] = 0; [3765] = 0; [3766] = 0; [3767] = 0; [3768] = 0; [3769] = 0; [3770] = 0; [3771] = 0; [3772] = 0; [3773] = 0; [3774] = 0; [3775] = 0; [3776] = 0; [3777] = 0; [3778] = 0; [3779] = 0; [3780] = 0; [3781] = 0; [3782] = 0; [3783] = 0; [3784] = 0; [3785] = 0; [3786] = 0; [3787] = 0; [3788] = 0; [3789] = 0; [3790] = 0; [3791] = 0; [3792] = 0; [3793] = 0; [3794] = 0; [3795] = 0; [3796] = 0; [3797] = 0; [3798] = 0; [3799] = 0; [3800] = 0; [3801] = 0; [3802] = 0; [3803] = 0; [3804] = 0; [3805] = 0; [3806] = 0; [3807] = 0; [3808] = 0; [3809] = 0; [3810] = 0; [3811] = 0; [3812] = 0; [3813] = 0; [3814] = 0; [3815] = 0; [3816] = 0; [3817] = 0; [3818] = 0; [3819] = 0; [3820] = 0; [3821] = 0; [3822] = 0; [3823] = 0; [3824] = 0; [3825] = 0; [3826] = 0; [3827] = 0; [3828] = 0; [3829] = 0; [3830] = 0; [3831] = 0; [3832] = 0; [3833] = 0; [3834] = 0; [3835] = 0; [3836] = 0; [3837] = 0; [3838] = 0; [3839] = 0; [3840] = 0; [3841] = 0; [3842] = 0; [3843] = 0; [3844] = 0; [3845] = 0; [3846] = 0; [3847] = 0; [3848] = 0; [3849] = 0; [3850] = 0; [3851] = 0; [3852] = 0; [3853] = 0; [3854] = 0; [3855] = 0; [3856] = 0; [3857] = 0; [3858] = 0; [3859] = 0; [3860] = 0; [3861] = 0; [3862] = 0; [3863] = 0; [3864] = 0; [3865] = 0; [3866] = 0; [3867] = 0; [3868] = 0; [3869] = 0; [3870] = 0; [3871] = 0; [3872] = 0; [3873] = 0; [3874] = 0; [3875] = 0; [3876] = 0; [3877] = 0; [3878] = 0; [3879] = 0; [3880] = 0; [3881] = 0; [3882] = 0; [3883] = 0; [3884] = 0; [3885] = 0; [3886] = 0; [3887] = 0; [3888] = 0; [3889] = 0; [3890] = 0; [3891] = 0; [3892] = 0; [3893] = 0; [3894] = 0; [3895] = 0; [3896] = 0; [3897] = 0; [3898] = 0; [3899] = 0; [3900] = 0; [3901] = 0; [3902] = 0; [3903] = 0; [3904] = 0; [3905] = 0; [3906] = 0; [3907] = 0; [3908] = 0; [3909] = 0; [3910] = 0; [3911] = 0; [3912] = 0; [3913] = 0; [3914] = 0; [3915] = 0; [3916] = 0; [3917] = 0; [3918] = 0; [3919] = 0; [3920] = 0; [3921] = 0; [3922] = 0; [3923] = 0; [3924] = 0; [3925] = 0; [3926] = 0; [3927] = 0; [3928] = 0; [3929] = 0; [3930] = 0; [3931] = 0; [3932] = 0; [3933] = 0; [3934] = 0; [3935] = 0; [3936] = 0; [3937] = 0; [3938] = 0; [3939] = 0; [3940] = 0; [3941] = 0; [3942] = 0; [3943] = 0; [3944] = 0; [3945] = 0; [3946] = 0; [3947] = 0; [3948] = 0; [3949] = 0; [3950] = 0; [3951] = 0; [3952] = 0; [3953] = 0; [3954] = 0; [3955] = 0; [3956] = 0; [3957] = 0; [3958] = 0; [3959] = 0; [3960] = 0; [3961] = 0; [3962] = 0; [3963] = 0; [3964] = 0; [3965] = 0; [3966] = 0; [3967] = 0; [3968] = 0; [3969] = 0; [3970] = 0; [3971] = 0; [3972] = 0; [3973] = 0; [3974] = 0; [3975] = 0; [3976] = 0; [3977] = 0; [3978] = 0; [3979] = 0; [3980] = 0; [3981] = 0; [3982] = 0; [3983] = 0; [3984] = 0; [3985] = 0; [3986] = 0; [3987] = 0; [3988] = 0; [3989] = 0; [3990] = 0; [3991] = 0; [3992] = 0; [3993] = 0; [3994] = 0; [3995] = 0; [3996] = 0; [3997] = 0; [3998] = 0; [3999] = 0; [4000] = 0; [4001] = 0; [4002] = 0; [4003] = 0; [4004] = 0; [4005] = 0; [4006] = 0; [4007] = 0; [4008] = 0; [4009] = 0; [4010] = 0; [4011] = 0; [4012] = 0; [4013] = 0; [4014] = 0; [4015] = 0; [4016] = 0; [4017] = 0; [4018] = 0; [4019] = 0; [4020] = 0; [4021] = 0; [4022] = 0; [4023] = 0; [4024] = 0; [4025] = 0; [4026] = 0; [4027] = 0; [4028] = 0; [4029] = 0; [4030] = 0; [4031] = 0; [4032] = 0; [4033] = 0; [4034] = 0; [4035] = 0; [4036] = 0; [4037] = 0; [4038] = 0; [4039] = 0; [4040] = 0; [4041] = 0; [4042] = 0; [4043] = 0; [4044] = 0; [4045] = 0; [4046] = 0; [4047] = 0; [4048] = 0; [4049] = 0; [4050] = 0; [4051] = 0; [4052] = 0; [4053] = 0; [4054] = 0; [4055] = 0; [4056] = 0; [4057] = 0; [4058] = 0; [4059] = 0; [4060] = 0; [4061] = 0; [4062] = 0; [4063] = 0; [4064] = 0; [4065] = 0; [4066] = 0; [4067] = 0; [4068] = 0; [4069] = 0; [4070] = 0; [4071] = 0; [4072] = 0; [4073] = 0; [4074] = 0; [4075] = 0; [4076] = 0; [4077] = 0; [4078] = 0; [4079] = 0; [4080] = 0; [4081] = 0; [4082] = 0; [4083] = 0; [4084] = 0; [4085] = 0; [4086] = 0; [4087] = 0; [4088] = 0; [4089] = 0; [4090] = 0; [4091] = 0; [4092] = 0; [4093] = 0; [4094] = 0; [4095] = 0; [4096] = 0; }; ["offsetx"] = 0; ["type"] = "tilelayer"; ["width"] = 64; ["name"] = "bkg2"; ["opacity"] = 1; }; [9] = { ["x"] = 0; ["encoding"] = "lua"; ["visible"] = true; ["offsety"] = 0; ["properties"] = { ["depth"] = -3; }; ["y"] = 0; ["height"] = 64; ["data"] = { [1] = 0; [2] = 0; [3] = 0; [4] = 0; [5] = 0; [6] = 0; [7] = 0; [8] = 0; [9] = 0; [10] = 0; [11] = 0; [12] = 0; [13] = 0; [14] = 0; [15] = 0; [16] = 0; [17] = 0; [18] = 0; [19] = 0; [20] = 0; [21] = 0; [22] = 0; [23] = 0; [24] = 0; [25] = 0; [26] = 0; [27] = 0; [28] = 0; [29] = 0; [30] = 0; [31] = 0; [32] = 0; [33] = 0; [34] = 0; [35] = 0; [36] = 0; [37] = 0; [38] = 0; [39] = 0; [40] = 0; [41] = 0; [42] = 0; [43] = 0; [44] = 0; [45] = 0; [46] = 0; [47] = 0; [48] = 0; [49] = 0; [50] = 0; [51] = 0; [52] = 0; [53] = 0; [54] = 0; [55] = 0; [56] = 0; [57] = 0; [58] = 0; [59] = 0; [60] = 0; [61] = 0; [62] = 0; [63] = 0; [64] = 0; [65] = 0; [66] = 0; [67] = 0; [68] = 0; [69] = 0; [70] = 0; [71] = 0; [72] = 0; [73] = 0; [74] = 0; [75] = 0; [76] = 0; [77] = 0; [78] = 0; [79] = 0; [80] = 0; [81] = 0; [82] = 0; [83] = 0; [84] = 0; [85] = 0; [86] = 0; [87] = 0; [88] = 0; [89] = 0; [90] = 0; [91] = 0; [92] = 0; [93] = 0; [94] = 0; [95] = 0; [96] = 0; [97] = 0; [98] = 0; [99] = 0; [100] = 0; [101] = 0; [102] = 0; [103] = 0; [104] = 0; [105] = 0; [106] = 0; [107] = 0; [108] = 0; [109] = 0; [110] = 0; [111] = 0; [112] = 0; [113] = 0; [114] = 0; [115] = 0; [116] = 0; [117] = 0; [118] = 0; [119] = 0; [120] = 0; [121] = 0; [122] = 0; [123] = 0; [124] = 0; [125] = 0; [126] = 0; [127] = 0; [128] = 0; [129] = 0; [130] = 0; [131] = 0; [132] = 0; [133] = 0; [134] = 0; [135] = 0; [136] = 0; [137] = 0; [138] = 0; [139] = 0; [140] = 0; [141] = 0; [142] = 0; [143] = 0; [144] = 0; [145] = 0; [146] = 0; [147] = 0; [148] = 0; [149] = 0; [150] = 0; [151] = 0; [152] = 0; [153] = 0; [154] = 0; [155] = 0; [156] = 0; [157] = 0; [158] = 0; [159] = 0; [160] = 0; [161] = 0; [162] = 0; [163] = 0; [164] = 0; [165] = 0; [166] = 0; [167] = 0; [168] = 0; [169] = 0; [170] = 0; [171] = 0; [172] = 0; [173] = 0; [174] = 0; [175] = 0; [176] = 0; [177] = 0; [178] = 0; [179] = 0; [180] = 0; [181] = 0; [182] = 0; [183] = 0; [184] = 0; [185] = 0; [186] = 0; [187] = 0; [188] = 0; [189] = 0; [190] = 0; [191] = 0; [192] = 0; [193] = 0; [194] = 0; [195] = 0; [196] = 0; [197] = 0; [198] = 0; [199] = 0; [200] = 0; [201] = 0; [202] = 0; [203] = 0; [204] = 0; [205] = 0; [206] = 0; [207] = 0; [208] = 0; [209] = 0; [210] = 0; [211] = 0; [212] = 0; [213] = 0; [214] = 0; [215] = 0; [216] = 0; [217] = 0; [218] = 0; [219] = 0; [220] = 0; [221] = 0; [222] = 0; [223] = 0; [224] = 0; [225] = 0; [226] = 0; [227] = 0; [228] = 0; [229] = 0; [230] = 0; [231] = 0; [232] = 0; [233] = 0; [234] = 0; [235] = 0; [236] = 0; [237] = 0; [238] = 0; [239] = 0; [240] = 0; [241] = 0; [242] = 0; [243] = 0; [244] = 0; [245] = 0; [246] = 0; [247] = 0; [248] = 0; [249] = 0; [250] = 0; [251] = 0; [252] = 0; [253] = 0; [254] = 0; [255] = 0; [256] = 0; [257] = 0; [258] = 0; [259] = 0; [260] = 0; [261] = 0; [262] = 0; [263] = 0; [264] = 0; [265] = 0; [266] = 0; [267] = 0; [268] = 0; [269] = 0; [270] = 0; [271] = 0; [272] = 0; [273] = 0; [274] = 0; [275] = 0; [276] = 0; [277] = 0; [278] = 0; [279] = 0; [280] = 0; [281] = 0; [282] = 0; [283] = 0; [284] = 0; [285] = 0; [286] = 0; [287] = 0; [288] = 0; [289] = 0; [290] = 0; [291] = 0; [292] = 0; [293] = 0; [294] = 0; [295] = 0; [296] = 0; [297] = 0; [298] = 0; [299] = 0; [300] = 0; [301] = 0; [302] = 0; [303] = 0; [304] = 0; [305] = 0; [306] = 0; [307] = 0; [308] = 0; [309] = 0; [310] = 0; [311] = 0; [312] = 0; [313] = 0; [314] = 0; [315] = 0; [316] = 0; [317] = 0; [318] = 0; [319] = 0; [320] = 0; [321] = 0; [322] = 0; [323] = 0; [324] = 0; [325] = 0; [326] = 0; [327] = 0; [328] = 0; [329] = 0; [330] = 0; [331] = 0; [332] = 0; [333] = 0; [334] = 0; [335] = 0; [336] = 0; [337] = 0; [338] = 0; [339] = 0; [340] = 0; [341] = 0; [342] = 0; [343] = 0; [344] = 0; [345] = 0; [346] = 0; [347] = 0; [348] = 0; [349] = 0; [350] = 0; [351] = 0; [352] = 0; [353] = 0; [354] = 0; [355] = 0; [356] = 0; [357] = 0; [358] = 0; [359] = 0; [360] = 0; [361] = 0; [362] = 0; [363] = 0; [364] = 0; [365] = 0; [366] = 0; [367] = 0; [368] = 0; [369] = 0; [370] = 0; [371] = 0; [372] = 0; [373] = 0; [374] = 0; [375] = 0; [376] = 0; [377] = 0; [378] = 0; [379] = 0; [380] = 0; [381] = 0; [382] = 0; [383] = 0; [384] = 0; [385] = 0; [386] = 0; [387] = 0; [388] = 0; [389] = 0; [390] = 0; [391] = 0; [392] = 0; [393] = 0; [394] = 0; [395] = 0; [396] = 0; [397] = 0; [398] = 0; [399] = 0; [400] = 0; [401] = 0; [402] = 0; [403] = 0; [404] = 0; [405] = 0; [406] = 0; [407] = 0; [408] = 0; [409] = 0; [410] = 0; [411] = 0; [412] = 0; [413] = 0; [414] = 0; [415] = 0; [416] = 0; [417] = 0; [418] = 0; [419] = 0; [420] = 0; [421] = 0; [422] = 0; [423] = 0; [424] = 0; [425] = 0; [426] = 0; [427] = 0; [428] = 0; [429] = 0; [430] = 0; [431] = 0; [432] = 0; [433] = 0; [434] = 0; [435] = 0; [436] = 0; [437] = 0; [438] = 0; [439] = 0; [440] = 0; [441] = 0; [442] = 0; [443] = 0; [444] = 0; [445] = 0; [446] = 0; [447] = 0; [448] = 0; [449] = 0; [450] = 0; [451] = 0; [452] = 0; [453] = 0; [454] = 0; [455] = 0; [456] = 0; [457] = 0; [458] = 0; [459] = 0; [460] = 0; [461] = 0; [462] = 0; [463] = 0; [464] = 0; [465] = 0; [466] = 0; [467] = 0; [468] = 0; [469] = 0; [470] = 0; [471] = 0; [472] = 0; [473] = 0; [474] = 0; [475] = 0; [476] = 0; [477] = 0; [478] = 0; [479] = 0; [480] = 0; [481] = 0; [482] = 0; [483] = 0; [484] = 0; [485] = 0; [486] = 0; [487] = 0; [488] = 0; [489] = 0; [490] = 0; [491] = 0; [492] = 0; [493] = 0; [494] = 0; [495] = 0; [496] = 0; [497] = 0; [498] = 0; [499] = 0; [500] = 0; [501] = 0; [502] = 0; [503] = 0; [504] = 0; [505] = 0; [506] = 0; [507] = 0; [508] = 0; [509] = 0; [510] = 0; [511] = 0; [512] = 0; [513] = 0; [514] = 0; [515] = 0; [516] = 0; [517] = 0; [518] = 0; [519] = 0; [520] = 0; [521] = 0; [522] = 0; [523] = 0; [524] = 0; [525] = 0; [526] = 0; [527] = 0; [528] = 0; [529] = 0; [530] = 0; [531] = 0; [532] = 0; [533] = 0; [534] = 0; [535] = 0; [536] = 0; [537] = 0; [538] = 0; [539] = 0; [540] = 0; [541] = 0; [542] = 0; [543] = 0; [544] = 0; [545] = 0; [546] = 0; [547] = 0; [548] = 0; [549] = 0; [550] = 0; [551] = 0; [552] = 0; [553] = 0; [554] = 0; [555] = 0; [556] = 0; [557] = 0; [558] = 0; [559] = 0; [560] = 0; [561] = 0; [562] = 0; [563] = 0; [564] = 0; [565] = 0; [566] = 0; [567] = 0; [568] = 0; [569] = 0; [570] = 0; [571] = 0; [572] = 0; [573] = 0; [574] = 0; [575] = 0; [576] = 0; [577] = 0; [578] = 0; [579] = 0; [580] = 0; [581] = 0; [582] = 0; [583] = 0; [584] = 0; [585] = 0; [586] = 0; [587] = 0; [588] = 0; [589] = 0; [590] = 0; [591] = 0; [592] = 0; [593] = 0; [594] = 0; [595] = 0; [596] = 0; [597] = 0; [598] = 0; [599] = 0; [600] = 0; [601] = 0; [602] = 0; [603] = 0; [604] = 0; [605] = 0; [606] = 0; [607] = 0; [608] = 0; [609] = 0; [610] = 0; [611] = 0; [612] = 0; [613] = 0; [614] = 0; [615] = 0; [616] = 0; [617] = 0; [618] = 0; [619] = 0; [620] = 0; [621] = 0; [622] = 0; [623] = 0; [624] = 0; [625] = 0; [626] = 0; [627] = 0; [628] = 0; [629] = 0; [630] = 0; [631] = 0; [632] = 0; [633] = 0; [634] = 0; [635] = 0; [636] = 0; [637] = 0; [638] = 0; [639] = 0; [640] = 0; [641] = 0; [642] = 0; [643] = 0; [644] = 0; [645] = 0; [646] = 0; [647] = 0; [648] = 0; [649] = 0; [650] = 0; [651] = 0; [652] = 0; [653] = 0; [654] = 0; [655] = 0; [656] = 0; [657] = 0; [658] = 0; [659] = 0; [660] = 0; [661] = 0; [662] = 0; [663] = 0; [664] = 0; [665] = 0; [666] = 0; [667] = 0; [668] = 0; [669] = 0; [670] = 0; [671] = 0; [672] = 0; [673] = 0; [674] = 0; [675] = 0; [676] = 0; [677] = 0; [678] = 0; [679] = 0; [680] = 0; [681] = 0; [682] = 0; [683] = 0; [684] = 0; [685] = 0; [686] = 0; [687] = 0; [688] = 0; [689] = 0; [690] = 0; [691] = 0; [692] = 0; [693] = 0; [694] = 0; [695] = 0; [696] = 0; [697] = 0; [698] = 0; [699] = 0; [700] = 0; [701] = 0; [702] = 0; [703] = 0; [704] = 0; [705] = 0; [706] = 0; [707] = 0; [708] = 0; [709] = 0; [710] = 0; [711] = 0; [712] = 0; [713] = 0; [714] = 0; [715] = 0; [716] = 0; [717] = 0; [718] = 0; [719] = 0; [720] = 0; [721] = 0; [722] = 0; [723] = 0; [724] = 0; [725] = 0; [726] = 0; [727] = 0; [728] = 0; [729] = 0; [730] = 0; [731] = 0; [732] = 0; [733] = 0; [734] = 0; [735] = 0; [736] = 0; [737] = 0; [738] = 0; [739] = 0; [740] = 0; [741] = 0; [742] = 0; [743] = 0; [744] = 0; [745] = 0; [746] = 0; [747] = 0; [748] = 0; [749] = 0; [750] = 0; [751] = 0; [752] = 0; [753] = 0; [754] = 0; [755] = 0; [756] = 0; [757] = 0; [758] = 0; [759] = 0; [760] = 0; [761] = 0; [762] = 0; [763] = 0; [764] = 0; [765] = 0; [766] = 0; [767] = 0; [768] = 0; [769] = 0; [770] = 0; [771] = 0; [772] = 0; [773] = 0; [774] = 0; [775] = 0; [776] = 0; [777] = 0; [778] = 0; [779] = 0; [780] = 0; [781] = 0; [782] = 0; [783] = 0; [784] = 0; [785] = 0; [786] = 0; [787] = 0; [788] = 0; [789] = 0; [790] = 0; [791] = 0; [792] = 0; [793] = 0; [794] = 0; [795] = 0; [796] = 0; [797] = 0; [798] = 0; [799] = 0; [800] = 0; [801] = 0; [802] = 0; [803] = 0; [804] = 0; [805] = 0; [806] = 0; [807] = 0; [808] = 0; [809] = 0; [810] = 0; [811] = 0; [812] = 0; [813] = 0; [814] = 0; [815] = 0; [816] = 0; [817] = 0; [818] = 0; [819] = 0; [820] = 0; [821] = 0; [822] = 0; [823] = 0; [824] = 0; [825] = 0; [826] = 0; [827] = 0; [828] = 0; [829] = 0; [830] = 0; [831] = 0; [832] = 0; [833] = 0; [834] = 0; [835] = 0; [836] = 0; [837] = 0; [838] = 0; [839] = 0; [840] = 0; [841] = 0; [842] = 0; [843] = 0; [844] = 0; [845] = 0; [846] = 0; [847] = 0; [848] = 0; [849] = 0; [850] = 0; [851] = 0; [852] = 0; [853] = 0; [854] = 0; [855] = 0; [856] = 0; [857] = 0; [858] = 0; [859] = 0; [860] = 0; [861] = 0; [862] = 0; [863] = 0; [864] = 0; [865] = 0; [866] = 0; [867] = 0; [868] = 0; [869] = 0; [870] = 0; [871] = 0; [872] = 0; [873] = 0; [874] = 0; [875] = 0; [876] = 0; [877] = 0; [878] = 0; [879] = 0; [880] = 0; [881] = 0; [882] = 0; [883] = 0; [884] = 0; [885] = 0; [886] = 0; [887] = 0; [888] = 0; [889] = 0; [890] = 0; [891] = 0; [892] = 0; [893] = 0; [894] = 0; [895] = 0; [896] = 0; [897] = 0; [898] = 0; [899] = 0; [900] = 0; [901] = 0; [902] = 0; [903] = 0; [904] = 0; [905] = 0; [906] = 0; [907] = 0; [908] = 0; [909] = 0; [910] = 0; [911] = 0; [912] = 0; [913] = 0; [914] = 0; [915] = 0; [916] = 0; [917] = 0; [918] = 0; [919] = 0; [920] = 0; [921] = 0; [922] = 0; [923] = 0; [924] = 0; [925] = 0; [926] = 0; [927] = 0; [928] = 0; [929] = 0; [930] = 0; [931] = 0; [932] = 0; [933] = 0; [934] = 0; [935] = 0; [936] = 0; [937] = 0; [938] = 0; [939] = 0; [940] = 0; [941] = 0; [942] = 0; [943] = 0; [944] = 0; [945] = 0; [946] = 0; [947] = 0; [948] = 0; [949] = 0; [950] = 0; [951] = 0; [952] = 0; [953] = 0; [954] = 0; [955] = 0; [956] = 0; [957] = 0; [958] = 0; [959] = 0; [960] = 0; [961] = 0; [962] = 0; [963] = 0; [964] = 0; [965] = 0; [966] = 0; [967] = 0; [968] = 0; [969] = 0; [970] = 0; [971] = 0; [972] = 0; [973] = 0; [974] = 0; [975] = 0; [976] = 0; [977] = 0; [978] = 0; [979] = 0; [980] = 0; [981] = 0; [982] = 0; [983] = 0; [984] = 0; [985] = 0; [986] = 0; [987] = 0; [988] = 0; [989] = 0; [990] = 0; [991] = 0; [992] = 0; [993] = 0; [994] = 0; [995] = 0; [996] = 0; [997] = 0; [998] = 0; [999] = 0; [1000] = 0; [1001] = 0; [1002] = 0; [1003] = 0; [1004] = 0; [1005] = 0; [1006] = 0; [1007] = 0; [1008] = 0; [1009] = 0; [1010] = 0; [1011] = 0; [1012] = 0; [1013] = 0; [1014] = 0; [1015] = 0; [1016] = 0; [1017] = 0; [1018] = 0; [1019] = 0; [1020] = 0; [1021] = 0; [1022] = 0; [1023] = 0; [1024] = 0; [1025] = 0; [1026] = 0; [1027] = 0; [1028] = 0; [1029] = 0; [1030] = 0; [1031] = 0; [1032] = 0; [1033] = 0; [1034] = 0; [1035] = 0; [1036] = 0; [1037] = 0; [1038] = 0; [1039] = 0; [1040] = 0; [1041] = 0; [1042] = 0; [1043] = 0; [1044] = 0; [1045] = 0; [1046] = 0; [1047] = 0; [1048] = 0; [1049] = 0; [1050] = 0; [1051] = 0; [1052] = 0; [1053] = 0; [1054] = 0; [1055] = 0; [1056] = 0; [1057] = 0; [1058] = 0; [1059] = 0; [1060] = 0; [1061] = 0; [1062] = 0; [1063] = 0; [1064] = 0; [1065] = 0; [1066] = 0; [1067] = 0; [1068] = 0; [1069] = 0; [1070] = 0; [1071] = 0; [1072] = 0; [1073] = 0; [1074] = 0; [1075] = 0; [1076] = 0; [1077] = 0; [1078] = 0; [1079] = 0; [1080] = 0; [1081] = 0; [1082] = 0; [1083] = 0; [1084] = 0; [1085] = 0; [1086] = 0; [1087] = 0; [1088] = 0; [1089] = 0; [1090] = 0; [1091] = 0; [1092] = 0; [1093] = 0; [1094] = 0; [1095] = 0; [1096] = 0; [1097] = 0; [1098] = 0; [1099] = 0; [1100] = 0; [1101] = 0; [1102] = 0; [1103] = 0; [1104] = 0; [1105] = 0; [1106] = 0; [1107] = 0; [1108] = 0; [1109] = 0; [1110] = 0; [1111] = 0; [1112] = 0; [1113] = 0; [1114] = 0; [1115] = 0; [1116] = 0; [1117] = 0; [1118] = 0; [1119] = 0; [1120] = 0; [1121] = 0; [1122] = 0; [1123] = 0; [1124] = 0; [1125] = 0; [1126] = 0; [1127] = 0; [1128] = 0; [1129] = 0; [1130] = 0; [1131] = 0; [1132] = 0; [1133] = 0; [1134] = 0; [1135] = 0; [1136] = 0; [1137] = 0; [1138] = 0; [1139] = 0; [1140] = 0; [1141] = 0; [1142] = 0; [1143] = 0; [1144] = 0; [1145] = 0; [1146] = 0; [1147] = 0; [1148] = 0; [1149] = 0; [1150] = 0; [1151] = 0; [1152] = 0; [1153] = 0; [1154] = 0; [1155] = 0; [1156] = 0; [1157] = 0; [1158] = 0; [1159] = 0; [1160] = 0; [1161] = 0; [1162] = 0; [1163] = 0; [1164] = 0; [1165] = 0; [1166] = 0; [1167] = 0; [1168] = 0; [1169] = 0; [1170] = 0; [1171] = 0; [1172] = 0; [1173] = 0; [1174] = 0; [1175] = 0; [1176] = 0; [1177] = 0; [1178] = 0; [1179] = 0; [1180] = 0; [1181] = 0; [1182] = 0; [1183] = 0; [1184] = 0; [1185] = 0; [1186] = 0; [1187] = 0; [1188] = 0; [1189] = 0; [1190] = 0; [1191] = 0; [1192] = 0; [1193] = 0; [1194] = 0; [1195] = 0; [1196] = 0; [1197] = 0; [1198] = 0; [1199] = 0; [1200] = 0; [1201] = 0; [1202] = 0; [1203] = 0; [1204] = 0; [1205] = 0; [1206] = 0; [1207] = 0; [1208] = 0; [1209] = 0; [1210] = 0; [1211] = 0; [1212] = 0; [1213] = 0; [1214] = 0; [1215] = 0; [1216] = 0; [1217] = 0; [1218] = 0; [1219] = 0; [1220] = 0; [1221] = 0; [1222] = 0; [1223] = 0; [1224] = 0; [1225] = 0; [1226] = 0; [1227] = 0; [1228] = 0; [1229] = 0; [1230] = 0; [1231] = 0; [1232] = 0; [1233] = 0; [1234] = 0; [1235] = 0; [1236] = 0; [1237] = 0; [1238] = 0; [1239] = 0; [1240] = 0; [1241] = 0; [1242] = 0; [1243] = 0; [1244] = 0; [1245] = 0; [1246] = 0; [1247] = 0; [1248] = 0; [1249] = 0; [1250] = 0; [1251] = 0; [1252] = 0; [1253] = 0; [1254] = 0; [1255] = 0; [1256] = 0; [1257] = 0; [1258] = 0; [1259] = 0; [1260] = 0; [1261] = 0; [1262] = 0; [1263] = 0; [1264] = 0; [1265] = 0; [1266] = 0; [1267] = 0; [1268] = 0; [1269] = 0; [1270] = 0; [1271] = 0; [1272] = 0; [1273] = 0; [1274] = 0; [1275] = 0; [1276] = 0; [1277] = 0; [1278] = 0; [1279] = 0; [1280] = 0; [1281] = 0; [1282] = 0; [1283] = 0; [1284] = 0; [1285] = 0; [1286] = 0; [1287] = 0; [1288] = 0; [1289] = 0; [1290] = 0; [1291] = 0; [1292] = 0; [1293] = 0; [1294] = 0; [1295] = 0; [1296] = 0; [1297] = 0; [1298] = 0; [1299] = 0; [1300] = 0; [1301] = 0; [1302] = 0; [1303] = 0; [1304] = 0; [1305] = 0; [1306] = 0; [1307] = 0; [1308] = 0; [1309] = 0; [1310] = 0; [1311] = 0; [1312] = 0; [1313] = 0; [1314] = 0; [1315] = 0; [1316] = 0; [1317] = 0; [1318] = 0; [1319] = 0; [1320] = 0; [1321] = 0; [1322] = 0; [1323] = 0; [1324] = 0; [1325] = 0; [1326] = 0; [1327] = 0; [1328] = 0; [1329] = 0; [1330] = 0; [1331] = 0; [1332] = 0; [1333] = 0; [1334] = 0; [1335] = 0; [1336] = 0; [1337] = 0; [1338] = 0; [1339] = 0; [1340] = 0; [1341] = 0; [1342] = 0; [1343] = 0; [1344] = 0; [1345] = 0; [1346] = 0; [1347] = 0; [1348] = 0; [1349] = 0; [1350] = 0; [1351] = 0; [1352] = 0; [1353] = 0; [1354] = 0; [1355] = 0; [1356] = 0; [1357] = 0; [1358] = 0; [1359] = 0; [1360] = 0; [1361] = 0; [1362] = 0; [1363] = 0; [1364] = 0; [1365] = 0; [1366] = 0; [1367] = 0; [1368] = 0; [1369] = 0; [1370] = 0; [1371] = 0; [1372] = 0; [1373] = 0; [1374] = 0; [1375] = 0; [1376] = 0; [1377] = 0; [1378] = 0; [1379] = 0; [1380] = 0; [1381] = 0; [1382] = 0; [1383] = 0; [1384] = 0; [1385] = 0; [1386] = 0; [1387] = 0; [1388] = 0; [1389] = 0; [1390] = 0; [1391] = 0; [1392] = 0; [1393] = 0; [1394] = 0; [1395] = 0; [1396] = 0; [1397] = 0; [1398] = 0; [1399] = 0; [1400] = 0; [1401] = 0; [1402] = 0; [1403] = 0; [1404] = 0; [1405] = 0; [1406] = 0; [1407] = 0; [1408] = 0; [1409] = 0; [1410] = 0; [1411] = 0; [1412] = 0; [1413] = 0; [1414] = 0; [1415] = 0; [1416] = 0; [1417] = 0; [1418] = 0; [1419] = 0; [1420] = 0; [1421] = 0; [1422] = 0; [1423] = 0; [1424] = 0; [1425] = 0; [1426] = 0; [1427] = 0; [1428] = 0; [1429] = 0; [1430] = 0; [1431] = 0; [1432] = 0; [1433] = 0; [1434] = 0; [1435] = 0; [1436] = 0; [1437] = 0; [1438] = 0; [1439] = 0; [1440] = 0; [1441] = 0; [1442] = 0; [1443] = 0; [1444] = 0; [1445] = 0; [1446] = 0; [1447] = 0; [1448] = 0; [1449] = 0; [1450] = 0; [1451] = 0; [1452] = 0; [1453] = 0; [1454] = 0; [1455] = 0; [1456] = 0; [1457] = 0; [1458] = 0; [1459] = 0; [1460] = 0; [1461] = 0; [1462] = 0; [1463] = 0; [1464] = 0; [1465] = 0; [1466] = 0; [1467] = 0; [1468] = 0; [1469] = 0; [1470] = 0; [1471] = 0; [1472] = 0; [1473] = 0; [1474] = 0; [1475] = 0; [1476] = 0; [1477] = 0; [1478] = 0; [1479] = 0; [1480] = 0; [1481] = 0; [1482] = 0; [1483] = 0; [1484] = 0; [1485] = 0; [1486] = 0; [1487] = 0; [1488] = 0; [1489] = 0; [1490] = 0; [1491] = 0; [1492] = 0; [1493] = 0; [1494] = 0; [1495] = 0; [1496] = 0; [1497] = 0; [1498] = 0; [1499] = 0; [1500] = 0; [1501] = 0; [1502] = 0; [1503] = 0; [1504] = 0; [1505] = 0; [1506] = 0; [1507] = 0; [1508] = 0; [1509] = 0; [1510] = 0; [1511] = 0; [1512] = 0; [1513] = 0; [1514] = 0; [1515] = 0; [1516] = 0; [1517] = 0; [1518] = 0; [1519] = 0; [1520] = 0; [1521] = 0; [1522] = 0; [1523] = 0; [1524] = 0; [1525] = 0; [1526] = 0; [1527] = 0; [1528] = 0; [1529] = 0; [1530] = 0; [1531] = 0; [1532] = 0; [1533] = 0; [1534] = 0; [1535] = 0; [1536] = 0; [1537] = 0; [1538] = 0; [1539] = 0; [1540] = 0; [1541] = 0; [1542] = 0; [1543] = 0; [1544] = 0; [1545] = 0; [1546] = 0; [1547] = 0; [1548] = 0; [1549] = 0; [1550] = 0; [1551] = 0; [1552] = 0; [1553] = 0; [1554] = 0; [1555] = 0; [1556] = 0; [1557] = 0; [1558] = 0; [1559] = 0; [1560] = 0; [1561] = 0; [1562] = 0; [1563] = 0; [1564] = 0; [1565] = 0; [1566] = 0; [1567] = 0; [1568] = 0; [1569] = 0; [1570] = 0; [1571] = 0; [1572] = 0; [1573] = 0; [1574] = 0; [1575] = 0; [1576] = 0; [1577] = 0; [1578] = 0; [1579] = 0; [1580] = 0; [1581] = 0; [1582] = 0; [1583] = 0; [1584] = 0; [1585] = 0; [1586] = 0; [1587] = 0; [1588] = 0; [1589] = 0; [1590] = 0; [1591] = 0; [1592] = 0; [1593] = 0; [1594] = 0; [1595] = 0; [1596] = 0; [1597] = 0; [1598] = 0; [1599] = 0; [1600] = 0; [1601] = 0; [1602] = 0; [1603] = 0; [1604] = 0; [1605] = 0; [1606] = 0; [1607] = 0; [1608] = 0; [1609] = 0; [1610] = 0; [1611] = 0; [1612] = 0; [1613] = 0; [1614] = 0; [1615] = 0; [1616] = 0; [1617] = 0; [1618] = 0; [1619] = 0; [1620] = 0; [1621] = 0; [1622] = 0; [1623] = 0; [1624] = 0; [1625] = 0; [1626] = 0; [1627] = 0; [1628] = 0; [1629] = 0; [1630] = 0; [1631] = 0; [1632] = 0; [1633] = 0; [1634] = 0; [1635] = 0; [1636] = 0; [1637] = 0; [1638] = 0; [1639] = 0; [1640] = 0; [1641] = 0; [1642] = 0; [1643] = 0; [1644] = 0; [1645] = 0; [1646] = 0; [1647] = 0; [1648] = 0; [1649] = 0; [1650] = 0; [1651] = 0; [1652] = 0; [1653] = 0; [1654] = 0; [1655] = 0; [1656] = 0; [1657] = 0; [1658] = 0; [1659] = 0; [1660] = 0; [1661] = 0; [1662] = 0; [1663] = 0; [1664] = 0; [1665] = 0; [1666] = 0; [1667] = 0; [1668] = 0; [1669] = 0; [1670] = 0; [1671] = 0; [1672] = 0; [1673] = 0; [1674] = 0; [1675] = 0; [1676] = 0; [1677] = 0; [1678] = 0; [1679] = 0; [1680] = 0; [1681] = 0; [1682] = 0; [1683] = 0; [1684] = 0; [1685] = 0; [1686] = 0; [1687] = 0; [1688] = 0; [1689] = 0; [1690] = 0; [1691] = 0; [1692] = 0; [1693] = 0; [1694] = 0; [1695] = 0; [1696] = 0; [1697] = 0; [1698] = 0; [1699] = 0; [1700] = 0; [1701] = 0; [1702] = 0; [1703] = 0; [1704] = 0; [1705] = 0; [1706] = 0; [1707] = 0; [1708] = 0; [1709] = 0; [1710] = 0; [1711] = 0; [1712] = 0; [1713] = 0; [1714] = 0; [1715] = 0; [1716] = 0; [1717] = 0; [1718] = 0; [1719] = 0; [1720] = 0; [1721] = 0; [1722] = 0; [1723] = 0; [1724] = 0; [1725] = 0; [1726] = 0; [1727] = 0; [1728] = 0; [1729] = 0; [1730] = 0; [1731] = 0; [1732] = 0; [1733] = 0; [1734] = 0; [1735] = 0; [1736] = 0; [1737] = 0; [1738] = 0; [1739] = 0; [1740] = 0; [1741] = 0; [1742] = 0; [1743] = 0; [1744] = 0; [1745] = 0; [1746] = 0; [1747] = 0; [1748] = 0; [1749] = 0; [1750] = 0; [1751] = 0; [1752] = 0; [1753] = 0; [1754] = 0; [1755] = 0; [1756] = 0; [1757] = 0; [1758] = 0; [1759] = 0; [1760] = 0; [1761] = 0; [1762] = 0; [1763] = 0; [1764] = 0; [1765] = 0; [1766] = 0; [1767] = 0; [1768] = 0; [1769] = 0; [1770] = 0; [1771] = 0; [1772] = 0; [1773] = 0; [1774] = 0; [1775] = 0; [1776] = 0; [1777] = 0; [1778] = 0; [1779] = 0; [1780] = 0; [1781] = 0; [1782] = 0; [1783] = 0; [1784] = 0; [1785] = 0; [1786] = 0; [1787] = 0; [1788] = 0; [1789] = 0; [1790] = 0; [1791] = 0; [1792] = 0; [1793] = 0; [1794] = 0; [1795] = 0; [1796] = 0; [1797] = 0; [1798] = 0; [1799] = 0; [1800] = 0; [1801] = 0; [1802] = 0; [1803] = 0; [1804] = 0; [1805] = 0; [1806] = 0; [1807] = 0; [1808] = 0; [1809] = 0; [1810] = 0; [1811] = 0; [1812] = 0; [1813] = 0; [1814] = 0; [1815] = 0; [1816] = 0; [1817] = 0; [1818] = 0; [1819] = 0; [1820] = 0; [1821] = 0; [1822] = 0; [1823] = 0; [1824] = 0; [1825] = 0; [1826] = 0; [1827] = 0; [1828] = 0; [1829] = 0; [1830] = 0; [1831] = 0; [1832] = 0; [1833] = 0; [1834] = 0; [1835] = 0; [1836] = 0; [1837] = 0; [1838] = 0; [1839] = 0; [1840] = 0; [1841] = 0; [1842] = 0; [1843] = 0; [1844] = 0; [1845] = 0; [1846] = 0; [1847] = 0; [1848] = 0; [1849] = 0; [1850] = 0; [1851] = 0; [1852] = 0; [1853] = 0; [1854] = 0; [1855] = 0; [1856] = 0; [1857] = 0; [1858] = 0; [1859] = 0; [1860] = 0; [1861] = 0; [1862] = 0; [1863] = 0; [1864] = 0; [1865] = 0; [1866] = 0; [1867] = 0; [1868] = 0; [1869] = 0; [1870] = 0; [1871] = 0; [1872] = 0; [1873] = 0; [1874] = 0; [1875] = 0; [1876] = 0; [1877] = 0; [1878] = 0; [1879] = 0; [1880] = 0; [1881] = 0; [1882] = 0; [1883] = 0; [1884] = 0; [1885] = 0; [1886] = 0; [1887] = 0; [1888] = 0; [1889] = 0; [1890] = 0; [1891] = 0; [1892] = 0; [1893] = 0; [1894] = 0; [1895] = 0; [1896] = 0; [1897] = 0; [1898] = 0; [1899] = 0; [1900] = 0; [1901] = 0; [1902] = 0; [1903] = 0; [1904] = 0; [1905] = 0; [1906] = 0; [1907] = 0; [1908] = 0; [1909] = 0; [1910] = 0; [1911] = 0; [1912] = 0; [1913] = 0; [1914] = 0; [1915] = 0; [1916] = 0; [1917] = 0; [1918] = 0; [1919] = 0; [1920] = 0; [1921] = 0; [1922] = 0; [1923] = 0; [1924] = 0; [1925] = 0; [1926] = 0; [1927] = 0; [1928] = 0; [1929] = 0; [1930] = 0; [1931] = 0; [1932] = 0; [1933] = 0; [1934] = 0; [1935] = 0; [1936] = 0; [1937] = 0; [1938] = 0; [1939] = 0; [1940] = 0; [1941] = 0; [1942] = 0; [1943] = 0; [1944] = 0; [1945] = 0; [1946] = 0; [1947] = 0; [1948] = 0; [1949] = 0; [1950] = 0; [1951] = 0; [1952] = 0; [1953] = 0; [1954] = 0; [1955] = 0; [1956] = 0; [1957] = 0; [1958] = 0; [1959] = 0; [1960] = 0; [1961] = 0; [1962] = 0; [1963] = 0; [1964] = 0; [1965] = 0; [1966] = 0; [1967] = 0; [1968] = 0; [1969] = 0; [1970] = 0; [1971] = 0; [1972] = 0; [1973] = 0; [1974] = 0; [1975] = 0; [1976] = 0; [1977] = 0; [1978] = 0; [1979] = 0; [1980] = 0; [1981] = 0; [1982] = 0; [1983] = 0; [1984] = 0; [1985] = 0; [1986] = 0; [1987] = 0; [1988] = 0; [1989] = 0; [1990] = 0; [1991] = 0; [1992] = 0; [1993] = 0; [1994] = 0; [1995] = 0; [1996] = 0; [1997] = 0; [1998] = 0; [1999] = 0; [2000] = 0; [2001] = 0; [2002] = 0; [2003] = 0; [2004] = 0; [2005] = 0; [2006] = 0; [2007] = 0; [2008] = 0; [2009] = 0; [2010] = 0; [2011] = 0; [2012] = 0; [2013] = 0; [2014] = 0; [2015] = 0; [2016] = 0; [2017] = 0; [2018] = 0; [2019] = 0; [2020] = 0; [2021] = 0; [2022] = 0; [2023] = 0; [2024] = 0; [2025] = 0; [2026] = 0; [2027] = 0; [2028] = 0; [2029] = 0; [2030] = 0; [2031] = 0; [2032] = 0; [2033] = 0; [2034] = 0; [2035] = 0; [2036] = 0; [2037] = 0; [2038] = 0; [2039] = 0; [2040] = 0; [2041] = 0; [2042] = 0; [2043] = 0; [2044] = 0; [2045] = 0; [2046] = 0; [2047] = 0; [2048] = 0; [2049] = 0; [2050] = 0; [2051] = 0; [2052] = 0; [2053] = 0; [2054] = 0; [2055] = 0; [2056] = 0; [2057] = 0; [2058] = 0; [2059] = 0; [2060] = 0; [2061] = 0; [2062] = 0; [2063] = 0; [2064] = 0; [2065] = 0; [2066] = 0; [2067] = 0; [2068] = 0; [2069] = 0; [2070] = 0; [2071] = 0; [2072] = 0; [2073] = 0; [2074] = 0; [2075] = 0; [2076] = 0; [2077] = 0; [2078] = 0; [2079] = 0; [2080] = 0; [2081] = 0; [2082] = 0; [2083] = 0; [2084] = 0; [2085] = 0; [2086] = 0; [2087] = 0; [2088] = 0; [2089] = 0; [2090] = 0; [2091] = 0; [2092] = 0; [2093] = 0; [2094] = 0; [2095] = 0; [2096] = 0; [2097] = 0; [2098] = 0; [2099] = 0; [2100] = 0; [2101] = 0; [2102] = 0; [2103] = 0; [2104] = 0; [2105] = 0; [2106] = 0; [2107] = 0; [2108] = 0; [2109] = 0; [2110] = 0; [2111] = 0; [2112] = 0; [2113] = 0; [2114] = 0; [2115] = 0; [2116] = 0; [2117] = 0; [2118] = 0; [2119] = 0; [2120] = 0; [2121] = 0; [2122] = 0; [2123] = 0; [2124] = 0; [2125] = 0; [2126] = 0; [2127] = 0; [2128] = 0; [2129] = 0; [2130] = 0; [2131] = 0; [2132] = 0; [2133] = 0; [2134] = 0; [2135] = 0; [2136] = 0; [2137] = 0; [2138] = 0; [2139] = 0; [2140] = 0; [2141] = 0; [2142] = 0; [2143] = 0; [2144] = 0; [2145] = 0; [2146] = 0; [2147] = 0; [2148] = 0; [2149] = 0; [2150] = 0; [2151] = 0; [2152] = 0; [2153] = 0; [2154] = 0; [2155] = 0; [2156] = 0; [2157] = 0; [2158] = 0; [2159] = 0; [2160] = 0; [2161] = 0; [2162] = 0; [2163] = 0; [2164] = 0; [2165] = 0; [2166] = 0; [2167] = 0; [2168] = 0; [2169] = 0; [2170] = 0; [2171] = 0; [2172] = 0; [2173] = 0; [2174] = 0; [2175] = 0; [2176] = 0; [2177] = 0; [2178] = 0; [2179] = 0; [2180] = 0; [2181] = 0; [2182] = 0; [2183] = 0; [2184] = 0; [2185] = 0; [2186] = 0; [2187] = 0; [2188] = 0; [2189] = 0; [2190] = 0; [2191] = 0; [2192] = 0; [2193] = 0; [2194] = 0; [2195] = 0; [2196] = 0; [2197] = 0; [2198] = 0; [2199] = 0; [2200] = 0; [2201] = 0; [2202] = 0; [2203] = 0; [2204] = 0; [2205] = 0; [2206] = 0; [2207] = 0; [2208] = 0; [2209] = 0; [2210] = 0; [2211] = 0; [2212] = 0; [2213] = 0; [2214] = 0; [2215] = 0; [2216] = 0; [2217] = 0; [2218] = 0; [2219] = 0; [2220] = 0; [2221] = 0; [2222] = 0; [2223] = 0; [2224] = 0; [2225] = 0; [2226] = 0; [2227] = 0; [2228] = 0; [2229] = 0; [2230] = 0; [2231] = 0; [2232] = 0; [2233] = 0; [2234] = 0; [2235] = 0; [2236] = 0; [2237] = 0; [2238] = 0; [2239] = 0; [2240] = 0; [2241] = 0; [2242] = 0; [2243] = 0; [2244] = 0; [2245] = 0; [2246] = 0; [2247] = 0; [2248] = 0; [2249] = 0; [2250] = 0; [2251] = 0; [2252] = 0; [2253] = 0; [2254] = 0; [2255] = 0; [2256] = 0; [2257] = 0; [2258] = 0; [2259] = 0; [2260] = 0; [2261] = 0; [2262] = 0; [2263] = 0; [2264] = 0; [2265] = 0; [2266] = 0; [2267] = 0; [2268] = 0; [2269] = 0; [2270] = 0; [2271] = 0; [2272] = 0; [2273] = 0; [2274] = 0; [2275] = 0; [2276] = 0; [2277] = 0; [2278] = 0; [2279] = 0; [2280] = 0; [2281] = 0; [2282] = 0; [2283] = 0; [2284] = 0; [2285] = 0; [2286] = 0; [2287] = 0; [2288] = 0; [2289] = 0; [2290] = 0; [2291] = 0; [2292] = 0; [2293] = 0; [2294] = 0; [2295] = 0; [2296] = 0; [2297] = 0; [2298] = 0; [2299] = 0; [2300] = 0; [2301] = 0; [2302] = 0; [2303] = 0; [2304] = 0; [2305] = 0; [2306] = 0; [2307] = 0; [2308] = 0; [2309] = 0; [2310] = 0; [2311] = 0; [2312] = 0; [2313] = 0; [2314] = 0; [2315] = 0; [2316] = 0; [2317] = 0; [2318] = 0; [2319] = 0; [2320] = 0; [2321] = 0; [2322] = 0; [2323] = 0; [2324] = 0; [2325] = 0; [2326] = 0; [2327] = 0; [2328] = 0; [2329] = 0; [2330] = 0; [2331] = 0; [2332] = 0; [2333] = 0; [2334] = 0; [2335] = 0; [2336] = 0; [2337] = 0; [2338] = 0; [2339] = 0; [2340] = 0; [2341] = 0; [2342] = 0; [2343] = 0; [2344] = 0; [2345] = 0; [2346] = 0; [2347] = 0; [2348] = 0; [2349] = 0; [2350] = 0; [2351] = 0; [2352] = 0; [2353] = 0; [2354] = 0; [2355] = 0; [2356] = 0; [2357] = 0; [2358] = 0; [2359] = 0; [2360] = 0; [2361] = 0; [2362] = 0; [2363] = 0; [2364] = 0; [2365] = 0; [2366] = 0; [2367] = 0; [2368] = 0; [2369] = 0; [2370] = 0; [2371] = 0; [2372] = 0; [2373] = 0; [2374] = 0; [2375] = 0; [2376] = 0; [2377] = 0; [2378] = 0; [2379] = 0; [2380] = 0; [2381] = 0; [2382] = 0; [2383] = 0; [2384] = 0; [2385] = 0; [2386] = 0; [2387] = 0; [2388] = 0; [2389] = 0; [2390] = 0; [2391] = 0; [2392] = 0; [2393] = 0; [2394] = 0; [2395] = 0; [2396] = 0; [2397] = 0; [2398] = 0; [2399] = 0; [2400] = 0; [2401] = 0; [2402] = 0; [2403] = 0; [2404] = 0; [2405] = 0; [2406] = 0; [2407] = 0; [2408] = 0; [2409] = 0; [2410] = 0; [2411] = 0; [2412] = 0; [2413] = 0; [2414] = 0; [2415] = 0; [2416] = 0; [2417] = 0; [2418] = 0; [2419] = 0; [2420] = 0; [2421] = 0; [2422] = 0; [2423] = 0; [2424] = 0; [2425] = 0; [2426] = 0; [2427] = 0; [2428] = 0; [2429] = 0; [2430] = 0; [2431] = 0; [2432] = 0; [2433] = 0; [2434] = 0; [2435] = 0; [2436] = 0; [2437] = 0; [2438] = 0; [2439] = 0; [2440] = 0; [2441] = 0; [2442] = 0; [2443] = 0; [2444] = 0; [2445] = 0; [2446] = 0; [2447] = 0; [2448] = 0; [2449] = 0; [2450] = 0; [2451] = 0; [2452] = 0; [2453] = 0; [2454] = 0; [2455] = 0; [2456] = 0; [2457] = 0; [2458] = 0; [2459] = 0; [2460] = 0; [2461] = 0; [2462] = 0; [2463] = 0; [2464] = 0; [2465] = 0; [2466] = 0; [2467] = 0; [2468] = 0; [2469] = 0; [2470] = 0; [2471] = 0; [2472] = 0; [2473] = 0; [2474] = 0; [2475] = 0; [2476] = 0; [2477] = 0; [2478] = 0; [2479] = 0; [2480] = 0; [2481] = 0; [2482] = 0; [2483] = 0; [2484] = 0; [2485] = 0; [2486] = 0; [2487] = 0; [2488] = 0; [2489] = 0; [2490] = 0; [2491] = 0; [2492] = 0; [2493] = 0; [2494] = 0; [2495] = 0; [2496] = 0; [2497] = 0; [2498] = 0; [2499] = 0; [2500] = 0; [2501] = 0; [2502] = 0; [2503] = 0; [2504] = 0; [2505] = 0; [2506] = 0; [2507] = 0; [2508] = 0; [2509] = 0; [2510] = 0; [2511] = 0; [2512] = 0; [2513] = 0; [2514] = 0; [2515] = 0; [2516] = 0; [2517] = 0; [2518] = 0; [2519] = 0; [2520] = 0; [2521] = 0; [2522] = 0; [2523] = 0; [2524] = 0; [2525] = 0; [2526] = 0; [2527] = 0; [2528] = 0; [2529] = 0; [2530] = 0; [2531] = 0; [2532] = 0; [2533] = 0; [2534] = 0; [2535] = 0; [2536] = 0; [2537] = 0; [2538] = 0; [2539] = 0; [2540] = 0; [2541] = 0; [2542] = 0; [2543] = 0; [2544] = 0; [2545] = 0; [2546] = 0; [2547] = 0; [2548] = 0; [2549] = 0; [2550] = 0; [2551] = 0; [2552] = 0; [2553] = 0; [2554] = 0; [2555] = 0; [2556] = 0; [2557] = 0; [2558] = 0; [2559] = 0; [2560] = 0; [2561] = 0; [2562] = 0; [2563] = 0; [2564] = 0; [2565] = 0; [2566] = 0; [2567] = 0; [2568] = 0; [2569] = 0; [2570] = 0; [2571] = 0; [2572] = 0; [2573] = 0; [2574] = 0; [2575] = 0; [2576] = 0; [2577] = 0; [2578] = 0; [2579] = 0; [2580] = 0; [2581] = 0; [2582] = 0; [2583] = 0; [2584] = 0; [2585] = 0; [2586] = 0; [2587] = 0; [2588] = 0; [2589] = 0; [2590] = 0; [2591] = 0; [2592] = 0; [2593] = 0; [2594] = 0; [2595] = 0; [2596] = 0; [2597] = 0; [2598] = 0; [2599] = 0; [2600] = 0; [2601] = 0; [2602] = 0; [2603] = 0; [2604] = 0; [2605] = 0; [2606] = 0; [2607] = 0; [2608] = 0; [2609] = 0; [2610] = 0; [2611] = 0; [2612] = 0; [2613] = 0; [2614] = 0; [2615] = 0; [2616] = 0; [2617] = 0; [2618] = 0; [2619] = 0; [2620] = 0; [2621] = 0; [2622] = 0; [2623] = 0; [2624] = 0; [2625] = 0; [2626] = 0; [2627] = 0; [2628] = 0; [2629] = 0; [2630] = 0; [2631] = 0; [2632] = 0; [2633] = 0; [2634] = 0; [2635] = 0; [2636] = 0; [2637] = 0; [2638] = 0; [2639] = 0; [2640] = 0; [2641] = 0; [2642] = 0; [2643] = 0; [2644] = 0; [2645] = 0; [2646] = 0; [2647] = 0; [2648] = 0; [2649] = 0; [2650] = 0; [2651] = 0; [2652] = 0; [2653] = 0; [2654] = 0; [2655] = 0; [2656] = 0; [2657] = 0; [2658] = 0; [2659] = 0; [2660] = 0; [2661] = 0; [2662] = 0; [2663] = 0; [2664] = 0; [2665] = 0; [2666] = 0; [2667] = 0; [2668] = 0; [2669] = 0; [2670] = 0; [2671] = 0; [2672] = 0; [2673] = 0; [2674] = 0; [2675] = 0; [2676] = 0; [2677] = 0; [2678] = 0; [2679] = 0; [2680] = 0; [2681] = 0; [2682] = 0; [2683] = 0; [2684] = 0; [2685] = 0; [2686] = 0; [2687] = 0; [2688] = 0; [2689] = 0; [2690] = 0; [2691] = 0; [2692] = 0; [2693] = 0; [2694] = 0; [2695] = 0; [2696] = 0; [2697] = 0; [2698] = 0; [2699] = 0; [2700] = 0; [2701] = 0; [2702] = 0; [2703] = 0; [2704] = 0; [2705] = 0; [2706] = 0; [2707] = 0; [2708] = 0; [2709] = 0; [2710] = 0; [2711] = 0; [2712] = 0; [2713] = 0; [2714] = 0; [2715] = 0; [2716] = 0; [2717] = 0; [2718] = 0; [2719] = 0; [2720] = 0; [2721] = 0; [2722] = 0; [2723] = 0; [2724] = 0; [2725] = 0; [2726] = 0; [2727] = 0; [2728] = 0; [2729] = 0; [2730] = 0; [2731] = 0; [2732] = 0; [2733] = 0; [2734] = 0; [2735] = 0; [2736] = 0; [2737] = 0; [2738] = 0; [2739] = 0; [2740] = 0; [2741] = 0; [2742] = 0; [2743] = 0; [2744] = 0; [2745] = 0; [2746] = 0; [2747] = 0; [2748] = 0; [2749] = 0; [2750] = 0; [2751] = 0; [2752] = 0; [2753] = 0; [2754] = 0; [2755] = 0; [2756] = 0; [2757] = 0; [2758] = 0; [2759] = 0; [2760] = 0; [2761] = 0; [2762] = 0; [2763] = 0; [2764] = 0; [2765] = 0; [2766] = 0; [2767] = 0; [2768] = 0; [2769] = 0; [2770] = 0; [2771] = 0; [2772] = 0; [2773] = 0; [2774] = 0; [2775] = 0; [2776] = 0; [2777] = 0; [2778] = 0; [2779] = 0; [2780] = 0; [2781] = 0; [2782] = 0; [2783] = 0; [2784] = 0; [2785] = 0; [2786] = 0; [2787] = 0; [2788] = 0; [2789] = 0; [2790] = 0; [2791] = 0; [2792] = 0; [2793] = 0; [2794] = 0; [2795] = 0; [2796] = 0; [2797] = 0; [2798] = 0; [2799] = 0; [2800] = 0; [2801] = 0; [2802] = 0; [2803] = 0; [2804] = 0; [2805] = 0; [2806] = 0; [2807] = 0; [2808] = 0; [2809] = 0; [2810] = 0; [2811] = 0; [2812] = 0; [2813] = 0; [2814] = 0; [2815] = 0; [2816] = 0; [2817] = 0; [2818] = 0; [2819] = 0; [2820] = 0; [2821] = 0; [2822] = 0; [2823] = 0; [2824] = 0; [2825] = 0; [2826] = 0; [2827] = 0; [2828] = 0; [2829] = 0; [2830] = 0; [2831] = 0; [2832] = 0; [2833] = 0; [2834] = 0; [2835] = 0; [2836] = 0; [2837] = 0; [2838] = 0; [2839] = 0; [2840] = 0; [2841] = 0; [2842] = 0; [2843] = 0; [2844] = 0; [2845] = 0; [2846] = 0; [2847] = 0; [2848] = 0; [2849] = 0; [2850] = 0; [2851] = 0; [2852] = 0; [2853] = 0; [2854] = 0; [2855] = 0; [2856] = 0; [2857] = 0; [2858] = 0; [2859] = 0; [2860] = 0; [2861] = 0; [2862] = 0; [2863] = 0; [2864] = 0; [2865] = 0; [2866] = 0; [2867] = 0; [2868] = 0; [2869] = 0; [2870] = 0; [2871] = 0; [2872] = 0; [2873] = 0; [2874] = 0; [2875] = 0; [2876] = 0; [2877] = 0; [2878] = 0; [2879] = 0; [2880] = 0; [2881] = 0; [2882] = 0; [2883] = 0; [2884] = 0; [2885] = 0; [2886] = 0; [2887] = 0; [2888] = 0; [2889] = 0; [2890] = 0; [2891] = 0; [2892] = 0; [2893] = 0; [2894] = 0; [2895] = 0; [2896] = 0; [2897] = 0; [2898] = 0; [2899] = 0; [2900] = 0; [2901] = 0; [2902] = 0; [2903] = 0; [2904] = 0; [2905] = 0; [2906] = 0; [2907] = 0; [2908] = 0; [2909] = 0; [2910] = 0; [2911] = 0; [2912] = 0; [2913] = 0; [2914] = 0; [2915] = 0; [2916] = 0; [2917] = 0; [2918] = 0; [2919] = 0; [2920] = 0; [2921] = 0; [2922] = 0; [2923] = 0; [2924] = 0; [2925] = 0; [2926] = 0; [2927] = 0; [2928] = 0; [2929] = 0; [2930] = 0; [2931] = 0; [2932] = 0; [2933] = 0; [2934] = 0; [2935] = 0; [2936] = 0; [2937] = 0; [2938] = 0; [2939] = 0; [2940] = 0; [2941] = 0; [2942] = 0; [2943] = 0; [2944] = 0; [2945] = 0; [2946] = 0; [2947] = 0; [2948] = 0; [2949] = 0; [2950] = 0; [2951] = 0; [2952] = 0; [2953] = 0; [2954] = 0; [2955] = 0; [2956] = 0; [2957] = 0; [2958] = 0; [2959] = 0; [2960] = 0; [2961] = 0; [2962] = 0; [2963] = 0; [2964] = 0; [2965] = 0; [2966] = 0; [2967] = 0; [2968] = 0; [2969] = 0; [2970] = 0; [2971] = 0; [2972] = 0; [2973] = 0; [2974] = 0; [2975] = 0; [2976] = 0; [2977] = 0; [2978] = 0; [2979] = 0; [2980] = 0; [2981] = 0; [2982] = 0; [2983] = 0; [2984] = 0; [2985] = 0; [2986] = 0; [2987] = 0; [2988] = 0; [2989] = 0; [2990] = 0; [2991] = 0; [2992] = 0; [2993] = 0; [2994] = 0; [2995] = 0; [2996] = 0; [2997] = 0; [2998] = 0; [2999] = 0; [3000] = 0; [3001] = 0; [3002] = 0; [3003] = 0; [3004] = 0; [3005] = 0; [3006] = 0; [3007] = 0; [3008] = 0; [3009] = 0; [3010] = 0; [3011] = 0; [3012] = 0; [3013] = 0; [3014] = 0; [3015] = 0; [3016] = 0; [3017] = 0; [3018] = 0; [3019] = 0; [3020] = 0; [3021] = 0; [3022] = 0; [3023] = 0; [3024] = 0; [3025] = 0; [3026] = 0; [3027] = 0; [3028] = 0; [3029] = 0; [3030] = 0; [3031] = 0; [3032] = 0; [3033] = 0; [3034] = 0; [3035] = 0; [3036] = 0; [3037] = 0; [3038] = 0; [3039] = 0; [3040] = 0; [3041] = 0; [3042] = 0; [3043] = 0; [3044] = 0; [3045] = 0; [3046] = 0; [3047] = 0; [3048] = 0; [3049] = 0; [3050] = 0; [3051] = 0; [3052] = 0; [3053] = 0; [3054] = 0; [3055] = 0; [3056] = 0; [3057] = 0; [3058] = 0; [3059] = 0; [3060] = 0; [3061] = 0; [3062] = 0; [3063] = 0; [3064] = 0; [3065] = 0; [3066] = 0; [3067] = 0; [3068] = 0; [3069] = 0; [3070] = 0; [3071] = 0; [3072] = 0; [3073] = 0; [3074] = 0; [3075] = 0; [3076] = 0; [3077] = 0; [3078] = 0; [3079] = 0; [3080] = 0; [3081] = 0; [3082] = 0; [3083] = 0; [3084] = 0; [3085] = 0; [3086] = 0; [3087] = 0; [3088] = 0; [3089] = 0; [3090] = 0; [3091] = 0; [3092] = 0; [3093] = 0; [3094] = 0; [3095] = 0; [3096] = 0; [3097] = 0; [3098] = 0; [3099] = 0; [3100] = 0; [3101] = 0; [3102] = 0; [3103] = 0; [3104] = 0; [3105] = 0; [3106] = 0; [3107] = 0; [3108] = 0; [3109] = 0; [3110] = 0; [3111] = 0; [3112] = 0; [3113] = 0; [3114] = 0; [3115] = 0; [3116] = 0; [3117] = 0; [3118] = 0; [3119] = 0; [3120] = 0; [3121] = 0; [3122] = 0; [3123] = 0; [3124] = 0; [3125] = 0; [3126] = 0; [3127] = 0; [3128] = 0; [3129] = 0; [3130] = 0; [3131] = 0; [3132] = 0; [3133] = 0; [3134] = 0; [3135] = 0; [3136] = 0; [3137] = 0; [3138] = 0; [3139] = 0; [3140] = 0; [3141] = 0; [3142] = 0; [3143] = 0; [3144] = 0; [3145] = 0; [3146] = 0; [3147] = 0; [3148] = 0; [3149] = 0; [3150] = 0; [3151] = 0; [3152] = 0; [3153] = 0; [3154] = 0; [3155] = 0; [3156] = 0; [3157] = 0; [3158] = 0; [3159] = 0; [3160] = 0; [3161] = 0; [3162] = 0; [3163] = 0; [3164] = 0; [3165] = 0; [3166] = 0; [3167] = 0; [3168] = 0; [3169] = 0; [3170] = 0; [3171] = 0; [3172] = 0; [3173] = 0; [3174] = 0; [3175] = 0; [3176] = 0; [3177] = 0; [3178] = 0; [3179] = 0; [3180] = 0; [3181] = 0; [3182] = 0; [3183] = 0; [3184] = 0; [3185] = 0; [3186] = 0; [3187] = 0; [3188] = 0; [3189] = 0; [3190] = 0; [3191] = 0; [3192] = 0; [3193] = 0; [3194] = 0; [3195] = 0; [3196] = 0; [3197] = 0; [3198] = 0; [3199] = 0; [3200] = 0; [3201] = 0; [3202] = 0; [3203] = 0; [3204] = 0; [3205] = 0; [3206] = 0; [3207] = 0; [3208] = 0; [3209] = 0; [3210] = 0; [3211] = 0; [3212] = 0; [3213] = 0; [3214] = 0; [3215] = 0; [3216] = 0; [3217] = 0; [3218] = 0; [3219] = 0; [3220] = 0; [3221] = 0; [3222] = 0; [3223] = 0; [3224] = 0; [3225] = 0; [3226] = 0; [3227] = 0; [3228] = 0; [3229] = 0; [3230] = 0; [3231] = 0; [3232] = 0; [3233] = 0; [3234] = 0; [3235] = 0; [3236] = 0; [3237] = 0; [3238] = 0; [3239] = 0; [3240] = 0; [3241] = 0; [3242] = 0; [3243] = 0; [3244] = 0; [3245] = 0; [3246] = 0; [3247] = 0; [3248] = 0; [3249] = 0; [3250] = 0; [3251] = 0; [3252] = 0; [3253] = 0; [3254] = 0; [3255] = 0; [3256] = 0; [3257] = 0; [3258] = 0; [3259] = 0; [3260] = 0; [3261] = 0; [3262] = 0; [3263] = 0; [3264] = 0; [3265] = 0; [3266] = 0; [3267] = 0; [3268] = 0; [3269] = 0; [3270] = 0; [3271] = 0; [3272] = 0; [3273] = 0; [3274] = 0; [3275] = 0; [3276] = 0; [3277] = 0; [3278] = 0; [3279] = 0; [3280] = 0; [3281] = 0; [3282] = 0; [3283] = 0; [3284] = 0; [3285] = 0; [3286] = 0; [3287] = 0; [3288] = 0; [3289] = 0; [3290] = 0; [3291] = 0; [3292] = 0; [3293] = 0; [3294] = 0; [3295] = 0; [3296] = 0; [3297] = 0; [3298] = 0; [3299] = 0; [3300] = 0; [3301] = 0; [3302] = 0; [3303] = 0; [3304] = 0; [3305] = 0; [3306] = 0; [3307] = 0; [3308] = 0; [3309] = 0; [3310] = 0; [3311] = 0; [3312] = 0; [3313] = 0; [3314] = 0; [3315] = 0; [3316] = 0; [3317] = 0; [3318] = 0; [3319] = 0; [3320] = 0; [3321] = 0; [3322] = 0; [3323] = 0; [3324] = 0; [3325] = 0; [3326] = 0; [3327] = 0; [3328] = 0; [3329] = 0; [3330] = 0; [3331] = 0; [3332] = 0; [3333] = 0; [3334] = 0; [3335] = 0; [3336] = 0; [3337] = 0; [3338] = 0; [3339] = 0; [3340] = 0; [3341] = 0; [3342] = 0; [3343] = 0; [3344] = 0; [3345] = 0; [3346] = 0; [3347] = 0; [3348] = 0; [3349] = 0; [3350] = 0; [3351] = 0; [3352] = 0; [3353] = 0; [3354] = 0; [3355] = 0; [3356] = 0; [3357] = 0; [3358] = 0; [3359] = 0; [3360] = 0; [3361] = 0; [3362] = 0; [3363] = 0; [3364] = 0; [3365] = 0; [3366] = 0; [3367] = 0; [3368] = 0; [3369] = 0; [3370] = 0; [3371] = 0; [3372] = 0; [3373] = 0; [3374] = 0; [3375] = 0; [3376] = 0; [3377] = 0; [3378] = 0; [3379] = 0; [3380] = 0; [3381] = 0; [3382] = 0; [3383] = 0; [3384] = 0; [3385] = 0; [3386] = 0; [3387] = 0; [3388] = 0; [3389] = 0; [3390] = 0; [3391] = 0; [3392] = 0; [3393] = 0; [3394] = 0; [3395] = 0; [3396] = 0; [3397] = 0; [3398] = 0; [3399] = 0; [3400] = 0; [3401] = 0; [3402] = 0; [3403] = 0; [3404] = 0; [3405] = 0; [3406] = 0; [3407] = 0; [3408] = 0; [3409] = 0; [3410] = 0; [3411] = 0; [3412] = 0; [3413] = 0; [3414] = 0; [3415] = 0; [3416] = 0; [3417] = 0; [3418] = 0; [3419] = 0; [3420] = 0; [3421] = 0; [3422] = 0; [3423] = 0; [3424] = 0; [3425] = 0; [3426] = 0; [3427] = 0; [3428] = 0; [3429] = 0; [3430] = 0; [3431] = 0; [3432] = 0; [3433] = 0; [3434] = 0; [3435] = 0; [3436] = 0; [3437] = 0; [3438] = 0; [3439] = 0; [3440] = 0; [3441] = 0; [3442] = 0; [3443] = 0; [3444] = 0; [3445] = 0; [3446] = 0; [3447] = 0; [3448] = 0; [3449] = 0; [3450] = 0; [3451] = 0; [3452] = 0; [3453] = 0; [3454] = 0; [3455] = 0; [3456] = 0; [3457] = 0; [3458] = 0; [3459] = 0; [3460] = 0; [3461] = 0; [3462] = 0; [3463] = 0; [3464] = 0; [3465] = 0; [3466] = 0; [3467] = 0; [3468] = 0; [3469] = 0; [3470] = 0; [3471] = 0; [3472] = 0; [3473] = 0; [3474] = 0; [3475] = 0; [3476] = 0; [3477] = 0; [3478] = 0; [3479] = 0; [3480] = 0; [3481] = 0; [3482] = 0; [3483] = 0; [3484] = 0; [3485] = 0; [3486] = 0; [3487] = 0; [3488] = 0; [3489] = 0; [3490] = 0; [3491] = 0; [3492] = 0; [3493] = 0; [3494] = 0; [3495] = 0; [3496] = 0; [3497] = 0; [3498] = 0; [3499] = 0; [3500] = 0; [3501] = 0; [3502] = 0; [3503] = 0; [3504] = 0; [3505] = 0; [3506] = 0; [3507] = 0; [3508] = 0; [3509] = 0; [3510] = 0; [3511] = 0; [3512] = 0; [3513] = 0; [3514] = 0; [3515] = 0; [3516] = 0; [3517] = 0; [3518] = 0; [3519] = 0; [3520] = 0; [3521] = 0; [3522] = 0; [3523] = 0; [3524] = 0; [3525] = 0; [3526] = 0; [3527] = 0; [3528] = 0; [3529] = 0; [3530] = 0; [3531] = 0; [3532] = 0; [3533] = 0; [3534] = 0; [3535] = 0; [3536] = 0; [3537] = 0; [3538] = 0; [3539] = 0; [3540] = 0; [3541] = 0; [3542] = 0; [3543] = 0; [3544] = 0; [3545] = 0; [3546] = 0; [3547] = 0; [3548] = 0; [3549] = 0; [3550] = 0; [3551] = 0; [3552] = 0; [3553] = 0; [3554] = 0; [3555] = 0; [3556] = 0; [3557] = 0; [3558] = 0; [3559] = 0; [3560] = 0; [3561] = 0; [3562] = 0; [3563] = 0; [3564] = 0; [3565] = 0; [3566] = 0; [3567] = 0; [3568] = 0; [3569] = 0; [3570] = 0; [3571] = 0; [3572] = 0; [3573] = 0; [3574] = 0; [3575] = 0; [3576] = 0; [3577] = 0; [3578] = 0; [3579] = 0; [3580] = 0; [3581] = 0; [3582] = 0; [3583] = 0; [3584] = 0; [3585] = 0; [3586] = 0; [3587] = 0; [3588] = 0; [3589] = 0; [3590] = 0; [3591] = 0; [3592] = 0; [3593] = 0; [3594] = 0; [3595] = 0; [3596] = 0; [3597] = 0; [3598] = 0; [3599] = 0; [3600] = 0; [3601] = 0; [3602] = 0; [3603] = 0; [3604] = 0; [3605] = 0; [3606] = 0; [3607] = 0; [3608] = 0; [3609] = 0; [3610] = 0; [3611] = 0; [3612] = 0; [3613] = 0; [3614] = 0; [3615] = 0; [3616] = 0; [3617] = 0; [3618] = 0; [3619] = 0; [3620] = 0; [3621] = 0; [3622] = 0; [3623] = 0; [3624] = 0; [3625] = 0; [3626] = 0; [3627] = 0; [3628] = 0; [3629] = 0; [3630] = 0; [3631] = 0; [3632] = 0; [3633] = 0; [3634] = 0; [3635] = 0; [3636] = 0; [3637] = 0; [3638] = 0; [3639] = 0; [3640] = 0; [3641] = 0; [3642] = 0; [3643] = 0; [3644] = 0; [3645] = 0; [3646] = 0; [3647] = 0; [3648] = 0; [3649] = 0; [3650] = 0; [3651] = 0; [3652] = 0; [3653] = 0; [3654] = 0; [3655] = 0; [3656] = 0; [3657] = 0; [3658] = 0; [3659] = 0; [3660] = 0; [3661] = 0; [3662] = 0; [3663] = 0; [3664] = 0; [3665] = 0; [3666] = 0; [3667] = 0; [3668] = 0; [3669] = 0; [3670] = 0; [3671] = 0; [3672] = 0; [3673] = 0; [3674] = 0; [3675] = 0; [3676] = 0; [3677] = 0; [3678] = 0; [3679] = 0; [3680] = 0; [3681] = 0; [3682] = 0; [3683] = 0; [3684] = 0; [3685] = 0; [3686] = 0; [3687] = 0; [3688] = 0; [3689] = 0; [3690] = 0; [3691] = 0; [3692] = 0; [3693] = 0; [3694] = 0; [3695] = 0; [3696] = 0; [3697] = 0; [3698] = 0; [3699] = 0; [3700] = 0; [3701] = 0; [3702] = 0; [3703] = 0; [3704] = 0; [3705] = 0; [3706] = 0; [3707] = 0; [3708] = 0; [3709] = 0; [3710] = 0; [3711] = 0; [3712] = 0; [3713] = 0; [3714] = 0; [3715] = 0; [3716] = 0; [3717] = 0; [3718] = 0; [3719] = 0; [3720] = 0; [3721] = 0; [3722] = 0; [3723] = 0; [3724] = 0; [3725] = 0; [3726] = 0; [3727] = 0; [3728] = 0; [3729] = 0; [3730] = 0; [3731] = 0; [3732] = 0; [3733] = 0; [3734] = 0; [3735] = 0; [3736] = 0; [3737] = 0; [3738] = 0; [3739] = 0; [3740] = 0; [3741] = 0; [3742] = 0; [3743] = 0; [3744] = 0; [3745] = 0; [3746] = 0; [3747] = 0; [3748] = 0; [3749] = 0; [3750] = 0; [3751] = 0; [3752] = 0; [3753] = 0; [3754] = 0; [3755] = 0; [3756] = 0; [3757] = 0; [3758] = 0; [3759] = 0; [3760] = 0; [3761] = 0; [3762] = 0; [3763] = 0; [3764] = 0; [3765] = 0; [3766] = 0; [3767] = 0; [3768] = 0; [3769] = 0; [3770] = 0; [3771] = 0; [3772] = 0; [3773] = 0; [3774] = 0; [3775] = 0; [3776] = 0; [3777] = 0; [3778] = 0; [3779] = 0; [3780] = 0; [3781] = 0; [3782] = 0; [3783] = 0; [3784] = 0; [3785] = 0; [3786] = 0; [3787] = 0; [3788] = 0; [3789] = 0; [3790] = 0; [3791] = 0; [3792] = 0; [3793] = 0; [3794] = 0; [3795] = 0; [3796] = 0; [3797] = 0; [3798] = 0; [3799] = 0; [3800] = 0; [3801] = 0; [3802] = 0; [3803] = 0; [3804] = 0; [3805] = 0; [3806] = 0; [3807] = 0; [3808] = 0; [3809] = 0; [3810] = 0; [3811] = 0; [3812] = 0; [3813] = 0; [3814] = 0; [3815] = 0; [3816] = 0; [3817] = 0; [3818] = 0; [3819] = 0; [3820] = 0; [3821] = 0; [3822] = 0; [3823] = 0; [3824] = 0; [3825] = 0; [3826] = 0; [3827] = 0; [3828] = 0; [3829] = 0; [3830] = 0; [3831] = 0; [3832] = 0; [3833] = 0; [3834] = 0; [3835] = 0; [3836] = 0; [3837] = 0; [3838] = 0; [3839] = 0; [3840] = 0; [3841] = 0; [3842] = 0; [3843] = 0; [3844] = 0; [3845] = 0; [3846] = 0; [3847] = 0; [3848] = 0; [3849] = 0; [3850] = 0; [3851] = 0; [3852] = 0; [3853] = 0; [3854] = 0; [3855] = 0; [3856] = 0; [3857] = 0; [3858] = 0; [3859] = 0; [3860] = 0; [3861] = 0; [3862] = 0; [3863] = 0; [3864] = 0; [3865] = 0; [3866] = 0; [3867] = 0; [3868] = 0; [3869] = 0; [3870] = 0; [3871] = 0; [3872] = 0; [3873] = 0; [3874] = 0; [3875] = 0; [3876] = 0; [3877] = 0; [3878] = 0; [3879] = 0; [3880] = 0; [3881] = 0; [3882] = 0; [3883] = 0; [3884] = 0; [3885] = 0; [3886] = 0; [3887] = 0; [3888] = 0; [3889] = 0; [3890] = 0; [3891] = 0; [3892] = 0; [3893] = 0; [3894] = 0; [3895] = 0; [3896] = 0; [3897] = 0; [3898] = 0; [3899] = 0; [3900] = 0; [3901] = 0; [3902] = 0; [3903] = 0; [3904] = 0; [3905] = 0; [3906] = 0; [3907] = 0; [3908] = 0; [3909] = 0; [3910] = 0; [3911] = 0; [3912] = 0; [3913] = 0; [3914] = 0; [3915] = 0; [3916] = 0; [3917] = 0; [3918] = 0; [3919] = 0; [3920] = 0; [3921] = 0; [3922] = 0; [3923] = 0; [3924] = 0; [3925] = 0; [3926] = 0; [3927] = 0; [3928] = 0; [3929] = 0; [3930] = 0; [3931] = 0; [3932] = 0; [3933] = 0; [3934] = 0; [3935] = 0; [3936] = 0; [3937] = 0; [3938] = 0; [3939] = 0; [3940] = 0; [3941] = 0; [3942] = 0; [3943] = 0; [3944] = 0; [3945] = 0; [3946] = 0; [3947] = 0; [3948] = 0; [3949] = 0; [3950] = 0; [3951] = 0; [3952] = 0; [3953] = 0; [3954] = 0; [3955] = 0; [3956] = 0; [3957] = 0; [3958] = 0; [3959] = 0; [3960] = 0; [3961] = 0; [3962] = 0; [3963] = 0; [3964] = 0; [3965] = 0; [3966] = 0; [3967] = 0; [3968] = 0; [3969] = 0; [3970] = 0; [3971] = 0; [3972] = 0; [3973] = 0; [3974] = 0; [3975] = 0; [3976] = 0; [3977] = 0; [3978] = 0; [3979] = 0; [3980] = 0; [3981] = 0; [3982] = 0; [3983] = 0; [3984] = 0; [3985] = 0; [3986] = 0; [3987] = 0; [3988] = 0; [3989] = 0; [3990] = 0; [3991] = 0; [3992] = 0; [3993] = 0; [3994] = 0; [3995] = 0; [3996] = 0; [3997] = 0; [3998] = 0; [3999] = 0; [4000] = 0; [4001] = 0; [4002] = 0; [4003] = 0; [4004] = 0; [4005] = 0; [4006] = 0; [4007] = 0; [4008] = 0; [4009] = 0; [4010] = 0; [4011] = 0; [4012] = 0; [4013] = 0; [4014] = 0; [4015] = 0; [4016] = 0; [4017] = 0; [4018] = 0; [4019] = 0; [4020] = 0; [4021] = 0; [4022] = 0; [4023] = 0; [4024] = 0; [4025] = 0; [4026] = 0; [4027] = 0; [4028] = 0; [4029] = 0; [4030] = 0; [4031] = 0; [4032] = 0; [4033] = 0; [4034] = 0; [4035] = 0; [4036] = 0; [4037] = 0; [4038] = 0; [4039] = 0; [4040] = 0; [4041] = 0; [4042] = 0; [4043] = 0; [4044] = 0; [4045] = 0; [4046] = 0; [4047] = 0; [4048] = 0; [4049] = 0; [4050] = 0; [4051] = 0; [4052] = 0; [4053] = 0; [4054] = 0; [4055] = 0; [4056] = 0; [4057] = 0; [4058] = 0; [4059] = 0; [4060] = 0; [4061] = 0; [4062] = 0; [4063] = 0; [4064] = 0; [4065] = 0; [4066] = 0; [4067] = 0; [4068] = 0; [4069] = 0; [4070] = 0; [4071] = 0; [4072] = 0; [4073] = 0; [4074] = 0; [4075] = 0; [4076] = 0; [4077] = 0; [4078] = 0; [4079] = 0; [4080] = 0; [4081] = 0; [4082] = 0; [4083] = 0; [4084] = 0; [4085] = 0; [4086] = 0; [4087] = 0; [4088] = 0; [4089] = 0; [4090] = 0; [4091] = 0; [4092] = 0; [4093] = 0; [4094] = 0; [4095] = 0; [4096] = 0; }; ["offsetx"] = 0; ["type"] = "tilelayer"; ["width"] = 64; ["name"] = "bkg3"; ["opacity"] = 1; }; }; ["tilesets"] = { [1] = { ["tileoffset"] = { ["y"] = 0; ["x"] = 0; }; ["tiles"] = { }; ["firstgid"] = 1; ["tileheight"] = 32; ["name"] = "standin"; ["margin"] = 0; ["properties"] = { }; ["image"] = "../tile/standin.png"; ["imagewidth"] = 320; ["tilecount"] = 100; ["transparentcolor"] = "#ffffff"; ["terrains"] = { }; ["spacing"] = 0; ["tilewidth"] = 32; ["imageheight"] = 320; }; [2] = { ["tileoffset"] = { ["y"] = 0; ["x"] = 0; }; ["tiles"] = { }; ["firstgid"] = 101; ["tileheight"] = 32; ["name"] = "Hetairoi"; ["margin"] = 0; ["properties"] = { }; ["image"] = "../tile/Hetairoi.png"; ["imagewidth"] = 320; ["tilecount"] = 100; ["transparentcolor"] = "#ffffff"; ["terrains"] = { }; ["spacing"] = 0; ["tilewidth"] = 32; ["imageheight"] = 320; }; [3] = { ["tileoffset"] = { ["y"] = 0; ["x"] = 0; }; ["tiles"] = { }; ["firstgid"] = 201; ["tileheight"] = 32; ["name"] = "Hetairoi_extra"; ["margin"] = 0; ["properties"] = { }; ["image"] = "../tile/Hetairoi_extra.png"; ["imagewidth"] = 320; ["tilecount"] = 100; ["transparentcolor"] = "#ffffff"; ["terrains"] = { }; ["spacing"] = 0; ["tilewidth"] = 32; ["imageheight"] = 320; }; }; ["worldY"] = 45; ["luaversion"] = 5.1; ["height"] = 64; ["worldX"] = 8; } return obj1
nilq/small-lua-stack
null
function log(phrase) a=file.open("access.log","a") if a then a:write(phrase.."\n") a:close() else print("não foi possível registrar o log") end end -- pl = serAng(100) set = wifi.setmode(wifi.STATION) wifi.sta.getap(1, listap) wifi.sta.disconnect() -- this part is only used the first time you need to connect to a network --station_cfg={} --station_cfg.ssid="" --station_cfg.pwd= "" --station_cfg.auto=true --set = wifi.sta.config(station_cfg) wifi.sta.connect() print("config ",set) print(wifi.sta.status()) local timer_count = 0; alarm_ip = tmr.create() alarm_ip:alarm(3000, 1, function() if (wifi.sta.status() ~= wifi.STA_GOTIP ) then print("no IP") else print(wifi.sta.getip()) alarm_ip:unregister() end timer_count = timer_count + 1 if (timer_count>20) then alarm_ip:unregister() end end) sntp.sync(nil, nil, nil, 1) time_repeat = 0; local alarm_porta = tmr.create():alarm(2000, tmr.ALARM_AUTO, function() if time_repeat<1 then if (gpio.read(pin_bot))==1 then print("abre porta pelo botao") sec, _, _ = rtctime.get() log("door opened through the button,,"..sec) time_repeat = 15 abre_porta() end else time_repeat = time_repeat - 1 end end) function connection(conn) print(" ||| \n") local response_local = shallow_copy(response) conn:on ("receive", function(sck, req) --print(req) local _, _, method, path_vars = string.find(req, "([A-Z]+) (.+) HTTP"); if(method=="POST")then local _, _, user, pass = string.find(req, "user=(.+)&pass=(.+)"); --local req_tab = split(req,"\n") não existe essa função print("peguei do post") print(user) --print(pass) --check if user and pass exist local done_html = [[<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> </head> <link rel="icon" href="data:;base64,iVBORw0KGgo="> <body> <title>Acesso - HackerSpace Maringá</title> <meta name="description" content="Access page"> <meta name="author" content="HS Maringa"> </body> <H1>HackerSpace Maringá</H1><br> ]] sck:on("sent", function(sock) sock:close() end) sck:send(done_html) local r = DBsearch(user,"fakedb.csv") if r ~= nil then -- r.user,r.salt,r.hash final_hash = crypto.toHex(crypto.hash("sha512",pass .. r.salt)) sec, _, _ = rtctime.get() if (final_hash == r.hash) then print("loggin allowed") log("loggin allowed,"..user..","..sec) abre_porta() else print("loggin error, wrong password") log("wrong password,"..user..","..sec) end else print("loggin error, no user") log("loggin error no user, ,"..sec) return nil end elseif(method=="GET")then if(path_vars=="/")then print("é um get /") local function sender (sck) if #response_local>0 then sck:send(table.remove(response_local,1)) else sck:close() collectgarbage(); end end sck:on("sent", sender) sender(sck) elseif(path_vars=="/log")then b=file.open("access.log","r") if(b:seek("end",-512)==nil)then print("file too short to be sent") else local str_tmp = b:read(512) local str_tmp = crypto.toHex(crypto.encrypt("AES-CBC", global_key, str_tmp)) collectgarbage(); sck:on("sent",function(sck) sck:close() end) sck:send(str_tmp) end b:close() end else print("é um outro") end end) end srv=net.createServer(net.TCP) srv:listen(80, connection) print("all good") tmr.create():alarm(30000, tmr.ALARM_AUTO, function() local sec, _, _ = rtctime.get() if last_motor_use>sec+10 then sec, _, _ = rtctime.get() log("motor time exceeded,,"..sec) gpio.write(pin_motor,gpio.LOW) end --make sure it is closed gpio.write(pin_pwm,gpio.HIGH) tmr.delay(serAng(100)) gpio.write(pin_pwm,gpio.LOW) if (wifi.sta.status() ~= wifi.STA_GOTIP) then wifi.sta.connect() end end)
nilq/small-lua-stack
null
--- -- @module UIDummy -- -- ------------------------------------------------ -- Required Modules -- ------------------------------------------------ local UIElement = require( 'src.ui.elements.UIElement' ) -- ------------------------------------------------ -- Module -- ------------------------------------------------ local UIDummy = UIElement:subclass( 'UIDummy' ) -- ------------------------------------------------ -- Constructor -- ------------------------------------------------ function UIDummy:initialize( px, py, x, y, w, h ) UIElement.initialize( self, px, py, x, y, w, h ) end return UIDummy
nilq/small-lua-stack
null
local new = require "LuaObservable.src.new" local isObservable = require "LuaObservable.src.is" local subscribe = require "LuaObservable.src.subscribe" local empty = require("LuaObservable.src.ext.empty") --[[ From Converts any table or Observables into an Observable ]] return function (object) --[[ Check if the object is an observable ]] if(isObservable(object)) then --[[ Create a new Observable where the observer is subscribed to the object ]] return new(_, function (next, err, complete, closed) --[[ In case that the Observable is closed, we need to cleanup the subscription ]] local cleanup --[[ Get the subscription ]] cleanup = subscribe(object, function (x) --[[ Check if the Observable is closed ]] if(not closed()) then --[[ Emit value if not closed ]] next(x) else --[[ Do a cleanup This is necessary specially if the source Observable emits eternally. If it is an eternal Observable and the returned Observable is already closed, we need to unsubscribe because the emissions are of no longer use. ]] cleanup() end end, err, complete) end) elseif(type(object) == "table") then --[[ Create an Observable that turns the table's contents into a sequence of emissions ]] return new(_, function (next, err, complete, closed) for k, v in ipairs(object) do next(v) if(closed()) then return end end complete() end) end return empty() end
nilq/small-lua-stack
null
object_mobile_smuggler_broker_russell = object_mobile_shared_smuggler_broker_russell:new { } ObjectTemplates:addTemplate(object_mobile_smuggler_broker_russell, "object/mobile/smuggler_broker_russell.iff")
nilq/small-lua-stack
null
--[[------------------------------------------------------------------ WEAPON ICONS Default HL2 weapon icons ]]-------------------------------------------------------------------- if CLIENT then local WEAPON_FONT = "hl2rbhud_weapon_icon"; local BRIGHT = "_b"; local W, H = 125, 90; local scale = 1.5; local W_ICONS1b = {texture = surface.GetTextureID("hl2rbhud/w_icons1b"), w = 256, h = 256}; local W_ICONS2 = {texture = surface.GetTextureID("hl2rbhud/w_icons2"), w = 256, h = 256}; local W_ICONS2b = {texture = surface.GetTextureID("hl2rbhud/w_icons2b"), w = 256, h = 256}; local W_ICONS3b = {texture = surface.GetTextureID("hl2rbhud/w_icons3b"), w = 256, h = 256}; -- Create fonts surface.CreateFont(WEAPON_FONT, { font = "HalfLife2", weight = 500, antialias = true, additive = true, size = ScreenScale(41) }); surface.CreateFont(WEAPON_FONT .. BRIGHT, { font = "HalfLife2", weight = 500, antialias = true, additive = true, blursize = ScreenScale(3.67), scanlines = ScreenScale(1.33), size = ScreenScale(41) }); -- Create function local function DrawHL2WeaponIcon(x, y, char, alpha) x = x + (W * HL2RBHUD:GetScreenScale()); y = y + (H * HL2RBHUD:GetScreenScale()); draw.SimpleText(char, WEAPON_FONT .. BRIGHT, x, y, HL2RBHUD.WEAPON_COLOUR, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER); draw.SimpleText(char, WEAPON_FONT, x, y, HL2RBHUD.WEAPON_COLOUR, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER); end -- HL2 weapon characters local HL2 = { ["weapon_crowbar"] = "c", ["weapon_pistol"] = "d", ["weapon_357"] = "e", ["weapon_smg1"] = "a", ["weapon_ar2"] = "l", ["weapon_shotgun"] = "b", ["weapon_crossbow"] = "g", ["weapon_rpg"] = "i", ["weapon_frag"] = "k", ["weapon_slam"] = "o", ["weapon_stunstick"] = "n", ["weapon_bugbait"] = "j", ["weapon_physcannon"] = "m", ["weapon_physgun"] = "h" }; -- Add default Half-Life 2 weapons for class, icon in pairs(HL2) do HL2RBHUD:AddWeaponIcon(class, function(x, y) DrawHL2WeaponIcon(x, y, icon); end, true); end -- Add annabelle HL2RBHUD:AddSprite("ANNABELLE_ICON", W_ICONS2, 0, 128, 128, 64); HL2RBHUD:AddWeaponSprite("ANNABELLE_ICON", "weapon_annabelle", true); -- Add HL2 beta weapon sprites HL2RBHUD:AddSprite("MTB_PISTOL", W_ICONS1b, 128, 0, 128, 64); HL2RBHUD:AddSprite("MTB_SMG1", W_ICONS1b, 128, 192, 128, 64); HL2RBHUD:AddSprite("MTB_SMG2", W_ICONS1b, 128, 128, 128, 64); HL2RBHUD:AddSprite("MTB_AR1", W_ICONS2b, 0, 0, 128, 64); HL2RBHUD:AddSprite("MTB_AR2", W_ICONS2b, 0, 64, 128, 64); HL2RBHUD:AddSprite("MTB_SHOTGUN", W_ICONS2b, 0, 128, 128, 64); HL2RBHUD:AddSprite("MTB_TAU", W_ICONS3b, 0, 0, 128, 64); HL2RBHUD:AddSprite("MTB_SNIPER", W_ICONS2, 0, 192, 128, 64); -- Add HL2 beta weapon icons HL2RBHUD:AddWeaponSprite("MTB_PISTOL", "tfa_hl2b_pistol", nil, scale); HL2RBHUD:AddWeaponSprite("MTB_SMG1", "tfa_hl2b_smg1", nil, scale); HL2RBHUD:AddWeaponSprite("MTB_SMG2", "tfa_hl2b_smg2", nil, scale); HL2RBHUD:AddWeaponSprite("MTB_AR1", "tfa_hl2b_ar1", nil, scale); HL2RBHUD:AddWeaponSprite("MTB_AR2", "tfa_hl2b_ar2", nil, scale); HL2RBHUD:AddWeaponSprite("MTB_SHOTGUN", "tfa_hl2b_shotgun", nil, scale); HL2RBHUD:AddWeaponSprite("MTB_TAU", "tfa_hl2b_taucannon", nil, scale); HL2RBHUD:AddWeaponSprite("MTB_SNIPER", "tfa_hl2b_sniperrifle", nil, scale); end
nilq/small-lua-stack
null
return { source = { location = 'https://ftp.gnu.org/gnu/gdb/gdb-7.12.1.tar.xz', sha256sum = '4607680b973d3ec92c30ad029f1b7dbde3876869e6b3a117d8a7e90081113186' }, build = { type = 'gnu', options = { -- specify both build and host explicitly here so a user can set -- their desired target in a project '--build=$(jagen_get_system)', '--host=$(jagen_get_system)', '--disable-binutils', '--disable-etc', '--disable-gas', '--disable-gold', '--disable-ld', '--disable-gprof', '--disable-gdbserver' } } }
nilq/small-lua-stack
null
--Beam Drawer by TAD2020 AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include('shared.lua') function ENT:Initialize() self.Entity:SetModel("models/props_c17/oildrum001.mdl") --for debuging --RDx_Beams.EntInit( self ) self.Beams = {} self.ProxiedEntities = {} end --[[ These are example functions for RDx_Beam data, override for your own use ]] function ENT:NEDT_SetNetworkData( tab ) --this function can be called anything you like, you just have to call QueryUpdate self.data = tab if not self.rp then self.rp = RecipientFilter() end self.rp:AddAllPlayers() RDx_Beams.QueryUpdate( self ) end function ENT:NEDT_Update() MsgN("Update ",tostring(self)) if self.rp then umsg.Start("RDxBeams_test", self.rp) umsg.Short( self:EntIndex() ) umsg.Char( self.data[1]) umsg.Long( self.data[2] ) umsg.End() end end function ENT:NEDT_PlayerJoin( ply ) if not self.rp then self.rp = RecipientFilter() end self.rp:AddPlayer( ply ) RDx_Beams.QueryUpdate( self ) end
nilq/small-lua-stack
null
package.path = '../src/?.lua;' .. package.path local utils = require "utils" function dofile (filename) local f = assert(loadfile(filename)) return f() end require "tableData" io.input("sdpData.txt") local sdp = io.read("*all") -- Test table -> SDP local toSDP = require "tosdp" local newSDP = toSDP.toSessionSDP(export, { role = "initiator", direction = "outgoing", sid = 1382398245712, time = 1385147470924 }) if newSDP == sdp then print("Table -> SDP tests pass") else print("Something went wrong with table -> SDP") end -- End table -> SDP -- Test SDP -> table local toTable = require "toTable" toTable._setIdCounter(0) local newTable = toTable.toSessionTable(sdp, { creator = "initiator", role = "initiator", direction = "outgoing" }) local meta = {__eq = utils.equal, __tostring = utils.tableString} utils.setMetatableRecursively(export, meta) utils.setMetatableRecursively(newTable, meta) if newTable == export then print("SDP -> table tests pass") else print("Something went wrong with SDP -> table") end -- End SDP -> table local xmlns_jingle = "urn:xmpp:jingle:1"; local jingletolua = require("jingletolua"); local xml = require("pxml"); jingletolua.init(); function testXML() print "XML -> SDP"; --local jingle_file1 = dofile("testXML/jingle.xml"); io.input("testXML/jingle.xml"); local jingle_file1 = io.read("*all"); local iq1 = xml.parse(jingle_file1) --print(jingle_file1); print(iq1); local jingle1 = iq1:get_child('jingle', xmlns_jingle); local sdp_str1 = jingletolua.toIncomingOfferSDP(jingle1); print(sdp_str1); end function testSDP() print "SDP -> XML" io.input("testXML/sdp.txt") local sdp = io.read("*all") print(sdp) local jingleTable = jingletolua.toIncomingTableOffer(sdp, "initiator") local jingleStanza = jingletolua.toJingle(jingleTable) print(jingleStanza) end testXML(); testSDP();
nilq/small-lua-stack
null
insulate("Register declaration", function() local parser = require("snabbp4.syntax.parser") local config = {preprocess = true} local input = [[ // The register stores the "previous" state of the color. // Index is the same as that used by the meter. register prev_color { width : 8; // paired w/ meters above instance_count : PORT_COUNT * PORT_COUNT; } ]] local statements = parser.parse(input, config) local register = statements[1] it("should parse register declaration node", function() local node = register.node assert.is_equal(node, "register_declaration") end) it("should count number of nested statements", function() assert.is_equal(#register.statements, 2) end) it("should parse width declaration", function() local width_declaration = register.statements[1] assert.is_equal(width_declaration.node, "width_declaration") end) it("should parse instance count statement", function() local instance_count = register.statements[2] assert.is_equal(instance_count.node, "instance_count") end) end)
nilq/small-lua-stack
null
return { version = "1.1", luaversion = "5.1", tiledversion = "1.1.5", orientation = "orthogonal", renderorder = "right-down", width = 27, height = 48, tilewidth = 15, tileheight = 15, nextobjectid = 199, properties = {}, tilesets = { { name = "tileset", firstgid = 1, tilewidth = 15, tileheight = 15, spacing = 0, margin = 0, image = "../gfx/tilesets/blocks.png", imagewidth = 150, imageheight = 15, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 15, height = 15 }, properties = {}, terrains = {}, tilecount = 10, tiles = {} }, { name = "button", firstgid = 11, tilewidth = 15, tileheight = 15, spacing = 0, margin = 0, image = "../gfx/images/button.png", imagewidth = 15, imageheight = 15, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 15, height = 15 }, properties = {}, terrains = {}, tilecount = 1, tiles = {} }, { name = "turret", firstgid = 12, tilewidth = 15, tileheight = 15, spacing = 0, margin = 0, image = "../gfx/images/turret.png", imagewidth = 30, imageheight = 15, tileoffset = { x = 0, y = 0 }, grid = { orientation = "orthogonal", width = 15, height = 15 }, properties = {}, terrains = {}, tilecount = 2, tiles = {} } }, layers = { { type = "tilelayer", name = "Tile Layer 1", x = 0, y = 0, width = 27, height = 48, visible = true, opacity = 1, offsetx = 0, offsety = 0, properties = {}, encoding = "lua", data = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 4, 4, 4, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } }, { type = "objectgroup", name = "collision", visible = true, opacity = 1, offsetx = 0, offsety = 0, draworder = "topdown", properties = {}, objects = { { id = 75, name = "", type = "", shape = "rectangle", x = 0, y = 705, width = 405, height = 15, rotation = 0, visible = true, properties = {} }, { id = 177, name = "", type = "", shape = "rectangle", x = 60, y = 675, width = 15, height = 30, rotation = 0, visible = true, properties = {} }, { id = 178, name = "", type = "", shape = "rectangle", x = 315, y = 600, width = 90, height = 15, rotation = 0, visible = true, properties = {} }, { id = 179, name = "", type = "", shape = "rectangle", x = 390, y = 615, width = 15, height = 90, rotation = 0, visible = true, properties = {} }, { id = 180, name = "", type = "", shape = "rectangle", x = 225, y = 480, width = 60, height = 15, rotation = 0, visible = true, properties = {} }, { id = 181, name = "", type = "", shape = "rectangle", x = 315, y = 390, width = 75, height = 15, rotation = 0, visible = true, properties = {} }, { id = 184, name = "", type = "", shape = "rectangle", x = 195, y = 240, width = 30, height = 315, rotation = 0, visible = true, properties = {} }, { id = 185, name = "", type = "", shape = "rectangle", x = 0, y = 225, width = 15, height = 480, rotation = 0, visible = true, properties = {} }, { id = 186, name = "", type = "", shape = "rectangle", x = 390, y = 225, width = 15, height = 375, rotation = 0, visible = true, properties = {} }, { id = 190, name = "", type = "", shape = "rectangle", x = 60, y = 585, width = 15, height = 30, rotation = 0, visible = true, properties = {} }, { id = 191, name = "", type = "", shape = "rectangle", x = 15, y = 585, width = 45, height = 15, rotation = 0, visible = true, properties = {} }, { id = 193, name = "", type = "", shape = "rectangle", x = 0, y = 0, width = 15, height = 225, rotation = 0, visible = true, properties = {} }, { id = 194, name = "", type = "", shape = "rectangle", x = 15, y = 0, width = 210, height = 15, rotation = 0, visible = true, properties = {} }, { id = 196, name = "", type = "", shape = "rectangle", x = 195, y = 15, width = 30, height = 225, rotation = 0, visible = true, properties = {} }, { id = 198, name = "", type = "", shape = "rectangle", x = 225, y = 225, width = 165, height = 15, rotation = 0, visible = true, properties = {} } } }, { type = "objectgroup", name = "Button", visible = true, opacity = 1, offsetx = 0, offsety = 0, draworder = "topdown", properties = {}, objects = { { id = 174, name = "", type = "", shape = "rectangle", x = 360, y = 390, width = 15, height = 15, rotation = 0, gid = 11, visible = true, properties = {} } } }, { type = "objectgroup", name = "Turrets", visible = true, opacity = 1, offsetx = 0, offsety = 0, draworder = "topdown", properties = {}, objects = { { id = 188, name = "", type = "", shape = "rectangle", x = 15, y = 645, width = 15, height = 15, rotation = 0, gid = 12, visible = true, properties = {} } } } } }
nilq/small-lua-stack
null
i18n.importData("fr", { police_station = "Station de police", title_notification = "Gouvernement", now_cuffed = "Vous �tes menott� !", now_uncuffed = "Libert� !", info_fine_request_before_amount = "Appuyez sur ~g~Y~s~ pour accepter l'amende de $", info_fine_request_after_amount = ", appuyez sur ~r~R~s~ pour la refuser !", request_fine_expired = "La demande de l'amende � ~r~expir�e~s~ !", pay_fine_success_before_amount = "Vous avez pay� l'amende de $", pay_fine_success_after_amount = ".", help_text_open_cloackroom = "Appuyez sur ~INPUT_CONTEXT~ pour ouvrir le ~b~vestiaire de Police", help_text_put_car_into_garage = "Appuyez sur ~INPUT_CONTEXT~ pour rentrer le ~b~v�hicule de Police", help_text_get_car_out_garage = "Appuyez sur ~INPUT_CONTEXT~ pour sortir un ~b~v�hicule de Police", help_text_put_heli_into_garage = "Appuyez sur ~INPUT_CONTEXT~ pour rentrer l'~b~h�licopt�re de Police", help_text_get_heli_out_garage = "Appuyez sur ~INPUT_CONTEXT~ pour sortir un ~b~h�licopt�re de Police", no_player_near_ped = "Aucun joueur � proximit�", no_veh_near_ped = "Aucun v�hicule � proximt�", cop_whitelist_disabled = "La whitelist police est d�sactiv�e, veuillez l'activer pour utiliser cette commande !", menu_id_card_title = "Carte d'identit�", menu_check_inventory_title = "Fouiller", menu_toggle_cuff_title = "(De)Menotter", menu_weapons_title = "Confisquer les armes", menu_force_player_get_in_car_title = "Mettre dans le v�hicule", menu_force_player_get_out_car_title = "Faire sortir du v�hicule", menu_drag_player_title = "Escorter le joueur", menu_fines_title = "Amendes", menu_check_plate_title = "Plaque d'immatriculation", menu_crochet_veh_title = "Crocheter le v�hicule", menu_global_title = "Menu Police", menu_categories_title = "Categories", menu_animations_title = "Animations", menu_citizens_title = "Citoyens", menu_vehicles_title = "V�hicules", menu_close_menu_title = "Fermer le menu", menu_anim_do_traffic_title = "Faire la circulation", menu_anim_take_notes_title = "Prendre des notes", menu_anim_standby_title = "Repos", menu_anim_standby_2_title = "Repos 2", menu_anim_Cancel_emote_title = "Annuler emote", menu_custom_amount_fine_title = "Autre montant", menu_doing_traffic_notification = "~g~Vous faites la circulation.", menu_taking_notes_notification = "~g~Vous prenez des notes.", menu_being_stand_by_notification = "~g~Vous �tes en Stand By.", menu_veh_opened_notification = "Le v�hicule est ~g~ouvert~w~.", menu_put_in_jail_title = "Put in jail", menu_arrest_title = "Arrest", menu_custom_amount_jail_title = "Custom amount in seconds", jail_notification_title = "^4[JAIL]", jail_arrest_notification_part_1 = "You got Arrested for ^1", -- send to the client after he got puted into the jail jail_arrest_notification_part_2 = " ^0seconds!", jail_weapons_removed = "Your Weapons got removed for being Arrested!", jail_not_cuffed = "Player need to be cuffed!", jail_remove_weapons_notification_part_1 = "All the weapons from ", jail_remove_weapons_notification_part_2 = " got removed.", menu_delete_vehicle_title = "Delete Vehicle", garage_global_title = "Garage de police", garage_loading = "~b~Chargement...", cloackroom_global_title = "Vestiaire Police", cloackroom_take_service_ranger_title = "Clock in as Park Ranger", cloackroom_take_service_sheriff_title = "Clock in as Sheriff", cloackroom_take_service_chp_title = "Clock in as State Trooper", cloackroom_take_service_prison_title = "Clock in as a Prison Guard", cloackroom_take_service_normal_title = "Prendre le service (uniforme)", cloackroom_take_service_hidden_title = "Prendre le service (BAC)", cloackroom_take_service_swat_title = "Prendre le service (intervention)", cloackroom_break_service_title = "Fin de service", cloackroom_add_bulletproof_vest_title = "Gilet par balle", cloackroom_remove_bulletproof_vest_title = "Enlever le Gilet par balle", cloackroom_add_yellow_vest_title = "Gilet jaune", cloackroom_remove_yellow_vest_title = "Enlever le Gilet jaune", now_in_service_notification = "Vous �tes maintenant ~g~En service", break_service_notification = "Vous avez ~r~termin� votre service", help_open_menu_notification = "Appuyer sur ~g~F5~w~ pour ouvrir le ~b~Menu Police", menu_props_title = "Objects", menu_spawn_props_title = "Placer un props", menu_spawn_barrier_title = "Spawn a police barrier", menu_spawn_work_ahead_barrier_title = "Spawn work ahead barrier", menu_remove_last_props_title = "Retirer le dernier props", menu_remove_all_props_title = "Retirer tous les props", removed_prop = "Object has been ~g~removed~w~.", removed_props = "Objects have been ~g~removed~w~.", vehicle_checking_plate_part_1 = "Le v�hicule #", -- before number plate vehicle_checking_plate_part_2 = " appartient � ", -- between number plate and player name when veh registered vehicle_checking_plate_part_3 = "", -- after player name when veh registered vehicle_checking_plate_not_registered = " n'est pas enregistr� !", -- after player name unseat_sender_notification_part_1 = "", -- before player name unseat_sender_notification_part_2 = " est sortie !", -- after player name drag_sender_notification_part_1 = "Escorte de ", -- before player name drag_sender_notification_part_2 = "", -- after player name checking_inventory_part_1 = "Items de ", checking_inventory_part_2 = " : ", checking_weapons_part_1 = "Armes de ", checking_weapons_part_2 = " : ", send_fine_request_part_1 = "Envoi d'une requ�te d'amende de $", send_fine_request_part_2 = " � ", already_have_a_pendind_fine_request = " � d�j� une demande d'amende", request_fine_timeout = " n'a pas r�pondu � la demande d'amende", request_fine_refused = " � refus� son amende", request_fine_accepted = " � pay� son amende", toggle_cuff_player_part_1 = "Tentative de mettre les menottes � ", toggle_cuff_player_part_2 = "", force_player_get_in_vehicle_part_1 = "Tentative de faire rentrer ", force_player_get_in_vehicle_part_2 = " dans le v�hicule", usage_command_setdept = "Utilisation : /setdept [ID]", usage_command_coprem = "Utilisation : /coprem [ID]", usage_command_coprank = "Utilisation : /coprank [ID] [RANG]", command_received = "Compris !", become_cop_success = "F�licitation, vous �tes d�sormais policier !~w~.", remove_from_cops = "Vous n'�tes plus policier !~w~.", no_player_with_this_id = "Aucun joueur avec cet ID !", not_enough_permission = "Vous n'avez pas la permission de faire �a !", new_dept = "Congrats, you are now part of the", same_dept = "That's the same department!", new_rank = "F�licitation, vous �tes d�sormais : ", player_not_cop = "Ce joueur n'est pas un policier", rank_not_exist = "Ce grade n'existe pas", dept_not_exist = "This department doesn't exist", armory_global_title = "Armurerie de Police", help_text_open_armory = "Appuyez sur ~INPUT_CONTEXT~ pour ouvrir l'armurerie", armory_add_bulletproof_vest_title = "Mettre le gilet par-balle", armory_remove_bulletproof_vest_title = "Retirer le gilet par-balle", armory_weapons_list = "Choisir les armes", armory_basic_kit = "Kit police de base", })
nilq/small-lua-stack
null
local Game = require 'game' local media = require 'media' local Intro = Game:addState('Intro') function Intro:draw() love.graphics.setColor(255,255,255) love.graphics.draw(media.img.intro, 0,0) love.graphics.setFont(media.fonts.ui) love.graphics.print('Press any key to start, or Esc to exit.', 10,575) love.graphics.print('Made by Kikito for Ludum Dare #30', 490,575) end function Intro:keypressed(key) if key == 'escape' then love.event.quit() else self:gotoState('Play') media.sfx.win:play() end end return Intro
nilq/small-lua-stack
null
--Nomal block print("------------start testNormalBlock------------") local m = require("elaapi") wallet = client.new("wallet_test.dat", "pwd", false) addr = wallet:getAddr() pubkey = wallet:getPubkey() assetID = m.getAssetID() m.togglemining(false) height = m.getCurrentBlockHeight() while(true) do m.discreteMining(1) currentHeight = m.getCurrentBlockHeight() print("current height:", currentHeight) if ((currentHeight - height) > 2) then break end end -- add coinbase FoundationAddress = "APMkDSkoc2D6jrQTukVTFMmsFnHGNDh3cG" ta0 = coinbase.new() temp=string.rep("00", 31) zeroHash= temp.."00" input0 = utxotxinput.new(zeroHash, 0xffff, 0) output0 = txoutput.new(assetID, 3, addr) output01 = txoutput.new(assetID, 7, FoundationAddress) nonce="00123456" attr = txattribute.new(0,nonce,10) tx0 = transaction.new(0x82, 4, ta0, 10) tx0:appendtxin(input0) tx0:appendtxout(output0) tx0:appendtxout(output01) tx0:appendattr(attr) tx0:sign(wallet) tx0:hash() prevHeight = m.getCurrentBlockHeight() prevHash = m.getCurrentBlockHash() prevTimeStamp = m.getCurrentTimeStamp() bits = m.getLatestBits() header = blockdata.new(0, prevHash, prevHash,prevTimeStamp+1 , bits,prevHeight+1, 0) block = block.new(header) block:appendtx(tx0) block:updataRoot() block:mining() block:hash() res = m.submitBlock(block) if (res ~= true) then print("submit block err") else print("submit block success") end
nilq/small-lua-stack
null
Config = {} Config.TackleDistance = 3.0
nilq/small-lua-stack
null
local fn = vim.fn local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim' if fn.empty(fn.glob(install_path)) > 0 then packer_bootstrap = fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path}) end return require('packer').startup(function(use) -- let packer manage itself use 'wbthomason/packer.nvim' -- theme use 'olimorris/onedarkpro.nvim' -- vim-go --use 'fatih/vim-go' -- Automatically set up your configuration after cloning packer.nvim -- Put this at the end after all plugins if packer_bootstrap then require('packer').sync() end end)
nilq/small-lua-stack
null
local status_ok, dap = pcall(require, "dap") if not status_ok then return end dap.adapters.lldb = { type = "executable", command = "/usr/bin/lldb-vscode", name = "lldb" } dap.configurations.c = { { name = "Launch", type = "lldb", request = "launch", program = function() return vim.fn.input('Path to executable: ', vim.fn.getcwd() .. '/', 'file') end, cwd = '${workspaceFolder}', stopOnEntry = false, args = {}, runInTerminal = false }, } dap.configurations.cpp = dap.configurations.c dap.configurations.rust = dap.configurations.c
nilq/small-lua-stack
null
--[[ © 2013 GmodLive private project do not share without permission of its author (Andrew Mensky vk.com/men232). --]] local greenCode = greenCode; local math = math; local PLUGIN = PLUGIN or greenCode.plugin:Loader(); PLUGIN.stored = {}; PLUGIN.buffer = {}; PLUGIN.alpha = 0; local rightBarToLeft = CreateClientConVar( "cl_gc_rightbar_toleft", 0, true ); local rightBarToDown = CreateClientConVar( "cl_gc_rightbar_down", 0, true ); local barHide = CreateClientConVar( "cl_gc_barhide", 1, true ); BAR_ALPHA = 255; --[[ Define the bar class metatable. --]] BAR_CLASS = BAR_CLASS or {__index = BAR_CLASS}; function BAR_CLASS:__call( parameter, failSafe ) return self:Query( parameter, failSafe ); end; function BAR_CLASS:__tostring() return "BAR ["..self("name").."]"; end; function BAR_CLASS:IsValid() return self.data != nil; end; function BAR_CLASS:Query( key, failSafe ) if ( self.data and self.data[key] != nil ) then return self.data[key]; else return failSafe; end; end; function BAR_CLASS:New( tMergeTable ) local object = { data = { name = "Unknown", text = "", color = Color(255,255,255), alpha = 255; x = ScrW(), y = ScrH(), idealX = ScrW(), idealY = ScrH(), width = 350, height = 10, value = 100, maximum = 100, delay = 5, hide = true, required = false, flash = false } }; if ( tMergeTable ) then table.Merge( object.data, tMergeTable ); end; setmetatable( object, self ); self.__index = self; return object; end; function BAR_CLASS:SetData( key, value ) if ( self:IsValid() and self.data[key] != nil ) then self.data[key] = value; return true; end; end; function BAR_CLASS:SetPos( x, y, quick, org ) self:SetData("idealX", x); self:SetData("idealY", y); if ( quick ) then self:SetData("x", x); self:SetData("y", y); end; if ( org ) then self.orgX, self.orgY = x, y; end; end; function BAR_CLASS:GetOrgPos() return self.orgX or self("idealX", 0), self.orgY or self("idealY", 0); end; function BAR_CLASS:Hide() local x = self:GetOrgPos(); self:SetPos( x, ScrH() ); self.showDelay = 0; self.hide = true; end; function BAR_CLASS:Show() self:SetPos( self:GetOrgPos() ); self.showDelay = CurTime() + self("delay", 5); self.hide = false; end; function BAR_CLASS:IsHide() return self.hide; end; function BAR_CLASS:Think() return end; function BAR_CLASS:Register() return PLUGIN:RegisterBAR(self); end; function PLUGIN:RegisterBAR( BAR ) if ( BAR and BAR:IsValid() ) then if ( !table.HasValue( self.stored, BAR ) ) then table.insert( self.stored, BAR ); return self.stored[#self.stored]; end; end; end; function PLUGIN:HUDPaint() if ( IsValid(greenCode.Client) ) then local frameTime = FrameTime(); local BAR_COUNT = #self.stored; local scrW, scrH = ScrW(), ScrH(); local curTime = CurTime(); local bHideEnable = barHide:GetBool(); self.alpha = math.Approach(self.alpha, BAR_ALPHA, frameTime * 140); for i=1, BAR_COUNT do local BAR = self.stored[i]; if ( BAR:IsValid() ) then local x = BAR("x", 0); local y = BAR("y", 0); local curValue = BAR("value", 0); local maximum = BAR("maximum", 0); local delay = BAR("delay", 5); local bHide = BAR("hide"); local bRequired = BAR("required"); local bHiden = BAR:IsHide(); BAR.progress = math.Approach( BAR.progress or 0, curValue, frameTime*50); if ( bHide ) then if ( !bHideEnable or BAR.progress != curValue ) then BAR:Show(); elseif ( !bHiden and (BAR.showDelay or 0) < curTime and ( bRequired and BAR.progress == maximum or !bRequired ) ) then BAR:Hide(); end; end; if ( x < scrW or y < scrH ) then local c = BAR("color", Color(255,255,255)) greenCode.kernel:DrawBar( x, y, BAR("width", 350), BAR("height", 15), Color( c.r, c.g, c.b, math.min(self.alpha, BAR("alpha", 255)) ), BAR("text"), BAR.progress, BAR("maximum", 100), BAR("flash", false) ); end; BAR:SetData( "x", math.Approach( x, BAR("idealX", 0), frameTime*500) ); BAR:SetData( "y", math.Approach( y, BAR("idealY", 0), frameTime*500) ); end; end; end; end; function PLUGIN:CreateGroup( id, x, y, align, padding ) self.buffer[id] = { x = x, y = y, align = align, padding = padding, bars = {} }; end; function PLUGIN:AddToHroup( id, BAR ) if ( self.buffer[id] ) then table.insert( self.buffer[id].bars, BAR ); BAR:SetData("x", self.buffer[id].x); BAR:SetData("y", ScrH()); end; end; function PLUGIN:Think() if ( IsValid(greenCode.Client) ) then local BAR_COUNT = #self.stored; for i=1, BAR_COUNT do local BAR = self.stored[i]; if ( BAR and BAR:IsValid() ) then BAR:Think(); end; end; for k, v in pairs(self.buffer) do local count = 0; local padding = 0; for k, BAR in pairs(v.bars) do if ( !BAR:IsHide() ) then local height = BAR("height"); padding = (height*(1-count)) + (padding + v.padding + height)*count; //( v.padding*count ); BAR:SetPos( v.x, v.y + (v.align == 1 and padding or -padding), false, true ); count = 1; end; end; end; end; end; PLUGIN:CreateGroup( 1, ScrW()-355, ScrH()-5, 2, 2 ); PLUGIN:CreateGroup( 2, 5, ScrH()-5, 2, 5 ); -- Stamina BAR_STAMINA = BAR_CLASS:New{ height = 10, required = true, name = "Stamina", color = Color(255,255,0) }; function BAR_STAMINA:Think() self:SetData("value", greenCode.Client:GetSharedVar("Stamina", 100)); end; BAR_STAMINA:Register(); -- Oxygen BAR_OXYGEN = BAR_CLASS:New{ height = 10, name = "Oxygen", color = Color(0,255,255) }; function BAR_OXYGEN:Think() self:SetData("value", greenCode.Client:GetSharedVar("Oxygen", 100)); end; BAR_OXYGEN:Register(); -- Health BAR_HEALTH = BAR_CLASS:New{ height = 20, required = true, flash = true, name = "Health", color = Color(255,0,0) }; function BAR_HEALTH:Think() self:SetData("value", greenCode.Client:Health()); self:SetData("maximum", greenCode.Client:GetMaxHealth()); end; BAR_HEALTH:Register(); -- Armor BAR_ARMOR = BAR_CLASS:New{ height = 20, name = "Armor", color = Color(0,200,255) }; function BAR_ARMOR:Think() self:SetData("value", greenCode.Client:Armor()); self:SetData("maximum", greenCode.Client:GetMaxArmor()); end; BAR_ARMOR:Register(); -- Hunger BAR_HUNGER = BAR_CLASS:New{ height = 20, name = "Hunger", color = Color(0,255,0) }; function BAR_HUNGER:Think() self:SetData("value", math.ceil(greenCode.kernel:GetRpVar("Energy", 100))); end; BAR_HUNGER:Register(); local id = rightBarToLeft:GetBool() and 2 or 1; if ( !rightBarToDown:GetBool() ) then PLUGIN:AddToHroup( id, BAR_STAMINA ); PLUGIN:AddToHroup( id, BAR_OXYGEN ); end; PLUGIN:AddToHroup( 2, BAR_HUNGER ); PLUGIN:AddToHroup( 2, BAR_ARMOR ); PLUGIN:AddToHroup( 2, BAR_HEALTH ); if ( rightBarToDown:GetBool() ) then PLUGIN:AddToHroup( id, BAR_STAMINA ); PLUGIN:AddToHroup( id, BAR_OXYGEN ); end; greenCode.command:Add( "showbar", 0, function( player, command, args ) curTime = CurTime(); local BAR_COUNT = #PLUGIN.stored; for i=1, BAR_COUNT do local BAR = PLUGIN.stored[i]; BAR:Show(); end; end); greenCode.command:Add( "hidebar", 0, function( player, command, args ) curTime = CurTime(); local BAR_COUNT = #PLUGIN.stored; for i=1, BAR_COUNT do local BAR = PLUGIN.stored[i]; BAR:Hide(); end; end);
nilq/small-lua-stack
null
-- helpers function clean_empty(array) local clean_array = {} for _,value in pairs(array) do if not (value == "") then clean_array[ #clean_array+1 ] = value end end return clean_array end function split(s, delimiter) result = {}; for match in (s..delimiter):gmatch("(.-)"..delimiter) do table.insert(result, match); end return result; end -- internal function split_inputs(inputs_string) local inputs = {} inputs = clean_empty(split(inputs_string, "\n")) return inputs end --BUTTONS = { "U", "D", "L", "R", "s", "S", "Y", "B", "X", "A", "l", "r", "0", "1", "2", "3" } BUTTONS = { "P1 Up", "P1 Down", "P1 Left", "P1 Right", "P1 Select", "P1 Start", "P1 Y", "P1 B", "P1 X", "P1 A", "P1 L", "P1 R" } STATE = { count = 1, current_frame = 0, best_result = -1, base_save_slot = 5, save_slot = 5, settings = -1 } RESULT = {} -- config RNG_BYTES = { 0x0133, 0x0134, 0x0135, 0x0136, 0x0137, 0x0138, 0x0139, 0x013A } SETTING_SETS = { { name = "Camera Setup", allow_empty_input = false, allow_more_than_one_button = true, watchers = { { address = 0x005A, data_type = "ushort", name = "camera_xy", win = function(value) return value == 0x8104 end, reset = nil } }, rng_buttons = { "P1 R" }, inputs = split_inputs([[ |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|.....d.r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|....u..r........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| |..|.....dl.........|................| ]]) }, { name = "Crash Game", allow_empty_input = false, allow_more_than_one_button = false, rng_buttons = nil, watchers = { { address = 0x005A, data_type = "ushort", name = "camera_xy", win = nil, reset = function(value) return not (value == 0x8101) end }, { address = 0x4EB3, data_type = "ushort", name = "boy_hp", win = nil, reset = function(value) return value <= 20 end } }, rng_buttons = { "P1 L", "P1 R" }, inputs = split_inputs([[ |..|......Y.....|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|............|............| |..|.......B....|............| |..|............|............| |..|.......B....|............| ]]) }, { name = "Rain dance", allow_empty_input = false, allow_more_than_one_button = true, watchers = { { address = 0x005A, data_type = "ushort", name = "camera_xy", win = nil, reset = function(value) return not (value == 0x8101) end }, { address = 0x4EB3, data_type = "ushort", name = "boy_hp", win = nil, reset = function(value) return value <= 20 end }, { address = 0x3378, data_type = "ushort", name = "crash_rng", win = function(value) return value == 0x005A end, reset = function(value) return not (value == 0) end } }, rng_buttons = { "P1 Down", "P1 Left", "P1 Right" }, inputs = nil } } function nextState() STATE.win = false STATE.reset = false STATE.input_index = 1 if STATE.settings == -1 then STATE.settings = 1 SETTINGS = SETTING_SETS[STATE.settings] elseif STATE.settings + 1 <= #SETTING_SETS then STATE.settings = STATE.settings + 1 SETTINGS = SETTING_SETS[STATE.settings] else finish() end --print("state="..STATE.settings.."\n - "..SETTINGS.name.."\n - #wachers="..#SETTINGS.watchers) end nextState() function set_rng_buttons(button, random_button) if random_button == "/wait" then return false elseif SETTINGS.allow_more_than_one_button then return math.random(2) == 1 else return button == random_button end end function progress_rng() random_button = SETTINGS.rng_buttons[math.random(#SETTINGS.rng_buttons)] --print("random input=" .. random_button) local buttons = {} for i = 1, #SETTINGS.rng_buttons do local button = SETTINGS.rng_buttons[i] buttons[button] = set_rng_buttons(button, random_button) end joypad.set(buttons) --print(joypad.get()) end function progress_inputs() if STATE.input_index > #SETTINGS.inputs then STATE.win = true return end local buttons = SETTINGS.inputs[STATE.input_index] --print(STATE.input_index.."/"..#SETTINGS.inputs.." = "..buttons) STATE.input_index = STATE.input_index + 1 joypad.setfrommnemonicstr(buttons) end function progress() if (SETTINGS.inputs == nil) then progress_rng() else progress_inputs() end end function check_cond() for _, watcher in pairs(SETTINGS.watchers) do local value = mainmemory.read_u16_le(watcher.address) --print(watcher.name .. "=" .. value) if watcher.win ~= nil then STATE.win = STATE.win or watcher.win(value) if watcher.win(value) then --print(string.format("YAY: %s = %04X", watcher.name, value)) end end if watcher.reset ~= nil then STATE.reset = STATE.reset or watcher.reset(value) if watcher.reset(value) then --print(string.format("NEY: %s = %04X", watcher.name, value)) end end end return STATE.win, STATE.reset end function advance_frames(count) for i=1,count,1 do --print("+advance frame") emu.frameadvance(); --print("-advance frame") end STATE.current_frame = STATE.current_frame + count end -- Sets up the save states savestate.loadslot(5); --savestate.saveslot(5); --client.unpause() tastudio.setrecording(true); emu.limitframerate(false); function renderOverlay() gui.drawText(5,5,string.format("COUNT: %d", STATE.count)); gui.drawText(5,20,string.format("FRAME: %d", STATE.current_frame)); gui.drawText(5,35,string.format("BEST: %d", STATE.best_result)); gui.drawText(5,55,string.format("STATE: [%d] %s", STATE.settings, SETTINGS.name)); for i = 1, #SETTINGS.watchers do gui.drawText(5, 60 + i*15, string.format("WATCHER: %s = %04X", SETTINGS.watchers[i].name, mainmemory.read_u16_le(SETTINGS.watchers[i].address) )); end end function rng_string() local rng_bytes = {} for i = 1, #RNG_BYTES do local value = mainmemory.readbyte(RNG_BYTES[i]) rng_bytes[i] = string.format("%02X", value) end return table.concat(rng_bytes, ",") end function updateBest() RESULT = { frames = STATE.current_frame, RNG_BYTES = rng_string() } print("Success!\n - "..STATE.current_frame.." frames\n - "..rng_string()) if STATE.current_frame < STATE.best_result or STATE.best_result == -1 then STATE.best_result = STATE.current_frame print("New record!") savestate.saveslot(6) end end function rewind() STATE.settings = -1 STATE.count = STATE.count + 1 STATE.current_frame = 0 STATE.win = null STATE.reset = null nextState() savestate.loadslot(5) end function finish() updateBest() rewind() end while true do --print("do sth.") renderOverlay() progress() advance_frames(1) local win, reset = check_cond() --print("win="..tostring(win)..", reset="..tostring(reset)) if win then --print("yay") nextState() elseif reset then --print("ney") rewind() end end emu.limitframerate(true);
nilq/small-lua-stack
null
require "Item/SuburbsDistributions" if(not SSurvivors) then SSurvivors = {} end SSurvivors.isModEnabled = function(modname) local actmods = getActivatedMods(); for i=0, actmods:size()-1, 1 do if actmods:get(i) == modname then return true; end end return false; end SSurvivors.getSprites = function() getTexture("Item_grave.png"); getTexture("Item_gravecross.png"); print ("Survivor Mod Sprites Loaded"); end Events.OnGameBoot.Add(SSurvivors.getSprites);
nilq/small-lua-stack
null
project("RED4ext.Loader") targetname("version") targetdir(red4ext.paths.build("bin")) kind("SharedLib") language("C++") pchheader("stdafx.hpp") pchsource("stdafx.cpp") dependson({ "RED4ext.Dll" }) includedirs( { ".", red4ext.project.includes("spdlog") }) files( { "**.cpp", "**.hpp", "**.def" }) links( { red4ext.project.links("spdlog") })
nilq/small-lua-stack
null
if (SERVER) then hook.Add("PlayerCanPickupWeapon","ZombiePickupWeapons",function(pl) if (pl.Zomb) then return false end end) hook.Add("PlayerCanPickupItem","ZombiePickupItems",function(pl) if (pl.Zomb) then return false end end) hook.Add("GetFallDamage","ZombieFallDamage",function(pl,speed) if (pl.Zomb) then return 0 end end) --Tick hook.Add("Tick","TickZombie",function() for k,v in pairs(player.GetAllZombies()) do if (!v:Alive()) then if (v.PreviousTakeoff) then v.PreviousTakeoff:Stop() v.PreviousTakeoff = nil end else local Ground = v:OnGround() if (!Ground and !v.PreviousTakeoff) then v.PreviousTakeoff = CreateSound(v,table.Random(v.Zomb.Sounds.Jump)) v.PreviousTakeoff:Play() elseif (Ground) then if (v.PreviousTakeoff) then v.PreviousTakeoff:Stop() v.PreviousTakeoff = nil end if (v:KeyDown(IN_ATTACK)) then v:ZombieAttack() end if (v:KeyDown(IN_ATTACK2)) then v:ZombieAttack2() end end end end end) else end
nilq/small-lua-stack
null
--[[ D65 Tristimulus Values X = 95.04 Y = 100 Z = 108.88 sRGB Chromaticity Coordinates r = (0.64, 0.33) g = (0.30, 0.60) b = (0.15, 0.06) Equations RGB <-> XYZ matrices: http://www.brucelindbloom.com/index.html?Eqn_RGB_XYZ_Matrix.html RGB -> XYZ: http://www.brucelindbloom.com/index.html?Eqn_RGB_to_XYZ.html XYZ -> RGB: http://www.brucelindbloom.com/index.html?Eqn_XYZ_to_RGB.html ]] local sRGB_XYZ_MATRIX = { {962624/2334375, 3339089/9337500, 67391/373500}, {165451/778125, 3339089/4668750, 67391/933750}, {15041/778125, 3339089/28012500, 5323889/5602500} } local XYZ_sRGB_MATRIX = { {3750/1157, -23125/15041, -7500/15041}, {-3236250/3339089, 6263750/3339089, 138750/3339089}, {3750/67391, -13750/67391, 71250/67391} } --- local XYZ = {} XYZ.fromRGB = function(r, g, b) local rgb = {r, g, b} -- gamma correction for i = 1, #rgb do local v = rgb[i] if (v <= 0.04045) then rgb[i] = v / 12.92 else rgb[i] = ((v + 0.055) / 1.055)^2.4 end end r, g, b = table.unpack(rgb) -- to XYZ return (sRGB_XYZ_MATRIX[1][1] * r) + (sRGB_XYZ_MATRIX[1][2] * g) + (sRGB_XYZ_MATRIX[1][3] * b), (sRGB_XYZ_MATRIX[2][1] * r) + (sRGB_XYZ_MATRIX[2][2] * g) + (sRGB_XYZ_MATRIX[2][3] * b), (sRGB_XYZ_MATRIX[3][1] * r) + (sRGB_XYZ_MATRIX[3][2] * g) + (sRGB_XYZ_MATRIX[3][3] * b) end --[[ x [0, 1] y [0, 1] z [0, 1] ]] XYZ.toRGB = function(x, y, z) -- to sRGB local rgb = { (XYZ_sRGB_MATRIX[1][1] * x) + (XYZ_sRGB_MATRIX[1][2] * y) + (XYZ_sRGB_MATRIX[1][3] * z), (XYZ_sRGB_MATRIX[2][1] * x) + (XYZ_sRGB_MATRIX[2][2] * y) + (XYZ_sRGB_MATRIX[2][3] * z), (XYZ_sRGB_MATRIX[3][1] * x) + (XYZ_sRGB_MATRIX[3][2] * y) + (XYZ_sRGB_MATRIX[3][3] * z), } -- gamma correction for i = 1, #rgb do local v = rgb[i] if (v <= 0.0031308) then rgb[i] = 12.92 * v else rgb[i] = (1.055 * v^(1 / 2.4)) - 0.055 end rgb[i] = math.clamp(rgb[i], 0, 1) end return table.unpack(rgb) end return XYZ
nilq/small-lua-stack
null
u_skins.load_players = function() local file = io.open(u_skins.file, "r") if file then for line in file:lines() do local data = string.split(line, " ", 2) u_skins.u_skins[data[1]] = data[2] end io.close(file) end end u_skins.load_players() local function tick() minetest.after(120, tick) --every 2min' u_skins.save() end minetest.after(120, tick) minetest.register_on_shutdown(function() u_skins.save() end) u_skins.save = function() if not u_skins.file_save then return end u_skins.file_save = false local output = io.open(u_skins.file, "w") for name, skin in pairs(u_skins.u_skins) do if name and skin then if skin ~= u_skins.default then output:write(name.." "..skin.."\n") end end end io.close(output) end
nilq/small-lua-stack
null
include "./Vendor/premake/premake_customization/solution_items.lua" workspace "Evil" architecture "x86_64" startproject "EvilEditor" configurations { "Debug", "Release", "Dist" } solution_items { ".editorconfig" } flags { "MultiProcessorCompile" } outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}" -- Include directories relative to root folder (solution directory) IncludeDir = {} IncludeDir["GLFW"] = "%{wks.location}/Evil/Vendor/GLFW/include" IncludeDir["Glad"] = "%{wks.location}/Evil/Vendor/Glad/include" IncludeDir["ImGui"] = "%{wks.location}/Evil/Vendor/imgui" IncludeDir["glm"] = "%{wks.location}/Evil/Vendor/glm" IncludeDir["stb_image"] = "%{wks.location}/Evil/Vendor/stb_image" IncludeDir["entt"] = "%{wks.location}/Evil/Vendor/entt/include" group "Dependencies" include "Vendor/premake" include "Evil/Vendor/GLFW" include "Evil/Vendor/Glad" include "Evil/Vendor/imgui" group "" include "Evil" include "Sandbox" include "EvilEditor"
nilq/small-lua-stack
null
-- author: Steve Chan [email protected] -- -- Copyright 2013 The Regents of the University of California, -- Lawrence Berkeley National Laboratory -- United States Department of Energy -- The DOE Systems Biology Knowledgebase (KBase) -- Made available under the KBase Open Source License -- PROXY=nil d = require('docker') p=require('pl.pretty') c=d.config() c.image='kbase/narrative:latest' c.Cmd={'test_narrative'} c.PortSpecs= { "8888" } c.name="test_narrative" --p.dump(d.client:containers()) res = d.client:create_container{ payload = c, name = "test_narrative"} --p.dump(res.body) id = res.body.Id print("Container id = ", id) res = d.client:start_container{ id = id, payload = { PublishAllPorts = true }} if (res.status == 204) then print("Container started successfully") else print("Container failed to start") p.dump( res.body) end res = d.client:containers() --p.dump(res.body) print "Listing of ports in containers" portmap = {} for index,container in pairs(res.body) do name = string.sub(container.Names[1],2,-1) p.dump( name) portmap[name]={} for i, v in pairs(container.Ports) do portmap[name][v.PublicPort] = v.PrivatePort end end p.dump(portmap) p.dump(d.client:top{id=id,ps_args="auxww"}.body) res = d.client:stop_container{ id = id} if (res.status == 204) then print("Container stopped successfully") else print("Container failed to stop") p.dump( res.body) end res = d.client:remove_container{ id = id} if (res.status == 204) then print("Container removed successfully") else print("Container failed delete") p.dump( res.body) end
nilq/small-lua-stack
null
include('shared.lua') ENT.RenderGroup = RENDERGROUP_BOTH function ENT:Initialize() mx, mn = self:GetRenderBounds() self:SetRenderBounds( mn + Vector(0,0,128), mx, 0 ) end function ENT:Draw() self.BaseClass.Draw(self) if (self:GetReadMode() == 0) then local vStart = self:GetPos() local vForward = self:GetUp() local trace = {} trace.start = vStart trace.endpos = vStart + (vForward * self:GetRange()) trace.filter = { self } local trace = util.TraceLine( trace ) local endpos if (trace.Hit) then endpos = trace.HitPos else endpos = vStart + (vForward * self:GetRange()) end render.SetMaterial(Material("tripmine_laser")) render.DrawBeam(vStart, endpos, 6, 0, 10, self:GetColor()) end Wire_Render(self) end
nilq/small-lua-stack
null
local blip function resetTaxiJob() if (isElement(blip)) then destroyElement(blip) removeEventHandler("onClientVehicleEnter", getRootElement(), startTaxiJob) end end function displayTaxiJob() blip = createBlip(1771.537109375, -1858.5126953125, 12, 0, 4, 255, 127, 255) outputChatBox("#FF9933Approach the #FF66CCblip#FF9933 on your radar and enter the taxi to start your job.", 255, 194, 15, true) addEventHandler("onClientVehicleEnter", getRootElement(), startTaxiJob) end function startTaxiJob(thePlayer) if (thePlayer==localPlayer) then if (getElementModel(source)==438 or getElementModel(source)==420) then removeEventHandler("onClientVehicleEnter", getRootElement(), startTaxiJob) outputChatBox("You will be alerted when someone has ordered a taxi.", 255, 194, 15) if (isElement(blip)) then destroyElement(blip) end end end end -- taxi drivers occupied light local keytime = 0 local function checkTaxiLights( key, state ) local vehicle = getPedOccupiedVehicle( getLocalPlayer( ) ) if getVehicleOccupant( vehicle ) == getLocalPlayer( ) and ( getElementModel( vehicle ) == 438 or getElementModel( vehicle ) == 420 ) then if state == "down" then keytime = getTickCount() elseif state == "up" and keytime ~= 0 then local delay = getTickCount() - keytime keytime = 0 if delay < 200 then triggerServerEvent("toggleTaxiLights", getLocalPlayer( ), vehicle ) end end else keytime = 0 end end bindKey("horn", "both", checkTaxiLights)
nilq/small-lua-stack
null
-- Sailor VROM (Lua version) by freem -- Use of this tool (e.g. using the exported files) is free. -- License is still undecided, but leaning towards public domain/unlicense/CC0. --============================================================================-- local verNum = 0.20 local pcmbSeparator = "|" local sizeWarnString = "(needs padding)" local errorString = "" local sampleListTypes = { ["vasm"] = { Directive="word", Format="0x%04X" }, ["tniasm"] = { Directive="dw", Format="$%04X" }, -- could also use 0x%04X ["wla"] = { Directive=".dw", Format="$%04X" }, } --============================================================================-- -- Program startup (banner, basic argument check) local args = {...} print("Sailor VROM - Neo-Geo V ROM/.PCM File Builder (Lua version)"); print(string.format("v%.02f by freem",verNum)) print("==========================================================="); -- check arguments if not args or not args[1] then print("No arguments found.") print("usage: lua svrom.lua (options)") print("==========================================================="); print("Available options:") print(" --pcma=path path/filename of ADPCM-A sample list file") print(" --pcmb=path path/filename of ADPCM-B sample list file") print(" --outname=path path/filename of sound data output") print(" --samplelist=path path/filename of sample list output") print(" --samplestart=addr starting address for sample list output") print(" --mode=mode 'cd' or 'cart', without the quotes") print(" --slformat=format 'vasm', 'tniasm', or 'wla', all without quotes") return end --============================================================================-- -- parse command line parameters local pcmaListFile, pcmbListFile -- adpcm-a and adpcm-b sample list input files local outSoundFile, outSampleFile -- sound data and sample list output files local pcmaListFN, pcmbListFN, outSoundFN, outSampleFN -- filenames for the above local modeType = "cart" local sampListType = "vasm" local outSampleStart = 0 local possibleParams = { ["pcma"] = function(input) pcmaListFN = input end, ["pcmb"] = function(input) pcmbListFN = input end, ["outname"] = function(input) outSoundFN = input end, ["samplelist"] = function(input) outSampleFN = input end, ["samplestart"] = function(input) local _start,_end if string.find(input,"0x") then -- hex format 1 _start,_end = string.find(input,"0x") outSampleStart = tonumber(string.sub(input,_end+1,-1),16) elseif string.find(input,"$") then -- hex format 2 _start,_end = string.find(input,"$") outSampleStart = tonumber(string.sub(input,2,-1),16) elseif tonumber(input) then -- decimal outSampleStart = tonumber(input) else error("Invalid input for samplestart: "..input) end end, ["mode"] = function(input) input = string.lower(input) if input ~= "cart" and input ~="cd" then error("Mode option must be 'cart' or 'cd'!") end modeType = input end, ["slformat"] = function(input) local foundFormat = false input = string.lower(input) for t,f in pairs(sampleListTypes) do if not foundFormat then if input == t then sampListType = t foundFormat = true end end end if not foundFormat then print(string.format("Unknown slformat type '%s', using vasm instead.",input)) end end, } local startDash, endDash, startEquals for k,v in pairs(args) do -- search for "--" at the beginning of a string startDash,endDash = string.find(v,"--",1,true) if not startDash then print(string.format("Unrecognized option '%s'.",v)) return end -- look for a "=" inside of it startEquals = string.find(v,"=",3,true) if not startEquals then print(string.format("Did not find equals to assign data in '%s'.",v)) return end -- decode command and value local command = string.sub(v,endDash+1,startEquals-1) local value = string.sub(v,startEquals+1,-1) -- look for command in table local didCommand = false for c,f in pairs(possibleParams) do if c == command then f(value) didCommand = true end end if not didCommand then print(string.format("Sailor VROM doesn't recognize the command '%s'.",command)) end end --============================================================================-- -- By this point, the commands are parsed. We should have values in the proper -- variables if the user decided to actually enter some data. Of course, some -- parameters are optional, so we also handle the fallback filenames here. print(string.format("Output Mode Type: %s",modeType)) if pcmaListFN then print(string.format("ADPCM-A sample list file: '%s'",pcmaListFN)) end -- if ADPCM-B is attempted to be used on a CD system, we need to ignore it. if pcmbListFN and modeType == "cd" then print("Neo-Geo CD does not support ADPCM-B playback. (Yes, we've tried.)") print("Ignoring ADPCM-B samples...") pcmbListFN = nil end if pcmbListFN then print(string.format("ADPCM-B sample list file: '%s'",pcmbListFN)) end -- outSoundFN is not mandatory. (defaults to "output.v" or "output.pcm") if not outSoundFN then outSoundFN = "output."..(modeType=="cd" and "pcm" or "v") print(string.format("Sound data output filename omitted, using '%s'.",outSoundFN)) else print(string.format("Sound data output: %s",outSoundFN)) end -- outSampleFN is not mandatory either. (defaults to "samples.inc") if not outSampleFN then outSampleFN = "samples.inc" print(string.format("Sample address output filename omitted, using '%s'.",outSampleFN)) else print(string.format("Sample address output: %s",outSampleFN)) end print(string.format("sample list address start: %s",outSampleStart)) print(string.format("sample list type: %s",sampListType)) print("") --============================================================================-- -- Whew. That's a lot of checking. We're still not done yet, though, because if -- those list files turn out to not exist, then I'm gonna get really mad! if pcmaListFN then pcmaListFile,errorString = io.open(pcmaListFN,"r") if not pcmaListFile then print(string.format("Error attempting to open ADPCM-A list %s",errorString)) return end end --[[ Generic List Parsing Variables ]]-- local tempFile, tempLen, tempData local padMe = false --[[ ADPCM-A List Parsing ]]-- local pcmaFiles = {} local pcmaCount = 1 if pcmaListFN then print("") print("==[ADPCM-A Input Sample List]==") for l in pcmaListFile:lines() do -- try loading file tempFile,errorString = io.open(l,"rb") if not tempFile then print(string.format("Error attempting to load ADPCM-A sample %s",errorString)) return end -- get file length tempLen,errorString = tempFile:seek("end") if not tempLen then print(string.format("Error attempting to get length of ADPCM-A sample %s",errorString)) return end tempFile:seek("set") padMe = false if tempLen % 256 ~= 0 then sizeWarn = sizeWarnString padMe = true else sizeWarn = "" end tempData = tempFile:read(tempLen) tempFile:close() print(string.format("(PCMA %03i) %s %s",pcmaCount,l,sizeWarn)) if tempLen > (1024*1024) then print(string.format("WARNING: PCMA sample %03i is too large! (>1MB)",pcmaCount)) end if padMe then -- pad the sample with 0x80 local padBytes = 256-(tempLen%256) for i=1,padBytes do tempData = tempData .. string.char(128) end tempLen = tempLen + padBytes if tempLen > (1024*1024) then print(string.format("WARNING: PCMA sample %03i is too large after padding! (>1MB)",pcmaCount)) end end table.insert(pcmaFiles,pcmaCount,{ID=pcmaCount,File=l,Length=tempLen,Data=tempData}) pcmaCount = pcmaCount + 1 end pcmaListFile:close() end --============================================================================-- -- Time for ADPCM-B, but only if we have it. --[[ ADPCM-B List Parsing ]]-- local pcmbFiles = {} local pcmbCount = 0 local tempRate, tempRealFileName if pcmbListFN then pcmbCount = 1 print("") print("==[ADPCM-B Input Sample List]==") -- try opening list file pcmbListFile,errorString = io.open(pcmbListFN,"r") if not pcmbListFile then print(string.format("Error attempting to open ADPCM-B list %s",errorString)) return end for l in pcmbListFile:lines() do -- look for rate splitter character local rateSplitter = string.find(l,pcmbSeparator) if not rateSplitter then print(string.format("ADPCM-B sample %03i does not have a sample rate defined.",pcmbCount)) return end -- get actual filename tempRealFileName = string.sub(l,1,rateSplitter-1) -- get sample rate tempRate = tonumber(string.sub(l,rateSplitter+1)) if not tempRate then print(string.format("Error decoding sample rate from string '%s'",string.sub(l,rateSplitter+1))) end if tempRate < 1800 or tempRate > 55500 then print(string.format("ADPCM-B sample %s has invalid sampling rate %dHz, must be between 1800Hz and 55500Hz",tempRealFileName,tempRate)) return end -- try loading file tempFile,errorString = io.open(tempRealFileName,"rb") if not tempFile then print(string.format("Error attempting to load ADPCM-B sample %s",errorString)) return end -- get file length tempLen,errorString = tempFile:seek("end") if not tempLen then print(string.format("Error attempting to get length of ADPCM-B sample %s",errorString)) return end tempFile:seek("set") padMe = false if tempLen % 256 ~= 0 then sizeWarn = sizeWarnString padMe = true else sizeWarn = "" end tempData = tempFile:read(tempLen) tempFile:close() print(string.format("(PCMB %03i) %s (rate %d) %s",pcmbCount,tempRealFileName,tempRate,sizeWarn)) if padMe then -- pad the sample with 0x80 local padBytes = 256-(tempLen%256) for i=1,padBytes do tempData = tempData .. string.char(128) end tempLen = tempLen + padBytes end table.insert(pcmbFiles,pcmbCount,{ID=pcmbCount,File=tempRealFileName,Length=tempLen,Rate=tempRate,Data=tempData}) pcmbCount = pcmbCount + 1 end pcmbListFile:close() end print("") --============================================================================-- -- Determine sample bank layouts (a.k.a. try to avoid crossing 1MB boundaries) local curBankSize = 0 local curBankNum = 1 local curIndex = 1 local banksA = {} local banksB = {} -- handle ADPCM-A first if pcmaListFN then for k,v in pairs(pcmaFiles) do if not banksA[curBankNum] then table.insert(banksA,curBankNum,{}) end -- check if adding current file to bank would cause overflow if (v.Length + curBankSize) > 1024*1024 then print("------------------------------------------------") print(string.format("PCMA bank %d: add %s (overflow from bank %d)",curBankNum+1,v.File,curBankNum)) -- needs to go to next bank curBankNum = curBankNum + 1 curBankSize = v.Length curIndex = 1 if not banksA[curBankNum] then table.insert(banksA,curBankNum,{}) end table.insert(banksA[curBankNum],curIndex,v) curIndex = curIndex + 1 else -- add to current bank print(string.format("PCMA bank %d: add %s",curBankNum,v.File)) curBankSize = curBankSize + v.Length table.insert(banksA[curBankNum],curIndex,v) curIndex = curIndex + 1 end end end -- handle ADPCM-B next (if applicable) if pcmbListFN then curBankSize = 0 curIndex = 1 curBankNum = 1 for k,v in pairs(pcmbFiles) do if not banksB[curBankNum] then table.insert(banksB,curBankNum,{}) end -- ADPCM-B has no restrictions on sample sizes, according to datasheet -- add to current bank print(string.format("PCMB bank %d: add %s",curBankNum,v.File)) curBankSize = curBankSize + v.Length table.insert(banksB[curBankNum],curIndex,v) curIndex = curIndex + 1 end end print("") --============================================================================-- -- Read bank layouts and figure out required padding. local paddingA = {} if pcmaListFN then print("Reading ADPCM-A bank layouts...") curBankSize = 0 for k,v in pairs(banksA) do for i,d in pairs(v) do curBankSize = curBankSize + d.Length end print(string.format("size of ADPCM-A bank %d: %d bytes",k,curBankSize)) if curBankSize < 1024*1024 and k ~= #banksA then local diff = (1024*1024) - curBankSize print(string.format("Padding required: %d bytes",diff)) table.insert(paddingA,k,diff) end print("------------------------------------------------") curBankSize = 0 end end if pcmbListFN then print("Reading ADPCM-B bank layouts...") curBankSize = 0 for k,v in pairs(banksB) do for i,d in pairs(v) do curBankSize = curBankSize + d.Length end print(string.format("size of ADPCM-B bank %d: %d bytes",k,curBankSize)) print("------------------------------------------------") curBankSize = 0 end end print("") --============================================================================-- -- Create the combined sample rom using bank layout print("Creating combined sample data...") outSoundFile,errorString = io.open(outSoundFN,"w+b") if not outSoundFile then print(string.format("Error attempting to create output file %s",errorString)) return end -- ADPCM-A if pcmaListFN then for k,v in pairs(banksA) do -- write sounds in this bank print(string.format("Writing ADPCM-A bank %d...",k)) for i,d in pairs(v) do outSoundFile:write(d.Data) end if paddingA[k] and k ~= #banksA then print(string.format("Writing %d bytes of padding...",paddingA[k])) -- write padding for this bank for i=1,paddingA[k] do outSoundFile:write(string.char(128)) end end print("------------------------------------------------") end end if pcmbListFN then for k,v in pairs(banksB) do -- write sounds in this bank print("Writing ADPCM-B bank...") for i,d in pairs(v) do outSoundFile:write(d.Data) end print("------------------------------------------------") end end outSoundFile:close() print("") --============================================================================-- -- Get sample addresses (using banks to account for padding) local sampleStart = 0 if outSampleStart then sampleStart = outSampleStart end if pcmaListFN then print("Calculating ADPCM-A sample addresses...") -- ADPCM-A samples for k,v in pairs(banksA) do for i,d in pairs(v) do local fixedLen = (d.Length/256) d.Start = sampleStart d.End = (sampleStart+fixedLen)-1 sampleStart = sampleStart + fixedLen end if paddingA[k] and k ~= #banksA then sampleStart = sampleStart + (paddingA[k]/256) end end end -- ADPCM-B samples if pcmbListFN then print("Calculating ADPCM-B sample addresses...") for k,v in pairs(banksB) do for i,d in pairs(v) do local fixedLen = (d.Length/256) d.Start = sampleStart d.End = (sampleStart+fixedLen)-1 d.DeltaN = (d.Rate/55500)*65536 sampleStart = sampleStart + fixedLen end end end print("") --============================================================================-- -- create the sample address list print("Creating sample address list...") outSampleFile,errorString = io.open(outSampleFN,"w+") if not outSampleFile then print(string.format("Error attempting to create sample list file %s",errorString)) return end local direc = sampleListTypes[sampListType].Directive local valFormat = sampleListTypes[sampListType].Format -- write header outSampleFile:write("; Sample address list generated by Sailor VROM\n") outSampleFile:write(";==============================================;\n") outSampleFile:write("\n") -- write ADPCM-A if pcmaListFN then outSampleFile:write("; [ADPCM-A Samples]\n") outSampleFile:write("samples_PCMA:\n") for k,v in pairs(pcmaFiles) do outSampleFile:write(string.format("\t%s\t"..valFormat..","..valFormat.."\t; PCMA Sample #%i (%s)\n",direc,v.Start,v.End,v.ID,v.File)) end outSampleFile:write("\n") end -- write ADPCM-B, if applicable if pcmbListFN then outSampleFile:write("; [ADPCM-B Samples]\n") outSampleFile:write("samples_PCMB:\n") for k,v in pairs(pcmbFiles) do outSampleFile:write(string.format("\t%s\t"..valFormat..","..valFormat.."\t; PCMB Sample #%i (%s, %dHz)\n",direc,v.Start,v.End,v.ID,v.File,v.Rate)) end outSampleFile:write("\n") outSampleFile:write("; [ADPCM-B Default Sample Rates]\n") outSampleFile:write("rates_PCMB:\n") for k,v in pairs(pcmbFiles) do outSampleFile:write(string.format("\t%s\t"..valFormat.."\t; PCMB Sample #%i (%s, %dHz)\n",direc,v.DeltaN,v.ID,v.File,v.Rate)) end outSampleFile:write("\n") end outSampleFile:close() --============================================================================-- print("") print("Build successful.")
nilq/small-lua-stack
null
workspace "Sleepy" configurations {"Debug", "Release", "Dist"} architecture "x64" project "Sleepy" location "Sleepy" kind "SharedLib" language "C++" targetdir ("bin/%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}/%{prj.name}") objdir ("obj/%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}/%{prj.name}") pchheader "zzpch.h" pchsource "Sleepy/src/Sleepy/zzpch.cpp" files {"%{prj.name}/src/**.h", "%{prj.name}/src/**.cpp"} includedirs {"%{prj.name}/src", "%{prj.name}/vendor/spdlog/include"} filter "system:windows" cppdialect "C++17" staticruntime "On" systemversion "latest" defines {"ZZ_PLATFORM_WINDOWS", "ZZ_BUILD_DLL"} postbuildcommands {("{COPY} %{cfg.buildtarget.relpath} ../bin/%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}/Playground")} filter "configurations:Debug" defines "ZZ_DEBUG" symbols "On" filter "configurations:Release" defines "ZZ_RELEASE" optimize "On" filter "configurations:Dist" defines "ZZ_DIST" optimize "On" project "Playground" location "Playground" kind "ConsoleApp" language "C++" targetdir ("bin/%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}/%{prj.name}") objdir ("obj/%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}/%{prj.name}") files {"%{prj.name}/src/**.h", "%{prj.name}/src/**.cpp"} includedirs {"Sleepy/src", "Sleepy/vendor/spdlog/include"} links {"Sleepy"} filter "system:windows" cppdialect "C++17" staticruntime "On" systemversion "latest" defines {"ZZ_PLATFORM_WINDOWS"} filter "configurations:Debug" defines "ZZ_DEBUG" symbols "On" filter "configurations:Release" defines "ZZ_RELEASE" optimize "On" filter "configurations:Dist" defines "ZZ_DIST" optimize "On"
nilq/small-lua-stack
null
--[[-- --用function的方式实现继承. -- -- table方式优势: - 1, 创建基类对象比较快, 所有方法共享给对象 2,使用table将会消耗更少的内存。 3, 对于方法调用更加符合绝大多数面向对象的Lua代码 - closure方式优势: 1, 可以有私有field. 访问私有field很快. (since they're upvalues, not table lookups.) 2, 方法调用更快,因为他们不用 __index元方法 3, .的方式更适合习惯了其他语言的开发者。 - --]] local function BaseClass(init) local self = {} local private_field = init function self.foo() return private_field end function self.bar() private_field = private_field + 1 end function self.increase(var) private_field = private_field + var; end function self.getField() return private_field; end -- return the instance return self end local function DerivedClass(init, init2) local self = BaseClass(init) self.public_field = init2 -- this is independent from the base class's private field that has the same name local private_field = init2 -- save the base version of foo for use in the derived version local base_foo = self.foo function self.foo() return private_field + self.public_field + base_foo() end local base_increase = self.increase function self.increase(var) base_increase(var + 1) end -- return the instance return self end local i = DerivedClass(1, 2) print(i.foo()) --> 5 i.bar() print(i.foo()) --> 6 i.increase(7); print(i.getField())
nilq/small-lua-stack
null
enableAlerts(0); --don't change this if isServer() then local scripter = "BackSlash *Jack*"; -- Insert scripter here -- Set color keys, format BBGGRR. local lightred = "<color;6666ff>"; local ec = "</color>"; function killPlatforms() sendChat(scripter, 4 , lightred.."Script starting..."); local shipNo = shipCount(); for i=1, shipNo do local targetShip = getKey(getShip(i-1)); if getShipType(targetShip) >= 11 then sendChat(scripter, 4 , lightred.."[SCRIPT] Destroying "..getName(targetShip).."..."..ec); detachNoun(targetShip); end end sendChat(scripter, 4 , lightred.."Script ending..."); end killPlatforms(); end
nilq/small-lua-stack
null
local vim = vim local api = vim.api local M = {} function M.setup() api.nvim_command([[command -nargs=? -complete=dir Yanil call luaeval('require("yanil/canvas").open(_A)', fnamemodify('<args>', ':p'))]]) api.nvim_command([[command YanilClose call luaeval('require("yanil/canvas").close()')]]) api.nvim_command([[command YanilToggle call luaeval('require("yanil/canvas").toggle()')]]) end return M
nilq/small-lua-stack
null
--[[ Models factory ]] local models = {} function models.ffnn(inDim, outDim, ...) -- input layer local par = nn.ParallelTable() :add(nn.Linear(inDim,inDim)) :add(nn.Linear(inDim,inDim)) local net = nn.Sequential() :add(par) :add(nn.JoinTable(1)) :add(nn.Sigmoid()) -- add hidden layers local function addLayer(net, inD, outD) net:add(nn.Linear(inD,outD)):add(nn.Sigmoid()) end local hidden = {...} for i=1,#hidden do addLayer(net, hidden[i-1] or 2*inDim, hidden[i]) end -- use sidmoid instead of tanh to output a probability net:add(nn.Linear(hidden[#hidden] or 2*inDim, outDim)):add(nn.Sigmoid()) return net end return models
nilq/small-lua-stack
null
-- kolor v0.0.3 -- every light sequences samples -- -- llllllll.co/t/kolor -- -- this script mirrors the grid -- -- ▼ instructions below ▼ -- -- E2 changes row -- E3 changes column -- K2 is left finger -- K3 is right finger kolor=include("kolor/lib/kolor") if util.file_exists("/home/we/dust/code/tmi") then tmi=include("tmi/lib/tmi") m=tmi:new() --m:load("plinky","/home/we/dust/data/tmi/maya.tmi",1) --m:load("plinky","/home/we/dust/data/tmi/mayabass",2) end d=nil position={1,1} press_positions={{0,0},{0,0}} engine.name="Kolor" function init() d=kolor:new() -- d:demo() clock.run(grid_redraw_clock) -- start the grid redraw clock end function enc(k,d) if k==2 then position[1]=position[1]+d if position[1]>8 then position[1]=8 elseif position[1]<1 then position[1]=1 end elseif k==3 then position[2]=position[2]+d if position[2]>16 then position[2]=16 elseif position[2]<1 then position[2]=1 end end end function key(k,z) if k>1 then if z==1 then if util.file_exists("/home/we/dust/code/tmi") then if k==3 then --m:toggle_play() end end press_positions[k-1]={position[1],position[2]} end d:key_press(press_positions[k-1][1],press_positions[k-1][2],z==1) end end function grid_redraw_clock() -- our grid redraw clock while true do -- while it's running... clock.sleep(1/30) -- refresh redraw() end end function redraw() screen.clear() screen.level(0) screen.rect(1,1,128,64) screen.fill() local gd=d:get_visual() rows=#gd cols=#gd[1] for row=1,rows do for col=1,cols do if gd[row][col]~=0 then screen.level(gd[row][col]) screen.rect(col*8-7,row*8-8+1,6,6) screen.fill() end end end screen.level(15) screen.rect(position[2]*8-7,position[1]*8-8+1,7,7) screen.stroke() -- screen.aa(0) -- screen.font_size(8) -- screen.font_face(0) -- screen.move(110, 8) -- screen.text("("..position[1]..","..position[2]..")") screen.update() end function rerun() norns.script.load(norns.state.script) end
nilq/small-lua-stack
null
------------------------------------------------------------ -- ShapeShifts.lua -- -- Abin -- 2014/10/21 ------------------------------------------------------------ local IsSpellKnown = IsSpellKnown local _, addon = ... addon:RegisterName("Travel Form", 783) addon:RegisterName("Cat Form", 768) addon:RegisterName("Ghost Wolf", 2645) addon:RegisterDebugAttr("indoorForm") addon:RegisterDebugAttr("combatForm") addon:RegisterDebugAttr("travelForm") addon:RegisterEventCallback("OnNewUserData", function(db) db.travelFormFirst = 1 end) if addon.class ~= "DRUID" and addon.class ~= "SHAMAN" then return end local IS_DRUID = addon.class == "DRUID" local CAT_FORM = addon:QueryName("Cat Form") local GHOST_WOLF = addon:QueryName("Ghost Wolf") local TRAVEL_FORM = addon:QueryName("Travel Form") local hasTravelForm if IS_DRUID then addon:AppendPreSumRandom("/cancelform [form:1/2]") -- Druids must cancel bear/cat forms before summoning mounts addon:SetAttribute("indoorForm", CAT_FORM) else addon:SetAttribute("indoorForm", GHOST_WOLF) end local module = addon:CreateModule("ShapeShifts") function module:OnInitialize() self:Enable() end function module:OnEnable() self:RegisterEvent("SPELLS_CHANGED") self:SPELLS_CHANGED() end function module:SPELLS_CHANGED(arg1) if arg1 then elseif IS_DRUID then hasTravelForm = 1 addon:SetAttribute("travelForm", TRAVEL_FORM) addon:SetAttribute("combatForm", TRAVEL_FORM) addon:SetAttribute("combatForm", CAT_FORM) else addon:SetAttribute("combatForm", GHOST_WOLF) end end addon:RegisterOptionCallback("travelFormFirst", function(value) if value and hasTravelForm then addon:SetAttribute("travelForm", TRAVEL_FORM) else addon:SetAttribute("travelForm", nil) end end) addon:AppendVariables([[ local indoorForm = self:GetAttribute("indoorForm") local combatForm = self:GetAttribute("combatForm") local travelForm = self:GetAttribute("travelForm") ]]) addon:AppendConditions([[ elseif indoorForm and isIndoor then macro = "/cast "..indoorForm elseif combatForm and isInCombat then macro = "/cast "..combatForm elseif travelForm and (isFlyable or isSwimming) then macro = "/cast "..travelForm ]])
nilq/small-lua-stack
null
goomba = class:new() function goomba:init(x, y, t) --PHYSICS STUFF self.x = x-6/16 self.y = y-11/16 self.speedy = 0 self.speedx = -goombaspeed self.width = 12/16 self.height = 12/16 self.static = false self.active = true self.category = 4 self.mask = { true, false, false, false, false, true, false, true, false, true, false, false, false, true, false, false, true, true, false, false, false, false, true, true, false, false, true, false, true, true, true} self.emancipatecheck = true self.autodelete = true --IMAGE STUFF self.drawable = true self.graphic = goombaimage self.quad = goombaquad[spriteset][1] self.offsetX = 6 self.offsetY = 3 self.quadcenterX = 8 self.quadcenterY = 8 self.rotation = 0 --for portals self.direction = "left" self.animationtimer = 0 self.t = t or "goomba" if self.t == "spikeyair" then self.air = true self.t = "spikey" end if self.t == "goomba" then self.animationdirection = "left" elseif self.t == "spikey" or self.t == "spikeyfall" then self.graphic = spikeyimg self.fall = true if self.t == "spikey" then self.quadi = 1 else self.mask[21] = true self.starty = self.y self.gravity = 30 self.speedy = -10 self.quadi = 3 self.speedx = 0 end self.quad = spikeyquad[self.quadi] end self.falling = false self.dead = false self.deathtimer = 0 self.shot = false end function goomba:update(dt) --rotate back to 0 (portals) if self.t == "spikeyfall" then self.rotation = 0 else self.rotation = math.fmod(self.rotation, math.pi*2) if self.rotation > 0 then self.rotation = self.rotation - portalrotationalignmentspeed*dt if self.rotation < 0 then self.rotation = 0 end elseif self.rotation < 0 then self.rotation = self.rotation + portalrotationalignmentspeed*dt if self.rotation > 0 then self.rotation = 0 end end end if self.dead then self.deathtimer = self.deathtimer + dt if self.deathtimer > goombadeathtime then return true else return false end elseif self.shot then self.speedy = self.speedy + shotgravity*dt self.x = self.x+self.speedx*dt self.y = self.y+self.speedy*dt return false else self.animationtimer = self.animationtimer + dt while self.animationtimer > goombaanimationspeed do self.animationtimer = self.animationtimer - goombaanimationspeed if self.t == "goomba" then if self.animationdirection == "left" then self.animationdirection = "right" else self.animationdirection = "left" end elseif self.t == "spikey" then if self.quadi == 1 then self.quadi = 2 else self.quadi = 1 end self.quad = spikeyquad[self.quadi] elseif self.t == "spikeyfall" then if self.quadi == 3 then self.quadi = 4 else self.quadi = 3 end self.quad = spikeyquad[self.quadi] if self.mask[21] and self.y > self.starty+2 then self.mask[21] = false end end end if self.t ~= "spikeyfall" then if self.speedx > 0 then if self.speedx > goombaspeed then self.speedx = self.speedx - friction*dt*2 if self.speedx < goombaspeed then self.speedx = goombaspeed end elseif self.speedx < goombaspeed then self.speedx = self.speedx + friction*dt*2 if self.speedx > goombaspeed then self.speedx = goombaspeed end end else if self.speedx < -goombaspeed then self.speedx = self.speedx + friction*dt*2 if self.speedx > -goombaspeed then self.speedx = -goombaspeed end elseif self.speedx > -goombaspeed then self.speedx = self.speedx - friction*dt*2 if self.speedx < -goombaspeed then self.speedx = -goombaspeed end end end end --check if goomba offscreen return false end end function goomba:stomp()--hehe goomba stomp self.dead = true self.active = false self.quad = goombaquad[spriteset][2] end function goomba:shotted(dir) --fireball, star, turtle playsound(shotsound) self.shot = true self.speedy = -shotjumpforce self.direction = dir or "right" self.active = false self.gravity = shotgravity if self.direction == "left" then self.speedx = -shotspeedx else self.speedx = shotspeedx end end function goomba:leftcollide(a, b) if self:globalcollide(a, b) then return false end self.speedx = goombaspeed if self.t == "spikey" then self.animationdirection = "left" end return false end function goomba:rightcollide(a, b) if self:globalcollide(a, b) then return false end self.speedx = -goombaspeed if self.t == "spikey" then self.animationdirection = "right" end return false end function goomba:ceilcollide(a, b) if self:globalcollide(a, b) then return false end end function goomba:globalcollide(a, b) if a == "bulletbill" then if b.killstuff ~= false then return true end end if a == "fireball" or a == "player" then return true end if self.t == "spikeyfall" and a == "lakito" then return true end end function goomba:startfall() end function goomba:floorcollide(a, b) if self:globalcollide(a, b) then return false end if self.t == "spikeyfall" then self.t = "spikey" self.fall = false self.quadi = 1 self.quad = spikeyquad[self.quadi] self.gravity = nil local nearestplayer = 1 local nearestplayerx = objects["player"][1].x for i = 2, players do local v = objects["player"][i] if math.abs(self.x - v.x) < nearestplayerx then nearestplayer = i nearestplayerx = v.x end end if self.x >= nearestplayerx then self.speedx = -goombaspeed else self.speedx = goombaspeed self.animationdirection = "left" end end end function goomba:passivecollide(a, b) self:leftcollide(a, b) return false end function goomba:emancipate(a) self:shotted() end function goomba:laser() self:shotted() end
nilq/small-lua-stack
null
--servermessage module by greenarrow --AddCSLuaFile ("autorun/shared/servermessagetypes.lua") AddCSLuaFile ("autorun/client/smsg.lua") --include ("autorun/shared/servermessagetypes.lua") ----------------------------------------------------------------SERVER SIDE MODULE-------------------------------------------------------------------- if SERVER then local table = table local ipairs = ipairs local type = type local tostring = tostring local tonumber = tonumber local concommand = concommand local LocalPlayer = LocalPlayer local Msg = Msg local function toentity(class, index) local ents = ents.FindByClass(class) for k, ent in ipairs(ents) do if (ent:EntIndex() == index) then return ent end end end ---------------------------------------Receiver object---------------------------------- local smReceiver = { message = {} } local dataTypeLookup = { string = 4, entity = 5, short = 1, bool = 2 } local dataTypeErrorMsg = "servermessage error: unexpected data type\n" function smReceiver.Create() local self = table.Copy (smReceiver) return self end function smReceiver:AddEntry(data, dataType) table.insert (self.message, {data = data, dataType = dataType}) end function smReceiver:ReadShort() if (self.message[1].dataType == dataTypeLookup.short) then local rData = tonumber(self.message[1].data) table.remove (self.message, 1) return rData else Msg (dataTypeErrorMsg) return "" end end function smReceiver:ReadBool() --Msg("type = "..self.message[1].dataType..", dat = "..self.message[1].data.."\n") if (self.message[1].dataType == dataTypeLookup.bool) then local rBool = false if (tonumber(self.message[1].data) == 1) then rBool = true --Msg("true\n") end table.remove (self.message, 1) return rBool else Msg (dataTypeErrorMsg) return false end end function smReceiver:ReadString() if self.message[1] then --put this on all if (self.message[1].dataType == dataTypeLookup.string) then local rData = self.message[1].data table.remove (self.message, 1) return rData else Msg (dataTypeErrorMsg) return "" end else Msg ("error\n") end end function smReceiver:ReadEntity() if (self.message[1].dataType == dataTypeLookup.entity) then local dividePos = string.find (self.message[1].data, "|") local entIndex = tonumber(string.sub (self.message[1].data, 1, dividePos - 1)) local entClass = string.sub (self.message[1].data, dividePos + 1, -1) local foundEnt = toentity(entClass, entIndex) table.remove (self.message, 1) return foundEnt else Msg (dataTypeErrorMsg) end end --------------------------Servermessage module--------------------------------------------------- module ("servermessage") --table of hook functions local hookFunctionTable = {} function Hook(msgName, hookFunction) --add function to hook table Msg("adding hook "..msgName..", func = "..type(hookFunction).."\n") hookFunctionTable[msgName] = hookFunction end --------------------------------------communications--------------------------- local function ccServerMessage(player, commandName, args) local smRec = smReceiver.Create() local currentType = nil local messageName = nil --extract data for message name and entries for k, dat in ipairs (args) do if messageName then if !currentType then currentType = tonumber (dat) else smRec:AddEntry (dat, currentType) currentType = nil end else messageName = dat end end --call user hooked function smRec.player = player Msg ("msg "..messageName.."\n") hookFunctionTable[messageName] (smRec) end concommand.Add("ccservermessage", ccServerMessage) end
nilq/small-lua-stack
null
local function check_tank_foundation(bpos) local meta = minetest.get_meta(bpos) local height = meta:get_int("height") if height < 1 then return end local d = math.ceil(height / 5) local ret = bitumen.check_foundation( {x = bpos.x - 2, y = bpos.y - 1 - d, z = bpos.z - 2}, {x = bpos.x + 2, y = bpos.y - 2 , z = bpos.z + 2}, { ["default:stone"] = 1, ["default:desert_stone"] = 1, ["default:steelblock"] = 1, ["bitumen:concrete"] = 1, } ) if ret == true then return true end -- try for the steel foundation ret = bitumen.check_foundation( {x = bpos.x - 1, y = bpos.y - 1 - d, z = bpos.z - 1}, {x = bpos.x + 1, y = bpos.y - 1 , z = bpos.z + 1}, { ["default:steelblock"] = 1 } ) if not ret then return false end -- todo: check steel legs return true end -- check poor foundation minetest.register_abm({ nodenames = {"bitumen:cylinder_tank_bottom"}, interval = 30, chance = 10, action = function(pos) if not check_tank_foundation(pos) then --print("tank failure") local meta = minetest.get_meta(pos) local fill = meta:get_int("fill") local height = meta:get_int("height") if height < 2 then -- no middle segments return end local fillh = math.ceil(fill / (9 * 60)) local y = math.random(1, fillh) minetest.set_node({x=pos.x, y=pos.y+y, z=pos.z}, {name="bitumen:cylinder_tank_cracked"}) end end }) local function try_add_fluid(tpos) -- find the bottom node local tmeta = minetest.get_meta(tpos) local rbpos = tmeta:get_string("bpos") if not rbpos then return end -- grab the input network local npos = {x=tpos.x, y=tpos.y+1, z=tpos.z} local tnet = bitumen.pipes.get_net(npos) if not tnet or not tnet.fluid or tnet.fluid == "air" then return end -- all the data is in the bottom node local bpos = minetest.deserialize(rbpos) local bmeta = minetest.get_meta(bpos) local fill = bmeta:get_int("fill") local capacity = bmeta:get_int("capacity") local fluid = bmeta:get_string("fluid") -- check for full if fill >= capacity then return end if fill > 0 and fluid ~= tnet.fluid then return end local remcap = capacity - fill local taken, tfluid = bitumen.pipes.take_fluid(npos, remcap) if taken == 0 then return end -- set or change fluids if fluid == "air" or fill == 0 then bmeta:set_string("fluid", tfluid) tmeta:set_string("fluid", tfluid) end fill = fill + taken bmeta:set_int("fill", fill) end local function try_give_fluid(bpos) -- grab the output network local npos = {x=bpos.x, y=bpos.y-1, z=bpos.z} local tnet = bitumen.pipes.get_net(npos) if not tnet then return end -- grab the data local bmeta = minetest.get_meta(bpos) local fill = bmeta:get_int("fill") local capacity = bmeta:get_int("capacity") local fluid = bmeta:get_string("fluid") -- check for empty if fill <= 0 or fluid == "air" then return end local lift = capacity / (9 * 60) local pushed = bitumen.pipes.push_fluid(npos, fluid, math.min(fill, 64), lift) if pushed == 0 then return end fill = math.max(fill - pushed, 0) bmeta:set_int("fill", fill) end -- tank data is stored based on the bottom position local function init_tank(tpos, bpos) local fluid = "air" local tnet = bitumen.pipes.get_net({x=tpos.x, y=tpos.y+1, z=tpos.z}) if tnet and tnet.fluid then fluid = tnet.fluid end local tmetad = { fields = { bpos = minetest.serialize(bpos), fluid = fluid, }} local tmeta = minetest.get_meta(tpos) tmeta:from_table(tmetad) local height = tpos.y - bpos.y local cap = height * 60 * 9 local bmeta = minetest.get_meta(bpos) local bmetad = {fields = { capacity = cap, fill = 0, fluid = fluid, height = height, tpos = minetest.serialize(tpos), }} bmeta:from_table(bmetad) end local function find_bottom(pos) local p = {x=pos.x, y=pos.y, z=pos.z} while 1==1 do -- find the bottom and check the fill local n = minetest.get_node(p) if n.name == "bitumen:cylinder_tank_bottom" then return p elseif n.name ~= "bitumen:cylinder_tank" and n.name ~= "bitumen:cylinder_tank_cracked" and n.name ~= "bitumen:cylinder_tank_top" then return nil end p.y = p.y - 1 end end local function can_dig_tank(pos, player) --if 1==1 then return true end -- check owner -- TODO: fix ownership -- local nmeta = minetest.get_meta(pos); -- local owner = nmeta:get_string("owner") -- if player:get_player_name() ~= owner then -- return false -- end local n = find_bottom(pos) if n == nil then return true else local meta = minetest.get_meta(pos) local fill = meta:get_int("fill") return fill <= 0 end end minetest.register_node("bitumen:cylinder_tank", { paramtype = "light", drawtype = "nodebox", description = "Cylinder Tank Segment", tiles = { "default_steel_block.png", }, node_box = { type = "fixed", fixed = { { -1.3, -.5, -1.3, 1.3, .5, 1.3 }, { -1.5, -.5, -1.1, 1.5, .5, 1.1 }, { -1.1, -.5, -1.5, 1.1, .5, 1.5 }, -- { -8.2, -.5, -.2, -7.8, 10, .2 }, -- { -.2, -.5, -8.2, .2, 10, -7.8 }, -- { 8.2, -.5, -.2, 7.8, 10, .2 }, -- { -.2, -.5, 8.2, .2, 10, 7.8 }, }, }, collision_box = { type = "fixed", fixed = { { -1.5, -.5, -1.5, 1.5, .5, 1.5 }, } }, selection_box = { type = "fixed", fixed = { { -1.5, -.5, -1.5, 1.5, .5, 1.5 }, } }, paramtype2 = "facedir", groups = {cracky=1, level =2}, sounds = default.node_sound_wood_defaults(), on_construct = function(pos) -- local meta = minetest.get_meta(pos) -- if placer then -- local owner = placer:get_player_name() -- meta:set_string("owner", owner) -- end -- meta:set_float("fluid_level", 0) -- meta:set_float("capacity", math.floor(3.14159 * .75 * 9 * 9 * 9 * 64)) -- meta:set_string("infotext", "0%") --bitumen.pipes.on_construct(pos) end, -- on_destruct = bitumen.magic.on_destruct, can_dig = can_dig_tank, }) minetest.register_node("bitumen:cylinder_tank_cracked", { paramtype = "light", drawtype = "nodebox", description = "Cracked Cylinder Tank Segment", tiles = { "default_tin_block.png", }, node_box = { type = "fixed", fixed = { { -1.3, -.5, -1.3, 1.3, .5, 1.3 }, { -1.5, -.5, -1.1, 1.5, .5, 1.1 }, { -1.1, -.5, -1.5, 1.1, .5, 1.5 }, -- { -8.2, -.5, -.2, -7.8, 10, .2 }, -- { -.2, -.5, -8.2, .2, 10, -7.8 }, -- { 8.2, -.5, -.2, 7.8, 10, .2 }, -- { -.2, -.5, 8.2, .2, 10, 7.8 }, }, }, collision_box = { type = "fixed", fixed = { { -1.5, -.5, -1.5, 1.5, .5, 1.5 }, } }, selection_box = { type = "fixed", fixed = { { -1.5, -.5, -1.5, 1.5, .5, 1.5 }, } }, paramtype2 = "facedir", groups = {cracky=1, level =2}, sounds = default.node_sound_wood_defaults(), on_construct = function(pos) -- local meta = minetest.get_meta(pos) -- if placer then -- local owner = placer:get_player_name() -- meta:set_string("owner", owner) -- end -- meta:set_float("fluid_level", 0) -- meta:set_float("capacity", math.floor(3.14159 * .75 * 9 * 9 * 9 * 64)) -- meta:set_string("infotext", "0%") --bitumen.pipes.on_construct(pos) end, -- on_destruct = bitumen.magic.on_destruct, can_dig = can_dig_tank, }) minetest.register_node("bitumen:cylinder_tank_top", { paramtype = "light", drawtype = "nodebox", description = "Cylinder Tank Top", tiles = { "default_steel_block.png", }, node_box = { type = "fixed", fixed = { { -1.3, -.5, -1.3, 1.3, .0, 1.3 }, { -1.5, -.5, -1.1, 1.5, .0, 1.1 }, { -1.1, -.5, -1.5, 1.1, .0, 1.5 }, { -1.2, -.1, -1.2, 1.2, .2, 1.2 }, { -.7, -.1, -.7, .7, .4, .7 }, { -.1, .1, -.1, .1, .5, .1 }, }, }, collision_box = { type = "fixed", fixed = { { -1.5, -.5, -1.5, 1.5, .5, 1.5 }, } }, selection_box = { type = "fixed", fixed = { { -1.5, -.5, -1.5, 1.5, .5, 1.5 }, } }, paramtype2 = "facedir", groups = {cracky=1, level =2, petroleum_fixture=1}, sounds = default.node_sound_wood_defaults(), on_construct = function(pos) local p = {x=pos.x, y=pos.y, z=pos.z} local segs = 1 while 1==1 do p.y = p.y - 1 local n = minetest.get_node(p) if n.name == "bitumen:cylinder_tank_bottom" then -- done break elseif n.name == "bitumen:cylinder_tank" then segs = segs + 1 else print("invalid top segment placement") return end end print("tank segments: " .. segs .. ", capacity: ".. (segs*9*60)) init_tank(pos, p) local meta = minetest.get_meta(pos) if placer then local owner = placer:get_player_name() meta:set_string("owner", owner) end -- meta:set_string("infotext", "0%") end, -- on_destruct = bitumen.magic.on_destruct, can_dig = can_dig_tank, }) minetest.register_node("bitumen:cylinder_tank_bottom", { paramtype = "light", drawtype = "nodebox", description = "Cylinder Tank Bottom", tiles = { "default_steel_block.png", }, node_box = { type = "fixed", fixed = { { -1.3, .0, -1.3, 1.3, .5, 1.3 }, { -1.5, .0, -1.1, 1.5, .5, 1.1 }, { -1.1, .0, -1.5, 1.1, .5, 1.5 }, { -1.0, -.2, -1.0, 1.0, .1, 1.0 }, { -.7, -.4, -.7, .7, .1, .7 }, { -.1, -.5, -.1, .1, .1, .1 }, -- legs { -1.25, -1.55, -1.25, -1.15, 0, -1.15 }, { 1.15, -1.55, -1.15, 1.25, 0, -1.25 }, { -1.25, -1.55, 1.15, -1.15, 0, 1.25 }, { 1.15, -1.55, 1.15, 1.25, 0, 1.25 }, }, }, collision_box = { type = "fixed", fixed = { { -1.5, -.5, -1.5, 1.5, .5, 1.5 }, } }, selection_box = { type = "fixed", fixed = { { -1.5, -.5, -1.5, 1.5, .5, 1.5 }, } }, paramtype2 = "facedir", groups = {cracky=1, level =2, petroleum_fixture=1}, sounds = default.node_sound_wood_defaults(), on_construct = function(pos) local p = {x=pos.x, y=pos.y, z=pos.z} local segs = 1 while 1==1 do p.y = p.y + 1 local n = minetest.get_node(p) if n.name == "bitumen:cylinder_tank_top" then -- done break elseif n.name == "bitumen:cylinder_tank" then segs = segs + 1 else print("invalid bottom segment placement") return end end init_tank(p, pos) local meta = minetest.get_meta(pos) if placer then local owner = placer:get_player_name() meta:set_string("owner", owner) end -- meta:set_float("fluid_level", 0) -- meta:set_float("capacity", math.floor(3.14159 * .75 * 9 * 9 * 9 * 64)) -- meta:set_string("infotext", "0%") end, -- on_destruct = bitumen.magic.on_destruct, can_dig = can_dig_tank, }) minetest.register_abm({ nodenames = {"bitumen:cylinder_tank_top"}, interval = 2, chance = 1, action = function(pos, node, active_object_count, active_object_count_wider) try_add_fluid(pos) end, }) minetest.register_abm({ nodenames = {"bitumen:cylinder_tank_bottom"}, interval = 2, chance = 1, action = function(pos, node, active_object_count, active_object_count_wider) try_give_fluid(pos) end, }) -- leaking minetest.register_abm({ nodenames = {"bitumen:cylinder_tank_cracked"}, interval = 10, chance = 5, action = function(pos, node, active_object_count, active_object_count_wider) local p = find_bottom(pos) if p == nil then return end local meta = minetest.get_meta(p) local fill = meta:get_int("fill") local fillh = math.ceil(fill / (9 * 60)) local dh = pos.y - p.y -- fill level is below the crack if fillh < dh then return end -- choose a random place to leak local airs = minetest.find_nodes_in_area({x=pos.x-2, y=pos.y-1, z=pos.z-2}, {x=pos.x+2, y=pos.y, z=pos.z+2}, {"air"}) if not airs then return end local ap = airs[math.random(#airs)] local l = math.min(fill, math.min(64, math.random(5, 30))) local fluid = meta:get_string("fluid") minetest.set_node(ap, {name=fluid}) minetest.set_node_level(ap, l) meta:set_int("fill", fill - l) end, })
nilq/small-lua-stack
null
--this = SceneNode() --NPC function createNpcNode() local routePlanner = this:findNodeByType(NodeId.RoutePlanner) --routePlanner = RoutePlanner() local spawnArea = routePlanner:getRandomSpawnArea() local island = spawnArea:getIsland() local npcNode = island:addChild(SceneNode()) npcNode:setLocalPosition( island:getGlobalMatrix():inverseM() * spawnArea:getGlobalPosition()) return npcNode end function spawnUnits() local node = createNpcNode() node:loadLuaScript("NPC/npc_rat.lua") end function create() timeBettwenSpawn = 8 timeToNextSpawn = 1 return true end function update() timeToNextSpawn = timeToNextSpawn - Core.getDeltaTime() if timeToNextSpawn < 0 then spawnUnits() timeToNextSpawn = timeBettwenSpawn end return true end
nilq/small-lua-stack
null
---@diagnostic disable: undefined-global -- Success function Success() print("======> success") end -- Failed function Failed(error) print("======> failed:", error) end -- Actions Actions = { function(data) stdlib:WriteInStream('INEND_e1a3f6df-1048-4582-aeac-9e7c45352db1', data) stdlib:WriteOutStream('OUTEND_e1a3f6df-1048-4582-aeac-9e7c45352db1', data) return true, data end }
nilq/small-lua-stack
null
-- sfcraftguide/init.lua local S = minetest.get_translator("sfcraftguide") local esc = minetest.formspec_escape local sfcraftguide = {} local player_data = {} local init_items = {} local recipes_cache = {} local usages_cache = {} local group_stereotypes = { dye = "dye:white", wool = "wool:white", coal = "base_ores:coal_lump", vessel = "base_vessels:glass_bottle", flower = "base_flowers:dandelion_yellow", wood = "base_trees:apple_wood" } local group_names = { coal = S("Any coal"), sand = S("Any sand"), wool = S("Any wool"), stick = S("Any stick"), vessel = S("Any vessel"), wood = S("Any wood planks"), stone = S("Any kind of stone block"), ["color_red,flower"] = S("Any red flower"), ["color_blue,flower"] = S("Any blue flower"), ["color_black,flower"] = S("Any black flower"), ["color_green,flower"] = S("Any green flower"), ["color_white,flower"] = S("Any white flower"), ["color_orange,flower"] = S("Any orange flower"), ["color_violet,flower"] = S("Any violet flower"), ["color_yellow,flower"] = S("Any yellow flower"), ["color_red,dye"] = S("Any red dye"), ["color_blue,dye"] = S("Any blue dye"), ["color_cyan,dye"] = S("Any cyan dye"), ["color_grey,dye"] = S("Any grey dye"), ["color_pink,dye"] = S("Any pink dye"), ["color_black,dye"] = S("Any black dye"), ["color_brown,dye"] = S("Any brown dye"), ["color_green,dye"] = S("Any green dye"), ["color_white,dye"] = S("Any white dye"), ["color_orange,dye"] = S("Any orange dye"), ["color_violet,dye"] = S("Any violet dye"), ["color_yellow,dye"] = S("Any yellow dye"), ["color_magenta,dye"] = S("Any magenta dye"), ["color_dark_grey,dye"] = S("Any dark grey dye"), ["color_dark_green,dye"] = S("Any dark green dye") } local function table_replace(t, val, new) for k, v in pairs(t) do if v == val then t[k] = new end end end function sfcraftguide.extract_groups(str) if str:sub(1, 6) == "group:" then return str:sub(7):split() end return nil end function sfcraftguide.item_has_groups(item_groups, groups) for _, group in ipairs(groups) do if not item_groups[group] then return false end end return true end function sfcraftguide.groups_to_item(groups) if #groups == 1 then local group = groups[1] if group_stereotypes[group] then return group_stereotypes[group] end end for name, def in pairs(minetest.registered_items) do if sfcraftguide.item_has_groups(def.groups, groups) then return name end end return ":unknown" end function sfcraftguide.get_craftable_recipes(output) local recipes = minetest.get_all_craft_recipes(output) if not recipes then return nil end for i = #recipes, 1, -1 do for _, item in pairs(recipes[i].items) do local groups = sfcraftguide.extract_groups(item) if groups then item = sfcraftguide.groups_to_item(groups) end if not minetest.registered_items[item] then table.remove(recipes, i) break end end end if #recipes > 0 then return recipes end end function sfcraftguide.show_item(def) return def.groups.not_in_craft_guide ~= 1 and def.description ~= "" end local function cache_usages(recipe) local added = {} for _, item in pairs(recipe.items) do if not added[item] then local groups = sfcraftguide.extract_groups(item) if groups then for name, def in pairs(minetest.registered_items) do if not added[name] and sfcraftguide.show_item(def) and sfcraftguide.item_has_groups(def.groups, groups) then local usage = table.copy(recipe) table_replace(usage.items, item, name) usages_cache[name] = usages_cache[name] or {} table.insert(usages_cache[name], usage) added[name] = true end end elseif sfcraftguide.show_item(minetest.registered_items[item]) then usages_cache[item] = usages_cache[item] or {} table.insert(usages_cache[item], recipe) end added[item] = true end end end minetest.register_on_mods_loaded(function() for name, def in pairs(minetest.registered_items) do if sfcraftguide.show_item(def) then local recipes = sfcraftguide.get_craftable_recipes(name) if recipes then recipes_cache[name] = recipes for _, recipe in ipairs(recipes) do cache_usages(recipe) end end end end for name, def in pairs(minetest.registered_items) do if recipes_cache[name] or usages_cache[name] then table.insert(init_items, name) end end table.sort(init_items) end) local function coords(i, cols) return i % cols, math.floor(i / cols) end function sfcraftguide.is_fuel(item) return minetest.get_craft_result({method="fuel", items={item}}).time > 0 end function sfcraftguide.item_button_fs(fs, x, y, item, element_name, groups) table.insert(fs, ("item_image_button[%s,%s;1.05,1.05;%s;%s;%s]") :format(x, y, item, element_name, groups and "\n"..esc(S("G")) or "")) local tooltip if groups then table.sort(groups) tooltip = group_names[table.concat(groups, ",")] if not tooltip then local groupstr = {} for _, group in ipairs(groups) do table.insert(groupstr, minetest.colorize("yellow", group)) end groupstr = table.concat(groupstr, ", ") tooltip = S("Any item belonging to the group(s): @1", groupstr) end elseif sfcraftguide.is_fuel(item) then local itemdef = minetest.registered_items[item:match("%S*")] local desc = itemdef and itemdef.description or S("Unknown Item") tooltip = desc.."\n"..minetest.colorize("orange", S("Fuel")) end if tooltip then table.insert(fs, ("tooltip[%s;%s]"):format(element_name, esc(tooltip))) end end function sfcraftguide.recipe_fs(fs, data) local recipe = data.recipes[data.rnum] local width = recipe.width local cooktime, shapeless if recipe.method == "cooking" then cooktime, width = width, 1 elseif width == 0 then shapeless = true if #recipe.items == 1 then width = 1 elseif #recipe.items <= 4 then width = 2 else width = 3 end end table.insert(fs, ("label[5.5,1;%s]"):format(esc(data.show_usages and S("Usage @1 of @2", data.rnum, #data.recipes) or S("Recipe @1 of @2", data.rnum, #data.recipes)))) if #data.recipes > 1 then table.insert(fs, "image_button[5.5,1.6;0.8,0.8;formspecs_prev_icon.png;recipe_prev;]".. "image_button[6.2,1.6;0.8,0.8;formspecs_next_icon.png;recipe_next;]".. "tooltip[recipe_prev;"..esc(S("Previous recipe")).."]".. "tooltip[recipe_next;"..esc(S("Next recipe")).."]") end local rows = math.ceil(table.maxn(recipe.items) / width) if width > 3 or rows > 3 then table.insert(fs, ("label[0,1;%s]") :format(esc(S("Recipe is too big to be displayed.")))) return end local base_x = 3 - width local base_y = rows == 1 and 1 or 0 for i, item in pairs(recipe.items) do local x, y = coords(i - 1, width) local elem_name local groups = sfcraftguide.extract_groups(item) if groups then item = sfcraftguide.groups_to_item(groups) elem_name = esc(item .. "." .. table.concat(groups, "+")) end sfcraftguide.item_button_fs(fs, base_x + x, base_y + y, item, elem_name, groups) end if shapeless or recipe.method == "cooking" then table.insert(fs, ("image[3.2,0.5;0.5,0.5;sfcraftguide_%s.png]") :format(shapeless and "shapeless" or "furnace")) local tooltip = shapeless and S("Shapeless") or S("Cooking time: @1", minetest.colorize("yellow", cooktime)) table.insert(fs, "tooltip[3.2,0.5;0.5,0.5;"..esc(tooltip).."]") end table.insert(fs, "image[3,1;1,1;base_inv_crafting_arrow.png]") sfcraftguide.item_button_fs(fs, 4, 1, recipe.output, recipe.output:match("%S*")) end function sfcraftguide.get_formspec(player) local name = player:get_player_name() local data = player_data[name] data.pagemax = math.max(1, math.ceil(#data.items / 32)) local fs = { "style_type[item_image_button;padding=2]", "field[0.3,4.2;2.8,1.2;filter;;", esc(data.filter), "]", "label[6.2,4.15;", minetest.colorize("yellow", data.pagenum), " / ", data.pagemax, "]", "image_button[2.63,4.05;0.8,0.8;formspecs_search_icon.png;search;]", "image_button[3.25,4.05;0.8,0.8;formspecs_clear_icon.png;clear;]", "image_button[5,4.05;0.8,0.8;formspecs_prev_icon.png;prev;]", "image_button[7.25,4.05;0.8,0.8;formspecs_next_icon.png;next;]", "tooltip[search;", esc(S("Search")), "]", "tooltip[clear;", esc(S("Reset")), "]", "tooltip[prev;", esc(S("Previous page")), "]", "tooltip[next;", esc(S("Next page")), "]", "field_close_on_enter[filter;false]" } if #data.items == 0 then table.insert(fs, "label[3,2;"..esc(S("No items to show.")).."]") else local first_item = (data.pagenum - 1) * 32 for i = first_item, first_item + 31 do local item = data.items[i + 1] if not item then break end local x, y = coords(i % 32, 8) sfcraftguide.item_button_fs(fs, x, y, item, item) end end table.insert(fs, "container[0,5.6]") if data.recipes then sfcraftguide.recipe_fs(fs, data) elseif data.prev_item then table.insert(fs, ("label[2,1;%s]"):format(esc(data.show_usages and S("No usages.").."\n"..S("Click again to show recipes.") or S("No recipes.").."\n"..S("Click again to show usages.")))) end table.insert(fs, "container_end[]") return table.concat(fs) end local function imatch(str, filter) return str:lower():find(filter, 1, true) ~= nil end function sfcraftguide.execute_search(data) local filter = data.filter if filter == "" then data.items = init_items return end data.items = {} for _, item in ipairs(init_items) do local def = minetest.registered_items[item] local desc = def and minetest.get_translated_string(data.lang_code, def.description) if imatch(item, filter) or desc and imatch(desc, filter) then table.insert(data.items, item) end end end function sfcraftguide.on_receive_fields(player, fields) local name = player:get_player_name() local data = player_data[name] if fields.clear then data.filter = "" data.pagenum = 1 data.prev_item = nil data.recipes = nil data.items = init_items return true elseif fields.key_enter_field == "filter" or fields.search then local new = fields.filter:lower() if data.filter == new then return end data.filter = new data.pagenum = 1 sfcraftguide.execute_search(data) return true elseif fields.prev or fields.next then if data.pagemax == 1 then return end data.pagenum = data.pagenum + (fields.next and 1 or -1) if data.pagenum > data.pagemax then data.pagenum = 1 elseif data.pagenum == 0 then data.pagenum = data.pagemax end return true elseif fields.recipe_next or fields.recipe_prev then data.rnum = data.rnum + (fields.recipe_next and 1 or -1) if data.rnum > #data.recipes then data.rnum = 1 elseif data.rnum == 0 then data.rnum = #data.recipes end return true else local item for field in pairs(fields) do if field:find(":") then item = field:match("[%w_:]+") break end end if not item then return end if item == data.prev_item then data.show_usages = not data.show_usages else data.show_usages = nil end if data.show_usages then data.recipes = usages_cache[item] else data.recipes = recipes_cache[item] end data.prev_item = item data.rnum = 1 return true end end minetest.register_on_joinplayer(function(player) local name = player:get_player_name() local info = minetest.get_player_information(name) player_data[name] = { filter = "", pagenum = 1, items = init_items, lang_code = info.lang_code } end) minetest.register_on_leaveplayer(function(player) local name = player:get_player_name() player_data[name] = nil end) sfinv.register_page("sfcraftguide:craftguide", { title = esc(S("Recipes")), get = function(self, player, context) return sfinv.make_formspec(player, context, sfcraftguide .get_formspec(player)) end, on_player_receive_fields = function(self, player, context, fields) if sfcraftguide.on_receive_fields(player, fields) then sfinv.set_player_inventory_formspec(player) end end })
nilq/small-lua-stack
null
----------------------------------------------------- --name : lib/crunch/20_lz77.lua --description: crunch module, writes lz77 prefix, wraps the stream, adds decompression code on cleanup --author : mpmxyz --github page: https://github.com/mpmxyz/ocprograms --forum page : none ----------------------------------------------------- local lz77 = require("parser.lz77") return { run = function(context, options) --LZ77 SXF option if options.lz77 then context.verbose("Adding LZ77 wrapper...") local originalStream = context.outputStream --an output function for the lz77 compression function local function lz77output(value) originalStream:write(value) end --create and init a compressor coroutine context.lz77yieldedCompress = coroutine.create(lz77.compress) assert(coroutine.resume(context.lz77yieldedCompress, coroutine.yield, options.lz77, lz77output, 1000)) --replace the original stream context.outputStream = { parent = originalStream, write = function(self, value) return assert(coroutine.resume(context.lz77yieldedCompress, value)) end, close = function() return originalStream:close() end, seek = function(self, ...) return originalStream:seek(...) end, } --lz77 header originalStream:write("local i=[[\n") end end, cleanup = function(context, options) if options.lz77 then context.verbose("Adding LZ77 decompressor...") --finish lz77 compression while coroutine.status(context.lz77yieldedCompress) == "suspended" do assert(coroutine.resume(context.lz77yieldedCompress, nil)) end --restore original output stream context.outputStream = context.outputStream.parent ---finishing... context.outputStream:write("]]") --append decompression code context.outputStream:write(lz77.getSXF("i", "o", options.lz77)) --append launcher context.outputStream:write("\nreturn assert(load(o))(...)") end end, }
nilq/small-lua-stack
null
return {'ellebogenwerk','elleboog','elleboogstoot','ellen','ellende','ellendeling','ellendig','ellendige','ellendigheid','ellenlang','ellenmaat','ellens','ellepijp','ellips','ellipsoide','ellipsvormig','elliptisch','elleboogblessure','elleboogholte','ellebooggewricht','ella','elle','elleke','ellen','elles','ellikom','elly','ellemieke','ellie','elliot','elliott','ellis','elling','ellenbroek','ellenkamp','ellebogen','ellendelingen','ellenden','ellendiger','ellendigere','ellendigst','ellendigste','ellenlange','ellepijpen','elletje','elletjes','ellipsen','ellipsoiden','ellipsvormige','elliptische','elleboogstoten','ellendes','ellenmaten','elleboogblessuren','elleboogblessures','elleboogholten','elleboogholtes','ellas','ellekes','ellemiekes','ellens','elles','ellies','elliots','elliotts','ellis','ellys','ellebooggewrichten'}
nilq/small-lua-stack
null
include('shared.lua') surface.CreateFont( "Myfont", { font = "DefaultBold", -- Not file name, font name --size = fontSize, size = 25, weight = 400, antialias = true, shadow = true }) function ENT:Draw() --self:DrawModel() local pos = self:GetPos() local rot = CurTime()*50 cam.Start3D2D( pos, Angle(0,rot,90), 0.25) draw.DrawText( self:GetNWString("text1"), "Myfont",0,0,Color(255,255,255,255), TEXT_ALIGN_CENTER) cam.End3D2D() cam.Start3D2D( pos, Angle(0,rot+180,90), 0.25) draw.DrawText( self:GetNWString("text2"), "Myfont",0,0,Color(255,255,255,255), TEXT_ALIGN_CENTER) cam.End3D2D() end
nilq/small-lua-stack
null
-- Version of bin/luacheck.lua for use in Luacheck binaries. -- Do not load modules from filesystem in case a bundled module is broken. package.path = "" package.cpath = "" require "luacheck.main"
nilq/small-lua-stack
null
function Circle(sub) for i = 1,4 do turtle.forward(); sub() turtle.forward(); turtle.turnLeft(); sub() end end function FillSlot() slot = 2 while turtle.getItemCount(1) < 64 and slot < 15 do turtle.select(slot) if turtle.compareTo(1) then turtle.transferTo(1,64) end slot = slot+1 end end local modem = peripheral.wrap("left") local channel = 1001 local name = os.getComputerLabel() modem.open(channel) local runs = 0 while turtle.getItemCount(1) > 7 do FillSlot() turtle.select(1) while turtle.compareDown() do sleep(1) end runs = runs + 1 modem.transmit(channel, channel, name..":Runs:".. runs) print("runs: ", runs) Circle(function() turtle.digDown(); turtle.placeDown() end) end
nilq/small-lua-stack
null
object_tangible_loot_mustafar_cube_loot_cube_loot_2o = object_tangible_loot_mustafar_cube_loot_shared_cube_loot_2o:new { } ObjectTemplates:addTemplate(object_tangible_loot_mustafar_cube_loot_cube_loot_2o, "object/tangible/loot/mustafar/cube/loot/cube_loot_2o.iff")
nilq/small-lua-stack
null
function LoadGEDatabase() ----------------------------------------------------------------- -- Reads the list of images in the Game Engine videos -- outputs: -- dataset: a table with list of files for each category -- datatset[category][angle][variation], e.g., -- datatset['rolling'][1]['1_1'] ----------------------------------------------------------------- os.execute('mkdir -p ' .. config.GE.saveDir) local geDir = config.GE.dir; local dataset = {}; -- physics categories local physicsCategories = paths.dir(geDir); RemoveDotDirs(physicsCategories); local nClasses=table.getn(physicsCategories); for i=1,nClasses do dataset[physicsCategories[i]] = {}; end for i=1,nClasses do -- angle directories local dir1 = paths.concat(geDir,physicsCategories[i]); local angleCategories = paths.dir(dir1); RemoveDotDirs(angleCategories); local anglebins = {} for _,a in pairs(angleCategories) do abin, tmp = a:match("([^,]+)_([^,]+)"); anglebins[tonumber(abin)] = 1; end for k,_ in pairs(anglebins) do dataset[physicsCategories[i]][k] = {}; end for k,_ in pairs(anglebins) do local dir2 = paths.concat(geDir,physicsCategories[i],tostring(k) .. '_' .. 'im'); local alldirs = paths.dir(dir2); RemoveDotDirs(alldirs); table.sort(alldirs, function (a,b) return a < b end); for _,d in pairs(alldirs) do local dir3 = paths.concat(geDir,physicsCategories[i],tostring(k) .. '_' .. 'im', d); local files = paths.dir(dir3); RemoveDotDirs(files); table.sort(files, function (a,b) return a < b end); dataset[physicsCategories[i]][k][d] = {}; dataset[physicsCategories[i]][k][d] = files; end end end local splines = mattorch.load(config.GE.splinesFile)['splines'] setmetatable(dataset, {splines = splines}) return dataset; end function ReadGEImagesPerCategory(physicsCategory, angle, dataset, savefile, input_type) ----------------------------------------------------------------- -- Reads game engine videos for a category and an angle -- inputs: -- physicsCategory: 'rolling', 'falling', etc. -- angle: the view angle (1 out of 8 or 1 out of 3 for symmetric categories) -- dataset: the output of "LoadGEDatabase" function -- savefile: the filename for stroing the videos in our format -- opts -- outputs: -- images: 5D Tensor, -- nvariations (different z's for the camera, different forces, etc. ) x -- fr_per_video x 3 (channels) x imH (image height) x imW (image width) ----------------------------------------------------------------- local images = {}; local geDir = config.GE.dir; local imH = config.GE.imH; local imW = config.GE.imW; local fr_per_video = config.GE.frame_per_video; -- # of frames that we want to keep from each video local mean = config.GE[input_type].mean; local std = config.GE[input_type].std; local nChannels = config.GE[input_type].nChannels; local nvariations = getTableSize(dataset[physicsCategory][angle]); local imTensor = torch.Tensor(nvariations, fr_per_video, nChannels, imH, imW); local suffix = config.GE[input_type].suffix local cnt = 0; for dir,files in pairs(dataset[physicsCategory][angle]) do cnt = cnt + 1; for f = 1,#files do local fname_im = paths.concat(geDir,physicsCategory, angle .. '_' .. suffix, dir, files[f]); local im = normalizeImage(image.scale(loadImageOrig(fname_im), imW, imH), mean, std); imTensor[cnt][f] = im[{{1,nChannels}, {}, {}}]; end end images = imTensor; collectgarbage() torch.save(savefile, images) return images end function LoadGEPositionPerCategory(physicsCategory, angle, dataset) ----------------------------------------------------------------- -- If files do not exist, it calls "ReadGEPositionPerCategory". Otherwise, -- it loads from the disk. -- -- inputs: -- physicsCategory: 'rolling', 'falling', etc. -- angle: the view angle (1 out of 8 or 1 out of 3 for symmetric categories) -- dataset: the output of "LoadGEDatabase" function -- outputs: -- positions: 3D Tensor, -- nvariations (different z's for the camera, different forces, etc. ) x -- fr_per_video x 3 (x,y,z) ----------------------------------------------------------------- saveDir = config.GE.saveDir; local positions; fname = paths.concat(saveDir, physicsCategory .. '_' .. angle .. '_positions' .. '.t7'); if paths.filep(fname) then positions = torch.load(fname) else positions = ReadGEPositionPerCategory(physicsCategory, angle, dataset, fname); end return positions; end function LoadGEPerCategory(physicsCategory, angle, dataset, input_type) ----------------------------------------------------------------- -- If files do not exist, it calls "ReadGEImagesPerCategory". Otherwise, -- it loads from the disk. -- -- inputs: -- physicsCategory: 'rolling', 'falling', etc. -- angle: the view angle (1 out of 8 or 1 out of 3 for symmetric categories) -- dataset: the output of "LoadGEDatabase" function -- opts -- outputs: -- images: 5D Tensor, -- nvariations (different z's for the camera, different forces, etc. ) x -- fr_per_video x 3 (channels) x imH (image height) x imW (image width) ----------------------------------------------------------------- if not input_type then local imH = config.GE.imH; local imW = config.GE.imW; local fr_per_video = config.GE.frame_per_video; -- # of frames that we want to keep from each video local nvariations = config.GE.use_multiple_vars and getTableSize(dataset[physicsCategory][angle]) or 1; local all_input_types = GetEnableInputTypes(config.GE) local nChannels = GetValuesSum(all_input_types) local result = torch.Tensor(nvariations, fr_per_video, nChannels, imH, imW); local i = 1 for input_type, nChannels in pairs(all_input_types) do result[{{}, {}, {i, i+nChannels-1}, {}, {}}] = LoadGEPerCategory(physicsCategory, angle, dataset, input_type) i = i + nChannels end return result end local saveDir = config.GE.saveDir local suffix = config.GE[input_type].suffix local images; local fname = paths.concat(saveDir, physicsCategory .. '_' .. angle .. '_' .. suffix .. '.t7'); if paths.filep(fname) then images = torch.load(fname) else images = ReadGEImagesPerCategory(physicsCategory, angle, dataset, fname, input_type); end if not config.GE.use_multiple_vars then local var_id = images:size(1) == 1 and 1 or 2 images = images[{{var_id}, {}, {}, {}, {}}] end return images; end function ReadGEImagesAll(dataset, savefile, opts) ----------------------------------------------------------------- -- Reads all game engine videos -- inputs: -- dataset: the output of "LoadGEDatabase" function -- savefile: the filename for stroing the videos in our format -- opts -- outputs: -- images: 5D Tensor, -- nvariations (different z's for the camera, different forces, etc. ) x -- fr_per_video x 3 (channels) x imH (image height) x imW (image width) ----------------------------------------------------------------- local images = {}; local geDir = config.GE.dir; local imH = config.GE.imH; local imW = config.GE.imW; local fr_per_video = config.GE.frame_per_video; -- # of frames that we want to keep from each video local input_type = opts.input_type; local mean = opts.mean; local std = opts.std; for physicsCategory,_ in pairs(dataset) do images[physicsCategory] = {}; for angle,_ in pairs(dataset[physicsCategory]) do images[physicsCategory][angle] = {}; local nvariations = getTableSize(dataset[physicsCategory][angle]); local imTensor = torch.Tensor(nvariations, fr_per_video, 3, imH, imW); local cnt = 0; for dir,files in pairs(dataset[physicsCategory][angle]) do cnt = cnt + 1; for f = 1,#files do local fname_im = paths.concat(geDir,physicsCategory, angle .. '_' .. input_type, dir, files[f]); local im = normalizeImage(image.scale(loadImageOrig(fname_im), imW, imH), mean, std); imTensor[cnt][f] = im; end end images [physicsCategory][angle] = imTensor; end end collectgarbage() torch.save(savefile, images) return images end function LoadGEAll(dataset, opts) ----------------------------------------------------------------- -- If files do not exist, it calls "ReadGEImagesAll". Otherwise, -- it loads from the disk. -- -- inputs: -- dataset: the output of "LoadGEDatabase" function -- opts -- outputs: -- images: 5D Tensor, -- nvariations (different z's for the camera, different forces, etc. ) x -- fr_per_video x 3 (channels) x imH (image height) x imW (image width) ----------------------------------------------------------------- saveDir = config.GEsaveDir; local images; fname = paths.concat(saveDir, 'allGE_' .. opts.input_type .. '.t7'); if paths.filep(fname) then images = torch.load(fname) else images = ReadGEImagesAll(dataset, fname, opts); end return images end
nilq/small-lua-stack
null
local Assets = {} local self = Assets Assets.saved_data = nil function Assets.clear() self.loaded = false self.data = { texture = {}, texture_data = {}, frame_ids = {}, frames = {}, fonts = {}, font_data = {}, font_image_data = {}, font_settings = {}, sound_data = {}, music = {}, videos = {}, bubbles = {}, bubble_settings = {}, } self.frames_for = {} self.texture_ids = {} self.sounds = {} self.sound_instances = {} end function Assets.loadData(data) Utils.merge(self.data, data, true) self.parseData(data) self.loaded = true end function Assets.saveData() self.saved_data = { data = Utils.copy(self.data, true), frames_for = Utils.copy(self.frames_for, true), texture_ids = Utils.copy(self.texture_ids, true), sounds = Utils.copy(self.sounds, true), } end function Assets.restoreData() if self.saved_data then Assets.clear() for k,v in pairs(self.saved_data) do self[k] = Utils.copy(v, true) end self.loaded = true return true else return false end end function Assets.parseData(data) -- thread can't create images, we do it here for key,image_data in pairs(data.texture_data) do self.data.texture[key] = love.graphics.newImage(image_data) self.texture_ids[self.data.texture[key]] = key end -- create frame tables with images for key,ids in pairs(data.frame_ids) do self.data.frames[key] = {} for i,id in pairs(ids) do self.data.frames[key][i] = self.data.texture[id] self.frames_for[id] = {key, i} end end -- create TTF fonts for key,file_data in pairs(data.font_data) do local default = data.font_settings[key] and data.font_settings[key]["defaultSize"] or 12 self.data.fonts[key] = {default = default} self.data.fonts[key][default] = love.graphics.newFont(file_data, default) end -- create image fonts for key,image_data in pairs(data.font_image_data) do local glyphs = data.font_settings[key] and data.font_settings[key]["glyphs"] or "" data.font_settings[key] = data.font_settings[key] or {} if data.font_settings[key]["autoScale"] == nil then data.font_settings[key]["autoScale"] = true end self.data.fonts[key] = love.graphics.newImageFont(image_data, glyphs) end -- create single-instance audio sources for key,sound_data in pairs(data.sound_data) do local src = love.audio.newSource(sound_data) self.sounds[key] = src end -- may be a memory hog, we clone the existing source so we dont need the sound data anymore --self.data.sound_data = {} end function Assets.update() local sounds_to_remove = {} for key,sounds in pairs(self.sound_instances) do for _,sound in ipairs(sounds) do if not sound:isPlaying() then table.insert(sounds_to_remove, {key = key, value = sound}) end end end for _,sound in ipairs(sounds_to_remove) do Utils.removeFromTable(self.sound_instances[sound.key], sound.value) end end function Assets.getBubbleData(path) return self.data.bubble_settings[path] or {} end function Assets.getFont(path, size) local font = self.data.fonts[path] if font then local settings = self.data.font_settings[path] or {} if type(font) == "table" then if settings["autoScale"] then size = font.default else size = size or font.default end if not font[size] then font[size] = love.graphics.newFont(self.data.font_data[path], size) end return font[size] else return font end end end function Assets.getFontData(path) return self.data.font_settings[path] or {} end function Assets.getFontScale(path, size) local data = self.data.font_settings[path] if data and data["autoScale"] then return (size or 1) / (data["defaultSize"] or 1) else return 1 end end function Assets.getTexture(path) return self.data.texture[path] end function Assets.getTextureData(path) return self.data.texture_data[path] end function Assets.getTextureID(texture) if type(texture) == "string" then return texture else return self.texture_ids[texture] end end function Assets.getFrames(path) return self.data.frames[path] end function Assets.getFrameIds(path) return self.data.frame_ids[path] end function Assets.getFramesFor(texture) if self.frames_for[texture] then return unpack(self.frames_for[texture]) end end function Assets.getFramesOrTexture(path) local texture = Assets.getTexture(path) if texture then return {texture} else return Assets.getFrames(path) end end function Assets.getSound(sound) return self.sounds[sound] end function Assets.newSound(sound) return self.sounds[sound]:clone() end function Assets.startSound(sound) if self.sounds[sound] then self.sounds[sound]:stop() self.sounds[sound]:play() return self.sounds[sound] end end function Assets.stopSound(sound, actually_stop) for _,src in ipairs(self.sound_instances[sound] or {}) do if actually_stop then src:stop() else src:setVolume(0) if src:isLooping() then src:setLooping(false) end end end if actually_stop then self.sound_instances[sound] = {} end end function Assets.playSound(sound, volume, pitch) if self.sounds[sound] then local src = self.sounds[sound]:clone() if volume then src:setVolume(volume) end if pitch then src:setPitch(pitch) end src:play() self.sound_instances[sound] = self.sound_instances[sound] or {} table.insert(self.sound_instances[sound], src) return src end end function Assets.stopAndPlaySound(sound, volume, pitch, actually_stop) self.stopSound(sound, actually_stop) return self.playSound(sound, volume, pitch) end function Assets.getMusicPath(music) return self.data.music[music] end function Assets.getVideoPath(video) return self.data.videos[video] end function Assets.newVideo(video, load_audio) if not self.data.videos[video] then error("No video found: "..video) end return love.graphics.newVideo(self.data.videos[video], {audio = load_audio}) end Assets.clear() return Assets
nilq/small-lua-stack
null
-- Script: QuerySelector.lua local RS = game:GetService("RunService") local function log(thing, trackback) if script:GetAttribute('debug') then if typeof(trackback) ~= "number" then print(debug.traceback()) else if trackback == 2 then warn(thing) elseif trackback == 3 then error(thing) else print(thing) end end end end -- OLD checkHierarchy function, look below for the NEWER one! local function checkHierarchy2(tbl, tree) local returnValue = {} log(table.getn(tree)) log(tbl) if table.getn(tree) > 1 then -- There are parent elements log("There are parent elements") for k, v in ipairs(tbl) do log("CURRENTLY SCANNING:") log(v) log("-----") local isInTbl = false for k2, v2 in ipairs(tbl) do log(v2) if v2:IsAncestorOf(v) then isInTbl = true break end end log("isInTbl: "..tostring(isInTbl)) if isInTbl then table.insert(returnValue, #returnValue+1, v) end log("--------------------") end --for k, v in ipairs(tbl) do -- print(k) -- print(v) -- print(tbl[k+1]) -- if tbl[k+1]:IsDescendantOf(v) then -- print("Found!") -- table.remove(tbl, k) -- end -- print("------------------") --end else -- No parent elements log("No parent elements") returnValue = tbl end log(returnValue) return returnValue end local function checkHierarchy(tbl, tree) if table.getn(tree) > 1 then local returnValue = {} local grouping = {} --[[ Loop through entries in tree and find the elements in tbl that match the branch. ]] log(tree, 2) for _, v in pairs(tree) do local name, classname, id = v[1], string.gsub(v[2], "RoQueryCLASS_", ""), v[3] if id then id = string.gsub(id, "RoQueryID_", "") end local groupingPart = {} log(v, 2) for k, vv in pairs(tbl) do if classname then log(vv.ClassName) if name and id then log(vv.Name) log(vv:GetAttribute('ROQUERY_ID')) local part1, part2, part3 if string.lower(vv.Name) == name then part1 = true end if string.lower(vv.ClassName) == classname then part2 = true end if vv:GetAttribute(id) then if string.lower(vv:GetAttribute('ROQUERY_ID')) == id then part3 = true end end if part2 and part1 and part3 then table.insert(groupingPart, vv) end elseif name then log(vv.Name) local part1, part2 if string.lower(vv.Name) == name then part1 = true end if string.lower(vv.ClassName) == classname then part2 = true end if part2 and part1 then table.insert(groupingPart, vv) end elseif id then log(vv:GetAttribute('ROQUERY_ID')) local part2, part3 if string.lower(vv.ClassName) == classname then part2 = true end if vv:GetAttribute('ROQUERY_ID') then if string.lower(vv:GetAttribute('ROQUERY_ID')) == id then part3 = true end end if part2 and part3 then table.insert(groupingPart, vv) end else if string.lower(vv.ClassName) == classname then if not table.find(groupingPart, vv) then table.insert(groupingPart, vv) end end end end end log(groupingPart) table.insert(grouping, groupingPart) end ----- local function deepCopy(original) local copy = {} for k, v in pairs(original) do if type(v) == "table" then v = deepCopy(v) end copy[k] = v end return copy end local grouping2 = deepCopy(grouping) for _, v in ipairs(grouping2) do for k, vv in ipairs(v) do v[k] = vv:GetFullName() end end log(grouping2, 2) ----- for k, v in ipairs(grouping) do if k == 1 then continue end log("New Table: "..k) for i, vv in ipairs(v) do log(i) log(vv) log(vv:GetFullName()) local found = false for _, vvv in ipairs(grouping[k-1]) do if vvv == "ROQUERY_NIL_PLACEHOLDER" then continue end if vv:IsDescendantOf(vvv) then found = vvv break end end if not found then log("removing "..i.." from table") log(vv:GetFullName()) log(v) v[i] = "ROQUERY_NIL_PLACEHOLDER" else log('found is:') log(found:GetFullName()) end --if not table.find(grouping[k-1], vv.Parent) then -- print("removing "..i.." from table") -- print(v) -- table.remove(v, i) --else -- print("Found! "..table.find(grouping[k-1], vv.Parent)) --end log("-----------------------------") end end log(grouping, 2) local endTbl = {} table.foreachi(grouping[#grouping], function(i,v) if v ~= "ROQUERY_NIL_PLACEHOLDER" then table.insert(endTbl, v) end end) return endTbl else return tbl end end return function(query: string, treeOnly) if treeOnly == nil then treeOnly = false end if not query then warn("QuerySelector Failed: No Query Provided") print(debug.traceback()) return end local divided = string.split(query, " ") local elementTree = {} --[[ for i, v in ipairs(divided) do local thisElement local attr local currently = "text" local exists = false local tokens = string.split(v, "") for _, token in ipairs(tokens) do if token == "." then if tokens[1] == token then exists = true end attr = "CLASS_" currently = "class" elseif token == "#" then if tokens[1] == token then exists = true end attr = "ID_" currently = "id" else if currently == "class" then attr = attr .. token elseif currently == "id" then attr = attr .. token elseif currently == "text" then if tokens[1] == token then thisElement = tostring(token) elseif exists == false then thisElement = thisElement .. token end end end end elementTree[#elementTree+1] = {thisElement, attr} end ]] for i, v in ipairs(divided) do local thisElement local attr1, attr2, currentAttr local currently = "text" local exists = false local tokens = string.split(v, "") for _, token in ipairs(tokens) do if token == "." then if tokens[1] == token then exists = true end if attr1 == nil then attr1 = "RoQueryCLASS_" currentAttr = 1 else attr2 = "RoQueryCLASS_" currentAttr = 2 end currently = "class" elseif token == "#" then if tokens[1] == token then exists = true end if attr1 == nil then attr1 = "RoQueryID_" currentAttr = 1 else attr2 = "RoQueryID_" currentAttr = 2 end currently = "id" else if currently == "class" then if currentAttr == 1 then attr1 = attr1 .. token elseif currentAttr == 2 then attr2 = attr2 .. token end elseif currently == "id" then if currentAttr == 1 then attr1 = attr1 .. token elseif currentAttr == 2 then attr2 = attr2 .. token end elseif currently == "text" then if tokens[1] == token then thisElement = tostring(token) elseif exists == false then thisElement = thisElement .. token end end end end elementTree[#elementTree+1] = {thisElement, attr1, attr2} end log(elementTree) local allowedPlacesForServer = {game.Workspace, game.Players, game.Lighting, game.ReplicatedFirst, game.ReplicatedStorage, game.ServerScriptService, game.ServerStorage, game.StarterGui, game.StarterPack, game.StarterPlayer, game.Teams, game.SoundService, game.Chat} local allowedPlacesForClient = {game.Workspace, game.Players, game.Lighting, game.ReplicatedFirst, game.ReplicatedStorage, game.StarterGui, game.StarterPack, game.StarterPlayer, game.Teams, game.SoundService, game.Chat} local allowedPlaces if RS:IsClient() then allowedPlaces = allowedPlacesForClient else allowedPlaces = allowedPlacesForServer end if not treeOnly then local finalElements = {} for k, v in pairs(elementTree) do for _, gameChild in ipairs(allowedPlaces) do for _, descendant in ipairs(gameChild:GetDescendants()) do local checks = table.getn(v) local checksDone = 0 local checksPassed = 0 -- if v[1] then local firstCheck = string.split(v[1], "_") if firstCheck[1] == "RoQueryCLASS" then if string.lower(descendant.ClassName) == string.lower(firstCheck[2]) then checksPassed += 1 end elseif firstCheck[1] == "RoQueryID" then if descendant:GetAttribute("ROQUERY_ID") == firstCheck[2] then checksPassed += 1 end else if string.lower(descendant.Name) == string.lower(firstCheck[1]) then checksPassed += 1 end end checksDone += 1 end -- if v[2] then local secondCheck = string.split(v[2], "_") if secondCheck[1] == "RoQueryCLASS" then if string.lower(descendant.ClassName) == string.lower(secondCheck[2]) then checksPassed += 1 end elseif secondCheck[1] == "RoQueryID" then if descendant:GetAttribute("ROQUERY_ID") == secondCheck[2] then checksPassed += 1 end else if string.lower(descendant.Name) == string.lower(secondCheck[2]) then checksPassed += 1 end end checksDone += 1 end -- if v[3] then local thirdCheck = string.split(v[3], "_") if thirdCheck[1] == "RoQueryCLASS" then if string.lower(descendant.ClassName) == string.lower(thirdCheck[2]) then checksPassed += 1 end elseif thirdCheck[1] == "RoQueryID" then if descendant:GetAttribute("ROQUERY_ID") == thirdCheck[2] then checksPassed += 1 end else if string.lower(descendant.Name) == string.lower(thirdCheck[2]) then checksPassed += 1 end end checksDone += 1 end -- if checksPassed == checksDone and checksPassed ~= 0 then table.insert(finalElements, descendant) end end end end log(finalElements) return checkHierarchy(finalElements, elementTree) else return elementTree end end
nilq/small-lua-stack
null
-- luacheck: globals describe beforeAll expect it local customEqualMatcher = function(received, expected) local pass = received == expected if pass then return { message = "custom failure message (not)", pass = true, } else return { message = "custom failure message", pass = false, } end end return function() it("SHOULD have custom matcher when defined in `it` block", function() expect.extend({ customEqual = customEqualMatcher, }) assert(expect().customEqual, "customEqual should exist") end) describe("WHEN defining custom matcher in describe block", function() beforeAll(function() expect.extend({ customEqual = customEqualMatcher, }) end) describe("WHEN NOT inverting the expression", function() it("SHOULD pass as expected", function() expect("hello").customEqual("hello") end) it("SHOULD fail as expected", function() local success = pcall(function() expect("hello").customEqual("world") end) assert(success == false, "did not fail like expected") end) end) describe("WHEN inverting the expression", function() it("SHOULD pass as expected", function() expect("hello").never.customEqual("world") end) it("SHOULD fail as expected", function() local success = pcall(function() expect("hello").never.customEqual("hello") end) assert(success == false, "did not fail like expected") end) end) describe("WHEN chain within other matchers", function() it("SHOULD work as expected when the first to execute", function() expect("hello") .to.customEqual("hello") .to.equal("hello") .to.be.ok() .to.never.equal("foobar") end) it("SHOULD work as expected when the last to execute", function() expect("hello") .to.equal("hello") .to.be.ok() .to.never.equal("foobar") .to.customEqual("hello") end) end) end) end
nilq/small-lua-stack
null
local modelname = ...; local M = {}; _G[modelname] = M; setfenv(1, M); i = {r=0, i=1} function new (r, i) return {r = r, i = i} end function add (c1, c2) return new(c1.r + c2.r, c1.i + c2.i); end function sub (c1, c2) return new(c1.r - c2.r, c1.i - c2.i); end function mul (c1, c2) return new(c1.r * c2.r - c1.i * c2.i, c1.r * c2.i + c1.i * c2.r); end function inv (c) local n = c.r^2 + c.i^2; return new(c.r/n, -c.i/n); end function div (c1, c2) return mul(c1, inv(c2)); end return M; -- package.loaded[modelname] = M;
nilq/small-lua-stack
null
local pkg = {} local function cloneFrame(frame) local f = hs.geometry({x = frame.x, y= frame.y, w= frame.w, h = frame.h}) return f end pkg.cloneFrame = cloneFrame -- rounding up the coordinates in a grid of 10 pixels local function grid(frame) local new = cloneFrame(frame) new.x = math.ceil(frame.x / 10) * 10 new.y = math.ceil(frame.y / 10) * 10 new.w = math.floor(frame.w / 10) * 10 new.h = math.floor(frame.h / 10) * 10 return new end pkg.grid = grid -- for debug local function dump(o) if type(o) == 'table' then local s = '{ ' for k,v in pairs(o) do if type(k) ~= 'number' then k = '"'..k..'"' end s = s .. '['..k..'] = ' .. dump(v) .. ',' end return s .. '} ' else return tostring(o) end end pkg.dump = dump return pkg
nilq/small-lua-stack
null
-- simple component, no need to break out into multiple files -- Taken from bb template if GameLengthVotes == nil then DebugPrint ( 'creating new GameLength voter object.' ) GameLengthVotes = class({}) end function GameLengthVotes:Init () DebugPrint( 'Initializing.' ) GameLengthVotes = self GameLengthVotes.Votes = {} Debug.EnabledModules["game_length_vote:*"] = true CustomGameEventManager:RegisterListener( "gamelength_vote", Dynamic_Wrap(GameLengthVotes, 'PlayerVote') ) end function GameLengthVotes:PlayerVote (eventSourceIndex, args) DebugPrint ( 'player vote: ' .. eventSourceIndex.vote ) DebugPrint ( 'player vote: ' .. eventSourceIndex.playerId ) GameLengthVotes.Votes[eventSourceIndex.playerId] = eventSourceIndex.vote end function GameLengthVotes:SetGameLength () local votes = { short = 0, normal = 0, long = 0 } for playerId=0,19 do if GameLengthVotes.Votes[playerId] ~= nil then votes[GameLengthVotes.Votes[playerId]] = votes[GameLengthVotes.Votes[playerId]] + 1 end end local length local scoreLimit --[[ if votes.long > votes.normal then if votes.long > votes.short then length = 'long' scoreLimit = 200 CustomNetTables:SetTableValue( 'team_scores', 'limit', { value = scoreLimit, name = length } ) else length = 'short' scoreLimit = 50 CustomNetTables:SetTableValue( 'team_scores', 'limit', { value = scoreLimit, name = length } ) end elseif votes.short > votes.normal then length = 'short' scoreLimit = 50 CustomNetTables:SetTableValue( 'team_scores', 'limit', { value = scoreLimit, name = length } ) else length = 'normal' scoreLimit = 100 CustomNetTables:SetTableValue( 'team_scores', 'limit', { value = scoreLimit, name = length } ) end DebugPrint ( 'votes ' .. votes.short .. ', ' .. votes.normal .. ', ' .. votes.long .. ' result: ' .. length) --]] length = 'normal' scoreLimit = NORMAL_KILL_LIMIT if HeroSelection.is10v10 then scoreLimit = TEN_V_TEN_KILL_LIMIT end CustomNetTables:SetTableValue( 'team_scores', 'limit', { value = scoreLimit, name = length } ) GameRules.GameLength = length end
nilq/small-lua-stack
null
zk_SPD.assign_performer("mod_recipes")
nilq/small-lua-stack
null
local ls = require "lovesnow" local socket = require "lovesnow.socket" local socketdriver = require "lovesnow.socketdriver" require "lovesnow.manager" -- import ls.launch, ... local table = table local slaves = {} local connect_queue = {} local globalname = {} local queryname = {} local harbor = {} local harbor_service local monitor = {} local monitor_master_set = {} local function read_package(fd) local sz = socket.read(fd, 1) assert(sz, "closed") sz = string.byte(sz) local content = assert(socket.read(fd, sz), "closed") return ls.unpack(content) end local function pack_package(...) local message = ls.packstring(...) local size = #message assert(size <= 255 , "too long") return string.char(size) .. message end local function monitor_clear(id) local v = monitor[id] if v then monitor[id] = nil for _, v in ipairs(v) do v(true) end end end local function connect_slave(slave_id, address) local ok, err = pcall(function() if slaves[slave_id] == nil then local fd = assert(socket.open(address), "Can't connect to "..address) socketdriver.nodelay(fd) ls.error(string.format("Connect to harbor %d (fd=%d), %s", slave_id, fd, address)) slaves[slave_id] = fd monitor_clear(slave_id) socket.abandon(fd) ls.send(harbor_service, "harbor", string.format("S %d %d",fd,slave_id)) end end) if not ok then ls.error(err) end end local function ready() local queue = connect_queue connect_queue = nil for k,v in pairs(queue) do connect_slave(k,v) end for name,address in pairs(globalname) do ls.redirect(harbor_service, address, "harbor", 0, "N " .. name) end end local function response_name(name) local address = globalname[name] if queryname[name] then local tmp = queryname[name] queryname[name] = nil for _,resp in ipairs(tmp) do resp(true, address) end end end local function monitor_master(master_fd) while true do local ok, t, id_name, address = pcall(read_package,master_fd) if ok then if t == 'C' then if connect_queue then connect_queue[id_name] = address else connect_slave(id_name, address) end elseif t == 'N' then globalname[id_name] = address response_name(id_name) if connect_queue == nil then ls.redirect(harbor_service, address, "harbor", 0, "N " .. id_name) end elseif t == 'D' then local fd = slaves[id_name] slaves[id_name] = false if fd then monitor_clear(id_name) socket.close(fd) end end else ls.error("Master disconnect") for _, v in ipairs(monitor_master_set) do v(true) end socket.close(master_fd) break end end end local function accept_slave(fd) socket.start(fd) local id = socket.read(fd, 1) if not id then ls.error(string.format("Connection (fd =%d) closed", fd)) socket.close(fd) return end id = string.byte(id) if slaves[id] ~= nil then ls.error(string.format("Slave %d exist (fd =%d)", id, fd)) socket.close(fd) return end slaves[id] = fd monitor_clear(id) socket.abandon(fd) ls.error(string.format("Harbor %d connected (fd = %d)", id, fd)) ls.send(harbor_service, "harbor", string.format("A %d %d", fd, id)) end ls.register_protocol { name = "harbor", id = ls.PTYPE_HARBOR, pack = function(...) return ... end, unpack = ls.tostring, } ls.register_protocol { name = "text", id = ls.PTYPE_TEXT, pack = function(...) return ... end, unpack = ls.tostring, } local function monitor_harbor(master_fd) return function(session, source, command) local t = string.sub(command, 1, 1) local arg = string.sub(command, 3) if t == 'Q' then -- query name if globalname[arg] then ls.redirect(harbor_service, globalname[arg], "harbor", 0, "N " .. arg) else socket.write(master_fd, pack_package("Q", arg)) end elseif t == 'D' then -- harbor down local id = tonumber(arg) if slaves[id] then monitor_clear(id) end slaves[id] = false else ls.error("Unknown command ", command) end end end function harbor.REGISTER(fd, name, handle) assert(globalname[name] == nil) globalname[name] = handle response_name(name) socket.write(fd, pack_package("R", name, handle)) ls.redirect(harbor_service, handle, "harbor", 0, "N " .. name) end function harbor.LINK(fd, id) if slaves[id] then if monitor[id] == nil then monitor[id] = {} end table.insert(monitor[id], ls.response()) else ls.ret() end end function harbor.LINKMASTER() table.insert(monitor_master_set, ls.response()) end function harbor.CONNECT(fd, id) if not slaves[id] then if monitor[id] == nil then monitor[id] = {} end table.insert(monitor[id], ls.response()) else ls.ret() end end function harbor.QUERYNAME(fd, name) if name:byte() == 46 then -- "." , local name ls.ret(ls.pack(ls.localname(name))) return end local result = globalname[name] if result then ls.ret(ls.pack(result)) return end local queue = queryname[name] if queue == nil then socket.write(fd, pack_package("Q", name)) queue = { ls.response() } queryname[name] = queue else table.insert(queue, ls.response()) end end ls.start(function() local master_addr = ls.getenv "master" local harbor_id = tonumber(ls.getenv "harbor") local slave_address = assert(ls.getenv "address") local slave_fd = socket.listen(slave_address) ls.error("slave connect to master " .. tostring(master_addr)) local master_fd = assert(socket.open(master_addr), "Can't connect to master") ls.dispatch("lua", function (_,_,command,...) local f = assert(harbor[command]) f(master_fd, ...) end) ls.dispatch("text", monitor_harbor(master_fd)) harbor_service = assert(ls.launch("ls_harborm", harbor_id, ls.self())) local hs_message = pack_package("H", harbor_id, slave_address) socket.write(master_fd, hs_message) local t, n = read_package(master_fd) assert(t == "W" and type(n) == "number", "slave shakehand failed") ls.error(string.format("Waiting for %d harbors", n)) ls.fork(monitor_master, master_fd) if n > 0 then local co = coroutine.running() socket.start(slave_fd, function(fd, addr) ls.error(string.format("New connection (fd = %d, %s)",fd, addr)) socketdriver.nodelay(fd) if pcall(accept_slave,fd) then local s = 0 for k,v in pairs(slaves) do s = s + 1 end if s >= n then ls.wakeup(co) end end end) ls.wait() socket.close(slave_fd) else -- slave_fd does not start, so use close_fd. socket.close_fd(slave_fd) end ls.error("Shakehand ready") ls.fork(ready) end)
nilq/small-lua-stack
null
-- Add fake wagon data for drop overrides local function addwagon(name) minetest.register_entity(":"..name, {}) end addwagon("advtrains:engine_railbus") addwagon("advtrains:engine_industrial") addwagon("advtrains:engine_industrial_big") addwagon("advtrains:wagon_tank") addwagon("advtrains:wagon_wood") addwagon("advtrains:engine_japan") addwagon("advtrains:wagon_japan") addwagon("advtrains:subway_wagon") addwagon("advtrains:boat") addwagon("advtrains:bus")
nilq/small-lua-stack
null
data:extend( { { type = "recipe", name = "water-recipe", icon = "__More_Ammo__/graphics/icons/items/SE/water-magazine.png", icon_size = 63, enabled = false, category = "crafting", group = "combat", subgroup = "ammo", order = "aj", ingredients = { {"advanced-magazine", 1}, {"se-water-ice", 5} }, energy_required = 40, result = "water-magazine" } })
nilq/small-lua-stack
null
--CJ_Oyer, 2022 --[=[ A module used to provide instance based controls for rapid prototyping and inter-script communication with objects. @class Instancify ]=] local collectionService = game:GetService("CollectionService") local runService = game:GetService("RunService") local replicatedStorage = game:GetService("ReplicatedStorage") local maidConstructor = require(script.Parent:WaitForChild("maid")) local rx = require(script.Parent:WaitForChild("rx")) local signalConstructor = require(script.Parent:WaitForChild("signal")) local module = {} local attributeTypes = { string = true, boolean = true, number = true, UDim = true, UDim2 = true, BrickColor = true, Color3 = true, Vector2 = true, Vector3 = true, NumberSequence = true, ColorSequence = true, NumberRange = true, Rect = true, } local valueTypes = { boolean = "BoolValue", BrickColor = "BrickColorValue", CFrame = "CFrameValue", Color3 = "Color3Value", number = "NumberValue", Instance = "ObjectValue", Ray = "RayValue", string = "StringValue", Vector3 = "Vector3Value", } local metaTags = { __index = true, __newindex = true, __call = true, __concat = true, __unm = true, __add = true, __sub = true, __mul = true, __div = true, __mod = true, __pow = true, __tostring = true, __metatable = true, __eq = true, __lt = true, __le = true, __mode = true, __len = true, } function isPrivate(key) return string.sub(key, 1, 1) == "_" end function handleValue(inst, onChangeFunction, propName, propValue, maid, events, replicatedPlayer) local propType = typeof(propValue) local replicator = inst:FindFirstChild("_Replicator") if attributeTypes[propType] then inst:SetAttribute(propName, propValue) maid["_property"..propName] = inst:GetAttributeChangedSignal(propName):Connect(function() if events["On"..propName] then events:Fire(propValue) end if replicatedPlayer and replicator then if runService:IsServer() then replicator:FireClient(replicatedPlayer, "Property", propName, propValue) else replicator:FireServer("Property", propName, propValue) end end onChangeFunction(propName, inst:GetAttribute(propName)) end) elseif valueTypes[propType] then local propValueInst = inst:FindFirstChild(propName) if not propValueInst then propValueInst = Instance.new(valueTypes[propType]) propValueInst.Name = propName propValueInst.Parent = inst maid:GiveTask(propValueInst) end propValueInst.Value = propValue if propType == "Instance" then collectionService:AddTag(propValueInst, "IsActuallyInstance") end maid["_attribute"..propName] = propValueInst:GetPropertyChangedSignal("Value"):Connect(function() if events["On"..propName] then events:Fire(propValue) end if replicatedPlayer and replicator then if runService:IsServer() then replicator:FireClient(replicatedPlayer, "Property", propName, propValue) else replicator:FireServer("Property", propName, propValue) end end onChangeFunction(propName, propValueInst.Value) end) end end function handleObject(inst, propName, propValue, maid) local currentInst = propValue.Instance or inst:FindFirstChild(propName) local isInstancified = false if runService:IsClient() then if collectionService:HasTag(inst, "ClientInstancified") then isInstancified = true end else if collectionService:HasTag(inst, "ServerInstancified") then isInstancified = true end end if currentInst and not isInstancified then module.set(propValue, currentInst) return currentInst elseif not currentInst then local newInst = module.new(propValue, propName, inst) maid["_propObject_"..propName] = newInst return newInst end end function updateProperties(inst, properties, maid, events, replicatedPlayer) for propName, propValue in pairs(properties) do local propType = typeof(propValue) if propType == "table" then if propValue.Value or propValue.get then handleValue(inst, function(k, v) if propValue.Value then propValue.Value = v elseif propValue.get then propValue:set(v) end end, propName, propValue, maid, events, replicatedPlayer) -- else -- handleObject(inst, propName, propValue, maid) end else handleValue(inst, function(k, v) properties[k] = v end, propName, propValue, maid, events, replicatedPlayer) end end end --[=[ @function get This takes properties, bindableEvents, and bindableFunctions to construct a table interface that can act as a pseudo object. @within Instancify @return Object ]=] -- function setUpPropertySignals(tabl, updateFunc) -- local meta = getmetatable(tabl) -- local baseFunction = function(t, k, v) -- end -- if meta.__newindex == nil then -- baseFunction = meta.__newindex -- end -- meta.__newindex = function() -- end -- end function module.get(inst) if runService:IsClient() then if not collectionService:HasTag(inst, "ClientInstancified") then warn("No instance found at ", inst) end else if not collectionService:HasTag(inst, "ServerInstancified") then warn("No instance found at ", inst) end end local self = {} local maid = maidConstructor.new() self._maid = maid -- local properties = {} local valueBases = {} local attributes = {} for i, v in ipairs(inst:GetChildren()) do local k = v.Name -- print(k.." classname", v.ClassName) if v.ClassName == "BindableFunction" then self[k] = function(...) if k == "Destroy" then maid:Destroy() end v:Invoke(...) end elseif v.ClassName == "BindableEvent" then self[k] = v elseif v:IsA("ValueBase") then -- print("Setting attribute ", k, v) valueBases[k] = v if v.ClassName ~= "ObjectValue" or collectionService:HasTag(v, "IsActuallyInstance") then self[k] = v.Value maid["val_"..k] = v:GetPropertyChangedSignal("Value"):Connect(function() self[k] = v.Value end) -- else -- self[k] = module.get(v) -- maid["val_"..k] = v:GetPropertyChangedSignal("Value"):Connect(function() -- self[k] = module.get(v) -- end) end end end local objectObserver = rx.of(self) maid:GiveTask(objectObserver:Subscribe(function() for k, value in pairs(valueBases) do if value.ClassName ~= "ObjectValue" or collectionService:HasTag(value, "IsActuallyInstance") then valueBases[k].Value = self[k] -- else -- valueBases[k].Value = handleObject(inst, k, self[k], maid) end end for k, aV in pairs(attributes) do if attributes[k] ~= nil then inst:SetAttribute(k, self[k]) end end end)) for k, v in pairs(inst:GetAttributes()) do attributes[k] = v self[k] = v maid["atr_"..k] = inst:GetAttributeChangedSignal(k):Connect(function() self[k] = inst:GetAttribute(k) end) end maid:GiveTask(inst.Destroying:Connect(function() maid:Destroy() end)) maid:GiveTask(self) return self end --[=[ @function new This will create a new instance, rather than converting an existing one. @param self Object -- the object being turned into an instance @param name string -- the name of the new instance @param parent Instance -- what the new Instance will be parented to @within Instancify @return Instance ]=] function module.new(self, name, parent, createFunctionEvents: boolean | nil, replicationPlayer: Player | nil) -- logger:AtInfo():Log("Creating new object instance") local objInstance = Instance.new("Configuration", parent or workspace) objInstance.Name = name or "Object" module.set(self, objInstance, createFunctionEvents, replicationPlayer) return objInstance end --[=[ @function set @param self Object -- the object being turned into an instance @param inst Instance -- the instance that the object will be bound to @within Instancify @return nil ]=] function module.set(self: table, inst: Instance, createFunctionEvents: boolean | nil, replicationPlayer: Player | nil) if runService:IsClient() then if collectionService:HasTag(inst, "ClientInstancified") then warn("Already instancified") return end else if collectionService:HasTag(inst, "ServerInstancified") then warn("Already instancified") return end end -- logger:AtInfo():Log("Applying object to instance") local maid = maidConstructor.new() if self._maid then self._maid:GiveTask(maid) end local function assembleObject(tabl) local object = {} local meta = getmetatable(tabl) if meta then meta = assembleObject(meta) end for k, v in pairs(getmetatable(tabl) or {}) do if not metaTags[k] then object[k] = v end end for k, v in pairs(tabl) do object[k] = v end return object end local fullObject = assembleObject(self) -- local properties = {} local functions = {} local events = {} for k, v in pairs(fullObject) do if not isPrivate(k) then if typeof(v) == "function" then functions[k] = v local eventName = "On"..k if createFunctionEvents and self[eventName] == nil then local signal = signalConstructor.new() self[eventName] = signal maid["sig_"..eventName] = signal events[eventName] = signal end elseif typeof(v) == "RBXScriptSignal" then events[k] = v elseif typeof(v) == "table" then if v.ClassName == "Observable" then events[k] = v elseif v.ClassName == "Signal" then events[k] = v end else self[k] = v end end end local replicatedEvent -- print("Rep player", replicationPlayer) if replicationPlayer ~= nil then -- print("Rep A") if runService:IsServer() then -- print("Rep B") replicatedEvent = Instance.new("RemoteEvent", inst) replicatedEvent.Name = "_Replicator" self._maid:GiveTask(replicatedEvent.OnServerEvent:Connect(function(p, changeType, key, ...) -- print("Server", p, changeType, key, ...) if p == replicationPlayer then -- print("Key", key, self) if changeType == "Events" then inst:FindFirstChild(key):Fire(...) elseif changeType == "Properties" then self[key] = ... elseif changeType == "Function" then self[key](self, ...) if createFunctionEvents then inst:FindFirstChild("On"..key):Fire() end -- inst:FindFirstChild(key):Invoke(...) end end end)) else -- print("Rep B2") replicatedEvent = inst:WaitForChild("_Replicator") self._maid:GiveTask(replicatedEvent.OnClientEvent:Connect(function(changeType, key, ...) -- print("Client", changeType, key, ...) if changeType == "Events" then inst:FindFirstChild(key):Fire(...) elseif changeType == "Properties" then self[key] = ... elseif changeType == "Function" then self[key](...) if createFunctionEvents then inst:FindFirstChild("On"..key):Fire() end -- inst:FindFirstChild(key):Invoke(...) end end)) end end -- print("FOUND REP EVENT", replicatedEvent, self) for key, func in pairs(functions) do -- logger:AtInfo():Log("Building function "..key) local bindableFunction = inst:FindFirstChild(key) or Instance.new("BindableFunction", inst) bindableFunction.Name = key bindableFunction.OnInvoke = function(...) if replicatedEvent then if runService:IsClient() then replicatedEvent:FireServer("Function", key, ...) else replicatedEvent:FireClient(replicationPlayer, "Function", key, ...) end end return func(self, ...) end bindableFunction.Parent = inst maid:GiveTask(bindableFunction) end for key, event in pairs(events) do local bindableEvent = inst:FindFirstChild(key) or Instance.new("BindableEvent", inst) bindableEvent.Name = key maid:GiveTask(bindableEvent) -- logger:AtInfo():Log("Building event "..key) if typeof(event) == "RBXScriptSignal" or event.ClassName == "Signal" then maid:GiveTask(event:Connect(function(...) if replicatedEvent then if runService:IsClient() then replicatedEvent:FireServer("Events", key, ...) else replicatedEvent:FireClient(replicationPlayer, "Events", key, ...) end end bindableEvent:Fire(...) end)) elseif event.ClassName == "Observable" then maid:GiveTask(event:Subscribe(function(...) if replicatedEvent then if runService:IsClient() then replicatedEvent:FireServer("Events", key, ...) else replicatedEvent:FireClient(replicationPlayer, "Events", key, ...) end end bindableEvent:Fire(...) end)) end bindableEvent.Parent = inst end --yeah I know, this is dumb, but nothing else is working and I'm tired local cache = {} for k, v in pairs(self) do cache[k] = v end maid:GiveTask(runService.Stepped:Connect(function() for k, v in pairs(self) do -- if self.IsSelected ~= nil then -- print(self[k], " - ", v) -- end if self[k] ~= cache[k] then cache[k] = v -- print("UPDATE") updateProperties(inst, self, maid, events, replicationPlayer) end end end)) updateProperties(inst, self, maid, events, replicationPlayer) maid:GiveTask(inst.Destroying:Connect(function() maid:Destroy() end)) if runService:IsClient() then collectionService:AddTag(inst, "ClientInstancified") else collectionService:AddTag(inst, "ServerInstancified") end end return module
nilq/small-lua-stack
null
local BOOKING_KEY = KEYS[1] return redis.call('get', 'sq:' .. BOOKING_KEY)
nilq/small-lua-stack
null
--[[ init.lua Init.lua is automatically executed on bootup of the NodeMCU. This launcher file loads the actual init_XYZ file only when everything has been tested and debugged. A 15 second delay has been added in case of error and enable abort. --]] -- Set local variable FileToExecute="mqtt_dht22.lua" -- Set timer to abort initialization of actual program print("You have 30 second to enter file.remove('init.lua') to abort") tmr.alarm(0, 30000, 0, function() print("Executing: ".. FileToExecute) dofile(FileToExecute) end)
nilq/small-lua-stack
null
--[[ /////// ////////////////// /////// PROJECT: MTA iLife - German Fun Reallife Gamemode /////// VERSION: 1.7.2 /////// DEVELOPERS: See DEVELOPERS.md in the top folder /////// LICENSE: See LICENSE.md in the top folder /////// ///////////////// ]] CItemShopManager = inherit(cSingleton) function CItemShopManager:constructor() local start = getTickCount() local result = CDatabase:getInstance():query("SELECT * FROM itemshop") for k,v in ipairs(result) do new(CItemShop, v["ID"], v["Name"], v["Description"], v["Items"], v["Currency"], (v["Sell"] or 0), v["Filiale"] or 0) end outputServerLog("Es wurden "..#result.." ItemShops gefunden! (" .. getTickCount() - start .. "ms)") --Drogenshop Bayside ItemShops[20].addMarker(ItemShops[20], 0, 0, -2514.9987792969, 2354.6628417969, 4.9840431213379) -- Vorarbeiter ItemShops[21].addMarker(ItemShops[21], 0, 0, 591.21875, 871.8427734375, -42.497318267822) -- Drogen verkaufen ItemShops[26].addMarker(ItemShops[26], 0, 0, 160.62634277344, -160.4017791748, 1.578125); -- Mechaniker addEventHandler("onMarkerHit", createMarker(2770.0830078125, -2063.078125, 12.272819519043, "corona", 2, 255, 0, 0, 255, getRootElement()), function(hitElement, matching) if (matching) then if (getElementType(hitElement) == "player" ) then if not isPedInVehicle(hitElement) then if hitElement.Fraktion:getID() == 7 then triggerClientEvent(hitElement, "onItemShopOpen", hitElement, 22) else hitElement:showInfoBox("error", "Dies ist nur als Mechaniker möglich!") end else hitElement:showInfoBox("error", "Steige aus deinem Fahrzeug aus!") end end end end ) end function CItemShopManager:destructor() end
nilq/small-lua-stack
null
ys = ys or {} slot1 = ys.Battle.BattleEvent slot2 = ys.Battle.BattleFormulas slot3 = ys.Battle.BattleConst slot5 = ys.Battle.BattleDataFunction slot6 = ys.Battle.BattleAttr slot7 = ys.Battle.BattleVariable slot8 = ys.Battle.BattleTargetChoise slot9 = ys.Battle.BattleConfig.VAN_SONAR_PROPERTY slot10 = class("BattleFleetStaticSonar") ys.Battle.BattleFleetStaticSonar = slot10 slot10.__name = "BattleFleetStaticSonar" slot10.STATE_DISABLE = "DISABLE" slot10.STATE_READY = "READY" slot10.Ctor = function (slot0, slot1) slot0:init() slot0._fleetVO = slot1 end slot10.GetCurrentState = function (slot0) return slot0._currentState end slot10.Dispose = function (slot0) slot0._detectedList = nil slot0._crewUnitList = nil slot0._host = nil end slot10.init = function (slot0) slot0._crewUnitList = {} slot0._detectedList = {} slot0._skillDiameter = 0 slot0._radius = 0 slot0._diameter = 0 end slot10.AppendExtraSkillRange = function (slot0, slot1) slot0._skillDiameter = slot0._skillDiameter + slot1 if slot0._radius ~= 0 then slot0._radius = slot0._radius + slot1 * 0.5 end end slot10.AppendCrewUnit = function (slot0, slot1) slot0._crewUnitList[slot1:GetUniqueID()] = slot1 slot0:flush() end slot10.RemoveCrewUnit = function (slot0, slot1) if slot0._crewUnitList[slot1:GetUniqueID()] then slot0._crewUnitList[slot2] = nil slot0:updateSonarState() if slot0._currentState == slot0.STATE_DISABLE then slot0:Undetect() end end end slot10.SwitchHost = function (slot0, slot1) slot0._host = slot1 end slot10.GetRange = function (slot0) return slot0._diameter end slot10.flush = function (slot0) slot0._diameter = 0 slot1, slot2, slot3 = slot0:calcSonarRange() if slot1 ~= 0 then slot0._diameter = slot1 + slot3 + slot2 slot0._radius = slot0._diameter * 0.5 end slot0:updateSonarState() end slot10.calcSonarRange = function (slot0) slot1 = 0 slot2 = 0 slot3 = 0 for slot7, slot8 in pairs(slot0._crewUnitList) do slot9, slot10, slot11 = slot0.getSonarProperty(slot8) if slot9 > 0 then slot1 = math.max(slot9, slot1) end slot2 = slot2 + slot10 slot3 = slot3 + slot11 end return slot1, Mathf.Clamp(slot3 / slot0.MAIN_SONAR_PROPERTY.a, slot0.MAIN_SONAR_PROPERTY.minRange, slot0.MAIN_SONAR_PROPERTY.maxRange), slot2 end slot10.updateSonarState = function (slot0) slot1 = 0 for slot5, slot6 in pairs(slot0._crewUnitList) do if slot0.getSonarProperty(slot6) > 0 then slot1 = slot1 + 1 end end if slot1 > 0 then slot0._currentState = slot0.STATE_READY else slot0._currentState = slot0.STATE_DISABLE end slot0._fleetVO:DispatchEvent(slot1.Event.New(slot1.Battle.BattleEvent.SONAR_UPDATE)) end slot10.getSonarProperty = function (slot0) slot3 = 0 if slot0[slot0:GetTemplate().type] then slot3 = Mathf.Clamp(slot0:GetAttrByName("baseAntiSubPower") / slot2.a - slot2.b, slot2.minRange, slot2.maxRange) end slot4 = slot0:GetAttrByName("sonarRange") slot5 = 0 if table.contains(TeamType.MainShipType, slot1) then slot5 = slot0:GetAttrByName("baseAntiSubPower") end return slot3, slot4, slot5 end slot10.Update = function (slot0, slot1) if slot0._currentState ~= slot0.STATE_DISABLE then slot0._fleetVO:DispatchSonarScan() slot0:updateDetectedList() end end slot10.Undetect = function (slot0) for slot5, slot6 in ipairs(slot1) do if slot6:IsAlive() then slot6:Undetected() end end slot0._detectedList = {} end slot10.updateDetectedList = function (slot0) slot3 = slot0:FilterRange(slot2) for slot7, slot8 in ipairs(slot2) do slot9 = table.contains(slot3, slot8) if table.contains(slot0._detectedList, slot8) then if not slot9 then slot8:Undetected() end elseif not slot10 and slot9 then slot8:Detected() end end slot0._detectedList = slot3 end slot10.FilterTarget = function (slot0) return slot0:FilterRange(slot0.TargetDiveState(slot0._host, { diveState = slot1.OXY_STATE.DIVE }, slot1)) end slot10.FilterRange = function (slot0, slot1) slot2 = {} for slot6, slot7 in ipairs(slot1) do if not slot0:isOutOfRange(slot7) then table.insert(slot2, slot7) end end return slot2 end slot10.isOutOfRange = function (slot0, slot1) return slot0._radius < slot0._host:GetDistance(slot1) end slot10.GetTotalRangeDetail = function (slot0) slot4, slot5, slot6 = slot0:calcSonarRange() return slot1, slot2, slot3, slot0._skillDiameter end return
nilq/small-lua-stack
null
local LastID RegisterNetEvent("InitInventaire:openPropertyInventory") AddEventHandler("InitInventaire:openPropertyInventory", function(data) setPropertyInventoryData(data) openPropertyInventory() end) function refreshPropertyInventory() TriggerServerCallback("getCoffrePropriete", function(contenu) setPropertyInventoryData(contenu) local CoffreText2 = "Coffre " .. LastID SendNUIMessage( { action = "setInfoText", text = CoffreText2 } ) end, LastID) end function setPropertyInventoryData(inventory) items = {} if inventory ~= nil then resultinventory = {} for key, value in pairs(inventory) do if inventory[key].Montant <= 0 then inventory[key].Montant = nil else resultinventory[key] = {} resultinventory[key].Nom = key resultinventory[key].Nombre = value.Montant if key:sub(1, 7) == 'CarteCr' then resultinventory[key].Poids = 0.050 elseif key:sub(1, 7) == 'Vetemen' then resultinventory[key].Poids = 0.100 elseif key:sub(1, 6) == 'argent' then resultinventory[key].Poids = 0.001 elseif key:sub(1, 7) == 'WEAPON_' then resultinventory[key].Poids = 1.500 else resultinventory[key].Poids = IC.Items[key].Poids end resultinventory[key].Type = "item_standard" table.insert(items, resultinventory[key]) end end end if Config.IncludeWeapons and weapons ~= nil then for key, value in pairs(weapons) do local weaponHash = GetHashKey(weapons[key].name) if weapons[key].name ~= "WEAPON_UNARMED" then table.insert( items, { label = weapons[key].label, count = weapons[key].ammo, limit = -1, type = "item_weapon", name = weapons[key].name, usable = false, rare = false, canRemove = false } ) end end end SendNUIMessage( { action = "setSecondInventoryItems", itemList = items } ) end function openPropertyInventory() loadPlayerInventory() isInInventory = true SendNUIMessage( { action = "display", type = "property" } ) SetNuiFocus(true, true) end RegisterNUICallback( "PutIntoProperty", function(data, cb) if IsPedSittingInAnyVehicle(playerPed) then return end --[[if type(data.number) == "number" and math.floor(data.number) == data.number then local count = tonumber(data.number) if data.item.type == "item_weapon" then count = GetAmmoInPedWeapon(PlayerPedId(), GetHashKey(data.item.name)) end TriggerServerEvent("esx_property:putItem", ESX.GetPlayerData().identifier, data.item.type, data.item.name, count) end]] if data.number <= data.item.Nombre then if type(data.number) == "number" and math.floor(data.number) == data.number then local count = tonumber(data.number) if data.item.ID:sub(1, 7) == 'WEAPON_' then --[[count = GetAmmoInPedWeapon(PlayerPedId(), GetHashKey(data.item.ID)) if count == 0 then count = 1 end]] local retval, PlayerWeaponInHand = GetCurrentPedWeapon(GetPlayerPed(-1), 1) if PlayerWeaponInHand == GetHashKey(data.item.ID) then GiveWeaponToPed(GetPlayerPed(-1), GetHashKey("WEAPON_UNARMED"), 0, false, true) end end if data.item.type == "argent" then otherdata = 'argent' end --print(trunkData.Plaque) --print(data.item.Type) -- N --print(data.item.Nom) --print(count) --print(trunkData.max) --print(trunkData.myVeh) -- N --print(data.item.ID) --print(json.encode(data.item.Data)) TriggerServerEvent("InitialCore:PutItemPropriete", LastID, data.item.ID, count, otherdata, data.item.Data) Wait(250) refreshPropertyInventory() loadPlayerInventory() cb("ok") end end end ) RegisterNUICallback( "TakeFromProperty", function(data, cb) if IsPedSittingInAnyVehicle(playerPed) then return end --[[if type(data.number) == "number" and math.floor(data.number) == data.number then TriggerServerEvent("esx_property:getItem", ESX.GetPlayerData().identifier, data.item.type, data.item.name, tonumber(data.number)) end]] if data.number <= data.item.Nombre then if 15.0 >= data.item.Poids*data.number+PoidsTotalPl then if type(data.number) == "number" and math.floor(data.number) == data.number then --TriggerServerEvent("esx_trunk:getItem", trunkData.plate, data.item.type, data.item.name, tonumber(data.number), trunkData.max, trunkData.myVeh) local count = tonumber(data.number) if data.item.type == "item_weapon" then count = GetAmmoInPedWeapon(PlayerPedId(), GetHashKey(data.item.name)) end if data.item.type == 'argent' then otherdata = 'argent' end TriggerServerEvent("InitialCore:RemoveItemPropriete", LastID, data.item.Nom, count, otherdata, data.item.Data) end --Wait(250) --loadPlayerInventory() --TriggerServerEvent('InitialCore:RefreshCoffreVehicle', trunkData.Plaque, GetVehicleClass(lastvehicle)) Wait(250) refreshPropertyInventory() loadPlayerInventory() cb("ok") end end end ) RegisterNetEvent('InitialCore:OpenCoffreProperties') AddEventHandler('InitialCore:OpenCoffreProperties', function(isentreprise, id) LastID = id TriggerServerCallback("getCoffrePropriete", function(contenu) setPropertyInventoryData(contenu) openPropertyInventory() local CoffreText2 = "Coffre " .. id SendNUIMessage( { action = "setInfoText", text = CoffreText2 } ) end, LastID) end)
nilq/small-lua-stack
null
---------------------------------------------------------------------------------------------------- -- View class that displays a scrollable text. -- -- <h4>Extends:</h4> -- <ul> -- <li><a href="flower.widget.PanelView.html">PanelView</a><l/i> -- </ul> -- -- @author Makoto -- @release V3.0.0 ---------------------------------------------------------------------------------------------------- -- import local Label = require "candy.ui.Label" local Resources = require "candy.asset.Resources" local PanelView = require "candy.ui.PanelView" local TextAlign = require "candy.ui.TextAlign" ---@class TextView : PanelView local TextView = CLASS: TextView ( PanelView ) --- Style: fontName TextView.STYLE_FONT_NAME = "fontName" --- Style: textSize TextView.STYLE_TEXT_SIZE = "textSize" --- Style: textColor TextView.STYLE_TEXT_COLOR = "textColor" --- Style: textSize TextView.STYLE_TEXT_ALIGN = "textAlign" --- -- Initializes the internal variables. function TextView:_initInternal () TextView.__super._initInternal ( self ) self._themeName = "TextView" self._text = "" self._textLabel = nil end --- -- Create a children object. function TextView:_createChildren () TextView.__super._createChildren ( self ) self._textLabel = Label ( self._text, 100, 30 ) self._textLabel:setWordBreak ( MOAITextBox.WORD_BREAK_CHAR ) self:addContent ( self._textLabel ) end --- -- Update the Text Label. function TextView:_updateTextLabel () local textLabel = self._textLabel textLabel:setString ( self:getText () ) textLabel:setTextSize ( self:getTextSize () ) textLabel:setColor ( self:getTextColor () ) textLabel:setAlignment ( self:getAlignment () ) textLabel:setFont ( self:getFont () ) textLabel:setSize ( self:getScrollSize () ) textLabel:fitHeight () end --- -- Update the display objects. function TextView:updateDisplay () TextView.__super.updateDisplay ( self ) self:_updateTextLabel () end --- -- Sets the text. ---@param text text function TextView:setText ( text ) self._text = text or "" self._textLabel:setString ( self._text ) self:invalidateDisplay () end --- -- Adds the text. ---@param text text function TextView:addText ( text ) self:setText ( self._text .. text ) end --- -- Returns the text. ---@return text function TextView:getText () return self._text end --- -- Sets the textSize. ---@param textSize textSize function TextView:setTextSize ( textSize ) self:setStyle ( TextView.STYLE_TEXT_SIZE, textSize ) self:invalidateDisplay () end --- -- Returns the textSize. ---@return textSize function TextView:getTextSize () return self:getStyle ( TextView.STYLE_TEXT_SIZE ) end --- -- Sets the fontName. ---@param fontName fontName function TextView:setFontName ( fontName ) self:setStyle ( TextView.STYLE_FONT_NAME, fontName ) self:invalidateDisplay () end --- -- Returns the font name. ---@return font name function TextView:getFontName () return self:getStyle ( TextView.STYLE_FONT_NAME ) end --- -- Returns the font. ---@return font function TextView:getFont () local fontName = self:getFontName () local font = Resources.getFont ( fontName, nil, self:getTextSize () ) return font end --- -- Sets the text align. ---@param horizontalAlign horizontal align ( left, center, top ) ---@param verticalAlign vertical align ( top, center, bottom ) function TextView:setTextAlign ( horizontalAlign, verticalAlign ) if horizontalAlign or verticalAlign then self:setStyle ( TextView.STYLE_TEXT_ALIGN, { horizontalAlign or "center", verticalAlign or "center" } ) else self:setStyle ( TextView.STYLE_TEXT_ALIGN, nil ) end self._textLabel:setAlignment ( self:getAlignment () ) end --- -- Returns the text align. ---@return horizontal align ( left, center, top ) ---@return vertical align ( top, center, bottom ) function TextView:getTextAlign () return unpack ( self:getStyle ( TextView.STYLE_TEXT_ALIGN ) ) end --- -- Returns the text align for MOAITextBox. ---@return horizontal align ---@return vertical align function TextView:getAlignment () local h, v = self:getTextAlign () h = assert ( TextAlign[h] ) v = assert ( TextAlign[v] ) return h, v end --- -- Sets the text color. ---@param red red ( 0 ... 1 ) ---@param green green ( 0 ... 1 ) ---@param blue blue ( 0 ... 1 ) ---@param alpha alpha ( 0 ... 1 ) function TextView:setTextColor ( red, green, blue, alpha ) if red == nil and green == nil and blue == nil and alpha == nil then self:setStyle ( TextView.STYLE_TEXT_COLOR, nil ) else self:setStyle ( TextView.STYLE_TEXT_COLOR, {red or 0, green or 0, blue or 0, alpha or 0} ) end self._textLabel:setColor ( self:getTextColor () ) end --- -- Returns the text color. ---@return red ( 0 ... 1 ) ---@return green ( 0 ... 1 ) ---@return blue ( 0 ... 1 ) ---@return alpha ( 0 ... 1 ) function TextView:getTextColor () return unpack ( self:getStyle ( TextView.STYLE_TEXT_COLOR ) ) end return TextView
nilq/small-lua-stack
null
local l_sys = require("l_sys") local sh = l_sys.sh local x86_driver = {} -- 加载驱动 x86_driver.load = function() end -- 卸载驱动 x86_driver.unload = function() end return x86_driver
nilq/small-lua-stack
null
local mainRes = getResourceFromName"editor_main" topMenuClicked = {} --a table storing all functions when the topmenu is clicked --since the highlighter covers an icon button, this function acts as a redirect and triggers the function for the proper button function buttonClicked(mouseButton, state ) if state ~= "up" then return end --Happens when you release the click if source == guiGetMouseOverElement() then --we dont attach it to the event handler, because "selected" changes (we cant destroy or order GUI) --tutorial hooks in here if ( tutorialBlock ) then if currentButton == tutorialBlock and mouseButton == "left" then --if we need to outbranch, these could be made into events later playSoundFrontEnd ( 41 ) --iconData stores the appropriate function to call for a button. The button itself is passed as a var incase its an element icon. iconData[currentButton]["clicked"]( currentButton, mouseButton ) if tutorialVars.blockTutorialNext then return end tutorialNext() end else if currentButton then --if we need to outbranch, these could be made into events later playSoundFrontEnd ( 41 ) --iconData stores the appropriate function to call for a button. The button itself is passed as a var incase its an element icon. if (iconData[currentButton].name == "save" or iconData[currentButton].name == "save as") then exports.editor_main:dropElement() end iconData[currentButton]["clicked"]( currentButton, mouseButton ) end end end end ---This is for when one of the element icons is clicked function elementIcons_Clicked ( source, mouseButton ) if mouseButton == "left" then local elementType = elementIcons[source]["elementName"] local resourceName = elementIcons[source]["resource"] --triggerServerEvent ( "edfCreateElement", root, elementType, resourceName ) local shortcut = resourceElementDefinitions[resourceName][elementType].shortcut -- E.g. immediately open model browser call(getResourceFromName("editor_main"),"doCreateElement", elementType, resourceName, false, true, shortcut ) elseif mouseButton == "middle" then local elementType = elementIcons[source]["elementName"] local resourceName = elementIcons[source]["resource"] --triggerServerEvent ( "edfCreateElement", root, elementType, resourceName ) call(getResourceFromName("editor_main"),"doCreateElement", elementType, resourceName ) elseif mouseButton == "right" then local showing = isCurrentBrowserShowing() if not showing then local elementType = elementIcons[source]["elementName"] local resourceName = elementIcons[source]["resource"] showCurrentBrowser ( false, false, elementType, resourceName ) else closeCurrentBrowser() end end end --These are individual functions for each topmenu button function topMenuClicked.new () editor_main.dropElement () guiSetInputEnabled(true) local yes,no = guiShowMessageBox ( "Are you sure you want to create a new map?\nAny unsaved data will be lost.", "info", "New", true, "Yes", "No" ) addEventHandler ( "onClientGUIClick",yes,function() editor_main.newResource() guiSetInputEnabled(false) end,false ) addEventHandler ( "onClientGUIClick",no,function() guiSetInputEnabled(false) end,false ) end function topMenuClicked.open () editor_main.dropElement () triggerServerEvent ( "loadsave_getResources", localPlayer, "open" ) end function topMenuClicked.save () triggerServerEvent ( "quickSaveResource", localPlayer ) end function topMenuClicked.options () dumpGUISettings() guiSetVisible(dialog.window, true ) setGUIShowing(false) guiSetInputEnabled ( true ) setWorldClickEnabled ( false ) inputSettings ( optionsSettings ) end function topMenuClicked.locations() guiSetInputEnabled ( true ) guiSetVisible ( locationsWindow, true ) end function topMenuClicked.undo () if ( editor_main.getSelectedElement() ) then playSoundFrontEnd(32) return end triggerServerEvent ( "callServerside", localPlayer, "editor_main", "undo" ) end function topMenuClicked.redo () if ( editor_main.getSelectedElement() ) then playSoundFrontEnd(32) return end triggerServerEvent ( "callServerside", localPlayer, "editor_main", "redo" ) end function topMenuClicked.test () testShowDialog() end topMenuClicked["map settings"] = function () guiGridListSetSelectedItem ( mapsettings.settingsList, -1, -1 ) if ( valueWidget ) then valueWidget:destroy() valueWidget = nil end storeOldMapSettings() toggleSettingsGUI(false) addEventHandler ( "onClientGUIMouseDown", mapsettings.settingsList, settingsListMouseDown ) mapsettings.rowValues = copyTable ( mapsettings.gamemodeSettings ) setMapSettings() setGUIShowing(false) guiSetInputEnabled ( true ) setWorldClickEnabled ( false ) guiSetVisible(mapsettings.window, true ) mapSettingsCamera = {getCameraMatrix()} end topMenuClicked["current elements"] = function () local showing = isCurrentBrowserShowing() if not showing then showCurrentBrowser () else closeCurrentBrowser() end end topMenuClicked.definitions = function () setEDF("availEDF") setEDF("addedEDF") setGUIShowing(false) guiSetInputEnabled ( true ) setWorldClickEnabled ( false ) guiSetVisible ( definitionsDialog.window, true ) end topMenuClicked["save as"] = function () triggerServerEvent ( "loadsave_getResources", localPlayer, "saveAs" ) end
nilq/small-lua-stack
null