next new to init (#17400)

* next new to init

* .

* this needs thorough testing

* .

* needs an istype

* also vnotice

* mvoe to defines
This commit is contained in:
Kashargul
2025-03-24 06:18:39 -04:00
committed by GitHub
parent 8a4ac36d15
commit d3b7ba8b43
141 changed files with 529 additions and 601 deletions
@@ -6,8 +6,8 @@
var/obj/item/weldingtool/welder
var/weldertype = /obj/item/weldingtool/dummy
/obj/item/tool/transforming/New(newloc, no_counterpart = TRUE)
..(newloc)
/obj/item/tool/transforming/Initialize(mapload, no_counterpart = TRUE)
. = ..()
if(TOOL_WELDER in possible_tooltypes)
welder = new weldertype(src)
on_tool_switch()