mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +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:
@@ -190,9 +190,9 @@
|
||||
return
|
||||
|
||||
/obj/effect/blob/examine(mob/user)
|
||||
..()
|
||||
..(user)
|
||||
user << "It looks like it's of a [get_chem_name()] kind."
|
||||
return
|
||||
|
||||
|
||||
/obj/effect/blob/proc/get_chem_name()
|
||||
for(var/mob/camera/blob/B in mob_list)
|
||||
|
||||
@@ -78,18 +78,15 @@ var/engwords = list("travel", "blood", "join", "hell", "destroy", "technology",
|
||||
cult_viewpoints -= src
|
||||
return ..()
|
||||
|
||||
/obj/effect/rune/examine()
|
||||
set src in view(2)
|
||||
|
||||
if(!iscultist(usr) && !isSpirit(usr))
|
||||
usr << "A strange collection of symbols drawn in blood."
|
||||
/obj/effect/rune/examine(mob/user)
|
||||
..(user)
|
||||
if(!iscultist(user) && !isSpirit(user))
|
||||
user << "A strange collection of symbols drawn in blood."
|
||||
return
|
||||
if(!desc)
|
||||
usr << "A spell circle drawn in blood. It reads: <i>[word1] [word2] [word3]</i>."
|
||||
user << "A spell circle drawn in blood. It reads: <i>[word1] [word2] [word3]</i>."
|
||||
else
|
||||
usr << "Explosive Runes inscription in blood. It reads: <i>[desc]</i>."
|
||||
|
||||
return
|
||||
user << "Explosive Runes inscription in blood. It reads: <i>[desc]</i>."
|
||||
|
||||
|
||||
/obj/effect/rune/attackby(I as obj, user as mob, params)
|
||||
@@ -509,12 +506,11 @@ var/engwords = list("travel", "blood", "join", "hell", "destroy", "technology",
|
||||
user << "You copy the translation notes from your tome."
|
||||
|
||||
|
||||
examine()
|
||||
set src in usr
|
||||
if(!iscultist(usr))
|
||||
usr << "An old, dusty tome with frayed edges and a sinister looking cover."
|
||||
examine(mob/user)
|
||||
if(!iscultist(user))
|
||||
user << "An old, dusty tome with frayed edges and a sinister looking cover."
|
||||
else
|
||||
usr << "The scriptures of Nar-Sie, The One Who Sees, The Geometer of Blood. Contains the details of every ritual his followers could think of. Most of these are useless, though."
|
||||
user << "The scriptures of Nar-Sie, The One Who Sees, The Geometer of Blood. Contains the details of every ritual his followers could think of. Most of these are useless, though."
|
||||
|
||||
/obj/item/weapon/tome/imbued //admin tome, spawns working runes without waiting
|
||||
w_class = 2.0
|
||||
|
||||
@@ -4,12 +4,6 @@
|
||||
var/uses = 0
|
||||
info = "<center><img src='talisman.png'></center><br/><br/>"
|
||||
|
||||
examine()
|
||||
set src in view(2)
|
||||
..()
|
||||
return
|
||||
|
||||
|
||||
attack_self(mob/living/user as mob)
|
||||
if(iscultist(user))
|
||||
var/delete = 1
|
||||
|
||||
@@ -106,7 +106,6 @@
|
||||
return
|
||||
..()
|
||||
|
||||
/obj/machinery/emergency_authentication_device/examine()
|
||||
usr << {"
|
||||
This is a specialized communications device that is able to instantly send a message to <b>Nanotrasen High Command</b> via quantum entanglement with a sister device at CentCom.
|
||||
The EAD's status is [get_status()]."}
|
||||
/obj/machinery/emergency_authentication_device/examine(mob/user)
|
||||
user << {"This is a specialized communications device that is able to instantly send a message to <b>Nanotrasen High Command</b> via quantum entanglement with a sister device at CentCom.<br>
|
||||
The EAD's status is [get_status()]."}
|
||||
|
||||
@@ -25,14 +25,14 @@
|
||||
icon_state = "pinoff"
|
||||
usr << "\blue You switch \the [src] off."
|
||||
|
||||
/obj/item/weapon/pinpointer/advpinpointer/auth_key/examine()
|
||||
/obj/item/weapon/pinpointer/advpinpointer/auth_key/examine(mob/user)
|
||||
switch(mode)
|
||||
if (1)
|
||||
usr << "Is is calibrated for the Captain's Authentication Key."
|
||||
user << "Is is calibrated for the Captain's Authentication Key."
|
||||
if (2)
|
||||
usr << "It is calibrated for the Emergency Secondary Authentication Key."
|
||||
user << "It is calibrated for the Emergency Secondary Authentication Key."
|
||||
else
|
||||
usr << "It is switched off."
|
||||
user << "It is switched off."
|
||||
|
||||
/datum/supply_packs/key_pinpointer
|
||||
name = "Authentication Key Pinpointer crate"
|
||||
|
||||
@@ -36,20 +36,20 @@
|
||||
icon_state = "pinoff"
|
||||
usr << "\blue You switch \the [src] off."
|
||||
|
||||
/obj/item/weapon/pinpointer/advpinpointer/flag/examine()
|
||||
/obj/item/weapon/pinpointer/advpinpointer/flag/examine(mob/user)
|
||||
switch(mode)
|
||||
if (1)
|
||||
usr << "Is is calibrated for the [target.name]"
|
||||
user << "Is is calibrated for the [target.name]"
|
||||
if (2)
|
||||
usr << "Is is calibrated for the [target.name]"
|
||||
user << "Is is calibrated for the [target.name]"
|
||||
if (3)
|
||||
usr << "Is is calibrated for the [target.name]"
|
||||
user << "Is is calibrated for the [target.name]"
|
||||
if (4)
|
||||
usr << "Is is calibrated for the [target.name]"
|
||||
user << "Is is calibrated for the [target.name]"
|
||||
if (5)
|
||||
usr << "Is is calibrated for the [target.name]"
|
||||
user << "Is is calibrated for the [target.name]"
|
||||
else
|
||||
usr << "It is switched off."
|
||||
user << "It is switched off."
|
||||
|
||||
/datum/supply_packs/key_pinpointer_nations
|
||||
name = "Nations Flag Pinpointer crate"
|
||||
|
||||
@@ -46,11 +46,11 @@
|
||||
icon_state = "pinonfar"
|
||||
spawn(5) .()
|
||||
|
||||
examine()
|
||||
..()
|
||||
examine(mob/user)
|
||||
..(user)
|
||||
for(var/obj/machinery/nuclearbomb/bomb in world)
|
||||
if(bomb.timing)
|
||||
usr << "Extreme danger. Arming signal detected. Time remaining: [bomb.timeleft]"
|
||||
user << "Extreme danger. Arming signal detected. Time remaining: [bomb.timeleft]"
|
||||
|
||||
|
||||
/obj/item/weapon/pinpointer/advpinpointer
|
||||
@@ -318,10 +318,10 @@
|
||||
used = 1
|
||||
|
||||
|
||||
examine()
|
||||
..()
|
||||
examine(mob/user)
|
||||
..(user)
|
||||
if (target)
|
||||
usr << "\blue Tracking [target]"
|
||||
user << "\blue Tracking [target]"
|
||||
|
||||
proc/point_at(atom/target)
|
||||
if(!active)
|
||||
@@ -386,7 +386,7 @@
|
||||
.()
|
||||
|
||||
/obj/item/weapon/pinpointer/operative/examine(mob/user)
|
||||
..()
|
||||
..(user)
|
||||
if(nearest_op != null)
|
||||
user << "Nearest operative: <b>[nearest_op]</b>."
|
||||
if(nearest_op == null && active)
|
||||
|
||||
Reference in New Issue
Block a user