health = health + 3
energy = energy + 2

if (hunger >=0 and hunger <= 33) health = health -2 endif
if (hunger >=0 and hunger <= 33) energy = energy -0.7 endif

# bounds checking
if (health > 100) 
  health = 100
endif