Vomiting Overhaul (#365)

Centralises vomiting code to remove duplication and standardise effects.
Makes vomiting empty your stomach a bit (30u, the capacity of a drink
glass)
Adds Ipecac, an emetic to cause vomiting
This commit is contained in:
NanakoAC
2016-06-20 15:49:44 +03:00
committed by skull132
parent 2179fd46ba
commit 4e61099040
9 changed files with 104 additions and 33 deletions
+1 -1
View File
@@ -112,7 +112,7 @@
owner << "\red Your skin itches."
if (germ_level > INFECTION_LEVEL_TWO)
if(prob(1))
spawn owner.vomit()
spawn owner.delayed_vomit()
if(owner.life_tick % PROCESS_ACCURACY == 0)