Demolition mod is inverted vs "soft" structures like spider webs (#90464)

This commit is contained in:
MrMelbert
2025-04-13 11:08:17 +02:00
committed by GitHub
parent 5b57d1ad82
commit af0d361465
12 changed files with 39 additions and 12 deletions
+1
View File
@@ -11,6 +11,7 @@
/obj/structure/spider/Initialize(mapload)
. = ..()
AddElement(/datum/element/atmos_sensitive, mapload)
ADD_TRAIT(src, TRAIT_INVERTED_DEMOLITION, INNATE_TRAIT)
/obj/structure/spider/play_attack_sound(damage_amount, damage_type = BRUTE, damage_flag = 0)
if(damage_type == BURN)//the stickiness of the web mutes all attack sounds except fire damage type