mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
340 lines
5.7 KiB
Lua
340 lines
5.7 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
|
|
L0_1 = {}
|
|
L0_1.group_id = 220007007
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 61
|
|
L2_1.gadget_id = 70380002
|
|
L3_1 = {}
|
|
L3_1.x = 6.0
|
|
L3_1.y = 32.0
|
|
L3_1.z = 50.0
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.176
|
|
L3_1.y = 72.63
|
|
L3_1.z = 47.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 1
|
|
L2_1.route_id = 20007009
|
|
L3_1 = {}
|
|
L3_1.config_id = 62
|
|
L3_1.gadget_id = 70380002
|
|
L4_1 = {}
|
|
L4_1.x = 5.0
|
|
L4_1.y = 32.0
|
|
L4_1.z = 60.0
|
|
L3_1.pos = L4_1
|
|
L4_1 = {}
|
|
L4_1.x = 0.0
|
|
L4_1.y = 240.79
|
|
L4_1.z = 184.6
|
|
L3_1.rot = L4_1
|
|
L3_1.level = 1
|
|
L3_1.route_id = 20007010
|
|
L4_1 = {}
|
|
L4_1.config_id = 63
|
|
L4_1.gadget_id = 70380002
|
|
L5_1 = {}
|
|
L5_1.x = 5.0
|
|
L5_1.y = 32.0
|
|
L5_1.z = 70.0
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 328.73
|
|
L5_1.y = 10.028
|
|
L5_1.z = 332.45
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 1
|
|
L4_1.route_id = 20007011
|
|
L5_1 = {}
|
|
L5_1.config_id = 64
|
|
L5_1.gadget_id = 70380001
|
|
L6_1 = {}
|
|
L6_1.x = 27.876
|
|
L6_1.y = 28.126
|
|
L6_1.z = 70.465
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 295.5
|
|
L6_1.y = 15.39
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 1
|
|
L5_1.route_id = 20007012
|
|
L6_1 = {}
|
|
L6_1.config_id = 65
|
|
L6_1.gadget_id = 70380001
|
|
L7_1 = {}
|
|
L7_1.x = 30.94
|
|
L7_1.y = 28.243
|
|
L7_1.z = 55.312
|
|
L6_1.pos = L7_1
|
|
L7_1 = {}
|
|
L7_1.x = 0.0
|
|
L7_1.y = 336.31
|
|
L7_1.z = 259.5
|
|
L6_1.rot = L7_1
|
|
L6_1.level = 1
|
|
L6_1.route_id = 20007013
|
|
L7_1 = {}
|
|
L7_1.config_id = 66
|
|
L7_1.gadget_id = 70360002
|
|
L8_1 = {}
|
|
L8_1.x = 13.874
|
|
L8_1.y = 26.05
|
|
L8_1.z = 73.272
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 99.6
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 1
|
|
L8_1 = {}
|
|
L8_1.config_id = 67
|
|
L8_1.gadget_id = 70360002
|
|
L9_1 = {}
|
|
L9_1.x = 13.45
|
|
L9_1.y = 26.05
|
|
L9_1.z = 62.001
|
|
L8_1.pos = L9_1
|
|
L9_1 = {}
|
|
L9_1.x = 0.0
|
|
L9_1.y = 95.016
|
|
L9_1.z = 0.0
|
|
L8_1.rot = L9_1
|
|
L8_1.level = 1
|
|
L9_1 = {}
|
|
L9_1.config_id = 68
|
|
L9_1.gadget_id = 70360002
|
|
L10_1 = {}
|
|
L10_1.x = 12.756
|
|
L10_1.y = 26.05
|
|
L10_1.z = 49.609
|
|
L9_1.pos = L10_1
|
|
L10_1 = {}
|
|
L10_1.x = 0.0
|
|
L10_1.y = 71.67
|
|
L10_1.z = 0.0
|
|
L9_1.rot = L10_1
|
|
L9_1.level = 1
|
|
L10_1 = {}
|
|
L10_1.config_id = 69
|
|
L10_1.gadget_id = 70360002
|
|
L11_1 = {}
|
|
L11_1.x = 28.554
|
|
L11_1.y = 26.05
|
|
L11_1.z = 50.164
|
|
L10_1.pos = L11_1
|
|
L11_1 = {}
|
|
L11_1.x = 0.0
|
|
L11_1.y = 305.2
|
|
L11_1.z = 0.0
|
|
L10_1.rot = L11_1
|
|
L10_1.level = 1
|
|
L11_1 = {}
|
|
L11_1.config_id = 70
|
|
L11_1.gadget_id = 70360002
|
|
L12_1 = {}
|
|
L12_1.x = 29.575
|
|
L12_1.y = 26.05
|
|
L12_1.z = 80.831
|
|
L11_1.pos = L12_1
|
|
L12_1 = {}
|
|
L12_1.x = 0.0
|
|
L12_1.y = 232.5
|
|
L12_1.z = 0.0
|
|
L11_1.rot = L12_1
|
|
L11_1.level = 1
|
|
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
|
|
gadgets = L1_1
|
|
L1_1 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1000029
|
|
L2_1.name = "GADGET_CREATE_29"
|
|
L3_1 = EventType
|
|
L3_1 = L3_1.EVENT_GADGET_CREATE
|
|
L2_1.event = L3_1
|
|
L2_1.source = ""
|
|
L2_1.condition = "condition_EVENT_GADGET_CREATE_29"
|
|
L2_1.action = "action_EVENT_GADGET_CREATE_29"
|
|
L2_1.trigger_count = 0
|
|
L3_1 = {}
|
|
L3_1.config_id = 1000030
|
|
L3_1.name = "SELECT_OPTION_30"
|
|
L4_1 = EventType
|
|
L4_1 = L4_1.EVENT_SELECT_OPTION
|
|
L3_1.event = L4_1
|
|
L3_1.source = ""
|
|
L3_1.condition = "condition_EVENT_SELECT_OPTION_30"
|
|
L3_1.action = "action_EVENT_SELECT_OPTION_30"
|
|
L3_1.trigger_count = 0
|
|
L3_1.forbid_guest = false
|
|
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 = 61
|
|
L5_1 = 62
|
|
L6_1 = 63
|
|
L7_1 = 64
|
|
L8_1 = 65
|
|
L9_1 = 66
|
|
L10_1 = 67
|
|
L11_1 = 68
|
|
L12_1 = 69
|
|
L13_1 = 70
|
|
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
|
|
L2_1.gadgets = L3_1
|
|
L3_1 = {}
|
|
L2_1.regions = L3_1
|
|
L3_1 = {}
|
|
L4_1 = "GADGET_CREATE_29"
|
|
L5_1 = "SELECT_OPTION_30"
|
|
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
|
|
L2_2 = A1_2.param1
|
|
if 63 < L2_2 then
|
|
L2_2 = A1_2.param1
|
|
if L2_2 < 71 then
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
else
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
end
|
|
condition_EVENT_GADGET_CREATE_29 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2
|
|
L2_2 = ScriptLib
|
|
L2_2 = L2_2.SetWorktopOptionsByGroupId
|
|
L3_2 = A0_2
|
|
L4_2 = 220007007
|
|
L5_2 = A1_2.param1
|
|
L6_2 = {}
|
|
L7_2 = 1
|
|
L8_2 = 4
|
|
L6_2[1] = L7_2
|
|
L6_2[2] = L8_2
|
|
L2_2(L3_2, L4_2, L5_2, L6_2)
|
|
L2_2 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_CREATE_29 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2
|
|
L2_2 = A1_2.param2
|
|
if L2_2 ~= 1 then
|
|
L2_2 = A1_2.param2
|
|
if L2_2 ~= 4 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
end
|
|
L2_2 = A1_2.param1
|
|
if not (L2_2 < 64) then
|
|
L2_2 = A1_2.param1
|
|
if not (70 < L2_2) then
|
|
goto lbl_17
|
|
end
|
|
end
|
|
L2_2 = false
|
|
do return L2_2 end
|
|
::lbl_17::
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_SELECT_OPTION_30 = L1_1
|
|
function L1_1(A0_2, A1_2)
|
|
local L2_2, L3_2, L4_2, L5_2
|
|
L2_2 = 0
|
|
L3_2 = A1_2.param1
|
|
if L3_2 == 66 then
|
|
L2_2 = 63
|
|
else
|
|
L3_2 = A1_2.param1
|
|
if L3_2 == 67 then
|
|
L2_2 = 62
|
|
else
|
|
L3_2 = A1_2.param1
|
|
if L3_2 == 68 then
|
|
L2_2 = 61
|
|
else
|
|
L3_2 = A1_2.param1
|
|
if L3_2 == 69 then
|
|
L2_2 = 65
|
|
else
|
|
L3_2 = A1_2.param1
|
|
if L3_2 == 70 then
|
|
L2_2 = 64
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
L3_2 = A1_2.param2
|
|
if L3_2 == 1 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.StartPlatform
|
|
L4_2 = A0_2
|
|
L5_2 = L2_2
|
|
L3_2(L4_2, L5_2)
|
|
else
|
|
L3_2 = A1_2.param2
|
|
if L3_2 == 4 then
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.StopPlatform
|
|
L4_2 = A0_2
|
|
L5_2 = L2_2
|
|
L3_2(L4_2, L5_2)
|
|
end
|
|
end
|
|
L3_2 = 0
|
|
return L3_2
|
|
end
|
|
action_EVENT_SELECT_OPTION_30 = L1_1
|