Make every obj/.../New() call it's parents

This commit is contained in:
joep van der velden
2020-01-29 10:43:32 +01:00
parent 076ef673cd
commit fd913498bf
39 changed files with 77 additions and 32 deletions
@@ -415,9 +415,11 @@
var/active = 0
/obj/item/holo/esword/green/New()
..()
item_color = "green"
/obj/item/holo/esword/red/New()
..()
item_color = "red"
/obj/item/holo/esword/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK)
@@ -426,6 +428,7 @@
return 0
/obj/item/holo/esword/New()
..()
item_color = pick("red","blue","green","purple")
/obj/item/holo/esword/attack_self(mob/living/user as mob)