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

287 lines
5.8 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 = 111101052
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 52001
L2_1.gadget_id = 70310013
L3_1 = {}
L3_1.x = 2681.813
L3_1.y = 266.625
L3_1.z = -1399.493
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 = 1
L3_1 = {}
L3_1.config_id = 52002
L3_1.gadget_id = 70900039
L4_1 = {}
L4_1.x = 2676.406
L4_1.y = 263.823
L4_1.z = -1401.959
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 355.072
L4_1.y = 0.249
L4_1.z = 354.212
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L4_1.config_id = 52003
L4_1.gadget_id = 70210063
L5_1 = {}
L5_1.x = 2674.173
L5_1.y = 264.398
L5_1.z = -1395.271
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 183.387
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 26
L4_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\232\146\153\229\190\183"
L5_1 = GadgetState
L5_1 = L5_1.ChestFrozen
L4_1.state = L5_1
L4_1.isOneoff = true
L4_1.persistent = true
L5_1 = {}
L5_1.config_id = 52006
L5_1.gadget_id = 70210107
L6_1 = {}
L6_1.x = 2682.764
L6_1.y = 265.041
L6_1.z = -1412.065
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 19.09
L6_1.y = 307.758
L6_1.z = 355.717
L5_1.rot = L6_1
L5_1.level = 26
L5_1.drop_tag = "\228\184\128\230\172\161\230\128\167\230\144\156\229\136\174\231\130\185\229\179\173\229\163\129\232\146\153\229\190\183"
L5_1.isOneoff = true
L5_1.persistent = true
L6_1 = {}
L6_1.config_id = 52007
L6_1.gadget_id = 70210107
L7_1 = {}
L7_1.x = 2671.208
L7_1.y = 282.705
L7_1.z = -1418.736
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 3.871
L7_1.y = 2.94
L7_1.z = 13.238
L6_1.rot = L7_1
L6_1.level = 26
L6_1.drop_tag = "\228\184\128\230\172\161\230\128\167\230\144\156\229\136\174\231\130\185\229\179\173\229\163\129\232\146\153\229\190\183"
L6_1.isOneoff = true
L6_1.persistent = true
L7_1 = {}
L7_1.config_id = 52008
L7_1.gadget_id = 70210107
L8_1 = {}
L8_1.x = 2680.477
L8_1.y = 271.004
L8_1.z = -1412.931
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 5.745
L8_1.y = 278.083
L8_1.z = 346.579
L7_1.rot = L8_1
L7_1.level = 26
L7_1.drop_tag = "\228\184\128\230\172\161\230\128\167\230\144\156\229\136\174\231\130\185\229\179\173\229\163\129\232\146\153\229\190\183"
L7_1.isOneoff = true
L7_1.persistent = true
L8_1 = {}
L8_1.config_id = 52009
L8_1.gadget_id = 70210107
L9_1 = {}
L9_1.x = 2681.928
L9_1.y = 272.411
L9_1.z = -1409.834
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 19.09
L9_1.y = 307.758
L9_1.z = 355.717
L8_1.rot = L9_1
L8_1.level = 26
L8_1.drop_tag = "\228\184\128\230\172\161\230\128\167\230\144\156\229\136\174\231\130\185\229\179\173\229\163\129\232\146\153\229\190\183"
L8_1.isOneoff = true
L8_1.persistent = true
L9_1 = {}
L9_1.config_id = 52010
L9_1.gadget_id = 70210107
L10_1 = {}
L10_1.x = 2690.421
L10_1.y = 278.503
L10_1.z = -1402.99
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 5.259
L10_1.y = 325.858
L10_1.z = 1.793
L9_1.rot = L10_1
L9_1.level = 26
L9_1.drop_tag = "\228\184\128\230\172\161\230\128\167\230\144\156\229\136\174\231\130\185\229\179\173\229\163\129\232\146\153\229\190\183"
L9_1.isOneoff = true
L9_1.persistent = true
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
L1_1[8] = L9_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1052004
L2_1.name = "GADGET_STATE_CHANGE_52004"
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_52004"
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_52004"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1052005
L3_1.name = "ANY_GADGET_DIE_52005"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_GADGET_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_GADGET_DIE_52005"
L3_1.action = "action_EVENT_ANY_GADGET_DIE_52005"
L3_1.trigger_count = 0
L1_1[1] = L2_1
L1_1[2] = L3_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 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 52002
L5_1 = 52003
L6_1 = 52006
L7_1 = 52007
L8_1 = 52008
L9_1 = 52009
L10_1 = 52010
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.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_52004"
L5_1 = "ANY_GADGET_DIE_52005"
L3_1[1] = L4_1
L3_1[2] = L5_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
L2_2 = A1_2.param2
if 52002 == 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_52004 = 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 = 52001
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_GADGET_STATE_CHANGE_52004 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 52001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_52005 = 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 = 52002
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 = 0
return L2_2
end
action_EVENT_ANY_GADGET_DIE_52005 = L1_1