mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 23:17:02 +01:00
Bay12 examine overhaul.
This commit overhauls the examine system to baystation's latest system, including a more efficient verb approach, and a new status panel tab, which shows more information for pre-defined objects.
This commit is contained in:
@@ -541,15 +541,16 @@ obj/structure/cable/proc/cableColor(var/colorC)
|
||||
else
|
||||
w_class = 2.0
|
||||
|
||||
/obj/item/stack/cable_coil/examine()
|
||||
set src in view(1)
|
||||
/obj/item/stack/cable_coil/examine(mob/user)
|
||||
if(!..(user, 1))
|
||||
return
|
||||
|
||||
if(get_amount() == 1)
|
||||
usr << "A short piece of power cable."
|
||||
user << "A short piece of power cable."
|
||||
else if(get_amount() == 2)
|
||||
usr << "A piece of power cable."
|
||||
user << "A piece of power cable."
|
||||
else
|
||||
usr << "A coil of power cable. There are [get_amount()] lengths of cable in the coil."
|
||||
user << "A coil of power cable. There are [get_amount()] lengths of cable in the coil."
|
||||
|
||||
|
||||
/obj/item/stack/cable_coil/verb/make_restraint()
|
||||
|
||||
Reference in New Issue
Block a user