Difference between revisions of "Manual:Zone Manual/The Objects Section/Suggested object exercises"
Jump to navigation
Jump to search
(checked against the current code (wiki review 2026-11-15)) |
|||
| Line 1: | Line 1: | ||
| − | + | == Suggested object exercises == | |
| − | + | Compile each object with <code>vmc -l</code> until it is clean, then load it in the game and try it out. | |
| − | |||
| − | |||
| − | + | # Using the bonus scale and the shield macro on [[Manual:Zone Manual/The Objects Section/Object macros|Object macros]], make a large shield. Decide how well it is made and whether it is magic, give it a material, and make its weight and price fit. | |
| − | + | # Using the transfer macros on [[Manual:Zone Manual/The Objects Section/Object macros|Object macros]], make a ring that makes its wearer stronger (<code>BONUS_GOOD</code>) and a worse mage (<code>BONUS_BAD</code>). Remember the wear position. | |
| − | + | # Using the drink macros on [[Manual:Zone Manual/The Objects Section/Object macros|Object macros]], make a beer or a soda from where you live. Make your own liquid with <code>LIQ_DEF</code> if <code>liquid.h</code> doesn't have it, and remember that the last name must be the liquid. | |
| + | # Make an object that gives off a bright light and never runs out. (Hint: not <code>LIGHT_DEF</code>; read about <code>bright</code> on [[Manual:Zone Manual/The Objects Section|The Objects Section]].) | ||
| + | # Using the container, food, drink and money macros on [[Manual:Zone Manual/The Objects Section/Object macros|Object macros]], make a chest that can be locked, with its key, and a loaf of bread, a bottle of wine, a pile of silver pieces and a pile of iron pieces to go in it. Then load them into the chest with resets ([[Manual:Zone Manual/The Reset Section/Loading objects and NPCs|Loading objects and NPCs]]). | ||
| + | # Make a sword that slays orcs and can only be wielded from level 10, using <code>WEAPON_SLAYER</code> and a restriction from [[Manual:Zone Manual/The Objects Section/DIL functions for objects|DIL functions for objects]]. | ||
| − | + | <div style='padding-top: 30px; padding-bottom: 20px; text-align: left;float:left;width:50%;'>[[Manual:Zone Manual/The Objects Section/Dragon station with rooms NPCs and objects|Previous: Dragon station with rooms, NPCs, and objects]]</div> | |
| − | + | <div style='padding-top: 30px; padding-bottom: 20px; text-align: right;float:right;width:50%;'>[[Manual:Zone Manual/The Reset Section|Next: The Reset Section]]</div> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | <div style='padding-top: 30px; padding-bottom: 20px; text-align: left;float:left;width:50%;'>[[Manual: | ||
| − | <div style='padding-top: 30px; padding-bottom: 20px; text-align: right;float:right;width:50%;'>[[Manual: | ||
Latest revision as of 06:18, 15 November 2026
Suggested object exercises
Compile each object with vmc -l until it is clean, then load it in the game and try it out.
- Using the bonus scale and the shield macro on Object macros, make a large shield. Decide how well it is made and whether it is magic, give it a material, and make its weight and price fit.
- Using the transfer macros on Object macros, make a ring that makes its wearer stronger (
BONUS_GOOD) and a worse mage (BONUS_BAD). Remember the wear position. - Using the drink macros on Object macros, make a beer or a soda from where you live. Make your own liquid with
LIQ_DEFifliquid.hdoesn't have it, and remember that the last name must be the liquid. - Make an object that gives off a bright light and never runs out. (Hint: not
LIGHT_DEF; read aboutbrighton The Objects Section.) - Using the container, food, drink and money macros on Object macros, make a chest that can be locked, with its key, and a loaf of bread, a bottle of wine, a pile of silver pieces and a pile of iron pieces to go in it. Then load them into the chest with resets (Loading objects and NPCs).
- Make a sword that slays orcs and can only be wielded from level 10, using
WEAPON_SLAYERand a restriction from DIL functions for objects.