Adds Section to Centcom for help with Wiki spriting (#13949)

* Wiki Tile

* e

* christ

* e

* map 1

* eeeeeeee

* eeee

* eeeeeee

* map

* landmark

* fixes

* e

* e2

* centcom landmark

* 96

* god sake

* eeeeeeeeee

* please

* s

* christ alive
This commit is contained in:
Jamie D
2022-05-05 20:09:12 +01:00
committed by GitHub
parent 82386ce967
commit 236f1cd1fe
6 changed files with 4519 additions and 4187 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -466,3 +466,13 @@ INITIALIZE_IMMEDIATE(/obj/effect/landmark/start/new_player)
GLOB.ruin_landmarks -= src
ruin_template = null
. = ..()
/obj/effect/landmark/centcom
name = "centcomspawn"
icon_state = "x"
layer = HIGH_LANDMARK_LAYER
/obj/effect/landmark/wiki
name = "wiki sprite room"
icon_state = "x"
layer = HIGH_LANDMARK_LAYER

View File

@@ -455,6 +455,34 @@
icon = 'yogstation/icons/turf/floors/ballpit_smooth.dmi'
icon_state = "smooth"
/turf/open/indestructible/wiki
light_range = 2
light_power = 2
/turf/open/indestructible/wiki/greenscreen
icon = 'yogstation/icons/turf/floors/wiki.dmi'
icon_state = "greenscreen"
/turf/open/indestructible/wiki/bluescreen
icon = 'yogstation/icons/turf/floors/wiki.dmi'
icon_state = "bluescreen"
/turf/open/indestructible/wiki/whitescreen
icon = 'yogstation/icons/turf/floors/wiki.dmi'
icon_state = "whitescreen"
/turf/open/indestructible/wiki/greenscreen/border
icon = 'yogstation/icons/turf/floors/wiki.dmi'
icon_state = "greenborder"
/turf/open/indestructible/wiki/title
icon = 'yogstation/icons/turf/floors/wiki.dmi'
icon_state = "title"
/turf/open/indestructible/wiki/info
icon = 'yogstation/icons/turf/floors/wiki.dmi'
icon_state = "info"
/turf/open/Initalize_Atmos(times_fired)
set_excited(FALSE)
update_visuals()

View File

@@ -99,6 +99,7 @@ GLOBAL_PROTECT(admin_verbs_admin)
/client/proc/show_redeemable_antag_tokens,
/datum/admins/proc/cmd_create_centcom,
/datum/admins/proc/cmd_admin_fuckrads,
/datum/admins/proc/cmd_create_wiki,
/client/proc/admincryo,
/client/proc/cmd_admin_dress,
/client/proc/disconnect_panel

View File

@@ -1422,7 +1422,9 @@ Traitors and the like can also be revived with the previous role mostly intact.
set name = "Spawn on Centcom"
if(!check_rights(R_ADMIN))
return
var/turf/T = locate(196,82,1) // Magic number alert!
var/turf/T
for(var/obj/effect/landmark/centcom/centcomturf in GLOB.landmarks_list)
T = centcomturf.loc
if(ismob(usr))
var/mob/M = usr
if(isobserver(M))
@@ -1482,3 +1484,31 @@ Traitors and the like can also be revived with the previous role mostly intact.
user.status_flags &= ~GODMODE
user.update_mobility()
sleep(40)
/datum/admins/proc/cmd_create_wiki()
set category = "Misc"
set name = "Go to Wiki Room"
if(!check_rights(R_ADMIN))
return
var/turf/T
for(var/obj/effect/landmark/wiki/wikiturf in GLOB.landmarks_list)
T = wikiturf.loc
if(ismob(usr))
var/mob/M = usr
if(isobserver(M))
var/mob/living/carbon/human/H = new(T)
var/datum/preferences/A = new
A.copy_to(H)
H.dna.update_dna_identity()
var/datum/mind/Mind = new /datum/mind(M.key) // Reusing the mob's original mind actually breaks objectives for any antag who had this person as their target.
// For that reason, we're making a new one. This mimics the behavior of, say, lone operatives, and I believe other ghostroles.
Mind.active = 1
Mind.transfer_to(H)
var/msg = "[key_name_admin(H)] has spawned in the wiki room [ADMIN_VERBOSEJMP(H)]."
message_admins(msg)
log_admin(msg)
return
else
usr.forceMove(T)

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB