Action nodes work better now

This commit is contained in:
2026-02-01 00:13:33 +03:00
parent 201aa92fe7
commit e6efd89bb0
14 changed files with 548 additions and 126 deletions

View File

@@ -757,6 +757,28 @@ setup_action_handler("talk", {
print("tag: " .. tag)
end,
})
setup_action_handler("sit", {
activate = function(this)
print('sit activate')
crash()
end,
event = function(this, event)
print('event', event)
end,
finish = function(this)
end,
})
setup_action_handler("use", {
activate = function(this)
print('sit activate')
crash()
end,
event = function(this, event)
print('event', event)
end,
finish = function(this)
end,
})
--[[
active_dialogues = {}
setup_action_handler("talk", function(town, index, word)