Home
PLAY
Donations
Wholist
Clans
Immortals
Stories
Directions
Snippets
Building Guide
Sacred Codebase
Forum


TML can be found at:
www.mageslair.net:7060

Powered by TMLOGS.




Building Guide

OLC TRICKS & HINTS

OLC: Down and Dirty in the MUD
ROOM HEAL AND MANA RATES
by using - and + health and or mana rates you can simulate different kinds of things..
example: - health rate in a room can simulate damage a player would suffer if in fire, or quicksand, a mudslide, a room filled with poisonous gas, a mosquito swarm or some other disasterous thing
example: + health rate in a room can simulate a holy place or infirmary or some other such thing
example: - mana rate in a room can simulate being in an evil mage's workroom, or in a pentacle..
example: + mana rate in a room can simulate being in a place or magical power..
to change heal / mana rates in REDIT the syntax is:
heal < negative or normal # value> example: heal 120 (this would be a hp regen rate of 120 %)
mana < negative or normal # value> example: mana -50 (this would be a mana regen rate of -50 %)

ED ADD DESCRIPTIONS
these are extra descriptions that can be added to rooms, mobs and objects. The syntaz for adding them is the same for all types.. it can be used to give something a longer description when you look at it, or give certain descriptions to important things in addition to the normal descriptions.
room example: say there is a pinting in the room description. By adding in a description of the painting in the room, players can now look at it and see the painting.
mob example: lets take the mosquito swarm from above, the normal long description could look something like: A swarm of mosquitos darkens the room. They blanket every living thing in a writhing and buzzing feeding frenzy as their hosts, drained of blood lay weakened and helpless on the floor.
add an extra description called host which might read something like this: A mass of mosquitos cover a small lump on the ground. As you watch, the lump emits a faint whimper and the paw of a dog breaks through the gluttonous swarm only to be swalowed up again underneath the horror of the blood engorged bugs.
object example: a shield with a coat 'd arms on it. You would have the normal long description, but add a description called coat or arms and when a player types look coat, or look arms they will be able to look at the coat 'd arms.
type: ed add to see the list of options
syntax: ed add
this will enter you into the description editor, use the editor the same way as the normal one.
to delete an extra description: syntax: ed delete

WACKY CONTAINERS
containers can be TONS of different neato things.. not just bags, pouches, backpacks... they can be cabinets, closets, fruit trees or bushes, places to hide things in rooms, clothing with pockets or weapons holders (scabbards), barrels, crates, knotholes in trees, animal burrows, birds nests.. whatever! Be creative!

SPECIAL OBJECT FLAGS AND TRICKS YOU CAN DO WITH THEM
take - putting an object in a room and flaggin it no take is wonderfully frustrating for players! It's a great tease. It also can give you furniture, room accessories, trees and other neato things. Put some gold on the ground but, make it no take... it's fun to watch them try to pick it up!
rot_death - this is great for illusionary objects or magical objects that are tied to a mob's life! The object's will disappear when the mob or charater who has them dies.
hadtimer - this will give the object a lifespan. So it's great for perishable things or magical items. If you make an object something living.. like a flower or branch or a butterfly.. it will die in time. Unfortunatly, unless your IMP has coded the had_timer to work, it will not function. It comes as a stock option with ROM and does not work unless the proper code is changed/added. The same applies for swim and dark_vision.

INVISIBLE OBJECTS
If your mud supports Lopes Color (ansi in ley terms) and uses the {x form of color syntax there's a neat little trick you can do to make objects invisible! All you have to do it put a { bracket as the long description and the object will not be seen in the room. It's great for invisible portals, room containers and quest things.