/
githubmirror
/
vgstation13
Обзор
Документация
Войти
/
githubmirror
/
vgstation13
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
Bleeding-Edge
code/game/objects/items/weapons/wires.dm
18 строк
592 B
PJB3005
Adds a to_chat() proc, to pave the way to a non shit chat.
25 ноя 2015, 17:55
25 ноя 2015, 17:55
99bf59d
Код
Авторство
О чём код?
// 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 to_chat(user, "<span class='notice'>You're done laying wire!</span>") else to_chat(user, "<span class='notice'>You are not using this to lay wire...</span>") return