SPECASSIGN: Difference between revisions
Jump to navigation
Jump to search
New page: This command is used to assign a specproc to an object room or vnum while online, avoiding your overworked coder from any more work ;) The format is: specassign <obj|mob|room> <vnum to as... |
No edit summary |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
The format is: | The format is: | ||
specassign <obj|mob|room> <vnum to assign to> <name of specproc> | specassign <obj|mob|room> <vnum to assign to> <name of specproc> | ||
You MUST save the mob after assigning the specproc in order for the assign | You MUST save the mob after assigning the specproc in order for the assign | ||
to survive a reboot. | to survive a reboot. | ||
It will not let you assign a mob specproc to a room, etc. And the names | |||
are case sensitive. Valid specprocs are as follows: | are case sensitive. Valid specprocs are as follows: | ||
ROOM | = ROOM = | ||
----------- | ----------- | ||
dump | dump | ||
pet_shops When you create a pet shop, you must load the pets | pet_shops When you create a pet shop, you must load the pets | ||
into the room one vnum HIGHER then the actual | into the room one vnum HIGHER then the actual | ||
shop. | shop. | ||
bardic_college_entrance (An exit leading down from this room will take | bardic_college_entrance (An exit leading down from this room will take | ||
anyone to their hometowm) | anyone to their hometowm) | ||
MOBS | = MOBS = | ||
----------- | ----------- | ||
mob_psionicist (Mob casts psionic spells) | mob_psionicist (Mob casts psionic spells) | ||
npc_breath_spec (doesn't work) | npc_breath_spec (doesn't work) | ||
receptionist (you can rent at this mob) | receptionist (you can rent at this mob) | ||
cryogenicist (you can rent at this mob) | cryogenicist (you can rent at this mob) | ||
shop_keeper (NEVER SET!) | shop_keeper (NEVER SET!) | ||
postmaster (can send and receive mail from this mob) | postmaster (can send and receive mail from this mob) | ||
guild (you can practice spells at this mob) | guild (you can practice spells at this mob) | ||
snake (mostly poisons, does minor damage) | snake (mostly poisons, does minor damage) | ||
thief (steals gold from players) | thief (steals gold from players) | ||
magic_user (casts mage spells) | magic_user (casts mage spells) | ||
magic_user3 (casts stronger mage spells) | magic_user3 (casts stronger mage spells) | ||
guild_guard (needs special code, best stay away from it) | guild_guard (needs special code, best stay away from it) | ||
fido (eats corpses) | fido (eats corpses) | ||
janitor (picks up junk lieing around) | janitor (picks up junk lieing around) | ||
cityguard (guards the city) | cityguard (guards the city) | ||
mob_defender (TONS of options, but all require special code | mob_defender (TONS of options, but all require special code | ||
before assigning) | before assigning) | ||
cleric (casts cleric spells) | cleric (casts cleric spells) | ||
regenerator (mob heals VERY quickly) | regenerator (mob heals VERY quickly) | ||
replicant (any damage to mob results in a chance of it | replicant (any damage to mob results in a chance of it | ||
making a copy of itself, and healing completely) | making a copy of itself, and healing completely) | ||
OBJECTS | = OBJECTS = | ||
------- | ------- | ||
portal (entering it takes you to the room defined in v1) | portal (entering it takes you to the room defined in v1) | ||
votingbooth (object becomes a voting booth) | votingbooth (object becomes a voting booth) | ||
bank (atm) | bank (atm) | ||
[[CATEGORY:OLC]] | |||
Latest revision as of 11:51, 22 March 2010
This command is used to assign a specproc to an object room or vnum while online, avoiding your overworked coder from any more work ;) The format is:
specassign <obj|mob|room> <vnum to assign to> <name of specproc>
You MUST save the mob after assigning the specproc in order for the assign to survive a reboot.
It will not let you assign a mob specproc to a room, etc. And the names are case sensitive. Valid specprocs are as follows:
ROOM
dump
pet_shops When you create a pet shop, you must load the pets
into the room one vnum HIGHER then the actual
shop.
bardic_college_entrance (An exit leading down from this room will take
anyone to their hometowm)
MOBS
mob_psionicist (Mob casts psionic spells)
npc_breath_spec (doesn't work)
receptionist (you can rent at this mob)
cryogenicist (you can rent at this mob)
shop_keeper (NEVER SET!)
postmaster (can send and receive mail from this mob)
guild (you can practice spells at this mob)
snake (mostly poisons, does minor damage)
thief (steals gold from players)
magic_user (casts mage spells)
magic_user3 (casts stronger mage spells)
guild_guard (needs special code, best stay away from it)
fido (eats corpses)
janitor (picks up junk lieing around)
cityguard (guards the city)
mob_defender (TONS of options, but all require special code
before assigning)
cleric (casts cleric spells)
regenerator (mob heals VERY quickly)
replicant (any damage to mob results in a chance of it
making a copy of itself, and healing completely)
OBJECTS
portal (entering it takes you to the room defined in v1) votingbooth (object becomes a voting booth) bank (atm)