Merge pull request #154 from Verkister/master

Small fixes for dogborgs and sprite accessories:
This commit is contained in:
LetterJay
2017-01-16 21:06:17 -05:00
committed by GitHub
5 changed files with 33 additions and 0 deletions

View File

@@ -28,6 +28,12 @@
else if(istype(O,/obj/item/weapon/gun/energy/disabler/cyborg))
disabler = 0
update_icons()
else if(istype(O,/obj/item/weapon/dogborg/sleeper))
sleeper_g = 0
sleeper_r = 0
update_icons()
var/obj/item/weapon/dogborg/sleeper/S = O
S.go_out()
if(client)
client.screen -= O

View File

@@ -903,6 +903,23 @@
overlays += "laser"
if(disabler == 1)
overlays += "disabler"
if(sleeper_g == 1)
overlays += "sleeper_g"
if(sleeper_r == 1)
overlays += "sleeper_r"
if(stat > 1 && icon_state == "k9")
icon_state = "k9-wreck"
if(stat < 2 && icon_state == "k9-wreck")
icon_state = "k9"
if(stat > 1 && icon_state == "borgi")
icon_state = "borgi-wreck"
if(stat < 2 && icon_state == "borgi-wreck")
icon_state = "borgi"
if(stat > 1 && icon_state == "medihound")
icon_state = "medihound-wreck"
if(stat < 2 && icon_state == "medihound-wreck")
icon_state = "medihound"
/mob/living/silicon/robot/proc/installed_modules()
if(!module)

View File

@@ -1637,6 +1637,13 @@
icon_state = "lab"
//Husky
/datum/sprite_accessory/mam_ears/husky
name = "Husky"
icon_state = "wolf"
hasinner = 1
icon = 'icons/mob/mam_bodyparts.dmi'
extra = 1
/datum/sprite_accessory/mam_tails/husky
name = "Husky"
icon_state = "husky"