Merge pull request #1628 from Markolie/master

Fix cable coil sprite
This commit is contained in:
Fox-McCloud
2015-08-03 01:15:36 -04:00
2 changed files with 13 additions and 13 deletions
+4 -4
View File
@@ -560,14 +560,14 @@ obj/structure/cable/proc/cableColor(var/colorC)
if(ishuman(M) && !M.restrained() && !M.stat && !M.paralysis && ! M.stunned)
if(!istype(usr.loc,/turf)) return
if(src.amount <= 14)
usr << "\red You need at least 15 lengths to make restraints!"
usr << "<span class='warning'>You need at least 15 lengths to make restraints!</span>"
return
var/obj/item/weapon/restraints/handcuffs/cable/B = new /obj/item/weapon/restraints/handcuffs/cable(usr.loc)
B.icon_state = "cuff_[color]"
usr << "\blue You wind some cable together to make some restraints."
B.color = color
usr << "<span class='notice'>You wind some cable together to make some restraints.</span>"
src.use(15)
else
usr << "\blue You cannot do that."
usr << "<span class='warning'>You cannot do that.</span>"
..()
// Items usable on a cable coil :