Death to modular_citadel (#3751)

* -obj and machinery overides

* Devices

* Material

* item code gone lets goo

* item code gone lets goo

* game folder done

* admin and clothing

* detectivework, donatorreskins, events, games, mob, nifsoft, paperwork, projectiles, research, resleeving

* CODE FOLDER DONE

* maps

* All sounds and non-conflicting sprites

* obj sprites merged

* Some mismatched sprites but DONE

* The beast is finally killed.

* Fucking mapped overrides

* Ugh CI dum but gud
This commit is contained in:
Zandario
2022-02-25 19:11:09 -08:00
committed by GitHub
parent 88c4f63b3a
commit baf538d5ea
297 changed files with 716 additions and 102631 deletions
+52
View File
@@ -702,3 +702,55 @@
if(alert(usr, "Are you absolutely sure you want to reload the configuration from the default path on the disk, wiping any in-round modificatoins?", "Really reset?", "No", "Yes") == "Yes")
config.admin_reload()
load_configuration() //for legacy
/datum/admins/proc/quick_nif()
set category = "Fun"
set name = "Quick NIF"
set desc = "Spawns a NIF into someone in quick-implant mode."
var/input_NIF
if(!check_rights(R_ADMIN))
return
var/mob/living/carbon/human/H = input("Pick a mob with a player","Quick NIF") as null|anything in player_list
if(!H)
return
if(!istype(H))
to_chat(usr,"<span class='warning'>That mob type ([H.type]) doesn't support NIFs, sorry.</span>")
return
if(!H.get_organ(BP_HEAD))
to_chat(usr,"<span class='warning'>Target is unsuitable.</span>")
return
if(H.nif)
to_chat(usr,"<span class='warning'>Target already has a NIF.</span>")
return
if(H.species.flags & NO_SCAN)
var/obj/item/nif/S = /obj/item/nif/bioadap
input_NIF = initial(S.name)
new /obj/item/nif/bioadap(H)
else
var/list/NIF_types = typesof(/obj/item/nif)
var/list/NIFs = list()
for(var/NIF_type in NIF_types)
var/obj/item/nif/S = NIF_type
NIFs[capitalize(initial(S.name))] = NIF_type
var/list/show_NIFs = sortList(NIFs) // the list that will be shown to the user to pick from
input_NIF = input("Pick the NIF type","Quick NIF") in show_NIFs
var/chosen_NIF = NIFs[capitalize(input_NIF)]
if(chosen_NIF)
new chosen_NIF(H)
else
new /obj/item/nif(H)
log_and_message_admins("[key_name(src)] Quick NIF'd [H.real_name] with a [input_NIF].")
feedback_add_details("admin_verb","QNIF") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc!