Part of: Thex Tutorial & Demo Systems
DEMO: Thex Hunger and Thirsthttp://dl.dropbox.com/u/5536575/Hunger & Thirst.exe
What is this?
Excerpt from the Intro Event comments:
Spoiler
" Welcome to the Hunger & Thirst bar!
This is between beginner and intermediate.
There are a couple script calls, but don't be intimidated by them.
This uses custom formula on items and 1 common event to get the
job done.
I'll explain the custom formula here:
v[1] += 1;0
All it does is increase variable 1 by 1. Then it returns 0 for the
amount to heal. If you want healing properties on the item, just
change that 0 to the amount you want to heal.
Make sure you point the common event call to an empty common
event. The common event allows eating when HP is full.
Bar credits go to:
Ails on Deviant-Art"
This is between beginner and intermediate.
There are a couple script calls, but don't be intimidated by them.
This uses custom formula on items and 1 common event to get the
job done.
I'll explain the custom formula here:
v[1] += 1;0
All it does is increase variable 1 by 1. Then it returns 0 for the
amount to heal. If you want healing properties on the item, just
change that 0 to the amount you want to heal.
Make sure you point the common event call to an empty common
event. The common event allows eating when HP is full.
Bar credits go to:
Ails on Deviant-Art"
There's no penalty for going hungry or thirsty at the moment. I felt that was up to the creator to decide. If you want to put a penalty in, just open the 1st common event and find the spot allocated for hunger and thirst penalties.
This is also a great tutorial for learning modulo, as I use it to avoid having to reset the counter, and explain it inside the comments.
