mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
every case of initialize that should have mapload, does (#61623)
## About The Pull Request stop forgetting to include mapload, if you don't include it then every single subtype past it by default doesn't include it for example, `obj/item` didn't include mapload so every single item by default didn't fill in mapload  ## Regex used: procs without args, not even regex `/Initialize()` procs with args `\/Initialize\((?!mapload)((.)*\w)?` cleanup of things i didn't want to mapload: `\/datum\/(.)*\/Initialize\(mapload`
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
name = "circuit airlock"
|
||||
autoclose = FALSE
|
||||
|
||||
/obj/machinery/door/airlock/shell/Initialize()
|
||||
/obj/machinery/door/airlock/shell/Initialize(mapload)
|
||||
. = ..()
|
||||
AddComponent( \
|
||||
/datum/component/shell, \
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
light_system = MOVABLE_LIGHT
|
||||
light_on = FALSE
|
||||
|
||||
/obj/structure/bot/Initialize()
|
||||
/obj/structure/bot/Initialize(mapload)
|
||||
. = ..()
|
||||
AddComponent( \
|
||||
/datum/component/shell, \
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
zone = BODY_ZONE_HEAD
|
||||
w_class = WEIGHT_CLASS_TINY
|
||||
|
||||
/obj/item/organ/cyberimp/bci/Initialize()
|
||||
/obj/item/organ/cyberimp/bci/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
var/obj/item/integrated_circuit/circuit = new(src)
|
||||
@@ -335,7 +335,7 @@
|
||||
|
||||
COOLDOWN_DECLARE(message_cooldown)
|
||||
|
||||
/obj/machinery/bci_implanter/Initialize()
|
||||
/obj/machinery/bci_implanter/Initialize(mapload)
|
||||
. = ..()
|
||||
occupant_typecache = typecacheof(/mob/living/carbon)
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
light_system = MOVABLE_LIGHT_DIRECTIONAL
|
||||
light_on = FALSE
|
||||
|
||||
/obj/item/compact_remote/Initialize()
|
||||
/obj/item/compact_remote/Initialize(mapload)
|
||||
. = ..()
|
||||
AddComponent(/datum/component/shell, list(
|
||||
new /obj/item/circuit_component/compact_remote()
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
light_system = MOVABLE_LIGHT_DIRECTIONAL
|
||||
light_on = FALSE
|
||||
|
||||
/obj/item/controller/Initialize()
|
||||
/obj/item/controller/Initialize(mapload)
|
||||
. = ..()
|
||||
AddComponent(/datum/component/shell, list(
|
||||
new /obj/item/circuit_component/controller()
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
light_system = MOVABLE_LIGHT_DIRECTIONAL
|
||||
light_on = FALSE
|
||||
|
||||
/mob/living/circuit_drone/Initialize()
|
||||
/mob/living/circuit_drone/Initialize(mapload)
|
||||
. = ..()
|
||||
AddComponent(/datum/component/shell, list(
|
||||
new /obj/item/circuit_component/bot_circuit()
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
/obj/item/stock_parts/cell/emproof/wiremod_gun
|
||||
maxcharge = 100
|
||||
|
||||
/obj/item/gun/energy/wiremod_gun/Initialize()
|
||||
/obj/item/gun/energy/wiremod_gun/Initialize(mapload)
|
||||
. = ..()
|
||||
AddComponent(/datum/component/shell, list(
|
||||
new /obj/item/circuit_component/wiremod_gun()
|
||||
@@ -47,7 +47,7 @@
|
||||
/// The entity being shot
|
||||
var/datum/port/output/shot
|
||||
|
||||
/obj/item/circuit_component/wiremod_gun/Initialize()
|
||||
/obj/item/circuit_component/wiremod_gun/Initialize(mapload)
|
||||
. = ..()
|
||||
shooter = add_output_port("Shooter", PORT_TYPE_ATOM)
|
||||
shot = add_output_port("Shot Entity", PORT_TYPE_ATOM)
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
stored_money += to_add
|
||||
SEND_SIGNAL(src, COMSIG_MONEYBOT_ADD_MONEY, to_add)
|
||||
|
||||
/obj/structure/money_bot/Initialize()
|
||||
/obj/structure/money_bot/Initialize(mapload)
|
||||
. = ..()
|
||||
AddComponent(/datum/component/shell, list(
|
||||
new /obj/item/circuit_component/money_bot(),
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
light_system = MOVABLE_LIGHT_DIRECTIONAL
|
||||
light_on = FALSE
|
||||
|
||||
/obj/item/wiremod_scanner/Initialize()
|
||||
/obj/item/wiremod_scanner/Initialize(mapload)
|
||||
. = ..()
|
||||
AddComponent(/datum/component/shell, list(
|
||||
new /obj/item/circuit_component/wiremod_scanner()
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "scangate_black"
|
||||
var/locked = FALSE
|
||||
|
||||
/obj/structure/scanner_gate_shell/Initialize()
|
||||
/obj/structure/scanner_gate_shell/Initialize(mapload)
|
||||
. = ..()
|
||||
set_scanline("passive")
|
||||
var/static/list/loc_connections = list(
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
light_system = MOVABLE_LIGHT
|
||||
light_on = FALSE
|
||||
|
||||
/obj/structure/server/Initialize()
|
||||
/obj/structure/server/Initialize(mapload)
|
||||
. = ..()
|
||||
AddComponent(/datum/component/shell, null, SHELL_CAPACITY_VERY_LARGE, SHELL_FLAG_REQUIRE_ANCHOR|SHELL_FLAG_USB_PORT)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user