mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-25 14:06:15 +01:00
still easy, but not as much as I had expected.
This commit is contained in:
@@ -43,6 +43,8 @@
|
||||
//citadel code
|
||||
if(AROUSAL)
|
||||
adjustArousalLoss(damage * hit_percent)
|
||||
if(FAT)
|
||||
applyFatnessDamage(damage * hit_percent)
|
||||
return TRUE
|
||||
|
||||
|
||||
@@ -121,10 +123,9 @@
|
||||
|
||||
|
||||
/mob/living/carbon/applyFatnessDamage(amount)
|
||||
if(!check_weight_prefs(FATTENING_TYPE_WEAPON)) //Typically, this kind of damage would be applied to people through weapons.
|
||||
return FALSE
|
||||
|
||||
adjust_fatness((amount * FAT_DAMAGE_TO_FATNESS), FATTENING_TYPE_WEAPON)
|
||||
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
|
||||
|
||||
|
||||
/** adjustOrganLoss
|
||||
|
||||
@@ -2461,6 +2461,8 @@ GLOBAL_LIST_EMPTY(roundstart_races)
|
||||
H.adjustOrganLoss(ORGAN_SLOT_BRAIN, damage * hit_percent * H.physiology.brain_mod)
|
||||
if(AROUSAL) //Citadel edit - arousal
|
||||
H.adjustArousalLoss(damage * hit_percent)
|
||||
if(FAT)
|
||||
H.applyFatnessDamage(damage * hit_percent)
|
||||
return 1
|
||||
|
||||
/datum/species/proc/on_hit(obj/item/projectile/P, mob/living/carbon/human/H)
|
||||
|
||||
Reference in New Issue
Block a user