mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 06:27:26 +01:00
Round Rejoining (#30342)
* very simple functionality test * formatting fix * adapt 220 code, add logging, adjust config * fixes * appeases review overlords * fixes * 25 min respawn delay, warning is more noticable * 10 minute respawn delay, cant respawn during wiz or nukies * more logging + logging fix * species logging, revert accidental config change * antag logging + formatting * pleases review overlords again * linters * uses CSS for warning Co-authored-by: warriorstar-orion <orion@snowfrost.garden> Signed-off-by: Ahzpy <88119260+Ahzpy@users.noreply.github.com> * deconflicts paradise.dme? * fixes runtime with destroyed bodies * you cant respawn for ragin mages silly * adds respawn button to ghost hud * standardize new ghost button coloring * remove you are not an admin message * muscle memory fixer * update hud locations --------- Signed-off-by: Ahzpy <88119260+Ahzpy@users.noreply.github.com> Co-authored-by: warriorstar-orion <orion@snowfrost.garden>
This commit is contained in:
co-authored by
warriorstar-orion
parent
ae9e36a155
commit
d2b092dad5
@@ -21,6 +21,14 @@
|
||||
. = ..()
|
||||
flick(icon_state + "_anim", src)
|
||||
|
||||
/atom/movable/screen/ghost/respawn_char
|
||||
name = "Respawn as new character"
|
||||
icon_state = "respawn"
|
||||
|
||||
/atom/movable/screen/ghost/respawn_char/Click()
|
||||
var/mob/dead/observer/G = usr
|
||||
G.respawn_character()
|
||||
|
||||
/atom/movable/screen/ghost/teleport
|
||||
name = "Teleport"
|
||||
icon_state = "teleport"
|
||||
@@ -82,6 +90,10 @@
|
||||
..()
|
||||
var/atom/movable/screen/using
|
||||
|
||||
using = new /atom/movable/screen/ghost/respawn_char()
|
||||
using.screen_loc = UI_GHOST_RESPAWN_CHAR
|
||||
static_inventory += using
|
||||
|
||||
using = new /atom/movable/screen/ghost/orbit()
|
||||
using.screen_loc = UI_GHOST_ORBIT
|
||||
static_inventory += using
|
||||
|
||||
Reference in New Issue
Block a user