Guest User

Untitled

a guest
May 4th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.27 KB | None | 0 0
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <cmud>
  3. <module name="ATCP" global="true" copy="yes">
  4. <uid>{79090C1D-3FF7-47CD-91E9-F567EDAABF8A}</uid>
  5. <trigger name="ATCP Char Vitals" param="200" priority="10" regex="true" newline="false" copy="yes">
  6. <pattern>^Char\.Vitals\12H:(\d+)/(\d+) M:(\d+)/(\d+) E:(\d+)/(\d+) W:(\d+)/(\d+) NL:(\d+)/100</pattern>
  7. <value>#var health {%1}
  8. #var max_health {%2}
  9. #var mana {%3}
  10. #var max_mana {%4}
  11. #var endurance {%5}
  12. #var max_endurance {%6}
  13. #var willpower {%7}
  14. #var max_willpower {%8}
  15. #var next_level {%9}
  16.  
  17. #raiseevent onVitals</value>
  18. </trigger>
  19. <trigger name="ATCP Room Name" param="200" priority="140" regex="true" newline="false" copy="yes">
  20. <pattern>Room.Brief (.*)</pattern>
  21. <value>#tag name %1
  22. #var room_name %1</value>
  23. </trigger>
  24. <trigger name="ATCP Room Exits" param="200" priority="180" regex="true" newline="false" copy="yes">
  25. <pattern>Room.Exits (.*)</pattern>
  26. <value>#tag exit %1
  27. #var room_exits %1</value>
  28. </trigger>
  29. <class name="ATCP Variables" copy="yes">
  30. <var name="health" type="String" copy="yes">4408</var>
  31. <var name="endurance" type="String" copy="yes">20940</var>
  32. <var name="mana" type="String" copy="yes">2267</var>
  33. <var name="willpower" type="String" copy="yes">12645</var>
  34. <var name="max_endurance" type="String" copy="yes">20940</var>
  35. <var name="max_mana" type="String" copy="yes">2267</var>
  36. <var name="max_willpower" type="String" copy="yes">12645</var>
  37. <var name="max_health" type="String" copy="yes">4408</var>
  38. <var name="room_name" copy="yes">The spectator enclosure</var>
  39. <var name="room_exits" copy="yes">ne</var>
  40. <var name="next_level" type="String" copy="yes">81</var>
  41. </class>
  42. <class name="Gauges" copy="yes">
  43. <button name="HP Guage" type="Gauge" autosize="false" width="120" height="20" toolbar="2" image="HEART" transparent="false" color="#FF8000" textcolor="white" gaugelowcol="red" priority="100" copy="yes">
  44. <caption>Hp @health/@max_health</caption>
  45. <expr>@health</expr>
  46. <gaugemax>@max_health</gaugemax>
  47. <gaugelow>@max_health/4</gaugelow>
  48. <tooltip>@health/@max_health</tooltip>
  49. </button>
  50. <button name="Mana Guage" type="Gauge" autosize="false" width="120" height="20" toolbar="2" image="BOLT" transparent="false" color="#004080" textcolor="white" gaugelowcol="red" priority="110" copy="yes">
  51. <caption>Ma @mana/@max_mana</caption>
  52. <expr>@mana</expr>
  53. <gaugemax>@max_mana</gaugemax>
  54. <gaugelow>@max_mana/4</gaugelow>
  55. <tooltip>@mana/@max_mana</tooltip>
  56. </button>
  57. <button name="Endurance Guage" type="Gauge" autosize="false" width="120" height="20" toolbar="2" image="CHAR" transparent="false" color="#CC47F8" textcolor="white" gaugelowcol="red" priority="120" copy="yes">
  58. <caption>En @endurance/@max_endurance</caption>
  59. <expr>@endurance</expr>
  60. <gaugemax>@max_endurance</gaugemax>
  61. <gaugelow>@max_endurance/4</gaugelow>
  62. <tooltip>@endurance/@max_endurance</tooltip>
  63. </button>
  64. <button name="Willpower Gauge" type="Gauge" autosize="false" width="120" height="20" toolbar="2" image="BULBON" transparent="false" color="#008040" textcolor="white" gaugelowcol="red" priority="130" copy="yes">
  65. <caption>Wi @willpower/@max_willpower</caption>
  66. <expr>@willpower</expr>
  67. <gaugemax>@max_willpower</gaugemax>
  68. <gaugelow>@max_willpower/4</gaugelow>
  69. <tooltip>@willpower/@max_willpower</tooltip>
  70. </button>
  71. <button name="XP Gauge" type="Gauge" autosize="false" width="120" height="20" toolbar="2" image="ARROW1R" transparent="false" color="#C82311" textcolor="white" priority="140" copy="yes">
  72. <caption>Exp @next_level%</caption>
  73. <expr>@next_level</expr>
  74. <gaugemax>100</gaugemax>
  75. <tooltip>@next_level%</tooltip>
  76. </button>
  77. </class>
  78. <class name="Mapper Helper Triggers" enabled="false" copy="yes">
  79. <trigger priority="200" regex="true" copy="yes">
  80. <pattern>^There is no exit in that direction.$</pattern>
  81. <value>#nodir
  82. #nomap</value>
  83. </trigger>
  84. <trigger priority="210" regex="true" copy="yes">
  85. <pattern>^There is a door in the way,(.*)$</pattern>
  86. <value>#nodir
  87. #nomap</value>
  88. </trigger>
  89. </class>
  90. </module>
  91. </cmud>
Advertisement
Add Comment
Please, Sign In to add comment