Main Connecting Starting



Building: Dragging

Draggable objects may be moved between rooms by players or mobiles without being picked up. This means you can now make things which are too heavy to carry around, but nonetheless don't have to be fixed... handy for furniture, or corpses.

Draggable objects should have a mass, and the Draggable flag. Optionally they may also have a drag.verb property which overrides the default "drag" in flavour text... for example, template_motorbike_1 has this set to "wheel", because you wheel bikes around, not drag them.

You can customise the flavour text generated when dragging begins and ends by putting standard action strings into drag.start and drag.end.

By default, dragged items can be hauled around with one hand, leaving the other one free to do other stuff, like hold a weapon. If you want to force two-handed dragging, set needs.hands on the draggable item to 2.

If you set format.possessable to 0, then actions targetted at the dragged object will not have the object decorated with the dragger's name.