Rename all non-snake_case types. (#27268)

* refactor: Rename all non-snake_case types (not procs or vars (yet)).

* completely dynamic update script

* might help to include the data

* update aa's scuffed python

* oh

* set script PR number

* run updatepaths again

* Add other table updates with JSON columns

* bump SQL version

* just fucking end my life

* move JSON data
This commit is contained in:
warriorstar-orion
2024-11-30 19:08:45 +00:00
committed by GitHub
parent db4dda0fdf
commit 0ffa8303a7
180 changed files with 2492 additions and 1781 deletions
@@ -134,7 +134,7 @@
result_amount = 5
mix_sound = 'sound/goonstation/misc/drinkfizz.ogg'
/datum/chemical_reaction/kahluaVodka
/datum/chemical_reaction/kahlua_vodka
name = "KahluaVodka"
id = "kahlauVodka"
result = "kahlua"
@@ -716,7 +716,7 @@
P.forceMove(get_turf(holder.my_atom))
//Rainbow :o)
/datum/chemical_reaction/slimeRNG
/datum/chemical_reaction/slime_rng
name = "Random Core"
id = "slimerng"
result = null
@@ -725,7 +725,7 @@
required_other = TRUE
required_container = /obj/item/slime_extract/rainbow
/datum/chemical_reaction/slimeRNG/on_reaction(datum/reagents/holder)
/datum/chemical_reaction/slime_rng/on_reaction(datum/reagents/holder)
SSblackbox.record_feedback("tally", "slime_cores_used", 1, type)
var/mob/living/simple_animal/slime/random/S = new (get_turf(holder.my_atom))
S.visible_message("<span class='danger'>Infused with plasma, the core begins to quiver and grow, and a new baby slime emerges from it!</span>")
@@ -149,7 +149,7 @@
//////////////////////////////
// MARK: CMO HYPO
//////////////////////////////
/obj/item/reagent_containers/hypospray/CMO
/obj/item/reagent_containers/hypospray/cmo
name = "advanced hypospray"
desc = "Nanotrasen's own, reverse-engineered and improved version of DeForest's hypospray."
list_reagents = list("omnizine" = 30)
@@ -157,11 +157,11 @@
penetrate_thick = TRUE
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF
/obj/item/reagent_containers/hypospray/CMO/Initialize(mapload)
/obj/item/reagent_containers/hypospray/cmo/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_PARENT_QDELETING, PROC_REF(alert_admins_on_destroy))
/obj/item/reagent_containers/hypospray/CMO/examine_more(mob/user)
/obj/item/reagent_containers/hypospray/cmo/examine_more(mob/user)
. = ..()
. += "The DeForest Medical Corporation's hypospray is a highly successful medical device currently under patent protection. Naturally, this has not stopped Nanotrasen from taking the design and tinkering with it."
. += ""
@@ -190,22 +190,22 @@
blood_type = pick("A+", "A-", "B+", "B-", "O+", "O-")
return ..()
/obj/item/reagent_containers/iv_bag/blood/APlus
/obj/item/reagent_containers/iv_bag/blood/a_plus
blood_type = "A+"
/obj/item/reagent_containers/iv_bag/blood/AMinus
/obj/item/reagent_containers/iv_bag/blood/a_minus
blood_type = "A-"
/obj/item/reagent_containers/iv_bag/blood/BPlus
/obj/item/reagent_containers/iv_bag/blood/b_plus
blood_type = "B+"
/obj/item/reagent_containers/iv_bag/blood/BMinus
/obj/item/reagent_containers/iv_bag/blood/b_minus
blood_type = "B-"
/obj/item/reagent_containers/iv_bag/blood/OPlus
/obj/item/reagent_containers/iv_bag/blood/o_plus
blood_type = "O+"
/obj/item/reagent_containers/iv_bag/blood/OMinus
/obj/item/reagent_containers/iv_bag/blood/o_minus
blood_type = "O-"
/obj/item/reagent_containers/iv_bag/blood/vox