mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-21 07:42:21 +00:00
* Handlers converted, now to fix 3532 compile errors * 3532 compile fixes later, got runtimes on startup * Well the server loads now atleast * Take 2 * Oops
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
/client/proc/admin_redo_space_transitions()
|
|
set name = "Remake Space Transitions"
|
|
set desc = "Re-assigns all space transitions"
|
|
set category = "Debug"
|
|
|
|
if(!check_rights(R_ADMIN|R_DEBUG))
|
|
return
|
|
|
|
var/choice = alert("Do you want to rebuild space transitions?",,"Yes", "No")
|
|
|
|
if(choice == "No")
|
|
return
|
|
|
|
|
|
message_admins("[key_name_admin(usr)] re-assigned all space transitions")
|
|
GLOB.space_manager.do_transition_setup()
|
|
log_admin("[key_name(usr)] re-assigned all space transitions")
|
|
|
|
feedback_add_details("admin_verb","SPCRST") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
|
|
|
|
|
|
|
|
|
/client/proc/make_turf_space_map()
|
|
set name = "Make Space Map"
|
|
set desc = "Create a map of the space levels as turfs at your feet"
|
|
set category = "Debug"
|
|
|
|
if(!check_rights(R_ADMIN|R_DEBUG))
|
|
return
|
|
|
|
var/choice = alert("Are you sure you want to make a space map out of turfs?",,"Yes","No")
|
|
|
|
if(choice == "No")
|
|
return
|
|
|
|
message_admins("[key_name_admin(usr)] made a space map")
|
|
|
|
|
|
GLOB.space_manager.map_as_turfs(get_turf(usr))
|
|
log_admin("[key_name(usr)] made a space map")
|