-
Notifications
You must be signed in to change notification settings - Fork 10
Hunger & Thirst
SlintVox edited this page Apr 10, 2019
·
10 revisions
JoshariasSurvival has a hunger and thirst feature. This can be tracked by the hunger bar (orange bar) and thirst bar (blue bar) above the health bar. This test plan is to specifically test hunger and thirst.
- Check thirst bar using
thirstCheck
. Keep track of the number given. - Wait a few seconds for the blue bar to go down.
- Check thirst bar again using
thirstCheck
.
Verify: The current thirst value given is lower than the thirst value previously given. - Spawn cup using
give WoodenCup
. - Find body of water or spawn water using
give Core:water
and place water into a hole. - Right click on body of water with the cup to fill it. Right click again to drink
water.
Verify: Drinking water fills thirst bar. - Check thirst Gin using thirstCheck`.
Verify: Current thirst value is greater than previous value.
-
If necessary set hunger bar and health bar to max using
hungerSet 100
andHealthMax
- Set regen rate to 0 using
setRegenRate 0
. - Set thirst bar to 0 using
thirstSet 0
. - Speed up time using
setTimeDilation 10
.
Verify: Character slowly looses heart containers - Set time back to normal using
setTimeDilation 10
. - View health using
showHealth
Verify: Number is less than 100.
-
If necessary set hunger bar and health bar to max using
hungerSet 100
andHealthMax
- Take critical damage using
damage 90
- Set thirst bar to 0 using
thirstSet 0
. - Speed up time using
setTimeDilation 10
.
Verify: Character dies due to thirst.
- Check Hunger bar using
hungerCheck
. Keep track of the number given. - Wait a few seconds for the hunger bar to go down.
- Check hunger bar again using
hungerCheck
.
Verify: The hunger value given is lower than the hunger value previously given. - Spawn food using
give grape
. - Equip grape and hold right click to eat.
Verify: Eating grape fills hunger bar. - Check Hunger bar using
hungerCheck
.
Verify: Current hunger value is greater than previous value.
-
If necessary set thirst bar and health bar to max using
thirstSet 100
andHealthMax
- Set regen rate to 0 using
setRegenRate 0
. - Set thirst bar to 0 using
HungerSet 0
. - Speed up time using
setTimeDilation 10
.
Verify: Character slowly looses heart containers - Set time back to normal using
setTimeDilation 10
. - View health using
showHealth
Verify: Number is less than 100.
-
If necessary set thirst bar and health bar to max using
thirstSet 100
andHealthMax
- Take critical damage using
damage 90
- Set hunger bar to 0 using
hungerSet 0
. - Speed up time using
setTimeDilation 10
.
Verify: Character dies due to hunger.