Fixing custom mech paint kits and adding the tiger's claw custom item (#673)

Alright, I will keep the bay system, since it seems to work better, and now exosuit sprites will go in custom objects. Also, fixing a missing item, and zubari spawning with two fancy jakckets, in the new config, which should replace the actual one:
This commit is contained in:
Alberyk
2016-08-06 02:42:25 +03:00
committed by skull132
parent 7bf44f8498
commit c7796455bc
4 changed files with 28 additions and 1 deletions
+27
View File
@@ -325,3 +325,30 @@
return
..()
/obj/item/weapons/fluff/moon_baton //Tiger Claw - Zander Moon - omnivac - DONE
name = "tiger claw"
desc = "A small energy dagger given to Golden Tigers."
icon = 'icons/obj/custom_items/moon_baton.dmi'
icon_state = "tigerclaw"
slot_flags = SLOT_BELT
force = 2
w_class = 2
contained_sprite = 1
var/active = 0
/obj/item/weapons/fluff/moon_baton/attack_self(mob/user)
active= !active
if(active)
playsound(user, 'sound/weapons/saberon.ogg', 50, 1)
user << "\blue \The [src] is now energised."
icon_state = "tigerclaw_active"
slot_flags = null
attack_verb = list("attacked", "slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut")
else
playsound(user, 'sound/weapons/saberoff.ogg', 50, 1)
user << "\blue \The [src] is de-energised."
icon_state = initial(icon_state)
slot_flags = initial(slot_flags)
attack_verb = list()
+1 -1
View File
@@ -80,7 +80,7 @@
var/obj/item/device/kit/suit/kit = item
kit.new_light_overlay = additional_data
kit.new_mob_icon_file = CUSTOM_ITEM_MOB
// for snowflake implants
else if(istype(item, /obj/item/weapon/implanter/fluff))
var/obj/item/weapon/implanter/fluff/L = item