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

236 lines
4.5 KiB
Lua

local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1
L0_1 = {}
L0_1.group_id = 133008271
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 271001
L2_1.gadget_id = 70211121
L3_1 = {}
L3_1.x = 1046.588
L3_1.y = 456.44
L3_1.z = -808.486
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 24.32
L3_1.y = 228.369
L3_1.z = 0.606
L2_1.rot = L3_1
L2_1.level = 26
L2_1.drop_tag = "\233\155\170\229\177\177\232\167\163\232\176\156\233\171\152\231\186\167\232\146\153\229\190\183"
L2_1.isOneoff = true
L2_1.persistent = true
L3_1 = {}
L3_1.name = "chest"
L3_1.exp = 1
L2_1.explore = L3_1
L2_1.area_id = 10
L3_1 = {}
L3_1.config_id = 271002
L3_1.gadget_id = 70211121
L4_1 = {}
L4_1.x = 1048.496
L4_1.y = 454.028
L4_1.z = -814.731
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 358.827
L4_1.y = 113.563
L4_1.z = 317.32
L3_1.rot = L4_1
L3_1.level = 26
L3_1.drop_tag = "\233\155\170\229\177\177\232\167\163\232\176\156\233\171\152\231\186\167\232\146\153\229\190\183"
L3_1.isOneoff = true
L3_1.persistent = true
L4_1 = {}
L4_1.name = "chest"
L4_1.exp = 1
L3_1.explore = L4_1
L3_1.area_id = 10
L4_1 = {}
L4_1.config_id = 271003
L4_1.gadget_id = 70211147
L5_1 = {}
L5_1.x = 1038.116
L5_1.y = 446.82
L5_1.z = -815.85
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 359.483
L5_1.y = 3.553
L5_1.z = 8.266
L4_1.rot = L5_1
L4_1.level = 26
L4_1.chest_drop_id = 2001800
L4_1.drop_count = 1
L4_1.isOneoff = true
L4_1.persistent = true
L4_1.autopick = true
L5_1 = {}
L5_1.name = "chest"
L5_1.exp = 4
L4_1.explore = L5_1
L4_1.area_id = 10
L5_1 = {}
L5_1.config_id = 271004
L5_1.gadget_id = 70211121
L6_1 = {}
L6_1.x = 1032.64
L6_1.y = 451.638
L6_1.z = -817.682
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 354.453
L6_1.y = 86.801
L6_1.z = 350.02
L5_1.rot = L6_1
L5_1.level = 26
L5_1.drop_tag = "\233\155\170\229\177\177\232\167\163\232\176\156\233\171\152\231\186\167\232\146\153\229\190\183"
L5_1.isOneoff = true
L5_1.persistent = true
L6_1 = {}
L6_1.name = "chest"
L6_1.exp = 1
L5_1.explore = L6_1
L5_1.area_id = 10
L6_1 = {}
L6_1.config_id = 271006
L6_1.gadget_id = 70211111
L7_1 = {}
L7_1.x = 1035.619
L7_1.y = 452.181
L7_1.z = -807.334
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 359.553
L7_1.y = 173.129
L7_1.z = 352.901
L6_1.rot = L7_1
L6_1.level = 26
L6_1.drop_tag = "\233\155\170\229\177\177\232\167\163\232\176\156\228\184\173\231\186\167\232\146\153\229\190\183"
L6_1.isOneoff = true
L6_1.persistent = true
L7_1 = {}
L7_1.name = "chest"
L7_1.exp = 1
L6_1.explore = L7_1
L6_1.area_id = 10
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
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1271005
L2_1.name = "GADGET_STATE_CHANGE_271005"
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_271005"
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_271005"
L1_1[1] = L2_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 2
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 = 271001
L5_1 = 271002
L6_1 = 271003
L7_1 = 271004
L8_1 = 271006
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
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_271005"
L3_1[1] = L4_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
L2_2 = A1_2.param2
if 271003 == 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_271005 = L1_1
function L1_1(A0_2, A1_2)
local L2_2, L3_2, L4_2
L2_2 = ScriptLib
L2_2 = L2_2.AddQuestProgress
L3_2 = A0_2
L4_2 = "13300827101"
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 : add_quest_progress"
L2_2(L3_2, L4_2)
L2_2 = -1
return L2_2
end
L2_2 = ScriptLib
L2_2 = L2_2.ShowReminder
L3_2 = A0_2
L4_2 = 30080101
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 : active_reminder_ui"
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_271005 = L1_1