From ef4ae4d281127a0b84a73ab034bd22d6281a09ed Mon Sep 17 00:00:00 2001 From: mekolat Date: Thu, 18 Jun 2015 01:56:31 -0500 Subject: implement puppet npcs --- src/map/map.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/map/map.hpp') diff --git a/src/map/map.hpp b/src/map/map.hpp index 66253ca..a2d0f5d 100644 --- a/src/map/map.hpp +++ b/src/map/map.hpp @@ -331,6 +331,7 @@ struct npc_data : block_list Opt3 opt3; Opt0 option; short flag; + bool disposable; std::list eventqueuel; Array eventtimer; @@ -359,6 +360,9 @@ public: short xs, ys; bool event_needs_map; + // the npc containing the actual script + BlockId parent; + // Whether the timer advances if not beyond end. bool timer_active; // Tick counter through the timers. -- cgit v1.2.3-60-g2f50