• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • The Eevee Expo Game Jam has concluded! 🎉 Head on over to the game jam forum to play through the games.
    Don't forget to come back September 21st to vote for your favorites!
  • Reminder: AI-generated content is not allowed on the forums per the Rules and Regulations. Please contact us if you have any questions!
Resource icon

Resource Hunger and Saturation Script 1.0

Maurili

Not a scobunny
Member
Joined
Jan 23, 2018
Posts
56
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...
 
Maurili submitted a new resource:

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



Read more about this resource...
Does this work on v18?I have an amazing idea!How about if the character were very hungry, would end up in the Pokémon center?And penalize the coach for that?😮🤔Would you be able to make this script work that way?and most importantly, do a HUD that displays the character's health bar?it would be a new revolution in the RPG of Pokémon games!
 
i didnt update it for V18 should be easy trough
the blackout scene automatically teleports you to a pokemon center
i dunno how to make HUDS
 
i didnt update it for V18 should be easy trough
the blackout scene automatically teleports you to a pokemon center
i dunno how to make HUDS
If you make it work on v18, there may be some friends to work on the hud
 
A dice roll that decides whether the players hungry or thirsty?
If so, then it means that the dice roll could randomly add less hunger to the character, and the dice roll could then add more hunger to the character in another order. I'm just wondering if there isn't another way of doing that. Maybe by adding more hunger each time the player defeats a trainer or (x)trainer, x being the number of trainers the player has to defeat in order to be hungry?
 
A dice roll that decides whether the players hungry or thirsty?
If so, then it means that the dice roll could randomly add less hunger to the character, and the dice roll could then add more hunger to the character in another order. I'm just wondering if there isn't another way of doing that. Maybe by adding more hunger each time the player defeats a trainer or (x)trainer, x being the number of trainers the player has to defeat in order to be hungry?
Not exactly a dice roll it just does it
at random
like a 1/10 chance
Maybe by adding more hunger each time the player defeats a trainer or (x)trainer, x being the number of trainers the player has to defeat in order to be hungry?
you could takeout the beginning part of the script to use it that way
 
Not exactly a dice roll it just does it
at random
like a 1/10 chance
Maybe by adding more hunger each time the player defeats a trainer or (x)trainer, x being the number of trainers the player has to defeat in order to be hungry?
you could takeout the beginning part of the script to use it that way
Oh, so it works that way.

I'm new at scripting but I will try it out in another Vanilla Essentials, just in case if I do something wrong.
Thanks for answering me, and thanks for the advice.
 
Back
Top