Object Food

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 all or olist 2 – 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 food values.

Keywords: [bushel crab crabs]
Area: [ 3] Thelasian Harbor
Vnum: [ 266]
Type: [food]
Level: [ 1]
Wear flags: [hold]
Extra flags: [none]
Material: [food]
Condition: [ 100]
Weight: [ 10]
Cost: [ 50]
Size: [tiny]
Ex desc kwd: [bushel crab crabs]
Short desc: a bushel of live crabs
Long desc: A bushel of live crabs has been left here.

[v0] Meal Size: [meal]
[v1] Food Type: candy
[v2] Freshness: [-1]
[v3] Poisoned: No

Food Settings

v0 is for Meal size, which gives an approximation of how long it will fill you up.

To set the meal size: v0 <meal size>, and to see a list of the different meal sizes, typ: ? meal

v1 is the type of food the object is, which will determine how long it takes for the food to rot.

To set the food type, type v0 <food type>, and to see a list type ? food.

Once you set the meal size and food type, it calculates the freshness and how long it fills you up automatically. The only other setting is whether or not the food is poisoned, which is set by a simple v4 yes/no.

To exit the object editor, type: done

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