User Tools

Site Tools


dev:objects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
dev:objects [2014/09/04 03:22]
127.0.0.1 external edit
dev:objects [2021/12/18 22:09] (current)
draugthewhopper
Line 287: Line 287:
  
  
-==== SPECIAL NOTE (IMPORTANT!!!) ==== 
-<​del>​The fields resist_*, armour, wc and dam can be set in map files to customize monsters. ​ However, if that monster can be equipped with items, and actually equips some, these values will get reset back to those in the clone archetype (normal values.) ​ Thus, if you want to put a wizard in that does dam 50, make sure can_use_armour,​ and can_use_weapon are set back to 0.  Otherwise, when items are equipped, all the above fields will be reset to standard values.</​del>​ 
  
-As of 2006-12-09, this shouldn'​t be the case anymore: server will detect modified archetypes, and store its values in a temporary archetype structure to be able to recompute everything.+----
  
 +==== SPECIAL NOTE ====
 +<WRAP lo>The fields resist_*, armour, wc and dam can be set in map files to customize monsters. \\
 +However, if that monster can be equipped with items, and actually equips some, these values will get reset back to those in the clone archetype (normal values.) \\
 +Thus, if you want to put a wizard in that does dam 50, make sure can_use_armour,​ and can_use_weapon are set back to 0. \\ 
 +Otherwise, when items are equipped, all the above fields will be reset to standard values.</​WRAP>​
 +
 +:!: **As of 2006-12-09**,​ this shouldn'​t be the case anymore: \\
 +The server will detect modified archetypes, and store its values in a temporary archetype structure to be able to recompute everything.
 +
 +----
  
 ===== Generators and Creature Spawning ===== ===== Generators and Creature Spawning =====
Line 410: Line 418:
 The square braces may be used to construct special matches. ​ For example, a The square braces may be used to construct special matches. ​ For example, a
 key of '​[jy]ello'​ would match '​jello'​ or even '​yellow'​. key of '​[jy]ello'​ would match '​jello'​ or even '​yellow'​.
 +
 +==== Replies ====
 +
 +You can use a '​@reply'​ line after an NPC dialog line, and the player will be
 +given an option, or a hint, for a reply.
 +<​code>​
 +@match *
 +Hi, welcome to the shop! We offer various products and services.
 +@reply products Can you tell me more about your products?
 +@reply services What services do you offer?
 +</​code>​
  
 ==== Quest support ==== ==== Quest support ====
dev/objects.1409818966.txt.gz ยท Last modified: 2018/04/02 17:42 (external edit)