mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +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:
@@ -25,15 +25,9 @@
|
||||
var/num_stored_bags = 10
|
||||
var/obj/item/weapon/evidencebag/filled_bag
|
||||
|
||||
/obj/item/device/core_sampler/examine()
|
||||
set src in orange(1)
|
||||
if (!( usr ))
|
||||
return
|
||||
if(get_dist(src, usr) < 2)
|
||||
usr << "That's \a [src]."
|
||||
usr << "\blue Used to extract geological core samples - this one is [sampled_turf ? "full" : "empty"], and has [num_stored_bags] bag[num_stored_bags != 1 ? "s" : ""] remaining."
|
||||
else
|
||||
return ..()
|
||||
/obj/item/device/core_sampler/examine(mob/user)
|
||||
if(..(user, 2))
|
||||
user << "\blue Used to extract geological core samples - this one is [sampled_turf ? "full" : "empty"], and has [num_stored_bags] bag[num_stored_bags != 1 ? "s" : ""] remaining."
|
||||
|
||||
/obj/item/device/core_sampler/attackby(obj/item/weapon/W as obj, mob/user as mob, params)
|
||||
if(istype(W,/obj/item/weapon/evidencebag))
|
||||
|
||||
Reference in New Issue
Block a user