mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
Admin Tools Fixes and New Addition
Highlander and Dodgeball will now view Vox as incompatible species and convert them into humans to avoid issues with deleting their much-needed internals - Already did this for plasmamen Adjusts team selection for Dodgeball to hopefully result in consistently "balanced" teams (in terms of numbers) - Rather than relying on a if(prob(50)) check, it now just switches back and forth with each successful team addition Adds a new admin panic button: "Del Singulo / Tesla" - After a confirmation, deletes ALL singularities and tesla orbs across all z-levels (except away missions and cent-comm), regardless of containment Not gonna changelog this since it's non-player stuff
This commit is contained in:
@@ -359,6 +359,26 @@ But you can call procs that are of type /mob/living/carbon/human/proc/ for that
|
||||
message_admins("[key_name_admin(src)] has deleted all instances of [hsbitem].", 0)
|
||||
feedback_add_details("admin_verb","DELA") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/proc/cmd_debug_del_sing()
|
||||
set category = "Debug"
|
||||
set name = "Del Singulo / Tesla"
|
||||
|
||||
if(!check_rights(R_DEBUG))
|
||||
return
|
||||
|
||||
//This gets a confirmation check because it's way easier to accidentally hit this and delete things than it is with del-all
|
||||
var/confirm = alert("This will delete ALL Singularities and Tesla orbs except for any that are on away mission z-levels or the centcomm z-level. Are you sure you want to delete them?", "Confirm Panic Button", "Yes", "No")
|
||||
if(confirm != "Yes")
|
||||
return
|
||||
|
||||
for(var/obj/singularity/S in world)
|
||||
if(S.z == ZLEVEL_CENTCOMM || S.z >= 8)
|
||||
continue
|
||||
qdel(S)
|
||||
log_admin("[key_name(src)] has deleted all Singularities and Tesla orbs.")
|
||||
message_admins("[key_name_admin(src)] has deleted all instances of Singularities and Tesla orbs.", 0)
|
||||
feedback_add_details("admin_verb","DELS") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!
|
||||
|
||||
/client/proc/cmd_debug_make_powernets()
|
||||
set category = "Debug"
|
||||
set name = "Make Powernets"
|
||||
|
||||
Reference in New Issue
Block a user