MUD Client Links and Help
Gormal
Commander
Posts: 612 Joined: Mon Feb 01, 2021 3:49 pm
Post
by Gormal » Sat May 29, 2021 11:11 am
So I made this tonight to work on my trap skills and thought I'd share. You need to be in the Stagstand Tavern in SM (3e3nen from Gwen). The traps cost 25c so I give him a couple plat and have a bunch of copper handy.
Type "trapprac" to start, and "trappracstop" to stop.
Code: Select all
#ALIAS {trapprac} {#T+ trappractice;give 1 c hunter;drop trap;detecttrap trap}
#ALIAS {trappracstop} {#T- trappractice;#echo Trap Practice Halted!}
#CLASS {trappractice} {disable}
#TRIGGER {You trigger a trap} {give 1 c hunter;drop trap;detecttrap trap}
#TRIGGER {You don't detect anything strange} {#alarm "dontdetect" +14 {detecttrap trap}}
#TRIGGER {You detect a trap} {disarmtrap trap}
#TRIGGER {You are too weary to concentrate right now...rest a bit.} {#alarm "wearydetect" +15 {detecttrap trap}}
#TRIGGER {You disarm a trap} {give 1 c hunter;drop trap;detecttrap trap}
#TRIGGER {You cannot concentrate enough at the moment...rest a bit.} {#alarm "wearydisarm" +10 {disarmtrap trap}}
#TRIGGER {Nothing seems to happen..} {detecttrap trap}
#CLASS 0
Gormal
Commander
Posts: 612 Joined: Mon Feb 01, 2021 3:49 pm
Post
by Gormal » Sat May 29, 2021 11:11 am
Tweaked it for just disarming a single trap, whatever the name of it may be using "tdisarm <trapname>". "disarmstop" will halt the attempt.
Code: Select all
#ALIAS {tdisarm} {#var disarm %1;detecttrap @disarm;#T+ disarm}
#ALIAS {disarmstop} {#T- disarm;#echo Disarming Aborted!}
#CLASS {disarm} {disable}
#TRIGGER {You don't detect anything strange} {#alarm "dontdetect" +14 {detecttrap @disarm}}
#TRIGGER {You detect a trap} {disarmtrap @disarm}
#TRIGGER {You are too weary to concentrate right now...rest a bit.} {#alarm "wearydetect" +15 {detecttrap @disarm}}
#TRIGGER {You cannot concentrate enough at the moment...rest a bit.} {#alarm "wearydisarm" +5 {disarmtrap @disarm}}
#TRIGGER {Nothing seems to happen..} {detecttrap @disarm}
#TRIGGER {You trigger a trap} {detecttrap @disarm}
#TRIGGER {You disarm a trap} {#T- disarm}
#CLASS 0