mirror of
https://github.com/Koko-boya/Grasscutter_Resources
synced 2024-01-31 23:23:19 +08:00
204 lines
3.6 KiB
Lua
204 lines
3.6 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 = 155005200
|
|
L1_1 = {}
|
|
monsters = L1_1
|
|
L1_1 = {}
|
|
npcs = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 200001
|
|
L2_1.gadget_id = 70290279
|
|
L3_1 = {}
|
|
L3_1.x = 228.125
|
|
L3_1.y = 331.445
|
|
L3_1.z = 292.047
|
|
L2_1.pos = L3_1
|
|
L3_1 = {}
|
|
L3_1.x = 0.0
|
|
L3_1.y = 306.368
|
|
L3_1.z = 0.0
|
|
L2_1.rot = L3_1
|
|
L2_1.level = 36
|
|
L2_1.isOneoff = true
|
|
L2_1.persistent = true
|
|
L2_1.area_id = 200
|
|
L3_1 = {}
|
|
L3_1.config_id = 200002
|
|
L3_1.gadget_id = 70900049
|
|
L4_1 = {}
|
|
L4_1.x = 232.666
|
|
L4_1.y = 325.613
|
|
L4_1.z = 288.468
|
|
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 = 36
|
|
L3_1.persistent = true
|
|
L3_1.area_id = 200
|
|
L4_1 = {}
|
|
L4_1.config_id = 200003
|
|
L4_1.gadget_id = 70217012
|
|
L5_1 = {}
|
|
L5_1.x = 230.701
|
|
L5_1.y = 325.505
|
|
L5_1.z = 291.19
|
|
L4_1.pos = L5_1
|
|
L5_1 = {}
|
|
L5_1.x = 1.427
|
|
L5_1.y = 343.247
|
|
L5_1.z = 0.271
|
|
L4_1.rot = L5_1
|
|
L4_1.level = 16
|
|
L4_1.drop_tag = "\230\145\169\230\139\137\231\159\179\231\174\177\231\168\187\229\166\187"
|
|
L4_1.isOneoff = true
|
|
L4_1.persistent = true
|
|
L5_1 = {}
|
|
L5_1.name = "chest"
|
|
L5_1.exp = 1
|
|
L4_1.explore = L5_1
|
|
L4_1.area_id = 200
|
|
L5_1 = {}
|
|
L5_1.config_id = 200004
|
|
L5_1.gadget_id = 70350006
|
|
L6_1 = {}
|
|
L6_1.x = 251.549
|
|
L6_1.y = 314.669
|
|
L6_1.z = 281.255
|
|
L5_1.pos = L6_1
|
|
L6_1 = {}
|
|
L6_1.x = 0.0
|
|
L6_1.y = 35.624
|
|
L6_1.z = 0.0
|
|
L5_1.rot = L6_1
|
|
L5_1.level = 36
|
|
L5_1.area_id = 200
|
|
L6_1 = {}
|
|
L6_1.config_id = 200006
|
|
L6_1.gadget_id = 70310001
|
|
L7_1 = {}
|
|
L7_1.x = 243.805
|
|
L7_1.y = 313.835
|
|
L7_1.z = 283.062
|
|
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 = 36
|
|
L6_1.area_id = 200
|
|
L7_1 = {}
|
|
L7_1.config_id = 200007
|
|
L7_1.gadget_id = 70310001
|
|
L8_1 = {}
|
|
L8_1.x = 241.254
|
|
L8_1.y = 313.868
|
|
L8_1.z = 279.455
|
|
L7_1.pos = L8_1
|
|
L8_1 = {}
|
|
L8_1.x = 0.0
|
|
L8_1.y = 57.531
|
|
L8_1.z = 0.0
|
|
L7_1.rot = L8_1
|
|
L7_1.level = 36
|
|
L7_1.area_id = 200
|
|
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 = {}
|
|
regions = L1_1
|
|
L1_1 = {}
|
|
L2_1 = {}
|
|
L2_1.config_id = 1200005
|
|
L2_1.name = "GADGET_STATE_CHANGE_200005"
|
|
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_200005"
|
|
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_200005"
|
|
L2_1.trigger_count = 0
|
|
L1_1[1] = L2_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 = 200001
|
|
L5_1 = 200002
|
|
L6_1 = 200003
|
|
L7_1 = 200004
|
|
L8_1 = 200006
|
|
L9_1 = 200007
|
|
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 = "GADGET_STATE_CHANGE_200005"
|
|
L3_1[1] = L4_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, L6_2
|
|
L2_2 = GadgetState
|
|
L2_2 = L2_2.GearStart
|
|
L3_2 = ScriptLib
|
|
L3_2 = L3_2.GetGadgetStateByConfigId
|
|
L4_2 = A0_2
|
|
L5_2 = 155005200
|
|
L6_2 = 200002
|
|
L3_2 = L3_2(L4_2, L5_2, L6_2)
|
|
if L2_2 ~= L3_2 then
|
|
L2_2 = false
|
|
return L2_2
|
|
end
|
|
L2_2 = true
|
|
return L2_2
|
|
end
|
|
condition_EVENT_GADGET_STATE_CHANGE_200005 = 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 = 200001
|
|
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 = 0
|
|
return L2_2
|
|
end
|
|
action_EVENT_GADGET_STATE_CHANGE_200005 = L1_1
|