User Tools

Site Tools


dev:objects

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:objects [2018/04/02 17:42]
karl [SPECIAL NOTE (IMPORTANT!!!)] Make it readable
dev:objects [2024/05/20 16:32] (current)
leaf Merge in changes from the wiki-data objects page
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 418: Line 410:
 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.1522708973.txt.gz · Last modified: 2018/04/02 17:42 by karl