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

421 lines
8.0 KiB
Lua

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 = 133220580
L1_1 = {}
L2_1 = {}
L2_1.config_id = 580006
L2_1.monster_id = 22010201
L3_1 = {}
L3_1.x = -2224.82
L3_1.y = 200.0
L3_1.z = -4394.165
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 159.791
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 27
L2_1.drop_tag = "\230\183\177\230\184\138\230\179\149\229\184\136"
L2_1.pose_id = 9013
L2_1.area_id = 11
L3_1 = {}
L3_1.config_id = 580008
L3_1.monster_id = 21020801
L4_1 = {}
L4_1.x = -2222.489
L4_1.y = 200.193
L4_1.z = -4396.898
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 = 27
L3_1.drop_tag = "\228\184\152\228\184\152\229\178\169\231\155\148\231\142\139"
L3_1.area_id = 11
L1_1[1] = L2_1
L1_1[2] = L3_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 580001
L2_1.gadget_id = 70300107
L3_1 = {}
L3_1.x = -2222.609
L3_1.y = 199.856
L3_1.z = -4396.394
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 27
L3_1 = GadgetState
L3_1 = L3_1.GearStart
L2_1.state = L3_1
L2_1.area_id = 11
L3_1 = {}
L3_1.config_id = 580002
L3_1.gadget_id = 70300089
L4_1 = {}
L4_1.x = -2228.363
L4_1.y = 199.428
L4_1.z = -4396.426
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 359.956
L4_1.y = 90.784
L4_1.z = 359.885
L3_1.rot = L4_1
L3_1.level = 27
L3_1.area_id = 11
L4_1 = {}
L4_1.config_id = 580003
L4_1.gadget_id = 70300089
L5_1 = {}
L5_1.x = -2222.599
L5_1.y = 199.421
L5_1.z = -4401.964
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 359.956
L5_1.y = 90.784
L5_1.z = 359.885
L4_1.rot = L5_1
L4_1.level = 27
L4_1.area_id = 11
L5_1 = {}
L5_1.config_id = 580004
L5_1.gadget_id = 70300089
L6_1 = {}
L6_1.x = -2216.957
L6_1.y = 199.436
L6_1.z = -4396.605
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 359.956
L6_1.y = 90.784
L6_1.z = 359.885
L5_1.rot = L6_1
L5_1.level = 27
L5_1.area_id = 11
L6_1 = {}
L6_1.config_id = 580005
L6_1.gadget_id = 70300089
L7_1 = {}
L7_1.x = -2222.607
L7_1.y = 199.444
L7_1.z = -4390.56
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 359.956
L7_1.y = 90.784
L7_1.z = 359.885
L6_1.rot = L7_1
L6_1.level = 27
L6_1.area_id = 11
L7_1 = {}
L7_1.config_id = 580007
L7_1.gadget_id = 70300085
L8_1 = {}
L8_1.x = -2222.609
L8_1.y = 199.623
L8_1.z = -4396.394
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 = 27
L7_1.area_id = 11
L8_1 = {}
L8_1.config_id = 580012
L8_1.gadget_id = 70211011
L9_1 = {}
L9_1.x = -2222.609
L9_1.y = 200.028
L9_1.z = -4396.394
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 = 26
L8_1.drop_tag = "\230\136\152\230\150\151\228\184\173\231\186\167\231\168\187\229\166\187"
L8_1.isOneoff = true
L8_1.persistent = true
L9_1 = {}
L9_1.name = "chest"
L9_1.exp = 1
L8_1.explore = L9_1
L8_1.area_id = 11
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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1580009
L2_1.name = "ANY_GADGET_DIE_580009"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_GADGET_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = ""
L2_1.action = "action_EVENT_ANY_GADGET_DIE_580009"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1580010
L3_1.name = "VARIABLE_CHANGE_580010"
L4_1 = EventType
L4_1 = L4_1.EVENT_VARIABLE_CHANGE
L3_1.event = L4_1
L3_1.source = "num"
L3_1.condition = "condition_EVENT_VARIABLE_CHANGE_580010"
L3_1.action = "action_EVENT_VARIABLE_CHANGE_580010"
L4_1 = {}
L4_1.config_id = 1580011
L4_1.name = "ANY_MONSTER_DIE_580011"
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_580011"
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_580011"
L5_1 = {}
L5_1.config_id = 1580013
L5_1.name = "GADGET_STATE_CHANGE_580013"
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_580013"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_580013"
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 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "num"
L2_1.value = 0
L2_1.no_refresh = true
L1_1[1] = L2_1
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 2
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 580006
L3_1[1] = L4_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 580001
L5_1 = 580002
L6_1 = 580003
L7_1 = 580004
L8_1 = 580005
L9_1 = 580007
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 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_GADGET_DIE_580009"
L5_1 = "VARIABLE_CHANGE_580010"
L6_1 = "ANY_MONSTER_DIE_580011"
L7_1 = "GADGET_STATE_CHANGE_580013"
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 = {}
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
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = 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.ChangeGroupVariableValue
L3_2 = A0_2
L4_2 = "num"
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_ANY_GADGET_DIE_580009 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = A1_2.param1
L3_2 = A1_2.param2
if L2_2 == L3_2 then
L2_2 = false
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.GetGroupVariableValue
L3_2 = A0_2
L4_2 = "num"
L2_2 = L2_2(L3_2, L4_2)
if L2_2 ~= 4 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_VARIABLE_CHANGE_580010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.KillEntityByConfigId
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 580001
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 : kill_entity_by_configId"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.CreateMonster
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 580008
L4_2.delay_time = 0
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 : create_monster"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = 0
return L2_2
end
action_EVENT_VARIABLE_CHANGE_580010 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if L2_2 ~= 580008 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_580011 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.CreateGadget
L3_2 = A0_2
L4_2 = {}
L4_2.config_id = 580012
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 : create_gadget"
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_580011 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2
L2_2 = A1_2.param2
if 580012 == 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_580013 = 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.GoToGroupSuite
L3_2 = A0_2
L4_2 = 133220580
L5_2 = 2
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 : goto_groupSuite"
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_580013 = L1_1