Advertisement
hhaos

Untitled

May 16th, 2023
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. function hh.shruglife()
  2.  
  3. local affs = gmcp.Char.Afflictions.List
  4. --below is a list of all tree cured afflictions except weariness(shrugging blocker)
  5.  
  6. local treeables = {
  7. "itching",
  8. "paralysis",
  9. "fear",
  10. "brokenrightarm",
  11. "brokenleftarm",
  12. "brokenrightleg",
  13. "brokenleftleg",
  14. "lapsingconsciousness",
  15. "aeon",
  16. "lovers",
  17. "confusion",
  18. "epilepsy",
  19. "pacified",
  20. "blackout",
  21. "dazed",
  22. "justice",
  23. "slashedthroat",
  24. "hellsight",
  25. "peace",
  26. "dazzled",
  27. "shyness",
  28. "dizziness",
  29. "slickness",
  30. "asthma",
  31. "nausea",
  32. "selarnia",
  33. "scytherus",
  34. "haemophilia",
  35. "clumsiness",
  36. "hallucinations",
  37. "healthleech",
  38. "dementia",
  39. "recklessness",
  40. "anorexia",
  41. "masochism",
  42. "impatience",
  43. "stupidity",
  44. "generosity",
  45. "addiction",
  46. "deadening",
  47. "manaleech",
  48. "stuttering",
  49. "paranoia",
  50. "agoraphobia",
  51. "loneliness",
  52. "claustrophobia",
  53. "vertigo",
  54. "hypersomnia",
  55. "shivering",
  56. "frozen",
  57. "burning",
  58. "sensitivity",
  59. "hypochondria",
  60. "lethargy",
  61. "disloyalty",
  62. "darkshade",
  63. "voyria",
  64. "dissonance",
  65. "phlogisticated",
  66. "silver",
  67. "airdisrupt",
  68. "spiritburn",
  69. "tenderskin",
  70. "waterdisrupt",
  71. "guilt",
  72. "skullfractures",
  73. "wristfractures",
  74. "crackedribs",
  75. "torntendons",
  76. "indifference",
  77. "retribution",
  78. "shadowmadness",
  79. "parasite",
  80. "depression",
  81. "timeloop",
  82. "crushedthroat",
  83. "tension",
  84. "unweavingspirit",
  85. "grievouswounds",
  86. "pyramides",
  87. "flushings",
  88. "rebbies",
  89. "mycalium",
  90. "sandfever" }
  91. local shrug_life = false
  92.  
  93. local count = 0
  94.  
  95. for _,aff in pairs(treeables) do
  96. if table.contains(affs, aff) then
  97. count = count + 1
  98. end
  99. end
  100.  
  101. if count >= 3 and hh.shrugging_bal then
  102. shrug_life = true
  103.  
  104. echo(count)
  105. echo(shrug_life)
  106. end
  107. return shrug_life
  108. end
  109. --hh.snek.prepender = "shrugging" and hh.shruglife() or ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement