4
0

split source
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2025-12-10 22:33:36 +01:00
parent 94931d3651
commit 9dfbdcd052
24 changed files with 1086 additions and 935 deletions

16
inc/npc_actions.lua Normal file
View File

@@ -0,0 +1,16 @@
--------------------------------------------------------------------------------
-- NPC Actions
--------------------------------------------------------------------------------
function NpcActions.talk_to()
local npc = Context.dialog.active_entity
if npc.dialog and npc.dialog.start then
PopupWindow.set_dialog_node("start")
else
-- if no dialog, go back
GameWindow.set_state(WINDOW_GAME)
end
end
function NpcActions.fight() end
function NpcActions.go_back()
GameWindow.set_state(WINDOW_GAME)
end