mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
Adds station map verb for ghosts, as well as a broken, commented-out spell that someone should fix. (#15570)
This commit is contained in:
@@ -23,6 +23,9 @@
|
||||
// For Aghosts dicking with telecoms equipment.
|
||||
var/obj/item/device/multitool/ghostMulti = null
|
||||
|
||||
// Holomaps for ghosts
|
||||
var/obj/item/device/station_map/station_holomap = null
|
||||
|
||||
var/can_reenter_corpse
|
||||
var/datum/hud/living/carbon/hud = null // hud
|
||||
var/bootime = 0
|
||||
@@ -45,6 +48,7 @@
|
||||
|
||||
// Our new boo spell.
|
||||
add_spell(new /spell/aoe_turf/boo, "grey_spell_ready")
|
||||
//add_spell(new /spell/ghost_show_map, "grey_spell_ready")
|
||||
|
||||
can_reenter_corpse = flags & GHOST_CAN_REENTER
|
||||
started_as_observer = flags & GHOST_IS_OBSERVER
|
||||
@@ -101,6 +105,8 @@
|
||||
T = pick(latejoin) //Safety in case we cannot find the body's position
|
||||
loc = T
|
||||
|
||||
station_holomap = new(src)
|
||||
|
||||
if(!name) //To prevent nameless ghosts
|
||||
name = capitalize(pick(first_names_male)) + " " + capitalize(pick(last_names))
|
||||
real_name = name
|
||||
@@ -799,6 +805,12 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
mouse_opacity = 1
|
||||
to_chat(src, "<span class='info'>Sprite shown.</span>")
|
||||
|
||||
/mob/dead/observer/verb/toggle_station_map()
|
||||
set name = "Toggle Station Holomap"
|
||||
set desc = "Toggle station holomap on your screen"
|
||||
set category = "Ghost"
|
||||
|
||||
src.station_holomap.toggleHolomap(src, FALSE) // We don't need client.eye.
|
||||
|
||||
/mob/dead/observer/verb/become_mommi()
|
||||
set name = "Become MoMMI"
|
||||
|
||||
@@ -34,7 +34,8 @@ var/global/list/boo_phrases_silicon=list(
|
||||
"Your circuits feel very strange.",
|
||||
"You feel a tingling in your capacitors.",
|
||||
"Your motherboard feels possessed...",
|
||||
"Unauthorized access attempted by: unknown."
|
||||
"Unauthorized access attempted by: unknown.",
|
||||
"Bad datum"
|
||||
)
|
||||
|
||||
/spell/aoe_turf/boo
|
||||
@@ -57,3 +58,23 @@ var/global/list/boo_phrases_silicon=list(
|
||||
for(var/atom/A in T.contents)
|
||||
if(A.can_spook())
|
||||
A.spook(holder)
|
||||
|
||||
/* FIXME
|
||||
/spell/ghost_show_map
|
||||
name = "Show Map"
|
||||
desc = "Display the station map."
|
||||
|
||||
spell_flags = STATALLOWED | GHOSTCAST
|
||||
|
||||
school = "transmutation"
|
||||
charge_type = 0 // Apparently bypasses charge checks.
|
||||
invocation = ""
|
||||
invocation_type = SpI_NONE
|
||||
|
||||
override_base = "grey"
|
||||
hud_state = "stationmap"
|
||||
|
||||
/spell/ghost_show_map/cast(list/targets)
|
||||
var/mob/dead/observer/O = holder
|
||||
O.station_holomap.toggleHolomap(O, FALSE) // Don't need client.eye.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user