local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1 L0_1 = {} L0_1.group_id = 133008064 L1_1 = {} L2_1 = {} L2_1.config_id = 64005 L2_1.monster_id = 28020103 L3_1 = {} L3_1.x = 1112.076 L3_1.y = 404.093 L3_1.z = -915.474 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 0.0 L3_1.y = 195.736 L3_1.z = 0.0 L2_1.rot = L3_1 L2_1.level = 30 L2_1.drop_tag = "\232\181\176\229\133\189" L2_1.climate_area_id = 1 L2_1.area_id = 10 L3_1 = {} L3_1.config_id = 64006 L3_1.monster_id = 28020104 L4_1 = {} L4_1.x = 1110.261 L4_1.y = 404.616 L4_1.z = -915.691 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.191 L4_1.y = 121.268 L4_1.z = 359.89 L3_1.rot = L4_1 L3_1.level = 30 L3_1.drop_tag = "\232\181\176\229\133\189" L3_1.climate_area_id = 1 L3_1.area_id = 10 L4_1 = {} L4_1.config_id = 64007 L4_1.monster_id = 28020104 L5_1 = {} L5_1.x = 1109.916 L5_1.y = 404.663 L5_1.z = -917.283 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 0.0 L5_1.y = 79.28 L5_1.z = 0.0 L4_1.rot = L5_1 L4_1.level = 30 L4_1.drop_tag = "\232\181\176\229\133\189" L4_1.climate_area_id = 1 L4_1.area_id = 10 L5_1 = {} L5_1.config_id = 64008 L5_1.monster_id = 28020104 L6_1 = {} L6_1.x = 1112.671 L6_1.y = 403.938 L6_1.z = -915.757 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.0 L6_1.y = 211.801 L6_1.z = 0.0 L5_1.rot = L6_1 L5_1.level = 30 L5_1.drop_tag = "\232\181\176\229\133\189" L5_1.climate_area_id = 1 L5_1.area_id = 10 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 monsters = L1_1 L1_1 = {} npcs = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 64001 L2_1.gadget_id = 70290027 L3_1 = {} L3_1.x = 1111.533 L3_1.y = 404.208 L3_1.z = -916.904 L2_1.pos = L3_1 L3_1 = {} L3_1.x = 3.338 L3_1.y = 358.726 L3_1.z = 349.323 L2_1.rot = L3_1 L2_1.level = 30 L2_1.isOneoff = true L2_1.persistent = true L2_1.interact_id = 15 L2_1.area_id = 10 L3_1 = {} L3_1.config_id = 64009 L3_1.gadget_id = 70210101 L4_1 = {} L4_1.x = 1116.194 L4_1.y = 403.726 L4_1.z = -908.122 L3_1.pos = L4_1 L4_1 = {} L4_1.x = 0.0 L4_1.y = 0.0 L4_1.z = 0.0 L3_1.rot = L4_1 L3_1.level = 26 L3_1.drop_tag = "\230\144\156\229\136\174\231\130\185\232\167\163\232\176\156\231\160\180\230\141\159\232\146\153\229\190\183" L3_1.persistent = true L3_1.area_id = 10 L4_1 = {} L4_1.config_id = 64010 L4_1.gadget_id = 70211145 L5_1 = {} L5_1.x = 1111.748 L5_1.y = 404.225 L5_1.z = -916.952 L4_1.pos = L5_1 L5_1 = {} L5_1.x = 5.335 L5_1.y = 133.37 L5_1.z = 9.84 L4_1.rot = L5_1 L4_1.level = 26 L4_1.drop_tag = "\233\155\170\229\177\177\231\142\137\233\171\147\233\171\152\231\186\167\232\146\153\229\190\183" L4_1.isOneoff = true L4_1.persistent = true L5_1 = {} L5_1.name = "chest" L5_1.exp = 4 L4_1.explore = L5_1 L4_1.area_id = 10 L5_1 = {} L5_1.config_id = 64011 L5_1.gadget_id = 70290028 L6_1 = {} L6_1.x = 1116.6 L6_1.y = 403.322 L6_1.z = -905.233 L5_1.pos = L6_1 L6_1 = {} L6_1.x = 0.851 L6_1.y = 0.937 L6_1.z = 2.698 L5_1.rot = L6_1 L5_1.level = 30 L5_1.area_id = 10 L6_1 = {} L6_1.config_id = 64012 L6_1.gadget_id = 70290027 L7_1 = {} L7_1.x = 1111.533 L7_1.y = 404.263 L7_1.z = -916.903 L6_1.pos = L7_1 L7_1 = {} L7_1.x = 3.338 L7_1.y = 358.726 L7_1.z = 349.323 L6_1.rot = L7_1 L6_1.level = 30 L6_1.isOneoff = true L6_1.persistent = true L6_1.area_id = 10 L7_1 = {} L7_1.config_id = 64017 L7_1.gadget_id = 70210101 L8_1 = {} L8_1.x = 1115.534 L8_1.y = 403.915 L8_1.z = -907.946 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 = 26 L7_1.chest_drop_id = 2002100 L7_1.drop_count = 1 L7_1.isOneoff = true L7_1.persistent = true L7_1.area_id = 10 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 L1_1[5] = L6_1 L1_1[6] = L7_1 gadgets = L1_1 L1_1 = {} regions = L1_1 L1_1 = {} L2_1 = {} L2_1.config_id = 1064002 L2_1.name = "GADGET_STATE_CHANGE_64002" L3_1 = EventType L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE L2_1.event = L3_1 L2_1.source = "" L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_64002" L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_64002" L2_1.trigger_count = 0 L3_1 = {} L3_1.config_id = 1064003 L3_1.name = "GROUP_LOAD_64003" L4_1 = EventType L4_1 = L4_1.EVENT_GROUP_LOAD L3_1.event = L4_1 L3_1.source = "" L3_1.condition = "condition_EVENT_GROUP_LOAD_64003" L3_1.action = "action_EVENT_GROUP_LOAD_64003" L3_1.trigger_count = 0 L4_1 = {} L4_1.config_id = 1064004 L4_1.name = "ANY_MONSTER_DIE_64004" L5_1 = EventType L5_1 = L5_1.EVENT_ANY_MONSTER_DIE L4_1.event = L5_1 L4_1.source = "" L4_1.condition = "condition_EVENT_ANY_MONSTER_DIE_64004" L4_1.action = "action_EVENT_ANY_MONSTER_DIE_64004" L4_1.trigger_count = 0 L5_1 = {} L5_1.config_id = 1064014 L5_1.name = "GADGET_STATE_CHANGE_64014" L6_1 = EventType L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE L5_1.event = L6_1 L5_1.source = "" L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_64014" L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_64014" L6_1 = {} L6_1.config_id = 1064015 L6_1.name = "GADGET_CREATE_64015" L7_1 = EventType L7_1 = L7_1.EVENT_GADGET_CREATE L6_1.event = L7_1 L6_1.source = "" L6_1.condition = "condition_EVENT_GADGET_CREATE_64015" L6_1.action = "action_EVENT_GADGET_CREATE_64015" L6_1.trigger_count = 0 L7_1 = {} L7_1.config_id = 1064016 L7_1.name = "GADGET_STATE_CHANGE_64016" L8_1 = EventType L8_1 = L8_1.EVENT_GADGET_STATE_CHANGE L7_1.event = L8_1 L7_1.source = "" L7_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_64016" L7_1.action = "action_EVENT_GADGET_STATE_CHANGE_64016" L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 L1_1[5] = L6_1 L1_1[6] = L7_1 triggers = L1_1 L1_1 = {} L2_1 = {} L2_1.configId = 1 L2_1.name = "day" L2_1.value = 0 L2_1.no_refresh = true L3_1 = {} L3_1.configId = 2 L3_1.name = "yesterdayBehavior" L3_1.value = 1 L3_1.no_refresh = true L4_1 = {} L4_1.configId = 3 L4_1.name = "prizeGiven" L4_1.value = 0 L4_1.no_refresh = true L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 variables = L1_1 L1_1 = {} L1_1.suite = 6 L1_1.end_suite = 1 L1_1.rand_suite = false init_config = L1_1 L1_1 = {} L2_1 = {} L3_1 = {} L2_1.monsters = L3_1 L3_1 = {} L4_1 = 64001 L5_1 = 64011 L3_1[1] = L4_1 L3_1[2] = L5_1 L2_1.gadgets = L3_1 L3_1 = {} L2_1.regions = L3_1 L3_1 = {} L4_1 = "GADGET_STATE_CHANGE_64002" L5_1 = "GROUP_LOAD_64003" L6_1 = "ANY_MONSTER_DIE_64004" L7_1 = "GADGET_STATE_CHANGE_64014" L3_1[1] = L4_1 L3_1[2] = L5_1 L3_1[3] = L6_1 L3_1[4] = L7_1 L2_1.triggers = L3_1 L2_1.rand_weight = 100 L3_1 = {} L4_1 = {} L5_1 = 64005 L4_1[1] = L5_1 L3_1.monsters = L4_1 L4_1 = {} L3_1.gadgets = L4_1 L4_1 = {} L3_1.regions = L4_1 L4_1 = {} L3_1.triggers = L4_1 L3_1.rand_weight = 100 L4_1 = {} L5_1 = {} L6_1 = 64006 L7_1 = 64007 L8_1 = 64008 L5_1[1] = L6_1 L5_1[2] = L7_1 L5_1[3] = L8_1 L4_1.monsters = L5_1 L5_1 = {} L4_1.gadgets = L5_1 L5_1 = {} L4_1.regions = L5_1 L5_1 = {} L4_1.triggers = L5_1 L4_1.rand_weight = 100 L5_1 = {} L6_1 = {} L5_1.monsters = L6_1 L6_1 = {} L7_1 = 64009 L6_1[1] = L7_1 L5_1.gadgets = L6_1 L6_1 = {} L5_1.regions = L6_1 L6_1 = {} L5_1.triggers = L6_1 L5_1.rand_weight = 100 L6_1 = {} L7_1 = {} L6_1.monsters = L7_1 L7_1 = {} L8_1 = 64010 L9_1 = 64017 L7_1[1] = L8_1 L7_1[2] = L9_1 L6_1.gadgets = L7_1 L7_1 = {} L6_1.regions = L7_1 L7_1 = {} L8_1 = "GADGET_STATE_CHANGE_64016" L7_1[1] = L8_1 L6_1.triggers = L7_1 L6_1.rand_weight = 100 L7_1 = {} L8_1 = {} L7_1.monsters = L8_1 L8_1 = {} L9_1 = 64012 L8_1[1] = L9_1 L7_1.gadgets = L8_1 L8_1 = {} L7_1.regions = L8_1 L8_1 = {} L9_1 = "GADGET_CREATE_64015" L8_1[1] = L9_1 L7_1.triggers = L8_1 L7_1.rand_weight = 100 L1_1[1] = L2_1 L1_1[2] = L3_1 L1_1[3] = L4_1 L1_1[4] = L5_1 L1_1[5] = L6_1 L1_1[6] = L7_1 suites = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 64001 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_64002 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.ChangeGroupVariableValueByGroup L3_2 = A0_2 L4_2 = "day" L5_2 = 1 L6_2 = 133008064 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : change_GroupVariable_by_group" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValue L3_2 = A0_2 L4_2 = "prizeGiven" L5_2 = 0 L2_2(L3_2, L4_2, L5_2) L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_64002 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if L2_2 == 1 then L2_2 = true return L2_2 end L2_2 = false return L2_2 end condition_EVENT_GROUP_LOAD_64003 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2 L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "day" L2_2 = L2_2(L3_2, L4_2) L3_2 = ScriptLib L3_2 = L3_2.GetGroupVariableValue L4_2 = A0_2 L5_2 = "yesterdayBehavior" L3_2 = L3_2(L4_2, L5_2) L4_2 = ScriptLib L4_2 = L4_2.GetGroupVariableValue L5_2 = A0_2 L6_2 = "prizeGiven" L4_2 = L4_2(L5_2, L6_2) if 5 < L2_2 then L5_2 = 0 return L5_2 end if L2_2 == 5 then L5_2 = ScriptLib L5_2 = L5_2.AddExtraGroupSuite L6_2 = A0_2 L7_2 = 133008064 L8_2 = 3 L5_2(L6_2, L7_2, L8_2) L5_2 = ScriptLib L5_2 = L5_2.AddExtraGroupSuite L6_2 = A0_2 L7_2 = 133008064 L8_2 = 5 L5_2(L6_2, L7_2, L8_2) L5_2 = ScriptLib L5_2 = L5_2.KillEntityByConfigId L6_2 = A0_2 L7_2 = {} L7_2.config_id = 64001 L5_2(L6_2, L7_2) elseif 0 < L2_2 and L2_2 < 5 then if L3_2 == 2 then L5_2 = ScriptLib L5_2 = L5_2.SetGroupVariableValueByGroup L6_2 = A0_2 L7_2 = "yesterdayBehavior" L8_2 = 1 L9_2 = 133008064 L5_2(L6_2, L7_2, L8_2, L9_2) elseif L3_2 == 1 and L2_2 ~= 4 then L5_2 = ScriptLib L5_2 = L5_2.AddExtraGroupSuite L6_2 = A0_2 L7_2 = 133008064 L8_2 = 2 L5_2(L6_2, L7_2, L8_2) end if L4_2 == 0 then L5_2 = ScriptLib L5_2 = L5_2.AddExtraGroupSuite L6_2 = A0_2 L7_2 = 133008064 L8_2 = 4 L5_2(L6_2, L7_2, L8_2) L5_2 = ScriptLib L5_2 = L5_2.SetGroupVariableValueByGroup L6_2 = A0_2 L7_2 = "prizeGiven" L8_2 = 1 L9_2 = 133008064 L5_2(L6_2, L7_2, L8_2, L9_2) end end L5_2 = 0 return L5_2 end action_EVENT_GROUP_LOAD_64003 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param2 if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_ANY_MONSTER_DIE_64004 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.SetGroupVariableValueByGroup L3_2 = A0_2 L4_2 = "yesterdayBehavior" L5_2 = 2 L6_2 = 133008064 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : set_groupVariable_by_group" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_ANY_MONSTER_DIE_64004 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = A1_2.param2 if 64001 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.GearStart L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = ScriptLib L2_2 = L2_2.GetGroupVariableValue L3_2 = A0_2 L4_2 = "day" L2_2 = L2_2(L3_2, L4_2) if L2_2 ~= 0 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_64014 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2 L2_2 = ScriptLib L2_2 = L2_2.ShowReminder L3_2 = A0_2 L4_2 = 300806310 L2_2 = L2_2(L3_2, L4_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : active_reminder_ui" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_64014 = L1_1 function L1_1(A0_2, A1_2) local L2_2 L2_2 = A1_2.param1 if 64012 ~= L2_2 then L2_2 = false return L2_2 end L2_2 = true return L2_2 end condition_EVENT_GADGET_CREATE_64015 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.SetGadgetEnableInteract L3_2 = A0_2 L4_2 = 133008064 L5_2 = 64012 L6_2 = false L2_2(L3_2, L4_2, L5_2, L6_2) L2_2 = 0 return L2_2 end action_EVENT_GADGET_CREATE_64015 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2 L2_2 = A1_2.param2 if 64010 == L2_2 then L2_2 = GadgetState L2_2 = L2_2.ChestOpened L3_2 = A1_2.param1 if L2_2 == L3_2 then goto lbl_11 end end L2_2 = false do return L2_2 end ::lbl_11:: L2_2 = true return L2_2 end condition_EVENT_GADGET_STATE_CHANGE_64016 = L1_1 function L1_1(A0_2, A1_2) local L2_2, L3_2, L4_2, L5_2, L6_2 L2_2 = ScriptLib L2_2 = L2_2.MarkPlayerAction L3_2 = A0_2 L4_2 = 6012 L5_2 = 3 L6_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : mark_playerAction" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = ScriptLib L2_2 = L2_2.ChangeGroupVariableValue L3_2 = A0_2 L4_2 = "day" L5_2 = 1 L2_2 = L2_2(L3_2, L4_2, L5_2) if 0 ~= L2_2 then L2_2 = ScriptLib L2_2 = L2_2.PrintContextLog L3_2 = A0_2 L4_2 = "@@ LUA_WARNING : change_GroupVariable" L2_2(L3_2, L4_2) L2_2 = -1 return L2_2 end L2_2 = 0 return L2_2 end action_EVENT_GADGET_STATE_CHANGE_64016 = L1_1