Dog maintenance

This helps maintain your doggie for ZMud. Simply put your dog's name where it says *YOUR DOG*. If your dog is hungry you will drop a corpse and feed hit. When combat ends, if it is unhappy you will pet/play with it. If you are flapping and it whines you will tend accordingly. Added a couple gags to reduce spam. Also if your dog gets hit, you will have a warning and attempt to heel your dog. Must have dog monitor on.

#CLASS {dog}
#TRIGGER {} {}
#TRIGGER {*YOUR DOG* ~:~: HP~: &{DOGhp}~/&{DOGmhp} Happy~: &{DOGhap}~% Hungry~: &{DOGhun}~% Level~: &{DOGlev}~/&{DOGper}~%} {#if (@DOGhun>50) {drop corpse;dog feed};#if (@DOGhp<@DOGmhp) {#echo DOG is getting hit!;#echo DOG is getting hit!;#echo DOG is getting hit!;#echo DOG is getting hit!;#echo Heeling Dog;dog heel}}
#TRIGGER {dealt the killling blow} {#if (DOGhap < 50) {dog pet;#wait 2500;dog play}}
#TRIGGER {*YOUR DOG* sniffs at something on the ground.} {#gag}
#TRIGGER {Your dog looks very hungry.} {drop corpse;dog feed}
#TRIGGER {*YOUR DOG* thought he saw a squirrel, but it wasn't.} {#gag}
#TRIGGER {Your dog looks sad.} {dog pet;#wait 2500;dog play}
#CLASS 0

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License