Plan for increasing available tags

From OHRRPGCE-Wiki

Jump to: navigation, search

Increasing the number of available tags would be easy, except that tags 1000+ are used for automatically allocated one-time-use tags.

  • Move one-time-use tags to a separate memory buffer
  • Make game store the highest available tag, defaulting to 999
  • Update Plot:set tag and plot:check tag to handle tag numbers above the available limit differently, manipulating one-time-tags
  • Make new plotscripting commands to get/set one time use tags without using set tag or check tag
  • Allow the game author to increase the available tags *
  • Allow the available one-time use tags to increase dynamically as they are used.

[edit] Note 1

Game authors who already manipulate one-time-tags with "read NPC(ref, 11)" and "alter NPC(ref, 11, value)" will not need to re-write their scripts unless they choose to increase the available tags in their game

Personal tools