mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-10 09:22:05 +00:00
* Adds icon and hitsound where needed. * Moves alt_attack to /obj/item and deletes weapons.dm * Replaced /obj/item/weapon with /obj/item * Fixes merge issues. * Fix merge issues.
19 lines
577 B
Plaintext
19 lines
577 B
Plaintext
// WIRES
|
|
|
|
/obj/item/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/wire/attack_self(mob/user as mob)
|
|
if (src.laying)
|
|
src.laying = 0
|
|
to_chat(user, "<span class='notice'>You're done laying wire!</span>")
|
|
else
|
|
to_chat(user, "<span class='warning'>You are not using this to lay wire...</span>")
|
|
return
|