mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
ghosts arena notifications and searching tool
This commit is contained in:
@@ -878,6 +878,10 @@ var/global/list/arenas = list()
|
||||
|
||||
message_admins("[key_name_admin(user.client)] created a \"[size]\" Bomberman arena at [center.loc.name] ([center.x],[center.y],[center.z]) (<A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[center.x];Y=[center.y];Z=[center.z]'>JMP</A>)")
|
||||
log_game("[key_name_admin(user.client)] created a \"[size]\" Bomberman arena at [center.loc.name] ([center.x],[center.y],[center.z]) ")
|
||||
|
||||
for(var/mob/dead/observer/O in observers)
|
||||
O << "<spawn class='notice'><b>[user.client.key] created a \"[size]\" Bomberman arena at [center.loc.name]. <A HREF='?src=\ref[O];jumptoarenacood=1;X=[center.x];Y=[center.y];Z=[center.z]'>Click here to JUMP to it.</A></b></span>"
|
||||
|
||||
else
|
||||
qdel(src)
|
||||
|
||||
@@ -957,6 +961,9 @@ var/global/list/arenas = list()
|
||||
E.visible_message("\icon[E] \The [E] brightens as it appears that a round is starting in [name].")
|
||||
flick("entertainment_arena",E)
|
||||
|
||||
for(var/mob/dead/observer/O in observers)
|
||||
O << "<b>A round has began in <A HREF='?src=\ref[O];jumptoarenacood=1;X=[center.x];Y=[center.y];Z=[center.z]'>[name]</A>!</b>"
|
||||
|
||||
sleep(40)
|
||||
for(var/datum/bomberman_spawn/S in spawns)
|
||||
if(S.player)
|
||||
|
||||
@@ -755,6 +755,20 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
// host.ckey = src.ckey
|
||||
// //host << "<span class='info'>You are now a mouse. Try to avoid interaction with players, and do not give hints away that you are more than a simple rodent.</span>"
|
||||
|
||||
/mob/dead/observer/verb/find_arena()
|
||||
set category = "Ghost"
|
||||
set name = "Search For Arenas"
|
||||
set desc = "Try to find an Arena to polish your robust bomb placement skills.."
|
||||
|
||||
if(!arenas.len)
|
||||
usr << "There are no arenas in the world! Ask the admins to spawn one."
|
||||
return
|
||||
|
||||
var/datum/bomberman_arena/arena_target = input("Which arena do you wish to reach?", "Arena Search Panel") in arenas
|
||||
usr << "Reached [arena_target]"
|
||||
|
||||
usr.loc = arena_target.center
|
||||
|
||||
//BEGIN TELEPORT HREF CODE
|
||||
/mob/dead/observer/Topic(href, href_list)
|
||||
if(usr != src)
|
||||
@@ -803,6 +817,17 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
return
|
||||
loc = T
|
||||
following = null
|
||||
|
||||
if(href_list["jumptoarenacood"])
|
||||
world << "gotcha"
|
||||
|
||||
var/x = text2num(href_list["X"])
|
||||
var/y = text2num(href_list["Y"])
|
||||
var/z = text2num(href_list["Z"])
|
||||
|
||||
var/client/C = usr.client
|
||||
sleep(2)
|
||||
C.jumptocoord(x,y,z)
|
||||
..()
|
||||
//END TELEPORT HREF CODE
|
||||
|
||||
|
||||
@@ -77,4 +77,4 @@ var/global/list/boo_phrases_silicon=list(
|
||||
A:spookymode=1
|
||||
|
||||
if(istype(A, /obj/machinery/ai_status_display))
|
||||
A:spookymode=1
|
||||
A:spookymode=1
|
||||
|
||||
Reference in New Issue
Block a user