;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; ; bat_ranger.tf ; ; ; ; Hair @ BatMUD ; ; ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; /REQUIRE bat_nomad.tf ;; Skills ;;;;;;;;; Bladed Fury /DEF -ag -h"send {bf}*" skl_bladed_fury = \ /SET cast_status=BF %; \ /IF /TEST $[%{-1} !~ ""] %; \ /THEN /SEND @use bladed fury at %{-1} %; \ /ELSE /SEND @use bladed fury %; \ /ENDIF ;;;;;;;;; Camouflage /DEF -ag -h"send {camo}" skl_camouflage = \ /SET cast_status=CAMO %; \ /SEND @use camouflage ;;;;;;;; Combat damage analysis /DEF -ag -h"send {cda}" skl_combat_damage_analysis = \ /SET cast_status=CDA %; \ /SEND @use combat damage analysis ;; Taken from ggrtf-misc.tf from Ggr@BatMUD http://ccr.tnsp.org/ggrtf/ /DEF -i gcda_report =\ /SEND @party report [%{1}]: %{2} resist against %{3}%;\ /DEF -i -p9999 -ag -mregexp -t"^([A-Za-z ,.'-]+) is defenseless against ([a-zA-Z]+) damage\.$" cda_resist0 =\ /TEST gcda_report({P1},0,{P2}) /DEF -i -p9999 -ag -mregexp -t"^([A-Za-z ,.'-]+) seems to be almost defenseless against ([a-zA-Z]+) damage\.$" cda_resist20 =\ /TEST gcda_report({P1},20,{P2}) /DEF -i -p9999 -ag -mregexp -t"^([A-Za-z ,.'-]+) has some resistance against ([a-zA-Z]+) damage\.$" cda_resist40 =\ /TEST gcda_report({P1},40,{P2}) /DEF -i -p9999 -ag -mregexp -t"^([A-Za-z ,.'-]+) seems to be moderately resistant against ([a-zA-Z]+) damage." cda_resist60 =\ /TEST gcda_report({P1},60,{P2}) /DEF -i -p9999 -ag -mregexp -t"^([A-Za-z ,.'-]+) has good resistance against ([a-zA-Z]+) damage\.$" cda_resist80 =\ /TEST gcda_report({P1},80,{P2}) /DEF -i -p9999 -ag -mregexp -t"^([A-Za-z ,.'-]+) seems almost immune against ([a-zA-Z]+) damage\.$" cda_resist100 =\ /TEST gcda_report({P1},100,{P2}) ;; End blatant ripoff. Thanks to Ggr for a really cool trigset to ;; steal^H^H^H^H^Hborrow things from ;;;;;;;; Compare /DEF -ag -h"send {comp}*" skl_compare = \ /SET cast_status=COMP %; \ /SEND @use compare at %{2} and %{3} ;;;;;;;;; First Aid /DEF -ag -h"send {fa}*" skl_first_aid = \ /SET cast_status=F AID %; \ /IF /TEST $[%{-1} !~ ""] %;\ /THEN /SEND @use first aid at %{-1} %;\ /ELSE /ECHO This skill requires a target %; \ /SET cast_status= %; \ /ENDIF ;;;;;;;;; Fishing /DEF -ag -h"send {fish}" skl_fishing = \ /SET cast_status=FISH %; \ /SEND @use fishing ;;;;;;;;; Forest location /DEF -ag -h"send {floc}*" skl_forest_location = \ /SET cast_status=F LOC %; \ /IF /TEST $[%{-1} !~ ""] %; \ /THEN /SEND @use forest location at %{-1} %; \ /ELSE /ECHO This skill requires a target %; \ /SET cast_status= %; \ /ENDIF ;;;;;;;;; Kick /DEF -ag -h"send {ki}*" skl_kick = \ /SET cast_status=KICK %; \ /IF /TEST $[%{-1} !~ ""] %; \ /THEN /SEND @use kick at %{-1} %; \ /ELSE /SEND @use kick %; \ /ENDIF ;;;;;;;;; Leather Craft /DEF -ag -h"send {lc}*" skl_leather_craft = \ ;; Uncomment the following 2 lines, and change raxe to your weapon, if ;; You want to wield a knife to do leather craft. Also, uncomment the ;; following 3 triggers and change weapon name. ; /SEND @remove raxe %; \ ; /SEND @wield knife %; \ /SEND @use leather craft at corpse %{-1} %; \ /SEND @party report Leather crafting corpse ... c'mon fur muff! %; \ /SET cast_status=LC ;/DEF -t"You use your knife and start skinning the corpse." skl_lc_fin = \ ; /SEND @remove knife %; \ ; /SEND @wield raxe ;/DEF -t"No such item here." skl_lc_no_corpse = \ ; /SEND @remove knife %; \ ; /SEND @wield raxe ;/DEF -t"That corpse is too small to skin." skl_lc_too_small = \ ; /SEND @remove knife %; \ ; /SEND @wield raxe %; \ ; /SEND dig grave ;;;;;;;;; Locate water /DEF -ag -h"send {lw}" skl_locate_water = \ /SET cast_status=WATER %; \ /SEND @use locate water ;;;;;;;;; Location memory ; Use: loc remember location-name or loc forget location-name ; to add and remove remembered locations. Use loc with no arguments ; to get a list of remembered locations /DEF -ag -h"send {loc}*" skl_location_memory_list = \ /SET cast_status=L MEM %; \ /IF /TEST $[%{-1} !~ ""] %; \ /THEN /SEND @use location memory at %{-1} %; \ /ELSE /SEND @use location memory at list %; \ /ENDIF ;;;;;;;;; Make bandage /DEF -ag -h"send {bandage}" skl_make_bandage = \ /SET cast_status=BAND %; \ /SEND @use make bandage ;;;;;;;;; Pathfinding ; If no argument to path, sends path for 'path' exits in mud and ; clears cast_status flag /DEF -ag -h"send {path}*" skl_pathfinding = \ /SET cast_status=PATH %; \ /IF /TEST $[%{-1} !~ ""] %; \ /THEN /SEND @use pathfinding at %{-1}%{delim}@party report Pathfinding --> %{-1} %; \ /ELSE /SEND path %; \ /SET cast_status= %; \ /ENDIF ;;;;;;;;; Scouting /DEF -ag -h"send {scout}" skl_scouting = \ /SET cast_status=SCOUT %; \ /SEND @use scouting ;;;;;;;;; Ship scouting /DEF -ag -h"send {sscout}*" skl_ship_scouting = \ /SET cast_status=SH SC %; \ /IF /TEST $[%{-1} !~ ""] %; \ /THEN /SEND @use ship scouting at %{-1} /ELSE /ECHO This skill requires a target ship %; \ /SET cast_status= %; \ /ENDIF ;;;;;;;;; Tinning /DEF -ag -h"send {tin}*" skl_tinning = \ /SET cast_status=TIN %; \ /SEND @use tinning at corpse %{-1} ;;;;;;;;; Track /DEF -ag -h"send {track}*" skl_track = \ /SET cast_status=TRACK %; \ /IF /TEST $[%{-1} !~ ""] %; \ /THEN /SEND @use track at %{-1} %; \ /ELSE /SEND @use track %; \ /ENDIF ;;;;;;;;; Wipe tracks /DEF -ag -h"send {wipe}" skl_wipe_tracks = \ /SET cast_status=WIPE %; \ /SEND @use wipe tracks ;;;;;;;;; Woodland stealth /DEF -ag -h"send {stealth}" skl_woodland_stealth = \ /SET cast_status=STEALTH %; \ /SEND @use woodland stealth /DEF -t"You are now using woodlands stealth." woodland_stealth_on = \ /DEF -t"You know for a fact that you are actually stealthy." stealth1 = \ /SEND @party report Definately stealthy %; \ /SEND @party report Woodland Stealth ON ;; Informational /DEF -F -aBCcyan -t"Your mastery of camping allows you to sleep extra soundly." camp_master_lite = /DEF -F -aBCcyan -t"...BUT your great mastery of camping allows you to sleep anyways." indoor_camping3_lite = /DEF -F -aBCgreen -t"Your camping boon helps you power nap." power_camp_lite = /DEF -F -aBCgreen -t"You pull off a fast camp." fast_camp_lite = /DEF -F -aBCcyan -t"You carefully bank the fire so it won't get rained out." bank_fire_lite = /DEF -F -aBCyellow -t"You use extra special techniques to enhance the fire's warmth." fire_mastery_lite = ;; Ranger Quest info /DEF -F -aBCgreen -t"Warm newbies quest:*down,*to go." warm_newbies_status = /DEF -F -aBCgreen -t"Congratulations! You have just completed*" quest_complete = ;; Communication /DEF -F -p9 -P0Cyellow -t"[[{<(]ranger[]}>)]" ranger_lite =