local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1 L0_1 = {} L0_1.group_id = 111101229 L1_1 = {} L2_1 = 229011 L3_1 = 229012 L1_1[1] = L2_1 L1_1[2] = L3_1 L2_1 = {} L3_1 = 229001 L4_1 = 229002 L5_1 = 229003 L6_1 = 229004 L7_1 = 229005 L8_1 = 229010 L9_1 = 229011 L10_1 = 229012 L11_1 = 229013 L12_1 = 229014 L2_1[1] = L3_1 L2_1[2] = L4_1 L2_1[3] = L5_1 L2_1[4] = L6_1 L2_1[5] = L7_1 L2_1[6] = L8_1 L2_1[7] = L9_1 L2_1[8] = L10_1 L2_1[9] = L11_1 L2_1[10] = L12_1 L3_1 = {} L4_1 = 229006 L5_1 = 229009 L3_1[1] = L4_1 L3_1[2] = L5_1 L4_1 = {} L5_1 = 229007 L6_1 = 229008 L4_1[1] = L5_1 L4_1[2] = L6_1 L5_1 = {} monsters = L5_1 L5_1 = {} npcs = L5_1 L5_1 = {} L6_1 = {} L6_1.config_id = 229001 L6_1.gadget_id = 70290169 L7_1 = {} L7_1.x = 2508.932 L7_1.y = 344.812 L7_1.z = -1742.338 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 0.0 L7_1.y = 0.0 L7_1.z = 0.0 L6_1.rot = L7_1 L6_1.level = 1 L7_1 = {} L7_1.config_id = 229002 L7_1.gadget_id = 70290169 L8_1 = {} L8_1.x = 2509.13 L8_1.y = 346.091 L8_1.z = -1750.561 L7_1.pos = L8_1 L8_1 = {} L8_1.x = 0.0 L8_1.y = 0.0 L8_1.z = 0.0 L7_1.rot = L8_1 L7_1.level = 1 L8_1 = {} L8_1.config_id = 229003 L8_1.gadget_id = 70290169 L9_1 = {} L9_1.x = 2506.597 L9_1.y = 342.281 L9_1.z = -1735.211 L8_1.pos = L9_1 L9_1 = {} L9_1.x = 0.0 L9_1.y = 0.0 L9_1.z = 0.0 L8_1.rot = L9_1 L8_1.level = 1 L9_1 = {} L9_1.config_id = 229004 L9_1.gadget_id = 70360305 L10_1 = {} L10_1.x = 2492.654 L10_1.y = 336.047 L10_1.z = -1744.925 L9_1.pos = L10_1 L10_1 = {} L10_1.x = 0.0 L10_1.y = 0.0 L10_1.z = 0.0 L9_1.rot = L10_1 L9_1.level = 1 L10_1 = {} L10_1.config_id = 229005 L10_1.gadget_id = 70360309 L11_1 = {} L11_1.x = 2493.411 L11_1.y = 337.272 L11_1.z = -1750.039 L10_1.pos = L11_1 L11_1 = {} L11_1.x = 0.0 L11_1.y = 0.0 L11_1.z = 0.0 L10_1.rot = L11_1 L10_1.level = 1 L11_1 = {} L11_1.config_id = 229006 L11_1.gadget_id = 70290216 L12_1 = {} L12_1.x = 2522.531 L12_1.y = 346.165 L12_1.z = -1736.084 L11_1.pos = L12_1 L12_1 = {} L12_1.x = 0.0 L12_1.y = 0.0 L12_1.z = 0.0 L11_1.rot = L12_1 L11_1.level = 1 L12_1 = {} L12_1.config_id = 229007 L12_1.gadget_id = 70290217 L13_1 = {} L13_1.x = 2521.347 L13_1.y = 347.369 L13_1.z = -1746.049 L12_1.pos = L13_1 L13_1 = {} L13_1.x = 0.0 L13_1.y = 0.0 L13_1.z = 0.0 L12_1.rot = L13_1 L12_1.level = 1 L13_1 = {} L13_1.config_id = 229008 L13_1.gadget_id = 70310002 L14_1 = {} L14_1.x = 2522.249 L14_1.y = 346.03 L14_1.z = -1735.65 L13_1.pos = L14_1 L14_1 = {} L14_1.x = 0.0 L14_1.y = 0.0 L14_1.z = 0.0 L13_1.rot = L14_1 L13_1.level = 1 L14_1 = {} L14_1.config_id = 229009 L14_1.gadget_id = 70310002 L15_1 = {} L15_1.x = 2521.207 L15_1.y = 347.198 L15_1.z = -1745.696 L14_1.pos = L15_1 L15_1 = {} L15_1.x = 0.0 L15_1.y = 0.0 L15_1.z = 0.0 L14_1.rot = L15_1 L14_1.level = 1 L15_1 = {} L15_1.config_id = 229010 L15_1.gadget_id = 70360304 L16_1 = {} L16_1.x = 2502.482 L16_1.y = 338.171 L16_1.z = -1730.169 L15_1.pos = L16_1 L16_1 = {} L16_1.x = 2.492 L16_1.y = 0.609 L16_1.z = 13.729 L15_1.rot = L16_1 L15_1.level = 1 L16_1 = {} L16_1.config_id = 229011 L16_1.gadget_id = 70360312 L17_1 = {} L17_1.x = 2493.379 L17_1.y = 339.198 L17_1.z = -1729.443 L16_1.pos = L17_1 L17_1 = {} L17_1.x = 0.0 L17_1.y = 0.0 L17_1.z = 0.0 L16_1.rot = L17_1 L16_1.level = 1 L17_1 = {} L17_1.config_id = 229012 L17_1.gadget_id = 70360311 L18_1 = {} L18_1.x = 2493.674 L18_1.y = 339.094 L18_1.z = -1731.795 L17_1.pos = L18_1 L18_1 = {} L18_1.x = 0.0 L18_1.y = 0.0 L18_1.z = 0.0 L17_1.rot = L18_1 L17_1.level = 1 L18_1 = {} L18_1.config_id = 229013 L18_1.gadget_id = 70360307 L19_1 = {} L19_1.x = 2479.273 L19_1.y = 334.318 L19_1.z = -1763.319 L18_1.pos = L19_1 L19_1 = {} L19_1.x = 0.0 L19_1.y = 0.0 L19_1.z = 0.0 L18_1.rot = L19_1 L18_1.level = 1 L19_1 = {} L19_1.config_id = 229014 L19_1.gadget_id = 70360310 L20_1 = {} L20_1.x = 2476.369 L20_1.y = 330.531 L20_1.z = -1747.379 L19_1.pos = L20_1 L20_1 = {} L20_1.x = 0.0 L20_1.y = 0.0 L20_1.z = 0.0 L19_1.rot = L20_1 L19_1.level = 1 L5_1[1] = L6_1 L5_1[2] = L7_1 L5_1[3] = L8_1 L5_1[4] = L9_1 L5_1[5] = L10_1 L5_1[6] = L11_1 L5_1[7] = L12_1 L5_1[8] = L13_1 L5_1[9] = L14_1 L5_1[10] = L15_1 L5_1[11] = L16_1 L5_1[12] = L17_1 L5_1[13] = L18_1 L5_1[14] = L19_1 gadgets = L5_1 L5_1 = {} regions = L5_1 L5_1 = {} L6_1 = {} L6_1.config_id = 1229015 L6_1.name = "GROUP_LOAD_229015" L7_1 = EventType L7_1 = L7_1.EVENT_GROUP_LOAD L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "" L6_1.action = "action_EVENT_GROUP_LOAD_229015" L5_1[1] = L6_1 triggers = L5_1 L5_1 = {} variables = L5_1 L5_1 = {} L5_1.suite = 1 L5_1.end_suite = 0 L5_1.rand_suite = false init_config = L5_1 L5_1 = {} L6_1 = {} L7_1 = {} L6_1.monsters = L7_1 L7_1 = {} L8_1 = 229001 L9_1 = 229002 L10_1 = 229003 L11_1 = 229004 L12_1 = 229005 L13_1 = 229010 L14_1 = 229011 L15_1 = 229012 L16_1 = 229013 L17_1 = 229014 L7_1[1] = L8_1 L7_1[2] = L9_1 L7_1[3] = L10_1 L7_1[4] = L11_1 L7_1[5] = L12_1 L7_1[6] = L13_1 L7_1[7] = L14_1 L7_1[8] = L15_1 L7_1[9] = L16_1 L7_1[10] = L17_1 L6_1.gadgets = L7_1 L7_1 = {} L6_1.regions = L7_1 L7_1 = {} L8_1 = "GROUP_LOAD_229015" L7_1[1] = L8_1 L6_1.triggers = L7_1 L6_1.rand_weight = 100 L5_1[1] = L6_1 suites = L5_1 function L5_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2, L17_2, L18_2, L19_2, L20_2, L21_2 L2_2 = false L3_2 = 1 L4_2 = L2_1 L4_2 = #L4_2 L5_2 = 1 for L6_2 = L3_2, L4_2, L5_2 do L7_2 = L2_1[L6_2] if 229010 == L7_2 then L2_2 = true end end if not L2_2 then L3_2 = ScriptLib L3_2 = L3_2.PrintContextLog L4_2 = A0_2 L5_2 = "EnvState: \233\148\153\232\175\175\231\154\132\228\188\160\229\133\165\228\186\134\228\184\128\228\184\170\228\184\141\229\156\168\230\152\188\229\164\156\229\136\151\232\161\168\228\184\173\231\154\132\231\137\169\228\187\182\239\188\129\239\188\129\239\188\129" L3_2(L4_2, L5_2) L3_2 = -1 return L3_2 end L3_2 = ScriptLib L3_2 = L3_2.GetCurrentLevelTagVec L4_2 = A0_2 L5_2 = 1 L3_2 = L3_2(L4_2, L5_2) L3_2 = L3_2[1] L4_2 = ScriptLib L4_2 = L4_2.GetLevelTagNameById L5_2 = A0_2 L6_2 = L3_2 L4_2 = L4_2(L5_2, L6_2) if L4_2 == "2_4_Day" then L5_2 = ScriptLib L5_2 = L5_2.SetGroupGadgetStateByConfigId L6_2 = A0_2 L7_2 = 0 L8_2 = 229010 L9_2 = 202 L5_2(L6_2, L7_2, L8_2, L9_2) end if L4_2 == "2_4_Night" then L5_2 = ScriptLib L5_2 = L5_2.SetGroupGadgetStateByConfigId L6_2 = A0_2 L7_2 = 0 L8_2 = 229010 L9_2 = 302 L5_2(L6_2, L7_2, L8_2, L9_2) end L5_2 = false L6_2 = 1 L7_2 = L2_1 L7_2 = #L7_2 L8_2 = 1 for L9_2 = L6_2, L7_2, L8_2 do L10_2 = L2_1[L9_2] if 229011 == L10_2 then L5_2 = true end end if not L5_2 then L6_2 = ScriptLib L6_2 = L6_2.PrintContextLog L7_2 = A0_2 L8_2 = "EnvState: \233\148\153\232\175\175\231\154\132\228\188\160\229\133\165\228\186\134\228\184\128\228\184\170\228\184\141\229\156\168\230\152\188\229\164\156\229\136\151\232\161\168\228\184\173\231\154\132\231\137\169\228\187\182\239\188\129\239\188\129\239\188\129" L6_2(L7_2, L8_2) L6_2 = -1 return L6_2 end L6_2 = ScriptLib L6_2 = L6_2.GetCurrentLevelTagVec L7_2 = A0_2 L8_2 = 1 L6_2 = L6_2(L7_2, L8_2) L6_2 = L6_2[1] L7_2 = ScriptLib L7_2 = L7_2.GetLevelTagNameById L8_2 = A0_2 L9_2 = L6_2 L7_2 = L7_2(L8_2, L9_2) if L7_2 == "2_4_Day" then L8_2 = ScriptLib L8_2 = L8_2.SetGroupGadgetStateByConfigId L9_2 = A0_2 L10_2 = 0 L11_2 = 229011 L12_2 = 202 L8_2(L9_2, L10_2, L11_2, L12_2) end if L7_2 == "2_4_Night" then L8_2 = ScriptLib L8_2 = L8_2.SetGroupGadgetStateByConfigId L9_2 = A0_2 L10_2 = 0 L11_2 = 229011 L12_2 = 302 L8_2(L9_2, L10_2, L11_2, L12_2) end L8_2 = false L9_2 = 1 L10_2 = L2_1 L10_2 = #L10_2 L11_2 = 1 for L12_2 = L9_2, L10_2, L11_2 do L13_2 = L2_1[L12_2] if 229012 == L13_2 then L8_2 = true end end if not L8_2 then L9_2 = ScriptLib L9_2 = L9_2.PrintContextLog L10_2 = A0_2 L11_2 = "EnvState: \233\148\153\232\175\175\231\154\132\228\188\160\229\133\165\228\186\134\228\184\128\228\184\170\228\184\141\229\156\168\230\152\188\229\164\156\229\136\151\232\161\168\228\184\173\231\154\132\231\137\169\228\187\182\239\188\129\239\188\129\239\188\129" L9_2(L10_2, L11_2) L9_2 = -1 return L9_2 end L9_2 = ScriptLib L9_2 = L9_2.GetCurrentLevelTagVec L10_2 = A0_2 L11_2 = 1 L9_2 = L9_2(L10_2, L11_2) L9_2 = L9_2[1] L10_2 = ScriptLib L10_2 = L10_2.GetLevelTagNameById L11_2 = A0_2 L12_2 = L9_2 L10_2 = L10_2(L11_2, L12_2) if L10_2 == "2_4_Day" then L11_2 = ScriptLib L11_2 = L11_2.SetGroupGadgetStateByConfigId L12_2 = A0_2 L13_2 = 0 L14_2 = 229012 L15_2 = 202 L11_2(L12_2, L13_2, L14_2, L15_2) end if L10_2 == "2_4_Night" then L11_2 = ScriptLib L11_2 = L11_2.SetGroupGadgetStateByConfigId L12_2 = A0_2 L13_2 = 0 L14_2 = 229012 L15_2 = 302 L11_2(L12_2, L13_2, L14_2, L15_2) end L11_2 = false L12_2 = 1 L13_2 = L2_1 L13_2 = #L13_2 L14_2 = 1 for L15_2 = L12_2, L13_2, L14_2 do L16_2 = L2_1[L15_2] if 229005 == L16_2 then L11_2 = true end end if not L11_2 then L12_2 = ScriptLib L12_2 = L12_2.PrintContextLog L13_2 = A0_2 L14_2 = "EnvState: \233\148\153\232\175\175\231\154\132\228\188\160\229\133\165\228\186\134\228\184\128\228\184\170\228\184\141\229\156\168\230\152\188\229\164\156\229\136\151\232\161\168\228\184\173\231\154\132\231\137\169\228\187\182\239\188\129\239\188\129\239\188\129" L12_2(L13_2, L14_2) L12_2 = -1 return L12_2 end L12_2 = ScriptLib L12_2 = L12_2.GetCurrentLevelTagVec L13_2 = A0_2 L14_2 = 1 L12_2 = L12_2(L13_2, L14_2) L12_2 = L12_2[1] L13_2 = ScriptLib L13_2 = L13_2.GetLevelTagNameById L14_2 = A0_2 L15_2 = L12_2 L13_2 = L13_2(L14_2, L15_2) if L13_2 == "2_4_Day" then L14_2 = ScriptLib L14_2 = L14_2.SetGroupGadgetStateByConfigId L15_2 = A0_2 L16_2 = 0 L17_2 = 229005 L18_2 = 202 L14_2(L15_2, L16_2, L17_2, L18_2) end if L13_2 == "2_4_Night" then L14_2 = ScriptLib L14_2 = L14_2.SetGroupGadgetStateByConfigId L15_2 = A0_2 L16_2 = 0 L17_2 = 229005 L18_2 = 302 L14_2(L15_2, L16_2, L17_2, L18_2) end L14_2 = false L15_2 = 1 L16_2 = L2_1 L16_2 = #L16_2 L17_2 = 1 for L18_2 = L15_2, L16_2, L17_2 do L19_2 = L2_1[L18_2] if 229004 == L19_2 then L14_2 = true end end if not L14_2 then L15_2 = ScriptLib L15_2 = L15_2.PrintContextLog L16_2 = A0_2 L17_2 = "EnvState: \233\148\153\232\175\175\231\154\132\228\188\160\229\133\165\228\186\134\228\184\128\228\184\170\228\184\141\229\156\168\230\152\188\229\164\156\229\136\151\232\161\168\228\184\173\231\154\132\231\137\169\228\187\182\239\188\129\239\188\129\239\188\129" L15_2(L16_2, L17_2) L15_2 = -1 return L15_2 end L15_2 = ScriptLib L15_2 = L15_2.GetCurrentLevelTagVec L16_2 = A0_2 L17_2 = 1 L15_2 = L15_2(L16_2, L17_2) L15_2 = L15_2[1] L16_2 = ScriptLib L16_2 = L16_2.GetLevelTagNameById L17_2 = A0_2 L18_2 = L15_2 L16_2 = L16_2(L17_2, L18_2) if L16_2 == "2_4_Day" then L17_2 = ScriptLib L17_2 = L17_2.SetGroupGadgetStateByConfigId L18_2 = A0_2 L19_2 = 0 L20_2 = 229004 L21_2 = 202 L17_2(L18_2, L19_2, L20_2, L21_2) end if L16_2 == "2_4_Night" then L17_2 = ScriptLib L17_2 = L17_2.SetGroupGadgetStateByConfigId L18_2 = A0_2 L19_2 = 0 L20_2 = 229004 L21_2 = 302 L17_2(L18_2, L19_2, L20_2, L21_2) end L17_2 = 0 return L17_2 end action_EVENT_GROUP_LOAD_229015 = L5_1 L5_1 = require L6_1 = "V2_4/EnvState" L5_1(L6_1) L5_1 = require L6_1 = "V2_4/EnvStateWorktop" L5_1(L6_1)