Skip to content
SlintVox edited this page Apr 5, 2019 · 10 revisions

About


Thirst

Part 1: Thirst bar goes down over time, and user is able to drink water to fill bar.

  1. Check thirst bar using getThirstLevel. Keep track of the number given.
  2. Wait a few seconds for the blue bar to go down.
  3. Check thirst bar again using getThirstLevel.
    Verify: The number given is lower than the number previously given.
  4. Spawn cup using give WoodenCup.
  5. Find body of water or spawn water using give Core:water and place water into a hole.
  6. Right click on body of water with the cup to fill it. Right click again to drink water.
    Verify: Drinking water fills blue bar.

Part 2: Character looses health over time when thirsty.

  1. If necessary set hunger bar and health bar to max using hungerSet 100 and HealthMax
  2. Set regen rate to 0 using setRegenRate 0.
  3. Set thirst bar to 0 using thirstSet 0.
  4. Speed up time using setTimeDilation 10.
    Verify: Character slowly looses heart containers
  5. Set time back to normal using setTimeDilation 10.
  6. View health using showHeath
    Verify: Number is less than 100.

Part 3: Character can die of thirst.

  1. If necessary set hunger bar and health bar to max using hungerSet 100 and HealthMax
  2. Take critical damage using setMaxHealth 90
  3. Set thirst bar to 0 using thirstSet 0.
  4. Speed up time using setTimeDilation 10.
    Verify: Character dies due to thirst.

Hunger

Part 1: hunger bar goes down over time, and user is able to eat food to fill bar.

Part 2: Character looses health over time when hunger bar is 0.

Part 3: Character can eventually die when hunger bar is 0.

Clone this wiki locally