Grasscutter_Resources/Resources/Scripts/Scene/3/scene3_group133106284.lua
2022-04-29 16:40:51 +02:00

554 lines
10 KiB
Lua

local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1
L0_1 = {}
L0_1.group_id = 133106284
L1_1 = {}
L2_1 = {}
L2_1.config_id = 284001
L2_1.monster_id = 25010201
L3_1 = {}
L3_1.x = -499.776
L3_1.y = 235.994
L3_1.z = 1282.554
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 81.468
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 32
L2_1.drop_tag = "\231\155\151\229\174\157\229\155\162"
L2_1.area_id = 8
L3_1 = {}
L3_1.config_id = 284002
L3_1.monster_id = 25010201
L4_1 = {}
L4_1.x = -500.239
L4_1.y = 236.149
L4_1.z = 1268.963
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 = 32
L3_1.drop_tag = "\231\155\151\229\174\157\229\155\162"
L3_1.area_id = 8
L4_1 = {}
L4_1.config_id = 284003
L4_1.monster_id = 25010201
L5_1 = {}
L5_1.x = -484.947
L5_1.y = 236.729
L5_1.z = 1277.943
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 230.043
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 32
L4_1.drop_tag = "\231\155\151\229\174\157\229\155\162"
L4_1.area_id = 8
L5_1 = {}
L5_1.config_id = 284004
L5_1.monster_id = 25010201
L6_1 = {}
L6_1.x = -485.017
L6_1.y = 236.894
L6_1.z = 1270.223
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 32
L5_1.drop_tag = "\231\155\151\229\174\157\229\155\162"
L5_1.area_id = 8
L6_1 = {}
L6_1.config_id = 284005
L6_1.monster_id = 25020201
L7_1 = {}
L7_1.x = -489.982
L7_1.y = 236.879
L7_1.z = 1272.229
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 127.955
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 32
L6_1.drop_tag = "\231\155\151\229\174\157\229\155\162"
L6_1.area_id = 8
L7_1 = {}
L7_1.config_id = 284006
L7_1.monster_id = 25020201
L8_1 = {}
L8_1.x = -499.075
L8_1.y = 236.246
L8_1.z = 1275.331
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 274.544
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 32
L7_1.drop_tag = "\231\155\151\229\174\157\229\155\162"
L7_1.area_id = 8
L8_1 = {}
L8_1.config_id = 284007
L8_1.monster_id = 25030201
L9_1 = {}
L9_1.x = -496.062
L9_1.y = 236.326
L9_1.z = 1276.065
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 274.136
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 32
L8_1.drop_tag = "\231\155\151\229\174\157\229\155\162"
L8_1.area_id = 8
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
L1_1[7] = L8_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 284008
L2_1.gadget_id = 70710113
L3_1 = {}
L3_1.x = -492.497
L3_1.y = 236.283
L3_1.z = 1274.804
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 277.088
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 32
L2_1.persistent = true
L2_1.interact_id = 6
L2_1.area_id = 8
L3_1 = {}
L3_1.config_id = 284012
L3_1.gadget_id = 70310006
L4_1 = {}
L4_1.x = -497.087
L4_1.y = 236.345
L4_1.z = 1267.234
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 = 32
L3_1.area_id = 8
L4_1 = {}
L4_1.config_id = 284013
L4_1.gadget_id = 70310001
L5_1 = {}
L5_1.x = -496.39
L5_1.y = 236.304
L5_1.z = 1270.818
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 0.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 32
L4_1.area_id = 8
L5_1 = {}
L5_1.config_id = 284014
L5_1.gadget_id = 70310001
L6_1 = {}
L6_1.x = -480.02
L6_1.y = 236.77
L6_1.z = 1273.166
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 32
L5_1.area_id = 8
L6_1 = {}
L6_1.config_id = 284015
L6_1.gadget_id = 70310001
L7_1 = {}
L7_1.x = -495.357
L7_1.y = 236.174
L7_1.z = 1279.159
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 = 32
L6_1.area_id = 8
L7_1 = {}
L7_1.config_id = 284018
L7_1.gadget_id = 70211002
L8_1 = {}
L8_1.x = -495.038
L8_1.y = 236.43
L8_1.z = 1267.413
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 245.089
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 26
L7_1.chest_drop_id = 1001907
L7_1.drop_count = 1
L8_1 = GadgetState
L8_1 = L8_1.ChestLocked
L7_1.state = L8_1
L7_1.isOneoff = true
L7_1.persistent = true
L8_1 = {}
L8_1.name = "chest"
L8_1.exp = 1
L7_1.explore = L8_1
L7_1.area_id = 8
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 = {}
L2_1 = {}
L2_1.config_id = 284009
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 13.2
L3_1 = {}
L3_1.x = -492.993
L3_1.y = 236.763
L3_1.z = 1272.853
L2_1.pos = L3_1
L2_1.area_id = 8
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1284009
L2_1.name = "ENTER_REGION_284009"
L3_1 = EventType
L3_1 = L3_1.EVENT_ENTER_REGION
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ENTER_REGION_284009"
L2_1.action = "action_EVENT_ENTER_REGION_284009"
L3_1 = {}
L3_1.config_id = 1284010
L3_1.name = "GADGET_STATE_CHANGE_284010"
L4_1 = EventType
L4_1 = L4_1.EVENT_GADGET_STATE_CHANGE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_284010"
L3_1.action = "action_EVENT_GADGET_STATE_CHANGE_284010"
L4_1 = {}
L4_1.config_id = 1284011
L4_1.name = "ANY_MONSTER_DIE_284011"
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_284011"
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_284011"
L5_1 = {}
L5_1.config_id = 1284016
L5_1.name = "GADGET_CREATE_284016"
L6_1 = EventType
L6_1 = L6_1.EVENT_GADGET_CREATE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_GADGET_CREATE_284016"
L5_1.action = "action_EVENT_GADGET_CREATE_284016"
L5_1.trigger_count = 0
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 284001
L5_1 = 284002
L6_1 = 284003
L7_1 = 284004
L8_1 = 284005
L9_1 = 284006
L10_1 = 284007
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 284008
L5_1 = 284012
L6_1 = 284013
L7_1 = 284014
L8_1 = 284015
L9_1 = 284018
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 284009
L3_1[1] = L4_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ENTER_REGION_284009"
L5_1 = "GADGET_STATE_CHANGE_284010"
L6_1 = "ANY_MONSTER_DIE_284011"
L7_1 = "GADGET_CREATE_284016"
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
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if L2_2 ~= 284009 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetRegionEntityCount
L3_2 = A0_2
L4_2 = {}
L5_2 = A1_2.source_eid
L4_2.region_eid = L5_2
L5_2 = EntityType
L5_2 = L5_2.AVATAR
L4_2.entity_type = L5_2
L2_2 = L2_2(L3_2, L4_2)
if L2_2 < 1 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ENTER_REGION_284009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "7155507_finish"
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 : add_quest_progress"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 31060101
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_ENTER_REGION_284009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 284008 == 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_284010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "7155512_finish"
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 : add_quest_progress"
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_284010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupMonsterCount
L3_2 = A0_2
L2_2 = L2_2(L3_2)
if L2_2 ~= 0 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_284011 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = ScriptLib
L2_2 = L2_2.SetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 284018
L5_2 = GadgetState
L5_2 = L5_2.Default
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 : set_gadget_state_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "7155509_finish"
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 : add_quest_progress"
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_284011 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2, L5_2
L2_2 = A1_2.param1
if 284008 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGadgetStateByConfigId
L3_2 = A0_2
L4_2 = 0
L5_2 = A1_2.param1
L2_2 = L2_2(L3_2, L4_2, L5_2)
if L2_2 == 201 or L2_2 == 202 then
L3_2 = true
return L3_2
end
L3_2 = false
return L3_2
end
condition_EVENT_GADGET_CREATE_284016 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "7155512_finish"
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 : add_quest_progress"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "7155509_finish"
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 : add_quest_progress"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_GADGET_CREATE_284016 = L1_1