mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-08 16:41:58 +00:00
This cleans up all of the files in code/game/objects/items/weapons. Meaning that the re-organizing part of this endeavour is complete. All that is left is to start dragging down all of the object definitions from code/defines/ into their proper places. While I'm certain this is all good, I'll apologize now if files or paths end up broken. Again: Make sure your .dme is up to date! Delete it if necessary to SVN Upload it to the current revision. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4550 316c924e-a436-60f5-8080-3fe189b3f50e
21 lines
554 B
Plaintext
21 lines
554 B
Plaintext
// WIRES
|
|
|
|
/obj/item/weapon/wire/proc/update()
|
|
if (src.amount > 1)
|
|
src.icon_state = "spool_wire"
|
|
src.desc = text("This is just spool of regular insulated wire. It consists of about [] unit\s of wire.", src.amount)
|
|
else
|
|
src.icon_state = "item_wire"
|
|
src.desc = "This is just a simple piece of regular insulated wire."
|
|
return
|
|
|
|
/obj/item/weapon/wire/attack_self(mob/user as mob)
|
|
if (src.laying)
|
|
src.laying = 0
|
|
user << "\blue You're done laying wire!"
|
|
else
|
|
user << "\blue You are not using this to lay wire..."
|
|
return
|
|
|
|
|