v2.5
Important to note when upgrading:
- Update your code to set
update_moved = true;
whenever you move an object into the player's inventory using amove
command, to make sure the object gets themoved
attribute and that the object is scored, when applicable. - If you provide customized strings for MSG_PARSER_BAD_PATTERN_PREFIX and/or MSG_PARSER_BAD_PATTERN_SUFFIX, you now need to change them to complex messages.
Changes in functionality:
- Changed
moved
and the scoring of objects to work like I6 (update these at the end of the turn), added_NoteObjectAcquisitions
. Note: Game author must setupdate_moved = true;
when moving objects into player's inventory! - PunyInform Technical report added (documentation/techreport.pdf). This is meant to help in getting a better technical understanding of the library, for anyone who feels the need.
- Game Author's Guide has been updated with more material on optimization, thanks to Hugo Labrande.
- Changed the library messages for searching a container or supporter (MSG_SEARCH_IN_IT_ISARE, MSG_SEARCH_ON_IT_ISARE)
- The (undocumented) routine SearchInOnNoun() was removed.
- Messages MSG_PARSER_BAD_PATTERN_PREFIX and MSG_PARSER_BAD_PATTERN_SUFFIX were changed to be complex messages instead of static strings.
- Changed MSG_TAKE_ALREADY_HAVE from a static string to a complex message, merging it with another message.
- Changed newlines before and after quote box.
Bugfixes:
- Fixed warning in ext_cheap_scenery when SceneryReply is not defined.
- Changed so "actions" debug verb doesn't print object name when noun or second is a number.
- Fixed bug: MoveFloatingObjects didn't set scope_modified.
- Fixed a bug that made it impossible to change MSG_PARSER_BAD_PATTERN_PREFIX and MSG_PARSER_BAD_PATTERN_SUFFIX into complex messages.
- Fixed bug in ext_quote_box.h which made quote box stay on screen forever.
- Fixed a bug where grammar patterns with a
topic
token got a too high score (issue 77)