mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-08 16:31:55 +00:00
Give me the peac gun (#12295)
This commit is contained in:
@@ -307,4 +307,10 @@
|
||||
for(var/obj/item/protection in list(head, wear_mask, glasses))
|
||||
if(protection.protects_eyestab(stab_item, stabbed))
|
||||
return TRUE
|
||||
return FALSE
|
||||
return FALSE
|
||||
|
||||
/mob/living/carbon/human/is_anti_materiel_vulnerable()
|
||||
if(isSynthetic())
|
||||
return TRUE
|
||||
else
|
||||
return FALSE
|
||||
@@ -1021,4 +1021,7 @@ default behaviour is:
|
||||
set_death_time(CREW, world.time)
|
||||
//Used by simple animals and monkey species for renaming. M is the one doing the renaming
|
||||
/mob/living/proc/can_name(var/mob/living/M)
|
||||
return FALSE
|
||||
|
||||
/mob/living/proc/is_anti_materiel_vulnerable()
|
||||
return FALSE
|
||||
@@ -40,6 +40,8 @@
|
||||
//Armor
|
||||
var/damage = P.damage
|
||||
var/flags = P.damage_flags()
|
||||
if(is_anti_materiel_vulnerable())
|
||||
damage = P.damage * P.anti_materiel_potential
|
||||
var/damaged
|
||||
if(!P.nodamage)
|
||||
damaged = apply_damage(damage, P.damage_type, def_zone, damage_flags = P.damage_flags(), used_weapon = P, armor_pen = P.armor_penetration)
|
||||
|
||||
@@ -930,6 +930,12 @@
|
||||
/mob/living/simple_animal/set_respawn_time()
|
||||
set_death_time(ANIMAL, world.time)
|
||||
|
||||
/mob/living/simple_animal/is_anti_materiel_vulnerable()
|
||||
if(isSynthetic())
|
||||
return TRUE
|
||||
else
|
||||
return FALSE
|
||||
|
||||
#undef BLOOD_NONE
|
||||
#undef BLOOD_LIGHT
|
||||
#undef BLOOD_MEDIUM
|
||||
|
||||
Reference in New Issue
Block a user