mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-30 03:53:33 +00:00
Merge pull request #71 from SkyMarshal/master
Removed obesity upon overeating
This commit is contained in:
@@ -361,11 +361,11 @@
|
||||
|
||||
if(reagents) reagents.metabolize(src)
|
||||
|
||||
if(src.nutrition > 500 && !(src.mutations & FAT))
|
||||
/* if(src.nutrition > 500 && !(src.mutations & FAT))
|
||||
if(prob(5 + round((src.nutrition - 200) / 2)))
|
||||
src << "\red You suddenly feel blubbery!"
|
||||
src.mutations |= FAT
|
||||
// update_body()
|
||||
// update_body() */
|
||||
if (src.nutrition < 100 && src.mutations & FAT)
|
||||
if(prob(round((50 - src.nutrition) / 100)))
|
||||
src << "\blue You feel fit again!"
|
||||
|
||||
@@ -288,11 +288,11 @@
|
||||
|
||||
if(reagents) reagents.metabolize(src)
|
||||
|
||||
if(nutrition > 500 && !(mutations & FAT))
|
||||
/* if(nutrition > 500 && !(mutations & FAT))
|
||||
if(prob(5 + round((nutrition - 200) / 2)))
|
||||
src << "\red You suddenly feel blubbery!"
|
||||
mutations |= FAT
|
||||
// update_body()
|
||||
// update_body() */
|
||||
if (nutrition < 100 && mutations & FAT)
|
||||
if(prob(round((50 - nutrition) / 100)))
|
||||
src << "\blue You feel fit again!"
|
||||
|
||||
@@ -610,10 +610,10 @@
|
||||
if(getOxyLoss())
|
||||
oxyloss--
|
||||
|
||||
if(overeatduration > 500 && !(mutations & FAT))
|
||||
/* if(overeatduration > 500 && !(mutations & FAT))
|
||||
src << "\red You suddenly feel blubbery!"
|
||||
mutations |= FAT
|
||||
update_body()
|
||||
update_body() */
|
||||
if (overeatduration < 100 && mutations & FAT)
|
||||
src << "\blue You feel fit again!"
|
||||
mutations &= ~FAT
|
||||
|
||||
Reference in New Issue
Block a user