Message2290

Author salimiles
Recipients
Date 2012-05-29.21:15:46
Content
Certainly.

What is needed is a boolean (e.g. int essential_to_win) added to the npc struct
(src/struct.h), that has a default of FALSE (added to enemy_new() in
src/enemy.c), updated in dialog (src/lua.c, and dialogs), and checked on npc
death (func. kill_enemy() in src/enemy.c).

I might even write a patch to do it.*


* More complicated behavior, such as a dialog asking if the player wants to go
back to a previous (winnable) save can be added later.
History
Date User Action Args
2012-05-29 21:15:46salimilessetmessageid: <1338326146.15.0.324778687695.issue569@freedroid.org>
2012-05-29 21:15:46salimileslinkissue569 messages
2012-05-29 21:15:46salimilescreate