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

405 lines
7.5 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, L11_1, L12_1, L13_1, L14_1, L15_1
L0_1 = {}
L0_1.group_id = 133217176
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 176001
L2_1.gadget_id = 70800034
L3_1 = {}
L3_1.x = -4442.283
L3_1.y = 199.456
L3_1.z = -3782.24
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 273.047
L3_1.y = 87.271
L3_1.z = 176.466
L2_1.rot = L3_1
L2_1.level = 30
L2_1.persistent = true
L2_1.area_id = 14
L3_1 = {}
L3_1.config_id = 176002
L3_1.gadget_id = 70800045
L4_1 = {}
L4_1.x = -4416.222
L4_1.y = 185.225
L4_1.z = -3786.27
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 281.387
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 30
L3_1.persistent = true
L3_1.area_id = 14
L4_1 = {}
L4_1.config_id = 176003
L4_1.gadget_id = 70800034
L5_1 = {}
L5_1.x = -4425.557
L5_1.y = 191.957
L5_1.z = -3739.581
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 10.018
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 30
L4_1.persistent = true
L4_1.area_id = 14
L5_1 = {}
L5_1.config_id = 176004
L5_1.gadget_id = 70800034
L6_1 = {}
L6_1.x = -4428.16
L6_1.y = 191.957
L6_1.z = -3741.182
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 10.018
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 30
L5_1.persistent = true
L5_1.area_id = 14
L6_1 = {}
L6_1.config_id = 176005
L6_1.gadget_id = 70800034
L7_1 = {}
L7_1.x = -4429.061
L7_1.y = 192.534
L7_1.z = -3741.003
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 94.286
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 30
L6_1.persistent = true
L6_1.area_id = 14
L7_1 = {}
L7_1.config_id = 176006
L7_1.gadget_id = 70800034
L8_1 = {}
L8_1.x = -4426.585
L8_1.y = 192.534
L8_1.z = -3740.574
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 61.946
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 30
L7_1.persistent = true
L7_1.area_id = 14
L8_1 = {}
L8_1.config_id = 176007
L8_1.gadget_id = 70800034
L9_1 = {}
L9_1.x = -4423.69
L9_1.y = 192.534
L9_1.z = -3740.242
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 308.685
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 30
L8_1.persistent = true
L8_1.area_id = 14
L9_1 = {}
L9_1.config_id = 176008
L9_1.gadget_id = 70800034
L10_1 = {}
L10_1.x = -4431.951
L10_1.y = 192.247
L10_1.z = -3744.162
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 353.757
L10_1.y = 94.286
L10_1.z = 356.928
L9_1.rot = L10_1
L9_1.level = 30
L9_1.persistent = true
L9_1.area_id = 14
L10_1 = {}
L10_1.config_id = 176009
L10_1.gadget_id = 70800045
L11_1 = {}
L11_1.x = -4420.078
L11_1.y = 185.101
L11_1.z = -3790.238
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 341.679
L11_1.y = 344.723
L11_1.z = 353.381
L10_1.rot = L11_1
L10_1.level = 30
L10_1.persistent = true
L10_1.area_id = 14
L11_1 = {}
L11_1.config_id = 176010
L11_1.gadget_id = 70800034
L12_1 = {}
L12_1.x = -4416.839
L12_1.y = 183.47
L12_1.z = -3785.884
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 296.035
L12_1.y = 3.468
L12_1.z = 281.92
L11_1.rot = L12_1
L11_1.level = 30
L11_1.persistent = true
L11_1.area_id = 14
L12_1 = {}
L12_1.config_id = 176011
L12_1.gadget_id = 70800034
L13_1 = {}
L13_1.x = -4421.973
L13_1.y = 183.856
L13_1.z = -3790.148
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 275.338
L13_1.y = 191.349
L13_1.z = 169.196
L12_1.rot = L13_1
L12_1.level = 30
L12_1.persistent = true
L12_1.area_id = 14
L13_1 = {}
L13_1.config_id = 176012
L13_1.gadget_id = 70800034
L14_1 = {}
L14_1.x = -4419.297
L14_1.y = 184.439
L14_1.z = -3790.372
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 275.338
L14_1.y = 179.94
L14_1.z = 169.196
L13_1.rot = L14_1
L13_1.level = 30
L13_1.persistent = true
L13_1.area_id = 14
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
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1176013
L2_1.name = "ANY_GADGET_DIE_176013"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_GADGET_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_GADGET_DIE_176013"
L2_1.action = "action_EVENT_ANY_GADGET_DIE_176013"
L2_1.trigger_count = 0
L3_1 = {}
L3_1.config_id = 1176014
L3_1.name = "ANY_GADGET_DIE_176014"
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_176014"
L3_1.action = "action_EVENT_ANY_GADGET_DIE_176014"
L3_1.trigger_count = 0
L4_1 = {}
L4_1.config_id = 1176015
L4_1.name = "ANY_GADGET_DIE_176015"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_GADGET_DIE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ANY_GADGET_DIE_176015"
L4_1.action = "action_EVENT_ANY_GADGET_DIE_176015"
L4_1.trigger_count = 0
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "Door"
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 = 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 = 176001
L5_1 = 176002
L6_1 = 176003
L7_1 = 176004
L8_1 = 176005
L9_1 = 176006
L10_1 = 176007
L11_1 = 176008
L12_1 = 176009
L13_1 = 176010
L14_1 = 176011
L15_1 = 176012
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
L3_1[8] = L11_1
L3_1[9] = L12_1
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_GADGET_DIE_176013"
L5_1 = "ANY_GADGET_DIE_176014"
L6_1 = "ANY_GADGET_DIE_176015"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_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
L2_2 = A1_2.param1
if 176001 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_176013 = 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 = "FloorPlayStart"
L5_2 = 1
L6_2 = 133217106
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_GADGET_DIE_176013 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 176005 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_176014 = 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 = "FloorPlayStart"
L5_2 = 1
L6_2 = 133217177
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_GADGET_DIE_176014 = L1_1
function L1_1(A0_2, A1_2)
local L2_2
L2_2 = A1_2.param1
if 176010 ~= L2_2 then
L2_2 = false
return L2_2
end
L2_2 = true
return L2_2
end
condition_EVENT_ANY_GADGET_DIE_176015 = 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.SetGroupVariableValue
L3_2 = A0_2
L4_2 = "Door"
L5_2 = 3
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_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_176015 = L1_1