[Crossfire-wiki] [Crossfire DokuWiki] page changed: user:cavesomething:guide_to_quest_dialogs

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Sat Oct 29 07:05:29 CDT 2011


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2011/10/29 07:05
User        : ryo
Edit Summary: add more archetypes

@@ -760,19 +760,49 @@
  Archetypes are located in the ''system'' tab of the "Archetypes" panel of Gridarta.
  
  They need to have their name defined to the quest parameters to match to interact.
  
- ==== quest_advance_apply ====
  
- Advances a quest when the conditions are futfilled.
+ ''item'' refers to the item the archetype is inserted in, whether a NPC, a monster or another item.
+ 
+ ==== quest_advance_xxx ====
+ 
+ Advance a quest when event happens and if the conditions match.
+ 
+ The following archetypes exist:
+   * ''quest_advance_apply'': the item is applied
+   * ''quest_advance_death'': the item (monster) is killed
+   * ''quest_advance_pickup'': the item is picked up
+   * ''quest_advance_trigger'': the item is triggered
  
  ''name'' must be set to ''questname rule1 rule2 ...'', with
    * ''questname'' the quest's internal name, for instance ''scorn/CoffeeGoose''
    * ''rule1'', ''rule2'', ... are state intervals, in the format ''n-p>q'', with ''n'' and ''p'' defining the interval the quest's step must be, and ''q'' the new step to set. ''-p'' can be omitted, in which case the state must be the specified value.
  
  Example:
    * ''name darcap/Elemental-Water 10>20''
    * ''name scorn/GoblinKing 10>20''
+ 
+ ==== quest_apply_if ====
+ This archetype will prevent its item to be applied unless the conditions match.
+ 
+ ''name'' must be set to ''questname condition1 condition2 ...'' with
+   * ''questname'' the quest's internal name
+   * ''condition'' a quest step value, either an interval like ''n-p'' or a single value like ''n''
+ 
+ ==== quest_conditional_drop ====
+ If inserted in a monster, this archetype will prevent some items this monster owns to be dropped when it dies unless conditions match.
+ 
+ Items from the monster to be conditionally dropped must have a ''drop_if_quest'' value set, with the format ''drop_if_quest questname condition1 condition2 ...'', with
+   * ''questname'' the quest's internal name
+   * ''condition'' a quest step value, either an interval like ''n-p'' or a single value like ''n''
+ 
+ The item will be dropped if any condition matches.
+ 
+ ==== quest_prevent_drop ====
+ This archetype will prevent its item from being dropped by a player unless the specified quest step is reached. If the item it can be dropped, it will be marked as ''god-given'' so it disappears. This is to prevent both players losing important items and cheating by having someone else give said item.
+ 
+ ''name'' must be set to ''questname queststep'', ''queststep'' being the step from which the item can be dropped.
  
  ===== Low-level description =====
  **Note:** this section is a technical description of the previous one, and intended for developers only. Map makers shouldn't be concerned by that.
  


IP-Address  : 82.236.87.204
Old Revision: http://wiki.metalforge.net/doku.php/user:cavesomething:guide_to_quest_dialogs?rev=1319889403
New Revision: http://wiki.metalforge.net/doku.php/user:cavesomething:guide_to_quest_dialogs

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/



More information about the crossfire-wiki mailing list