Object Affects

To start editing an object, go to the room you wish this object to reset in.

Type: edit object create <vnum> – This will create a new object.
Type: edit object <vnum> – To edit an existing object.
Type: olist 1/2/3 – To see a list of all the objects in the area while in the object editor.
Type: show – to see the current information of the object, which should look like this:

To build the basics of your object, go to the Objects Tutorial first, then come back here for the object affects values.

Keywords: [tunic simple plain]
Area: [ 7] Mistwood
Vnum: [ 861]
Type: [clothing]
Level: [ 0]
Wear Loc: [torso hold]
Extra flags: [inventory]
Perm Spell: [nothing]
Activation: [never]
Act chance: [100%]
Material: [cotton]
Condition: [ 100]
Weight: [ 0.0]
Cost: [ 20]
Timer: [0]
Size: [all]
Ex desc kwd: [tunic]
Short desc:
a simple plain tunic
Long desc:
A tunic made of cotton cloth.

Affects:
Number Location Modifier
—— ———— ——–
[ 0] hp 10

Adding/Deleting Affects to Objects

Builders can make items more powerful and desirable by adding affects to them. I’ve yet to create a chart for adding affects so for now you will have to use your best judgement. However all items will be checked before your area is ported.

To add affects to items, first you will need to be in the object editor. To see instructions on how to add affects just type: addaffect
Syntax: addaffect [location] [#mod]

[location] – This is which affect you want to add to the object.
For a list of different affects type: ? affects

[#mod] – This is the amount of the affect you want to add, such as 50 hitpoints.

To the left I added 10 hitpoints by typing: addaffect hp 10

To remove affects from items just type: delaffect <number>
So if I wanted to delete the 10 hp off of this item I would type: delaffect 0

To exit the object editor, type: done

And be sure to -always- save your area by typing: edit area, asave area, done