harperers
harperers
i'm no expert, but does mission::process_all really need to be run once every single turn? it seems like it could just be checked only once an hour for the same...
unless i'm completely an idiot it looks like the only purpose of this function is to process the effects of missions with deadlines, given that if the mission doesn't have...
After looking at it a bit more, mission::process is also used for completing missions that dont have an NPC quest giver that can wrap it up for you. And, that...
> @harperers: Personally I'd solve it via some sort of an "on_item_pickup" hook for your katana example. Really, having code that runs every turn should be limited to things that...
so, mission::process_all should run once every time you kill a monster, a specific monster dies, you pickup a relevant item, you travel a map tile, an hour passes, you level...
testing it with npc followers makes it definitely seem like this is still an issue. If you give them a powerful weapon like an m4, they will usually always opt...
> > testing it with npc followers makes it definitely seem like this is still an issue. If you give them a powerful weapon like an m4, they will usually...