mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-25 05:56:27 +01:00
Voracious Trait fullness
Voracious trait now also modifies fullness added values to make the eater able to eat/drink twice as much. Also makes fullness decay twice as fast
This commit is contained in:
@@ -53,7 +53,10 @@
|
||||
checkLiked(fraction, M)
|
||||
reagents.reaction(M, INGEST, fraction)
|
||||
reagents.trans_to(M, gulp_size)
|
||||
M.fullness += min(gulp_size, reagents.total_volume) // GS13 drinks will fill your stomach
|
||||
if(HAS_TRAIT(M, TRAIT_VORACIOUS))
|
||||
M.fullness += min(gulp_size * 0.67, reagents.total_volume * 0.67)
|
||||
else
|
||||
M.fullness += min(gulp_size, reagents.total_volume) // GS13 drinks will fill your stomach
|
||||
playsound(M.loc,'sound/items/drink.ogg', rand(10,50), 1)
|
||||
return 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user