A body made in code
#5
(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.  Laughing + Tongue sticking out

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
Reply }


Messages In This Thread
A body made in code - by BeJeremiah - 06-04-2015, 05:40 AM
RE: A body made in code - by thephantom - 06-04-2015, 05:48 AM
RE: A body made in code - by BeJeremiah - 06-04-2015, 05:56 AM
RE: A body made in code - by DerVVulfman - 06-04-2015, 06:02 AM
RE: A body made in code - by BeJeremiah - 06-04-2015, 06:10 AM
RE: A body made in code - by BeJeremiah - 06-04-2015, 06:26 AM
RE: A body made in code - by MechanicalPen - 06-05-2015, 12:02 AM
RE: A body made in code - by BeJeremiah - 06-05-2015, 02:08 AM
RE: A body made in code - by MechanicalPen - 06-05-2015, 05:32 PM
RE: A body made in code - by BeJeremiah - 06-06-2015, 01:17 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Indy made "RM"-like programs? Kain Nobel 15 23,418 03-16-2012, 04:27 PM
Last Post: Legacy



Users browsing this thread: 3 Guest(s)