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
+2 -2
View File
@@ -196,8 +196,8 @@
/obj/item/weaponcrafting/ishotgunconstruction3/attackby(obj/item/I, mob/user as mob, params)
..()
if(istype(I, /obj/item/stack/packageWrap))
var/obj/item/stack/packageWrap/C = I
if(istype(I, /obj/item/stack/package_wrap))
var/obj/item/stack/package_wrap/C = I
if(C.use(5))
var/obj/item/gun/projectile/revolver/doublebarrel/improvised/W = new /obj/item/gun/projectile/revolver/doublebarrel/improvised
user.unEquip(src)
+3 -3
View File
@@ -25,7 +25,7 @@
/// Will this recipe send an admin message when it's completed.
var/alert_admins_on_craft = FALSE
/datum/crafting_recipe/IED
/datum/crafting_recipe/ied
name = "IED"
result = list(/obj/item/grenade/iedcasing)
reqs = list(/datum/reagent/fuel = 50,
@@ -82,7 +82,7 @@
result = list(/obj/item/pneumatic_cannon/ghetto)
tools = list(TOOL_WELDER, TOOL_WRENCH)
reqs = list(/obj/item/stack/sheet/metal = 4,
/obj/item/stack/packageWrap = 8,
/obj/item/stack/package_wrap = 8,
/obj/item/pipe = 2)
time = 300
category = CAT_WEAPONRY
@@ -475,7 +475,7 @@
reqs = list(/obj/item/weaponcrafting/receiver = 1,
/obj/item/pipe = 1,
/obj/item/weaponcrafting/stock = 1,
/obj/item/stack/packageWrap = 5,)
/obj/item/stack/package_wrap = 5,)
tools = list(TOOL_SCREWDRIVER)
time = 100
category = CAT_WEAPONRY