TinTin++ setup for Aardwolf MUD
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
2.3 KiB

  1. #ALIAS {||gmcp_prompt_statmon}
  2. {
  3. #variable tier {$GMCP[CHAR][BASE][tier]};
  4. #math {tier_level} {$tier*10 + $current_level};
  5. #variable str {$GMCP[CHAR][STATS][str]};
  6. #variable base_str {$GMCP[CHAR][MAXSTATS][maxstr]};
  7. #variable int {$GMCP[CHAR][STATS][int]};
  8. #variable base_int {$GMCP[CHAR][MAXSTATS][maxint]};
  9. #variable wis {$GMCP[CHAR][STATS][wis]};
  10. #variable base_wis {$GMCP[CHAR][MAXSTATS][maxwis]};
  11. #variable dex {$GMCP[CHAR][STATS][dex]};
  12. #variable base_dex {$GMCP[CHAR][MAXSTATS][maxdex]};
  13. #variable con {$GMCP[CHAR][STATS][con]};
  14. #variable base_con {$GMCP[CHAR][MAXSTATS][maxcon]};
  15. #variable luck {$GMCP[CHAR][STATS][luck]};
  16. #variable base_luck {$GMCP[CHAR][MAXSTATS][maxluck]};
  17. #math hp_percent {((1.00*$GMCP[CHAR][VITALS][hp]) / $GMCP[CHAR][MAXSTATS][maxhp])*100};
  18. #math mana_percent {((1.00*$GMCP[CHAR][VITALS][mana])/$GMCP[CHAR][MAXSTATS][maxmana])*100};
  19. #math moves_percent {((1.00*$GMCP[CHAR][VITALS][moves])/$GMCP[CHAR][MAXSTATS][maxmoves])*100};
  20. #variable hr {$GMCP[CHAR][STATS][hr]};
  21. #variable dr {$GMCP[CHAR][STATS][dr]};
  22. #variable position {$GMCP[CHAR][STATUS][pos]};
  23. #variable hp {$GMCP[CHAR][VITALS][hp]};
  24. #variable maxhp {$GMCP[CHAR][MAXSTATS][maxhp]};
  25. #variable mana {$GMCP[CHAR][VITALS][mana]};
  26. #variable maxmana {$GMCP[CHAR][MAxSTATS][maxmana]};
  27. #variable moves {$GMCP[CHAR][VITALS][moves]};
  28. #variable maxmoves {$GMCP[CHAR][MAXSTATS][maxmoves]};
  29. #variable gold {$GMCP[CHAR][WORTH][gold]};
  30. #variable qp {$GMCP[CHAR][WORTH][qp]};
  31. #variable tp {$GMCP[CHAR][WORTH][tp]};
  32. #variable align {$GMCP[CHAR][STATUS][align]};
  33. #variable tnl {$GMCP[CHAR][STATUS][tnl]};
  34. #variable current_level {$GMCP[CHAR][STATUS][level]};
  35. #variable pos_number {$GMCP[CHAR][STATUS][state]};
  36. #variable mob_fighting {$GMCP[CHAR][STATUS][enemy]};
  37. #variable enemy_hp {$GMCP[CHAR][STATUS][enemypct]};
  38. #variable hunger {$GMCP[CHAR][STATUS][hunger]};
  39. #variable thirst {$GMCP[CHAR][STATUS][thirst]};
  40. #format {movecolor} {%c} {light yellow};
  41. #if {$hp_percent == 0.00}
  42. {
  43. protocol gmcp sendchar
  44. };
  45. #variable {prompt} {<120>$hp_percent HP <150>| <140>$mana_percent MANA <150>| $movecolor$moves_percent MV};
  46. #if {$pos_number == 8}
  47. {
  48. #variable fighting y;
  49. #variable {prompt} {$prompt <150>| <110>Enemy $enemy_hp}
  50. };
  51. #else
  52. {
  53. #variable fighting n
  54. };
  55. #variable {prompt} {$prompt<099>};
  56. #showme {$prompt} {2}
  57. }
  58. {5}