tyche_randplace.tar.gz
snippets · 3.1 KB · 2010-03-30
Tyche's Random Placement command (randplace).
Download « Back to the snippets list
README
Tyche's Random Placement Command
The randplace command is used to randomly place objects or tokens around
the world in specific areas, on the ground or on mobs, and/or within a
specified level range. The immortal must be carrying the objects.
Syntax : RANDPLACE <n*obj> mob|ground world|area <num>|level <lvl_num>
World places objects anywhere.
Area places objects in the area that occurs at position num in the
area list.
Level places objects in areas with that level range.
Example: randplace 25*tokens ground area 7
will place 25 tokens on the ground randomly in midgaard.
author Jon A. Lambert
version 1.96
date 06/27/2002
This code copyright (C) 2000-2002 by Jon A. Lambert
<sourcery@alltel.net> - All rights reserved.
No part of this code may be used without my written consent.
This code released to the PUBLIC DOMAIN on 4/3/2006
Installation of Tyche's Random Placement Command
1) copy randplace.c, randplace.pch to
your Rom24/src directory
2) switch to the rom24/src directory
3) run the patch utility...
patch -i randplace.pch -u -p2
or
3) Hand patch
Archive contents (3 files)
| File | Size |
|---|---|
| README | 1.1 KB |
| randplace.c | 10.3 KB |
| randplace.pch | 1.5 KB |