Removes weapons

This commit is contained in:
atermonera
2022-04-17 19:14:32 -08:00
parent 101740a7d3
commit 7a9806d9b4
1491 changed files with 24603 additions and 24603 deletions
@@ -9,7 +9,7 @@
visible_message("\The [src] breaks apart!")
var/turf/newloc = get_turf(src)
new /obj/item/stack/material/steel(newloc, round(steel_sheet_cost/2))
for(var/obj/item/weapon/computer_hardware/H in get_all_components())
for(var/obj/item/computer_hardware/H in get_all_components())
uninstall_component(null, H)
H.forceMove(newloc)
if(prob(25))
@@ -26,7 +26,7 @@
damage = between(0, damage, max_damage)
if(component_probability)
for(var/obj/item/weapon/computer_hardware/H in get_all_components())
for(var/obj/item/computer_hardware/H in get_all_components())
if(prob(component_probability))
H.take_damage(round(amount / 2))