Some refactoring
This commit is contained in:
1 parent
f2f56125f0
commit
92ba3f2b60
7 files changed
+847
-485
No files matched your search
+3
-2
@@ -2,6 +2,7 @@
|
||||
-- NPC PATROL WAYPOINTS
|
||||
-- ============================================
|
||||
|
||||
|
||||
local function step3()
|
||||
game_api.npc_walk_to(0, 0.0, 0.0, -30.0, step1)
|
||||
end
|
||||
@@ -32,12 +33,12 @@ end
|
||||
|
||||
function on_npc_interact(npc_index)
|
||||
print("[Lua] NPC interaction! Index: " .. tostring(npc_index))
|
||||
|
||||
--[[
|
||||
if npc_index == 1 then
|
||||
game_api.start_dialogue("test_line_dialogue")
|
||||
else
|
||||
game_api.receive_npc_gift(npc_index)
|
||||
end
|
||||
end]]
|
||||
end
|
||||
|
||||
print("Lua script loaded successfully!")
|
||||
Reference in new issue
Block a user