Up to Main Index Up to Journal for November, 2026
JOURNAL FOR SUNDAY 15TH NOVEMBER, 2026
______________________________________________________________________________
SUBJECT: WMProto zone files and vetoes
DATE: Mon 16 Nov 01:55:39 GMT 2026
Commits to the WMProto repository[1] have been slower this week, due mainly to
tackling some bigger ticket items. For the prototype I’m trying to solve all
of the difficult issues, that caused a lot of pain last time, up front.
What’s new then?
Proper zone files in WolfMUD’s .wrj format can be partially loaded. Currently
it’s hard-coded to only use the sample data/world.wrj file provided. If you
copy zinara.wrj over world.wrj it will load. You can walk around and the zone
will be busy, but a lot will also be broken. The currently supported fields
and attributes are:
Action: AFTER JITTER
Alias:
Aliases:
Cleanup: AFTER JITTER
Description:
Door: <exit_dir>=<where> LINK=<what>
Exit: <exit_dir>=<where>
Exits: <exit_dir>=<where>
Inventory: <thing_ref>
Location: <where_ref>
Name:
Narrative:
OnAction:
OnCleanup:
OnReset:
OnTrigger:
Portal: <exit_dir>=<where> LINK=<what>
Ref:
Reset: AFTER JITTER UNIQUE
Start:
Trigger: AFTER JITTER
Veto: <cmd>=<text>
Vetoes: <cmd>=<text>
The older hard-coded test world has been dropped and rewritten as the
data/world.wrj zone file.
To match current WolfMUD, the ACT command has been changed to $ACT.
I’ve had a few requests not to use a Unicode prompt. The prompt is now “+”
instead of “•”.
For those playing with the code, containers can be easily identified using
what.is[isContainer] to query if a thing is a container.
A bug has been fixed when a thing resets in a container and the thing has no
custom reset message set.
The test bots now use more player commands. The bot runner has been updated to
take flags:
-n number of bots to launch (default 10)
-l duration between bot launches (default 20ms)
-t duration to run for (default 10m)
-d delay in seconds to wait between commands (default 5s)
-j max random jitter in seconds to add to -d (default 5s)
Bots will try to run a command every d to d+j seconds inclusive. The
default is to run a command every 5 to 10 seconds.
Support for command vetoes have been added for: GET, DROP, PUT, TAKE, OPEN,
CLOSE and JUNK. The pseudo commands PUTIN, TAKEOUT and COMBAT are also
supported.
Support for unique items has been added. Unique items were one of the biggest
headaches to get right in the current WolfMUD. This implementation is much
simpler. To make a thing unique specify a UNIQUE attribute on the RESET field:
RESET: AFTER=30s JITTER=30s UNIQUE
A unique curious brass lattice has been added to world.wrj for testing. Unique
items have only just been added, please let me know of any problems with them.
There are also numerous little fixes and clean-ups made to the code.
If you have comments, spot bugs, have better ideas than mine — I’m just a
quick email away: diddymus@wolfmud.org
--
Diddymus
[1] WMProto repository: git clone https://code.wolfmud.org/WMProto
Up to Main Index Up to Journal for November, 2026