Stops the Amohdan blade using the materials overlay & renaming feature, makes it unbreakable (#13404)

This commit is contained in:
Jaraci
2022-04-13 17:35:03 +02:00
committed by GitHub
parent 1873287398
commit 23656d2313
4 changed files with 20 additions and 3 deletions
@@ -14,13 +14,13 @@
var/use_material_name = TRUE // Does the finished item put the material name in front of it?
var/use_material_sound = TRUE
var/use_material_shatter = TRUE // If it has a custom shatter message.
var/applies_material_colour = 1
var/applies_material_colour = TRUE
var/unbreakable
var/force_divisor = 0.5
var/thrown_force_divisor = 0.5
var/default_material = DEFAULT_WALL_MATERIAL
var/material/material
var/drops_debris = 1
var/drops_debris = TRUE
/obj/item/material/Initialize(var/newloc, var/material_key)
. = ..()
@@ -16,7 +16,7 @@
attack_verb = list("stabbed", "slashed", "sliced", "cut")
default_material = "glass"
unbreakable = 1 //It's already broken.
drops_debris = 0
drops_debris = FALSE
drop_sound = 'sound/effects/glass_step.ogg'
/obj/item/material/shard/set_material(var/new_material)
@@ -143,6 +143,10 @@
icon_state = "amohdan_sword"
item_state = "amohdan_sword"
slot_flags = SLOT_BELT
use_material_name = FALSE
applies_material_colour = FALSE
unbreakable = TRUE //amohdan steel is the finest in the spur
// improvised sword
/obj/item/material/sword/improvised_sword