4
0

order inc files to folders

This commit is contained in:
2025-12-11 18:07:36 +01:00
parent 4d3349720c
commit 755b648280
19 changed files with 18 additions and 18 deletions

13
inc/entity/entity.npc.lua Normal file
View File

@@ -0,0 +1,13 @@
function NPC.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 NPC.fight() end
function NPC.go_back()
GameWindow.set_state(WINDOW_GAME)
end