mirror of
https://github.com/evilew/GS13-Citadel.git
synced 2026-08-22 04:38:00 +01:00
updates fat damage
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user