> @list $weapons.damaged
@program $weapons.damage() +access=pub
arg @args;
if (!damage)
damage = [1, 4];
if (args)
damage = args[1];
if (.special())
damage = [.special(), .special()];
catch any {
if ("sharpened" in (.enhancements()))
return [(damage[1]) + 2, (damage[2]) + 2];
}
return damage;
.
But anyhoo, that's my 2 cents. I think it's great when someone is putting effort toward thinking outside of the box and doing something that might help promote any aspect of MUDing, making building more accessible, easier, or quicker… so good job! But I thought I might throw in my perspective, and I suspect the perspective of others who might not find an offline or browser based building tool something they would be likely to use.
It might be something for MUDs to consider offering as an option for their builders, though, because what fits for one doesn't always fit for others.
This is exactly why I have always had an interest in the various attempts people have made at adding the ability to modify the source code from within the game itself without needing to open putty or whatever. Unfortunately, all of the examples I have seen of this are either VERY limited or incomplete or just plain inoperable. I'm still waiting for that feature to make its way into common usage.