Resource icon

Resource Hunger and Saturation Script

Maurili

Rookie
Member
Posts
2
#1
Maurili submitted a new resource:

Hunger and Saturation Script - Adds hunger to your game for those that want a survival aspect in your game

I wrote this script as part of a small project I had an idea of, it's a simple hunger system that includes Minecraft-styled saturation
#Health System
#Hunger
Events.onStepTakenTransferPossible+=proc {
if $game_switches[52] #hunger Switch if ON you need to survive
case $game_variables[31]
when 0
$game_variables[26] -= 1 if rand(10) == 0 #take from hunger like normal
else
$game_variables[31] -= 1 if rand(10) == 0 #take from saturation
# Starve Check
case...
Read more about this resource...
 
Top