[MIRROR] [READY]Hostile mobs can attack assemblies (#5821)
* [READY]Hostile mobs can attack assemblies (#36157) * new fenotype * attack * Update items.dm * Update assemblies.dm * Update assemblies.dm * Update items.dm * [READY]Hostile mobs can attack assemblies
This commit is contained in:
committed by
Poojawa
parent
c72201e605
commit
848b12db64
@@ -674,6 +674,8 @@ GLOBAL_VAR_INIT(rpg_loot_items, FALSE)
|
||||
return 0
|
||||
|
||||
/obj/item/attack_animal(mob/living/simple_animal/M)
|
||||
if (obj_flags & CAN_BE_HIT)
|
||||
return ..()
|
||||
return 0
|
||||
|
||||
/obj/item/mech_melee_attack(obj/mecha/M)
|
||||
@@ -820,4 +822,4 @@ GLOBAL_VAR_INIT(rpg_loot_items, FALSE)
|
||||
|
||||
// Returns a numeric value for sorting items used as parts in machines, so they can be replaced by the rped
|
||||
/obj/item/proc/get_part_rating()
|
||||
return 0
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user