[Crossfire-wiki] [Crossfire DokuWiki] page changed: making_archetypes

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Thu Sep 27 18:30:04 CDT 2007


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

Date        : 2007/09/27 18:30
User        : leaf
Edit Summary: Updates and edits on creating or modifying Potions

@@ -14,44 +14,52 @@
  FIXME -- Modify Exising Potion section is a draft and work in progress
  
  ==== Modify Existing Potion ====
  
-   - Locate the object name of the potion in question. You can find this while in game and in DM mode by using the //dump// command on an existing potion id number.
+   - Locate the //object name// of the potion in question. You can find this while in game and in DM mode by using the //dump// command on an existing potion id number.
    - Locate or search for the object name in the archetype files. You can use the grep command or search for text in the Archetype files that contains a key word in the potion name, this will probably require some trial and error.
    - Edit the .arc file with the changes you want to make.  Examples include changing the name, modifying the potion duration, the potion appearance (aka graphic), and so on.
    - Save the file with your changes.
  
- Now, some decisions
+ === If the potion name changed ===
  
-   * If the potion name changed, check and see if the shop file needs to be updated. This file is located in the archetypes directory at: shop/Floors/shop_potion.trs
-     * You will need to update the alchemy formula file.  This file is located in the server directory at: lib/formulae
-     * You will need to update the treasure generation file.  This is located in the server directory at: lib/treasures
-     * You will need to search through all the map files and update any references to the old object name as well.
-   * If the potion is new, and you want it to show up in shops, the shop file needs to be updated. This file is located in the archetypes directory at: shop/Floors/shop_potion.trs
-      * Be sure to follow this format:
+   * You will need to update the shop file. This file is located in the **archetypes** directory at: shop/Floors/shop_potion.trs
+     * FIXME - where is the shop_potion.trs file in branch?
+   * You will need to update the alchemy formula file.  This file is located in the **server** directory at: lib/formulae
+   * You will need to update the treasure generation file.  This is located in the **server** directory at: lib/treasures
+   * You will need to search through all the **map** files and update any references to the old (object) name as well.
  
-   more
-   arch potion_<foo>
-     chance <number>
+ ==== Making a New Potion ====
  
-   * If you want players to be able to create the potion through alchemy, you will need to update the alchemy formula file.  This file is located in the server directory at: lib/formula
-     * Be sure to follow this format or syntax:
+ Some may find it easier to take an existing potion and tweak all the stats on it to ultimately create a "new potion."
  
-   # -- <comment or brief summary>
-   Object <as found in the archetype file>
-   arch <graphic_name>
-   chance <number>
-   diff <number>
-   exp <number>
-   yield <number>
-   skill alchemy
-   cauldron cauldron
-   ingred <ingredient1,ingredient2,etc>
+   * If you want it to show up in shops, the shop file needs to be updated. This file is located in the **archetypes** directory at: shop/Floors/shop_potion.trs
+     * Be sure to follow this format:
  
-   * If you want players to be able to find the potion in dungeons or through random chance, you will need to update the treasure generation file.  This is located in the server directory at: lib/treasures
+     more
+     arch potion_<foo>
+      chance <number>
+ 
+     * If you want players to be able to create the potion through alchemy, you will need to update the alchemy formula file.  This file is located in the **server** directory at: lib/formula
+       * Be sure to follow this format or syntax:
+ 
+     # -- <comment or brief summary>
+     Object <as found in the archetype file>
+     arch <graphic_name>
+     chance <number>
+     diff <number>
+     exp <number>
+     yield <number>
+     skill alchemy
+     cauldron cauldron
+     ingred <ingredient1,ingredient2,etc>
  
- ==== Modify Existing Potion (Example) ====
+   * If you want players to be able to find the potion in dungeons or through random chance, you will need to update the treasure generation file.  This is located in the **server** directory at: lib/treasures
+     * Be sure to follow this format:
  
+     more
+     arch potion_<foo>
+      chance <number>
  
  ===== Monters =====
  
  


IP-Address  : 65.193.16.100
Old Revision: http://wiki.metalforge.net/doku.php/making_archetypes?rev=1190920315
New Revision: http://wiki.metalforge.net/doku.php/making_archetypes

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




More information about the crossfire-wiki mailing list