Difference between revisions of "DM Java/Editing/Items"

From DmWiki
Jump to navigationJump to search
(New page: ===== size ===== === Items with Hardcoded Behavior === Chest Compass Torch Waterskin === In Game Generated Items === The engine also allows players to create items via various actions. ...)
 
Line 1: Line 1:
 +
=== Customizable Properties ===
 +
 
===== size =====
 
===== size =====
  

Revision as of 09:05, 7 October 2008

Customizable Properties

size

Items with Hardcoded Behavior

Chest Compass Torch Waterskin

In Game Generated Items

The engine also allows players to create items via various actions. However it is important to note that all such items are created by item number and therefore have the fixed properties defined inside the engine.

As an example, a designer may modify the properties of a mana potion and place it inside the dungeon. This potion, when used, will behave according the those modified properties. However when a player creates a mana potion, it will always have the engine default properties.

Making the Firestaff

The Firestaff may be created by collecting five items:

  • Stick (83)
  • Fire Rune (282)
  • Water Rune (283)
  • Earth Rune (284)
  • Wind Rune (285)

The designer is free to modify these items, all that the engine cares about for this process is the item number.

The player performs each of the four steps of creation in the same manner. Place item (83) in one hand and the component in the other, then casts the spell as per the following table:

Item number Spell In game message
282 MONFUL (MON FUL) Fire has been bound.
283 MONVI (MON VI) Water has been bound.
284 MONYA (MON YA) Earth has been bound.
285 MONOH (MON OH) Wind has been bound.

Once all four elements have been bound to the base item, the game will response: The Firestaff is Complete and replace item(83) with the Firestaff (248).

As noted in the section on generated items, although the designer may customize the required components to create the Firestaff, the created item will always be in built-in defined one.

Making the Enhanced Firestaff

The leader with item(248) in-hand clicks on the Power Gem map object, which replaces item(248) with item(249).