mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 07:59:01 +01:00
Adds in Ned Kelly armor (again) (#4330)
Exactly like the last PR regarding this shit, but this time it isn't broken after path changes and failed rebases.
This commit is contained in:
@@ -130,4 +130,24 @@ Protectiveness | Armor %
|
||||
contained_sprite = 1
|
||||
|
||||
/obj/item/clothing/head/helmet/material/makeshift/plasteel
|
||||
default_material = "plasteel"
|
||||
default_material = "plasteel"
|
||||
|
||||
/obj/item/clothing/suit/armor/material/makeshift/trenchcoat
|
||||
name = "armored trenchcoat"
|
||||
desc = "A trenchcoat that has had some armor plating hastily attached to it."
|
||||
applies_material_color = FALSE
|
||||
pocket_slots = 2
|
||||
icon_state = "material_kelly"
|
||||
item_state = "material_kelly"
|
||||
|
||||
/obj/item/clothing/suit/armor/material/makeshift/attackby(var/obj/O, mob/user)
|
||||
if(istype(O, /obj/item/clothing/suit/storage/toggle/trench))
|
||||
var/obj/item/clothing/suit/storage/toggle/trench/kelly = O
|
||||
user.drop_from_inventory(src)
|
||||
user.drop_from_inventory(kelly)
|
||||
var/obj/item/clothing/suit/armor/material/makeshift/trenchcoat/new_armor = new(null, src.material.name)
|
||||
user.put_in_hands(new_armor)
|
||||
qdel(src)
|
||||
qdel(kelly)
|
||||
else
|
||||
..()
|
||||
Reference in New Issue
Block a user