Oset
From SBIWiki
Oset (short for object set) is used to edit an object.
Contents |
[edit] Syntax
Syntax: oset <object> <field> <value> Field being one of: flags wear level weight cost rent timer name short long ed rmed actiondesc type value0 value1 value2 value3 value4 value5 affect rmaffect layers For weapons: For armor: weapontype condition ac condition For scrolls, potions and pills: slevel spell1 spell2 spell3 For wands and staves: slevel spell maxcharges charges For containers: For levers and switches: cflags key capacity tflags
[edit] Example Syntax
oset sword level 30
[edit] Helpfile
Syntax: oset <object> <field> <value>
oset object on
If the copy of the object you are currently modifying has the PROTOTYPE flag,
your modifications will also modify the index of that object, which all other
instances of the object are based on. In the future, every copy of that obj
will reflect your modifications.
Also be aware that modifications to the object affect list (everything that
is listed after 'object values') will affect _every_ copy of that object in
the game, including old copies (even if they are not online). Thus if you
change a prototype-flagged copy of a sword to +4 damroll, every copy of that
vnum ever made will reflect that change. If you add a 'magic' flag to that
sword, however, only copies made after the change will be affected.
If the copy of the object you are modifying does NOT have the PROTOTYPE flag,
your modifications will affect only that copy.
OSET ON will lock you onto a particular object. Once locked on, all commands
commands will imply 'oset <object>'. Hitting enter while in OSET ON gives
you an ostat of the object you are working on. To get out of OSET ON, simply
type the word DONE. Example:
oset staff on
long A long gnarled staff of burnished oak lies here.
type staff
done
[edit] See also
AFFECTTYPES, WEARFLAGS, OBJECTFLAGS, OBJECTTYPES, ARMORCLASS, ITEMVALUES, WEAPONTYPES, VARIABLES, OMENU, LAYERS and LAYERS2
This article is incomplete and needs more information in order to be of better use.
