06-04-2015, 06:10 AM
(06-04-2015, 06:02 AM)DerVVulfman Wrote: So what you're considering is an enhanced version of the hunger/thirst/sleep system. Insofar as foods, you could go and make different foods give different results (meat vs fruits vs starches..... vs beer). And you would likely need a stamina/drain system so you can get fatigued. You can have different stats that can make the player weak besides that, such as blood loss.
And here I was thinking you were revisiting the old 80's movie, Weird Science.
Actually you are not far off. beer would offer ethanol, based on my conversion that's 7 energy. Fats like non-lean burgers and pork skins (my blood pressure screaming) would offer about 9.
Code:
# ===============================================
# Digestive System
# --------------------------
# Energy - Base power source of ALL actions include walking
# Nutrients - Based on absorb rate vers toxics controls energy generation
# ===============================================
@energy = 1000
@digest_energy_expense = 0.10
@nutrients = []
@nutrient_absorb_rate = 8.7
@nutrient_toxics_rate = 3.2
@fats = 9 # fatty acids
@proteins = 4 # amino acids
@carbohydrates = 3.75 # Sugars
@ethanol = 7 # non essential acetic acids
Blood Loss is worked in there.
Code:
# ===============================================
# Circulatory System
# -------------------------
# Pace - Pace controls all task speeds
# Heart - Controls pace on bodily systems by quardrant
# Blood - Creates percentage of pace and stabilization
# Blood Flow - Percentage of task difficulty
# Blood Pressure - Strain and Energy consumption based on task diff perc
# ===============================================
@heart = [100.00, 100.00, 100.00, 100.00]
@heart_energy_expense = 0.07
@blood = 175.975 # 175 ml/ 5 L Max blood body contains
@blood_flow = 100.00
@blood_pressure = [50..90,75..140] #diastalic/Systalic