updates fat damage

This commit is contained in:
Metis
2025-02-16 17:02:41 -05:00
parent e8e0068531
commit a59ed8afc8
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -274,6 +274,10 @@ GLOBAL_LIST_INIT(uncapped_resize_areas, list(/area/command/bridge, /area/mainten
return needed_fatness
/mob/living/carbon/proc/applyFatnessDamage(amount)
if(!client?.prefs?.weight_gain_weapons) // If we can't fatten them through weapons, apply stamina damage
adjustStaminaLoss(amount)
return TRUE
var/fat_to_add = ((amount * CONFIG_GET(number/damage_multiplier)) * FAT_DAMAGE_TO_FATNESS)
adjust_fatness(fat_to_add, FATTENING_TYPE_WEAPON)
return fat_to_add
+2 -2
View File
@@ -279,5 +279,5 @@
#define FAT "fat"
#define PERMA_FAT "perma_fat"
/// What is the rate that one damage is converted to fatness?
#define FAT_DAMAGE_TO_FATNESS 4
#define PERMA_FAT_DAMAGE_TO_FATNESS 4
#define FAT_DAMAGE_TO_FATNESS 8
#define PERMA_FAT_DAMAGE_TO_FATNESS 8