zorfmorf / hedge

0 stars 0 forks source link

Find a way to integrate daily schedules into npcs. #151

Open zorfmorf opened 8 years ago

zorfmorf commented 8 years ago

Each npc has a method 'isActive()' which returns true depending on current map name and daytime (or whatever code we put in there). If it is false, the npc is not drawn/interactible/collidable but still loaded and saved to the map (and of course shown in the editor). Could be used in even more (different) scenarios. Dialoges need to have a time dependent feature as well.