From 6c01cc2c010c8dc15c5500434ae8e55261511781 Mon Sep 17 00:00:00 2001
From: tralezab <40974010+tralezab@users.noreply.github.com>
Date: Fri, 24 Sep 2021 14:56:50 -0700
Subject: [PATCH] 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`
---
.github/guides/HARDDELETES.md | 6 +-
code/__HELPERS/unsorted.dm | 2 +-
code/_onclick/hud/action_button.dm | 2 +-
code/_onclick/hud/alert.dm | 2 +-
code/_onclick/hud/blob_overmind.dm | 10 +--
code/_onclick/hud/families.dm | 2 +-
code/_onclick/hud/picture_in_picture.dm | 2 +-
code/_onclick/hud/plane_master.dm | 6 +-
code/_onclick/hud/screen_objects.dm | 2 +-
code/_onclick/telekinesis.dm | 2 +-
code/controllers/subsystem/atoms.dm | 2 +-
code/controllers/subsystem/job.dm | 4 +-
code/datums/brain_damage/special.dm | 4 +-
code/datums/components/trapdoor.dm | 2 +-
code/datums/components/twohanded.dm | 2 +-
code/datums/martial/sleeping_carp.dm | 2 +-
code/datums/status_effects/debuffs.dm | 2 +-
code/game/area/ai_monitored.dm | 2 +-
code/game/area/areas/centcom.dm | 2 +-
code/game/area/areas/shuttles.dm | 2 +-
code/game/area/space_station_13_areas.dm | 2 +-
code/game/atoms.dm | 2 +-
code/game/machinery/Beacon.dm | 2 +-
code/game/machinery/PDApainter.dm | 2 +-
code/game/machinery/_machinery.dm | 2 +-
code/game/machinery/airlock_control.dm | 2 +-
code/game/machinery/announcement_system.dm | 2 +-
code/game/machinery/aug_manipulator.dm | 2 +-
code/game/machinery/autolathe.dm | 4 +-
code/game/machinery/bank_machine.dm | 2 +-
code/game/machinery/camera/motion.dm | 2 +-
code/game/machinery/camera/presets.dm | 12 ++--
code/game/machinery/civilian_bounties.dm | 4 +-
code/game/machinery/computer/Operating.dm | 2 +-
code/game/machinery/computer/arcade/arcade.dm | 2 +-
code/game/machinery/computer/arcade/orion.dm | 2 +-
code/game/machinery/computer/atmos_alert.dm | 2 +-
code/game/machinery/computer/atmos_control.dm | 4 +-
code/game/machinery/computer/camera.dm | 4 +-
.../machinery/computer/camera_advanced.dm | 2 +-
.../computer/chef_orders/chef_order.dm | 2 +-
.../game/machinery/computer/communications.dm | 2 +-
code/game/machinery/computer/dna_console.dm | 2 +-
.../machinery/computer/launchpad_control.dm | 2 +-
code/game/machinery/computer/law.dm | 2 +-
code/game/machinery/computer/pod.dm | 2 +-
.../computer/prisoner/gulag_teleporter.dm | 2 +-
code/game/machinery/computer/station_alert.dm | 2 +-
code/game/machinery/computer/teleporter.dm | 2 +-
code/game/machinery/cryopod.dm | 4 +-
code/game/machinery/dance_machine.dm | 2 +-
code/game/machinery/defibrillator_mount.dm | 4 +-
code/game/machinery/deployable.dm | 6 +-
code/game/machinery/dish_drive.dm | 2 +-
code/game/machinery/dna_scanner.dm | 2 +-
code/game/machinery/doors/airlock.dm | 2 +-
code/game/machinery/doors/airlock_types.dm | 2 +-
code/game/machinery/doors/alarmlock.dm | 4 +-
code/game/machinery/doors/brigdoors.dm | 4 +-
code/game/machinery/doors/door.dm | 2 +-
code/game/machinery/doors/firedoor.dm | 4 +-
code/game/machinery/doppler_array.dm | 6 +-
code/game/machinery/droneDispenser.dm | 2 +-
code/game/machinery/ecto_sniffer.dm | 2 +-
code/game/machinery/electrolyzer.dm | 2 +-
.../embedded_controller/access_controller.dm | 2 +-
.../embedded_controller_base.dm | 2 +-
code/game/machinery/fat_sucker.dm | 2 +-
code/game/machinery/flasher.dm | 2 +-
code/game/machinery/gulag_teleporter.dm | 2 +-
code/game/machinery/harvester.dm | 2 +-
code/game/machinery/hologram.dm | 6 +-
code/game/machinery/hypnochair.dm | 2 +-
code/game/machinery/igniter.dm | 4 +-
code/game/machinery/iv_drip.dm | 2 +-
code/game/machinery/launch_pad.dm | 4 +-
code/game/machinery/lightswitch.dm | 2 +-
code/game/machinery/limbgrower.dm | 2 +-
code/game/machinery/mechlaunchpad.dm | 2 +-
code/game/machinery/medical_kiosk.dm | 2 +-
code/game/machinery/medipen_refiller.dm | 2 +-
code/game/machinery/navbeacon.dm | 2 +-
.../machinery/porta_turret/portable_turret.dm | 4 +-
code/game/machinery/quantum_pad.dm | 2 +-
code/game/machinery/rechargestation.dm | 2 +-
code/game/machinery/recycler.dm | 2 +-
code/game/machinery/requests_console.dm | 2 +-
code/game/machinery/roulette_machine.dm | 2 +-
code/game/machinery/scan_gate.dm | 2 +-
code/game/machinery/sheetifier.dm | 2 +-
code/game/machinery/shieldgen.dm | 4 +-
code/game/machinery/slotmachine.dm | 2 +-
code/game/machinery/spaceheater.dm | 4 +-
code/game/machinery/status_display.dm | 4 +-
code/game/machinery/suit_storage_unit.dm | 4 +-
code/game/machinery/syndicatebomb.dm | 4 +-
code/game/machinery/teambuilder.dm | 2 +-
.../machinery/telecomms/computers/message.dm | 2 +-
.../machinery/telecomms/machines/allinone.dm | 2 +-
code/game/machinery/telecomms/machines/bus.dm | 2 +-
.../telecomms/machines/message_server.dm | 2 +-
.../machinery/telecomms/machines/receiver.dm | 2 +-
.../machinery/telecomms/machines/server.dm | 6 +-
code/game/machinery/teleporter.dm | 6 +-
code/game/machinery/transformer.dm | 2 +-
code/game/objects/effects/bump_teleporter.dm | 2 +-
code/game/objects/effects/contraband.dm | 2 +-
code/game/objects/effects/countdown.dm | 2 +-
.../effects/decals/cleanable/aliens.dm | 6 +-
.../objects/effects/decals/cleanable/misc.dm | 12 ++--
.../effects/decals/cleanable/robots.dm | 4 +-
code/game/objects/effects/decals/decal.dm | 4 +-
.../effects/decals/turfdecal/tilecoloring.dm | 6 +-
.../effects/effect_system/effect_shield.dm | 2 +-
.../effects/effect_system/effect_system.dm | 2 +-
.../effect_system/effects_explosion.dm | 4 +-
.../effects/effect_system/effects_foam.dm | 4 +-
.../effects/effect_system/effects_smoke.dm | 4 +-
.../effects/effect_system/effects_sparks.dm | 2 +-
.../effects/effect_system/effects_water.dm | 4 +-
code/game/objects/effects/forcefields.dm | 2 +-
code/game/objects/effects/landmarks.dm | 14 ++--
code/game/objects/effects/mines.dm | 2 +-
code/game/objects/effects/overlays.dm | 2 +-
code/game/objects/effects/powerup.dm | 2 +-
.../objects/effects/spawners/bombspawner.dm | 2 +-
.../objects/effects/spawners/gibspawner.dm | 16 ++---
.../objects/effects/spawners/structure.dm | 34 +++++-----
code/game/objects/effects/spiders.dm | 8 +--
.../temporary_visuals/temporary_visual.dm | 2 +-
code/game/objects/items.dm | 2 +-
code/game/objects/items/AI_modules.dm | 4 +-
code/game/objects/items/RCD.dm | 4 +-
code/game/objects/items/RCL.dm | 6 +-
code/game/objects/items/RPD.dm | 2 +-
code/game/objects/items/RSF.dm | 2 +-
code/game/objects/items/airlock_painter.dm | 6 +-
code/game/objects/items/binoculars.dm | 2 +-
code/game/objects/items/body_egg.dm | 2 +-
code/game/objects/items/broom.dm | 2 +-
code/game/objects/items/candle.dm | 2 +-
code/game/objects/items/cardboard_cutouts.dm | 2 +-
code/game/objects/items/cards_ids.dm | 8 +--
code/game/objects/items/chainsaw.dm | 2 +-
code/game/objects/items/charter.dm | 4 +-
code/game/objects/items/chrono_eraser.dm | 6 +-
code/game/objects/items/cigs_lighters.dm | 16 ++---
.../items/circuitboards/circuitboard.dm | 2 +-
.../circuitboards/computer_circuitboards.dm | 2 +-
code/game/objects/items/clown_items.dm | 2 +-
code/game/objects/items/control_wand.dm | 2 +-
code/game/objects/items/cosmetics.dm | 2 +-
code/game/objects/items/courtroom.dm | 2 +-
code/game/objects/items/crayons.dm | 6 +-
code/game/objects/items/defib.dm | 10 +--
code/game/objects/items/devices/PDA/PDA.dm | 2 +-
.../objects/items/devices/PDA/PDA_types.dm | 4 +-
code/game/objects/items/devices/PDA/cart.dm | 8 +--
code/game/objects/items/devices/PDA/radio.dm | 2 +-
code/game/objects/items/devices/beacon.dm | 2 +-
code/game/objects/items/devices/camera_bug.dm | 2 +-
.../objects/items/devices/chameleonproj.dm | 2 +-
.../devices/electroadaptive_pseudocircuit.dm | 2 +-
code/game/objects/items/devices/flashlight.dm | 6 +-
.../objects/items/devices/geiger_counter.dm | 2 +-
code/game/objects/items/devices/gps.dm | 6 +-
.../objects/items/devices/laserpointer.dm | 4 +-
code/game/objects/items/devices/multitool.dm | 2 +-
code/game/objects/items/devices/paicard.dm | 2 +-
.../objects/items/devices/pressureplates.dm | 2 +-
.../items/devices/radio/electropack.dm | 2 +-
.../items/devices/radio/encryptionkey.dm | 2 +-
.../objects/items/devices/radio/headset.dm | 6 +-
.../game/objects/items/devices/radio/radio.dm | 4 +-
.../items/devices/reverse_bear_trap.dm | 2 +-
code/game/objects/items/devices/spyglasses.dm | 2 +-
.../objects/items/devices/taperecorder.dm | 4 +-
code/game/objects/items/dice.dm | 4 +-
code/game/objects/items/drug_items.dm | 2 +-
code/game/objects/items/dualsaber.dm | 2 +-
code/game/objects/items/etherealdiscoball.dm | 2 +-
code/game/objects/items/extinguisher.dm | 2 +-
code/game/objects/items/fireaxe.dm | 2 +-
code/game/objects/items/food/bread.dm | 12 ++--
code/game/objects/items/food/burgers.dm | 8 +--
code/game/objects/items/food/cake.dm | 2 +-
code/game/objects/items/food/dough.dm | 4 +-
code/game/objects/items/food/egg.dm | 2 +-
code/game/objects/items/food/frozen.dm | 2 +-
code/game/objects/items/food/lizard.dm | 8 +--
code/game/objects/items/food/meat.dm | 28 ++++----
code/game/objects/items/food/misc.dm | 26 ++++----
code/game/objects/items/food/pastries.dm | 14 ++--
code/game/objects/items/food/pie.dm | 2 +-
code/game/objects/items/food/pizza.dm | 4 +-
code/game/objects/items/food/salad.dm | 2 +-
code/game/objects/items/food/snacks.dm | 4 +-
code/game/objects/items/food/soup.dm | 6 +-
code/game/objects/items/food/spaghetti.dm | 4 +-
code/game/objects/items/gift.dm | 2 +-
code/game/objects/items/granters.dm | 2 +-
.../objects/items/grenades/chem_grenade.dm | 30 ++++-----
.../objects/items/grenades/clusterbuster.dm | 2 +-
.../game/objects/items/grenades/ghettobomb.dm | 4 +-
code/game/objects/items/grenades/plastic.dm | 2 +-
code/game/objects/items/grenades/smokebomb.dm | 2 +-
code/game/objects/items/hand_items.dm | 2 +-
code/game/objects/items/handcuffs.dm | 6 +-
code/game/objects/items/his_grace.dm | 2 +-
code/game/objects/items/holy_weapons.dm | 18 +++---
.../objects/items/implants/implant_chem.dm | 2 +-
.../objects/items/implants/implant_stealth.dm | 2 +-
.../objects/items/implants/implant_track.dm | 4 +-
.../objects/items/implants/implantchair.dm | 2 +-
code/game/objects/items/inducer.dm | 4 +-
code/game/objects/items/inspector.dm | 4 +-
code/game/objects/items/kitchen.dm | 12 ++--
code/game/objects/items/mail.dm | 12 ++--
code/game/objects/items/maintenance_loot.dm | 2 +-
code/game/objects/items/melee/baton.dm | 8 +--
code/game/objects/items/melee/energy.dm | 4 +-
code/game/objects/items/melee/misc.dm | 8 +--
code/game/objects/items/mop.dm | 4 +-
code/game/objects/items/pinpointer.dm | 2 +-
code/game/objects/items/plushes.dm | 4 +-
code/game/objects/items/pneumaticCannon.dm | 4 +-
code/game/objects/items/puzzle_pieces.dm | 2 +-
code/game/objects/items/religion.dm | 14 ++--
code/game/objects/items/robot/robot_items.dm | 16 ++---
code/game/objects/items/robot/robot_parts.dm | 4 +-
code/game/objects/items/shields.dm | 6 +-
code/game/objects/items/singularityhammer.dm | 4 +-
.../game/objects/items/stacks/sheets/glass.dm | 2 +-
code/game/objects/items/stacks/wrap.dm | 2 +-
code/game/objects/items/storage/backpack.dm | 4 +-
code/game/objects/items/storage/belt.dm | 4 +-
code/game/objects/items/storage/book.dm | 2 +-
code/game/objects/items/storage/boxes.dm | 6 +-
code/game/objects/items/storage/fancy.dm | 2 +-
code/game/objects/items/storage/firstaid.dm | 4 +-
code/game/objects/items/storage/holsters.dm | 4 +-
code/game/objects/items/storage/secure.dm | 2 +-
code/game/objects/items/storage/sixpack.dm | 2 +-
code/game/objects/items/storage/storage.dm | 2 +-
code/game/objects/items/storage/toolbox.dm | 2 +-
.../game/objects/items/storage/uplink_kits.dm | 2 +-
code/game/objects/items/storage/wallets.dm | 2 +-
code/game/objects/items/tanks/jetpack.dm | 4 +-
code/game/objects/items/tanks/tanks.dm | 2 +-
code/game/objects/items/tanks/watertank.dm | 14 ++--
code/game/objects/items/tcg/tcg.dm | 6 +-
code/game/objects/items/teleportation.dm | 2 +-
code/game/objects/items/theft_tools.dm | 4 +-
code/game/objects/items/tools/crowbar.dm | 2 +-
code/game/objects/items/tools/screwdriver.dm | 4 +-
code/game/objects/items/tools/weldingtool.dm | 2 +-
code/game/objects/items/tools/wirecutters.dm | 2 +-
code/game/objects/items/tools/wrench.dm | 2 +-
code/game/objects/items/toy_mechs.dm | 2 +-
code/game/objects/items/toys.dm | 16 ++---
code/game/objects/items/trash.dm | 2 +-
code/game/objects/items/weaponry.dm | 20 +++---
code/game/objects/structures.dm | 2 +-
code/game/objects/structures/ai_core.dm | 6 +-
code/game/objects/structures/aliens.dm | 2 +-
code/game/objects/structures/barsigns.dm | 2 +-
.../objects/structures/beds_chairs/bed.dm | 4 +-
.../objects/structures/beds_chairs/chair.dm | 4 +-
.../objects/structures/beds_chairs/pew.dm | 4 +-
.../objects/structures/beds_chairs/sofa.dm | 2 +-
code/game/objects/structures/bedsheet_bin.dm | 4 +-
code/game/objects/structures/bonfire.dm | 4 +-
.../game/objects/structures/cannons/cannon.dm | 2 +-
.../crates_lockers/closets/bodybag.dm | 4 +-
.../crates_lockers/closets/infinite.dm | 2 +-
.../crates_lockers/closets/secure/freezer.dm | 2 +-
.../structures/crates_lockers/crates.dm | 6 +-
.../structures/crates_lockers/crates/bins.dm | 2 +-
.../crates_lockers/crates/critter.dm | 2 +-
.../objects/structures/deployable_turret.dm | 2 +-
code/game/objects/structures/displaycase.dm | 4 +-
code/game/objects/structures/door_assembly.dm | 2 +-
code/game/objects/structures/electricchair.dm | 2 +-
code/game/objects/structures/false_walls.dm | 2 +-
code/game/objects/structures/fence.dm | 4 +-
code/game/objects/structures/fireaxe.dm | 2 +-
code/game/objects/structures/flora.dm | 64 +++++++++----------
code/game/objects/structures/guillotine.dm | 2 +-
code/game/objects/structures/hivebot.dm | 2 +-
code/game/objects/structures/holosign.dm | 4 +-
.../structures/icemoon/cave_entrance.dm | 6 +-
.../objects/structures/industrial_lift.dm | 2 +-
code/game/objects/structures/janicart.dm | 2 +-
code/game/objects/structures/ladders.dm | 2 +-
.../objects/structures/lavaland/geyser.dm | 2 +-
.../structures/lavaland/necropolis_tendril.dm | 4 +-
code/game/objects/structures/maintenance.dm | 2 +-
code/game/objects/structures/mineral_doors.dm | 4 +-
code/game/objects/structures/mop_bucket.dm | 2 +-
code/game/objects/structures/morgue.dm | 6 +-
code/game/objects/structures/plasticflaps.dm | 4 +-
code/game/objects/structures/railings.dm | 2 +-
code/game/objects/structures/reflector.dm | 2 +-
code/game/objects/structures/showcase.dm | 2 +-
code/game/objects/structures/shower.dm | 4 +-
code/game/objects/structures/signs/_signs.dm | 4 +-
code/game/objects/structures/spawner.dm | 2 +-
code/game/objects/structures/tables_racks.dm | 6 +-
.../game/objects/structures/tank_dispenser.dm | 2 +-
code/game/objects/structures/tank_holder.dm | 2 +-
.../structures/transit_tubes/station.dm | 2 +-
.../transit_tubes/transit_tube_pod.dm | 2 +-
code/game/objects/structures/traps.dm | 2 +-
code/game/objects/structures/watercloset.dm | 6 +-
.../objects/structures/windoor_assembly.dm | 2 +-
code/game/objects/structures/window.dm | 2 +-
code/game/turfs/baseturf_skipover.dm | 2 +-
code/game/turfs/closed/_closed.dm | 4 +-
code/game/turfs/closed/minerals.dm | 6 +-
code/game/turfs/closed/wall/misc_walls.dm | 2 +-
code/game/turfs/open/_open.dm | 2 +-
code/game/turfs/open/chasm.dm | 2 +-
code/game/turfs/open/floor/catwalk_plating.dm | 2 +-
code/game/turfs/open/floor/fancy_floor.dm | 8 +--
code/game/turfs/open/floor/light_floor.dm | 2 +-
code/game/turfs/open/floor/mineral_floor.dm | 4 +-
code/game/turfs/open/floor/misc_floor.dm | 2 +-
.../game/turfs/open/floor/plating/asteroid.dm | 4 +-
.../turfs/open/floor/plating/misc_plating.dm | 12 ++--
code/game/turfs/open/floor/plating/planet.dm | 2 +-
code/game/turfs/open/floor/reinf_floor.dm | 2 +-
code/game/turfs/open/glass.dm | 2 +-
code/game/turfs/open/openspace.dm | 4 +-
code/game/turfs/open/space/space.dm | 2 +-
code/game/turfs/open/space/transit.dm | 2 +-
code/modules/NTNet/relays.dm | 2 +-
code/modules/admin/fun_balloon.dm | 4 +-
.../abductor/equipment/abduction_gear.dm | 4 +-
.../antagonists/abductor/equipment/gland.dm | 2 +-
.../abductor/equipment/glands/chem.dm | 2 +-
.../abductor/machinery/dispenser.dm | 2 +-
.../antagonists/abductor/machinery/pad.dm | 2 +-
code/modules/antagonists/blob/blob_mobs.dm | 4 +-
.../antagonists/blob/structures/node.dm | 2 +-
.../changeling/powers/mutations.dm | 14 ++--
.../antagonists/clown_ops/clown_weapons.dm | 6 +-
code/modules/antagonists/cult/cult_items.dm | 16 ++---
.../antagonists/cult/cult_structures.dm | 2 +-
code/modules/antagonists/cult/ritual.dm | 2 +-
code/modules/antagonists/cult/runes.dm | 2 +-
.../eldritch_cult/eldritch_effects.dm | 6 +-
.../eldritch_cult/eldritch_items.dm | 2 +-
.../eldritch_cult/eldritch_magic.dm | 2 +-
code/modules/antagonists/morph/morph.dm | 2 +-
.../nightmare/nightmare_equipment.dm | 2 +-
.../nukeop/equipment/borgchameleon.dm | 2 +-
.../nukeop/equipment/nuclearbomb.dm | 6 +-
.../nukeop/equipment/pinpointer.dm | 2 +-
code/modules/antagonists/revenant/revenant.dm | 2 +-
.../revenant/revenant_abilities.dm | 2 +-
.../antagonists/slaughter/slaughter.dm | 2 +-
.../traitor/equipment/Malf_Modules.dm | 2 +-
.../antagonists/wizard/equipment/artefact.dm | 2 +-
.../antagonists/wizard/equipment/soulstone.dm | 2 +-
.../antagonists/wizard/equipment/spellbook.dm | 2 +-
code/modules/aquarium/aquarium.dm | 2 +-
code/modules/aquarium/aquarium_kit.dm | 4 +-
code/modules/art/paintings.dm | 2 +-
code/modules/art/statues.dm | 4 +-
code/modules/assembly/doorcontrol.dm | 2 +-
code/modules/assembly/igniter.dm | 2 +-
code/modules/assembly/infrared.dm | 2 +-
code/modules/assembly/mousetrap.dm | 2 +-
code/modules/assembly/proximity.dm | 2 +-
code/modules/assembly/shock_kit.dm | 2 +-
code/modules/assembly/signaler.dm | 2 +-
code/modules/assembly/timer.dm | 2 +-
code/modules/assembly/voice.dm | 2 +-
.../environmental/LINDA_turf_tile.dm | 2 +-
.../machinery/bluespace_vendor.dm | 2 +-
.../binary_devices/thermomachine.dm | 6 +-
.../components/binary_devices/valve.dm | 2 +-
.../machinery/components/components_base.dm | 2 +-
.../machinery/components/fusion/hfr_core.dm | 2 +-
.../machinery/components/fusion/hfr_parts.dm | 2 +-
.../gas_recipe_machines/crystallizer.dm | 2 +-
.../atmospherics/machinery/components/tank.dm | 4 +-
.../unary_devices/bluespace_sender.dm | 2 +-
.../components/unary_devices/cryo.dm | 2 +-
.../atmospherics/machinery/other/miner.dm | 2 +-
.../machinery/pipes/color_adapter.dm | 2 +-
.../machinery/pipes/heat_exchange/he_pipes.dm | 2 +-
.../machinery/pipes/layermanifold.dm | 2 +-
.../portable/portable_atmospherics.dm | 2 +-
code/modules/awaymissions/away_props.dm | 6 +-
code/modules/awaymissions/corpse.dm | 2 +-
code/modules/awaymissions/gateway.dm | 4 +-
.../awaymissions/mission_code/Academy.dm | 2 +-
.../awaymissions/mission_code/Cabin.dm | 2 +-
.../awaymissions/mission_code/murderdome.dm | 2 +-
.../mission_code/stationCollision.dm | 14 ++--
code/modules/awaymissions/signpost.dm | 4 +-
.../modules/awaymissions/super_secret_room.dm | 4 +-
code/modules/awaymissions/zlevel.dm | 2 +-
.../modules/capture_the_flag/ctf_equipment.dm | 12 ++--
code/modules/capture_the_flag/ctf_game.dm | 4 +-
.../cargo/blackmarket/blackmarket_telepad.dm | 2 +-
.../cargo/blackmarket/blackmarket_uplink.dm | 2 +-
code/modules/cargo/expressconsole.dm | 2 +-
code/modules/cargo/orderconsole.dm | 2 +-
code/modules/cargo/supplypod.dm | 2 +-
code/modules/clothing/chameleon.dm | 56 ++++++++--------
code/modules/clothing/clothing.dm | 2 +-
code/modules/clothing/glasses/_glasses.dm | 4 +-
.../clothing/glasses/engine_goggles.dm | 2 +-
code/modules/clothing/glasses/hud.dm | 2 +-
code/modules/clothing/gloves/color.dm | 6 +-
code/modules/clothing/gloves/special.dm | 2 +-
code/modules/clothing/head/_head.dm | 2 +-
code/modules/clothing/head/collectable.dm | 2 +-
code/modules/clothing/head/hardhat.dm | 2 +-
code/modules/clothing/head/helmet.dm | 8 +--
code/modules/clothing/head/jobs.dm | 4 +-
code/modules/clothing/head/sombrero.dm | 2 +-
code/modules/clothing/masks/animal_masks.dm | 2 +-
code/modules/clothing/masks/gas_filter.dm | 2 +-
code/modules/clothing/masks/gasmask.dm | 4 +-
code/modules/clothing/neck/_neck.dm | 2 +-
code/modules/clothing/shoes/bananashoes.dm | 2 +-
code/modules/clothing/shoes/clown.dm | 2 +-
code/modules/clothing/shoes/costume.dm | 2 +-
code/modules/clothing/shoes/cowboy.dm | 2 +-
code/modules/clothing/shoes/cult.dm | 2 +-
code/modules/clothing/shoes/galoshes.dm | 2 +-
code/modules/clothing/shoes/gunboots.dm | 2 +-
code/modules/clothing/shoes/wheelys.dm | 2 +-
.../modules/clothing/spacesuits/chronosuit.dm | 2 +-
code/modules/clothing/spacesuits/hardsuit.dm | 30 ++++-----
code/modules/clothing/spacesuits/plasmamen.dm | 2 +-
code/modules/clothing/suits/ablativecoat.dm | 2 +-
code/modules/clothing/suits/armor.dm | 10 +--
code/modules/clothing/suits/bio.dm | 8 +--
code/modules/clothing/suits/costume.dm | 4 +-
code/modules/clothing/suits/jobs.dm | 2 +-
code/modules/clothing/suits/labcoat.dm | 2 +-
.../modules/clothing/suits/reactive_armour.dm | 2 +-
code/modules/clothing/suits/toggles.dm | 4 +-
code/modules/clothing/suits/wintercoats.dm | 14 ++--
code/modules/clothing/under/_under.dm | 2 +-
code/modules/clothing/under/accessories.dm | 4 +-
code/modules/clothing/under/color.dm | 6 +-
code/modules/clothing/under/costume.dm | 4 +-
.../under/jobs/civilian/clown_mime.dm | 2 +-
code/modules/events/holiday/halloween.dm | 2 +-
code/modules/events/holiday/vday.dm | 4 +-
code/modules/events/holiday/xmas.dm | 2 +-
code/modules/events/pirates.dm | 4 +-
code/modules/events/shuttle_loan.dm | 2 +-
code/modules/events/wizard/magicarp.dm | 2 +-
code/modules/experisci/destructive_scanner.dm | 2 +-
code/modules/experisci/handheld_scanner.dm | 2 +-
code/modules/explorer_drone/exodrone.dm | 4 +-
code/modules/explorer_drone/loot.dm | 2 +-
code/modules/explorer_drone/scanner_array.dm | 4 +-
code/modules/fields/fields.dm | 2 +-
code/modules/flufftext/Hallucination.dm | 2 +-
code/modules/food_and_drinks/drinks/drinks.dm | 10 +--
.../food_and_drinks/drinks/drinks/bottle.dm | 8 +--
.../kitchen_machinery/deep_fryer.dm | 2 +-
.../kitchen_machinery/food_cart.dm | 2 +-
.../kitchen_machinery/gibber.dm | 2 +-
.../kitchen_machinery/griddle.dm | 2 +-
.../kitchen_machinery/grill.dm | 2 +-
.../kitchen_machinery/icecream_vat.dm | 2 +-
.../kitchen_machinery/microwave.dm | 2 +-
.../food_and_drinks/kitchen_machinery/oven.dm | 2 +-
.../kitchen_machinery/processor.dm | 2 +-
.../kitchen_machinery/smartfridge.dm | 4 +-
code/modules/food_and_drinks/pizzabox.dm | 6 +-
.../food_and_drinks/restaurant/_venue.dm | 4 +-
code/modules/holiday/easter.dm | 6 +-
code/modules/holiday/halloween.dm | 6 +-
code/modules/holodeck/holo_effect.dm | 4 +-
code/modules/holodeck/items.dm | 2 +-
code/modules/holodeck/turfs.dm | 14 ++--
code/modules/hydroponics/beekeeping/beebox.dm | 4 +-
.../hydroponics/beekeeping/honey_frame.dm | 2 +-
.../hydroponics/beekeeping/honeycomb.dm | 2 +-
code/modules/hydroponics/biogenerator.dm | 2 +-
code/modules/hydroponics/fermenting_barrel.dm | 4 +-
.../hydroponics/grown/cocoa_vanilla.dm | 2 +-
.../hydroponics/grown/rainbow_bunch.dm | 2 +-
code/modules/hydroponics/grown/random.dm | 4 +-
code/modules/hydroponics/grown/replicapod.dm | 2 +-
code/modules/hydroponics/hydroitemdefines.dm | 8 +--
code/modules/hydroponics/hydroponics.dm | 2 +-
code/modules/hydroponics/sample.dm | 2 +-
code/modules/instruments/items.dm | 6 +-
.../jobs/job_types/security_officer.dm | 2 +-
code/modules/language/language_manuals.dm | 6 +-
code/modules/library/lib_items.dm | 4 +-
code/modules/library/lib_machines.dm | 2 +-
code/modules/library/random_books.dm | 2 +-
.../skill_learning/job_skillchips/chef.dm | 2 +-
.../library/skill_learning/skill_station.dm | 2 +-
code/modules/mapping/mapping_helpers.dm | 6 +-
code/modules/meteors/meteors.dm | 6 +-
code/modules/mining/abandoned_crates.dm | 2 +-
code/modules/mining/aux_base.dm | 2 +-
.../modules/mining/equipment/explorer_gear.dm | 6 +-
.../mining/equipment/kinetic_crusher.dm | 2 +-
.../mining/equipment/mineral_scanner.dm | 4 +-
code/modules/mining/equipment/mining_tools.dm | 4 +-
.../mining/equipment/regenerative_core.dm | 4 +-
code/modules/mining/equipment/resonator.dm | 2 +-
code/modules/mining/equipment/survival_pod.dm | 2 +-
code/modules/mining/fulton.dm | 2 +-
code/modules/mining/laborcamp/laborstacker.dm | 2 +-
code/modules/mining/lavaland/ash_flora.dm | 4 +-
.../modules/mining/lavaland/megafauna_loot.dm | 10 +--
.../mining/lavaland/necropolis_chests.dm | 2 +-
code/modules/mining/lavaland/tendril_loot.dm | 18 +++---
code/modules/mining/machine_processing.dm | 4 +-
code/modules/mining/machine_stacking.dm | 2 +-
code/modules/mining/machine_vending.dm | 4 +-
code/modules/mining/mine_items.dm | 2 +-
code/modules/mining/minebot.dm | 2 +-
code/modules/mining/money_bag.dm | 2 +-
code/modules/mining/ores_coins.dm | 2 +-
code/modules/mob/dead/dead.dm | 2 +-
.../modules/mob/dead/new_player/new_player.dm | 2 +-
code/modules/mob/dead/observer/observer.dm | 2 +-
.../mob/living/basic/farm_animals/cows.dm | 4 +-
.../living/basic/ruin_defender/stickman.dm | 2 +-
.../mob/living/basic/vermin/cockroach.dm | 6 +-
code/modules/mob/living/bloodcrawl.dm | 2 +-
code/modules/mob/living/brain/MMI.dm | 4 +-
code/modules/mob/living/brain/brain.dm | 2 +-
code/modules/mob/living/brain/posibrain.dm | 2 +-
code/modules/mob/living/carbon/alien/alien.dm | 2 +-
.../carbon/alien/humanoid/caste/drone.dm | 2 +-
.../carbon/alien/humanoid/caste/praetorian.dm | 2 +-
.../carbon/alien/humanoid/caste/sentinel.dm | 2 +-
.../living/carbon/alien/humanoid/humanoid.dm | 2 +-
.../mob/living/carbon/alien/humanoid/queen.dm | 6 +-
.../mob/living/carbon/alien/larva/larva.dm | 2 +-
.../modules/mob/living/carbon/alien/organs.dm | 2 +-
.../carbon/alien/special/alien_embryo.dm | 2 +-
code/modules/mob/living/carbon/human/human.dm | 4 +-
.../mob/living/carbon/human/monkey/monkey.dm | 4 +-
.../carbon/human/species_types/flypeople.dm | 12 ++--
.../carbon/human/species_types/jellypeople.dm | 2 +-
.../carbon/human/species_types/snail.dm | 2 +-
.../modules/mob/living/carbon/init_signals.dm | 2 +-
code/modules/mob/living/init_signals.dm | 2 +-
.../mob/living/silicon/ai/freelook/eye.dm | 2 +-
.../modules/mob/living/silicon/ai/multicam.dm | 4 +-
code/modules/mob/living/silicon/pai/pai.dm | 2 +-
.../modules/mob/living/silicon/robot/robot.dm | 2 +-
.../mob/living/silicon/robot/robot_defines.dm | 2 +-
.../mob/living/silicon/robot/robot_model.dm | 2 +-
.../mob/living/silicon/robot/robot_modules.dm | 2 +-
code/modules/mob/living/silicon/silicon.dm | 2 +-
.../living/simple_animal/bot/SuperBeepsky.dm | 2 +-
.../mob/living/simple_animal/bot/bot.dm | 4 +-
.../mob/living/simple_animal/bot/cleanbot.dm | 2 +-
.../living/simple_animal/bot/construction.dm | 2 +-
.../mob/living/simple_animal/bot/honkbot.dm | 2 +-
.../living/simple_animal/bot/hygienebot.dm | 2 +-
.../mob/living/simple_animal/bot/secbot.dm | 4 +-
.../mob/living/simple_animal/bot/vibebot.dm | 2 +-
.../mob/living/simple_animal/constructs.dm | 6 +-
.../living/simple_animal/eldritch_demons.dm | 4 +-
.../mob/living/simple_animal/friendly/ant.dm | 2 +-
.../simple_animal/friendly/butterfly.dm | 2 +-
.../mob/living/simple_animal/friendly/cat.dm | 4 +-
.../mob/living/simple_animal/friendly/crab.dm | 2 +-
.../mob/living/simple_animal/friendly/dog.dm | 12 ++--
.../simple_animal/friendly/drone/_drone.dm | 2 +-
.../friendly/drone/drone_tools.dm | 2 +-
.../friendly/drone/drones_as_items.dm | 2 +-
.../friendly/drone/extra_drone_types.dm | 10 +--
.../simple_animal/friendly/farm_animals.dm | 6 +-
.../mob/living/simple_animal/friendly/fox.dm | 2 +-
.../living/simple_animal/friendly/gondola.dm | 2 +-
.../living/simple_animal/friendly/lizard.dm | 2 +-
.../living/simple_animal/friendly/mouse.dm | 6 +-
.../living/simple_animal/friendly/penguin.dm | 2 +-
.../mob/living/simple_animal/friendly/pet.dm | 2 +-
.../simple_animal/guardian/types/assassin.dm | 2 +-
.../simple_animal/guardian/types/support.dm | 2 +-
.../mob/living/simple_animal/hostile/bear.dm | 2 +-
.../mob/living/simple_animal/hostile/bees.dm | 8 +--
.../simple_animal/hostile/bosses/boss.dm | 2 +-
.../hostile/bosses/paperwizard.dm | 2 +-
.../mob/living/simple_animal/hostile/carp.dm | 4 +-
.../living/simple_animal/hostile/eyeballs.dm | 2 +-
.../living/simple_animal/hostile/faithless.dm | 2 +-
.../simple_animal/hostile/giant_spider.dm | 8 +--
.../mob/living/simple_animal/hostile/goose.dm | 4 +-
.../living/simple_animal/hostile/headcrab.dm | 2 +-
.../living/simple_animal/hostile/hivebot.dm | 4 +-
.../simple_animal/hostile/jungle/leaper.dm | 6 +-
.../simple_animal/hostile/killertomato.dm | 2 +-
.../simple_animal/hostile/mecha_pilot.dm | 4 +-
.../hostile/megafauna/blood_drunk_miner.dm | 2 +-
.../hostile/megafauna/bubblegum.dm | 2 +-
.../hostile/megafauna/colossus.dm | 8 +--
.../hostile/megafauna/demonic_frost_miner.dm | 6 +-
.../simple_animal/hostile/megafauna/drake.dm | 2 +-
.../hostile/megafauna/hierophant.dm | 2 +-
.../simple_animal/hostile/megafauna/legion.dm | 2 +-
.../hostile/megafauna/swarmer.dm | 4 +-
.../hostile/megafauna/wendigo.dm | 2 +-
.../mob/living/simple_animal/hostile/mimic.dm | 2 +-
.../hostile/mining_mobs/basilisk.dm | 4 +-
.../hostile/mining_mobs/elites/herald.dm | 2 +-
.../hostile/mining_mobs/elites/legionnaire.dm | 4 +-
.../hostile/mining_mobs/goldgrub.dm | 2 +-
.../hostile/mining_mobs/goliath.dm | 4 +-
.../hostile/mining_mobs/gutlunch.dm | 6 +-
.../hostile/mining_mobs/hivelord.dm | 10 +--
.../hostile/mining_mobs/ice demon.dm | 2 +-
.../living/simple_animal/hostile/mushroom.dm | 2 +-
.../simple_animal/hostile/netherworld.dm | 6 +-
.../mob/living/simple_animal/hostile/ooze.dm | 6 +-
.../living/simple_animal/hostile/pirate.dm | 8 +--
.../living/simple_animal/hostile/regalrat.dm | 6 +-
.../simple_animal/hostile/retaliate/bat.dm | 4 +-
.../simple_animal/hostile/retaliate/clown.dm | 6 +-
.../simple_animal/hostile/retaliate/frog.dm | 2 +-
.../simple_animal/hostile/retaliate/ghost.dm | 2 +-
.../living/simple_animal/hostile/skeleton.dm | 2 +-
.../living/simple_animal/hostile/syndicate.dm | 16 ++---
.../mob/living/simple_animal/hostile/tree.dm | 2 +-
.../living/simple_animal/hostile/vatbeast.dm | 2 +-
.../simple_animal/hostile/venus_human_trap.dm | 2 +-
.../living/simple_animal/hostile/wizard.dm | 2 +-
.../simple_animal/hostile/wumborian_fugu.dm | 2 +-
.../mob/living/simple_animal/parrot.dm | 6 +-
.../modules/mob/living/simple_animal/shade.dm | 2 +-
.../computers/item/computer.dm | 2 +-
.../computers/item/laptop.dm | 2 +-
.../computers/item/laptop_presets.dm | 2 +-
.../computers/item/tablet.dm | 2 +-
.../computers/item/tablet_presets.dm | 22 +++----
.../computers/machinery/console_presets.dm | 2 +-
.../computers/machinery/modular_computer.dm | 2 +-
.../computers/machinery/modular_console.dm | 4 +-
.../modular_computers/hardware/hard_drive.dm | 2 +-
code/modules/ninja/energy_katana.dm | 2 +-
code/modules/ninja/suit/suit.dm | 2 +-
code/modules/paperwork/clipboard.dm | 2 +-
code/modules/paperwork/contract.dm | 2 +-
code/modules/paperwork/filingcabinet.dm | 2 +-
code/modules/paperwork/folders.dm | 2 +-
code/modules/paperwork/folders_premade.dm | 8 +--
code/modules/paperwork/paper.dm | 6 +-
code/modules/paperwork/paper_cutter.dm | 4 +-
code/modules/paperwork/pen.dm | 6 +-
code/modules/paperwork/photocopier.dm | 2 +-
code/modules/paperwork/ticketmachine.dm | 6 +-
code/modules/photography/photos/album.dm | 2 +-
code/modules/power/cell.dm | 20 +++---
code/modules/power/gravitygenerator.dm | 4 +-
code/modules/power/lighting/light_items.dm | 2 +-
.../power/lighting/light_mapping_helpers.dm | 4 +-
code/modules/power/monitor.dm | 2 +-
code/modules/power/port_gen.dm | 6 +-
code/modules/power/rtg.dm | 2 +-
code/modules/power/singularity/boh_tear.dm | 2 +-
code/modules/power/singularity/collector.dm | 2 +-
.../power/singularity/containment_field.dm | 2 +-
code/modules/power/singularity/emitter.dm | 6 +-
.../power/singularity/field_generator.dm | 4 +-
code/modules/power/singularity/narsie.dm | 2 +-
code/modules/power/smes.dm | 2 +-
code/modules/power/solar.dm | 2 +-
code/modules/power/supermatter/supermatter.dm | 2 +-
code/modules/power/terminal.dm | 2 +-
code/modules/power/tesla/coil.dm | 2 +-
code/modules/power/turbine.dm | 6 +-
.../projectiles/ammunition/_ammunition.dm | 2 +-
.../ammunition/ballistic/shotgun.dm | 4 +-
.../boxes_magazines/_box_magazine.dm | 2 +-
.../boxes_magazines/internal/revolver.dm | 2 +-
code/modules/projectiles/gun.dm | 2 +-
code/modules/projectiles/guns/ballistic.dm | 2 +-
.../projectiles/guns/ballistic/automatic.dm | 14 ++--
.../projectiles/guns/ballistic/launchers.dm | 2 +-
.../projectiles/guns/ballistic/shotgun.dm | 4 +-
.../modules/projectiles/guns/ballistic/toy.dm | 2 +-
code/modules/projectiles/guns/energy.dm | 2 +-
.../projectiles/guns/energy/beam_rifle.dm | 2 +-
.../projectiles/guns/energy/dueling.dm | 2 +-
.../projectiles/guns/energy/energy_gun.dm | 2 +-
.../guns/energy/kinetic_accelerator.dm | 2 +-
.../projectiles/guns/energy/laser_gatling.dm | 4 +-
code/modules/projectiles/guns/energy/pulse.dm | 2 +-
.../projectiles/guns/energy/special.dm | 2 +-
code/modules/projectiles/guns/magic.dm | 2 +-
code/modules/projectiles/guns/magic/staff.dm | 2 +-
code/modules/projectiles/guns/magic/wand.dm | 2 +-
.../projectiles/guns/special/blastcannon.dm | 2 +-
.../projectiles/guns/special/chem_gun.dm | 2 +-
.../projectiles/guns/special/medbeam.dm | 4 +-
.../projectiles/guns/special/syringe_gun.dm | 4 +-
code/modules/projectiles/projectile.dm | 2 +-
code/modules/projectiles/projectile/beams.dm | 2 +-
.../projectile/bullets/dart_syringe.dm | 6 +-
.../projectiles/projectile/bullets/shotgun.dm | 4 +-
.../projectiles/projectile/bullets/special.dm | 2 +-
.../projectile/energy/net_snare.dm | 4 +-
.../projectile/energy/nuclear_particle.dm | 2 +-
code/modules/projectiles/projectile/magic.dm | 4 +-
.../projectiles/projectile/special/gravity.dm | 6 +-
code/modules/reagents/chemistry/items.dm | 2 +-
.../chemistry/machinery/chem_dispenser.dm | 10 +--
.../chemistry/machinery/chem_heater.dm | 6 +-
.../chemistry/machinery/chem_master.dm | 2 +-
.../chemistry/machinery/chem_recipe_debug.dm | 2 +-
.../reagents/chemistry/machinery/pandemic.dm | 2 +-
.../chemistry/machinery/reagentgrinder.dm | 4 +-
.../chemistry/machinery/smoke_machine.dm | 2 +-
.../reagents/chemistry/recipes/special.dm | 2 +-
.../reagents/reagent_containers/blood_pack.dm | 4 +-
.../reagents/reagent_containers/borghydro.dm | 2 +-
.../reagents/reagent_containers/bottle.dm | 6 +-
.../reagents/reagent_containers/glass.dm | 2 +-
.../reagents/reagent_containers/pill.dm | 4 +-
.../reagents/reagent_containers/spray.dm | 6 +-
.../reagents/reagent_containers/syringes.dm | 4 +-
code/modules/reagents/reagent_dispenser.dm | 4 +-
code/modules/recycling/conveyor2.dm | 4 +-
code/modules/recycling/disposal/pipe.dm | 2 +-
.../recycling/disposal/pipe_sorting.dm | 2 +-
code/modules/recycling/sortingmachinery.dm | 4 +-
code/modules/religion/religion_structures.dm | 2 +-
code/modules/religion/rites.dm | 2 +-
.../religion/sparring/ceremonial_gear.dm | 2 +-
.../religion/sparring/sparring_contract.dm | 2 +-
.../research/anomaly/explosive_compressor.dm | 2 +-
code/modules/research/designs.dm | 2 +-
.../research/designs/limbgrower_designs.dm | 2 +-
code/modules/research/experimentor.dm | 4 +-
code/modules/research/rdconsole.dm | 2 +-
code/modules/research/rdmachines.dm | 2 +-
code/modules/research/research_disk.dm | 8 +--
code/modules/research/server.dm | 2 +-
code/modules/research/stock_parts.dm | 4 +-
.../xenobiology/crossbreeding/__corecross.dm | 8 +--
.../xenobiology/crossbreeding/_misc.dm | 2 +-
.../xenobiology/crossbreeding/_weapons.dm | 2 +-
.../xenobiology/crossbreeding/burning.dm | 2 +-
.../xenobiology/crossbreeding/charged.dm | 2 +-
.../xenobiology/crossbreeding/chilling.dm | 2 +-
.../xenobiology/crossbreeding/consuming.dm | 2 +-
.../xenobiology/crossbreeding/industrial.dm | 2 +-
.../xenobiology/crossbreeding/recurring.dm | 2 +-
.../xenobiology/crossbreeding/regenerative.dm | 2 +-
.../xenobiology/crossbreeding/reproductive.dm | 2 +-
.../crossbreeding/selfsustaining.dm | 4 +-
.../xenobiology/crossbreeding/stabilized.dm | 4 +-
.../xenobiology/vatgrowing/biopsy_tool.dm | 2 +-
.../xenobiology/vatgrowing/petri_dish.dm | 2 +-
.../research/xenobiology/vatgrowing/swab.dm | 2 +-
.../research/xenobiology/xenobio_camera.dm | 2 +-
.../research/xenobiology/xenobiology.dm | 2 +-
code/modules/ruins/icemoonruin_code/wrath.dm | 2 +-
code/modules/ruins/lavaland_ruin_code.dm | 8 +--
.../lavalandruin_code/elephantgraveyard.dm | 4 +-
.../ruins/objects_and_mobs/ash_walker_den.dm | 2 +-
.../ruins/objects_and_mobs/necropolis_gate.dm | 6 +-
.../ruins/objects_and_mobs/sin_ruins.dm | 2 +-
.../ruins/spaceruin_code/caravanambush.dm | 2 +-
.../ruins/spaceruin_code/clericsden.dm | 2 +-
.../ruins/spaceruin_code/hilbertshotel.dm | 6 +-
.../security_levels/keycard_authentication.dm | 2 +-
code/modules/shuttle/emergency.dm | 2 +-
code/modules/shuttle/shuttle.dm | 2 +-
.../shuttle/spaceship_navigation_beacon.dm | 2 +-
code/modules/shuttle/special.dm | 6 +-
code/modules/shuttle/white_ship.dm | 2 +-
code/modules/spells/spell.dm | 2 +-
code/modules/spells/spell_types/godhand.dm | 2 +-
code/modules/spells/spell_types/trigger.dm | 2 +-
code/modules/station_goals/dna_vault.dm | 2 +-
code/modules/station_goals/shield.dm | 2 +-
code/modules/surgery/organs/augments_arms.dm | 6 +-
code/modules/surgery/organs/eyes.dm | 2 +-
code/modules/surgery/organs/heart.dm | 2 +-
code/modules/surgery/organs/liver.dm | 2 +-
code/modules/surgery/organs/organ_internal.dm | 4 +-
.../surgery/organs/stomach/_stomach.dm | 2 +-
code/modules/surgery/organs/tails.dm | 2 +-
code/modules/surgery/organs/tongue.dm | 2 +-
code/modules/surgery/surgery.dm | 2 +-
code/modules/surgery/tools.dm | 12 ++--
code/modules/swarmers/swarmer.dm | 2 +-
code/modules/swarmers/swarmer_objs.dm | 6 +-
code/modules/unit_tests/connect_loc.dm | 2 +-
code/modules/uplink/uplink_devices.dm | 2 +-
code/modules/vehicles/atv.dm | 4 +-
code/modules/vehicles/bicycle.dm | 2 +-
code/modules/vehicles/cars/clowncar.dm | 2 +-
code/modules/vehicles/lavaboat.dm | 4 +-
code/modules/vehicles/mecha/combat/durand.dm | 2 +-
code/modules/vehicles/mecha/combat/gygax.dm | 2 +-
code/modules/vehicles/mecha/combat/honker.dm | 2 +-
.../modules/vehicles/mecha/combat/marauder.dm | 8 +--
.../vehicles/mecha/combat/reticence.dm | 2 +-
.../mecha/equipment/tools/medical_tools.dm | 6 +-
.../mecha/equipment/tools/mining_tools.dm | 4 +-
.../mecha/equipment/tools/other_tools.dm | 2 +-
.../mecha/equipment/tools/work_tools.dm | 4 +-
code/modules/vehicles/mecha/mech_bay.dm | 4 +-
code/modules/vehicles/mecha/mecha_parts.dm | 2 +-
code/modules/vehicles/mecha/working/clarke.dm | 2 +-
code/modules/vehicles/mecha/working/ripley.dm | 12 ++--
code/modules/vehicles/scooter.dm | 4 +-
code/modules/vehicles/secway.dm | 2 +-
code/modules/vehicles/speedbike.dm | 4 +-
code/modules/vehicles/wheelchair.dm | 2 +-
.../wiremod/components/abstract/module.dm | 2 +-
code/modules/wiremod/core/component.dm | 2 +-
.../modules/wiremod/core/component_printer.dm | 2 +-
.../wiremod/core/integrated_circuit.dm | 4 +-
code/modules/wiremod/core/usb_cable.dm | 2 +-
code/modules/wiremod/preset/hello_world.dm | 2 +-
code/modules/wiremod/preset/speech_relay.dm | 2 +-
code/modules/wiremod/shell/airlock.dm | 2 +-
code/modules/wiremod/shell/bot.dm | 2 +-
.../wiremod/shell/brain_computer_interface.dm | 4 +-
code/modules/wiremod/shell/compact_remote.dm | 2 +-
code/modules/wiremod/shell/controller.dm | 2 +-
code/modules/wiremod/shell/drone.dm | 2 +-
code/modules/wiremod/shell/gun.dm | 4 +-
code/modules/wiremod/shell/moneybot.dm | 2 +-
code/modules/wiremod/shell/scanner.dm | 2 +-
code/modules/wiremod/shell/scanner_gate.dm | 2 +-
code/modules/wiremod/shell/server.dm | 2 +-
code/modules/zombie/items.dm | 2 +-
code/modules/zombie/organs.dm | 2 +-
843 files changed, 1566 insertions(+), 1566 deletions(-)
diff --git a/.github/guides/HARDDELETES.md b/.github/guides/HARDDELETES.md
index 4790150ea0d..7c1d50e22b3 100644
--- a/.github/guides/HARDDELETES.md
+++ b/.github/guides/HARDDELETES.md
@@ -137,7 +137,7 @@ Once you've found the issue, it becomes a matter of making sure the ref is clear
First and simplest we have `Destroy()`. Use this to clean up after yourself for simple cases
```dm
-/someobject/Initialize()
+/someobject/Initialize(mapload)
. = ..()
GLOB.somethings += src //We add ourselves to some global list
@@ -157,12 +157,12 @@ This is helpful when for cases where both objects "own" each other
/someotherobject
var/someobject/friend
-/someobject/Initialize()
+/someobject/Initialize(mapload)
if(!buddy)
buddy = new()
buddy.friend = src
-/someotherobject/Initialize()
+/someotherobject/Initialize(mapload)
if(!friend)
friend = new()
friend.buddy = src
diff --git a/code/__HELPERS/unsorted.dm b/code/__HELPERS/unsorted.dm
index 26d01846841..0b07a3cca87 100644
--- a/code/__HELPERS/unsorted.dm
+++ b/code/__HELPERS/unsorted.dm
@@ -1149,7 +1149,7 @@ GLOBAL_DATUM_INIT(dview_mob, /mob/dview, new)
move_resist = INFINITY
var/ready_to_die = FALSE
-/mob/dview/Initialize() //Properly prevents this mob from gaining huds or joining any global lists
+/mob/dview/Initialize(mapload) //Properly prevents this mob from gaining huds or joining any global lists
SHOULD_CALL_PARENT(FALSE)
if(flags_1 & INITIALIZED_1)
stack_trace("Warning: [src]([type]) initialized multiple times!")
diff --git a/code/_onclick/hud/action_button.dm b/code/_onclick/hud/action_button.dm
index 3b917f3a194..6d609299a05 100644
--- a/code/_onclick/hud/action_button.dm
+++ b/code/_onclick/hud/action_button.dm
@@ -75,7 +75,7 @@
var/mutable_appearance/hide_appearance
var/mutable_appearance/show_appearance
-/atom/movable/screen/movable/action_button/hide_toggle/Initialize()
+/atom/movable/screen/movable/action_button/hide_toggle/Initialize(mapload)
. = ..()
var/static/list/icon_cache = list()
diff --git a/code/_onclick/hud/alert.dm b/code/_onclick/hud/alert.dm
index 5bae095928d..a4cf2d93a8c 100644
--- a/code/_onclick/hud/alert.dm
+++ b/code/_onclick/hud/alert.dm
@@ -460,7 +460,7 @@ or shoot a gun to move around via Newton's 3rd Law of Motion."
var/angle = 0
var/mob/living/simple_animal/hostile/construct/Cviewer = null
-/atom/movable/screen/alert/bloodsense/Initialize()
+/atom/movable/screen/alert/bloodsense/Initialize(mapload)
. = ..()
narnar = new('icons/hud/screen_alert.dmi', "mini_nar")
START_PROCESSING(SSprocessing, src)
diff --git a/code/_onclick/hud/blob_overmind.dm b/code/_onclick/hud/blob_overmind.dm
index dd3224c5500..a157e2157b8 100644
--- a/code/_onclick/hud/blob_overmind.dm
+++ b/code/_onclick/hud/blob_overmind.dm
@@ -58,7 +58,7 @@
name = "Produce Blobbernaut (ERROR)"
desc = "Produces a strong, smart blobbernaut from a factory blob for (ERROR) resources.
The factory blob used will become fragile and unable to produce spores."
-/atom/movable/screen/blob/blobbernaut/Initialize()
+/atom/movable/screen/blob/blobbernaut/Initialize(mapload)
. = ..()
name = "Produce Blobbernaut ([BLOBMOB_BLOBBERNAUT_RESOURCE_COST])"
desc = "Produces a strong, smart blobbernaut from a factory blob for [BLOBMOB_BLOBBERNAUT_RESOURCE_COST] resources.
The factory blob used will become fragile and unable to produce spores."
@@ -74,7 +74,7 @@
name = "Produce Resource Blob (ERROR)"
desc = "Produces a resource blob for ERROR resources.
Resource blobs will give you resources every few seconds."
-/atom/movable/screen/blob/resource_blob/Initialize()
+/atom/movable/screen/blob/resource_blob/Initialize(mapload)
. = ..()
name = "Produce Resource Blob ([BLOB_STRUCTURE_RESOURCE_COST])"
desc = "Produces a resource blob for [BLOB_STRUCTURE_RESOURCE_COST] resources.
Resource blobs will give you resources every few seconds."
@@ -90,7 +90,7 @@
name = "Produce Node Blob (ERROR)"
desc = "Produces a node blob for ERROR resources.
Node blobs will expand and activate nearby resource and factory blobs."
-/atom/movable/screen/blob/node_blob/Initialize()
+/atom/movable/screen/blob/node_blob/Initialize(mapload)
. = ..()
name = "Produce Node Blob ([BLOB_STRUCTURE_NODE_COST])"
desc = "Produces a node blob for [BLOB_STRUCTURE_NODE_COST] resources.
Node blobs will expand and activate nearby resource and factory blobs."
@@ -106,7 +106,7 @@
name = "Produce Factory Blob (ERROR)"
desc = "Produces a factory blob for ERROR resources.
Factory blobs will produce spores every few seconds."
-/atom/movable/screen/blob/factory_blob/Initialize()
+/atom/movable/screen/blob/factory_blob/Initialize(mapload)
. = ..()
name = "Produce Factory Blob ([BLOB_STRUCTURE_FACTORY_COST])"
desc = "Produces a factory blob for [BLOB_STRUCTURE_FACTORY_COST] resources.
Factory blobs will produce spores every few seconds."
@@ -144,7 +144,7 @@
name = "Relocate Core (ERROR)"
desc = "Swaps a node and your core for ERROR resources."
-/atom/movable/screen/blob/relocate_core/Initialize()
+/atom/movable/screen/blob/relocate_core/Initialize(mapload)
. = ..()
name = "Relocate Core ([BLOB_POWER_RELOCATE_COST])"
desc = "Swaps a node and your core for [BLOB_POWER_RELOCATE_COST] resources."
diff --git a/code/_onclick/hud/families.dm b/code/_onclick/hud/families.dm
index ba4a67d073f..b89ff061750 100644
--- a/code/_onclick/hud/families.dm
+++ b/code/_onclick/hud/families.dm
@@ -10,7 +10,7 @@
/// Boolean, have the cops arrived? If so, the icon stops changing and remains the same.
var/cops_arrived = 0
-/atom/movable/screen/wanted/Initialize()
+/atom/movable/screen/wanted/Initialize(mapload)
. = ..()
update_appearance()
diff --git a/code/_onclick/hud/picture_in_picture.dm b/code/_onclick/hud/picture_in_picture.dm
index e5e5cfe8ff4..8814e4e43c1 100644
--- a/code/_onclick/hud/picture_in_picture.dm
+++ b/code/_onclick/hud/picture_in_picture.dm
@@ -13,7 +13,7 @@
var/mutable_appearance/standard_background
-/atom/movable/screen/movable/pic_in_pic/Initialize()
+/atom/movable/screen/movable/pic_in_pic/Initialize(mapload)
. = ..()
make_backgrounds()
diff --git a/code/_onclick/hud/plane_master.dm b/code/_onclick/hud/plane_master.dm
index 0c06fa5a258..187b832b38f 100644
--- a/code/_onclick/hud/plane_master.dm
+++ b/code/_onclick/hud/plane_master.dm
@@ -24,7 +24,7 @@
blend_mode = BLEND_MULTIPLY
alpha = 255
-/atom/movable/screen/plane_master/openspace/Initialize()
+/atom/movable/screen/plane_master/openspace/Initialize(mapload)
. = ..()
add_filter("multiz_lighting_mask", 1, alpha_mask_filter(render_source = LIGHTING_RENDER_TARGET, flags = MASK_INVERSE))
add_filter("first_stage_openspace", 2, drop_shadow_filter(color = "#04080FAA", size = -10))
@@ -128,7 +128,7 @@
* This is then used to alpha mask the lighting plane.
*/
-/atom/movable/screen/plane_master/lighting/Initialize()
+/atom/movable/screen/plane_master/lighting/Initialize(mapload)
. = ..()
add_filter("emissives", 1, alpha_mask_filter(render_source = EMISSIVE_RENDER_TARGET, flags = MASK_INVERSE))
add_filter("object_lighting", 2, alpha_mask_filter(render_source = O_LIGHTING_VISUAL_RENDER_TARGET, flags = MASK_INVERSE))
@@ -143,7 +143,7 @@
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
render_target = EMISSIVE_RENDER_TARGET
-/atom/movable/screen/plane_master/emissive/Initialize()
+/atom/movable/screen/plane_master/emissive/Initialize(mapload)
. = ..()
add_filter("em_block_masking", 1, color_matrix_filter(GLOB.em_mask_matrix))
diff --git a/code/_onclick/hud/screen_objects.dm b/code/_onclick/hud/screen_objects.dm
index 46db4ce4cff..6922e6d4395 100644
--- a/code/_onclick/hud/screen_objects.dm
+++ b/code/_onclick/hud/screen_objects.dm
@@ -266,7 +266,7 @@
icon_state = "combat_off"
screen_loc = ui_combat_toggle
-/atom/movable/screen/combattoggle/Initialize()
+/atom/movable/screen/combattoggle/Initialize(mapload)
. = ..()
update_appearance()
diff --git a/code/_onclick/telekinesis.dm b/code/_onclick/telekinesis.dm
index 788cc1b5441..74464c01d54 100644
--- a/code/_onclick/telekinesis.dm
+++ b/code/_onclick/telekinesis.dm
@@ -96,7 +96,7 @@
var/atom/movable/focus
var/mob/living/carbon/tk_user
-/obj/item/tk_grab/Initialize()
+/obj/item/tk_grab/Initialize(mapload)
. = ..()
START_PROCESSING(SSfastprocess, src)
diff --git a/code/controllers/subsystem/atoms.dm b/code/controllers/subsystem/atoms.dm
index 87eaf03a5f7..68f905e6c9f 100644
--- a/code/controllers/subsystem/atoms.dm
+++ b/code/controllers/subsystem/atoms.dm
@@ -170,7 +170,7 @@ SUBSYSTEM_DEF(atoms)
. += "Path : [path] \n"
var/fails = BadInitializeCalls[path]
if(fails & BAD_INIT_DIDNT_INIT)
- . += "- Didn't call atom/Initialize()\n"
+ . += "- Didn't call atom/Initialize(mapload)\n"
if(fails & BAD_INIT_NO_HINT)
. += "- Didn't return an Initialize hint\n"
if(fails & BAD_INIT_QDEL_BEFORE)
diff --git a/code/controllers/subsystem/job.dm b/code/controllers/subsystem/job.dm
index b8b7d815321..5d8f651f94f 100644
--- a/code/controllers/subsystem/job.dm
+++ b/code/controllers/subsystem/job.dm
@@ -797,7 +797,7 @@ SUBSYSTEM_DEF(job)
name = "Nanotrasen-Approved Spare ID Safe Code"
desc = "Proof that you have been approved for Captaincy, with all its glory and all its horror."
-/obj/item/paper/fluff/spare_id_safe_code/Initialize()
+/obj/item/paper/fluff/spare_id_safe_code/Initialize(mapload)
. = ..()
var/safe_code = SSid_access.spare_id_safe_code
@@ -808,7 +808,7 @@ SUBSYSTEM_DEF(job)
name = "Emergency Spare ID Safe Code Requisition"
desc = "Proof that nobody has been approved for Captaincy. A skeleton key for a skeleton shift."
-/obj/item/paper/fluff/emergency_spare_id_safe_code/Initialize()
+/obj/item/paper/fluff/emergency_spare_id_safe_code/Initialize(mapload)
. = ..()
var/safe_code = SSid_access.spare_id_safe_code
diff --git a/code/datums/brain_damage/special.dm b/code/datums/brain_damage/special.dm
index 202d3443d77..3277a5436e0 100644
--- a/code/datums/brain_damage/special.dm
+++ b/code/datums/brain_damage/special.dm
@@ -104,7 +104,7 @@
var/obj/effect/hallucination/simple/bluespace_stream/linked_to
var/mob/living/carbon/seer
-/obj/effect/hallucination/simple/bluespace_stream/Initialize()
+/obj/effect/hallucination/simple/bluespace_stream/Initialize(mapload)
. = ..()
QDEL_IN(src, 300)
@@ -378,7 +378,7 @@
image_state = "secbot-c"
var/victim
-/obj/effect/hallucination/simple/securitron/Initialize()
+/obj/effect/hallucination/simple/securitron/Initialize(mapload)
. = ..()
name = pick("officer Beepsky", "officer Johnson", "officer Pingsky")
START_PROCESSING(SSfastprocess, src)
diff --git a/code/datums/components/trapdoor.dm b/code/datums/components/trapdoor.dm
index 8d841cd5504..62e0089aa07 100644
--- a/code/datums/components/trapdoor.dm
+++ b/code/datums/components/trapdoor.dm
@@ -264,6 +264,6 @@
///subtype with internals already included. If you're giving a department a roundstart trapdoor, this is what you want
/obj/item/trapdoor_remote/preloaded
-/obj/item/trapdoor_remote/preloaded/Initialize()
+/obj/item/trapdoor_remote/preloaded/Initialize(mapload)
. = ..()
internals = new(src)
diff --git a/code/datums/components/twohanded.dm b/code/datums/components/twohanded.dm
index 24399d3e8aa..c2d129af634 100644
--- a/code/datums/components/twohanded.dm
+++ b/code/datums/components/twohanded.dm
@@ -328,7 +328,7 @@
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
var/wielded = FALSE // Off Hand tracking of wielded status
-/obj/item/offhand/Initialize()
+/obj/item/offhand/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, ABSTRACT_ITEM_TRAIT)
diff --git a/code/datums/martial/sleeping_carp.dm b/code/datums/martial/sleeping_carp.dm
index d03320642ee..357afca9957 100644
--- a/code/datums/martial/sleeping_carp.dm
+++ b/code/datums/martial/sleeping_carp.dm
@@ -169,7 +169,7 @@
block_chance = 50
var/wielded = FALSE // track wielded status on item
-/obj/item/staff/bostaff/Initialize()
+/obj/item/staff/bostaff/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_TWOHANDED_WIELD, .proc/on_wield)
RegisterSignal(src, COMSIG_TWOHANDED_UNWIELD, .proc/on_unwield)
diff --git a/code/datums/status_effects/debuffs.dm b/code/datums/status_effects/debuffs.dm
index 25432057ba6..0a32c78829d 100644
--- a/code/datums/status_effects/debuffs.dm
+++ b/code/datums/status_effects/debuffs.dm
@@ -623,7 +623,7 @@
/obj/effect/temp_visual/curse
icon_state = "curse"
-/obj/effect/temp_visual/curse/Initialize()
+/obj/effect/temp_visual/curse/Initialize(mapload)
. = ..()
deltimer(timerid)
diff --git a/code/game/area/ai_monitored.dm b/code/game/area/ai_monitored.dm
index 391e6ac1ca8..7ca981cbcc0 100644
--- a/code/game/area/ai_monitored.dm
+++ b/code/game/area/ai_monitored.dm
@@ -30,6 +30,6 @@
cam.lostTargetRef(WEAKREF(gone))
return
-/area/ai_monitored/turret_protected/ai/Initialize()
+/area/ai_monitored/turret_protected/ai/Initialize(mapload)
. = ..()
src.area_flags |= ABDUCTOR_PROOF
diff --git a/code/game/area/areas/centcom.dm b/code/game/area/areas/centcom.dm
index 936a1c9c07e..dbc3f19e864 100644
--- a/code/game/area/areas/centcom.dm
+++ b/code/game/area/areas/centcom.dm
@@ -52,7 +52,7 @@
icon_state = "supplypod_loading"
var/loading_id = ""
-/area/centcom/supplypod/loading/Initialize()
+/area/centcom/supplypod/loading/Initialize(mapload)
. = ..()
if(!loading_id)
CRASH("[type] created without a loading_id")
diff --git a/code/game/area/areas/shuttles.dm b/code/game/area/areas/shuttles.dm
index 0bd12d47b19..b7d8f9ee5a4 100644
--- a/code/game/area/areas/shuttles.dm
+++ b/code/game/area/areas/shuttles.dm
@@ -233,7 +233,7 @@
timeleft = 0
var/list/warp_points = list()
-/obj/effect/forcefield/arena_shuttle/Initialize()
+/obj/effect/forcefield/arena_shuttle/Initialize(mapload)
. = ..()
for(var/obj/effect/landmark/shuttle_arena_safe/exit in GLOB.landmarks_list)
warp_points += exit
diff --git a/code/game/area/space_station_13_areas.dm b/code/game/area/space_station_13_areas.dm
index 56517fdfcd7..b7dbac00856 100644
--- a/code/game/area/space_station_13_areas.dm
+++ b/code/game/area/space_station_13_areas.dm
@@ -105,7 +105,7 @@ NOTE: there are two lists of areas in the end of this file: centcom and station
var/ai_will_not_hear_this = list('sound/ambience/ambimalf.ogg')
airlock_wires = /datum/wires/airlock/ai
-/area/ai_monitored/turret_protected/Initialize()
+/area/ai_monitored/turret_protected/Initialize(mapload)
. = ..()
if(ai_will_not_hear_this)
ambientsounds += ai_will_not_hear_this
diff --git a/code/game/atoms.dm b/code/game/atoms.dm
index b96a0fe8df4..773db0f772b 100644
--- a/code/game/atoms.dm
+++ b/code/game/atoms.dm
@@ -302,7 +302,7 @@
* * clears overlays and priority overlays
* * clears the light object
*/
-/atom/Destroy()
+/atom/Destroy(force)
if(alternate_appearances)
for(var/current_alternate_appearance in alternate_appearances)
var/datum/atom_hud/alternate_appearance/selected_alternate_appearance = alternate_appearances[current_alternate_appearance]
diff --git a/code/game/machinery/Beacon.dm b/code/game/machinery/Beacon.dm
index ac48758be17..76df121cc99 100644
--- a/code/game/machinery/Beacon.dm
+++ b/code/game/machinery/Beacon.dm
@@ -9,7 +9,7 @@
idle_power_usage = 0
var/obj/item/beacon/Beacon
-/obj/machinery/bluespace_beacon/Initialize()
+/obj/machinery/bluespace_beacon/Initialize(mapload)
. = ..()
var/turf/T = loc
Beacon = new(T)
diff --git a/code/game/machinery/PDApainter.dm b/code/game/machinery/PDApainter.dm
index 43c64b76615..694adfb9467 100644
--- a/code/game/machinery/PDApainter.dm
+++ b/code/game/machinery/PDApainter.dm
@@ -43,7 +43,7 @@
if(stored_pda || stored_id_card)
. += "[initial(icon_state)]-closed"
-/obj/machinery/pdapainter/Initialize()
+/obj/machinery/pdapainter/Initialize(mapload)
. = ..()
if(!target_dept)
diff --git a/code/game/machinery/_machinery.dm b/code/game/machinery/_machinery.dm
index de78b420297..58b4b5b9999 100644
--- a/code/game/machinery/_machinery.dm
+++ b/code/game/machinery/_machinery.dm
@@ -144,7 +144,7 @@
/// Mobtype of last user. Typecast to [/mob/living] for initial() usage
var/mob/living/last_user_mobtype
-/obj/machinery/Initialize()
+/obj/machinery/Initialize(mapload)
if(!armor)
armor = list(MELEE = 25, BULLET = 10, LASER = 10, ENERGY = 0, BOMB = 0, BIO = 0, RAD = 0, FIRE = 50, ACID = 70)
. = ..()
diff --git a/code/game/machinery/airlock_control.dm b/code/game/machinery/airlock_control.dm
index 8ae22fb003c..075f5342603 100644
--- a/code/game/machinery/airlock_control.dm
+++ b/code/game/machinery/airlock_control.dm
@@ -157,7 +157,7 @@
frequency = new_frequency
radio_connection = SSradio.add_object(src, frequency, RADIO_AIRLOCK)
-/obj/machinery/airlock_sensor/Initialize()
+/obj/machinery/airlock_sensor/Initialize(mapload)
. = ..()
set_frequency(frequency)
diff --git a/code/game/machinery/announcement_system.dm b/code/game/machinery/announcement_system.dm
index 816d8a56007..e5f0c943b83 100644
--- a/code/game/machinery/announcement_system.dm
+++ b/code/game/machinery/announcement_system.dm
@@ -27,7 +27,7 @@ GLOBAL_LIST_EMPTY(announcement_systems)
var/pinklight = "Light_Pink"
var/errorlight = "Error_Red"
-/obj/machinery/announcement_system/Initialize()
+/obj/machinery/announcement_system/Initialize(mapload)
. = ..()
GLOB.announcement_systems += src
radio = new /obj/item/radio/headset/silicon/ai(src)
diff --git a/code/game/machinery/aug_manipulator.dm b/code/game/machinery/aug_manipulator.dm
index d3f6989b2b0..cd28dd4310a 100644
--- a/code/game/machinery/aug_manipulator.dm
+++ b/code/game/machinery/aug_manipulator.dm
@@ -14,7 +14,7 @@
if(storedpart)
. += span_notice("Alt-click to eject the limb.")
-/obj/machinery/aug_manipulator/Initialize()
+/obj/machinery/aug_manipulator/Initialize(mapload)
if(!base_icon_state)
base_icon_state = initial(icon_state)
return ..()
diff --git a/code/game/machinery/autolathe.dm b/code/game/machinery/autolathe.dm
index 1e5f191e77d..de3aa122166 100644
--- a/code/game/machinery/autolathe.dm
+++ b/code/game/machinery/autolathe.dm
@@ -44,7 +44,7 @@
"Imported"
)
-/obj/machinery/autolathe/Initialize()
+/obj/machinery/autolathe/Initialize(mapload)
AddComponent(/datum/component/material_container, SSmaterials.materials_by_category[MAT_CATEGORY_ITEM_MATERIAL], 0, MATCONTAINER_EXAMINE, _after_insert = CALLBACK(src, .proc/AfterMaterialInsert))
. = ..()
@@ -408,7 +408,7 @@
else
stored_research.remove_design(D)
-/obj/machinery/autolathe/hacked/Initialize()
+/obj/machinery/autolathe/hacked/Initialize(mapload)
. = ..()
adjust_hacked(TRUE)
diff --git a/code/game/machinery/bank_machine.dm b/code/game/machinery/bank_machine.dm
index bc017cbecaa..7ff8ee32106 100644
--- a/code/game/machinery/bank_machine.dm
+++ b/code/game/machinery/bank_machine.dm
@@ -12,7 +12,7 @@
var/minimum_time_between_warnings = 400
var/syphoning_credits = 0
-/obj/machinery/computer/bank_machine/Initialize()
+/obj/machinery/computer/bank_machine/Initialize(mapload)
. = ..()
radio = new(src)
radio.subspace_transmission = TRUE
diff --git a/code/game/machinery/camera/motion.dm b/code/game/machinery/camera/motion.dm
index 64f15d93011..32df12a4c83 100644
--- a/code/game/machinery/camera/motion.dm
+++ b/code/game/machinery/camera/motion.dm
@@ -77,7 +77,7 @@
c_tag = "Arena"
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF | FREEZE_PROOF
-/obj/machinery/camera/motion/thunderdome/Initialize()
+/obj/machinery/camera/motion/thunderdome/Initialize(mapload)
. = ..()
proximity_monitor.SetRange(7)
diff --git a/code/game/machinery/camera/presets.dm b/code/game/machinery/camera/presets.dm
index fa61ebceda4..349b7ec980a 100644
--- a/code/game/machinery/camera/presets.dm
+++ b/code/game/machinery/camera/presets.dm
@@ -4,13 +4,13 @@
/obj/machinery/camera/emp_proof
start_active = TRUE
-/obj/machinery/camera/emp_proof/Initialize()
+/obj/machinery/camera/emp_proof/Initialize(mapload)
. = ..()
upgradeEmpProof()
// EMP + Motion
-/obj/machinery/camera/emp_proof/motion/Initialize()
+/obj/machinery/camera/emp_proof/motion/Initialize(mapload)
. = ..()
upgradeMotion()
@@ -20,7 +20,7 @@
start_active = TRUE
icon_state = "xraycamera" //mapping icon - Thanks to Krutchen for the icons.
-/obj/machinery/camera/xray/Initialize()
+/obj/machinery/camera/xray/Initialize(mapload)
. = ..()
upgradeXRay()
@@ -29,7 +29,7 @@
start_active = TRUE
name = "motion-sensitive security camera"
-/obj/machinery/camera/motion/Initialize()
+/obj/machinery/camera/motion/Initialize(mapload)
. = ..()
upgradeMotion()
@@ -38,7 +38,7 @@
start_active = TRUE
icon_state = "xraycamera" //mapping icon.
-/obj/machinery/camera/all/Initialize()
+/obj/machinery/camera/all/Initialize(mapload)
. = ..()
upgradeEmpProof()
upgradeXRay()
@@ -50,7 +50,7 @@
var/number = 0 //camera number in area
//This camera type automatically sets it's name to whatever the area that it's in is called.
-/obj/machinery/camera/autoname/Initialize()
+/obj/machinery/camera/autoname/Initialize(mapload)
..()
return INITIALIZE_HINT_LATELOAD
diff --git a/code/game/machinery/civilian_bounties.dm b/code/game/machinery/civilian_bounties.dm
index cb4e242521d..91ed168f42a 100644
--- a/code/game/machinery/civilian_bounties.dm
+++ b/code/game/machinery/civilian_bounties.dm
@@ -19,7 +19,7 @@
var/obj/item/card/id/inserted_scan_id
circuit = /obj/item/circuitboard/computer/bountypad
-/obj/machinery/computer/piratepad_control/civilian/Initialize()
+/obj/machinery/computer/piratepad_control/civilian/Initialize(mapload)
. = ..()
pad = /obj/machinery/piratepad/civilian
@@ -273,7 +273,7 @@
///The key our internal radio uses.
var/radio_key = /obj/item/encryptionkey/headset_cargo
-/obj/item/bounty_cube/Initialize()
+/obj/item/bounty_cube/Initialize(mapload)
. = ..()
radio = new(src)
radio.keyslot = new radio_key
diff --git a/code/game/machinery/computer/Operating.dm b/code/game/machinery/computer/Operating.dm
index f7228f98afd..4dc6b421e4e 100644
--- a/code/game/machinery/computer/Operating.dm
+++ b/code/game/machinery/computer/Operating.dm
@@ -13,7 +13,7 @@
var/datum/techweb/linked_techweb
light_color = LIGHT_COLOR_BLUE
-/obj/machinery/computer/operating/Initialize()
+/obj/machinery/computer/operating/Initialize(mapload)
. = ..()
linked_techweb = SSresearch.science_tech
find_table()
diff --git a/code/game/machinery/computer/arcade/arcade.dm b/code/game/machinery/computer/arcade/arcade.dm
index 0eda90230cd..fda8475cc3a 100644
--- a/code/game/machinery/computer/arcade/arcade.dm
+++ b/code/game/machinery/computer/arcade/arcade.dm
@@ -77,7 +77,7 @@ GLOBAL_LIST_INIT(arcade_prize_pool, list(
/obj/machinery/computer/arcade/proc/Reset()
return
-/obj/machinery/computer/arcade/Initialize()
+/obj/machinery/computer/arcade/Initialize(mapload)
. = ..()
Reset()
diff --git a/code/game/machinery/computer/arcade/orion.dm b/code/game/machinery/computer/arcade/orion.dm
index 854430524b5..d8d1bc5d971 100644
--- a/code/game/machinery/computer/arcade/orion.dm
+++ b/code/game/machinery/computer/arcade/orion.dm
@@ -42,7 +42,7 @@ GLOBAL_LIST_INIT(orion_events, generate_orion_events())
var/list/gamers = list()
var/killed_crew = 0
-/obj/machinery/computer/arcade/orion_trail/Initialize()
+/obj/machinery/computer/arcade/orion_trail/Initialize(mapload)
. = ..()
radio = new /obj/item/radio(src)
radio.listening = 0
diff --git a/code/game/machinery/computer/atmos_alert.dm b/code/game/machinery/computer/atmos_alert.dm
index 98f184cd70f..e0c9b1af1f1 100644
--- a/code/game/machinery/computer/atmos_alert.dm
+++ b/code/game/machinery/computer/atmos_alert.dm
@@ -11,7 +11,7 @@
var/datum/radio_frequency/radio_connection
-/obj/machinery/computer/atmos_alert/Initialize()
+/obj/machinery/computer/atmos_alert/Initialize(mapload)
. = ..()
set_frequency(receive_frequency)
diff --git a/code/game/machinery/computer/atmos_control.dm b/code/game/machinery/computer/atmos_control.dm
index 1ae0d322a3f..855d653099d 100644
--- a/code/game/machinery/computer/atmos_control.dm
+++ b/code/game/machinery/computer/atmos_control.dm
@@ -119,7 +119,7 @@
frequency = new_frequency
radio_connection = SSradio.add_object(src, frequency, RADIO_ATMOSIA)
-/obj/machinery/air_sensor/Initialize()
+/obj/machinery/air_sensor/Initialize(mapload)
. = ..()
SSair.start_processing_machine(src)
set_frequency(frequency)
@@ -174,7 +174,7 @@ GLOBAL_LIST_EMPTY(atmos_air_controllers)
var/datum/radio_frequency/radio_connection
-/obj/machinery/computer/atmos_control/Initialize()
+/obj/machinery/computer/atmos_control/Initialize(mapload)
. = ..()
GLOB.atmos_air_controllers += src
set_frequency(frequency)
diff --git a/code/game/machinery/computer/camera.dm b/code/game/machinery/computer/camera.dm
index 614b6382538..b6fef4f3ed3 100644
--- a/code/game/machinery/computer/camera.dm
+++ b/code/game/machinery/computer/camera.dm
@@ -23,7 +23,7 @@
interaction_flags_machine = INTERACT_MACHINE_ALLOW_SILICON | INTERACT_MACHINE_SET_MACHINE | INTERACT_MACHINE_REQUIRES_SIGHT
-/obj/machinery/computer/security/Initialize()
+/obj/machinery/computer/security/Initialize(mapload)
. = ..()
// Map name has to start and end with an A-Z character,
// and definitely NOT with a square bracket or even a number.
@@ -293,7 +293,7 @@
dir = EAST
pixel_x = -32
-/obj/machinery/computer/security/telescreen/entertainment/Initialize()
+/obj/machinery/computer/security/telescreen/entertainment/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_CLICK, .proc/BigClick)
diff --git a/code/game/machinery/computer/camera_advanced.dm b/code/game/machinery/computer/camera_advanced.dm
index e7edb5a0eec..3491158e2d5 100644
--- a/code/game/machinery/computer/camera_advanced.dm
+++ b/code/game/machinery/computer/camera_advanced.dm
@@ -21,7 +21,7 @@
interaction_flags_machine = INTERACT_MACHINE_ALLOW_SILICON | INTERACT_MACHINE_SET_MACHINE | INTERACT_MACHINE_REQUIRES_SIGHT
-/obj/machinery/computer/camera_advanced/Initialize()
+/obj/machinery/computer/camera_advanced/Initialize(mapload)
. = ..()
for(var/i in networks)
networks -= i
diff --git a/code/game/machinery/computer/chef_orders/chef_order.dm b/code/game/machinery/computer/chef_orders/chef_order.dm
index 0cef22e99bf..335ac03a7bd 100644
--- a/code/game/machinery/computer/chef_orders/chef_order.dm
+++ b/code/game/machinery/computer/chef_orders/chef_order.dm
@@ -14,7 +14,7 @@
var/obj/item/radio/radio
var/radio_channel = RADIO_CHANNEL_SUPPLY
-/obj/machinery/computer/chef_order/Initialize()
+/obj/machinery/computer/chef_order/Initialize(mapload)
. = ..()
radio = new(src)
radio.frequency = FREQ_SUPPLY
diff --git a/code/game/machinery/computer/communications.dm b/code/game/machinery/computer/communications.dm
index 370f5cbcb8b..12682cf97bc 100755
--- a/code/game/machinery/computer/communications.dm
+++ b/code/game/machinery/computer/communications.dm
@@ -50,7 +50,7 @@
///when was emergency access last toggled
var/last_toggled
-/obj/machinery/computer/communications/Initialize()
+/obj/machinery/computer/communications/Initialize(mapload)
. = ..()
GLOB.shuttle_caller_list += src
AddComponent(/datum/component/gps, "Secured Communications Signal")
diff --git a/code/game/machinery/computer/dna_console.dm b/code/game/machinery/computer/dna_console.dm
index 6ad04869516..16d1e707e16 100644
--- a/code/game/machinery/computer/dna_console.dm
+++ b/code/game/machinery/computer/dna_console.dm
@@ -207,7 +207,7 @@
eject_disk(user)
-/obj/machinery/computer/scan_consolenew/Initialize()
+/obj/machinery/computer/scan_consolenew/Initialize(mapload)
. = ..()
// Connect with a nearby DNA Scanner on init
diff --git a/code/game/machinery/computer/launchpad_control.dm b/code/game/machinery/computer/launchpad_control.dm
index 060112d55ed..796a24a7f51 100644
--- a/code/game/machinery/computer/launchpad_control.dm
+++ b/code/game/machinery/computer/launchpad_control.dm
@@ -9,7 +9,7 @@
var/list/obj/machinery/launchpad/launchpads
var/maximum_pads = 4
-/obj/machinery/computer/launchpad/Initialize()
+/obj/machinery/computer/launchpad/Initialize(mapload)
launchpads = list()
. = ..()
AddComponent(/datum/component/usb_port, list(
diff --git a/code/game/machinery/computer/law.dm b/code/game/machinery/computer/law.dm
index 8d49c60709b..1749c491485 100644
--- a/code/game/machinery/computer/law.dm
+++ b/code/game/machinery/computer/law.dm
@@ -5,7 +5,7 @@
icon_screen = "command"
time_to_screwdrive = 60
-/obj/machinery/computer/upload/Initialize()
+/obj/machinery/computer/upload/Initialize(mapload)
. = ..()
AddComponent(/datum/component/gps, "Encrypted Upload")
diff --git a/code/game/machinery/computer/pod.dm b/code/game/machinery/computer/pod.dm
index ea25d22c357..e52c8d7959c 100644
--- a/code/game/machinery/computer/pod.dm
+++ b/code/game/machinery/computer/pod.dm
@@ -15,7 +15,7 @@
/// Countdown timer for the mass driver's delayed launch functionality.
COOLDOWN_DECLARE(massdriver_countdown)
-/obj/machinery/computer/pod/Initialize()
+/obj/machinery/computer/pod/Initialize(mapload)
. = ..()
for(var/obj/machinery/mass_driver/M in range(range, src))
if(M.id == id)
diff --git a/code/game/machinery/computer/prisoner/gulag_teleporter.dm b/code/game/machinery/computer/prisoner/gulag_teleporter.dm
index 9fc37f30e2a..b539afe9d92 100644
--- a/code/game/machinery/computer/prisoner/gulag_teleporter.dm
+++ b/code/game/machinery/computer/prisoner/gulag_teleporter.dm
@@ -15,7 +15,7 @@
var/datum/data/record/temporary_record = null
-/obj/machinery/computer/prisoner/gulag_teleporter_computer/Initialize()
+/obj/machinery/computer/prisoner/gulag_teleporter_computer/Initialize(mapload)
. = ..()
scan_machinery()
diff --git a/code/game/machinery/computer/station_alert.dm b/code/game/machinery/computer/station_alert.dm
index dc3abdbcd14..aca7eb25e47 100644
--- a/code/game/machinery/computer/station_alert.dm
+++ b/code/game/machinery/computer/station_alert.dm
@@ -8,7 +8,7 @@
/// Station alert datum for showing alerts UI
var/datum/station_alert/alert_control
-/obj/machinery/computer/station_alert/Initialize()
+/obj/machinery/computer/station_alert/Initialize(mapload)
alert_control = new(src, list(ALARM_ATMOS, ALARM_FIRE, ALARM_POWER), list(z), title = name)
RegisterSignal(alert_control.listener, list(COMSIG_ALARM_TRIGGERED, COMSIG_ALARM_CLEARED), .proc/update_alarm_display)
return ..()
diff --git a/code/game/machinery/computer/teleporter.dm b/code/game/machinery/computer/teleporter.dm
index 5f70dc2dcd5..b19f518b733 100644
--- a/code/game/machinery/computer/teleporter.dm
+++ b/code/game/machinery/computer/teleporter.dm
@@ -13,7 +13,7 @@
///Weakref to the target atom we're pointed at currently
var/datum/weakref/target_ref
-/obj/machinery/computer/teleporter/Initialize()
+/obj/machinery/computer/teleporter/Initialize(mapload)
. = ..()
id = "[rand(1000, 9999)]"
link_power_station()
diff --git a/code/game/machinery/cryopod.dm b/code/game/machinery/cryopod.dm
index 88782964488..96052588762 100644
--- a/code/game/machinery/cryopod.dm
+++ b/code/game/machinery/cryopod.dm
@@ -29,7 +29,7 @@ GLOBAL_LIST_EMPTY(cryopod_computers)
var/storage_type = "crewmembers"
var/storage_name = "Cryogenic Oversight Control"
-/obj/machinery/computer/cryopod/Initialize()
+/obj/machinery/computer/cryopod/Initialize(mapload)
. = ..()
GLOB.cryopod_computers += src
@@ -93,7 +93,7 @@ GLOBAL_LIST_EMPTY(cryopod_computers)
var/datum/weakref/control_computer_weakref
COOLDOWN_DECLARE(last_no_computer_message)
-/obj/machinery/cryopod/Initialize()
+/obj/machinery/cryopod/Initialize(mapload)
..()
return INITIALIZE_HINT_LATELOAD //Gotta populate the cryopod computer GLOB first
diff --git a/code/game/machinery/dance_machine.dm b/code/game/machinery/dance_machine.dm
index e5ac06cfed5..fb2590538e4 100644
--- a/code/game/machinery/dance_machine.dm
+++ b/code/game/machinery/dance_machine.dm
@@ -44,7 +44,7 @@
song_length = length
song_beat = beat
-/obj/machinery/jukebox/Initialize()
+/obj/machinery/jukebox/Initialize(mapload)
. = ..()
var/list/tracks = flist("[global.config.directory]/jukebox_music/sounds/")
diff --git a/code/game/machinery/defibrillator_mount.dm b/code/game/machinery/defibrillator_mount.dm
index c914a10331c..56fbcc10e71 100644
--- a/code/game/machinery/defibrillator_mount.dm
+++ b/code/game/machinery/defibrillator_mount.dm
@@ -34,7 +34,7 @@
dir = EAST
pixel_x = -32
-/obj/machinery/defibrillator_mount/loaded/Initialize() //loaded subtype for mapping use
+/obj/machinery/defibrillator_mount/loaded/Initialize(mapload) //loaded subtype for mapping use
. = ..()
defib = new/obj/item/defibrillator/loaded(src)
@@ -213,7 +213,7 @@
wallframe_type = /obj/item/wallframe/defib_mount/charging
-/obj/machinery/defibrillator_mount/charging/Initialize()
+/obj/machinery/defibrillator_mount/charging/Initialize(mapload)
. = ..()
if(is_operational)
begin_processing()
diff --git a/code/game/machinery/deployable.dm b/code/game/machinery/deployable.dm
index 13c9a40960d..24f660c1e47 100644
--- a/code/game/machinery/deployable.dm
+++ b/code/game/machinery/deployable.dm
@@ -110,7 +110,7 @@
smoothing_groups = list(SMOOTH_GROUP_SANDBAGS)
canSmoothWith = list(SMOOTH_GROUP_SANDBAGS, SMOOTH_GROUP_WALLS, SMOOTH_GROUP_SECURITY_BARRICADE)
-/obj/structure/barricade/sandbags/Initialize()
+/obj/structure/barricade/sandbags/Initialize(mapload)
. = ..()
AddElement(/datum/element/climbable)
@@ -129,7 +129,7 @@
var/deploy_message = TRUE
-/obj/structure/barricade/security/Initialize()
+/obj/structure/barricade/security/Initialize(mapload)
. = ..()
addtimer(CALLBACK(src, .proc/deploy), deploy_time)
@@ -204,7 +204,7 @@
w_class = WEIGHT_CLASS_BULKY
slot_flags = ITEM_SLOT_BACK
-/obj/item/deployable_turret_folded/Initialize()
+/obj/item/deployable_turret_folded/Initialize(mapload)
. = ..()
AddComponent(/datum/component/deployable, 5 SECONDS, /obj/machinery/deployable_turret/hmg, delete_on_use = TRUE)
diff --git a/code/game/machinery/dish_drive.dm b/code/game/machinery/dish_drive.dm
index 97fdb00a17d..a3daa5ac3ab 100644
--- a/code/game/machinery/dish_drive.dm
+++ b/code/game/machinery/dish_drive.dm
@@ -26,7 +26,7 @@
var/transmit_enabled = TRUE
var/list/dish_drive_contents
-/obj/machinery/dish_drive/Initialize()
+/obj/machinery/dish_drive/Initialize(mapload)
. = ..()
RefreshParts()
diff --git a/code/game/machinery/dna_scanner.dm b/code/game/machinery/dna_scanner.dm
index 7c854d589fe..921631cea54 100644
--- a/code/game/machinery/dna_scanner.dm
+++ b/code/game/machinery/dna_scanner.dm
@@ -169,7 +169,7 @@
var/max_mutations = 6
var/read_only = FALSE //Well,it's still a floppy disk
-/obj/item/disk/data/Initialize()
+/obj/item/disk/data/Initialize(mapload)
. = ..()
icon_state = "datadisk[rand(0,6)]"
add_overlay("datadisk_gene")
diff --git a/code/game/machinery/doors/airlock.dm b/code/game/machinery/doors/airlock.dm
index 1a3da312696..1e0cdf6796f 100644
--- a/code/game/machinery/doors/airlock.dm
+++ b/code/game/machinery/doors/airlock.dm
@@ -144,7 +144,7 @@
network_id = NETWORK_DOOR_AIRLOCKS
-/obj/machinery/door/airlock/Initialize()
+/obj/machinery/door/airlock/Initialize(mapload)
. = ..()
wires = set_wires()
if(frequency)
diff --git a/code/game/machinery/doors/airlock_types.dm b/code/game/machinery/doors/airlock_types.dm
index fe704ead0dc..2ea3a555c56 100644
--- a/code/game/machinery/doors/airlock_types.dm
+++ b/code/game/machinery/doors/airlock_types.dm
@@ -459,7 +459,7 @@
var/friendly = FALSE
var/stealthy = FALSE
-/obj/machinery/door/airlock/cult/Initialize()
+/obj/machinery/door/airlock/cult/Initialize(mapload)
. = ..()
new openingoverlaytype(loc)
diff --git a/code/game/machinery/doors/alarmlock.dm b/code/game/machinery/doors/alarmlock.dm
index 3fc9a30033c..c1d32ebdbdc 100644
--- a/code/game/machinery/doors/alarmlock.dm
+++ b/code/game/machinery/doors/alarmlock.dm
@@ -10,7 +10,7 @@
var/air_frequency = FREQ_ATMOS_ALARMS
autoclose = FALSE
-/obj/machinery/door/airlock/alarmlock/Initialize()
+/obj/machinery/door/airlock/alarmlock/Initialize(mapload)
. = ..()
air_connection = new
@@ -19,7 +19,7 @@
air_connection = null
return ..()
-/obj/machinery/door/airlock/alarmlock/Initialize()
+/obj/machinery/door/airlock/alarmlock/Initialize(mapload)
. = ..()
SSradio.remove_object(src, air_frequency)
air_connection = SSradio.add_object(src, air_frequency, RADIO_TO_AIRALARM)
diff --git a/code/game/machinery/doors/brigdoors.dm b/code/game/machinery/doors/brigdoors.dm
index 49d2fb5f9df..bf62e4c1436 100644
--- a/code/game/machinery/doors/brigdoors.dm
+++ b/code/game/machinery/doors/brigdoors.dm
@@ -44,13 +44,13 @@
maptext_width = 32
maptext_y = -1
-/obj/machinery/door_timer/Initialize()
+/obj/machinery/door_timer/Initialize(mapload)
. = ..()
Radio = new/obj/item/radio(src)
Radio.listening = 0
-/obj/machinery/door_timer/Initialize()
+/obj/machinery/door_timer/Initialize(mapload)
. = ..()
if(id != null)
for(var/obj/machinery/door/window/brigdoor/M in urange(20, src))
diff --git a/code/game/machinery/doors/door.dm b/code/game/machinery/doors/door.dm
index ded7262d8a9..3b86d4af7b5 100644
--- a/code/game/machinery/doors/door.dm
+++ b/code/game/machinery/doors/door.dm
@@ -60,7 +60,7 @@
return TRUE
return ..()
-/obj/machinery/door/Initialize()
+/obj/machinery/door/Initialize(mapload)
. = ..()
set_init_door_layer()
update_freelook_sight()
diff --git a/code/game/machinery/doors/firedoor.dm b/code/game/machinery/doors/firedoor.dm
index f57b458115c..ce69693fd20 100644
--- a/code/game/machinery/doors/firedoor.dm
+++ b/code/game/machinery/doors/firedoor.dm
@@ -26,7 +26,7 @@
var/list/affecting_areas
var/being_held_open = FALSE
-/obj/machinery/door/firedoor/Initialize()
+/obj/machinery/door/firedoor/Initialize(mapload)
. = ..()
CalculateAffectingAreas()
@@ -263,7 +263,7 @@
opacity = TRUE
density = TRUE
-/obj/machinery/door/firedoor/border_only/Initialize()
+/obj/machinery/door/firedoor/border_only/Initialize(mapload)
. = ..()
var/static/list/loc_connections = list(
diff --git a/code/game/machinery/doppler_array.dm b/code/game/machinery/doppler_array.dm
index fa251dad4b0..41563a10d30 100644
--- a/code/game/machinery/doppler_array.dm
+++ b/code/game/machinery/doppler_array.dm
@@ -18,7 +18,7 @@
/// List of all explosion records in the form of /datum/data/tachyon_record
var/list/records = list()
-/obj/machinery/doppler_array/Initialize()
+/obj/machinery/doppler_array/Initialize(mapload)
. = ..()
RegisterSignal(SSdcs, COMSIG_GLOB_EXPLOSION, .proc/sense_explosion)
RegisterSignal(src, COMSIG_MOVABLE_SET_ANCHORED, .proc/power_change)
@@ -194,7 +194,7 @@
circuit = /obj/item/circuitboard/machine/doppler_array
var/datum/techweb/linked_techweb
-/obj/machinery/doppler_array/research/Initialize()
+/obj/machinery/doppler_array/research/Initialize(mapload)
..()
linked_techweb = SSresearch.science_tech
return INITIALIZE_HINT_LATELOAD
@@ -252,7 +252,7 @@
say("Data already captured. Aborting.")
return
-/obj/machinery/doppler_array/research/science/Initialize()
+/obj/machinery/doppler_array/research/science/Initialize(mapload)
. = ..()
linked_techweb = SSresearch.science_tech
diff --git a/code/game/machinery/droneDispenser.dm b/code/game/machinery/droneDispenser.dm
index f809bfdf33c..2a4b2be8d5b 100644
--- a/code/game/machinery/droneDispenser.dm
+++ b/code/game/machinery/droneDispenser.dm
@@ -48,7 +48,7 @@
var/break_message = "lets out a tinny alarm before falling dark."
var/break_sound = 'sound/machines/warning-buzzer.ogg'
-/obj/machinery/drone_dispenser/Initialize()
+/obj/machinery/drone_dispenser/Initialize(mapload)
. = ..()
var/datum/component/material_container/materials = AddComponent(/datum/component/material_container, list(/datum/material/iron, /datum/material/glass), MINERAL_MATERIAL_AMOUNT * MAX_STACK_SIZE * 2, MATCONTAINER_EXAMINE|BREAKDOWN_FLAGS_DRONE_DISPENSER, allowed_items=/obj/item/stack)
materials.insert_amount_mat(starting_amount)
diff --git a/code/game/machinery/ecto_sniffer.dm b/code/game/machinery/ecto_sniffer.dm
index 8b843692a79..5ea924c496c 100644
--- a/code/game/machinery/ecto_sniffer.dm
+++ b/code/game/machinery/ecto_sniffer.dm
@@ -14,7 +14,7 @@
///List of ckeys containing players who have recently activated the device, players on this list are prohibited from activating the device untill their residue decays.
var/list/ectoplasmic_residues = list()
-/obj/machinery/ecto_sniffer/Initialize()
+/obj/machinery/ecto_sniffer/Initialize(mapload)
. = ..()
wires = new/datum/wires/ecto_sniffer(src)
diff --git a/code/game/machinery/electrolyzer.dm b/code/game/machinery/electrolyzer.dm
index 91bf95672ad..bb10b380fa6 100644
--- a/code/game/machinery/electrolyzer.dm
+++ b/code/game/machinery/electrolyzer.dm
@@ -28,7 +28,7 @@
/obj/machinery/electrolyzer/get_cell()
return cell
-/obj/machinery/electrolyzer/Initialize()
+/obj/machinery/electrolyzer/Initialize(mapload)
. = ..()
if(ispath(cell))
cell = new cell(src)
diff --git a/code/game/machinery/embedded_controller/access_controller.dm b/code/game/machinery/embedded_controller/access_controller.dm
index 97b4e737f9b..cc40b370ca5 100644
--- a/code/game/machinery/embedded_controller/access_controller.dm
+++ b/code/game/machinery/embedded_controller/access_controller.dm
@@ -18,7 +18,7 @@
/obj/machinery/door_buttons/proc/findObjsByTag()
return
-/obj/machinery/door_buttons/Initialize()
+/obj/machinery/door_buttons/Initialize(mapload)
..()
return INITIALIZE_HINT_LATELOAD
diff --git a/code/game/machinery/embedded_controller/embedded_controller_base.dm b/code/game/machinery/embedded_controller/embedded_controller_base.dm
index 6da86086275..5de0920f902 100644
--- a/code/game/machinery/embedded_controller/embedded_controller_base.dm
+++ b/code/game/machinery/embedded_controller/embedded_controller_base.dm
@@ -77,7 +77,7 @@
SSradio.remove_object(src,frequency)
return ..()
-/obj/machinery/embedded_controller/radio/Initialize()
+/obj/machinery/embedded_controller/radio/Initialize(mapload)
. = ..()
set_frequency(frequency)
diff --git a/code/game/machinery/fat_sucker.dm b/code/game/machinery/fat_sucker.dm
index 6cb7c0a99db..9bbeb928e71 100644
--- a/code/game/machinery/fat_sucker.dm
+++ b/code/game/machinery/fat_sucker.dm
@@ -27,7 +27,7 @@
"Unsaturated fat, that is monounsaturated fats, polyunsaturated fats and omega-3 fatty acids, is found in plant foods and fish." \
)
-/obj/machinery/fat_sucker/Initialize()
+/obj/machinery/fat_sucker/Initialize(mapload)
. = ..()
soundloop = new(src, FALSE)
update_appearance()
diff --git a/code/game/machinery/flasher.dm b/code/game/machinery/flasher.dm
index ff88da112a0..16d0274e64d 100644
--- a/code/game/machinery/flasher.dm
+++ b/code/game/machinery/flasher.dm
@@ -176,7 +176,7 @@
new /obj/item/stack/sheet/iron (loc, 2)
qdel(src)
-/obj/machinery/flasher/portable/Initialize()
+/obj/machinery/flasher/portable/Initialize(mapload)
. = ..()
proximity_monitor = new(src, 0)
diff --git a/code/game/machinery/gulag_teleporter.dm b/code/game/machinery/gulag_teleporter.dm
index a6e952de255..803a9be817f 100644
--- a/code/game/machinery/gulag_teleporter.dm
+++ b/code/game/machinery/gulag_teleporter.dm
@@ -37,7 +37,7 @@ The console is located at computer/gulag_teleporter.dm
/obj/item/clothing/mask/breath,
/obj/item/clothing/mask/gas))
-/obj/machinery/gulag_teleporter/Initialize()
+/obj/machinery/gulag_teleporter/Initialize(mapload)
. = ..()
locate_reclaimer()
diff --git a/code/game/machinery/harvester.dm b/code/game/machinery/harvester.dm
index 3f0e44a88b1..3e4bd98dd6d 100644
--- a/code/game/machinery/harvester.dm
+++ b/code/game/machinery/harvester.dm
@@ -17,7 +17,7 @@
var/allow_clothing = FALSE
var/allow_living = FALSE
-/obj/machinery/harvester/Initialize()
+/obj/machinery/harvester/Initialize(mapload)
. = ..()
if(prob(1))
name = "auto-autopsy"
diff --git a/code/game/machinery/hologram.dm b/code/game/machinery/hologram.dm
index 764f219bedf..228dd562088 100644
--- a/code/game/machinery/hologram.dm
+++ b/code/game/machinery/hologram.dm
@@ -79,7 +79,7 @@ Possible to do for anyone motivated enough:
/// If we are currently calling another holopad
var/calling = FALSE
-/obj/machinery/holopad/Initialize()
+/obj/machinery/holopad/Initialize(mapload)
. = ..()
become_hearing_sensitive()
@@ -88,7 +88,7 @@ Possible to do for anyone motivated enough:
desc = "It's a floor-mounted device for projecting holographic images. This one will refuse to auto-connect incoming calls."
secure = TRUE
-/obj/machinery/holopad/secure/Initialize()
+/obj/machinery/holopad/secure/Initialize(mapload)
. = ..()
var/obj/item/circuitboard/machine/holopad/board = circuit
board.secure = TRUE
@@ -147,7 +147,7 @@ Possible to do for anyone motivated enough:
if(!replay_mode && (disk?.record))
replay_start()
-/obj/machinery/holopad/Initialize()
+/obj/machinery/holopad/Initialize(mapload)
. = ..()
if(on_network)
holopads += src
diff --git a/code/game/machinery/hypnochair.dm b/code/game/machinery/hypnochair.dm
index b9473d8ea79..93faf6f0620 100644
--- a/code/game/machinery/hypnochair.dm
+++ b/code/game/machinery/hypnochair.dm
@@ -15,7 +15,7 @@
var/timerid = 0 ///Timer ID for interrogations
var/message_cooldown = 0 ///Cooldown for breakout message
-/obj/machinery/hypnochair/Initialize()
+/obj/machinery/hypnochair/Initialize(mapload)
. = ..()
open_machine()
update_appearance()
diff --git a/code/game/machinery/igniter.dm b/code/game/machinery/igniter.dm
index 7d343f6a34e..eba35b006b9 100644
--- a/code/game/machinery/igniter.dm
+++ b/code/game/machinery/igniter.dm
@@ -44,7 +44,7 @@
location.hotspot_expose(1000,500,1)
return 1
-/obj/machinery/igniter/Initialize()
+/obj/machinery/igniter/Initialize(mapload)
. = ..()
icon_state = "igniter[on]"
@@ -88,7 +88,7 @@
/obj/machinery/sparker/ordmix
id = INCINERATOR_ORDMIX_IGNITER
-/obj/machinery/sparker/Initialize()
+/obj/machinery/sparker/Initialize(mapload)
. = ..()
spark_system = new /datum/effect_system/spark_spread
spark_system.set_up(2, 1, src)
diff --git a/code/game/machinery/iv_drip.dm b/code/game/machinery/iv_drip.dm
index 6b918f7001c..fc426ac766e 100644
--- a/code/game/machinery/iv_drip.dm
+++ b/code/game/machinery/iv_drip.dm
@@ -297,7 +297,7 @@
density = TRUE
use_internal_storage = TRUE
-/obj/machinery/iv_drip/plumbing/Initialize()
+/obj/machinery/iv_drip/plumbing/Initialize(mapload)
. = ..()
AddComponent(/datum/component/simple_rotation, ROTATION_ALTCLICK | ROTATION_CLOCKWISE | ROTATION_COUNTERCLOCKWISE | ROTATION_VERBS, null, CALLBACK(src, .proc/can_be_rotated))
diff --git a/code/game/machinery/launch_pad.dm b/code/game/machinery/launch_pad.dm
index f393a8a1246..b53ffbb40b7 100644
--- a/code/game/machinery/launch_pad.dm
+++ b/code/game/machinery/launch_pad.dm
@@ -26,7 +26,7 @@
range = initial(range)
range *= E
-/obj/machinery/launchpad/Initialize()
+/obj/machinery/launchpad/Initialize(mapload)
. = ..()
prepare_huds()
for(var/datum/atom_hud/data/diagnostic/diag_hud in GLOB.huds)
@@ -265,7 +265,7 @@
/obj/item/storage/briefcase/launchpad
var/obj/machinery/launchpad/briefcase/pad
-/obj/item/storage/briefcase/launchpad/Initialize()
+/obj/item/storage/briefcase/launchpad/Initialize(mapload)
pad = new(null, src) //spawns pad in nullspace to hide it from briefcase contents
. = ..()
diff --git a/code/game/machinery/lightswitch.dm b/code/game/machinery/lightswitch.dm
index 5cbf786c9c4..228f97e980c 100644
--- a/code/game/machinery/lightswitch.dm
+++ b/code/game/machinery/lightswitch.dm
@@ -26,7 +26,7 @@
dir = EAST
pixel_x = -26
-/obj/machinery/light_switch/Initialize()
+/obj/machinery/light_switch/Initialize(mapload)
. = ..()
if(istext(area))
area = text2path(area)
diff --git a/code/game/machinery/limbgrower.dm b/code/game/machinery/limbgrower.dm
index cb8a560dc9b..61b143844ed 100644
--- a/code/game/machinery/limbgrower.dm
+++ b/code/game/machinery/limbgrower.dm
@@ -26,7 +26,7 @@
/// All the categories of organs we can print.
var/list/categories = list(SPECIES_HUMAN, SPECIES_LIZARD, SPECIES_MOTH, SPECIES_PLASMAMAN, SPECIES_ETHEREAL, "other")
-/obj/machinery/limbgrower/Initialize()
+/obj/machinery/limbgrower/Initialize(mapload)
create_reagents(100, OPENCONTAINER)
stored_research = new /datum/techweb/specialized/autounlocking/limbgrower
. = ..()
diff --git a/code/game/machinery/mechlaunchpad.dm b/code/game/machinery/mechlaunchpad.dm
index 1a6a456a779..80bcc50c4c6 100644
--- a/code/game/machinery/mechlaunchpad.dm
+++ b/code/game/machinery/mechlaunchpad.dm
@@ -13,7 +13,7 @@
///List of consoles that can access the pad
var/list/obj/machinery/computer/mechpad/consoles
-/obj/machinery/mechpad/Initialize()
+/obj/machinery/mechpad/Initialize(mapload)
. = ..()
display_name = "Orbital Pad - [get_area_name(src)]"
GLOB.mechpad_list += src
diff --git a/code/game/machinery/medical_kiosk.dm b/code/game/machinery/medical_kiosk.dm
index 3aedda59ca2..d1b57a4d1e3 100644
--- a/code/game/machinery/medical_kiosk.dm
+++ b/code/game/machinery/medical_kiosk.dm
@@ -45,7 +45,7 @@
/// Used to find the money.
var/obj/item/card/id/C //the account of the person using the console.
-/obj/machinery/medical_kiosk/Initialize() //loaded subtype for mapping use
+/obj/machinery/medical_kiosk/Initialize(mapload) //loaded subtype for mapping use
. = ..()
AddComponent(/datum/component/payment, active_price, SSeconomy.get_dep_account(ACCOUNT_MED), PAYMENT_FRIENDLY)
scanner_wand = new/obj/item/scanner_wand(src)
diff --git a/code/game/machinery/medipen_refiller.dm b/code/game/machinery/medipen_refiller.dm
index 5204803a6e4..c1fc9f1ebf9 100644
--- a/code/game/machinery/medipen_refiller.dm
+++ b/code/game/machinery/medipen_refiller.dm
@@ -16,7 +16,7 @@
/// var to prevent glitches in the animation
var/busy = FALSE
-/obj/machinery/medipen_refiller/Initialize()
+/obj/machinery/medipen_refiller/Initialize(mapload)
. = ..()
create_reagents(100, TRANSPARENT)
for(var/obj/item/stock_parts/matter_bin/B in component_parts)
diff --git a/code/game/machinery/navbeacon.dm b/code/game/machinery/navbeacon.dm
index ec8fd2f51fa..172b7157951 100644
--- a/code/game/machinery/navbeacon.dm
+++ b/code/game/machinery/navbeacon.dm
@@ -22,7 +22,7 @@
req_one_access = list(ACCESS_ENGINE, ACCESS_ROBOTICS)
-/obj/machinery/navbeacon/Initialize()
+/obj/machinery/navbeacon/Initialize(mapload)
. = ..()
if(wayfinding)
diff --git a/code/game/machinery/porta_turret/portable_turret.dm b/code/game/machinery/porta_turret/portable_turret.dm
index 0adbaabe3da..28b94c675c3 100644
--- a/code/game/machinery/porta_turret/portable_turret.dm
+++ b/code/game/machinery/porta_turret/portable_turret.dm
@@ -106,7 +106,7 @@ DEFINE_BITFIELD(turret_flags, list(
/// Mob that is remotely controlling the turret
var/mob/remote_controller
-/obj/machinery/porta_turret/Initialize()
+/obj/machinery/porta_turret/Initialize(mapload)
. = ..()
if(!base)
base = src
@@ -812,7 +812,7 @@ DEFINE_BITFIELD(turret_flags, list(
/obj/machinery/porta_turret/aux_base/interact(mob/user) //Controlled solely from the base console.
return
-/obj/machinery/porta_turret/aux_base/Initialize()
+/obj/machinery/porta_turret/aux_base/Initialize(mapload)
. = ..()
cover.name = name
cover.desc = desc
diff --git a/code/game/machinery/quantum_pad.dm b/code/game/machinery/quantum_pad.dm
index e943e061bdb..03132bf4208 100644
--- a/code/game/machinery/quantum_pad.dm
+++ b/code/game/machinery/quantum_pad.dm
@@ -20,7 +20,7 @@
var/map_pad_id = "" as text //what's my name
var/map_pad_link_id = "" as text //who's my friend
-/obj/machinery/quantumpad/Initialize()
+/obj/machinery/quantumpad/Initialize(mapload)
. = ..()
if(map_pad_id)
mapped_quantum_pads[map_pad_id] = src
diff --git a/code/game/machinery/rechargestation.dm b/code/game/machinery/rechargestation.dm
index b9256914df3..8892d0486e4 100644
--- a/code/game/machinery/rechargestation.dm
+++ b/code/game/machinery/rechargestation.dm
@@ -16,7 +16,7 @@
var/repairs
-/obj/machinery/recharge_station/Initialize()
+/obj/machinery/recharge_station/Initialize(mapload)
. = ..()
update_appearance()
if(is_operational)
diff --git a/code/game/machinery/recycler.dm b/code/game/machinery/recycler.dm
index bf68865745e..196464bccdf 100644
--- a/code/game/machinery/recycler.dm
+++ b/code/game/machinery/recycler.dm
@@ -17,7 +17,7 @@
var/eat_victim_items = TRUE
var/item_recycle_sound = 'sound/items/welder.ogg'
-/obj/machinery/recycler/Initialize()
+/obj/machinery/recycler/Initialize(mapload)
var/list/allowed_materials = list(
/datum/material/iron,
/datum/material/glass,
diff --git a/code/game/machinery/requests_console.dm b/code/game/machinery/requests_console.dm
index de38191de4d..f1f318c0ac1 100644
--- a/code/game/machinery/requests_console.dm
+++ b/code/game/machinery/requests_console.dm
@@ -113,7 +113,7 @@ GLOBAL_LIST_EMPTY(req_console_ckey_departments)
icon_state = "[base_icon_state]0"
return ..()
-/obj/machinery/requests_console/Initialize()
+/obj/machinery/requests_console/Initialize(mapload)
. = ..()
name = "\improper [department] requests console"
GLOB.allConsoles += src
diff --git a/code/game/machinery/roulette_machine.dm b/code/game/machinery/roulette_machine.dm
index 345a4efd73d..9c4b74bd7af 100644
--- a/code/game/machinery/roulette_machine.dm
+++ b/code/game/machinery/roulette_machine.dm
@@ -49,7 +49,7 @@
var/on = TRUE
var/last_spin = 13
-/obj/machinery/roulette/Initialize()
+/obj/machinery/roulette/Initialize(mapload)
. = ..()
jackpot_loop = new(src, FALSE)
wires = new /datum/wires/roulette(src)
diff --git a/code/game/machinery/scan_gate.dm b/code/game/machinery/scan_gate.dm
index d5d0fb01b96..0e23bb05399 100644
--- a/code/game/machinery/scan_gate.dm
+++ b/code/game/machinery/scan_gate.dm
@@ -49,7 +49,7 @@
var/ignore_signals = FALSE
-/obj/machinery/scanner_gate/Initialize()
+/obj/machinery/scanner_gate/Initialize(mapload)
. = ..()
wires = new /datum/wires/scanner_gate(src)
set_scanline("passive")
diff --git a/code/game/machinery/sheetifier.dm b/code/game/machinery/sheetifier.dm
index 6d02ca2d428..3057643983d 100644
--- a/code/game/machinery/sheetifier.dm
+++ b/code/game/machinery/sheetifier.dm
@@ -11,7 +11,7 @@
layer = BELOW_OBJ_LAYER
var/busy_processing = FALSE
-/obj/machinery/sheetifier/Initialize()
+/obj/machinery/sheetifier/Initialize(mapload)
. = ..()
AddComponent(/datum/component/material_container, list(/datum/material/meat, /datum/material/hauntium), MINERAL_MATERIAL_AMOUNT * MAX_STACK_SIZE * 2, MATCONTAINER_EXAMINE|BREAKDOWN_FLAGS_SHEETIFIER, typesof(/datum/material/meat) + /datum/material/hauntium, list(/obj/item/food/meat, /obj/item/photo), null, CALLBACK(src, .proc/CanInsertMaterials), CALLBACK(src, .proc/AfterInsertMaterials))
diff --git a/code/game/machinery/shieldgen.dm b/code/game/machinery/shieldgen.dm
index f9d8015e273..eab8415372a 100644
--- a/code/game/machinery/shieldgen.dm
+++ b/code/game/machinery/shieldgen.dm
@@ -11,7 +11,7 @@
max_integrity = 200 //The shield can only take so much beating (prevents perma-prisons)
CanAtmosPass = ATMOS_PASS_DENSITY
-/obj/structure/emergency_shield/Initialize()
+/obj/structure/emergency_shield/Initialize(mapload)
. = ..()
setDir(pick(GLOB.cardinals))
air_update_turf(TRUE, TRUE)
@@ -283,7 +283,7 @@
/obj/machinery/power/shieldwallgen/unlocked/anchored
anchored = TRUE
-/obj/machinery/power/shieldwallgen/Initialize()
+/obj/machinery/power/shieldwallgen/Initialize(mapload)
. = ..()
if(anchored)
connect_to_network()
diff --git a/code/game/machinery/slotmachine.dm b/code/game/machinery/slotmachine.dm
index 352af6ebe3a..0988131a2f2 100644
--- a/code/game/machinery/slotmachine.dm
+++ b/code/game/machinery/slotmachine.dm
@@ -38,7 +38,7 @@
var/list/symbols = list(SEVEN = 1, "&" = 2, "@" = 2, "$" = 2, "?" = 2, "#" = 2, "!" = 2, "%" = 2) //if people are winning too much, multiply every number in this list by 2 and see if they are still winning too much.
-/obj/machinery/computer/slot_machine/Initialize()
+/obj/machinery/computer/slot_machine/Initialize(mapload)
. = ..()
jackpots = rand(1, 4) //false hope
plays = rand(75, 200)
diff --git a/code/game/machinery/spaceheater.dm b/code/game/machinery/spaceheater.dm
index c417ecce184..ee1f1964b8c 100644
--- a/code/game/machinery/spaceheater.dm
+++ b/code/game/machinery/spaceheater.dm
@@ -43,7 +43,7 @@
/obj/machinery/space_heater/get_cell()
return cell
-/obj/machinery/space_heater/Initialize()
+/obj/machinery/space_heater/Initialize(mapload)
. = ..()
if(ispath(cell))
cell = new cell(src)
@@ -255,7 +255,7 @@
/obj/machinery/space_heater/constructed
cell = null
-/obj/machinery/space_heater/constructed/Initialize()
+/obj/machinery/space_heater/constructed/Initialize(mapload)
. = ..()
panel_open = TRUE
update_appearance()
diff --git a/code/game/machinery/status_display.dm b/code/game/machinery/status_display.dm
index 9c3e60ff139..4fd25adfbc7 100644
--- a/code/game/machinery/status_display.dm
+++ b/code/game/machinery/status_display.dm
@@ -175,7 +175,7 @@
dir = EAST
pixel_x = -32
-/obj/machinery/status_display/evac/Initialize()
+/obj/machinery/status_display/evac/Initialize(mapload)
. = ..()
// register for radio system
SSradio.add_object(src, frequency)
@@ -356,7 +356,7 @@
dir = EAST
pixel_x = -32
-/obj/machinery/status_display/ai/Initialize()
+/obj/machinery/status_display/ai/Initialize(mapload)
. = ..()
GLOB.ai_status_displays.Add(src)
diff --git a/code/game/machinery/suit_storage_unit.dm b/code/game/machinery/suit_storage_unit.dm
index 4d5fe5e11e3..5247cfcb53d 100644
--- a/code/game/machinery/suit_storage_unit.dm
+++ b/code/game/machinery/suit_storage_unit.dm
@@ -51,7 +51,7 @@
/// How fast it charges cells in a suit
var/charge_rate = 250
-/obj/machinery/suit_storage_unit/Initialize()
+/obj/machinery/suit_storage_unit/Initialize(mapload)
. = ..()
interaction_flags_machine |= INTERACT_MACHINE_OFFLINE
@@ -145,7 +145,7 @@
state_open = TRUE
density = FALSE
-/obj/machinery/suit_storage_unit/Initialize()
+/obj/machinery/suit_storage_unit/Initialize(mapload)
. = ..()
wires = new /datum/wires/suit_storage_unit(src)
if(suit_type)
diff --git a/code/game/machinery/syndicatebomb.dm b/code/game/machinery/syndicatebomb.dm
index 6bf812794a2..3fa2cfe9e2d 100644
--- a/code/game/machinery/syndicatebomb.dm
+++ b/code/game/machinery/syndicatebomb.dm
@@ -81,7 +81,7 @@
update_appearance()
try_detonate(TRUE)
-/obj/machinery/syndicatebomb/Initialize()
+/obj/machinery/syndicatebomb/Initialize(mapload)
. = ..()
wires = new /datum/wires/syndicatebomb(src)
if(payload)
@@ -246,7 +246,7 @@
open_panel = TRUE
timer_set = 120
-/obj/machinery/syndicatebomb/empty/Initialize()
+/obj/machinery/syndicatebomb/empty/Initialize(mapload)
. = ..()
wires.cut_all()
diff --git a/code/game/machinery/teambuilder.dm b/code/game/machinery/teambuilder.dm
index e409cd7d800..7a5e80a1eaf 100644
--- a/code/game/machinery/teambuilder.dm
+++ b/code/game/machinery/teambuilder.dm
@@ -14,7 +14,7 @@
///What radio station is your radio set to when crossed (And human)?
var/team_radio = FREQ_COMMON
-/obj/machinery/teambuilder/Initialize()
+/obj/machinery/teambuilder/Initialize(mapload)
. = ..()
add_filter("teambuilder", 2, list("type" = "outline", "color" = team_color, "size" = 2))
var/static/list/loc_connections = list(
diff --git a/code/game/machinery/telecomms/computers/message.dm b/code/game/machinery/telecomms/computers/message.dm
index f508c42793b..c8e6889bfea 100644
--- a/code/game/machinery/telecomms/computers/message.dm
+++ b/code/game/machinery/telecomms/computers/message.dm
@@ -64,7 +64,7 @@
else
to_chat(user, span_notice("A no server error appears on the screen."))
-/obj/machinery/computer/message_monitor/Initialize()
+/obj/machinery/computer/message_monitor/Initialize(mapload)
..()
GLOB.telecomms_list += src
return INITIALIZE_HINT_LATELOAD
diff --git a/code/game/machinery/telecomms/machines/allinone.dm b/code/game/machinery/telecomms/machines/allinone.dm
index 8c69183fd28..95eb877aea4 100644
--- a/code/game/machinery/telecomms/machines/allinone.dm
+++ b/code/game/machinery/telecomms/machines/allinone.dm
@@ -16,7 +16,7 @@
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
flags_1 = NODECONSTRUCT_1
-/obj/machinery/telecomms/allinone/Initialize()
+/obj/machinery/telecomms/allinone/Initialize(mapload)
. = ..()
if (intercept)
freq_listening = list(FREQ_SYNDICATE)
diff --git a/code/game/machinery/telecomms/machines/bus.dm b/code/game/machinery/telecomms/machines/bus.dm
index 9b73692b626..761392af4ca 100644
--- a/code/game/machinery/telecomms/machines/bus.dm
+++ b/code/game/machinery/telecomms/machines/bus.dm
@@ -71,7 +71,7 @@
freq_listening = list(FREQ_ENGINEERING)
autolinkers = list("processor4", "engineering", "common", "messaging")
-/obj/machinery/telecomms/bus/preset_four/Initialize()
+/obj/machinery/telecomms/bus/preset_four/Initialize(mapload)
. = ..()
for(var/i = MIN_FREQ, i <= MAX_FREQ, i += 2)
freq_listening |= i
diff --git a/code/game/machinery/telecomms/machines/message_server.dm b/code/game/machinery/telecomms/machines/message_server.dm
index 6f685b1c6ef..e4d424f5caf 100644
--- a/code/game/machinery/telecomms/machines/message_server.dm
+++ b/code/game/machinery/telecomms/machines/message_server.dm
@@ -17,7 +17,7 @@
armor = list(MELEE = 25, BULLET = 10, LASER = 10, ENERGY = 0, BOMB = 0, BIO = 0, RAD = 0, FIRE = 50, ACID = 70)
var/obj/item/stored
-/obj/machinery/blackbox_recorder/Initialize()
+/obj/machinery/blackbox_recorder/Initialize(mapload)
. = ..()
stored = new /obj/item/blackbox(src)
diff --git a/code/game/machinery/telecomms/machines/receiver.dm b/code/game/machinery/telecomms/machines/receiver.dm
index 0d2fe60e8e1..66ce5e62117 100644
--- a/code/game/machinery/telecomms/machines/receiver.dm
+++ b/code/game/machinery/telecomms/machines/receiver.dm
@@ -58,7 +58,7 @@
freq_listening = list(FREQ_COMMAND, FREQ_ENGINEERING, FREQ_SECURITY)
//Common and other radio frequencies for people to freely use
-/obj/machinery/telecomms/receiver/preset_right/Initialize()
+/obj/machinery/telecomms/receiver/preset_right/Initialize(mapload)
. = ..()
for(var/i = MIN_FREQ, i <= MAX_FREQ, i += 2)
freq_listening |= i
diff --git a/code/game/machinery/telecomms/machines/server.dm b/code/game/machinery/telecomms/machines/server.dm
index 6cb8f719e21..7fe38294c58 100644
--- a/code/game/machinery/telecomms/machines/server.dm
+++ b/code/game/machinery/telecomms/machines/server.dm
@@ -65,7 +65,7 @@
/obj/machinery/telecomms/server/presets
network = "tcommsat"
-/obj/machinery/telecomms/server/presets/Initialize()
+/obj/machinery/telecomms/server/presets/Initialize(mapload)
. = ..()
name = id
@@ -96,7 +96,7 @@
autolinkers = list("common")
//Common and other radio frequencies for people to freely use
-/obj/machinery/telecomms/server/presets/common/Initialize()
+/obj/machinery/telecomms/server/presets/common/Initialize(mapload)
. = ..()
for(var/i = MIN_FREQ, i <= MAX_FREQ, i += 2)
freq_listening |= i
@@ -116,6 +116,6 @@
freq_listening = list(FREQ_SECURITY)
autolinkers = list("security")
-/obj/machinery/telecomms/server/presets/common/birdstation/Initialize()
+/obj/machinery/telecomms/server/presets/common/birdstation/Initialize(mapload)
. = ..()
freq_listening = list()
diff --git a/code/game/machinery/teleporter.dm b/code/game/machinery/teleporter.dm
index 5c839b96872..bc29ece7ffd 100644
--- a/code/game/machinery/teleporter.dm
+++ b/code/game/machinery/teleporter.dm
@@ -16,7 +16,7 @@
var/obj/machinery/teleport/station/power_station
var/calibrated = FALSE//Calibration prevents mutation
-/obj/machinery/teleport/hub/Initialize()
+/obj/machinery/teleport/hub/Initialize(mapload)
. = ..()
link_power_station()
@@ -101,7 +101,7 @@
/obj/machinery/teleport/hub/proc/is_ready()
. = !panel_open && !(machine_stat & (BROKEN|NOPOWER)) && power_station && power_station.engaged && !(power_station.machine_stat & (BROKEN|NOPOWER))
-/obj/machinery/teleport/hub/syndicate/Initialize()
+/obj/machinery/teleport/hub/syndicate/Initialize(mapload)
. = ..()
var/obj/item/stock_parts/matter_bin/super/super_bin = new(src)
LAZYADD(component_parts, super_bin)
@@ -122,7 +122,7 @@
var/list/linked_stations = list()
var/efficiency = 0
-/obj/machinery/teleport/station/Initialize()
+/obj/machinery/teleport/station/Initialize(mapload)
. = ..()
link_console_and_hub()
diff --git a/code/game/machinery/transformer.dm b/code/game/machinery/transformer.dm
index 05e6844f6a6..b4359c5d8d5 100644
--- a/code/game/machinery/transformer.dm
+++ b/code/game/machinery/transformer.dm
@@ -16,7 +16,7 @@
var/obj/effect/countdown/transformer/countdown
var/mob/living/silicon/ai/masterAI
-/obj/machinery/transformer/Initialize()
+/obj/machinery/transformer/Initialize(mapload)
// On us
. = ..()
new /obj/machinery/conveyor/auto(locate(x - 1, y, z), WEST)
diff --git a/code/game/objects/effects/bump_teleporter.dm b/code/game/objects/effects/bump_teleporter.dm
index 0d2905c397c..d8e35280730 100644
--- a/code/game/objects/effects/bump_teleporter.dm
+++ b/code/game/objects/effects/bump_teleporter.dm
@@ -11,7 +11,7 @@
var/static/list/AllTeleporters
-/obj/effect/bump_teleporter/Initialize()
+/obj/effect/bump_teleporter/Initialize(mapload)
. = ..()
LAZYADD(AllTeleporters, src)
diff --git a/code/game/objects/effects/contraband.dm b/code/game/objects/effects/contraband.dm
index 94b3fef0efb..1d2bc03f376 100644
--- a/code/game/objects/effects/contraband.dm
+++ b/code/game/objects/effects/contraband.dm
@@ -69,7 +69,7 @@
var/poster_item_icon_state = "rolled_poster"
var/poster_item_type = /obj/item/poster
-/obj/structure/sign/poster/Initialize()
+/obj/structure/sign/poster/Initialize(mapload)
. = ..()
if(random_basetype)
randomise(random_basetype)
diff --git a/code/game/objects/effects/countdown.dm b/code/game/objects/effects/countdown.dm
index 75775502eaf..e5be8ffc0c0 100644
--- a/code/game/objects/effects/countdown.dm
+++ b/code/game/objects/effects/countdown.dm
@@ -14,7 +14,7 @@
var/displayed_text
var/atom/attached_to
-/obj/effect/countdown/Initialize()
+/obj/effect/countdown/Initialize(mapload)
. = ..()
attach(loc)
diff --git a/code/game/objects/effects/decals/cleanable/aliens.dm b/code/game/objects/effects/decals/cleanable/aliens.dm
index 8b0c82cce75..6b960cefb8b 100644
--- a/code/game/objects/effects/decals/cleanable/aliens.dm
+++ b/code/game/objects/effects/decals/cleanable/aliens.dm
@@ -11,7 +11,7 @@
beauty = -250
clean_type = CLEAN_TYPE_BLOOD
-/obj/effect/decal/cleanable/xenoblood/Initialize()
+/obj/effect/decal/cleanable/xenoblood/Initialize(mapload)
. = ..()
add_blood_DNA(list("UNKNOWN DNA" = "X*"))
@@ -27,7 +27,7 @@
random_icon_states = list("xgib1", "xgib2", "xgib3", "xgib4", "xgib5", "xgib6")
mergeable_decal = FALSE
-/obj/effect/decal/cleanable/xenoblood/xgibs/Initialize()
+/obj/effect/decal/cleanable/xenoblood/xgibs/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_MOVABLE_PIPE_EJECTING, .proc/on_pipe_eject)
@@ -92,6 +92,6 @@
icon_state = "xtracks"
random_icon_states = null
-/obj/effect/decal/cleanable/blood/xtracks/Initialize()
+/obj/effect/decal/cleanable/blood/xtracks/Initialize(mapload)
. = ..()
add_blood_DNA(list("Unknown DNA" = "X*"))
diff --git a/code/game/objects/effects/decals/cleanable/misc.dm b/code/game/objects/effects/decals/cleanable/misc.dm
index 1d93e9397c1..e148462b5ba 100644
--- a/code/game/objects/effects/decals/cleanable/misc.dm
+++ b/code/game/objects/effects/decals/cleanable/misc.dm
@@ -13,7 +13,7 @@
mergeable_decal = FALSE
beauty = -50
-/obj/effect/decal/cleanable/ash/Initialize()
+/obj/effect/decal/cleanable/ash/Initialize(mapload)
. = ..()
reagents.add_reagent(/datum/reagent/ash, 30)
pixel_x = base_pixel_x + rand(-5, 5)
@@ -28,7 +28,7 @@
icon_state = "big_ash"
beauty = -100
-/obj/effect/decal/cleanable/ash/large/Initialize()
+/obj/effect/decal/cleanable/ash/large/Initialize(mapload)
. = ..()
reagents.add_reagent(/datum/reagent/ash, 30) //double the amount of ash.
@@ -39,7 +39,7 @@
icon_state = "tiny"
beauty = -100
-/obj/effect/decal/cleanable/glass/Initialize()
+/obj/effect/decal/cleanable/glass/Initialize(mapload)
. = ..()
setDir(pick(GLOB.cardinals))
@@ -61,7 +61,7 @@
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
beauty = -75
-/obj/effect/decal/cleanable/dirt/Initialize()
+/obj/effect/decal/cleanable/dirt/Initialize(mapload)
. = ..()
var/turf/T = get_turf(src)
if(T.tiled_dirt)
@@ -91,7 +91,7 @@
/obj/effect/decal/cleanable/greenglow/ex_act()
return FALSE
-/obj/effect/decal/cleanable/greenglow/filled/Initialize()
+/obj/effect/decal/cleanable/greenglow/filled/Initialize(mapload)
. = ..()
reagents.add_reagent(pick(/datum/reagent/uranium, /datum/reagent/uranium/radium), 5)
@@ -254,7 +254,7 @@
beauty = -150
clean_type = CLEAN_TYPE_HARD_DECAL
-/obj/effect/decal/cleanable/garbage/Initialize()
+/obj/effect/decal/cleanable/garbage/Initialize(mapload)
. = ..()
AddElement(/datum/element/swabable, CELL_LINE_TABLE_SLUDGE, CELL_VIRUS_TABLE_GENERIC, rand(2,4), 15)
diff --git a/code/game/objects/effects/decals/cleanable/robots.dm b/code/game/objects/effects/decals/cleanable/robots.dm
index 0bfabe79663..9ad93af8741 100644
--- a/code/game/objects/effects/decals/cleanable/robots.dm
+++ b/code/game/objects/effects/decals/cleanable/robots.dm
@@ -13,7 +13,7 @@
beauty = -50
clean_type = CLEAN_TYPE_BLOOD
-/obj/effect/decal/cleanable/robot_debris/Initialize()
+/obj/effect/decal/cleanable/robot_debris/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_MOVABLE_PIPE_EJECTING, .proc/on_pipe_eject)
@@ -70,7 +70,7 @@
beauty = -100
clean_type = CLEAN_TYPE_BLOOD
-/obj/effect/decal/cleanable/oil/Initialize()
+/obj/effect/decal/cleanable/oil/Initialize(mapload)
. = ..()
reagents.add_reagent(/datum/reagent/fuel/oil, 30)
diff --git a/code/game/objects/effects/decals/decal.dm b/code/game/objects/effects/decals/decal.dm
index 5cf07145fce..309fc091388 100644
--- a/code/game/objects/effects/decals/decal.dm
+++ b/code/game/objects/effects/decals/decal.dm
@@ -5,7 +5,7 @@
resistance_flags = FIRE_PROOF | UNACIDABLE | ACID_PROOF
var/turf_loc_check = TRUE
-/obj/effect/decal/Initialize()
+/obj/effect/decal/Initialize(mapload)
. = ..()
if(turf_loc_check && (!isturf(loc) || NeverShouldHaveComeHere(loc)))
return INITIALIZE_HINT_QDEL
@@ -36,7 +36,7 @@
icon_state = "warningline"
layer = TURF_DECAL_LAYER
-/obj/effect/turf_decal/Initialize()
+/obj/effect/turf_decal/Initialize(mapload)
..()
return INITIALIZE_HINT_QDEL
diff --git a/code/game/objects/effects/decals/turfdecal/tilecoloring.dm b/code/game/objects/effects/decals/turfdecal/tilecoloring.dm
index 374088908df..57b6a1ef687 100644
--- a/code/game/objects/effects/decals/turfdecal/tilecoloring.dm
+++ b/code/game/objects/effects/decals/turfdecal/tilecoloring.dm
@@ -6,7 +6,7 @@
#define PRIDE_ALPHA 60
-/obj/effect/turf_decal/tile/Initialize()
+/obj/effect/turf_decal/tile/Initialize(mapload)
if(SSevents.holidays)
if (SSevents.holidays[APRIL_FOOLS])
color = "#[random_short_color()]"
@@ -203,7 +203,7 @@
icon_state = "tile_full"
name = "colorful full"
-/obj/effect/turf_decal/tile/random/Initialize()
+/obj/effect/turf_decal/tile/random/Initialize(mapload)
color = "#[random_short_color()]"
. = ..()
@@ -214,7 +214,7 @@
alpha = 110
icon_state = "trimline_box"
-/obj/effect/turf_decal/trimline/Initialize()
+/obj/effect/turf_decal/trimline/Initialize(mapload)
if(SSevents.holidays && SSevents.holidays[APRIL_FOOLS])
color = "#[random_short_color()]"
. = ..()
diff --git a/code/game/objects/effects/effect_system/effect_shield.dm b/code/game/objects/effects/effect_system/effect_shield.dm
index 00f943aa138..9b1cc2c1bf2 100644
--- a/code/game/objects/effects/effect_system/effect_shield.dm
+++ b/code/game/objects/effects/effect_system/effect_shield.dm
@@ -7,7 +7,7 @@
anchored = TRUE
var/old_heat_capacity
-/obj/effect/shield/Initialize()
+/obj/effect/shield/Initialize(mapload)
. = ..()
var/turf/location = get_turf(src)
old_heat_capacity=location.heat_capacity
diff --git a/code/game/objects/effects/effect_system/effect_system.dm b/code/game/objects/effects/effect_system/effect_system.dm
index 1093f078966..3cc738e2295 100644
--- a/code/game/objects/effects/effect_system/effect_system.dm
+++ b/code/game/objects/effects/effect_system/effect_system.dm
@@ -12,7 +12,7 @@ would spawn and follow the beaker, even if it is carried or thrown.
pass_flags = PASSTABLE | PASSGRILLE
anchored = TRUE
-/obj/effect/particle_effect/Initialize()
+/obj/effect/particle_effect/Initialize(mapload)
. = ..()
GLOB.cameranet.updateVisibility(src)
diff --git a/code/game/objects/effects/effect_system/effects_explosion.dm b/code/game/objects/effects/effect_system/effects_explosion.dm
index 7fc164b7673..3089cf9a6f1 100644
--- a/code/game/objects/effects/effect_system/effects_explosion.dm
+++ b/code/game/objects/effects/effect_system/effects_explosion.dm
@@ -4,7 +4,7 @@
opacity = TRUE
anchored = TRUE
-/obj/effect/particle_effect/expl_particles/Initialize()
+/obj/effect/particle_effect/expl_particles/Initialize(mapload)
..()
return INITIALIZE_HINT_LATELOAD
@@ -33,7 +33,7 @@
pixel_x = -32
pixel_y = -32
-/obj/effect/explosion/Initialize()
+/obj/effect/explosion/Initialize(mapload)
. = ..()
QDEL_IN(src, 10)
diff --git a/code/game/objects/effects/effect_system/effects_foam.dm b/code/game/objects/effects/effect_system/effects_foam.dm
index d9212dfc4f8..ed35d29bfdb 100644
--- a/code/game/objects/effects/effect_system/effects_foam.dm
+++ b/code/game/objects/effects/effect_system/effects_foam.dm
@@ -276,7 +276,7 @@
max_integrity = 20
CanAtmosPass = ATMOS_PASS_DENSITY
-/obj/structure/foamedmetal/Initialize()
+/obj/structure/foamedmetal/Initialize(mapload)
. = ..()
air_update_turf(TRUE, TRUE)
@@ -318,7 +318,7 @@
max_integrity = 10
pass_flags_self = PASSGLASS
-/obj/structure/foamedmetal/resin/Initialize()
+/obj/structure/foamedmetal/resin/Initialize(mapload)
. = ..()
if(isopenturf(loc))
var/turf/open/O = loc
diff --git a/code/game/objects/effects/effect_system/effects_smoke.dm b/code/game/objects/effects/effect_system/effects_smoke.dm
index 726f9944c99..2524c0cee97 100644
--- a/code/game/objects/effects/effect_system/effects_smoke.dm
+++ b/code/game/objects/effects/effect_system/effects_smoke.dm
@@ -30,7 +30,7 @@
set_opacity(0) //if we were blocking view, we aren't now because we're fading out
stoplag()
-/obj/effect/particle_effect/smoke/Initialize()
+/obj/effect/particle_effect/smoke/Initialize(mapload)
. = ..()
create_reagents(500)
START_PROCESSING(SSobj, src)
@@ -125,7 +125,7 @@
/obj/effect/particle_effect/smoke/bad
lifetime = 8
-/obj/effect/particle_effect/smoke/bad/Initialize()
+/obj/effect/particle_effect/smoke/bad/Initialize(mapload)
. = ..()
var/static/list/loc_connections = list(
COMSIG_ATOM_ENTERED = .proc/on_entered,
diff --git a/code/game/objects/effects/effect_system/effects_sparks.dm b/code/game/objects/effects/effect_system/effects_sparks.dm
index 488060a351b..b64537d8b0a 100644
--- a/code/game/objects/effects/effect_system/effects_sparks.dm
+++ b/code/game/objects/effects/effect_system/effects_sparks.dm
@@ -25,7 +25,7 @@
light_power = 0.5
light_color = LIGHT_COLOR_FIRE
-/obj/effect/particle_effect/sparks/Initialize()
+/obj/effect/particle_effect/sparks/Initialize(mapload)
..()
return INITIALIZE_HINT_LATELOAD
diff --git a/code/game/objects/effects/effect_system/effects_water.dm b/code/game/objects/effects/effect_system/effects_water.dm
index decc6254834..de67595b738 100644
--- a/code/game/objects/effects/effect_system/effects_water.dm
+++ b/code/game/objects/effects/effect_system/effects_water.dm
@@ -8,7 +8,7 @@
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
-/obj/effect/particle_effect/water/Initialize()
+/obj/effect/particle_effect/water/Initialize(mapload)
. = ..()
QDEL_IN(src, 70)
@@ -46,7 +46,7 @@
icon_state = "extinguish"
density = FALSE
-/obj/effect/particle_effect/steam/Initialize()
+/obj/effect/particle_effect/steam/Initialize(mapload)
. = ..()
QDEL_IN(src, 20)
diff --git a/code/game/objects/effects/forcefields.dm b/code/game/objects/effects/forcefields.dm
index 751afa52628..6a68315c4a7 100644
--- a/code/game/objects/effects/forcefields.dm
+++ b/code/game/objects/effects/forcefields.dm
@@ -8,7 +8,7 @@
CanAtmosPass = ATMOS_PASS_DENSITY
var/timeleft = 300 //Set to 0 for permanent forcefields (ugh)
-/obj/effect/forcefield/Initialize()
+/obj/effect/forcefield/Initialize(mapload)
. = ..()
if(timeleft)
QDEL_IN(src, timeleft)
diff --git a/code/game/objects/effects/landmarks.dm b/code/game/objects/effects/landmarks.dm
index 0c4a08c1597..1e7c7f311ba 100644
--- a/code/game/objects/effects/landmarks.dm
+++ b/code/game/objects/effects/landmarks.dm
@@ -15,7 +15,7 @@
INITIALIZE_IMMEDIATE(/obj/effect/landmark)
-/obj/effect/landmark/Initialize()
+/obj/effect/landmark/Initialize(mapload)
. = ..()
GLOB.landmarks_list += src
@@ -37,7 +37,7 @@ INITIALIZE_IMMEDIATE(/obj/effect/landmark)
if(delete_after_roundstart)
qdel(src)
-/obj/effect/landmark/start/Initialize()
+/obj/effect/landmark/start/Initialize(mapload)
. = ..()
GLOB.start_landmarks_list += src
if(jobspawn_override)
@@ -250,7 +250,7 @@ INITIALIZE_IMMEDIATE(/obj/effect/landmark)
icon = 'icons/effects/landmarks_static.dmi'
icon_state = "wiznerd_spawn"
-/obj/effect/landmark/start/wizard/Initialize()
+/obj/effect/landmark/start/wizard/Initialize(mapload)
..()
GLOB.wizardstart += loc
return INITIALIZE_HINT_QDEL
@@ -260,7 +260,7 @@ INITIALIZE_IMMEDIATE(/obj/effect/landmark)
icon = 'icons/effects/landmarks_static.dmi'
icon_state = "snukeop_spawn"
-/obj/effect/landmark/start/nukeop/Initialize()
+/obj/effect/landmark/start/nukeop/Initialize(mapload)
..()
GLOB.nukeop_start += loc
return INITIALIZE_HINT_QDEL
@@ -270,7 +270,7 @@ INITIALIZE_IMMEDIATE(/obj/effect/landmark)
icon = 'icons/effects/landmarks_static.dmi'
icon_state = "snukeop_leader_spawn"
-/obj/effect/landmark/start/nukeop_leader/Initialize()
+/obj/effect/landmark/start/nukeop_leader/Initialize(mapload)
..()
GLOB.nukeop_leader_start += loc
return INITIALIZE_HINT_QDEL
@@ -282,7 +282,7 @@ INITIALIZE_IMMEDIATE(/obj/effect/landmark/start/new_player)
/obj/effect/landmark/start/new_player
name = "New Player"
-/obj/effect/landmark/start/new_player/Initialize()
+/obj/effect/landmark/start/new_player/Initialize(mapload)
..()
GLOB.newplayer_start += loc
return INITIALIZE_HINT_QDEL
@@ -454,7 +454,7 @@ INITIALIZE_IMMEDIATE(/obj/effect/landmark/start/new_player)
/// A list of everything this hangover spawn created
var/list/debris = list()
-/obj/effect/landmark/start/hangover/Initialize()
+/obj/effect/landmark/start/hangover/Initialize(mapload)
. = ..()
return INITIALIZE_HINT_LATELOAD
diff --git a/code/game/objects/effects/mines.dm b/code/game/objects/effects/mines.dm
index 76324d585a8..b516900c31d 100644
--- a/code/game/objects/effects/mines.dm
+++ b/code/game/objects/effects/mines.dm
@@ -12,7 +12,7 @@
/// If set, we default armed to FALSE and set it to TRUE after this long from initializing
var/arm_delay
-/obj/effect/mine/Initialize()
+/obj/effect/mine/Initialize(mapload)
. = ..()
if(arm_delay)
armed = FALSE
diff --git a/code/game/objects/effects/overlays.dm b/code/game/objects/effects/overlays.dm
index d5ae3073d6c..855f5987692 100644
--- a/code/game/objects/effects/overlays.dm
+++ b/code/game/objects/effects/overlays.dm
@@ -13,7 +13,7 @@
icon_state="b_beam"
var/atom/BeamSource
-/obj/effect/overlay/beam/Initialize()
+/obj/effect/overlay/beam/Initialize(mapload)
. = ..()
QDEL_IN(src, 10)
diff --git a/code/game/objects/effects/powerup.dm b/code/game/objects/effects/powerup.dm
index 5ca06d9f812..32079b9729d 100644
--- a/code/game/objects/effects/powerup.dm
+++ b/code/game/objects/effects/powerup.dm
@@ -15,7 +15,7 @@
/// Cooldown for the powerup to respawn after it's been used
COOLDOWN_DECLARE(respawn_cooldown)
-/obj/effect/powerup/Initialize()
+/obj/effect/powerup/Initialize(mapload)
. = ..()
if(lifetime)
QDEL_IN(src, lifetime)
diff --git a/code/game/objects/effects/spawners/bombspawner.dm b/code/game/objects/effects/spawners/bombspawner.dm
index 3eb950b4550..2f1384cd24b 100644
--- a/code/game/objects/effects/spawners/bombspawner.dm
+++ b/code/game/objects/effects/spawners/bombspawner.dm
@@ -17,7 +17,7 @@
/// The typepath of the assembly to attach to the TTV.
var/assembly_type
-/obj/effect/spawner/newbomb/Initialize()
+/obj/effect/spawner/newbomb/Initialize(mapload)
. = ..()
var/obj/item/transfer_valve/ttv = new(loc)
var/obj/item/tank/internals/plasma/plasma_tank = new(ttv)
diff --git a/code/game/objects/effects/spawners/gibspawner.dm b/code/game/objects/effects/spawners/gibspawner.dm
index cc0a2f3eeba..e55ea14bae2 100644
--- a/code/game/objects/effects/spawners/gibspawner.dm
+++ b/code/game/objects/effects/spawners/gibspawner.dm
@@ -63,7 +63,7 @@
gibamounts = list(2, 2, 1)
sound_vol = 40
-/obj/effect/gibspawner/generic/Initialize()
+/obj/effect/gibspawner/generic/Initialize(mapload)
if(!gibdirections.len)
gibdirections = list(list(WEST, NORTHWEST, SOUTHWEST, NORTH),list(EAST, NORTHEAST, SOUTHEAST, SOUTH), list())
return ..()
@@ -79,7 +79,7 @@
gib_mob_type = /mob/living/carbon/human
sound_vol = 50
-/obj/effect/gibspawner/human/Initialize()
+/obj/effect/gibspawner/human/Initialize(mapload)
if(!gibdirections.len)
gibdirections = list(list(NORTH, NORTHEAST, NORTHWEST),list(SOUTH, SOUTHEAST, SOUTHWEST),list(WEST, NORTHWEST, SOUTHWEST),list(EAST, NORTHEAST, SOUTHEAST), GLOB.alldirs, GLOB.alldirs, list())
return ..()
@@ -89,7 +89,7 @@
gibtypes = list(/obj/effect/decal/cleanable/blood/gibs, /obj/effect/decal/cleanable/blood/gibs/core, /obj/effect/decal/cleanable/blood/gibs, /obj/effect/decal/cleanable/blood/gibs/core, /obj/effect/decal/cleanable/blood/gibs, /obj/effect/decal/cleanable/blood/gibs/torso)
gibamounts = list(1, 1, 1, 1, 1, 1)
-/obj/effect/gibspawner/human/bodypartless/Initialize()
+/obj/effect/gibspawner/human/bodypartless/Initialize(mapload)
if(!gibdirections.len)
gibdirections = list(list(NORTH, NORTHEAST, NORTHWEST),list(SOUTH, SOUTHEAST, SOUTHWEST),list(WEST, NORTHWEST, SOUTHWEST),list(EAST, NORTHEAST, SOUTHEAST), GLOB.alldirs, list())
return ..()
@@ -101,7 +101,7 @@
gibamounts = list(1, 1, 1, 1, 1, 1, 1)
gib_mob_type = /mob/living/carbon/alien
-/obj/effect/gibspawner/xeno/Initialize()
+/obj/effect/gibspawner/xeno/Initialize(mapload)
if(!gibdirections.len)
gibdirections = list(list(NORTH, NORTHEAST, NORTHWEST),list(SOUTH, SOUTHEAST, SOUTHWEST),list(WEST, NORTHWEST, SOUTHWEST),list(EAST, NORTHEAST, SOUTHEAST), GLOB.alldirs, GLOB.alldirs, list())
return ..()
@@ -112,7 +112,7 @@
gibamounts = list(1, 1, 1, 1, 1, 1)
-/obj/effect/gibspawner/xeno/bodypartless/Initialize()
+/obj/effect/gibspawner/xeno/bodypartless/Initialize(mapload)
if(!gibdirections.len)
gibdirections = list(list(NORTH, NORTHEAST, NORTHWEST),list(SOUTH, SOUTHEAST, SOUTHWEST),list(WEST, NORTHWEST, SOUTHWEST),list(EAST, NORTHEAST, SOUTHEAST), GLOB.alldirs, list())
return ..()
@@ -124,7 +124,7 @@
gibamounts = list(1, 1, 1, 1)
gib_mob_type = /mob/living/carbon/alien/larva
-/obj/effect/gibspawner/larva/Initialize()
+/obj/effect/gibspawner/larva/Initialize(mapload)
if(!gibdirections.len)
gibdirections = list(list(NORTH, NORTHEAST, NORTHWEST),list(SOUTH, SOUTHEAST, SOUTHWEST), list(), GLOB.alldirs)
return ..()
@@ -133,7 +133,7 @@
gibtypes = list(/obj/effect/decal/cleanable/xenoblood/xgibs/larva, /obj/effect/decal/cleanable/xenoblood/xgibs/larva, /obj/effect/decal/cleanable/xenoblood/xgibs/larva)
gibamounts = list(1, 1, 1)
-/obj/effect/gibspawner/larva/bodypartless/Initialize()
+/obj/effect/gibspawner/larva/bodypartless/Initialize(mapload)
if(!gibdirections.len)
gibdirections = list(list(NORTH, NORTHEAST, NORTHWEST),list(SOUTH, SOUTHEAST, SOUTHWEST), list())
return ..()
@@ -146,7 +146,7 @@
gibamounts = list(1, 1, 1, 1, 1, 1)
gib_mob_type = /mob/living/silicon
-/obj/effect/gibspawner/robot/Initialize()
+/obj/effect/gibspawner/robot/Initialize(mapload)
if(!gibdirections.len)
gibdirections = list(list(NORTH, NORTHEAST, NORTHWEST),list(SOUTH, SOUTHEAST, SOUTHWEST),list(WEST, NORTHWEST, SOUTHWEST),list(EAST, NORTHEAST, SOUTHEAST), GLOB.alldirs, GLOB.alldirs)
gibamounts[6] = pick(0, 1, 2)
diff --git a/code/game/objects/effects/spawners/structure.dm b/code/game/objects/effects/spawners/structure.dm
index c561f787e2c..b7a4d8a99e0 100644
--- a/code/game/objects/effects/spawners/structure.dm
+++ b/code/game/objects/effects/spawners/structure.dm
@@ -8,7 +8,7 @@ again.
name = "map structure spawner"
var/list/spawn_list
-/obj/effect/spawner/structure/Initialize()
+/obj/effect/spawner/structure/Initialize(mapload)
. = ..()
if(spawn_list?.len)
for(var/I in spawn_list)
@@ -25,7 +25,7 @@ again.
spawn_list = list(/obj/structure/grille, /obj/structure/window/fulltile)
dir = SOUTH
-/obj/effect/spawner/structure/window/Initialize()
+/obj/effect/spawner/structure/window/Initialize(mapload)
. = ..()
if (is_station_level(z))
@@ -40,7 +40,7 @@ again.
/obj/effect/spawner/structure/window/hollow/end
icon_state = "hwindow_spawner_end"
-/obj/effect/spawner/structure/window/hollow/end/Initialize()
+/obj/effect/spawner/structure/window/hollow/end/Initialize(mapload)
switch(dir)
if(NORTH)
spawn_list = list(/obj/structure/grille, /obj/structure/window/spawner/north, /obj/structure/window/spawner/east, /obj/structure/window/spawner/west)
@@ -55,7 +55,7 @@ again.
/obj/effect/spawner/structure/window/hollow/middle
icon_state = "hwindow_spawner_middle"
-/obj/effect/spawner/structure/window/hollow/middle/Initialize()
+/obj/effect/spawner/structure/window/hollow/middle/Initialize(mapload)
switch(dir)
if(NORTH,SOUTH)
spawn_list = list(/obj/structure/grille, /obj/structure/window, /obj/structure/window/spawner/north)
@@ -66,7 +66,7 @@ again.
/obj/effect/spawner/structure/window/hollow/directional
icon_state = "hwindow_spawner_directional"
-/obj/effect/spawner/structure/window/hollow/directional/Initialize()
+/obj/effect/spawner/structure/window/hollow/directional/Initialize(mapload)
switch(dir)
if(NORTH)
spawn_list = list(/obj/structure/grille, /obj/structure/window/spawner/north)
@@ -101,7 +101,7 @@ again.
/obj/effect/spawner/structure/window/hollow/reinforced/end
icon_state = "hrwindow_spawner_end"
-/obj/effect/spawner/structure/window/hollow/reinforced/end/Initialize()
+/obj/effect/spawner/structure/window/hollow/reinforced/end/Initialize(mapload)
switch(dir)
if(NORTH)
spawn_list = list(/obj/structure/grille, /obj/structure/window/reinforced/spawner/north, /obj/structure/window/reinforced/spawner/east, /obj/structure/window/reinforced/spawner/west)
@@ -116,7 +116,7 @@ again.
/obj/effect/spawner/structure/window/hollow/reinforced/middle
icon_state = "hrwindow_spawner_middle"
-/obj/effect/spawner/structure/window/hollow/reinforced/middle/Initialize()
+/obj/effect/spawner/structure/window/hollow/reinforced/middle/Initialize(mapload)
switch(dir)
if(NORTH,SOUTH)
spawn_list = list(/obj/structure/grille, /obj/structure/window/reinforced, /obj/structure/window/reinforced/spawner/north)
@@ -127,7 +127,7 @@ again.
/obj/effect/spawner/structure/window/hollow/reinforced/directional
icon_state = "hrwindow_spawner_directional"
-/obj/effect/spawner/structure/window/hollow/reinforced/directional/Initialize()
+/obj/effect/spawner/structure/window/hollow/reinforced/directional/Initialize(mapload)
switch(dir)
if(NORTH)
spawn_list = list(/obj/structure/grille, /obj/structure/window/reinforced/spawner/north)
@@ -194,7 +194,7 @@ again.
/obj/effect/spawner/structure/window/hollow/survival_pod/end
icon_state = "podwindow_spawner_end"
-/obj/effect/spawner/structure/window/hollow/survival_pod/end/Initialize()
+/obj/effect/spawner/structure/window/hollow/survival_pod/end/Initialize(mapload)
switch(dir)
if(NORTH)
spawn_list = list(/obj/structure/grille, /obj/structure/window/shuttle/survival_pod/spawner/north, /obj/structure/window/shuttle/survival_pod/spawner/east, /obj/structure/window/shuttle/survival_pod/spawner/west)
@@ -209,7 +209,7 @@ again.
/obj/effect/spawner/structure/window/hollow/survival_pod/middle
icon_state = "podwindow_spawner_middle"
-/obj/effect/spawner/structure/window/hollow/survival_pod/middle/Initialize()
+/obj/effect/spawner/structure/window/hollow/survival_pod/middle/Initialize(mapload)
switch(dir)
if(NORTH,SOUTH)
spawn_list = list(/obj/structure/grille, /obj/structure/window/shuttle/survival_pod, /obj/structure/window/shuttle/survival_pod/spawner/north)
@@ -220,7 +220,7 @@ again.
/obj/effect/spawner/structure/window/hollow/survival_pod/directional
icon_state = "podwindow_spawner_directional"
-/obj/effect/spawner/structure/window/hollow/survival_pod/directional/Initialize()
+/obj/effect/spawner/structure/window/hollow/survival_pod/directional/Initialize(mapload)
switch(dir)
if(NORTH)
spawn_list = list(/obj/structure/grille, /obj/structure/window/shuttle/survival_pod/spawner/north)
@@ -256,7 +256,7 @@ again.
/obj/effect/spawner/structure/window/hollow/plasma/end
icon_state = "phwindow_spawner_end"
-/obj/effect/spawner/structure/window/hollow/plasma/end/Initialize()
+/obj/effect/spawner/structure/window/hollow/plasma/end/Initialize(mapload)
switch(dir)
if(NORTH)
spawn_list = list(/obj/structure/grille, /obj/structure/window/plasma/spawner/north, /obj/structure/window/plasma/spawner/east, /obj/structure/window/plasma/spawner/west)
@@ -271,7 +271,7 @@ again.
/obj/effect/spawner/structure/window/hollow/plasma/middle
icon_state = "phwindow_spawner_middle"
-/obj/effect/spawner/structure/window/hollow/plasma/middle/Initialize()
+/obj/effect/spawner/structure/window/hollow/plasma/middle/Initialize(mapload)
switch(dir)
if(NORTH,SOUTH)
spawn_list = list(/obj/structure/grille, /obj/structure/window/plasma, /obj/structure/window/plasma/spawner/north)
@@ -282,7 +282,7 @@ again.
/obj/effect/spawner/structure/window/hollow/plasma/directional
icon_state = "phwindow_spawner_directional"
-/obj/effect/spawner/structure/window/hollow/plasma/directional/Initialize()
+/obj/effect/spawner/structure/window/hollow/plasma/directional/Initialize(mapload)
switch(dir)
if(NORTH)
spawn_list = list(/obj/structure/grille, /obj/structure/window/plasma/spawner/north)
@@ -317,7 +317,7 @@ again.
/obj/effect/spawner/structure/window/hollow/plasma/reinforced/end
icon_state = "phrwindow_spawner_end"
-/obj/effect/spawner/structure/window/hollow/plasma/reinforced/end/Initialize()
+/obj/effect/spawner/structure/window/hollow/plasma/reinforced/end/Initialize(mapload)
switch(dir)
if(NORTH)
spawn_list = list(/obj/structure/grille, /obj/structure/window/plasma/reinforced/spawner/north, /obj/structure/window/plasma/reinforced/spawner/east, /obj/structure/window/plasma/reinforced/spawner/west)
@@ -332,7 +332,7 @@ again.
/obj/effect/spawner/structure/window/hollow/plasma/reinforced/middle
icon_state = "phrwindow_spawner_middle"
-/obj/effect/spawner/structure/window/hollow/plasma/reinforced/middle/Initialize()
+/obj/effect/spawner/structure/window/hollow/plasma/reinforced/middle/Initialize(mapload)
switch(dir)
if(NORTH,SOUTH)
spawn_list = list(/obj/structure/grille, /obj/structure/window/plasma/reinforced, /obj/structure/window/plasma/reinforced/spawner/north)
@@ -343,7 +343,7 @@ again.
/obj/effect/spawner/structure/window/hollow/plasma/reinforced/directional
icon_state = "phrwindow_spawner_directional"
-/obj/effect/spawner/structure/window/hollow/plasma/reinforced/directional/Initialize()
+/obj/effect/spawner/structure/window/hollow/plasma/reinforced/directional/Initialize(mapload)
switch(dir)
if(NORTH)
spawn_list = list(/obj/structure/grille, /obj/structure/window/plasma/reinforced/spawner/north)
diff --git a/code/game/objects/effects/spiders.dm b/code/game/objects/effects/spiders.dm
index cc1bc78c006..6738bec0258 100644
--- a/code/game/objects/effects/spiders.dm
+++ b/code/game/objects/effects/spiders.dm
@@ -50,7 +50,7 @@
var/obj/item/stack/sheet/cloth/woven_cloth = new /obj/item/stack/sheet/cloth
user.put_in_hands(woven_cloth)
-/obj/structure/spider/stickyweb/Initialize()
+/obj/structure/spider/stickyweb/Initialize(mapload)
if(!sealed && prob(50))
icon_state = "stickyweb2"
. = ..()
@@ -107,7 +107,7 @@
/// Mob spawner handling the actual spawn of the spider
var/obj/effect/mob_spawn/spider/spawner
-/obj/structure/spider/eggcluster/Initialize()
+/obj/structure/spider/eggcluster/Initialize(mapload)
pixel_x = base_pixel_x + rand(3,-3)
pixel_y = base_pixel_y + rand(3,-3)
return ..()
@@ -287,7 +287,7 @@
new/obj/item/food/spiderling(get_turf(src))
. = ..()
-/obj/structure/spider/spiderling/Initialize()
+/obj/structure/spider/spiderling/Initialize(mapload)
. = ..()
pixel_x = rand(6,-6)
pixel_y = rand(6,-6)
@@ -401,7 +401,7 @@
icon_state = "cocoon1"
max_integrity = 60
-/obj/structure/spider/cocoon/Initialize()
+/obj/structure/spider/cocoon/Initialize(mapload)
icon_state = pick("cocoon1","cocoon2","cocoon3")
. = ..()
diff --git a/code/game/objects/effects/temporary_visuals/temporary_visual.dm b/code/game/objects/effects/temporary_visuals/temporary_visual.dm
index a4a6fcf9d91..8413b9d97e0 100644
--- a/code/game/objects/effects/temporary_visuals/temporary_visual.dm
+++ b/code/game/objects/effects/temporary_visuals/temporary_visual.dm
@@ -11,7 +11,7 @@
///id of the deletion timer
var/timerid
-/obj/effect/temp_visual/Initialize()
+/obj/effect/temp_visual/Initialize(mapload)
. = ..()
if(randomdir)
setDir(pick(GLOB.cardinals))
diff --git a/code/game/objects/items.dm b/code/game/objects/items.dm
index 68d781a0eb4..cc8f36944f1 100644
--- a/code/game/objects/items.dm
+++ b/code/game/objects/items.dm
@@ -201,7 +201,7 @@ GLOBAL_DATUM_INIT(fire_overlay, /mutable_appearance, mutable_appearance('icons/e
/// Used in obj/item/examine to determines whether or not to detail an item's statistics even if it does not meet the force requirements
var/override_notes = FALSE
-/obj/item/Initialize()
+/obj/item/Initialize(mapload)
if(attack_verb_continuous)
attack_verb_continuous = string_list(attack_verb_continuous)
diff --git a/code/game/objects/items/AI_modules.dm b/code/game/objects/items/AI_modules.dm
index 603f4653068..0e326ef0f7e 100644
--- a/code/game/objects/items/AI_modules.dm
+++ b/code/game/objects/items/AI_modules.dm
@@ -351,7 +351,7 @@ AI MODULES
/obj/item/ai_module/core/full
var/law_id // if non-null, loads the laws from the ai_laws datums
-/obj/item/ai_module/core/full/Initialize()
+/obj/item/ai_module/core/full/Initialize(mapload)
. = ..()
if(!law_id)
return
@@ -421,7 +421,7 @@ AI MODULES
/obj/item/ai_module/core/full/custom
name = "Default Core AI Module"
-/obj/item/ai_module/core/full/custom/Initialize()
+/obj/item/ai_module/core/full/custom/Initialize(mapload)
. = ..()
for(var/line in world.file2list("[global.config.directory]/silicon_laws.txt"))
if(!line)
diff --git a/code/game/objects/items/RCD.dm b/code/game/objects/items/RCD.dm
index a7437ee9148..ebe5b4eeef2 100644
--- a/code/game/objects/items/RCD.dm
+++ b/code/game/objects/items/RCD.dm
@@ -648,7 +648,7 @@ GLOBAL_VAR_INIT(icon_holographic_window, init_holographic_window())
playsound(src.loc, 'sound/machines/click.ogg', 50, TRUE)
return TRUE
-/obj/item/construction/rcd/Initialize()
+/obj/item/construction/rcd/Initialize(mapload)
. = ..()
airlock_electronics = new(src)
airlock_electronics.name = "Access Control"
@@ -773,7 +773,7 @@ GLOBAL_VAR_INIT(icon_holographic_window, init_holographic_window())
if(ratio > 0)
. += "[icon_state]_charge[ratio]"
-/obj/item/construction/rcd/Initialize()
+/obj/item/construction/rcd/Initialize(mapload)
. = ..()
update_appearance()
diff --git a/code/game/objects/items/RCL.dm b/code/game/objects/items/RCL.dm
index 6c2d4f29499..3ef31145916 100644
--- a/code/game/objects/items/RCL.dm
+++ b/code/game/objects/items/RCL.dm
@@ -23,7 +23,7 @@
var/datum/radial_menu/persistent/wiring_gui_menu
var/mob/listeningTo
-/obj/item/rcl/Initialize()
+/obj/item/rcl/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_TWOHANDED_WIELD, .proc/on_wield)
RegisterSignal(src, COMSIG_TWOHANDED_UNWIELD, .proc/on_unwield)
@@ -300,14 +300,14 @@
wiringGuiUpdate(user)
-/obj/item/rcl/pre_loaded/Initialize() //Comes preloaded with pipe_cleaner, for testing stuff
+/obj/item/rcl/pre_loaded/Initialize(mapload) //Comes preloaded with pipe_cleaner, for testing stuff
. = ..()
loaded = new()
loaded.max_amount = max_amount
loaded.amount = max_amount
update_appearance()
-/obj/item/rcl/Initialize()
+/obj/item/rcl/Initialize(mapload)
. = ..()
update_appearance()
diff --git a/code/game/objects/items/RPD.dm b/code/game/objects/items/RPD.dm
index 00205bdbb4c..a46f66abec2 100644
--- a/code/game/objects/items/RPD.dm
+++ b/code/game/objects/items/RPD.dm
@@ -237,7 +237,7 @@ GLOBAL_LIST_INIT(transit_tube_recipes, list(
/// Bitflags for upgrades
var/upgrade_flags
-/obj/item/pipe_dispenser/Initialize()
+/obj/item/pipe_dispenser/Initialize(mapload)
. = ..()
spark_system = new
spark_system.set_up(5, 0, src)
diff --git a/code/game/objects/items/RSF.dm b/code/game/objects/items/RSF.dm
index 9bb4c300d6a..074280b356a 100644
--- a/code/game/objects/items/RSF.dm
+++ b/code/game/objects/items/RSF.dm
@@ -50,7 +50,7 @@ RSF
///How long should the minimum period between this RSF's item dispensings be?
var/cooldowndelay = 0 SECONDS
-/obj/item/rsf/Initialize()
+/obj/item/rsf/Initialize(mapload)
. = ..()
to_dispense = cost_by_item[1]
dispense_cost = cost_by_item[to_dispense]
diff --git a/code/game/objects/items/airlock_painter.dm b/code/game/objects/items/airlock_painter.dm
index 0d7a92eceb5..056830bd41f 100644
--- a/code/game/objects/items/airlock_painter.dm
+++ b/code/game/objects/items/airlock_painter.dm
@@ -34,7 +34,7 @@
"Standard" = /obj/machinery/door/airlock
)
-/obj/item/airlock_painter/Initialize()
+/obj/item/airlock_painter/Initialize(mapload)
. = ..()
ink = new /obj/item/toner(src)
@@ -180,7 +180,7 @@
. = ..()
ui_interact(user)
-/obj/item/airlock_painter/decal/Initialize()
+/obj/item/airlock_painter/decal/Initialize(mapload)
. = ..()
ink = new /obj/item/toner/large(src)
@@ -244,6 +244,6 @@
name = "extreme decal painter"
icon_state = "decal_sprayer_ex"
-/obj/item/airlock_painter/decal/debug/Initialize()
+/obj/item/airlock_painter/decal/debug/Initialize(mapload)
. = ..()
ink = new /obj/item/toner/extreme(src)
diff --git a/code/game/objects/items/binoculars.dm b/code/game/objects/items/binoculars.dm
index 45aa014a1e9..b4e8a478004 100644
--- a/code/game/objects/items/binoculars.dm
+++ b/code/game/objects/items/binoculars.dm
@@ -12,7 +12,7 @@
var/zoom_out_amt = 5.5
var/zoom_amt = 10
-/obj/item/binoculars/Initialize()
+/obj/item/binoculars/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_TWOHANDED_WIELD, .proc/on_wield)
RegisterSignal(src, COMSIG_TWOHANDED_UNWIELD, .proc/on_unwield)
diff --git a/code/game/objects/items/body_egg.dm b/code/game/objects/items/body_egg.dm
index 36db923e42a..dc769ead283 100644
--- a/code/game/objects/items/body_egg.dm
+++ b/code/game/objects/items/body_egg.dm
@@ -9,7 +9,7 @@
..()
to_chat(finder, span_warning("You found an unknown alien organism in [owner]'s [zone]!"))
-/obj/item/organ/body_egg/Initialize()
+/obj/item/organ/body_egg/Initialize(mapload)
. = ..()
if(iscarbon(loc))
Insert(loc)
diff --git a/code/game/objects/items/broom.dm b/code/game/objects/items/broom.dm
index fe7b32ea3ad..59f0bdd605d 100644
--- a/code/game/objects/items/broom.dm
+++ b/code/game/objects/items/broom.dm
@@ -18,7 +18,7 @@
attack_verb_simple = list("sweep", "brush off", "bludgeon", "whack")
resistance_flags = FLAMMABLE
-/obj/item/pushbroom/Initialize()
+/obj/item/pushbroom/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_TWOHANDED_WIELD, .proc/on_wield)
RegisterSignal(src, COMSIG_TWOHANDED_UNWIELD, .proc/on_unwield)
diff --git a/code/game/objects/items/candle.dm b/code/game/objects/items/candle.dm
index c43ced52abd..d159ca971c2 100644
--- a/code/game/objects/items/candle.dm
+++ b/code/game/objects/items/candle.dm
@@ -15,7 +15,7 @@
var/infinite = FALSE
var/start_lit = FALSE
-/obj/item/candle/Initialize()
+/obj/item/candle/Initialize(mapload)
. = ..()
if(start_lit)
light()
diff --git a/code/game/objects/items/cardboard_cutouts.dm b/code/game/objects/items/cardboard_cutouts.dm
index a0ea43eec9f..7b24ddd8922 100644
--- a/code/game/objects/items/cardboard_cutouts.dm
+++ b/code/game/objects/items/cardboard_cutouts.dm
@@ -13,7 +13,7 @@
/// If the cutout actually appears as what it portray and not a discolored version
var/deceptive = FALSE
-/obj/item/cardboard_cutout/Initialize()
+/obj/item/cardboard_cutout/Initialize(mapload)
. = ..()
possible_appearances = sortList(list(
"Assistant" = image(icon = src.icon, icon_state = "cutout_greytide"),
diff --git a/code/game/objects/items/cards_ids.dm b/code/game/objects/items/cards_ids.dm
index 1ca47779477..a4831f7585f 100644
--- a/code/game/objects/items/cards_ids.dm
+++ b/code/game/objects/items/cards_ids.dm
@@ -46,7 +46,7 @@
righthand_file = 'icons/mob/inhands/equipment/idcards_righthand.dmi'
var/detail_color = COLOR_ASSEMBLY_ORANGE
-/obj/item/card/data/Initialize()
+/obj/item/card/data/Initialize(mapload)
.=..()
update_appearance()
@@ -692,7 +692,7 @@
var/department_name = ACCOUNT_CIV_NAME
registered_age = null
-/obj/item/card/id/departmental_budget/Initialize()
+/obj/item/card/id/departmental_budget/Initialize(mapload)
. = ..()
var/datum/bank_account/B = SSeconomy.get_dep_account(department_ID)
if(B)
@@ -963,7 +963,7 @@
trim = /datum/id_trim/admin
wildcard_slots = WILDCARD_LIMIT_ADMIN
-/obj/item/card/id/advanced/debug/Initialize()
+/obj/item/card/id/advanced/debug/Initialize(mapload)
. = ..()
registered_account = SSeconomy.get_dep_account(ACCOUNT_CAR)
@@ -1051,7 +1051,7 @@
/// Weak ref to the ID card we're currently attempting to steal access from.
var/datum/weakref/theft_target
-/obj/item/card/id/advanced/chameleon/Initialize()
+/obj/item/card/id/advanced/chameleon/Initialize(mapload)
. = ..()
var/datum/action/item_action/chameleon/change/id/chameleon_card_action = new(src)
diff --git a/code/game/objects/items/chainsaw.dm b/code/game/objects/items/chainsaw.dm
index a97051bf180..1870e2566da 100644
--- a/code/game/objects/items/chainsaw.dm
+++ b/code/game/objects/items/chainsaw.dm
@@ -24,7 +24,7 @@
var/on = FALSE
var/wielded = FALSE // track wielded status on item
-/obj/item/chainsaw/Initialize()
+/obj/item/chainsaw/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_TWOHANDED_WIELD, .proc/on_wield)
RegisterSignal(src, COMSIG_TWOHANDED_UNWIELD, .proc/on_unwield)
diff --git a/code/game/objects/items/charter.dm b/code/game/objects/items/charter.dm
index 3d0e83a3420..3558aa5d637 100644
--- a/code/game/objects/items/charter.dm
+++ b/code/game/objects/items/charter.dm
@@ -16,7 +16,7 @@
var/static/regex/standard_station_regex
-/obj/item/station_charter/Initialize()
+/obj/item/station_charter/Initialize(mapload)
. = ..()
if(!standard_station_regex)
var/prefixes = jointext(GLOB.station_prefixes, "|")
@@ -136,7 +136,7 @@
//A cooldown, once it's over you can't declare a new name anymore
COOLDOWN_DECLARE(cutoff)
-/obj/item/station_charter/revolution/Initialize()
+/obj/item/station_charter/revolution/Initialize(mapload)
. = ..()
COOLDOWN_START(src, cutoff, 5 MINUTES)
diff --git a/code/game/objects/items/chrono_eraser.dm b/code/game/objects/items/chrono_eraser.dm
index 16ab0eb5c19..2995be22df9 100644
--- a/code/game/objects/items/chrono_eraser.dm
+++ b/code/game/objects/items/chrono_eraser.dm
@@ -56,7 +56,7 @@
var/obj/structure/chrono_field/field = null
var/turf/startpos = null
-/obj/item/gun/energy/chrono_gun/Initialize()
+/obj/item/gun/energy/chrono_gun/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CHRONO_GUN_TRAIT)
if(istype(loc, /obj/item/chrono_eraser))
@@ -128,7 +128,7 @@
nodamage = TRUE
var/obj/item/gun/energy/chrono_gun/gun = null
-/obj/projectile/energy/chrono_beam/Initialize()
+/obj/projectile/energy/chrono_beam/Initialize(mapload)
. = ..()
var/obj/item/ammo_casing/energy/chrono_beam/C = loc
if(istype(C))
@@ -151,7 +151,7 @@
e_cost = 0
var/obj/item/gun/energy/chrono_gun/gun
-/obj/item/ammo_casing/energy/chrono_beam/Initialize()
+/obj/item/ammo_casing/energy/chrono_beam/Initialize(mapload)
if(istype(loc))
gun = loc
. = ..()
diff --git a/code/game/objects/items/cigs_lighters.dm b/code/game/objects/items/cigs_lighters.dm
index 66690b4774b..f2a9a76603c 100644
--- a/code/game/objects/items/cigs_lighters.dm
+++ b/code/game/objects/items/cigs_lighters.dm
@@ -117,7 +117,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
custom_materials = list(/datum/material/wood = MINERAL_MATERIAL_AMOUNT)
grind_results = list(/datum/reagent/carbon = 2)
-/obj/item/match/firebrand/Initialize()
+/obj/item/match/firebrand/Initialize(mapload)
. = ..()
matchignite()
@@ -161,7 +161,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
var/lung_harm = 1
-/obj/item/clothing/mask/cigarette/Initialize()
+/obj/item/clothing/mask/cigarette/Initialize(mapload)
. = ..()
create_reagents(chem_volume, INJECTABLE | NO_REACT)
if(list_reagents)
@@ -371,7 +371,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
/obj/item/clothing/mask/cigarette/carp
desc = "A Carp Classic brand cigarette. A small label on its side indicates that it does NOT contain carpotoxin."
-/obj/item/clothing/mask/cigarette/carp/Initialize()
+/obj/item/clothing/mask/cigarette/carp/Initialize(mapload)
. = ..()
if(!prob(5))
return
@@ -407,7 +407,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
chem_volume = 50
list_reagents = null
-/obj/item/clothing/mask/cigarette/rollie/Initialize()
+/obj/item/clothing/mask/cigarette/rollie/Initialize(mapload)
. = ..()
name = pick(list(
"bifta",
@@ -489,7 +489,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
desc = "A manky old roach, or for non-stoners, a used rollup."
icon_state = "roach"
-/obj/item/cigbutt/roach/Initialize()
+/obj/item/cigbutt/roach/Initialize(mapload)
. = ..()
pixel_x = rand(-5, 5)
pixel_y = rand(-5, 5)
@@ -560,7 +560,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
list_reagents = null
var/packeditem = FALSE
-/obj/item/clothing/mask/cigarette/pipe/Initialize()
+/obj/item/clothing/mask/cigarette/pipe/Initialize(mapload)
. = ..()
name = "empty [initial(name)]"
@@ -683,7 +683,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
"snake"
)
-/obj/item/lighter/Initialize()
+/obj/item/lighter/Initialize(mapload)
. = ..()
if(!overlay_state)
overlay_state = pick(overlay_list)
@@ -857,7 +857,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
COLOR_ASSEMBLY_PURPLE
)
-/obj/item/lighter/greyscale/Initialize()
+/obj/item/lighter/greyscale/Initialize(mapload)
. = ..()
if(!lighter_color)
lighter_color = pick(color_list)
diff --git a/code/game/objects/items/circuitboards/circuitboard.dm b/code/game/objects/items/circuitboards/circuitboard.dm
index e0083800ddb..dabcdb88271 100644
--- a/code/game/objects/items/circuitboards/circuitboard.dm
+++ b/code/game/objects/items/circuitboards/circuitboard.dm
@@ -18,7 +18,7 @@
///determines if the circuit board originated from a vendor off station or not.
var/onstation = TRUE
-/obj/item/circuitboard/Initialize()
+/obj/item/circuitboard/Initialize(mapload)
set_greyscale(new_config=/datum/greyscale_config/circuit)
return ..()
diff --git a/code/game/objects/items/circuitboards/computer_circuitboards.dm b/code/game/objects/items/circuitboards/computer_circuitboards.dm
index baf7a4afada..f7fe1424ca5 100644
--- a/code/game/objects/items/circuitboards/computer_circuitboards.dm
+++ b/code/game/objects/items/circuitboards/computer_circuitboards.dm
@@ -281,7 +281,7 @@
var/challenge = FALSE
var/moved = FALSE
-/obj/item/circuitboard/computer/syndicate_shuttle/Initialize()
+/obj/item/circuitboard/computer/syndicate_shuttle/Initialize(mapload)
. = ..()
GLOB.syndicate_shuttle_boards += src
diff --git a/code/game/objects/items/clown_items.dm b/code/game/objects/items/clown_items.dm
index a837549442b..7bdac4fde8b 100644
--- a/code/game/objects/items/clown_items.dm
+++ b/code/game/objects/items/clown_items.dm
@@ -188,7 +188,7 @@
///sound file given to the squeaky component we make in Initialize() so sub-types can specify their own sound
var/sound_file = 'sound/items/bikehorn.ogg'
-/obj/item/bikehorn/Initialize()
+/obj/item/bikehorn/Initialize(mapload)
. = ..()
var/list/sound_list = list()
sound_list[sound_file] = 1
diff --git a/code/game/objects/items/control_wand.dm b/code/game/objects/items/control_wand.dm
index 7caf39bcb7c..88add4a928c 100644
--- a/code/game/objects/items/control_wand.dm
+++ b/code/game/objects/items/control_wand.dm
@@ -16,7 +16,7 @@
var/list/access_list
network_id = NETWORK_DOOR_REMOTES
-/obj/item/door_remote/Initialize()
+/obj/item/door_remote/Initialize(mapload)
. = ..()
access_list = SSid_access.get_region_access_list(list(region_access))
RegisterSignal(src, COMSIG_COMPONENT_NTNET_NAK, .proc/bad_signal)
diff --git a/code/game/objects/items/cosmetics.dm b/code/game/objects/items/cosmetics.dm
index 8eb01e1d5ff..619a13790e1 100644
--- a/code/game/objects/items/cosmetics.dm
+++ b/code/game/objects/items/cosmetics.dm
@@ -32,7 +32,7 @@
name = "lipstick"
icon_state = "random_lipstick"
-/obj/item/lipstick/random/Initialize()
+/obj/item/lipstick/random/Initialize(mapload)
. = ..()
icon_state = "lipstick"
colour = pick("red","purple","lime","black","green","blue","white")
diff --git a/code/game/objects/items/courtroom.dm b/code/game/objects/items/courtroom.dm
index 5e02f8aa8cc..57c13968960 100644
--- a/code/game/objects/items/courtroom.dm
+++ b/code/game/objects/items/courtroom.dm
@@ -14,7 +14,7 @@
attack_verb_simple = list("bash", "batter", "judge", "whack")
resistance_flags = FLAMMABLE
-/obj/item/gavelhammer/Initialize()
+/obj/item/gavelhammer/Initialize(mapload)
. = ..()
AddElement(/datum/element/kneejerk)
diff --git a/code/game/objects/items/crayons.dm b/code/game/objects/items/crayons.dm
index 21c3672112b..a40245bd8d6 100644
--- a/code/game/objects/items/crayons.dm
+++ b/code/game/objects/items/crayons.dm
@@ -77,7 +77,7 @@
user.visible_message(span_suicide("[user] is jamming [src] up [user.p_their()] nose and into [user.p_their()] brain. It looks like [user.p_theyre()] trying to commit suicide!"))
return (BRUTELOSS|OXYLOSS)
-/obj/item/toy/crayon/Initialize()
+/obj/item/toy/crayon/Initialize(mapload)
. = ..()
dye_color = crayon_color
@@ -604,7 +604,7 @@
w_class = WEIGHT_CLASS_SMALL
custom_materials = list(/datum/material/cardboard = 2000)
-/obj/item/storage/crayons/Initialize()
+/obj/item/storage/crayons/Initialize(mapload)
. = ..()
var/datum/component/storage/STR = GetComponent(/datum/component/storage)
STR.max_items = 7
@@ -706,7 +706,7 @@
return (OXYLOSS)
-/obj/item/toy/crayon/spraycan/Initialize()
+/obj/item/toy/crayon/spraycan/Initialize(mapload)
. = ..()
// If default crayon red colour, pick a more fun spraycan colour
if(!paint_color)
diff --git a/code/game/objects/items/defib.dm b/code/game/objects/items/defib.dm
index c87f28bf53e..a16da63dce2 100644
--- a/code/game/objects/items/defib.dm
+++ b/code/game/objects/items/defib.dm
@@ -40,13 +40,13 @@
/obj/item/defibrillator/get_cell()
return cell
-/obj/item/defibrillator/Initialize() //starts without a cell for rnd
+/obj/item/defibrillator/Initialize(mapload) //starts without a cell for rnd
. = ..()
paddles = new paddle_type(src)
update_power()
return
-/obj/item/defibrillator/loaded/Initialize() //starts with hicap
+/obj/item/defibrillator/loaded/Initialize(mapload) //starts with hicap
. = ..()
cell = new(src)
update_power()
@@ -275,7 +275,7 @@
if(slot == user.getBeltSlot())
return TRUE
-/obj/item/defibrillator/compact/loaded/Initialize()
+/obj/item/defibrillator/compact/loaded/Initialize(mapload)
. = ..()
cell = new(src)
update_power()
@@ -294,7 +294,7 @@
powered_state = null
emagged_state = null
-/obj/item/defibrillator/compact/combat/loaded/Initialize()
+/obj/item/defibrillator/compact/combat/loaded/Initialize(mapload)
. = ..()
cell = new /obj/item/stock_parts/cell/infinite(src)
update_power()
@@ -400,7 +400,7 @@
cooldown = FALSE
update_appearance()
-/obj/item/shockpaddles/Initialize()
+/obj/item/shockpaddles/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NO_STORAGE_INSERT, TRAIT_GENERIC) //stops shockpaddles from being inserted in BoH
RegisterSignal(src, COMSIG_TWOHANDED_WIELD, .proc/on_wield)
diff --git a/code/game/objects/items/devices/PDA/PDA.dm b/code/game/objects/items/devices/PDA/PDA.dm
index 4813bc157ca..1dc8b94216f 100644
--- a/code/game/objects/items/devices/PDA/PDA.dm
+++ b/code/game/objects/items/devices/PDA/PDA.dm
@@ -111,7 +111,7 @@ GLOBAL_LIST_EMPTY(PDAs)
if((!isnull(cartridge)))
. += span_notice("Ctrl+Shift-click to remove the cartridge.") //won't name cart on examine in case it's Detomatix
-/obj/item/pda/Initialize()
+/obj/item/pda/Initialize(mapload)
. = ..()
GLOB.PDAs += src
diff --git a/code/game/objects/items/devices/PDA/PDA_types.dm b/code/game/objects/items/devices/PDA/PDA_types.dm
index a0e3bf39a3e..03068a9d591 100644
--- a/code/game/objects/items/devices/PDA/PDA_types.dm
+++ b/code/game/objects/items/devices/PDA/PDA_types.dm
@@ -63,7 +63,7 @@
/obj/item/pda/ai/pai
ttone = "assist"
-/obj/item/pda/ai/Initialize()
+/obj/item/pda/ai/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_PDA_CHECK_DETONATE, .proc/pda_no_detonate)
@@ -156,7 +156,7 @@
greyscale_config = /datum/greyscale_config/pda/captain
greyscale_colors = "#2C7CB2#FF0000#FFFFFF#F5D67B"
-/obj/item/pda/captain/Initialize()
+/obj/item/pda/captain/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_PDA_CHECK_DETONATE, .proc/pda_no_detonate)
diff --git a/code/game/objects/items/devices/PDA/cart.dm b/code/game/objects/items/devices/PDA/cart.dm
index 1de5e35c812..6d6e0013a35 100644
--- a/code/game/objects/items/devices/PDA/cart.dm
+++ b/code/game/objects/items/devices/PDA/cart.dm
@@ -32,7 +32,7 @@
var/mob/living/simple_animal/bot/active_bot
var/list/botlist = list()
-/obj/item/cartridge/Initialize()
+/obj/item/cartridge/Initialize(mapload)
. = ..()
var/obj/item/pda/pda = loc
if(istype(pda))
@@ -108,7 +108,7 @@
icon_state = "cart-ord"
access = CART_REAGENT_SCANNER | CART_ATMOS
-/obj/item/cartridge/signal/Initialize()
+/obj/item/cartridge/signal/Initialize(mapload)
. = ..()
radio = new(src)
@@ -157,7 +157,7 @@
access = CART_MANIFEST | CART_STATUS_DISPLAY | CART_REAGENT_SCANNER | CART_ATMOS | CART_DRONEPHONE
bot_access_flags = FLOOR_BOT | CLEAN_BOT | MED_BOT | FIRE_BOT | VIBE_BOT
-/obj/item/cartridge/rd/Initialize()
+/obj/item/cartridge/rd/Initialize(mapload)
. = ..()
radio = new(src)
@@ -169,7 +169,7 @@
bot_access_flags = SEC_BOT | MULE_BOT | FLOOR_BOT | CLEAN_BOT | MED_BOT | FIRE_BOT | VIBE_BOT
spam_enabled = 1
-/obj/item/cartridge/captain/Initialize()
+/obj/item/cartridge/captain/Initialize(mapload)
. = ..()
radio = new(src)
diff --git a/code/game/objects/items/devices/PDA/radio.dm b/code/game/objects/items/devices/PDA/radio.dm
index 329631ff9e0..39d1a7b5223 100644
--- a/code/game/objects/items/devices/PDA/radio.dm
+++ b/code/game/objects/items/devices/PDA/radio.dm
@@ -15,7 +15,7 @@
radio_connection = null
return ..()
-/obj/item/integrated_signaler/Initialize()
+/obj/item/integrated_signaler/Initialize(mapload)
. = ..()
if (frequency < MIN_FREE_FREQ || frequency > MAX_FREE_FREQ)
frequency = sanitize_frequency(frequency)
diff --git a/code/game/objects/items/devices/beacon.dm b/code/game/objects/items/devices/beacon.dm
index 23da5627b79..7a6a6185700 100644
--- a/code/game/objects/items/devices/beacon.dm
+++ b/code/game/objects/items/devices/beacon.dm
@@ -9,7 +9,7 @@
var/enabled = TRUE
var/renamed = FALSE
-/obj/item/beacon/Initialize()
+/obj/item/beacon/Initialize(mapload)
. = ..()
if (enabled)
GLOB.teleportbeacons += src
diff --git a/code/game/objects/items/devices/camera_bug.dm b/code/game/objects/items/devices/camera_bug.dm
index baadd60e35a..f45a2c979f8 100644
--- a/code/game/objects/items/devices/camera_bug.dm
+++ b/code/game/objects/items/devices/camera_bug.dm
@@ -31,7 +31,7 @@
var/last_found = null
var/last_seen = null
-/obj/item/camera_bug/Initialize()
+/obj/item/camera_bug/Initialize(mapload)
. = ..()
START_PROCESSING(SSobj, src)
diff --git a/code/game/objects/items/devices/chameleonproj.dm b/code/game/objects/items/devices/chameleonproj.dm
index 4d0222abd7c..22528d007af 100644
--- a/code/game/objects/items/devices/chameleonproj.dm
+++ b/code/game/objects/items/devices/chameleonproj.dm
@@ -17,7 +17,7 @@
var/obj/effect/dummy/chameleon/active_dummy = null
var/saved_appearance = null
-/obj/item/chameleon/Initialize()
+/obj/item/chameleon/Initialize(mapload)
. = ..()
var/obj/item/cigbutt/butt = /obj/item/cigbutt
saved_appearance = initial(butt.appearance)
diff --git a/code/game/objects/items/devices/electroadaptive_pseudocircuit.dm b/code/game/objects/items/devices/electroadaptive_pseudocircuit.dm
index 5a78c8b1f44..80f496b4026 100644
--- a/code/game/objects/items/devices/electroadaptive_pseudocircuit.dm
+++ b/code/game/objects/items/devices/electroadaptive_pseudocircuit.dm
@@ -11,7 +11,7 @@
var/static/recycleable_circuits = typecacheof(list(/obj/item/electronics/firelock, /obj/item/electronics/airalarm, /obj/item/electronics/firealarm, \
/obj/item/electronics/apc))//A typecache of circuits consumable for material
-/obj/item/electroadaptive_pseudocircuit/Initialize()
+/obj/item/electroadaptive_pseudocircuit/Initialize(mapload)
. = ..()
maptext = MAPTEXT(circuits)
diff --git a/code/game/objects/items/devices/flashlight.dm b/code/game/objects/items/devices/flashlight.dm
index 83c0d7710b6..4027ad9ff16 100644
--- a/code/game/objects/items/devices/flashlight.dm
+++ b/code/game/objects/items/devices/flashlight.dm
@@ -20,7 +20,7 @@
var/on = FALSE
-/obj/item/flashlight/Initialize()
+/obj/item/flashlight/Initialize(mapload)
. = ..()
if(icon_state == "[initial(icon_state)]-on")
on = TRUE
@@ -282,7 +282,7 @@
light_system = MOVABLE_LIGHT
grind_results = list(/datum/reagent/sulfur = 15)
-/obj/item/flashlight/flare/Initialize()
+/obj/item/flashlight/flare/Initialize(mapload)
. = ..()
fuel = rand(1600, 2000)
@@ -463,7 +463,7 @@
var/fuel = 0
-/obj/item/flashlight/glowstick/Initialize()
+/obj/item/flashlight/glowstick/Initialize(mapload)
fuel = rand(3200, 4000)
set_light_color(color)
return ..()
diff --git a/code/game/objects/items/devices/geiger_counter.dm b/code/game/objects/items/devices/geiger_counter.dm
index d2c5cabc548..c7c439447ee 100644
--- a/code/game/objects/items/devices/geiger_counter.dm
+++ b/code/game/objects/items/devices/geiger_counter.dm
@@ -28,7 +28,7 @@
var/fail_to_receive = 0
var/current_warning = 1
-/obj/item/geiger_counter/Initialize()
+/obj/item/geiger_counter/Initialize(mapload)
. = ..()
START_PROCESSING(SSobj, src)
diff --git a/code/game/objects/items/devices/gps.dm b/code/game/objects/items/devices/gps.dm
index 007be3b367b..6af2fd40b3e 100644
--- a/code/game/objects/items/devices/gps.dm
+++ b/code/game/objects/items/devices/gps.dm
@@ -11,7 +11,7 @@
obj_flags = UNIQUE_RENAME
var/gpstag
-/obj/item/gps/Initialize()
+/obj/item/gps/Initialize(mapload)
. = ..()
add_gps_component()
@@ -40,7 +40,7 @@
gpstag = "BORG0"
desc = "A mining cyborg internal positioning system. Used as a recovery beacon for damaged cyborg assets, or a collaboration tool for mining teams."
-/obj/item/gps/cyborg/Initialize()
+/obj/item/gps/cyborg/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, CYBORG_ITEM_TRAIT)
@@ -66,7 +66,7 @@
for marking the area around the transition edges."
var/list/turf/tagged
-/obj/item/gps/visible_debug/Initialize()
+/obj/item/gps/visible_debug/Initialize(mapload)
. = ..()
tagged = list()
START_PROCESSING(SSfastprocess, src)
diff --git a/code/game/objects/items/devices/laserpointer.dm b/code/game/objects/items/devices/laserpointer.dm
index 3e172ce9716..27f661dc5b6 100644
--- a/code/game/objects/items/devices/laserpointer.dm
+++ b/code/game/objects/items/devices/laserpointer.dm
@@ -29,13 +29,13 @@
/obj/item/laser_pointer/purple
pointer_icon_state = "purple_laser"
-/obj/item/laser_pointer/Initialize()
+/obj/item/laser_pointer/Initialize(mapload)
. = ..()
diode = new(src)
if(!pointer_icon_state)
pointer_icon_state = pick("red_laser","green_laser","blue_laser","purple_laser")
-/obj/item/laser_pointer/upgraded/Initialize()
+/obj/item/laser_pointer/upgraded/Initialize(mapload)
. = ..()
diode = new /obj/item/stock_parts/micro_laser/ultra
diff --git a/code/game/objects/items/devices/multitool.dm b/code/game/objects/items/devices/multitool.dm
index 15c36df7516..ab45e2811a3 100644
--- a/code/game/objects/items/devices/multitool.dm
+++ b/code/game/objects/items/devices/multitool.dm
@@ -53,7 +53,7 @@
var/mob/camera/ai_eye/remote/ai_detector/eye
var/datum/action/item_action/toggle_multitool/toggle_action
-/obj/item/multitool/ai_detect/Initialize()
+/obj/item/multitool/ai_detect/Initialize(mapload)
. = ..()
START_PROCESSING(SSfastprocess, src)
eye = new /mob/camera/ai_eye/remote/ai_detector()
diff --git a/code/game/objects/items/devices/paicard.dm b/code/game/objects/items/devices/paicard.dm
index 144b128f5c6..5b4db5b7077 100644
--- a/code/game/objects/items/devices/paicard.dm
+++ b/code/game/objects/items/devices/paicard.dm
@@ -18,7 +18,7 @@
user.visible_message(span_suicide("[user] is staring sadly at [src]! [user.p_they()] can't keep living without real human intimacy!"))
return OXYLOSS
-/obj/item/paicard/Initialize()
+/obj/item/paicard/Initialize(mapload)
SSpai.pai_card_list += src
. = ..()
update_appearance()
diff --git a/code/game/objects/items/devices/pressureplates.dm b/code/game/objects/items/devices/pressureplates.dm
index f68566772ac..d3de1f72520 100644
--- a/code/game/objects/items/devices/pressureplates.dm
+++ b/code/game/objects/items/devices/pressureplates.dm
@@ -23,7 +23,7 @@
var/protected = FALSE
var/undertile_pressureplate = TRUE
-/obj/item/pressure_plate/Initialize()
+/obj/item/pressure_plate/Initialize(mapload)
. = ..()
tile_overlay = image(icon = 'icons/turf/floors.dmi', icon_state = "pp_overlay")
if(roundstart_signaller)
diff --git a/code/game/objects/items/devices/radio/electropack.dm b/code/game/objects/items/devices/radio/electropack.dm
index ea7fdde3c63..03233e0d170 100644
--- a/code/game/objects/items/devices/radio/electropack.dm
+++ b/code/game/objects/items/devices/radio/electropack.dm
@@ -16,7 +16,7 @@
var/frequency = FREQ_ELECTROPACK
var/shock_cooldown = FALSE
-/obj/item/electropack/Initialize()
+/obj/item/electropack/Initialize(mapload)
. = ..()
set_frequency(frequency)
diff --git a/code/game/objects/items/devices/radio/encryptionkey.dm b/code/game/objects/items/devices/radio/encryptionkey.dm
index b80bd6f154b..238605acdca 100644
--- a/code/game/objects/items/devices/radio/encryptionkey.dm
+++ b/code/game/objects/items/devices/radio/encryptionkey.dm
@@ -9,7 +9,7 @@
var/independent = FALSE
var/list/channels = list()
-/obj/item/encryptionkey/Initialize()
+/obj/item/encryptionkey/Initialize(mapload)
. = ..()
if(!channels.len)
desc = "An encryption key for a radio headset. Has no special codes in it. You should probably tell a coder!"
diff --git a/code/game/objects/items/devices/radio/headset.dm b/code/game/objects/items/devices/radio/headset.dm
index ff35b07faba..de2e26cc465 100644
--- a/code/game/objects/items/devices/radio/headset.dm
+++ b/code/game/objects/items/devices/radio/headset.dm
@@ -53,7 +53,7 @@ GLOBAL_LIST_INIT(channel_tokens, list(
else
. += span_notice("A small screen on the headset flashes, it's too small to read without holding or wearing the headset.")
-/obj/item/radio/headset/Initialize()
+/obj/item/radio/headset/Initialize(mapload)
. = ..()
recalculateChannels()
@@ -95,12 +95,12 @@ GLOBAL_LIST_INIT(channel_tokens, list(
name = "team leader headset"
command = TRUE
-/obj/item/radio/headset/syndicate/Initialize()
+/obj/item/radio/headset/syndicate/Initialize(mapload)
. = ..()
make_syndie()
/obj/item/radio/headset/binary
-/obj/item/radio/headset/binary/Initialize()
+/obj/item/radio/headset/binary/Initialize(mapload)
. = ..()
qdel(keyslot)
keyslot = new /obj/item/encryptionkey/binary
diff --git a/code/game/objects/items/devices/radio/radio.dm b/code/game/objects/items/devices/radio/radio.dm
index 285d26afd33..cb5538c641a 100644
--- a/code/game/objects/items/devices/radio/radio.dm
+++ b/code/game/objects/items/devices/radio/radio.dm
@@ -90,7 +90,7 @@
QDEL_NULL(keyslot)
return ..()
-/obj/item/radio/Initialize()
+/obj/item/radio/Initialize(mapload)
wires = new /datum/wires/radio(src)
if(prison_radio)
wires.cut(WIRE_TX) // OH GOD WHY
@@ -398,7 +398,7 @@
syndie = 1
keyslot = new /obj/item/encryptionkey/syndicate
-/obj/item/radio/borg/syndicate/Initialize()
+/obj/item/radio/borg/syndicate/Initialize(mapload)
. = ..()
set_frequency(FREQ_SYNDICATE)
diff --git a/code/game/objects/items/devices/reverse_bear_trap.dm b/code/game/objects/items/devices/reverse_bear_trap.dm
index 9ea79b56ef8..bac7a32e739 100644
--- a/code/game/objects/items/devices/reverse_bear_trap.dm
+++ b/code/game/objects/items/devices/reverse_bear_trap.dm
@@ -21,7 +21,7 @@
var/datum/looping_sound/reverse_bear_trap/soundloop
var/datum/looping_sound/reverse_bear_trap_beep/soundloop2
-/obj/item/reverse_bear_trap/Initialize()
+/obj/item/reverse_bear_trap/Initialize(mapload)
. = ..()
soundloop = new(src)
soundloop2 = new(src)
diff --git a/code/game/objects/items/devices/spyglasses.dm b/code/game/objects/items/devices/spyglasses.dm
index a1e22d5ffef..821871ec36b 100644
--- a/code/game/objects/items/devices/spyglasses.dm
+++ b/code/game/objects/items/devices/spyglasses.dm
@@ -53,7 +53,7 @@
var/cam_range = 1
var/datum/movement_detector/tracker
-/obj/item/clothing/accessory/spy_bug/Initialize()
+/obj/item/clothing/accessory/spy_bug/Initialize(mapload)
. = ..()
tracker = new /datum/movement_detector(src, CALLBACK(src, .proc/update_view))
diff --git a/code/game/objects/items/devices/taperecorder.dm b/code/game/objects/items/devices/taperecorder.dm
index fd81d9f0bf1..116e22c02d8 100644
--- a/code/game/objects/items/devices/taperecorder.dm
+++ b/code/game/objects/items/devices/taperecorder.dm
@@ -350,7 +350,7 @@
unspool()
..()
-/obj/item/tape/Initialize()
+/obj/item/tape/Initialize(mapload)
. = ..()
initial_icon_state = icon_state //random tapes will set this after choosing their icon
@@ -433,7 +433,7 @@
/obj/item/tape/random
icon_state = "random_tape"
-/obj/item/tape/random/Initialize()
+/obj/item/tape/random/Initialize(mapload)
icon_state = "tape_[pick("white", "blue", "red", "yellow", "purple", "greyscale")]"
. = ..()
diff --git a/code/game/objects/items/dice.dm b/code/game/objects/items/dice.dm
index 9a9466097c1..20cd41277f4 100644
--- a/code/game/objects/items/dice.dm
+++ b/code/game/objects/items/dice.dm
@@ -64,7 +64,7 @@
var/rigged = DICE_NOT_RIGGED
var/rigged_value
-/obj/item/dice/Initialize()
+/obj/item/dice/Initialize(mapload)
. = ..()
if(!result)
result = roll(sides)
@@ -111,7 +111,7 @@
desc = "A die with six sides. 6 TIMES 255 TIMES 255 TILE TOTAL EXISTENCE, SQUARE YOUR MIND OF EDUCATED STUPID: 2 DOES NOT EXIST."
icon_state = "spaced6"
-/obj/item/dice/d6/space/Initialize()
+/obj/item/dice/d6/space/Initialize(mapload)
. = ..()
if(prob(10))
name = "spess cube"
diff --git a/code/game/objects/items/drug_items.dm b/code/game/objects/items/drug_items.dm
index 498d768dbbe..8e5aff7ba0a 100644
--- a/code/game/objects/items/drug_items.dm
+++ b/code/game/objects/items/drug_items.dm
@@ -24,7 +24,7 @@
icon_state = "moon_rock1"
food_reagents = list(/datum/reagent/drug/kronkaine = 10)
-/obj/item/food/drug/moon_rock/Initialize()
+/obj/item/food/drug/moon_rock/Initialize(mapload)
. = ..()
icon_state = pick("moon_rock1", "moon_rock2", "moon_rock3")
AddElement(/datum/element/swabable, CELL_LINE_TABLE_MOONICORN, CELL_VIRUS_TABLE_GENERIC_MOB, 1, 5)
diff --git a/code/game/objects/items/dualsaber.dm b/code/game/objects/items/dualsaber.dm
index 19f71773335..7e644ea01c3 100644
--- a/code/game/objects/items/dualsaber.dm
+++ b/code/game/objects/items/dualsaber.dm
@@ -98,7 +98,7 @@
user.visible_message(span_suicide("[user] begins beating [user.p_them()]self to death with \the [src]'s handle! It probably would've been cooler if [user.p_they()] turned it on first!"))
return BRUTELOSS
-/obj/item/dualsaber/Initialize()
+/obj/item/dualsaber/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_TWOHANDED_WIELD, .proc/on_wield)
RegisterSignal(src, COMSIG_TWOHANDED_UNWIELD, .proc/on_unwield)
diff --git a/code/game/objects/items/etherealdiscoball.dm b/code/game/objects/items/etherealdiscoball.dm
index 552f12e1ccf..1c38c16db40 100644
--- a/code/game/objects/items/etherealdiscoball.dm
+++ b/code/game/objects/items/etherealdiscoball.dm
@@ -23,7 +23,7 @@
var/range = 7
var/power = 3
-/obj/structure/etherealball/Initialize()
+/obj/structure/etherealball/Initialize(mapload)
. = ..()
update_appearance()
diff --git a/code/game/objects/items/extinguisher.dm b/code/game/objects/items/extinguisher.dm
index 96051097b48..d82b8ddae10 100644
--- a/code/game/objects/items/extinguisher.dm
+++ b/code/game/objects/items/extinguisher.dm
@@ -72,7 +72,7 @@
create_reagents(max_water, AMOUNT_VISIBLE)
reagents.add_reagent(chem, max_water)
-/obj/item/extinguisher/Initialize()
+/obj/item/extinguisher/Initialize(mapload)
. = ..()
refill()
diff --git a/code/game/objects/items/fireaxe.dm b/code/game/objects/items/fireaxe.dm
index d365e367674..8ecda7486f0 100644
--- a/code/game/objects/items/fireaxe.dm
+++ b/code/game/objects/items/fireaxe.dm
@@ -23,7 +23,7 @@
bare_wound_bonus = 20
var/wielded = FALSE // track wielded status on item
-/obj/item/fireaxe/Initialize()
+/obj/item/fireaxe/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_TWOHANDED_WIELD, .proc/on_wield)
RegisterSignal(src, COMSIG_TWOHANDED_UNWIELD, .proc/on_unwield)
diff --git a/code/game/objects/items/food/bread.dm b/code/game/objects/items/food/bread.dm
index 0e1a56aef4b..56f2e9327c7 100644
--- a/code/game/objects/items/food/bread.dm
+++ b/code/game/objects/items/food/bread.dm
@@ -6,7 +6,7 @@
foodtypes = GRAIN
eat_time = 3 SECONDS
-/obj/item/food/bread/Initialize()
+/obj/item/food/bread/Initialize(mapload)
. = ..()
AddElement(/datum/element/dunkable, 10)
AddComponent(/datum/component/food_storage)
@@ -19,7 +19,7 @@
eat_time = 0.5 SECONDS
w_class = WEIGHT_CLASS_SMALL
-/obj/item/food/breadslice/Initialize()
+/obj/item/food/breadslice/Initialize(mapload)
. = ..()
AddElement(/datum/element/dunkable, 10)
@@ -34,7 +34,7 @@
venue_value = FOOD_PRICE_CHEAP
burns_in_oven = TRUE
-/obj/item/food/bread/plain/Initialize()
+/obj/item/food/bread/plain/Initialize(mapload)
. = ..()
AddComponent(/datum/component/customizable_reagent_holder, /obj/item/food/bread/empty, CUSTOM_INGREDIENT_ICON_FILL, max_ingredients = 8)
@@ -50,7 +50,7 @@
venue_value = FOOD_PRICE_TRASH
decomp_type = /obj/item/food/breadslice/moldy
-/obj/item/food/breadslice/plain/Initialize()
+/obj/item/food/breadslice/plain/Initialize(mapload)
. = ..()
AddComponent(/datum/component/customizable_reagent_holder, null, CUSTOM_INGREDIENT_ICON_STACK)
@@ -67,7 +67,7 @@
name = "bacteria rich moldy 'bread' slice"
desc = "Something (possibly necroyeast) has caused this bread to rise in a macabre state of unlife. It lurchs about when unattended. You might want to locate a priest if you see this. Or maybe a flamethrower."
-/obj/item/food/breadslice/moldy/bacteria/Initialize()
+/obj/item/food/breadslice/moldy/bacteria/Initialize(mapload)
. = ..()
AddElement(/datum/element/swabable, CELL_LINE_TABLE_MOLD, CELL_VIRUS_TABLE_GENERIC, rand(2,4), 25)
@@ -215,7 +215,7 @@
foodtypes = GRAIN
desc = "It's a slice of bread, customized to your wildest dreams."
-/obj/item/food/breadslice/empty/Initialize()
+/obj/item/food/breadslice/empty/Initialize(mapload)
. = ..()
AddComponent(/datum/component/customizable_reagent_holder, null, CUSTOM_INGREDIENT_ICON_FILL, max_ingredients = 8)
diff --git a/code/game/objects/items/food/burgers.dm b/code/game/objects/items/food/burgers.dm
index 708586694d4..ef9da617389 100644
--- a/code/game/objects/items/food/burgers.dm
+++ b/code/game/objects/items/food/burgers.dm
@@ -16,7 +16,7 @@
custom_price = PAYCHECK_ASSISTANT * 0.8
venue_value = FOOD_PRICE_CHEAP
-/obj/item/food/burger/plain/Initialize()
+/obj/item/food/burger/plain/Initialize(mapload)
. = ..()
if(prob(1))
new/obj/effect/particle_effect/smoke(get_turf(src))
@@ -153,7 +153,7 @@
verb_yell = "wails"
venue_value = FOOD_PRICE_EXOTIC
-/obj/item/food/burger/ghost/Initialize()
+/obj/item/food/burger/ghost/Initialize(mapload)
. = ..()
START_PROCESSING(SSobj, src)
@@ -397,7 +397,7 @@
foodtypes = GRAIN | MEAT | DAIRY
venue_value = FOOD_PRICE_CHEAP
-/obj/item/food/burger/cheese/Initialize()
+/obj/item/food/burger/cheese/Initialize(mapload)
. = ..()
if(prob(33))
icon_state = "cheeseburgeralt"
@@ -410,7 +410,7 @@
food_reagents = list(/datum/reagent/consumable/nutriment = 4, /datum/reagent/consumable/nutriment/protein = 6, /datum/reagent/consumable/capsaicin = 3, /datum/reagent/consumable/condensedcapsaicin = 3, /datum/reagent/consumable/nutriment/vitamin = 6)
foodtypes = GRAIN | MEAT | DAIRY
-/obj/item/food/burger/crazy/Initialize()
+/obj/item/food/burger/crazy/Initialize(mapload)
. = ..()
START_PROCESSING(SSobj, src)
diff --git a/code/game/objects/items/food/cake.dm b/code/game/objects/items/food/cake.dm
index 2373960fd61..06cfca0f1a1 100644
--- a/code/game/objects/items/food/cake.dm
+++ b/code/game/objects/items/food/cake.dm
@@ -6,7 +6,7 @@
tastes = list("cake" = 1)
foodtypes = GRAIN | DAIRY
-/obj/item/food/cake/Initialize()
+/obj/item/food/cake/Initialize(mapload)
. = ..()
AddComponent(/datum/component/food_storage)
diff --git a/code/game/objects/items/food/dough.dm b/code/game/objects/items/food/dough.dm
index c04bd2dd584..b2d14b6f613 100644
--- a/code/game/objects/items/food/dough.dm
+++ b/code/game/objects/items/food/dough.dm
@@ -42,7 +42,7 @@
foodtypes = GRAIN
burns_in_oven = TRUE
-/obj/item/food/pizzabread/Initialize()
+/obj/item/food/pizzabread/Initialize(mapload)
. = ..()
AddComponent(/datum/component/customizable_reagent_holder, /obj/item/food/pizza/margherita, CUSTOM_INGREDIENT_ICON_SCATTER, max_ingredients = 12)
@@ -70,7 +70,7 @@
foodtypes = GRAIN
burns_in_oven = TRUE
-/obj/item/food/bun/Initialize()
+/obj/item/food/bun/Initialize(mapload)
. = ..()
AddComponent(/datum/component/customizable_reagent_holder, /obj/item/food/burger/empty, CUSTOM_INGREDIENT_ICON_STACKPLUSTOP)
diff --git a/code/game/objects/items/food/egg.dm b/code/game/objects/items/food/egg.dm
index fb05b662919..4be00923f6e 100644
--- a/code/game/objects/items/food/egg.dm
+++ b/code/game/objects/items/food/egg.dm
@@ -33,7 +33,7 @@
/obj/item/food/egg/gland
desc = "An egg! It looks weird..."
-/obj/item/food/egg/gland/Initialize()
+/obj/item/food/egg/gland/Initialize(mapload)
. = ..()
reagents.add_reagent(get_random_reagent_id(), 15)
diff --git a/code/game/objects/items/food/frozen.dm b/code/game/objects/items/food/frozen.dm
index 47e0ee441ab..b966622a81b 100644
--- a/code/game/objects/items/food/frozen.dm
+++ b/code/game/objects/items/food/frozen.dm
@@ -231,7 +231,7 @@
foodtypes = DAIRY | SUGAR
food_flags = FOOD_FINGER_FOOD
-/obj/item/food/popsicle/Initialize()
+/obj/item/food/popsicle/Initialize(mapload)
. = ..()
bite_consumption = reagents.total_volume / bite_states
update_icon() // make sure the popsicle overlay is primed so it's not just a stick until you start eating it
diff --git a/code/game/objects/items/food/lizard.dm b/code/game/objects/items/food/lizard.dm
index 03f5c90293c..09608ac78c9 100644
--- a/code/game/objects/items/food/lizard.dm
+++ b/code/game/objects/items/food/lizard.dm
@@ -12,7 +12,7 @@
foodtypes = MEAT
w_class = WEIGHT_CLASS_SMALL
-/obj/item/food/raw_tiziran_sausage/Initialize()
+/obj/item/food/raw_tiziran_sausage/Initialize(mapload)
. = ..()
AddElement(/datum/element/dryable, /obj/item/food/tiziran_sausage)
@@ -36,7 +36,7 @@
foodtypes = MEAT | GROSS
w_class = WEIGHT_CLASS_SMALL
-/obj/item/food/raw_headcheese/Initialize()
+/obj/item/food/raw_headcheese/Initialize(mapload)
. = ..()
AddElement(/datum/element/dryable, /obj/item/food/headcheese)
@@ -357,7 +357,7 @@
venue_value = FOOD_PRICE_CHEAP
burns_in_oven = TRUE
-/obj/item/food/bread/root/Initialize()
+/obj/item/food/bread/root/Initialize(mapload)
. = ..()
AddComponent(/datum/component/customizable_reagent_holder, /obj/item/food/bread/empty, CUSTOM_INGREDIENT_ICON_FILL, max_ingredients = 8)
@@ -374,7 +374,7 @@
foodtypes = VEGETABLES | NUTS
venue_value = FOOD_PRICE_TRASH
-/obj/item/food/breadslice/root/Initialize()
+/obj/item/food/breadslice/root/Initialize(mapload)
. = ..()
AddComponent(/datum/component/customizable_reagent_holder, null, CUSTOM_INGREDIENT_ICON_STACK)
diff --git a/code/game/objects/items/food/meat.dm b/code/game/objects/items/food/meat.dm
index df53717a7ae..b5e38884ecc 100644
--- a/code/game/objects/items/food/meat.dm
+++ b/code/game/objects/items/food/meat.dm
@@ -32,7 +32,7 @@
/// Cytology category you can swab the meat for.
var/cell_line = CELL_LINE_TABLE_CARP
-/obj/item/food/fishmeat/carp/Initialize()
+/obj/item/food/fishmeat/carp/Initialize(mapload)
. = ..()
if(cell_line)
AddElement(/datum/element/swabable, cell_line, CELL_VIRUS_TABLE_GENERIC_MOB)
@@ -482,7 +482,7 @@
//total price of this dish is 20 and a small amount more for soy sauce, all of which are available at the orders console
venue_value = FOOD_PRICE_CHEAP
-/obj/item/food/sashimi/Initialize()
+/obj/item/food/sashimi/Initialize(mapload)
. = ..()
AddElement(/datum/element/swabable, CELL_LINE_TABLE_CARP, CELL_VIRUS_TABLE_GENERIC_MOB)
@@ -495,7 +495,7 @@
w_class = WEIGHT_CLASS_TINY
venue_value = FOOD_PRICE_CHEAP
-/obj/item/food/nugget/Initialize()
+/obj/item/food/nugget/Initialize(mapload)
. = ..()
var/shape = pick("lump", "star", "lizard", "corgi")
desc = "A 'chicken' nugget vaguely shaped like a [shape]."
@@ -621,7 +621,7 @@
///Legacy code, handles the coloring of the overlay of the cutlets made from this.
var/slab_color = "#FF0000"
-/obj/item/food/meat/slab/Initialize()
+/obj/item/food/meat/slab/Initialize(mapload)
. = ..()
AddElement(/datum/element/dryable, /obj/item/food/sosjerky/healthy)
@@ -751,7 +751,7 @@
desc = "A slab of mouse meat. Best not eat it raw."
foodtypes = RAW | MEAT | GROSS
-/obj/item/food/meat/slab/mouse/Initialize()
+/obj/item/food/meat/slab/mouse/Initialize(mapload)
. = ..()
AddElement(/datum/element/swabable, CELL_LINE_TABLE_MOUSE, CELL_VIRUS_TABLE_GENERIC_MOB)
@@ -761,7 +761,7 @@
tastes = list("meat" = 4, "a fondness for wearing hats" = 1)
foodtypes = RAW | MEAT | GROSS
-/obj/item/food/meat/slab/corgi/Initialize()
+/obj/item/food/meat/slab/corgi/Initialize(mapload)
. = ..()
AddElement(/datum/element/swabable, CELL_LINE_TABLE_CORGI, CELL_VIRUS_TABLE_GENERIC_MOB)
@@ -770,7 +770,7 @@
desc = "Tastes like... well you know..."
foodtypes = RAW | MEAT | GROSS
-/obj/item/food/meat/slab/pug/Initialize()
+/obj/item/food/meat/slab/pug/Initialize(mapload)
. = ..()
AddElement(/datum/element/swabable, CELL_LINE_TABLE_PUG, CELL_VIRUS_TABLE_GENERIC_MOB)
@@ -802,7 +802,7 @@
/obj/item/food/meat/slab/bear/MakeGrillable()
AddComponent(/datum/component/grillable, /obj/item/food/meat/steak/bear, rand(40 SECONDS, 70 SECONDS), TRUE, TRUE)
-/obj/item/food/meat/slab/bear/Initialize()
+/obj/item/food/meat/slab/bear/Initialize(mapload)
. = ..()
AddElement(/datum/element/swabable, CELL_LINE_TABLE_BEAR, CELL_VIRUS_TABLE_GENERIC_MOB)
@@ -945,7 +945,7 @@
/obj/item/food/meat/slab/chicken/MakeGrillable()
AddComponent(/datum/component/grillable, /obj/item/food/meat/steak/chicken, rand(30 SECONDS, 90 SECONDS), TRUE, TRUE) //Add medium rare later maybe? (no this is chicken)
-/obj/item/food/meat/slab/chicken/Initialize()
+/obj/item/food/meat/slab/chicken/Initialize(mapload)
. = ..()
AddElement(/datum/element/swabable, CELL_LINE_TABLE_CHICKEN, CELL_VIRUS_TABLE_GENERIC_MOB)
////////////////////////////////////// MEAT STEAKS ///////////////////////////////////////////////////////////
@@ -959,7 +959,7 @@
tastes = list("meat" = 1)
burns_on_grill = TRUE
-/obj/item/food/meat/steak/Initialize()
+/obj/item/food/meat/steak/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_ITEM_MICROWAVE_COOKED, .proc/OnMicrowaveCooked)
@@ -1107,7 +1107,7 @@
name = "raw bear cutlet"
tastes = list("meat" = 1, "salmon" = 1)
-/obj/item/food/meat/rawcutlet/bear/Initialize()
+/obj/item/food/meat/rawcutlet/bear/Initialize(mapload)
. = ..()
AddElement(/datum/element/swabable, CELL_LINE_TABLE_BEAR, CELL_VIRUS_TABLE_GENERIC_MOB)
@@ -1146,7 +1146,7 @@
/obj/item/food/meat/rawcutlet/chicken/MakeGrillable()
AddComponent(/datum/component/grillable, /obj/item/food/meat/cutlet/chicken, rand(35 SECONDS, 50 SECONDS), TRUE, TRUE)
-/obj/item/food/meat/rawcutlet/chicken/Initialize()
+/obj/item/food/meat/rawcutlet/chicken/Initialize(mapload)
. = ..()
AddElement(/datum/element/swabable, CELL_LINE_TABLE_CHICKEN, CELL_VIRUS_TABLE_GENERIC_MOB)
@@ -1162,7 +1162,7 @@
foodtypes = MEAT
burns_on_grill = TRUE
-/obj/item/food/meat/cutlet/Initialize()
+/obj/item/food/meat/cutlet/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_ITEM_MICROWAVE_COOKED, .proc/OnMicrowaveCooked)
@@ -1227,7 +1227,7 @@
junkiness = 25
w_class = WEIGHT_CLASS_SMALL
-/obj/item/food/fried_chicken/Initialize()
+/obj/item/food/fried_chicken/Initialize(mapload)
. = ..()
if(prob(50))
icon_state = "fried_chicken2"
diff --git a/code/game/objects/items/food/misc.dm b/code/game/objects/items/food/misc.dm
index dc4d1ad523c..b41810a9213 100644
--- a/code/game/objects/items/food/misc.dm
+++ b/code/game/objects/items/food/misc.dm
@@ -10,7 +10,7 @@
w_class = WEIGHT_CLASS_NORMAL
rat_heal = 35
-/obj/item/food/cheese/wheel/Initialize()
+/obj/item/food/cheese/wheel/Initialize(mapload)
. = ..()
AddComponent(/datum/component/food_storage)
@@ -37,7 +37,7 @@
/// used to determine how much health rats/regal rats recover when they eat it.
var/rat_heal = 10
-/obj/item/food/cheese/Initialize()
+/obj/item/food/cheese/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_RAT_INTERACT, .proc/on_rat_eat)
@@ -130,7 +130,7 @@
w_class = WEIGHT_CLASS_SMALL
venue_value = FOOD_PRICE_CHEAP
-/obj/item/food/fries/Initialize()
+/obj/item/food/fries/Initialize(mapload)
. = ..()
AddElement(/datum/element/dunkable, 10)
@@ -144,7 +144,7 @@
food_flags = FOOD_FINGER_FOOD
w_class = WEIGHT_CLASS_SMALL
-/obj/item/food/tatortot/Initialize()
+/obj/item/food/tatortot/Initialize(mapload)
. = ..()
AddElement(/datum/element/dunkable, 10)
@@ -169,7 +169,7 @@
w_class = WEIGHT_CLASS_SMALL
venue_value = FOOD_PRICE_CHEAP
-/obj/item/food/cheesyfries/Initialize()
+/obj/item/food/cheesyfries/Initialize(mapload)
. = ..()
AddElement(/datum/element/dunkable, 10)
@@ -183,7 +183,7 @@
w_class = WEIGHT_CLASS_SMALL
venue_value = FOOD_PRICE_CHEAP
-/obj/item/food/poutine/Initialize()
+/obj/item/food/poutine/Initialize(mapload)
. = ..()
AddElement(/datum/element/dunkable, 10)
@@ -196,7 +196,7 @@
w_class = WEIGHT_CLASS_SMALL
preserved_food = TRUE //Can't decompose any more than this
-/obj/item/food/badrecipe/Initialize()
+/obj/item/food/badrecipe/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_ITEM_GRILLED, .proc/OnGrill)
@@ -209,7 +209,7 @@
name = "bacteria rich moldy mess"
desc = "Not only is this rancid lump of disgusting bile crawling with insect life, but it is also teeming with various microscopic cultures. It moves when you're not looking."
-/obj/item/food/badrecipe/moldy/bacteria/Initialize()
+/obj/item/food/badrecipe/moldy/bacteria/Initialize(mapload)
. = ..()
AddElement(/datum/element/swabable, CELL_LINE_TABLE_MOLD, CELL_VIRUS_TABLE_GENERIC, rand(2,4), 25)
@@ -228,7 +228,7 @@
foodtypes = VEGETABLES
w_class = WEIGHT_CLASS_SMALL
-/obj/item/food/carrotfries/Initialize()
+/obj/item/food/carrotfries/Initialize(mapload)
. = ..()
AddElement(/datum/element/dunkable, 10)
@@ -281,7 +281,7 @@
food_flags = FOOD_FINGER_FOOD
slot_flags = ITEM_SLOT_MASK
-/obj/item/food/spiderlollipop/Initialize()
+/obj/item/food/spiderlollipop/Initialize(mapload)
. = ..()
AddElement(/datum/element/chewable)
@@ -408,7 +408,7 @@
slot_flags = ITEM_SLOT_MASK
w_class = WEIGHT_CLASS_TINY
-/obj/item/food/lollipop/Initialize()
+/obj/item/food/lollipop/Initialize(mapload)
. = ..()
head = mutable_appearance('icons/obj/lollipop.dmi', "lollipop_head")
change_head_color(rgb(rand(0, 255), rand(0, 255), rand(0, 255)))
@@ -443,7 +443,7 @@
/// The amount to metabolize per second
var/metabolization_amount = REAGENTS_METABOLISM / 2
-/obj/item/food/bubblegum/Initialize()
+/obj/item/food/bubblegum/Initialize(mapload)
. = ..()
AddElement(/datum/element/chewable, metabolization_amount = metabolization_amount)
@@ -514,7 +514,7 @@
slot_flags = ITEM_SLOT_MASK
w_class = WEIGHT_CLASS_TINY
-/obj/item/food/gumball/Initialize()
+/obj/item/food/gumball/Initialize(mapload)
. = ..()
color = rgb(rand(0, 255), rand(0, 255), rand(0, 255))
AddElement(/datum/element/chewable)
diff --git a/code/game/objects/items/food/pastries.dm b/code/game/objects/items/food/pastries.dm
index 786ba26081f..f2b730a17f1 100644
--- a/code/game/objects/items/food/pastries.dm
+++ b/code/game/objects/items/food/pastries.dm
@@ -20,7 +20,7 @@
var/extra_reagent = null
var/decorated_adjective = "sprinkled"
-/obj/item/food/donut/Initialize()
+/obj/item/food/donut/Initialize(mapload)
. = ..()
AddElement(/datum/element/dunkable, amount_per_dunk = 10)
if(prob(DONUT_SPRINKLE_CHANCE))
@@ -70,7 +70,7 @@
tastes = list("donut" = 3, "chaos" = 1)
is_decorated = TRUE
-/obj/item/food/donut/chaos/Initialize()
+/obj/item/food/donut/chaos/Initialize(mapload)
. = ..()
extra_reagent = pick(/datum/reagent/consumable/nutriment, /datum/reagent/consumable/capsaicin, /datum/reagent/consumable/frostoil, /datum/reagent/drug/krokodil, /datum/reagent/toxin/plasma, /datum/reagent/consumable/coco, /datum/reagent/toxin/slimejelly, /datum/reagent/consumable/banana, /datum/reagent/consumable/berryjuice, /datum/reagent/medicine/omnizine)
reagents.add_reagent(extra_reagent, 3)
@@ -171,7 +171,7 @@
/obj/item/food/donut/jelly/in_box_sprite()
return "[replacetext(icon_state, "jelly", "donut")]_inbox"
-/obj/item/food/donut/jelly/Initialize()
+/obj/item/food/donut/jelly/Initialize(mapload)
. = ..()
if(extra_reagent)
reagents.add_reagent(extra_reagent, 3)
@@ -574,7 +574,7 @@
food_flags = FOOD_FINGER_FOOD
w_class = WEIGHT_CLASS_SMALL
-/obj/item/food/cookie/Initialize()
+/obj/item/food/cookie/Initialize(mapload)
. = ..()
AddElement(/datum/element/dunkable, 10)
@@ -611,7 +611,7 @@
food_flags = FOOD_FINGER_FOOD
w_class = WEIGHT_CLASS_SMALL
-/obj/item/food/plumphelmetbiscuit/Initialize()
+/obj/item/food/plumphelmetbiscuit/Initialize(mapload)
var/fey = prob(10)
if(fey)
name = "exceptional plump helmet biscuit"
@@ -649,7 +649,7 @@
tastes = list("sweetness" = 1)
foodtypes = GRAIN | JUNKFOOD | SUGAR
-/obj/item/food/cookie/sugar/Initialize()
+/obj/item/food/cookie/sugar/Initialize(mapload)
. = ..()
if(SSevents.holidays && SSevents.holidays[FESTIVE_SEASON])
var/shape = pick("tree", "bear", "santa", "stocking", "present", "cane")
@@ -777,7 +777,7 @@
food_reagents = list(/datum/reagent/consumable/nutriment = 6, /datum/reagent/consumable/nutriment/vitamin = 5)
tastes = list("pancakes" = 1, "chocolate" = 1)
-/obj/item/food/pancakes/Initialize()
+/obj/item/food/pancakes/Initialize(mapload)
. = ..()
update_appearance()
diff --git a/code/game/objects/items/food/pie.dm b/code/game/objects/items/food/pie.dm
index 4296b202e35..8f667710d78 100644
--- a/code/game/objects/items/food/pie.dm
+++ b/code/game/objects/items/food/pie.dm
@@ -113,7 +113,7 @@
tastes = list("pie" = 1, "mushroom" = 1)
foodtypes = GRAIN | VEGETABLES
-/obj/item/food/pie/plump_pie/Initialize()
+/obj/item/food/pie/plump_pie/Initialize(mapload)
var/fey = prob(10)
if(fey)
name = "exceptional plump pie"
diff --git a/code/game/objects/items/food/pizza.dm b/code/game/objects/items/food/pizza.dm
index 6770c27d869..de66783420b 100644
--- a/code/game/objects/items/food/pizza.dm
+++ b/code/game/objects/items/food/pizza.dm
@@ -70,7 +70,7 @@
tastes = list("crust" = 1, "tomato" = 1, "cheese" = 1)
foodtypes = GRAIN | VEGETABLES | DAIRY
-/obj/item/food/pizzaslice/margherita/Initialize()
+/obj/item/food/pizzaslice/margherita/Initialize(mapload)
. = ..()
AddComponent(/datum/component/customizable_reagent_holder, null, CUSTOM_INGREDIENT_ICON_FILL, max_ingredients = 12)
@@ -284,7 +284,7 @@
name = "bacteria rich moldy pizza slice"
desc = "Not only is this once delicious pizza encrusted with a layer of spore-spewing fungus, it also seems to shift and slide when unattended, teeming with new life."
-/obj/item/food/pizzaslice/moldy/bacteria/Initialize()
+/obj/item/food/pizzaslice/moldy/bacteria/Initialize(mapload)
. = ..()
AddElement(/datum/element/swabable, CELL_LINE_TABLE_MOLD, CELL_VIRUS_TABLE_GENERIC, rand(2,4), 25)
diff --git a/code/game/objects/items/food/salad.dm b/code/game/objects/items/food/salad.dm
index 35672d395db..38bb8e2cda9 100644
--- a/code/game/objects/items/food/salad.dm
+++ b/code/game/objects/items/food/salad.dm
@@ -137,7 +137,7 @@
w_class = WEIGHT_CLASS_NORMAL
custom_price = PAYCHECK_ASSISTANT * 0.6
-/obj/item/reagent_containers/glass/bowl/Initialize()
+/obj/item/reagent_containers/glass/bowl/Initialize(mapload)
. = ..()
AddComponent(/datum/component/customizable_reagent_holder, /obj/item/food/salad/empty, CUSTOM_INGREDIENT_ICON_FILL, max_ingredients = 6)
diff --git a/code/game/objects/items/food/snacks.dm b/code/game/objects/items/food/snacks.dm
index b0bd328d8d8..1b7bf9885f0 100644
--- a/code/game/objects/items/food/snacks.dm
+++ b/code/game/objects/items/food/snacks.dm
@@ -240,7 +240,7 @@ GLOBAL_LIST_INIT(safe_peanut_types, populate_safe_peanut_types())
continue
. += peanut_type
-/obj/item/food/peanuts/random/Initialize()
+/obj/item/food/peanuts/random/Initialize(mapload)
// Generate a sample p
var/peanut_type = pick(GLOB.safe_peanut_types)
var/obj/item/food/sample = new peanut_type(loc)
@@ -299,7 +299,7 @@ GLOBAL_LIST_INIT(safe_peanut_types, populate_safe_peanut_types())
name = "mystery filled C&Ds"
desc = "Filled with one of four delicious flavours!"
-/obj/item/food/cnds/random/Initialize()
+/obj/item/food/cnds/random/Initialize(mapload)
var/random_flavour = pick(subtypesof(/obj/item/food/cnds) - /obj/item/food/cnds/random)
var/obj/item/food/sample = new random_flavour(loc)
diff --git a/code/game/objects/items/food/soup.dm b/code/game/objects/items/food/soup.dm
index be857b95a5d..9031e9ff5c8 100644
--- a/code/game/objects/items/food/soup.dm
+++ b/code/game/objects/items/food/soup.dm
@@ -17,7 +17,7 @@
food_reagents = list(/datum/reagent/water = 10)
tastes = list("wishes" = 1)
-/obj/item/food/soup/wish/Initialize()
+/obj/item/food/soup/wish/Initialize(mapload)
. = ..()
var/wish_true = prob(25)
if(wish_true)
@@ -93,7 +93,7 @@
food_reagents = list(/datum/reagent/consumable/nutriment = 2, /datum/reagent/consumable/nutriment/protein = 5)
tastes = list("chaos" = 1)
-/obj/item/food/soup/mystery/Initialize()
+/obj/item/food/soup/mystery/Initialize(mapload)
. = ..()
var/extra_reagent = null
extra_reagent = pick(
@@ -183,7 +183,7 @@
food_reagents = list(/datum/reagent/consumable/nutriment = 9, /datum/reagent/water = 5, /datum/reagent/consumable/nutriment/vitamin = 6)
foodtypes = VEGETABLES
-/obj/item/food/soup/beet/Initialize()
+/obj/item/food/soup/beet/Initialize(mapload)
. = ..()
name = pick("borsch","bortsch","borstch","borsh","borshch","borscht")
tastes = list(name = 1)
diff --git a/code/game/objects/items/food/spaghetti.dm b/code/game/objects/items/food/spaghetti.dm
index f6b7fc99769..436635d7817 100644
--- a/code/game/objects/items/food/spaghetti.dm
+++ b/code/game/objects/items/food/spaghetti.dm
@@ -5,7 +5,7 @@
foodtypes = GRAIN
venue_value = FOOD_PRICE_CHEAP
-/obj/item/food/spaghetti/Initialize()
+/obj/item/food/spaghetti/Initialize(mapload)
. = ..()
if(!microwaved_type) // This isn't cooked, why would you put uncooked spaghetti in your pocket?
var/list/display_message = list(
@@ -27,7 +27,7 @@
food_reagents = list(/datum/reagent/consumable/nutriment = 2, /datum/reagent/consumable/nutriment/vitamin = 1)
-/obj/item/food/spaghetti/boiledspaghetti/Initialize()
+/obj/item/food/spaghetti/boiledspaghetti/Initialize(mapload)
. = ..()
AddComponent(/datum/component/customizable_reagent_holder, null, CUSTOM_INGREDIENT_ICON_SCATTER, max_ingredients = 6)
diff --git a/code/game/objects/items/gift.dm b/code/game/objects/items/gift.dm
index 42c3e72d139..9f944aa63d0 100644
--- a/code/game/objects/items/gift.dm
+++ b/code/game/objects/items/gift.dm
@@ -20,7 +20,7 @@ GLOBAL_LIST_EMPTY(possible_gifts)
var/obj/item/contains_type
-/obj/item/a_gift/Initialize()
+/obj/item/a_gift/Initialize(mapload)
. = ..()
pixel_x = rand(-10,10)
pixel_y = rand(-10,10)
diff --git a/code/game/objects/items/granters.dm b/code/game/objects/items/granters.dm
index 9554f19582d..711083c612d 100644
--- a/code/game/objects/items/granters.dm
+++ b/code/game/objects/items/granters.dm
@@ -304,7 +304,7 @@
/obj/item/book/granter/spell/random
icon_state = "random_book"
-/obj/item/book/granter/spell/random/Initialize()
+/obj/item/book/granter/spell/random/Initialize(mapload)
. = ..()
var/static/banned_spells = list(/obj/item/book/granter/spell/mimery_blockade, /obj/item/book/granter/spell/mimery_guns)
var/real_type = pick(subtypesof(/obj/item/book/granter/spell) - banned_spells)
diff --git a/code/game/objects/items/grenades/chem_grenade.dm b/code/game/objects/items/grenades/chem_grenade.dm
index ed6819fc691..ecbbf7cf4fa 100644
--- a/code/game/objects/items/grenades/chem_grenade.dm
+++ b/code/game/objects/items/grenades/chem_grenade.dm
@@ -20,7 +20,7 @@
. = ..()
AddElement(/datum/element/empprotection, EMP_PROTECT_WIRES)
-/obj/item/grenade/chem_grenade/Initialize()
+/obj/item/grenade/chem_grenade/Initialize(mapload)
. = ..()
create_reagents(1000)
stage_change() // If no argument is set, it will change the stage to the current stage, useful for stock grenades that start READY.
@@ -312,7 +312,7 @@
desc = "Used for emergency sealing of hull breaches."
stage = GRENADE_READY
-/obj/item/grenade/chem_grenade/metalfoam/Initialize()
+/obj/item/grenade/chem_grenade/metalfoam/Initialize(mapload)
. = ..()
var/obj/item/reagent_containers/glass/beaker/B1 = new(src)
var/obj/item/reagent_containers/glass/beaker/B2 = new(src)
@@ -330,7 +330,7 @@
desc = "Used for emergency sealing of hull breaches, while keeping areas accessible."
stage = GRENADE_READY
-/obj/item/grenade/chem_grenade/smart_metal_foam/Initialize()
+/obj/item/grenade/chem_grenade/smart_metal_foam/Initialize(mapload)
. = ..()
var/obj/item/reagent_containers/glass/beaker/large/B1 = new(src)
var/obj/item/reagent_containers/glass/beaker/B2 = new(src)
@@ -348,7 +348,7 @@
desc = "Used for clearing rooms of living things."
stage = GRENADE_READY
-/obj/item/grenade/chem_grenade/incendiary/Initialize()
+/obj/item/grenade/chem_grenade/incendiary/Initialize(mapload)
. = ..()
var/obj/item/reagent_containers/glass/beaker/B1 = new(src)
var/obj/item/reagent_containers/glass/beaker/B2 = new(src)
@@ -366,7 +366,7 @@
desc = "Used for purging large areas of invasive plant species. Contents under pressure. Do not directly inhale contents."
stage = GRENADE_READY
-/obj/item/grenade/chem_grenade/antiweed/Initialize()
+/obj/item/grenade/chem_grenade/antiweed/Initialize(mapload)
. = ..()
var/obj/item/reagent_containers/glass/beaker/B1 = new(src)
var/obj/item/reagent_containers/glass/beaker/B2 = new(src)
@@ -385,7 +385,7 @@
desc = "BLAM!-brand foaming space cleaner. In a special applicator for rapid cleaning of wide areas."
stage = GRENADE_READY
-/obj/item/grenade/chem_grenade/cleaner/Initialize()
+/obj/item/grenade/chem_grenade/cleaner/Initialize(mapload)
. = ..()
var/obj/item/reagent_containers/glass/beaker/B1 = new(src)
var/obj/item/reagent_containers/glass/beaker/B2 = new(src)
@@ -403,7 +403,7 @@
desc = "Waffle Co.-brand foaming space cleaner. In a special applicator for rapid cleaning of wide areas."
stage = GRENADE_READY
-/obj/item/grenade/chem_grenade/ez_clean/Initialize()
+/obj/item/grenade/chem_grenade/ez_clean/Initialize(mapload)
. = ..()
var/obj/item/reagent_containers/glass/beaker/large/B1 = new(src)
var/obj/item/reagent_containers/glass/beaker/large/B2 = new(src)
@@ -422,7 +422,7 @@
desc = "Used for nonlethal riot control. Contents under pressure. Do not directly inhale contents."
stage = GRENADE_READY
-/obj/item/grenade/chem_grenade/teargas/Initialize()
+/obj/item/grenade/chem_grenade/teargas/Initialize(mapload)
. = ..()
var/obj/item/reagent_containers/glass/beaker/large/B1 = new(src)
var/obj/item/reagent_containers/glass/beaker/large/B2 = new(src)
@@ -441,7 +441,7 @@
desc = "Used for melting armoured opponents."
stage = GRENADE_READY
-/obj/item/grenade/chem_grenade/facid/Initialize()
+/obj/item/grenade/chem_grenade/facid/Initialize(mapload)
. = ..()
var/obj/item/reagent_containers/glass/beaker/bluespace/B1 = new(src)
var/obj/item/reagent_containers/glass/beaker/bluespace/B2 = new(src)
@@ -461,7 +461,7 @@
desc = "Used for wide scale painting projects."
stage = GRENADE_READY
-/obj/item/grenade/chem_grenade/colorful/Initialize()
+/obj/item/grenade/chem_grenade/colorful/Initialize(mapload)
. = ..()
var/obj/item/reagent_containers/glass/beaker/B1 = new(src)
var/obj/item/reagent_containers/glass/beaker/B2 = new(src)
@@ -480,7 +480,7 @@
stage = GRENADE_READY
var/glitter_type = /datum/reagent/glitter
-/obj/item/grenade/chem_grenade/glitter/Initialize()
+/obj/item/grenade/chem_grenade/glitter/Initialize(mapload)
. = ..()
var/obj/item/reagent_containers/glass/beaker/B1 = new(src)
var/obj/item/reagent_containers/glass/beaker/B2 = new(src)
@@ -513,7 +513,7 @@
desc = "BURN!-brand foaming clf3. In a special applicator for rapid purging of wide areas."
stage = GRENADE_READY
-/obj/item/grenade/chem_grenade/clf3/Initialize()
+/obj/item/grenade/chem_grenade/clf3/Initialize(mapload)
. = ..()
var/obj/item/reagent_containers/glass/beaker/bluespace/B1 = new(src)
var/obj/item/reagent_containers/glass/beaker/bluespace/B2 = new(src)
@@ -531,7 +531,7 @@
desc = "Tiger Cooperative chemical foam grenade. Causes temporary irration, blindness, confusion, mutism, and mutations to carbon based life forms. Contains additional spore toxin."
stage = GRENADE_READY
-/obj/item/grenade/chem_grenade/bioterrorfoam/Initialize()
+/obj/item/grenade/chem_grenade/bioterrorfoam/Initialize(mapload)
. = ..()
var/obj/item/reagent_containers/glass/beaker/bluespace/B1 = new(src)
var/obj/item/reagent_containers/glass/beaker/bluespace/B2 = new(src)
@@ -551,7 +551,7 @@
desc = "WARNING: GRENADE WILL RELEASE DEADLY SPORES CONTAINING ACTIVE AGENTS. SEAL SUIT AND AIRFLOW BEFORE USE."
stage = GRENADE_READY
-/obj/item/grenade/chem_grenade/tuberculosis/Initialize()
+/obj/item/grenade/chem_grenade/tuberculosis/Initialize(mapload)
. = ..()
var/obj/item/reagent_containers/glass/beaker/bluespace/B1 = new(src)
var/obj/item/reagent_containers/glass/beaker/bluespace/B2 = new(src)
@@ -571,7 +571,7 @@
icon_state = "holy_grenade"
stage = GRENADE_READY
-/obj/item/grenade/chem_grenade/holy/Initialize()
+/obj/item/grenade/chem_grenade/holy/Initialize(mapload)
. = ..()
var/obj/item/reagent_containers/glass/beaker/meta/B1 = new(src)
var/obj/item/reagent_containers/glass/beaker/meta/B2 = new(src)
diff --git a/code/game/objects/items/grenades/clusterbuster.dm b/code/game/objects/items/grenades/clusterbuster.dm
index 1d84f885f01..5c823544316 100644
--- a/code/game/objects/items/grenades/clusterbuster.dm
+++ b/code/game/objects/items/grenades/clusterbuster.dm
@@ -175,7 +175,7 @@
/obj/item/grenade/clusterbuster/random
icon_state = "random_clusterbang"
-/obj/item/grenade/clusterbuster/random/Initialize()
+/obj/item/grenade/clusterbuster/random/Initialize(mapload)
..()
var/real_type = pick(subtypesof(/obj/item/grenade/clusterbuster))
new real_type(loc)
diff --git a/code/game/objects/items/grenades/ghettobomb.dm b/code/game/objects/items/grenades/ghettobomb.dm
index e9f2006c058..5d1861556a9 100644
--- a/code/game/objects/items/grenades/ghettobomb.dm
+++ b/code/game/objects/items/grenades/ghettobomb.dm
@@ -20,7 +20,7 @@
var/range = 3
var/list/times
-/obj/item/grenade/iedcasing/Initialize()
+/obj/item/grenade/iedcasing/Initialize(mapload)
. = ..()
add_overlay("improvised_grenade_filled")
add_overlay("improvised_grenade_wired")
@@ -37,7 +37,7 @@
/obj/item/grenade/iedcasing/spawned
check_parts = TRUE
-/obj/item/grenade/iedcasing/spawned/Initialize()
+/obj/item/grenade/iedcasing/spawned/Initialize(mapload)
new /obj/item/reagent_containers/food/drinks/soda_cans/random(src)
return ..()
diff --git a/code/game/objects/items/grenades/plastic.dm b/code/game/objects/items/grenades/plastic.dm
index 668f00827e1..f4aab6682fc 100644
--- a/code/game/objects/items/grenades/plastic.dm
+++ b/code/game/objects/items/grenades/plastic.dm
@@ -19,7 +19,7 @@
var/boom_sizes = list(0, 0, 3)
var/full_damage_on_mobs = FALSE
-/obj/item/grenade/c4/Initialize()
+/obj/item/grenade/c4/Initialize(mapload)
. = ..()
plastic_overlay = mutable_appearance(icon, "[inhand_icon_state]2", HIGH_OBJ_LAYER)
wires = new /datum/wires/explosive/c4(src)
diff --git a/code/game/objects/items/grenades/smokebomb.dm b/code/game/objects/items/grenades/smokebomb.dm
index ee1a6dff1a8..eac98417fa7 100644
--- a/code/game/objects/items/grenades/smokebomb.dm
+++ b/code/game/objects/items/grenades/smokebomb.dm
@@ -14,7 +14,7 @@
var/static/list/bruh_moment = list("Dank", "Hip", "Lit", "Based", "Robust", "Bruh", "Gamer")
///Here we generate the extremely insightful description.
-/obj/item/grenade/smokebomb/Initialize()
+/obj/item/grenade/smokebomb/Initialize(mapload)
. = ..()
desc = "The word '[pick(bruh_moment)]' is scribbled on it in crayon."
diff --git a/code/game/objects/items/hand_items.dm b/code/game/objects/items/hand_items.dm
index 7e2f3f4d565..dbc9ca7a8b7 100644
--- a/code/game/objects/items/hand_items.dm
+++ b/code/game/objects/items/hand_items.dm
@@ -10,7 +10,7 @@
attack_verb_continuous = list("bops")
attack_verb_simple = list("bop")
-/obj/item/circlegame/Initialize()
+/obj/item/circlegame/Initialize(mapload)
. = ..()
var/mob/living/owner = loc
if(!istype(owner))
diff --git a/code/game/objects/items/handcuffs.dm b/code/game/objects/items/handcuffs.dm
index d941671ddb6..3d75e5d1411 100644
--- a/code/game/objects/items/handcuffs.dm
+++ b/code/game/objects/items/handcuffs.dm
@@ -300,7 +300,7 @@
///How much damage the trap deals when triggered.
var/trap_damage = 20
-/obj/item/restraints/legcuffs/beartrap/Initialize()
+/obj/item/restraints/legcuffs/beartrap/Initialize(mapload)
. = ..()
update_appearance()
var/static/list/loc_connections = list(
@@ -389,7 +389,7 @@
item_flags = DROPDEL
flags_1 = NONE
-/obj/item/restraints/legcuffs/beartrap/energy/Initialize()
+/obj/item/restraints/legcuffs/beartrap/energy/Initialize(mapload)
. = ..()
addtimer(CALLBACK(src, .proc/dissipate), 100)
@@ -475,7 +475,7 @@
breakouttime = 6 SECONDS
custom_price = PAYCHECK_HARD * 0.35
-/obj/item/restraints/legcuffs/bola/energy/Initialize()
+/obj/item/restraints/legcuffs/bola/energy/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_UNCATCHABLE, TRAIT_GENERIC) // People said energy bolas being uncatchable is a feature.
diff --git a/code/game/objects/items/his_grace.dm b/code/game/objects/items/his_grace.dm
index 79b0c8096a2..4d218014c67 100644
--- a/code/game/objects/items/his_grace.dm
+++ b/code/game/objects/items/his_grace.dm
@@ -27,7 +27,7 @@
var/victims_needed = 25
var/ascend_bonus = 15
-/obj/item/his_grace/Initialize()
+/obj/item/his_grace/Initialize(mapload)
. = ..()
START_PROCESSING(SSprocessing, src)
SSpoints_of_interest.make_point_of_interest(src)
diff --git a/code/game/objects/items/holy_weapons.dm b/code/game/objects/items/holy_weapons.dm
index 6fa61230bbc..eb14f421686 100644
--- a/code/game/objects/items/holy_weapons.dm
+++ b/code/game/objects/items/holy_weapons.dm
@@ -150,7 +150,7 @@
/// Short description of what this item is capable of, for radial menu uses
var/menu_description = "A standard chaplain's weapon. Fits in pockets. Can be worn on the belt."
-/obj/item/nullrod/Initialize()
+/obj/item/nullrod/Initialize(mapload)
. = ..()
AddComponent(/datum/component/anti_magic, TRUE, TRUE, FALSE, null, null, FALSE)
AddElement(/datum/element/bane, /mob/living/simple_animal/revenant, 0, 25, FALSE)
@@ -230,7 +230,7 @@
attack_verb_simple = list("punch", "cross counter", "pummel")
menu_description = "An undroppable god hand dealing burn damage. Disappears if the arm holding it is cut off."
-/obj/item/nullrod/godhand/Initialize()
+/obj/item/nullrod/godhand/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, HAND_REPLACEMENT_TRAIT)
@@ -403,7 +403,7 @@
attack_verb_simple = list("chop", "slice", "cut", "reap")
menu_description = "A sharp scythe which partially penetrates armor. Very effective at butchering bodies. Can be worn on the back."
-/obj/item/nullrod/scythe/Initialize()
+/obj/item/nullrod/scythe/Initialize(mapload)
. = ..()
AddComponent(/datum/component/butchering, 70, 110) //the harvest gives a high bonus chance
@@ -445,7 +445,7 @@
hitsound = 'sound/weapons/rapierhit.ogg'
menu_description = "A sharp blade which partially penetrates armor. Able to awaken a friendly spirit to provide guidance. Very effective at butchering bodies. Can be worn on the back."
-/obj/item/nullrod/scythe/talking/Initialize()
+/obj/item/nullrod/scythe/talking/Initialize(mapload)
. = ..()
AddComponent(/datum/component/spirit_holding)
@@ -478,7 +478,7 @@
attack_verb_simple = list("smash", "bash", "hammer", "crunch")
menu_description = "A war hammer. Capable of tapping knees to measure brain health. Can be worn on the belt."
-/obj/item/nullrod/hammer/Initialize()
+/obj/item/nullrod/hammer/Initialize(mapload)
. = ..()
AddElement(/datum/element/kneejerk)
@@ -500,7 +500,7 @@
toolspeed = 2 //slower than a real saw
menu_description = "An undroppable sharp chainsaw hand. Can be used as a very slow saw tool. Capable of slowly butchering bodies. Disappears if the arm holding it is cut off."
-/obj/item/nullrod/chainsaw/Initialize()
+/obj/item/nullrod/chainsaw/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, HAND_REPLACEMENT_TRAIT)
AddComponent(/datum/component/butchering, 30, 100, 0, hitsound)
@@ -537,7 +537,7 @@
hitsound = 'sound/weapons/blade1.ogg'
menu_description = "A hammer dealing a little less damage due to it's user's pride. Has a low chance of transferring some of the user's reagents to the target. Capable of tapping knees to measure brain health. Can be worn on the back."
-/obj/item/nullrod/pride_hammer/Initialize()
+/obj/item/nullrod/pride_hammer/Initialize(mapload)
. = ..()
AddElement(/datum/element/kneejerk)
AddElement(
@@ -595,7 +595,7 @@
bare_wound_bonus = 25
menu_description = "An undroppable sharp armblade capable of inflicting deep wounds. Capable of an ineffective butchering of bodies. Disappears if the arm holding it is cut off."
-/obj/item/nullrod/armblade/Initialize()
+/obj/item/nullrod/armblade/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, HAND_REPLACEMENT_TRAIT)
AddComponent(/datum/component/butchering, 80, 70)
@@ -621,7 +621,7 @@
hitsound = 'sound/weapons/bite.ogg'
menu_description = "A plushie dealing a little less damage due to it's cute form. Capable of blessing one person with the Carp-Sie favor, which grants friendship of all wild space carps. Fits in pockets. Can be worn on the belt."
-/obj/item/nullrod/carp/Initialize()
+/obj/item/nullrod/carp/Initialize(mapload)
. = ..()
AddComponent(/datum/component/faction_granter, "carp", holy_role_required = HOLY_ROLE_PRIEST, grant_message = span_boldnotice("You are blessed by Carp-Sie. Wild space carp will no longer attack you."))
diff --git a/code/game/objects/items/implants/implant_chem.dm b/code/game/objects/items/implants/implant_chem.dm
index 5a9febf757d..62214b6a6d9 100644
--- a/code/game/objects/items/implants/implant_chem.dm
+++ b/code/game/objects/items/implants/implant_chem.dm
@@ -20,7 +20,7 @@
Integrity: Implant will last so long as the subject is alive."}
return dat
-/obj/item/implant/chem/Initialize()
+/obj/item/implant/chem/Initialize(mapload)
. = ..()
create_reagents(50, OPENCONTAINER)
GLOB.tracked_chem_implants += src
diff --git a/code/game/objects/items/implants/implant_stealth.dm b/code/game/objects/items/implants/implant_stealth.dm
index aa0b51efcc1..66d3f2328df 100644
--- a/code/game/objects/items/implants/implant_stealth.dm
+++ b/code/game/objects/items/implants/implant_stealth.dm
@@ -20,7 +20,7 @@
/obj/structure/closet/cardboard/agent/proc/go_invisible()
animate(src, , alpha = 0, time = 20)
-/obj/structure/closet/cardboard/agent/Initialize()
+/obj/structure/closet/cardboard/agent/Initialize(mapload)
. = ..()
go_invisible()
diff --git a/code/game/objects/items/implants/implant_track.dm b/code/game/objects/items/implants/implant_track.dm
index dc6845b168e..3b362f2fe72 100644
--- a/code/game/objects/items/implants/implant_track.dm
+++ b/code/game/objects/items/implants/implant_track.dm
@@ -15,7 +15,7 @@
var/lifespan = 3000 //how many deciseconds does the implant last?
allow_teleport = FALSE
-/obj/item/implant/tracking/c38/Initialize()
+/obj/item/implant/tracking/c38/Initialize(mapload)
. = ..()
timerid = QDEL_IN(src, lifespan)
@@ -23,7 +23,7 @@
deltimer(timerid)
return ..()
-/obj/item/implant/tracking/Initialize()
+/obj/item/implant/tracking/Initialize(mapload)
. = ..()
GLOB.tracked_implants += src
diff --git a/code/game/objects/items/implants/implantchair.dm b/code/game/objects/items/implants/implantchair.dm
index d7d203a80da..51ee04ec7d4 100644
--- a/code/game/objects/items/implants/implantchair.dm
+++ b/code/game/objects/items/implants/implantchair.dm
@@ -21,7 +21,7 @@
var/message_cooldown
var/breakout_time = 600
-/obj/machinery/implantchair/Initialize()
+/obj/machinery/implantchair/Initialize(mapload)
. = ..()
open_machine()
update_appearance()
diff --git a/code/game/objects/items/inducer.dm b/code/game/objects/items/inducer.dm
index 5beaf479e07..21322cdba2b 100644
--- a/code/game/objects/items/inducer.dm
+++ b/code/game/objects/items/inducer.dm
@@ -13,7 +13,7 @@
var/obj/item/stock_parts/cell/cell
var/recharging = FALSE
-/obj/item/inducer/Initialize()
+/obj/item/inducer/Initialize(mapload)
. = ..()
if(!cell && cell_type)
cell = new cell_type
@@ -179,7 +179,7 @@
powertransfer = 500
opened = TRUE
-/obj/item/inducer/sci/Initialize()
+/obj/item/inducer/sci/Initialize(mapload)
. = ..()
update_appearance()
diff --git a/code/game/objects/items/inspector.dm b/code/game/objects/items/inspector.dm
index 333beaea6e9..df7e35b9c85 100644
--- a/code/game/objects/items/inspector.dm
+++ b/code/game/objects/items/inspector.dm
@@ -30,7 +30,7 @@
///Power used to say an error message
var/power_to_speak = 1
-/obj/item/inspector/Initialize()
+/obj/item/inspector/Initialize(mapload)
. = ..()
if(ispath(cell))
cell = new cell(src)
@@ -283,7 +283,7 @@
paper_charges = min(paper_charges + charges_per_paper, max_paper_charges)
qdel(I)
-/obj/item/inspector/clown/bananium/Initialize()
+/obj/item/inspector/clown/bananium/Initialize(mapload)
. = ..()
playsound(src, 'sound/effects/angryboat.ogg', 150, FALSE)
diff --git a/code/game/objects/items/kitchen.dm b/code/game/objects/items/kitchen.dm
index 25ecab5b2bd..b0239bbe87e 100644
--- a/code/game/objects/items/kitchen.dm
+++ b/code/game/objects/items/kitchen.dm
@@ -17,7 +17,7 @@
lefthand_file = 'icons/mob/inhands/equipment/kitchen_lefthand.dmi'
righthand_file = 'icons/mob/inhands/equipment/kitchen_righthand.dmi'
-/obj/item/kitchen/Initialize()
+/obj/item/kitchen/Initialize(mapload)
. = ..()
ADD_TRAIT(src, TRAIT_APC_SHOCKING, INNATE_TRAIT)
@@ -40,7 +40,7 @@
var/datum/reagent/forkload //used to eat omelette
custom_price = PAYCHECK_PRISONER
-/obj/item/kitchen/fork/Initialize()
+/obj/item/kitchen/fork/Initialize(mapload)
. = ..()
AddElement(/datum/element/eyestab)
@@ -75,7 +75,7 @@
custom_materials = list(/datum/material/plastic=80)
custom_price = PAYCHECK_PRISONER * 2
-/obj/item/kitchen/fork/plastic/Initialize()
+/obj/item/kitchen/fork/plastic/Initialize(mapload)
. = ..()
AddElement(/datum/element/easily_fragmented, PLASTIC_BREAK_PROBABILITY)
@@ -102,7 +102,7 @@
bare_wound_bonus = 15
tool_behaviour = TOOL_KNIFE
-/obj/item/kitchen/knife/Initialize()
+/obj/item/kitchen/knife/Initialize(mapload)
. = ..()
AddElement(/datum/element/eyestab)
set_butchering()
@@ -132,7 +132,7 @@
sharpness = SHARP_EDGED
custom_price = PAYCHECK_PRISONER * 2
-/obj/item/kitchen/knife/plastic/Initialize()
+/obj/item/kitchen/knife/plastic/Initialize(mapload)
. = ..()
AddElement(/datum/element/easily_fragmented, PLASTIC_BREAK_PROBABILITY)
@@ -309,7 +309,7 @@
custom_price = PAYCHECK_PRISONER * 2
toolspeed = 75 // The plastic spoon takes 5 minutes to dig through a single mineral turf... It's one, continuous, breakable, do_after...
-/obj/item/kitchen/spoon/plastic/Initialize()
+/obj/item/kitchen/spoon/plastic/Initialize(mapload)
. = ..()
AddElement(/datum/element/easily_fragmented, PLASTIC_BREAK_PROBABILITY)
diff --git a/code/game/objects/items/mail.dm b/code/game/objects/items/mail.dm
index ac877c6d3a2..84fee270dac 100644
--- a/code/game/objects/items/mail.dm
+++ b/code/game/objects/items/mail.dm
@@ -50,7 +50,7 @@
stamp_max = 2
stamp_offset_y = 5
-/obj/item/mail/Initialize()
+/obj/item/mail/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_MOVABLE_DISPOSING, .proc/disposal_handling)
AddElement(/datum/element/item_scaling, 0.75, 1)
@@ -193,7 +193,7 @@
disposal_holder.destinationTag = sort_tag
/// Subtype that's always junkmail
-/obj/item/mail/junkmail/Initialize()
+/obj/item/mail/junkmail/Initialize(mapload)
. = ..()
junk_mail()
@@ -243,7 +243,7 @@
update_icon()
/// Crate for mail that automatically depletes the economy subsystem's pending mail counter.
-/obj/structure/closet/crate/mail/economy/Initialize()
+/obj/structure/closet/crate/mail/economy/Initialize(mapload)
. = ..()
populate(SSeconomy.mail_waiting)
SSeconomy.mail_waiting = 0
@@ -253,7 +253,7 @@
name = "brimming mail crate"
desc = "A certified post crate from CentCom. Looks stuffed to the gills."
-/obj/structure/closet/crate/mail/full/Initialize()
+/obj/structure/closet/crate/mail/full/Initialize(mapload)
. = ..()
populate(INFINITY)
@@ -285,7 +285,7 @@
icon_state = "scrap"
var/nuclear_option_odds = 0.1
-/obj/item/paper/fluff/junkmail_redpill/Initialize()
+/obj/item/paper/fluff/junkmail_redpill/Initialize(mapload)
. = ..()
if(!prob(nuclear_option_odds)) // 1 in 1000 chance of getting 2 random nuke code characters.
info = "You need to escape the simulation. Don't forget the numbers, they help you remember: '[rand(0,9)][rand(0,9)][rand(0,9)]...'"
@@ -303,6 +303,6 @@
name = "important document"
icon_state = "paper_words"
-/obj/item/paper/fluff/junkmail_generic/Initialize()
+/obj/item/paper/fluff/junkmail_generic/Initialize(mapload)
. = ..()
info = pick(GLOB.junkmail_messages)
diff --git a/code/game/objects/items/maintenance_loot.dm b/code/game/objects/items/maintenance_loot.dm
index 5666f1422be..6a28f8b5ec7 100644
--- a/code/game/objects/items/maintenance_loot.dm
+++ b/code/game/objects/items/maintenance_loot.dm
@@ -35,7 +35,7 @@
grind_results = list(/datum/reagent/lead = 15, /datum/reagent/toxin/acid = 15, /datum/reagent/water = 20)
//starts partially discharged
-/obj/item/stock_parts/cell/lead/Initialize()
+/obj/item/stock_parts/cell/lead/Initialize(mapload)
AddElement(/datum/element/update_icon_blocker)
. = ..()
charge = rand(0.2,0.8) * maxcharge
diff --git a/code/game/objects/items/melee/baton.dm b/code/game/objects/items/melee/baton.dm
index e4699b273be..a22e482f21f 100644
--- a/code/game/objects/items/melee/baton.dm
+++ b/code/game/objects/items/melee/baton.dm
@@ -37,7 +37,7 @@
/// Whether the stun attack is logged. Only relevant for abductor batons, which have different modes.
var/log_stun_attack = TRUE
-/obj/item/melee/baton/Initialize()
+/obj/item/melee/baton/Initialize(mapload)
. = ..()
// Adding an extra break for the sake of presentation
if(stamina_damage != 0)
@@ -255,7 +255,7 @@
/// The force on extension.
var/active_force = 10
-/obj/item/melee/baton/telescopic/Initialize()
+/obj/item/melee/baton/telescopic/Initialize(mapload)
. = ..()
AddComponent(/datum/component/transforming, \
force_on = active_force, \
@@ -359,7 +359,7 @@
var/can_remove_cell = TRUE
var/convertible = TRUE //if it can be converted with a conversion kit
-/obj/item/melee/baton/security/Initialize()
+/obj/item/melee/baton/security/Initialize(mapload)
. = ..()
if(preload_cell_type)
if(!ispath(preload_cell_type,/obj/item/stock_parts/cell))
@@ -571,7 +571,7 @@
convertible = FALSE
var/obj/item/assembly/igniter/sparkler
-/obj/item/melee/baton/security/cattleprod/Initialize()
+/obj/item/melee/baton/security/cattleprod/Initialize(mapload)
. = ..()
sparkler = new (src)
diff --git a/code/game/objects/items/melee/energy.dm b/code/game/objects/items/melee/energy.dm
index bce11c884a1..395126f9613 100644
--- a/code/game/objects/items/melee/energy.dm
+++ b/code/game/objects/items/melee/energy.dm
@@ -30,7 +30,7 @@
/// The heat given off when active.
var/active_heat = 3500
-/obj/item/melee/energy/Initialize()
+/obj/item/melee/energy/Initialize(mapload)
. = ..()
make_transformable()
AddComponent(/datum/component/butchering, _speed = 5 SECONDS, _butcher_sound = active_hitsound)
@@ -293,7 +293,7 @@
var/datum/effect_system/spark_spread/spark_system
//Most of the other special functions are handled in their own files. aka special snowflake code so kewl
-/obj/item/melee/energy/blade/Initialize()
+/obj/item/melee/energy/blade/Initialize(mapload)
. = ..()
spark_system = new /datum/effect_system/spark_spread()
spark_system.set_up(5, 0, src)
diff --git a/code/game/objects/items/melee/misc.dm b/code/game/objects/items/melee/misc.dm
index 0996797e5a5..3888495a62b 100644
--- a/code/game/objects/items/melee/misc.dm
+++ b/code/game/objects/items/melee/misc.dm
@@ -49,7 +49,7 @@
attack_verb_simple = list("attack", "slash", "stab", "slice", "tear", "lacerate", "rip", "dice", "cut")
sharpness = SHARP_EDGED
-/obj/item/melee/synthetic_arm_blade/Initialize()
+/obj/item/melee/synthetic_arm_blade/Initialize(mapload)
. = ..()
AddComponent(/datum/component/butchering, 60, 80) //very imprecise
@@ -75,7 +75,7 @@
wound_bonus = 10
bare_wound_bonus = 25
-/obj/item/melee/sabre/Initialize()
+/obj/item/melee/sabre/Initialize(mapload)
. = ..()
AddComponent(/datum/component/butchering, 30, 95, 5) //fast and effective, but as a sword, it might damage the results.
@@ -187,7 +187,7 @@
var/balanced = 1
force_string = "INFINITE"
-/obj/item/melee/supermatter_sword/Initialize()
+/obj/item/melee/supermatter_sword/Initialize(mapload)
. = ..()
shard = new /obj/machinery/power/supermatter_crystal(src)
qdel(shard.countdown)
@@ -314,7 +314,7 @@
/// Whether or stick is extended and can recieve sausage
var/extended = FALSE
-/obj/item/melee/roastingstick/Initialize()
+/obj/item/melee/roastingstick/Initialize(mapload)
. = ..()
if (!ovens)
ovens = typecacheof(list(/obj/singularity, /obj/energy_ball, /obj/machinery/power/supermatter_crystal, /obj/structure/bonfire))
diff --git a/code/game/objects/items/mop.dm b/code/game/objects/items/mop.dm
index b8c52782c08..c2eb54bdaf9 100644
--- a/code/game/objects/items/mop.dm
+++ b/code/game/objects/items/mop.dm
@@ -19,7 +19,7 @@
force_string = "robust... against germs"
var/insertable = TRUE
-/obj/item/mop/Initialize()
+/obj/item/mop/Initialize(mapload)
. = ..()
create_reagents(mopcap)
@@ -102,7 +102,7 @@
var/refill_rate = 0.5
var/refill_reagent = /datum/reagent/water //Determins what reagent to use for refilling, just in case someone wanted to make a HOLY MOP OF PURGING
-/obj/item/mop/advanced/Initialize()
+/obj/item/mop/advanced/Initialize(mapload)
. = ..()
START_PROCESSING(SSobj, src)
diff --git a/code/game/objects/items/pinpointer.dm b/code/game/objects/items/pinpointer.dm
index 53b65285c80..c510baba7d2 100644
--- a/code/game/objects/items/pinpointer.dm
+++ b/code/game/objects/items/pinpointer.dm
@@ -21,7 +21,7 @@
var/process_scan = TRUE // some pinpointers change target every time they scan, which means we can't have it change very process but instead when it turns on.
var/icon_suffix = "" // for special pinpointer icons
-/obj/item/pinpointer/Initialize()
+/obj/item/pinpointer/Initialize(mapload)
. = ..()
GLOB.pinpointer_list += src
diff --git a/code/game/objects/items/plushes.dm b/code/game/objects/items/plushes.dm
index c99bdfd2f64..5e4ff88572a 100644
--- a/code/game/objects/items/plushes.dm
+++ b/code/game/objects/items/plushes.dm
@@ -35,7 +35,7 @@
var/normal_desc
//--end of love :'(--
-/obj/item/toy/plush/Initialize()
+/obj/item/toy/plush/Initialize(mapload)
. = ..()
AddComponent(/datum/component/squeak, squeak_override)
AddElement(/datum/element/bed_tuckable, 6, -5, 90)
@@ -508,7 +508,7 @@
attack_verb_simple = list("claw", "hiss", "tail slap")
squeak_override = list('sound/weapons/slash.ogg' = 1)
-/obj/item/toy/plush/lizard_plushie/Initialize()
+/obj/item/toy/plush/lizard_plushie/Initialize(mapload)
. = ..()
if(!greyscale_colors)
// Generate a random valid lizard color for our plushie friend
diff --git a/code/game/objects/items/pneumaticCannon.dm b/code/game/objects/items/pneumaticCannon.dm
index 6f4da1b5a99..2470ca6700f 100644
--- a/code/game/objects/items/pneumaticCannon.dm
+++ b/code/game/objects/items/pneumaticCannon.dm
@@ -38,7 +38,7 @@
trigger_guard = TRIGGER_GUARD_NORMAL
-/obj/item/pneumatic_cannon/Initialize()
+/obj/item/pneumatic_cannon/Initialize(mapload)
. = ..()
if(selfcharge)
init_charge()
@@ -291,7 +291,7 @@
clumsyCheck = FALSE
var/static/list/pie_typecache = typecacheof(/obj/item/food/pie)
-/obj/item/pneumatic_cannon/pie/Initialize()
+/obj/item/pneumatic_cannon/pie/Initialize(mapload)
. = ..()
allowed_typecache = pie_typecache
diff --git a/code/game/objects/items/puzzle_pieces.dm b/code/game/objects/items/puzzle_pieces.dm
index 0825c734df5..174a1c34c61 100644
--- a/code/game/objects/items/puzzle_pieces.dm
+++ b/code/game/objects/items/puzzle_pieces.dm
@@ -121,7 +121,7 @@
var/reward = /obj/item/food/cookie
var/claimed = FALSE
-/obj/item/pressure_plate/hologrid/Initialize()
+/obj/item/pressure_plate/hologrid/Initialize(mapload)
. = ..()
if(undertile_pressureplate)
AddElement(/datum/element/undertile, tile_overlay = tile_overlay, use_anchor = FALSE) //we remove use_anchor here, so it ALWAYS stays anchored
diff --git a/code/game/objects/items/religion.dm b/code/game/objects/items/religion.dm
index 3bc06c25d0a..26bdefcf011 100644
--- a/code/game/objects/items/religion.dm
+++ b/code/game/objects/items/religion.dm
@@ -86,7 +86,7 @@
righthand_file = 'icons/mob/inhands/equipment/banners_righthand.dmi'
warcry = "EVERYONE DOWN ON THE GROUND!!"
-/obj/item/banner/security/Initialize()
+/obj/item/banner/security/Initialize(mapload)
. = ..()
job_loyalties = DEPARTMENT_BITFLAG_SECURITY
@@ -110,7 +110,7 @@
righthand_file = 'icons/mob/inhands/equipment/banners_righthand.dmi'
warcry = "No wounds cannot be healed!"
-/obj/item/banner/medical/Initialize()
+/obj/item/banner/medical/Initialize(mapload)
. = ..()
job_loyalties = DEPARTMENT_BITFLAG_MEDICAL
@@ -142,7 +142,7 @@
righthand_file = 'icons/mob/inhands/equipment/banners_righthand.dmi'
warcry = "For Cuban Pete!"
-/obj/item/banner/science/Initialize()
+/obj/item/banner/science/Initialize(mapload)
. = ..()
job_loyalties = DEPARTMENT_BITFLAG_SCIENCE
@@ -169,7 +169,7 @@
righthand_file = 'icons/mob/inhands/equipment/banners_righthand.dmi'
warcry = "Hail Cargonia!"
-/obj/item/banner/cargo/Initialize()
+/obj/item/banner/cargo/Initialize(mapload)
. = ..()
job_loyalties = DEPARTMENT_BITFLAG_CARGO
@@ -193,7 +193,7 @@
righthand_file = 'icons/mob/inhands/equipment/banners_righthand.dmi'
warcry = "All hail lord Singuloth!!"
-/obj/item/banner/engineering/Initialize()
+/obj/item/banner/engineering/Initialize(mapload)
. = ..()
job_loyalties = DEPARTMENT_BITFLAG_ENGINEERING
@@ -217,7 +217,7 @@
//No icon state here since the default one is the NT banner
warcry = "Hail Nanotrasen!"
-/obj/item/banner/command/Initialize()
+/obj/item/banner/command/Initialize(mapload)
. = ..()
job_loyalties = DEPARTMENT_BITFLAG_COMMAND
@@ -252,7 +252,7 @@
desc = "It's a backpack with lots of extra room. A banner with Nanotrasen's logo is attached, that can't be removed."
icon_state = "bannerpack"
-/obj/item/storage/backpack/bannerpack/Initialize()
+/obj/item/storage/backpack/bannerpack/Initialize(mapload)
. = ..()
var/datum/component/storage/STR = GetComponent(/datum/component/storage)
STR.max_combined_w_class = 27 //6 more then normal, for the tradeoff of declaring yourself an antag at all times.
diff --git a/code/game/objects/items/robot/robot_items.dm b/code/game/objects/items/robot/robot_items.dm
index 11df773be1d..3a5eb6e0062 100644
--- a/code/game/objects/items/robot/robot_items.dm
+++ b/code/game/objects/items/robot/robot_items.dm
@@ -541,7 +541,7 @@
nodamage = FALSE
embed_falloff_tile = 0
-/obj/projectile/bullet/reusable/lollipop/Initialize()
+/obj/projectile/bullet/reusable/lollipop/Initialize(mapload)
. = ..()
var/obj/item/food/lollipop/S = new ammo_type(src)
color2 = S.headcolor
@@ -601,7 +601,7 @@
energy = 50000
energy_recharge = 5000
-/obj/item/borg/projectile_dampen/Initialize()
+/obj/item/borg/projectile_dampen/Initialize(mapload)
. = ..()
projectile_effect = image('icons/effects/fields.dmi', "projectile_dampen_effect")
tracked = list()
@@ -764,7 +764,7 @@
name = "medical hud"
icon_state = "healthhud"
-/obj/item/borg/sight/hud/med/Initialize()
+/obj/item/borg/sight/hud/med/Initialize(mapload)
. = ..()
hud = new /obj/item/clothing/glasses/hud/health(src)
@@ -773,7 +773,7 @@
name = "security hud"
icon_state = "securityhud"
-/obj/item/borg/sight/hud/sec/Initialize()
+/obj/item/borg/sight/hud/sec/Initialize(mapload)
. = ..()
hud = new /obj/item/clothing/glasses/hud/security(src)
@@ -791,7 +791,7 @@
var/obj/item/stored
var/list/storable = list()
-/obj/item/borg/apparatus/Initialize()
+/obj/item/borg/apparatus/Initialize(mapload)
. = ..()
RegisterSignal(loc.loc, COMSIG_BORG_SAFE_DECONSTRUCT, .proc/safedecon)
@@ -885,7 +885,7 @@
storable = list(/obj/item/reagent_containers/glass/beaker,
/obj/item/reagent_containers/glass/bottle)
-/obj/item/borg/apparatus/beaker/Initialize()
+/obj/item/borg/apparatus/beaker/Initialize(mapload)
. = ..()
stored = new /obj/item/reagent_containers/glass/beaker/large(src)
RegisterSignal(stored, COMSIG_ATOM_UPDATED_ICON, .proc/on_stored_updated_icon)
@@ -947,7 +947,7 @@
storable = list(/obj/item/reagent_containers/food/drinks,
/obj/item/reagent_containers/food/condiment)
-/obj/item/borg/apparatus/beaker/service/Initialize()
+/obj/item/borg/apparatus/beaker/service/Initialize(mapload)
. = ..()
stored = new /obj/item/reagent_containers/food/drinks/drinkingglass(src)
RegisterSignal(stored, COMSIG_ATOM_UPDATED_ICON, .proc/on_stored_updated_icon)
@@ -1015,7 +1015,7 @@
storable = list(/obj/item/circuitboard,
/obj/item/electronics)
-/obj/item/borg/apparatus/circuit/Initialize()
+/obj/item/borg/apparatus/circuit/Initialize(mapload)
. = ..()
update_appearance()
diff --git a/code/game/objects/items/robot/robot_parts.dm b/code/game/objects/items/robot/robot_parts.dm
index 2658e640868..fcf5daa5952 100644
--- a/code/game/objects/items/robot/robot_parts.dm
+++ b/code/game/objects/items/robot/robot_parts.dm
@@ -32,11 +32,11 @@
/// If the cyborg's cover panel starts locked
var/panel_locked = TRUE
-/obj/item/robot_suit/Initialize()
+/obj/item/robot_suit/Initialize(mapload)
. = ..()
update_appearance()
-/obj/item/robot_suit/prebuilt/Initialize()
+/obj/item/robot_suit/prebuilt/Initialize(mapload)
. = ..()
l_arm = new(src)
r_arm = new(src)
diff --git a/code/game/objects/items/shields.dm b/code/game/objects/items/shields.dm
index fd91a6cd3d3..d5e5efa1348 100644
--- a/code/game/objects/items/shields.dm
+++ b/code/game/objects/items/shields.dm
@@ -126,7 +126,7 @@
inhand_icon_state = "flashshield"
var/obj/item/assembly/flash/handheld/embedded_flash
-/obj/item/shield/riot/flash/Initialize()
+/obj/item/shield/riot/flash/Initialize(mapload)
. = ..()
embedded_flash = new(src)
@@ -212,7 +212,7 @@
/// Whether clumsy people can transform this without side effects.
var/can_clumsy_use = FALSE
-/obj/item/shield/energy/Initialize()
+/obj/item/shield/energy/Initialize(mapload)
. = ..()
AddComponent(/datum/component/transforming, \
force_on = active_force, \
@@ -257,7 +257,7 @@
/// Whether the shield is extended and protecting the user..
var/extended = FALSE
-/obj/item/shield/riot/tele/Initialize()
+/obj/item/shield/riot/tele/Initialize(mapload)
. = ..()
AddComponent(/datum/component/transforming, \
force_on = 8, \
diff --git a/code/game/objects/items/singularityhammer.dm b/code/game/objects/items/singularityhammer.dm
index 1b3e9a6b7ae..5b2f66f8661 100644
--- a/code/game/objects/items/singularityhammer.dm
+++ b/code/game/objects/items/singularityhammer.dm
@@ -20,7 +20,7 @@
///track wielded status on item
var/wielded = FALSE
-/obj/item/singularityhammer/Initialize()
+/obj/item/singularityhammer/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_TWOHANDED_WIELD, .proc/on_wield)
RegisterSignal(src, COMSIG_TWOHANDED_UNWIELD, .proc/on_unwield)
@@ -101,7 +101,7 @@
w_class = WEIGHT_CLASS_HUGE
var/wielded = FALSE // track wielded status on item
-/obj/item/mjollnir/Initialize()
+/obj/item/mjollnir/Initialize(mapload)
. = ..()
RegisterSignal(src, COMSIG_TWOHANDED_WIELD, .proc/on_wield)
RegisterSignal(src, COMSIG_TWOHANDED_UNWIELD, .proc/on_unwield)
diff --git a/code/game/objects/items/stacks/sheets/glass.dm b/code/game/objects/items/stacks/sheets/glass.dm
index cf3e5f1dacc..a254d056d80 100644
--- a/code/game/objects/items/stacks/sheets/glass.dm
+++ b/code/game/objects/items/stacks/sheets/glass.dm
@@ -277,7 +277,7 @@ GLOBAL_LIST_INIT(plastitaniumglass_recipes, list(
return (BRUTELOSS)
-/obj/item/shard/Initialize()
+/obj/item/shard/Initialize(mapload)
. = ..()
AddComponent(/datum/component/caltrop, min_damage = force)
AddComponent(/datum/component/butchering, 150, 65)
diff --git a/code/game/objects/items/stacks/wrap.dm b/code/game/objects/items/stacks/wrap.dm
index acdcc33dec8..33218c6ae40 100644
--- a/code/game/objects/items/stacks/wrap.dm
+++ b/code/game/objects/items/stacks/wrap.dm
@@ -16,7 +16,7 @@
resistance_flags = FLAMMABLE
merge_type = /obj/item/stack/wrapping_paper
-/obj/item/stack/wrapping_paper/Initialize()
+/obj/item/stack/wrapping_paper/Initialize(mapload)
. = ..()
if(!greyscale_colors)
//Generate random valid colors for paper and ribbon
diff --git a/code/game/objects/items/storage/backpack.dm b/code/game/objects/items/storage/backpack.dm
index 44f61e5d22f..df0e3f2616a 100644
--- a/code/game/objects/items/storage/backpack.dm
+++ b/code/game/objects/items/storage/backpack.dm
@@ -81,7 +81,7 @@
inhand_icon_state = "giftbag"
w_class = WEIGHT_CLASS_BULKY
-/obj/item/storage/backpack/santabag/Initialize()
+/obj/item/storage/backpack/santabag/Initialize(mapload)
. = ..()
regenerate_presents()
@@ -361,7 +361,7 @@
///counts time passed since it ate food
var/hunger = 0
-/obj/item/storage/backpack/duffelbag/cursed/Initialize()
+/obj/item/storage/backpack/duffelbag/cursed/Initialize(mapload)
. = ..()
var/add_dropdel = TRUE //clarified boolean
AddComponent(/datum/component/curse_of_hunger, add_dropdel)
diff --git a/code/game/objects/items/storage/belt.dm b/code/game/objects/items/storage/belt.dm
index a305f3a51fd..dd969bc53ee 100644
--- a/code/game/objects/items/storage/belt.dm
+++ b/code/game/objects/items/storage/belt.dm
@@ -25,7 +25,7 @@
for(var/obj/item/I in contents)
. += I.get_belt_overlay()
-/obj/item/storage/belt/Initialize()
+/obj/item/storage/belt/Initialize(mapload)
. = ..()
update_appearance()
@@ -412,7 +412,7 @@
/obj/item/storage/belt/military/snack
name = "tactical snack rig"
-/obj/item/storage/belt/military/snack/Initialize()
+/obj/item/storage/belt/military/snack/Initialize(mapload)
. = ..()
var/sponsor = pick("Donk Co.", "Waffle Co.", "Roffle Co.", "Gorlax Marauders", "Tiger Cooperative")
desc = "A set of snack-tical webbing worn by athletes of the [sponsor] VR sports division."
diff --git a/code/game/objects/items/storage/book.dm b/code/game/objects/items/storage/book.dm
index ac3b7dcc126..17769f7eed3 100644
--- a/code/game/objects/items/storage/book.dm
+++ b/code/game/objects/items/storage/book.dm
@@ -43,7 +43,7 @@ GLOBAL_LIST_INIT(bibleitemstates, list("bible", "koran", "scrapbook", "burning",
var/deity_name = "Christ"
force_string = "holy"
-/obj/item/storage/book/bible/Initialize()
+/obj/item/storage/book/bible/Initialize(mapload)
. = ..()
AddComponent(/datum/component/anti_magic, FALSE, TRUE)
diff --git a/code/game/objects/items/storage/boxes.dm b/code/game/objects/items/storage/boxes.dm
index 5cda10e8c74..73875e408bc 100644
--- a/code/game/objects/items/storage/boxes.dm
+++ b/code/game/objects/items/storage/boxes.dm
@@ -1236,7 +1236,7 @@
custom_price = PAYCHECK_HARD * 3
custom_premium_price = PAYCHECK_HARD * 3
-/obj/item/storage/box/gum/happiness/Initialize()
+/obj/item/storage/box/gum/happiness/Initialize(mapload)
. = ..()
if (prob(25))
desc += " You can faintly make out the word 'Hemopagopril' was once scribbled on it."
@@ -1390,7 +1390,7 @@
illustration = "fruit"
var/theme_name
-/obj/item/storage/box/ingredients/Initialize()
+/obj/item/storage/box/ingredients/Initialize(mapload)
. = ..()
if(theme_name)
name = "[name] ([theme_name])"
@@ -1539,7 +1539,7 @@
theme_name = "random"
desc = "This box should not exist, contact the proper authorities."
-/obj/item/storage/box/ingredients/random/Initialize()
+/obj/item/storage/box/ingredients/random/Initialize(mapload)
.=..()
var/chosen_box = pick(subtypesof(/obj/item/storage/box/ingredients) - /obj/item/storage/box/ingredients/random)
new chosen_box(loc)
diff --git a/code/game/objects/items/storage/fancy.dm b/code/game/objects/items/storage/fancy.dm
index 63fae894b31..2bda29bdf2d 100644
--- a/code/game/objects/items/storage/fancy.dm
+++ b/code/game/objects/items/storage/fancy.dm
@@ -344,7 +344,7 @@
candy = TRUE
age_restricted = FALSE
-/obj/item/storage/fancy/cigarettes/cigpack_candy/Initialize()
+/obj/item/storage/fancy/cigarettes/cigpack_candy/Initialize(mapload)
. = ..()
if(prob(7))
spawn_type = /obj/item/clothing/mask/cigarette/candy/nicotine //uh oh!
diff --git a/code/game/objects/items/storage/firstaid.dm b/code/game/objects/items/storage/firstaid.dm
index 249674cd19c..78529726620 100644
--- a/code/game/objects/items/storage/firstaid.dm
+++ b/code/game/objects/items/storage/firstaid.dm
@@ -492,7 +492,7 @@
name = "bottle of maintenance pills"
desc = "An old pill bottle. It smells musty."
-/obj/item/storage/pill_bottle/maintenance_pill/Initialize()
+/obj/item/storage/pill_bottle/maintenance_pill/Initialize(mapload)
. = ..()
var/obj/item/reagent_containers/pill/P = locate() in src
name = "bottle of [P.name]s"
@@ -554,7 +554,7 @@
/obj/item/food/icecream
))
-/obj/item/storage/organbox/Initialize()
+/obj/item/storage/organbox/Initialize(mapload)
. = ..()
create_reagents(100, TRANSPARENT)
RegisterSignal(src, COMSIG_ATOM_ENTERED, .proc/freeze)
diff --git a/code/game/objects/items/storage/holsters.dm b/code/game/objects/items/storage/holsters.dm
index 0232e33710c..e4e3528f640 100644
--- a/code/game/objects/items/storage/holsters.dm
+++ b/code/game/objects/items/storage/holsters.dm
@@ -82,7 +82,7 @@
worn_icon_state = "syndicate_holster"
var/datum/action/item_action/chameleon/change/chameleon_action
-/obj/item/storage/belt/holster/chameleon/Initialize()
+/obj/item/storage/belt/holster/chameleon/Initialize(mapload)
. = ..()
chameleon_action = new(src)
@@ -101,7 +101,7 @@
return
chameleon_action.emp_randomise()
-/obj/item/storage/belt/holster/chameleon/broken/Initialize()
+/obj/item/storage/belt/holster/chameleon/broken/Initialize(mapload)
. = ..()
chameleon_action.emp_randomise(INFINITY)
diff --git a/code/game/objects/items/storage/secure.dm b/code/game/objects/items/storage/secure.dm
index 4a6ce29fc93..4c669ce35ce 100644
--- a/code/game/objects/items/storage/secure.dm
+++ b/code/game/objects/items/storage/secure.dm
@@ -225,7 +225,7 @@ There appears to be a small amount of surface corrosion. It doesn't look like it
max_integrity = 300
color = "#ffdd33"
-/obj/item/storage/secure/safe/caps_spare/Initialize()
+/obj/item/storage/secure/safe/caps_spare/Initialize(mapload)
. = ..()
l_code = SSid_access.spare_id_safe_code
diff --git a/code/game/objects/items/storage/sixpack.dm b/code/game/objects/items/storage/sixpack.dm
index 63eb2ab2b60..9d626d5bbab 100644
--- a/code/game/objects/items/storage/sixpack.dm
+++ b/code/game/objects/items/storage/sixpack.dm
@@ -17,7 +17,7 @@
icon_state = "[initial(icon_state)][contents.len]"
return ..()
-/obj/item/storage/cans/Initialize()
+/obj/item/storage/cans/Initialize(mapload)
. = ..()
update_appearance()
diff --git a/code/game/objects/items/storage/storage.dm b/code/game/objects/items/storage/storage.dm
index ee01bea8eba..eeaf6772a8b 100644
--- a/code/game/objects/items/storage/storage.dm
+++ b/code/game/objects/items/storage/storage.dm
@@ -8,7 +8,7 @@
/obj/item/storage/get_dumping_location(obj/item/storage/source,mob/user)
return src
-/obj/item/storage/Initialize()
+/obj/item/storage/Initialize(mapload)
. = ..()
PopulateContents()
diff --git a/code/game/objects/items/storage/toolbox.dm b/code/game/objects/items/storage/toolbox.dm
index f745a364386..b27da30a689 100644
--- a/code/game/objects/items/storage/toolbox.dm
+++ b/code/game/objects/items/storage/toolbox.dm
@@ -22,7 +22,7 @@
var/has_latches = TRUE
wound_bonus = 5
-/obj/item/storage/toolbox/Initialize()
+/obj/item/storage/toolbox/Initialize(mapload)
. = ..()
if(has_latches)
if(prob(10))
diff --git a/code/game/objects/items/storage/uplink_kits.dm b/code/game/objects/items/storage/uplink_kits.dm
index 91ae423fde8..3d962a3484b 100644
--- a/code/game/objects/items/storage/uplink_kits.dm
+++ b/code/game/objects/items/storage/uplink_kits.dm
@@ -267,7 +267,7 @@
/obj/item/paper/contractor_guide
name = "Contractor Guide"
-/obj/item/paper/contractor_guide/Initialize()
+/obj/item/paper/contractor_guide/Initialize(mapload)
info = {"
Welcome agent, congratulations on your new position as contractor. On top of your already assigned objectives, this kit will provide you contracts to take on for TC payments.
diff --git a/code/game/objects/items/storage/wallets.dm b/code/game/objects/items/storage/wallets.dm index 8531a622bd1..e56498ac4a3 100644 --- a/code/game/objects/items/storage/wallets.dm +++ b/code/game/objects/items/storage/wallets.dm @@ -151,7 +151,7 @@ /obj/item/storage/wallet/random icon_state = "random_wallet" // for mapping purposes -/obj/item/storage/wallet/random/Initialize() +/obj/item/storage/wallet/random/Initialize(mapload) . = ..() icon_state = "wallet" diff --git a/code/game/objects/items/tanks/jetpack.dm b/code/game/objects/items/tanks/jetpack.dm index 3d4895e804f..09a189edbae 100644 --- a/code/game/objects/items/tanks/jetpack.dm +++ b/code/game/objects/items/tanks/jetpack.dm @@ -14,7 +14,7 @@ var/full_speed = TRUE // If the jetpack will have a speedboost in space/nograv or not var/datum/effect_system/trail_follow/ion/ion_trail -/obj/item/tank/jetpack/Initialize() +/obj/item/tank/jetpack/Initialize(mapload) . = ..() ion_trail = new ion_trail.auto_process = FALSE @@ -209,7 +209,7 @@ var/obj/item/clothing/suit/space/hardsuit/active_hardsuit = null -/obj/item/tank/jetpack/suit/Initialize() +/obj/item/tank/jetpack/suit/Initialize(mapload) . = ..() STOP_PROCESSING(SSobj, src) tempair_contents = air_contents diff --git a/code/game/objects/items/tanks/tanks.dm b/code/game/objects/items/tanks/tanks.dm index ac1345286a1..e61fef70f82 100644 --- a/code/game/objects/items/tanks/tanks.dm +++ b/code/game/objects/items/tanks/tanks.dm @@ -72,7 +72,7 @@ H.update_action_buttons_icon() -/obj/item/tank/Initialize() +/obj/item/tank/Initialize(mapload) . = ..() air_contents = new(volume) //liters diff --git a/code/game/objects/items/tanks/watertank.dm b/code/game/objects/items/tanks/watertank.dm index 972a22ff515..0b26dc8efc3 100644 --- a/code/game/objects/items/tanks/watertank.dm +++ b/code/game/objects/items/tanks/watertank.dm @@ -18,7 +18,7 @@ var/obj/item/noz var/volume = 500 -/obj/item/watertank/Initialize() +/obj/item/watertank/Initialize(mapload) . = ..() create_reagents(volume, OPENCONTAINER) noz = make_noz() @@ -122,7 +122,7 @@ var/obj/item/watertank/tank -/obj/item/reagent_containers/spray/mister/Initialize() +/obj/item/reagent_containers/spray/mister/Initialize(mapload) . = ..() tank = loc if(!istype(tank)) @@ -149,7 +149,7 @@ inhand_icon_state = "waterbackpackjani" custom_price = PAYCHECK_EASY * 5 -/obj/item/watertank/janitor/Initialize() +/obj/item/watertank/janitor/Initialize(mapload) . = ..() reagents.add_reagent(/datum/reagent/space_cleaner, 500) @@ -180,7 +180,7 @@ inhand_icon_state = "pepperbackpacksec" custom_price = PAYCHECK_MEDIUM * 2 -/obj/item/watertank/pepperspray/Initialize() +/obj/item/watertank/pepperspray/Initialize(mapload) . = ..() reagents.add_reagent(/datum/reagent/consumable/condensedcapsaicin, 500) @@ -217,7 +217,7 @@ volume = 200 slowdown = 0 -/obj/item/watertank/atmos/Initialize() +/obj/item/watertank/atmos/Initialize(mapload) . = ..() reagents.add_reagent(/datum/reagent/water, 200) @@ -253,7 +253,7 @@ var/metal_synthesis_cooldown = 0 var/resin_cooldown = 0 -/obj/item/extinguisher/mini/nozzle/Initialize() +/obj/item/extinguisher/mini/nozzle/Initialize(mapload) . = ..() tank = loc if (!istype(tank)) @@ -464,7 +464,7 @@ volume = 2000 slowdown = 0 -/obj/item/watertank/op/Initialize() +/obj/item/watertank/op/Initialize(mapload) . = ..() reagents.add_reagent(/datum/reagent/toxin/mutagen,350) reagents.add_reagent(/datum/reagent/napalm,125) diff --git a/code/game/objects/items/tcg/tcg.dm b/code/game/objects/items/tcg/tcg.dm index 124e2c09afc..4ceb054dd85 100644 --- a/code/game/objects/items/tcg/tcg.dm +++ b/code/game/objects/items/tcg/tcg.dm @@ -190,7 +190,7 @@ GLOBAL_LIST_EMPTY(tcgcard_radial_choices) var/static/radial_shuffle = image(icon = 'icons/hud/radial.dmi', icon_state = "radial_shuffle") var/static/radial_pickup = image(icon = 'icons/hud/radial.dmi', icon_state = "radial_pickup") -/obj/item/tcgcard_deck/Initialize() +/obj/item/tcgcard_deck/Initialize(mapload) . = ..() LoadComponent(/datum/component/storage/concrete/tcg) @@ -362,7 +362,7 @@ GLOBAL_LIST_EMPTY(tcgcard_radial_choices) "epic" = 30, "legendary" = 5) -/obj/item/cardpack/Initialize() +/obj/item/cardpack/Initialize(mapload) . = ..() AddElement(/datum/element/item_scaling, 0.4, 1) //Pass by refrance moment @@ -411,7 +411,7 @@ GLOBAL_LIST_EMPTY(tcgcard_radial_choices) w_class = WEIGHT_CLASS_SMALL flags_1 = PREVENT_CONTENTS_EXPLOSION_1 -/obj/item/storage/card_binder/Initialize() +/obj/item/storage/card_binder/Initialize(mapload) . = ..() var/datum/component/storage/STR = GetComponent(/datum/component/storage) STR.set_holdable(list(/obj/item/tcgcard)) diff --git a/code/game/objects/items/teleportation.dm b/code/game/objects/items/teleportation.dm index 7c6e351bb9b..b0c3cc47710 100644 --- a/code/game/objects/items/teleportation.dm +++ b/code/game/objects/items/teleportation.dm @@ -126,7 +126,7 @@ */ var/last_portal_location -/obj/item/hand_tele/Initialize() +/obj/item/hand_tele/Initialize(mapload) . = ..() active_portal_pairs = list() diff --git a/code/game/objects/items/theft_tools.dm b/code/game/objects/items/theft_tools.dm index 697b233ae4d..41c4b9f26f5 100644 --- a/code/game/objects/items/theft_tools.dm +++ b/code/game/objects/items/theft_tools.dm @@ -15,7 +15,7 @@ var/cooldown = 0 var/pulseicon = "plutonium_core_pulse" -/obj/item/nuke_core/Initialize() +/obj/item/nuke_core/Initialize(mapload) . = ..() START_PROCESSING(SSobj, src) @@ -233,7 +233,7 @@ usesound = 'sound/weapons/bladeslice.ogg' var/usesLeft -/obj/item/scalpel/supermatter/Initialize() +/obj/item/scalpel/supermatter/Initialize(mapload) . = ..() usesLeft = rand(2, 4) diff --git a/code/game/objects/items/tools/crowbar.dm b/code/game/objects/items/tools/crowbar.dm index 4ac024e5eb7..56908ebd0d7 100644 --- a/code/game/objects/items/tools/crowbar.dm +++ b/code/game/objects/items/tools/crowbar.dm @@ -73,7 +73,7 @@ toolspeed = 0.7 force_opens = TRUE -/obj/item/crowbar/power/Initialize() +/obj/item/crowbar/power/Initialize(mapload) . = ..() AddComponent(/datum/component/transforming, \ force_on = force, \ diff --git a/code/game/objects/items/tools/screwdriver.dm b/code/game/objects/items/tools/screwdriver.dm index b4e9030010f..230b1232179 100644 --- a/code/game/objects/items/tools/screwdriver.dm +++ b/code/game/objects/items/tools/screwdriver.dm @@ -47,7 +47,7 @@ user.visible_message(span_suicide("[user] is stabbing [src] into [user.p_their()] [pick("temple", "heart")]! It looks like [user.p_theyre()] trying to commit suicide!")) return(BRUTELOSS) -/obj/item/screwdriver/Initialize() +/obj/item/screwdriver/Initialize(mapload) if(random_color) var/our_color = pick(screwdriver_colors) set_greyscale(colors=list(screwdriver_colors[our_color])) @@ -95,7 +95,7 @@ greyscale_config_inhand_left = null greyscale_config_inhand_right = null -/obj/item/screwdriver/power/Initialize() +/obj/item/screwdriver/power/Initialize(mapload) . = ..() AddComponent(/datum/component/transforming, \ force_on = force, \ diff --git a/code/game/objects/items/tools/weldingtool.dm b/code/game/objects/items/tools/weldingtool.dm index 509c364c0bf..a5715d86832 100644 --- a/code/game/objects/items/tools/weldingtool.dm +++ b/code/game/objects/items/tools/weldingtool.dm @@ -43,7 +43,7 @@ var/acti_sound = 'sound/items/welderactivate.ogg' var/deac_sound = 'sound/items/welderdeactivate.ogg' -/obj/item/weldingtool/Initialize() +/obj/item/weldingtool/Initialize(mapload) . = ..() create_reagents(max_fuel) reagents.add_reagent(/datum/reagent/fuel, max_fuel) diff --git a/code/game/objects/items/tools/wirecutters.dm b/code/game/objects/items/tools/wirecutters.dm index 78c325d7978..6a7e3e0435f 100644 --- a/code/game/objects/items/tools/wirecutters.dm +++ b/code/game/objects/items/tools/wirecutters.dm @@ -39,7 +39,7 @@ "yellow" = "#d58c18" ) -/obj/item/wirecutters/Initialize() +/obj/item/wirecutters/Initialize(mapload) if(random_color) var/our_color = pick(wirecutter_colors) set_greyscale(colors=list(wirecutter_colors[our_color])) diff --git a/code/game/objects/items/tools/wrench.dm b/code/game/objects/items/tools/wrench.dm index 5582d3d41ec..19056834c43 100644 --- a/code/game/objects/items/tools/wrench.dm +++ b/code/game/objects/items/tools/wrench.dm @@ -88,7 +88,7 @@ tool_behaviour = null toolspeed = null -/obj/item/wrench/combat/Initialize() +/obj/item/wrench/combat/Initialize(mapload) . = ..() AddComponent(/datum/component/transforming, \ force_on = 6, \ diff --git a/code/game/objects/items/toy_mechs.dm b/code/game/objects/items/toy_mechs.dm index 0055ea16f93..2d123e07564 100644 --- a/code/game/objects/items/toy_mechs.dm +++ b/code/game/objects/items/toy_mechs.dm @@ -50,7 +50,7 @@ /// ...And their loss count in combat var/losses = 0 -/obj/item/toy/mecha/Initialize() +/obj/item/toy/mecha/Initialize(mapload) . = ..() AddElement(/datum/element/series, /obj/item/toy/mecha, "Mini-Mecha action figures") combat_health = max_combat_health diff --git a/code/game/objects/items/toys.dm b/code/game/objects/items/toys.dm index 01a969ba52c..d66c4cf60f7 100644 --- a/code/game/objects/items/toys.dm +++ b/code/game/objects/items/toys.dm @@ -46,7 +46,7 @@ inhand_icon_state = "balloon-empty" -/obj/item/toy/waterballoon/Initialize() +/obj/item/toy/waterballoon/Initialize(mapload) . = ..() create_reagents(10) @@ -337,7 +337,7 @@ /// The color of our fake energy sword var/saber_color = "blue" -/obj/item/toy/sword/Initialize() +/obj/item/toy/sword/Initialize(mapload) . = ..() AddComponent(/datum/component/transforming, \ throw_speed_on = throw_speed, \ @@ -539,7 +539,7 @@ if(!..()) pop_burst() -/obj/item/toy/snappop/Initialize() +/obj/item/toy/snappop/Initialize(mapload) . = ..() var/static/list/loc_connections = list( COMSIG_ATOM_ENTERED = .proc/on_entered, @@ -562,7 +562,7 @@ /obj/effect/decal/cleanable/ash/snappop_phoenix var/respawn_time = 300 -/obj/effect/decal/cleanable/ash/snappop_phoenix/Initialize() +/obj/effect/decal/cleanable/ash/snappop_phoenix/Initialize(mapload) . = ..() addtimer(CALLBACK(src, .proc/respawn), respawn_time) @@ -686,7 +686,7 @@ var/list/card_attack_verb_simple = list("attack") -/obj/item/toy/cards/Initialize() +/obj/item/toy/cards/Initialize(mapload) . = ..() if(card_attack_verb_continuous) card_attack_verb_continuous = string_list(card_attack_verb_continuous) @@ -714,7 +714,7 @@ var/obj/machinery/computer/holodeck/holo = null // Holodeck cards should not be infinite var/list/cards = list() -/obj/item/toy/cards/deck/Initialize() +/obj/item/toy/cards/deck/Initialize(mapload) . = ..() AddElement(/datum/element/drag_pickup) populate_deck() @@ -1243,7 +1243,7 @@ var/toysound = 'sound/machines/click.ogg' w_class = WEIGHT_CLASS_SMALL -/obj/item/toy/figure/Initialize() +/obj/item/toy/figure/Initialize(mapload) . = ..() desc = "A \"Space Life\" brand [src]." @@ -1492,7 +1492,7 @@ icon_state = "shell1" var/static/list/possible_colors = list("" = 2, COLOR_PURPLE_GRAY = 1, COLOR_OLIVE = 1, COLOR_PALE_BLUE_GRAY = 1, COLOR_RED_GRAY = 1) -/obj/item/toy/seashell/Initialize() +/obj/item/toy/seashell/Initialize(mapload) . = ..() pixel_x = rand(-5, 5) pixel_y = rand(-5, 5) diff --git a/code/game/objects/items/trash.dm b/code/game/objects/items/trash.dm index de9e49f467c..37feb31e3f0 100644 --- a/code/game/objects/items/trash.dm +++ b/code/game/objects/items/trash.dm @@ -103,7 +103,7 @@ icon = 'icons/obj/food/food.dmi' icon_state = "beans_empty" -/obj/item/trash/can/Initialize() +/obj/item/trash/can/Initialize(mapload) . = ..() pixel_x = rand(-4,4) pixel_y = rand(-4,4) diff --git a/code/game/objects/items/weaponry.dm b/code/game/objects/items/weaponry.dm index d273e4cc191..6f6882c1d2f 100644 --- a/code/game/objects/items/weaponry.dm +++ b/code/game/objects/items/weaponry.dm @@ -15,7 +15,7 @@ armor = list(MELEE = 0, BULLET = 0, LASER = 0, ENERGY = 0, BOMB = 0, BIO = 0, RAD = 0, FIRE = 100, ACID = 70) resistance_flags = FIRE_PROOF -/obj/item/banhammer/Initialize() +/obj/item/banhammer/Initialize(mapload) . = ..() AddElement(/datum/element/kneejerk) @@ -77,7 +77,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301 armor = list(MELEE = 0, BULLET = 0, LASER = 0, ENERGY = 0, BOMB = 0, BIO = 0, RAD = 0, FIRE = 100, ACID = 50) resistance_flags = FIRE_PROOF -/obj/item/claymore/Initialize() +/obj/item/claymore/Initialize(mapload) . = ..() AddComponent(/datum/component/butchering, 40, 105) @@ -111,7 +111,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301 var/notches = 0 //HOW MANY PEOPLE HAVE BEEN SLAIN WITH THIS BLADE var/obj/item/disk/nuclear/nuke_disk //OUR STORED NUKE DISK -/obj/item/claymore/highlander/Initialize() +/obj/item/claymore/highlander/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, HIGHLANDER_TRAIT) START_PROCESSING(SSobj, src) @@ -234,7 +234,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301 icon_state = "claymore_cyborg" var/mob/living/silicon/robot/robot -/obj/item/claymore/highlander/robot/Initialize() +/obj/item/claymore/highlander/robot/Initialize(mapload) var/obj/item/robot_model/kiltkit = loc robot = kiltkit.loc . = ..() @@ -367,7 +367,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301 /// Whether the switchblade starts extended or not. var/start_extended = FALSE -/obj/item/switchblade/Initialize() +/obj/item/switchblade/Initialize(mapload) . = ..() AddElement(/datum/element/update_icon_updates_onmob) AddComponent(/datum/component/butchering, 7 SECONDS, 100) @@ -502,7 +502,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301 tool_behaviour = TOOL_SAW toolspeed = 1 -/obj/item/mounted_chainsaw/Initialize() +/obj/item/mounted_chainsaw/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, HAND_REPLACEMENT_TRAIT) @@ -531,7 +531,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301 attack_verb_simple = list("bust") var/impressiveness = 45 -/obj/item/statuebust/Initialize() +/obj/item/statuebust/Initialize(mapload) . = ..() AddElement(/datum/element/art, impressiveness) AddElement(/datum/element/beauty, 1000) @@ -630,7 +630,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301 var/homerun_ready = 0 var/homerun_able = 0 -/obj/item/melee/baseball_bat/Initialize() +/obj/item/melee/baseball_bat/Initialize(mapload) . = ..() if(prob(1)) name = "cricket bat" @@ -713,7 +713,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301 //Things in this list will be instantly splatted. Flyman weakness is handled in the flyman species weakness proc. var/list/strong_against -/obj/item/melee/flyswatter/Initialize() +/obj/item/melee/flyswatter/Initialize(mapload) . = ..() strong_against = typecacheof(list( /mob/living/simple_animal/hostile/bee/, @@ -804,7 +804,7 @@ for further reading, please see: https://github.com/tgstation/tgstation/pull/301 hitsound = 'sound/weapons/bladeslice.ogg' var/wielded = FALSE // track wielded status on item -/obj/item/vibro_weapon/Initialize() +/obj/item/vibro_weapon/Initialize(mapload) . = ..() RegisterSignal(src, COMSIG_TWOHANDED_WIELD, .proc/on_wield) RegisterSignal(src, COMSIG_TWOHANDED_UNWIELD, .proc/on_unwield) diff --git a/code/game/objects/structures.dm b/code/game/objects/structures.dm index 99db1f351e4..8cfe33c2524 100644 --- a/code/game/objects/structures.dm +++ b/code/game/objects/structures.dm @@ -11,7 +11,7 @@ blocks_emissive = EMISSIVE_BLOCK_GENERIC var/broken = FALSE -/obj/structure/Initialize() +/obj/structure/Initialize(mapload) if (!armor) armor = list(MELEE = 0, BULLET = 0, LASER = 0, ENERGY = 0, BOMB = 0, BIO = 0, RAD = 0, FIRE = 50, ACID = 50) . = ..() diff --git a/code/game/objects/structures/ai_core.dm b/code/game/objects/structures/ai_core.dm index e510e1aaa3d..201f97b0940 100644 --- a/code/game/objects/structures/ai_core.dm +++ b/code/game/objects/structures/ai_core.dm @@ -12,7 +12,7 @@ var/obj/item/mmi/brain var/can_deconstruct = TRUE -/obj/structure/ai_core/Initialize() +/obj/structure/ai_core/Initialize(mapload) . = ..() laws = new laws.set_laws_config() @@ -40,7 +40,7 @@ anchored = TRUE state = AI_READY_CORE -/obj/structure/ai_core/deactivated/Initialize() +/obj/structure/ai_core/deactivated/Initialize(mapload) . = ..() circuit = new(src) @@ -55,7 +55,7 @@ var/safety_checks = TRUE var/active = TRUE -/obj/structure/ai_core/latejoin_inactive/Initialize() +/obj/structure/ai_core/latejoin_inactive/Initialize(mapload) . = ..() circuit = new(src) GLOB.latejoin_ai_cores += src diff --git a/code/game/objects/structures/aliens.dm b/code/game/objects/structures/aliens.dm index 320fd3f14cf..f1d2251ecde 100644 --- a/code/game/objects/structures/aliens.dm +++ b/code/game/objects/structures/aliens.dm @@ -219,7 +219,7 @@ var/node_range = NODERANGE -/obj/structure/alien/weeds/node/Initialize() +/obj/structure/alien/weeds/node/Initialize(mapload) . = ..() set_light(lon_range) var/obj/structure/alien/weeds/W = locate(/obj/structure/alien/weeds) in loc diff --git a/code/game/objects/structures/barsigns.dm b/code/game/objects/structures/barsigns.dm index 6ac8eef35df..b3103a731be 100644 --- a/code/game/objects/structures/barsigns.dm +++ b/code/game/objects/structures/barsigns.dm @@ -12,7 +12,7 @@ var/panel_open = FALSE var/datum/barsign/chosen_sign -/obj/structure/sign/barsign/Initialize() +/obj/structure/sign/barsign/Initialize(mapload) . = ..() set_sign(new /datum/barsign/hiddensigns/signoff) diff --git a/code/game/objects/structures/beds_chairs/bed.dm b/code/game/objects/structures/beds_chairs/bed.dm index 9e23c7e846d..ab681a9bb2a 100644 --- a/code/game/objects/structures/beds_chairs/bed.dm +++ b/code/game/objects/structures/beds_chairs/bed.dm @@ -146,7 +146,7 @@ desc = "A collapsed roller bed that can be ejected for emergency use. Must be collected or replaced after use." var/obj/structure/bed/roller/loaded = null -/obj/item/roller/robo/Initialize() +/obj/item/roller/robo/Initialize(mapload) . = ..() loaded = new(src) @@ -226,6 +226,6 @@ desc = "An old grubby mattress. You try to not think about what could be the cause of those stains." icon_state = "dirty_mattress" -/obj/structure/bed/maint/Initialize() +/obj/structure/bed/maint/Initialize(mapload) . = ..() AddElement(/datum/element/swabable, CELL_LINE_TABLE_MOLD, CELL_VIRUS_TABLE_GENERIC, rand(2,4), 25) diff --git a/code/game/objects/structures/beds_chairs/chair.dm b/code/game/objects/structures/beds_chairs/chair.dm index 81786dc9e3c..29fa2a956b2 100644 --- a/code/game/objects/structures/beds_chairs/chair.dm +++ b/code/game/objects/structures/beds_chairs/chair.dm @@ -22,7 +22,7 @@ if(!has_buckled_mobs() && can_buckle) . += span_notice("While standing on [src], drag and drop your sprite onto [src] to buckle to it.") -/obj/structure/chair/Initialize() +/obj/structure/chair/Initialize(mapload) . = ..() if(!anchored) //why would you put these on the shuttle? addtimer(CALLBACK(src, .proc/RemoveFromLatejoin), 0) @@ -175,7 +175,7 @@ item_chair = null var/mutable_appearance/armrest -/obj/structure/chair/comfy/Initialize() +/obj/structure/chair/comfy/Initialize(mapload) armrest = GetArmrest() armrest.layer = ABOVE_MOB_LAYER return ..() diff --git a/code/game/objects/structures/beds_chairs/pew.dm b/code/game/objects/structures/beds_chairs/pew.dm index b7aa1f65d2b..17dcb21f34d 100644 --- a/code/game/objects/structures/beds_chairs/pew.dm +++ b/code/game/objects/structures/beds_chairs/pew.dm @@ -14,7 +14,7 @@ icon_state = "pewend_left" var/mutable_appearance/leftpewarmrest -/obj/structure/chair/pew/left/Initialize() +/obj/structure/chair/pew/left/Initialize(mapload) leftpewarmrest = GetLeftPewArmrest() leftpewarmrest.layer = ABOVE_MOB_LAYER return ..() @@ -45,7 +45,7 @@ icon_state = "pewend_right" var/mutable_appearance/rightpewarmrest -/obj/structure/chair/pew/right/Initialize() +/obj/structure/chair/pew/right/Initialize(mapload) rightpewarmrest = GetRightPewArmrest() rightpewarmrest.layer = ABOVE_MOB_LAYER return ..() diff --git a/code/game/objects/structures/beds_chairs/sofa.dm b/code/game/objects/structures/beds_chairs/sofa.dm index 51b6168c526..06665a12e6f 100644 --- a/code/game/objects/structures/beds_chairs/sofa.dm +++ b/code/game/objects/structures/beds_chairs/sofa.dm @@ -6,7 +6,7 @@ item_chair = null var/mutable_appearance/armrest -/obj/structure/chair/sofa/Initialize() +/obj/structure/chair/sofa/Initialize(mapload) armrest = mutable_appearance(icon, "[icon_state]_armrest", ABOVE_MOB_LAYER) return ..() diff --git a/code/game/objects/structures/bedsheet_bin.dm b/code/game/objects/structures/bedsheet_bin.dm index e54538d6622..6c4995dce7f 100644 --- a/code/game/objects/structures/bedsheet_bin.dm +++ b/code/game/objects/structures/bedsheet_bin.dm @@ -254,7 +254,7 @@ LINEN BINS desc = "If you're reading this description ingame, something has gone wrong! Honk!" slot_flags = null -/obj/item/bedsheet/random/Initialize() +/obj/item/bedsheet/random/Initialize(mapload) ..() var/type = pick(typesof(/obj/item/bedsheet) - /obj/item/bedsheet/random) new type(loc) @@ -266,7 +266,7 @@ LINEN BINS desc = "If you're reading this description ingame, something has gone wrong! Honk!" slot_flags = null -/obj/item/bedsheet/dorms/Initialize() +/obj/item/bedsheet/dorms/Initialize(mapload) ..() var/type = pickweight(list("Colors" = 80, "Special" = 20)) switch(type) diff --git a/code/game/objects/structures/bonfire.dm b/code/game/objects/structures/bonfire.dm index 54378b0b99d..1b90702ec55 100644 --- a/code/game/objects/structures/bonfire.dm +++ b/code/game/objects/structures/bonfire.dm @@ -27,11 +27,11 @@ /obj/structure/bonfire/dense density = TRUE -/obj/structure/bonfire/prelit/Initialize() +/obj/structure/bonfire/prelit/Initialize(mapload) . = ..() start_burning() -/obj/structure/bonfire/Initialize() +/obj/structure/bonfire/Initialize(mapload) . = ..() var/static/list/loc_connections = list( COMSIG_ATOM_ENTERED = .proc/on_entered, diff --git a/code/game/objects/structures/cannons/cannon.dm b/code/game/objects/structures/cannons/cannon.dm index f20c88e26bd..19a82ced61d 100644 --- a/code/game/objects/structures/cannons/cannon.dm +++ b/code/game/objects/structures/cannons/cannon.dm @@ -19,7 +19,7 @@ var/charge_size = 15 var/fire_sound = 'sound/weapons/gun/general/cannon.ogg' -/obj/structure/cannon/Initialize() +/obj/structure/cannon/Initialize(mapload) . = ..() create_reagents(charge_size) diff --git a/code/game/objects/structures/crates_lockers/closets/bodybag.dm b/code/game/objects/structures/crates_lockers/closets/bodybag.dm index 5275d2b8d3a..3903649bd38 100644 --- a/code/game/objects/structures/crates_lockers/closets/bodybag.dm +++ b/code/game/objects/structures/crates_lockers/closets/bodybag.dm @@ -163,7 +163,7 @@ foldedbag_path = /obj/item/bodybag/environmental/ var/list/weather_protection = list(TRAIT_ASHSTORM_IMMUNE, TRAIT_RADSTORM_IMMUNE, TRAIT_SNOWSTORM_IMMUNE, TRAIT_VOIDSTORM_IMMUNE) // Does not protect against lava or the The Floor Is Lava spell. -/obj/structure/closet/body_bag/environmental/Initialize() +/obj/structure/closet/body_bag/environmental/Initialize(mapload) . = ..() for(var/trait in weather_protection) ADD_TRAIT(src, trait, ROUNDSTART_TRAIT) @@ -309,7 +309,7 @@ // The contents of the gas to be distributed to an occupant once sinched down. Set in Initialize() var/datum/gas_mixture/air_contents = null -/obj/structure/closet/body_bag/environmental/prisoner/syndicate/Initialize() +/obj/structure/closet/body_bag/environmental/prisoner/syndicate/Initialize(mapload) . = ..() refresh_air() diff --git a/code/game/objects/structures/crates_lockers/closets/infinite.dm b/code/game/objects/structures/crates_lockers/closets/infinite.dm index 7ed564adf48..c029ec941a3 100644 --- a/code/game/objects/structures/crates_lockers/closets/infinite.dm +++ b/code/game/objects/structures/crates_lockers/closets/infinite.dm @@ -5,7 +5,7 @@ var/stop_replicating_at = 4 var/auto_close_time = 15 SECONDS // Set to 0 to disable auto-closing. -/obj/structure/closet/infinite/Initialize() +/obj/structure/closet/infinite/Initialize(mapload) . = ..() START_PROCESSING(SSobj, src) diff --git a/code/game/objects/structures/crates_lockers/closets/secure/freezer.dm b/code/game/objects/structures/crates_lockers/closets/secure/freezer.dm index fe2d6854060..a497f03780b 100644 --- a/code/game/objects/structures/crates_lockers/closets/secure/freezer.dm +++ b/code/game/objects/structures/crates_lockers/closets/secure/freezer.dm @@ -7,7 +7,7 @@ recursive_organ_check(src) return ..() -/obj/structure/closet/secure_closet/freezer/Initialize() +/obj/structure/closet/secure_closet/freezer/Initialize(mapload) . = ..() recursive_organ_check(src) diff --git a/code/game/objects/structures/crates_lockers/crates.dm b/code/game/objects/structures/crates_lockers/crates.dm index f55268f5014..9bc8e456c0d 100644 --- a/code/game/objects/structures/crates_lockers/crates.dm +++ b/code/game/objects/structures/crates_lockers/crates.dm @@ -18,7 +18,7 @@ var/crate_climb_time = 20 var/obj/item/paper/fluff/jobs/cargo/manifest/manifest -/obj/structure/closet/crate/Initialize() +/obj/structure/closet/crate/Initialize(mapload) . = ..() if(icon_state == "[initial(icon_state)]open") opened = TRUE @@ -103,7 +103,7 @@ for(var/i in 1 to rand(2,6)) new /obj/effect/spawner/random/maintenance(src) -/obj/structure/closet/crate/trashcart/Initialize() +/obj/structure/closet/crate/trashcart/Initialize(mapload) . = ..() AddElement(/datum/element/swabable, CELL_LINE_TABLE_SLUDGE, CELL_VIRUS_TABLE_GENERIC, rand(2,3), 15) @@ -162,7 +162,7 @@ recursive_organ_check(src) return ..() -/obj/structure/closet/crate/freezer/Initialize() +/obj/structure/closet/crate/freezer/Initialize(mapload) . = ..() recursive_organ_check(src) diff --git a/code/game/objects/structures/crates_lockers/crates/bins.dm b/code/game/objects/structures/crates_lockers/crates/bins.dm index afbdb3c505f..7c27898290e 100644 --- a/code/game/objects/structures/crates_lockers/crates/bins.dm +++ b/code/game/objects/structures/crates_lockers/crates/bins.dm @@ -8,7 +8,7 @@ horizontal = FALSE delivery_icon = null -/obj/structure/closet/crate/bin/Initialize() +/obj/structure/closet/crate/bin/Initialize(mapload) . = ..() update_appearance() diff --git a/code/game/objects/structures/crates_lockers/crates/critter.dm b/code/game/objects/structures/crates_lockers/crates/critter.dm index 6c8fbae3845..24c94b3861e 100644 --- a/code/game/objects/structures/crates_lockers/crates/critter.dm +++ b/code/game/objects/structures/crates_lockers/crates/critter.dm @@ -15,7 +15,7 @@ contents_pressure_protection = 0.8 var/obj/item/tank/internals/emergency_oxygen/tank -/obj/structure/closet/crate/critter/Initialize() +/obj/structure/closet/crate/critter/Initialize(mapload) . = ..() tank = new diff --git a/code/game/objects/structures/deployable_turret.dm b/code/game/objects/structures/deployable_turret.dm index 72979e740f6..1a726b8d050 100644 --- a/code/game/objects/structures/deployable_turret.dm +++ b/code/game/objects/structures/deployable_turret.dm @@ -223,7 +223,7 @@ resistance_flags = FIRE_PROOF | UNACIDABLE | ACID_PROOF var/obj/machinery/deployable_turret/turret -/obj/item/gun_control/Initialize() +/obj/item/gun_control/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, ABSTRACT_ITEM_TRAIT) turret = loc diff --git a/code/game/objects/structures/displaycase.dm b/code/game/objects/structures/displaycase.dm index a8507e63c96..e3db4947935 100644 --- a/code/game/objects/structures/displaycase.dm +++ b/code/game/objects/structures/displaycase.dm @@ -23,7 +23,7 @@ ///Represents a signel source of screaming when broken var/datum/alarm_handler/alarm_manager -/obj/structure/displaycase/Initialize() +/obj/structure/displaycase/Initialize(mapload) . = ..() if(start_showpieces.len && !start_showpiece_type) var/list/showpiece_entry = pick(start_showpieces) @@ -296,7 +296,7 @@ integrity_failure = 0 openable = FALSE -/obj/structure/displaycase/trophy/Initialize() +/obj/structure/displaycase/trophy/Initialize(mapload) . = ..() GLOB.trophy_cases += src diff --git a/code/game/objects/structures/door_assembly.dm b/code/game/objects/structures/door_assembly.dm index 800a9f7f4de..27ad9fb77d4 100644 --- a/code/game/objects/structures/door_assembly.dm +++ b/code/game/objects/structures/door_assembly.dm @@ -20,7 +20,7 @@ var/material_type = /obj/item/stack/sheet/iron var/material_amt = 4 -/obj/structure/door_assembly/Initialize() +/obj/structure/door_assembly/Initialize(mapload) . = ..() update_appearance() update_name() diff --git a/code/game/objects/structures/electricchair.dm b/code/game/objects/structures/electricchair.dm index 13b838b28f6..8d7be60a4f9 100644 --- a/code/game/objects/structures/electricchair.dm +++ b/code/game/objects/structures/electricchair.dm @@ -6,7 +6,7 @@ var/last_time = 1 item_chair = null -/obj/structure/chair/e_chair/Initialize() +/obj/structure/chair/e_chair/Initialize(mapload) . = ..() var/obj/item/assembly/shock_kit/stored_kit = new(contents) var/image/export_to_component = image('icons/obj/chairs.dmi', loc, "echair_over") diff --git a/code/game/objects/structures/false_walls.dm b/code/game/objects/structures/false_walls.dm index c5a0edbcb98..f7abb9739e9 100644 --- a/code/game/objects/structures/false_walls.dm +++ b/code/game/objects/structures/false_walls.dm @@ -26,7 +26,7 @@ var/opening = FALSE -/obj/structure/falsewall/Initialize() +/obj/structure/falsewall/Initialize(mapload) . = ..() air_update_turf(TRUE, TRUE) diff --git a/code/game/objects/structures/fence.dm b/code/game/objects/structures/fence.dm index 98853f8a21d..2dc032691f0 100644 --- a/code/game/objects/structures/fence.dm +++ b/code/game/objects/structures/fence.dm @@ -23,7 +23,7 @@ var/hole_size= NO_HOLE var/invulnerable = FALSE -/obj/structure/fence/Initialize() +/obj/structure/fence/Initialize(mapload) . = ..() update_cut_status() @@ -112,7 +112,7 @@ cuttable = FALSE var/open = FALSE -/obj/structure/fence/door/Initialize() +/obj/structure/fence/door/Initialize(mapload) . = ..() update_door_status() diff --git a/code/game/objects/structures/fireaxe.dm b/code/game/objects/structures/fireaxe.dm index 3a3a8e62c85..b869d8aa81a 100644 --- a/code/game/objects/structures/fireaxe.dm +++ b/code/game/objects/structures/fireaxe.dm @@ -28,7 +28,7 @@ dir = EAST pixel_x = -32 -/obj/structure/fireaxecabinet/Initialize() +/obj/structure/fireaxecabinet/Initialize(mapload) . = ..() fireaxe = new update_appearance() diff --git a/code/game/objects/structures/flora.dm b/code/game/objects/structures/flora.dm index 014a9945d11..5ef89884bc1 100644 --- a/code/game/objects/structures/flora.dm +++ b/code/game/objects/structures/flora.dm @@ -45,7 +45,7 @@ icon_state = "pine_1" var/list/icon_states = list("pine_1", "pine_2", "pine_3") -/obj/structure/flora/tree/pine/Initialize() +/obj/structure/flora/tree/pine/Initialize(mapload) . = ..() if(islist(icon_states?.len)) @@ -65,7 +65,7 @@ var/unlimited = FALSE var/static/list/took_presents //shared between all xmas trees -/obj/structure/flora/tree/pine/xmas/presents/Initialize() +/obj/structure/flora/tree/pine/xmas/presents/Initialize(mapload) . = ..() if(!took_presents) took_presents = list() @@ -102,7 +102,7 @@ desc = "A tree straight from the tropics." icon_state = "palm1" -/obj/structure/flora/tree/palm/Initialize() +/obj/structure/flora/tree/palm/Initialize(mapload) . = ..() icon_state = pick("palm1","palm2") pixel_x = 0 @@ -119,7 +119,7 @@ icon_state = "anchored_rod" anchored = TRUE -/obj/structure/flora/tree/dead/Initialize() +/obj/structure/flora/tree/dead/Initialize(mapload) icon_state = "tree_[rand(1, 6)]" . = ..() @@ -131,7 +131,7 @@ pixel_x = -48 pixel_y = -20 -/obj/structure/flora/tree/jungle/Initialize() +/obj/structure/flora/tree/jungle/Initialize(mapload) icon_state = "[icon_state][rand(1, 6)]" . = ..() @@ -150,7 +150,7 @@ /obj/structure/flora/grass/brown icon_state = "snowgrass1bb" -/obj/structure/flora/grass/brown/Initialize() +/obj/structure/flora/grass/brown/Initialize(mapload) icon_state = "snowgrass[rand(1, 3)]bb" . = ..() @@ -158,14 +158,14 @@ /obj/structure/flora/grass/green icon_state = "snowgrass1gb" -/obj/structure/flora/grass/green/Initialize() +/obj/structure/flora/grass/green/Initialize(mapload) icon_state = "snowgrass[rand(1, 3)]gb" . = ..() /obj/structure/flora/grass/both icon_state = "snowgrassall1" -/obj/structure/flora/grass/both/Initialize() +/obj/structure/flora/grass/both/Initialize(mapload) icon_state = "snowgrassall[rand(1, 3)]" . = ..() @@ -178,7 +178,7 @@ icon_state = "snowbush1" anchored = TRUE -/obj/structure/flora/bush/Initialize() +/obj/structure/flora/bush/Initialize(mapload) icon_state = "snowbush[rand(1, 6)]" . = ..() @@ -190,7 +190,7 @@ icon = 'icons/obj/flora/ausflora.dmi' icon_state = "firstbush_1" -/obj/structure/flora/ausbushes/Initialize() +/obj/structure/flora/ausbushes/Initialize(mapload) if(icon_state == "firstbush_1") icon_state = "firstbush_[rand(1, 4)]" . = ..() @@ -198,105 +198,105 @@ /obj/structure/flora/ausbushes/reedbush icon_state = "reedbush_1" -/obj/structure/flora/ausbushes/reedbush/Initialize() +/obj/structure/flora/ausbushes/reedbush/Initialize(mapload) icon_state = "reedbush_[rand(1, 4)]" . = ..() /obj/structure/flora/ausbushes/leafybush icon_state = "leafybush_1" -/obj/structure/flora/ausbushes/leafybush/Initialize() +/obj/structure/flora/ausbushes/leafybush/Initialize(mapload) icon_state = "leafybush_[rand(1, 3)]" . = ..() /obj/structure/flora/ausbushes/palebush icon_state = "palebush_1" -/obj/structure/flora/ausbushes/palebush/Initialize() +/obj/structure/flora/ausbushes/palebush/Initialize(mapload) icon_state = "palebush_[rand(1, 4)]" . = ..() /obj/structure/flora/ausbushes/stalkybush icon_state = "stalkybush_1" -/obj/structure/flora/ausbushes/stalkybush/Initialize() +/obj/structure/flora/ausbushes/stalkybush/Initialize(mapload) icon_state = "stalkybush_[rand(1, 3)]" . = ..() /obj/structure/flora/ausbushes/grassybush icon_state = "grassybush_1" -/obj/structure/flora/ausbushes/grassybush/Initialize() +/obj/structure/flora/ausbushes/grassybush/Initialize(mapload) icon_state = "grassybush_[rand(1, 4)]" . = ..() /obj/structure/flora/ausbushes/fernybush icon_state = "fernybush_1" -/obj/structure/flora/ausbushes/fernybush/Initialize() +/obj/structure/flora/ausbushes/fernybush/Initialize(mapload) icon_state = "fernybush_[rand(1, 3)]" . = ..() /obj/structure/flora/ausbushes/sunnybush icon_state = "sunnybush_1" -/obj/structure/flora/ausbushes/sunnybush/Initialize() +/obj/structure/flora/ausbushes/sunnybush/Initialize(mapload) icon_state = "sunnybush_[rand(1, 3)]" . = ..() /obj/structure/flora/ausbushes/genericbush icon_state = "genericbush_1" -/obj/structure/flora/ausbushes/genericbush/Initialize() +/obj/structure/flora/ausbushes/genericbush/Initialize(mapload) icon_state = "genericbush_[rand(1, 4)]" . = ..() /obj/structure/flora/ausbushes/pointybush icon_state = "pointybush_1" -/obj/structure/flora/ausbushes/pointybush/Initialize() +/obj/structure/flora/ausbushes/pointybush/Initialize(mapload) icon_state = "pointybush_[rand(1, 4)]" . = ..() /obj/structure/flora/ausbushes/lavendergrass icon_state = "lavendergrass_1" -/obj/structure/flora/ausbushes/lavendergrass/Initialize() +/obj/structure/flora/ausbushes/lavendergrass/Initialize(mapload) icon_state = "lavendergrass_[rand(1, 4)]" . = ..() /obj/structure/flora/ausbushes/ywflowers icon_state = "ywflowers_1" -/obj/structure/flora/ausbushes/ywflowers/Initialize() +/obj/structure/flora/ausbushes/ywflowers/Initialize(mapload) icon_state = "ywflowers_[rand(1, 3)]" . = ..() /obj/structure/flora/ausbushes/brflowers icon_state = "brflowers_1" -/obj/structure/flora/ausbushes/brflowers/Initialize() +/obj/structure/flora/ausbushes/brflowers/Initialize(mapload) icon_state = "brflowers_[rand(1, 3)]" . = ..() /obj/structure/flora/ausbushes/ppflowers icon_state = "ppflowers_1" -/obj/structure/flora/ausbushes/ppflowers/Initialize() +/obj/structure/flora/ausbushes/ppflowers/Initialize(mapload) icon_state = "ppflowers_[rand(1, 3)]" . = ..() /obj/structure/flora/ausbushes/sparsegrass icon_state = "sparsegrass_1" -/obj/structure/flora/ausbushes/sparsegrass/Initialize() +/obj/structure/flora/ausbushes/sparsegrass/Initialize(mapload) icon_state = "sparsegrass_[rand(1, 3)]" . = ..() /obj/structure/flora/ausbushes/fullgrass icon_state = "fullgrass_1" -/obj/structure/flora/ausbushes/fullgrass/Initialize() +/obj/structure/flora/ausbushes/fullgrass/Initialize(mapload) icon_state = "fullgrass_[rand(1, 3)]" . = ..() @@ -343,7 +343,7 @@ icon = 'icons/obj/flora/_flora.dmi' icon_state = "random_plant" -/obj/item/kirbyplants/random/Initialize() +/obj/item/kirbyplants/random/Initialize(mapload) . = ..() icon = 'icons/obj/flora/plants.dmi' if(!random_plant_states) @@ -382,7 +382,7 @@ custom_materials = (list(/datum/material/plastic = 8000)) trimmable = FALSE -/obj/item/kirbyplants/fullysynthetic/Initialize() +/obj/item/kirbyplants/fullysynthetic/Initialize(mapload) . = ..() icon_state = "plant-[rand(26, 29)]" @@ -416,7 +416,7 @@ /// Amount of the itemstack to drop var/mineAmount = 20 -/obj/structure/flora/rock/Initialize() +/obj/structure/flora/rock/Initialize(mapload) . = ..() icon_state = "[icon_state][rand(1,3)]" @@ -446,7 +446,7 @@ icon_state = "grassa" -/obj/structure/flora/grass/jungle/Initialize() +/obj/structure/flora/grass/jungle/Initialize(mapload) icon_state = "[icon_state][rand(1, 5)]" . = ..() @@ -461,7 +461,7 @@ icon = 'icons/obj/flora/jungleflora.dmi' density = FALSE -/obj/structure/flora/rock/jungle/Initialize() +/obj/structure/flora/rock/jungle/Initialize(mapload) . = ..() icon_state = "[initial(icon_state)][rand(1,5)]" @@ -474,7 +474,7 @@ icon = 'icons/obj/flora/jungleflora.dmi' icon_state = "busha" -/obj/structure/flora/junglebush/Initialize() +/obj/structure/flora/junglebush/Initialize(mapload) icon_state = "[icon_state][rand(1, 3)]" . = ..() @@ -499,7 +499,7 @@ pixel_x = -16 pixel_y = -16 -/obj/structure/flora/rock/pile/largejungle/Initialize() +/obj/structure/flora/rock/pile/largejungle/Initialize(mapload) . = ..() icon_state = "[initial(icon_state)][rand(1,3)]" diff --git a/code/game/objects/structures/guillotine.dm b/code/game/objects/structures/guillotine.dm index 789ba6a813c..6ad641b0b53 100644 --- a/code/game/objects/structures/guillotine.dm +++ b/code/game/objects/structures/guillotine.dm @@ -29,7 +29,7 @@ var/kill_count = 0 var/current_action = 0 // What's currently happening to the guillotine -/obj/structure/guillotine/Initialize() +/obj/structure/guillotine/Initialize(mapload) LAZYINITLIST(buckled_mobs) . = ..() diff --git a/code/game/objects/structures/hivebot.dm b/code/game/objects/structures/hivebot.dm index a3685fa79e7..493c7eabca0 100644 --- a/code/game/objects/structures/hivebot.dm +++ b/code/game/objects/structures/hivebot.dm @@ -8,7 +8,7 @@ var/bot_type = "norm" var/bot_amt = 10 -/obj/structure/hivebot_beacon/Initialize() +/obj/structure/hivebot_beacon/Initialize(mapload) . = ..() var/datum/effect_system/smoke_spread/smoke = new smoke.set_up(2, loc) diff --git a/code/game/objects/structures/holosign.dm b/code/game/objects/structures/holosign.dm index 8a4e1dacba5..813630a0404 100644 --- a/code/game/objects/structures/holosign.dm +++ b/code/game/objects/structures/holosign.dm @@ -10,7 +10,7 @@ var/obj/item/holosign_creator/projector var/use_vis_overlay = TRUE -/obj/structure/holosign/Initialize(loc, source_projector) +/obj/structure/holosign/Initialize(mapload, loc, source_projector) . = ..() if(use_vis_overlay) alpha = 0 @@ -104,7 +104,7 @@ name = "sturdy holofirelock" max_integrity = 150 -/obj/structure/holosign/barrier/atmos/Initialize() +/obj/structure/holosign/barrier/atmos/Initialize(mapload) . = ..() var/turf/local = get_turf(loc) ADD_TRAIT(local, TRAIT_FIREDOOR_STOP, TRAIT_GENERIC) diff --git a/code/game/objects/structures/icemoon/cave_entrance.dm b/code/game/objects/structures/icemoon/cave_entrance.dm index f004a8632ae..19151e34f1c 100644 --- a/code/game/objects/structures/icemoon/cave_entrance.dm +++ b/code/game/objects/structures/icemoon/cave_entrance.dm @@ -21,7 +21,7 @@ GLOBAL_LIST_INIT(ore_probability, list( move_resist = INFINITY anchored = TRUE -/obj/structure/spawner/ice_moon/Initialize() +/obj/structure/spawner/ice_moon/Initialize(mapload) . = ..() clear_rock() @@ -80,7 +80,7 @@ GLOBAL_LIST_INIT(ore_probability, list( light_range = 1 light_color = COLOR_SOFT_RED -/obj/structure/spawner/ice_moon/demonic_portal/Initialize() +/obj/structure/spawner/ice_moon/demonic_portal/Initialize(mapload) . = ..() AddComponent(/datum/component/gps, "Netheric Signal") @@ -113,7 +113,7 @@ GLOBAL_LIST_INIT(ore_probability, list( anchored = TRUE density = TRUE -/obj/effect/collapsing_demonic_portal/Initialize() +/obj/effect/collapsing_demonic_portal/Initialize(mapload) . = ..() playsound(loc,'sound/effects/tendril_destroyed.ogg', 200, FALSE, 50, TRUE, TRUE) visible_message(span_boldannounce("[src] begins to collapse, cutting it off from this world!")) diff --git a/code/game/objects/structures/industrial_lift.dm b/code/game/objects/structures/industrial_lift.dm index 9eab9ddab0b..ba29ed037ec 100644 --- a/code/game/objects/structures/industrial_lift.dm +++ b/code/game/objects/structures/industrial_lift.dm @@ -551,7 +551,7 @@ GLOBAL_LIST_EMPTY(tram_landmarks) ///icons for the tgui console to list out for what is at this location var/list/tgui_icons = list() -/obj/effect/landmark/tram/Initialize() +/obj/effect/landmark/tram/Initialize(mapload) . = ..() GLOB.tram_landmarks += src diff --git a/code/game/objects/structures/janicart.dm b/code/game/objects/structures/janicart.dm index 5bf4988fae2..f806e6bb7da 100644 --- a/code/game/objects/structures/janicart.dm +++ b/code/game/objects/structures/janicart.dm @@ -16,7 +16,7 @@ var/max_signs = 4 -/obj/structure/janitorialcart/Initialize() +/obj/structure/janitorialcart/Initialize(mapload) . = ..() create_reagents(100, OPENCONTAINER) diff --git a/code/game/objects/structures/ladders.dm b/code/game/objects/structures/ladders.dm index d8b7e57d837..fece86325d0 100644 --- a/code/game/objects/structures/ladders.dm +++ b/code/game/objects/structures/ladders.dm @@ -173,7 +173,7 @@ var/id var/height = 0 // higher numbers are considered physically higher -/obj/structure/ladder/unbreakable/Initialize() +/obj/structure/ladder/unbreakable/Initialize(mapload) GLOB.ladders += src return ..() diff --git a/code/game/objects/structures/lavaland/geyser.dm b/code/game/objects/structures/lavaland/geyser.dm index c4f1b54983e..bd38012dc98 100644 --- a/code/game/objects/structures/lavaland/geyser.dm +++ b/code/game/objects/structures/lavaland/geyser.dm @@ -113,7 +113,7 @@ true_name = "strange geyser" discovery_message = "It's a strange geyser! How does any of this even work?" //it doesnt -/obj/structure/geyser/random/Initialize() +/obj/structure/geyser/random/Initialize(mapload) . = ..() reagent_id = get_random_reagent_id() diff --git a/code/game/objects/structures/lavaland/necropolis_tendril.dm b/code/game/objects/structures/lavaland/necropolis_tendril.dm index 6968d1c6d76..43d84b93ac4 100644 --- a/code/game/objects/structures/lavaland/necropolis_tendril.dm +++ b/code/game/objects/structures/lavaland/necropolis_tendril.dm @@ -29,7 +29,7 @@ mob_types = list(/mob/living/simple_animal/hostile/asteroid/basilisk/watcher/icewing) GLOBAL_LIST_INIT(tendrils, list()) -/obj/structure/spawner/lavaland/Initialize() +/obj/structure/spawner/lavaland/Initialize(mapload) . = ..() emitted_light = new(loc) for(var/F in RANGE_TURFS(1, src)) @@ -77,7 +77,7 @@ GLOBAL_LIST_INIT(tendrils, list()) density = TRUE var/obj/effect/light_emitter/tendril/emitted_light -/obj/effect/collapse/Initialize() +/obj/effect/collapse/Initialize(mapload) . = ..() emitted_light = new(loc) visible_message(span_boldannounce("The tendril writhes in fury as the earth around it begins to crack and break apart! Get back!")) diff --git a/code/game/objects/structures/maintenance.dm b/code/game/objects/structures/maintenance.dm index 7664e75957d..e4993a9eba0 100644 --- a/code/game/objects/structures/maintenance.dm +++ b/code/game/objects/structures/maintenance.dm @@ -27,7 +27,7 @@ at the cost of risking a vicious bite.**/ /obj/item/coin/mythril = 1) //the loot table isn't that great and should probably be improved and expanded later. -/obj/structure/moisture_trap/Initialize() +/obj/structure/moisture_trap/Initialize(mapload) . = ..() if(prob(40)) critter_infested = FALSE diff --git a/code/game/objects/structures/mineral_doors.dm b/code/game/objects/structures/mineral_doors.dm index a32f9041266..b948296f470 100644 --- a/code/game/objects/structures/mineral_doors.dm +++ b/code/game/objects/structures/mineral_doors.dm @@ -26,7 +26,7 @@ var/sheetType = /obj/item/stack/sheet/iron //what we're made of var/sheetAmount = 7 //how much we drop when deconstructed -/obj/structure/mineral_door/Initialize() +/obj/structure/mineral_door/Initialize(mapload) . = ..() air_update_turf(TRUE, TRUE) @@ -318,7 +318,7 @@ resistance_flags = FLAMMABLE max_integrity = 20 -/obj/structure/mineral_door/paperframe/Initialize() +/obj/structure/mineral_door/paperframe/Initialize(mapload) . = ..() if(smoothing_flags & (SMOOTH_CORNERS|SMOOTH_BITMASK)) QUEUE_SMOOTH_NEIGHBORS(src) diff --git a/code/game/objects/structures/mop_bucket.dm b/code/game/objects/structures/mop_bucket.dm index ee812057258..8da8e8c69ce 100644 --- a/code/game/objects/structures/mop_bucket.dm +++ b/code/game/objects/structures/mop_bucket.dm @@ -7,7 +7,7 @@ var/amount_per_transfer_from_this = 5 //shit I dunno, adding this so syringes stop runtime erroring. --NeoFite -/obj/structure/mopbucket/Initialize() +/obj/structure/mopbucket/Initialize(mapload) . = ..() create_reagents(100, OPENCONTAINER) diff --git a/code/game/objects/structures/morgue.dm b/code/game/objects/structures/morgue.dm index 370a8bd4910..25b8c0af9ff 100644 --- a/code/game/objects/structures/morgue.dm +++ b/code/game/objects/structures/morgue.dm @@ -28,7 +28,7 @@ GLOBAL_LIST_EMPTY(bodycontainers) //Let them act as spawnpoints for revenants an var/message_cooldown var/breakout_time = 600 -/obj/structure/bodycontainer/Initialize() +/obj/structure/bodycontainer/Initialize(mapload) . = ..() GLOB.bodycontainers += src recursive_organ_check(src) @@ -158,7 +158,7 @@ GLOBAL_LIST_EMPTY(bodycontainers) //Let them act as spawnpoints for revenants an /// The cooldown to prevent this from spamming beeps. COOLDOWN_DECLARE(next_beep) -/obj/structure/bodycontainer/morgue/Initialize() +/obj/structure/bodycontainer/morgue/Initialize(mapload) . = ..() connected = new/obj/structure/tray/m_tray(src) connected.connected = src @@ -217,7 +217,7 @@ GLOBAL_LIST_EMPTY(crematoriums) dir = SOUTH var/id = 1 -/obj/structure/bodycontainer/crematorium/Initialize() +/obj/structure/bodycontainer/crematorium/Initialize(mapload) . = ..() GLOB.crematoriums += src connected = new /obj/structure/tray/c_tray(src) diff --git a/code/game/objects/structures/plasticflaps.dm b/code/game/objects/structures/plasticflaps.dm index a7d9b3561bc..85138500552 100644 --- a/code/game/objects/structures/plasticflaps.dm +++ b/code/game/objects/structures/plasticflaps.dm @@ -12,7 +12,7 @@ /obj/structure/plasticflaps/opaque opacity = TRUE -/obj/structure/plasticflaps/Initialize() +/obj/structure/plasticflaps/Initialize(mapload) . = ..() alpha = 0 SSvis_overlays.add_vis_overlay(src, icon, icon_state, ABOVE_MOB_LAYER, plane, dir, add_appearance_flags = RESET_ALPHA) //you see mobs under it, but you hit them like they are above it @@ -110,7 +110,7 @@ new /obj/item/stack/sheet/plastic/five(loc) qdel(src) -/obj/structure/plasticflaps/Initialize() +/obj/structure/plasticflaps/Initialize(mapload) . = ..() air_update_turf(TRUE, TRUE) diff --git a/code/game/objects/structures/railings.dm b/code/game/objects/structures/railings.dm index 96e7b6767ab..327f030a4bf 100644 --- a/code/game/objects/structures/railings.dm +++ b/code/game/objects/structures/railings.dm @@ -20,7 +20,7 @@ density = FALSE climbable = FALSE -/obj/structure/railing/Initialize() +/obj/structure/railing/Initialize(mapload) . = ..() ini_dir = dir if(climbable) diff --git a/code/game/objects/structures/reflector.dm b/code/game/objects/structures/reflector.dm index 0b9271f49e0..354bae8d4f6 100644 --- a/code/game/objects/structures/reflector.dm +++ b/code/game/objects/structures/reflector.dm @@ -17,7 +17,7 @@ var/list/allowed_projectile_typecache = list(/obj/projectile/beam) var/rotation_angle = -1 -/obj/structure/reflector/Initialize() +/obj/structure/reflector/Initialize(mapload) . = ..() icon_state = "reflector_base" allowed_projectile_typecache = typecacheof(allowed_projectile_typecache) diff --git a/code/game/objects/structures/showcase.dm b/code/game/objects/structures/showcase.dm index a817dff093d..c23039f5c72 100644 --- a/code/game/objects/structures/showcase.dm +++ b/code/game/objects/structures/showcase.dm @@ -17,7 +17,7 @@ icon = 'icons/obj/computer.dmi' icon_state = "computer" -/obj/structure/showcase/fakeid/Initialize() +/obj/structure/showcase/fakeid/Initialize(mapload) . = ..() add_overlay("id") add_overlay("id_key") diff --git a/code/game/objects/structures/shower.dm b/code/game/objects/structures/shower.dm index ab3b413c1ae..b5694e3daf5 100644 --- a/code/game/objects/structures/shower.dm +++ b/code/game/objects/structures/shower.dm @@ -34,7 +34,7 @@ /// Whether to allow players to toggle the water reclaimer. var/can_toggle_refill = TRUE -/obj/machinery/shower/Initialize() +/obj/machinery/shower/Initialize(mapload) . = ..() create_reagents(reagent_capacity) reagents.add_reagent(reagent_id, reagent_capacity) @@ -203,7 +203,7 @@ return return ..() -/obj/structure/showerframe/Initialize() +/obj/structure/showerframe/Initialize(mapload) . = ..() AddComponent(/datum/component/simple_rotation, ROTATION_ALTCLICK | ROTATION_CLOCKWISE | ROTATION_COUNTERCLOCKWISE | ROTATION_VERBS, null, CALLBACK(src, .proc/can_be_rotated)) diff --git a/code/game/objects/structures/signs/_signs.dm b/code/game/objects/structures/signs/_signs.dm index b5c10cd4141..f83a3cf4857 100644 --- a/code/game/objects/structures/signs/_signs.dm +++ b/code/game/objects/structures/signs/_signs.dm @@ -41,7 +41,7 @@ ///This determines if you can select this sign type when using a pen on a sign backing. False by default, set to true per sign type to override. var/is_editable = TRUE -/obj/item/sign/Initialize() //Signs not attached to walls are always rotated so they look like they're laying horizontal. +/obj/item/sign/Initialize(mapload) //Signs not attached to walls are always rotated so they look like they're laying horizontal. . = ..() var/matrix/M = matrix() M.Turn(90) @@ -210,7 +210,7 @@ placed_sign.setDir(dir) qdel(src) -/obj/item/sign/random/Initialize() +/obj/item/sign/random/Initialize(mapload) . = ..() set_sign_type(GLOB.editable_sign_types[pick(GLOB.editable_sign_types)]) diff --git a/code/game/objects/structures/spawner.dm b/code/game/objects/structures/spawner.dm index 32611e9635c..855bda19eb6 100644 --- a/code/game/objects/structures/spawner.dm +++ b/code/game/objects/structures/spawner.dm @@ -15,7 +15,7 @@ var/faction = list("hostile") var/spawner_type = /datum/component/spawner -/obj/structure/spawner/Initialize() +/obj/structure/spawner/Initialize(mapload) . = ..() AddComponent(spawner_type, mob_types, spawn_time, faction, spawn_text, max_mobs) diff --git a/code/game/objects/structures/tables_racks.dm b/code/game/objects/structures/tables_racks.dm index e92a5947ab3..f23cdae9351 100644 --- a/code/game/objects/structures/tables_racks.dm +++ b/code/game/objects/structures/tables_racks.dm @@ -320,7 +320,7 @@ armor = list(MELEE = 0, BULLET = 0, LASER = 0, ENERGY = 0, BOMB = 0, BIO = 0, RAD = 0, FIRE = 80, ACID = 100) var/list/debris = list() -/obj/structure/table/glass/Initialize() +/obj/structure/table/glass/Initialize(mapload) . = ..() debris += new frame if(buildstack == /obj/item/stack/sheet/plasmaglass) @@ -445,7 +445,7 @@ canSmoothWith = list(SMOOTH_GROUP_FANCY_WOOD_TABLES) var/smooth_icon = 'icons/obj/smooth_structures/fancy_table.dmi' // see Initialize() -/obj/structure/table/wood/fancy/Initialize() +/obj/structure/table/wood/fancy/Initialize(mapload) . = ..() // Needs to be set dynamically because table smooth sprites are 32x34, // which the editor treats as a two-tile-tall object. The sprites are that @@ -620,7 +620,7 @@ var/mob/living/carbon/human/patient = null var/obj/machinery/computer/operating/computer = null -/obj/structure/table/optable/Initialize() +/obj/structure/table/optable/Initialize(mapload) . = ..() for(var/direction in GLOB.alldirs) computer = locate(/obj/machinery/computer/operating) in get_step(src, direction) diff --git a/code/game/objects/structures/tank_dispenser.dm b/code/game/objects/structures/tank_dispenser.dm index ffb2cb742cd..ccc58bdf317 100644 --- a/code/game/objects/structures/tank_dispenser.dm +++ b/code/game/objects/structures/tank_dispenser.dm @@ -17,7 +17,7 @@ /obj/structure/tank_dispenser/plasma oxygentanks = 0 -/obj/structure/tank_dispenser/Initialize() +/obj/structure/tank_dispenser/Initialize(mapload) . = ..() for(var/i in 1 to oxygentanks) new /obj/item/tank/internals/oxygen(src) diff --git a/code/game/objects/structures/tank_holder.dm b/code/game/objects/structures/tank_holder.dm index dce25119f04..5a2b52f79c7 100644 --- a/code/game/objects/structures/tank_holder.dm +++ b/code/game/objects/structures/tank_holder.dm @@ -17,7 +17,7 @@ /// The stored tank. If this is a path, it gets created into contents at Initialize. var/obj/item/tank -/obj/structure/tank_holder/Initialize() +/obj/structure/tank_holder/Initialize(mapload) . = ..() if(tank) var/obj/item/tank_ = new tank(null) diff --git a/code/game/objects/structures/transit_tubes/station.dm b/code/game/objects/structures/transit_tubes/station.dm index d5c85e5f6d1..5cb1a2a8736 100644 --- a/code/game/objects/structures/transit_tubes/station.dm +++ b/code/game/objects/structures/transit_tubes/station.dm @@ -21,7 +21,7 @@ var/base_icon = "station0" var/boarding_dir //from which direction you can board the tube -/obj/structure/transit_tube/station/Initialize() +/obj/structure/transit_tube/station/Initialize(mapload) . = ..() START_PROCESSING(SSobj, src) diff --git a/code/game/objects/structures/transit_tubes/transit_tube_pod.dm b/code/game/objects/structures/transit_tubes/transit_tube_pod.dm index ea247bd25cf..1c37b568180 100644 --- a/code/game/objects/structures/transit_tubes/transit_tube_pod.dm +++ b/code/game/objects/structures/transit_tubes/transit_tube_pod.dm @@ -18,7 +18,7 @@ var/moving_time = 0 -/obj/structure/transit_tube_pod/Initialize() +/obj/structure/transit_tube_pod/Initialize(mapload) . = ..() air_contents.add_gases(/datum/gas/oxygen, /datum/gas/nitrogen) air_contents.gases[/datum/gas/oxygen][MOLES] = MOLES_O2STANDARD diff --git a/code/game/objects/structures/traps.dm b/code/game/objects/structures/traps.dm index 39a6d35ccac..9825cc15613 100644 --- a/code/game/objects/structures/traps.dm +++ b/code/game/objects/structures/traps.dm @@ -226,7 +226,7 @@ density = TRUE time_between_triggers = 1200 //Exists for 2 minutes -/obj/structure/trap/ward/Initialize() +/obj/structure/trap/ward/Initialize(mapload) . = ..() QDEL_IN(src, time_between_triggers) diff --git a/code/game/objects/structures/watercloset.dm b/code/game/objects/structures/watercloset.dm index 56c7dc75b30..136b309cd92 100644 --- a/code/game/objects/structures/watercloset.dm +++ b/code/game/objects/structures/watercloset.dm @@ -12,7 +12,7 @@ var/buildstacktype = /obj/item/stack/sheet/iron //they're iron now, shut up var/buildstackamount = 1 -/obj/structure/toilet/Initialize() +/obj/structure/toilet/Initialize(mapload) . = ..() open = round(rand(0, 1)) update_appearance() @@ -175,7 +175,7 @@ dir = EAST pixel_x = -32 -/obj/structure/urinal/Initialize() +/obj/structure/urinal/Initialize(mapload) . = ..() hiddenitem = new /obj/item/food/urinalcake @@ -764,7 +764,7 @@ GLOB.curtains -= src return ..() -/obj/structure/curtain/cloth/fancy/mechanical/Initialize() +/obj/structure/curtain/cloth/fancy/mechanical/Initialize(mapload) . = ..() GLOB.curtains += src diff --git a/code/game/objects/structures/windoor_assembly.dm b/code/game/objects/structures/windoor_assembly.dm index e52c0be74d2..bc3c1b24193 100644 --- a/code/game/objects/structures/windoor_assembly.dm +++ b/code/game/objects/structures/windoor_assembly.dm @@ -29,7 +29,7 @@ var/state = "01" //How far the door assembly has progressed CanAtmosPass = ATMOS_PASS_PROC -/obj/structure/windoor_assembly/Initialize(loc, set_dir) +/obj/structure/windoor_assembly/Initialize(mapload, loc, set_dir) . = ..() if(set_dir) setDir(set_dir) diff --git a/code/game/objects/structures/window.dm b/code/game/objects/structures/window.dm index 421f22acbfa..c51fa0ff821 100644 --- a/code/game/objects/structures/window.dm +++ b/code/game/objects/structures/window.dm @@ -797,7 +797,7 @@ var/static/mutable_appearance/torn = mutable_appearance('icons/obj/smooth_structures/paperframes.dmi',icon_state = "torn", layer = ABOVE_OBJ_LAYER - 0.1) var/static/mutable_appearance/paper = mutable_appearance('icons/obj/smooth_structures/paperframes.dmi',icon_state = "paper", layer = ABOVE_OBJ_LAYER - 0.1) -/obj/structure/window/paperframe/Initialize() +/obj/structure/window/paperframe/Initialize(mapload) . = ..() update_appearance() diff --git a/code/game/turfs/baseturf_skipover.dm b/code/game/turfs/baseturf_skipover.dm index 4df8c86e624..9bef78a15ea 100644 --- a/code/game/turfs/baseturf_skipover.dm +++ b/code/game/turfs/baseturf_skipover.dm @@ -3,7 +3,7 @@ name = "Baseturf skipover placeholder" desc = "This shouldn't exist" -/turf/baseturf_skipover/Initialize() +/turf/baseturf_skipover/Initialize(mapload) . = ..() stack_trace("[src]([type]) was instanced which should never happen. Changing into the next baseturf down...") ScrapeAway() diff --git a/code/game/turfs/closed/_closed.dm b/code/game/turfs/closed/_closed.dm index 567c20a28f7..676d385d56e 100644 --- a/code/game/turfs/closed/_closed.dm +++ b/code/game/turfs/closed/_closed.dm @@ -163,7 +163,7 @@ smoothing_groups = list(SMOOTH_GROUP_WINDOW_FULLTILE) canSmoothWith = list(SMOOTH_GROUP_WINDOW_FULLTILE) -/turf/closed/indestructible/fakeglass/Initialize() +/turf/closed/indestructible/fakeglass/Initialize(mapload) . = ..() underlays += mutable_appearance('icons/obj/structures.dmi', "grille") //add a grille underlay underlays += mutable_appearance('icons/turf/floors.dmi', "plating") //add the plating underlay, below the grille @@ -178,7 +178,7 @@ smoothing_groups = list(SMOOTH_GROUP_SHUTTLE_PARTS, SMOOTH_GROUP_WINDOW_FULLTILE_PLASTITANIUM) canSmoothWith = list(SMOOTH_GROUP_WINDOW_FULLTILE_PLASTITANIUM) -/turf/closed/indestructible/opsglass/Initialize() +/turf/closed/indestructible/opsglass/Initialize(mapload) . = ..() icon_state = null underlays += mutable_appearance('icons/obj/structures.dmi', "grille") diff --git a/code/game/turfs/closed/minerals.dm b/code/game/turfs/closed/minerals.dm index d648191c71d..3a5903c4d47 100644 --- a/code/game/turfs/closed/minerals.dm +++ b/code/game/turfs/closed/minerals.dm @@ -27,7 +27,7 @@ // If true you can mine the mineral turf with your hands var/weak_turf = FALSE -/turf/closed/mineral/Initialize() +/turf/closed/mineral/Initialize(mapload) . = ..() var/matrix/M = new M.Translate(-4, -4) @@ -182,7 +182,7 @@ //Currently, Adamantine won't spawn as it has no uses. -Durandan var/mineralChance = 13 -/turf/closed/mineral/random/Initialize() +/turf/closed/mineral/random/Initialize(mapload) if(SSevents.holidays && SSevents.holidays[APRIL_FOOLS]) mineralSpawnChanceList[/obj/item/stack/ore/bananium] = 3 @@ -538,7 +538,7 @@ var/activated_name = null var/mutable_appearance/activated_overlay -/turf/closed/mineral/gibtonite/Initialize() +/turf/closed/mineral/gibtonite/Initialize(mapload) det_time = rand(8,10) //So you don't know exactly when the hot potato will explode . = ..() diff --git a/code/game/turfs/closed/wall/misc_walls.dm b/code/game/turfs/closed/wall/misc_walls.dm index b85415b5a1a..90434d246eb 100644 --- a/code/game/turfs/closed/wall/misc_walls.dm +++ b/code/game/turfs/closed/wall/misc_walls.dm @@ -11,7 +11,7 @@ sheet_amount = 1 girder_type = /obj/structure/girder/cult -/turf/closed/wall/mineral/cult/Initialize() +/turf/closed/wall/mineral/cult/Initialize(mapload) new /obj/effect/temp_visual/cult/turf(src) . = ..() diff --git a/code/game/turfs/open/_open.dm b/code/game/turfs/open/_open.dm index 5f6fc16a50f..8724356e8b9 100644 --- a/code/game/turfs/open/_open.dm +++ b/code/game/turfs/open/_open.dm @@ -97,7 +97,7 @@ heavyfootstep = FOOTSTEP_LAVA tiled_dirt = FALSE -/turf/open/indestructible/necropolis/Initialize() +/turf/open/indestructible/necropolis/Initialize(mapload) . = ..() if(prob(12)) icon_state = "necro[rand(2,3)]" diff --git a/code/game/turfs/open/chasm.dm b/code/game/turfs/open/chasm.dm index 81a04a1c11f..edb61bf4d15 100644 --- a/code/game/turfs/open/chasm.dm +++ b/code/game/turfs/open/chasm.dm @@ -12,7 +12,7 @@ density = TRUE //This will prevent hostile mobs from pathing into chasms, while the canpass override will still let it function like an open turf bullet_bounce_sound = null //abandon all hope ye who enter -/turf/open/chasm/Initialize() +/turf/open/chasm/Initialize(mapload) . = ..() AddComponent(/datum/component/chasm, SSmapping.get_turf_below(src)) diff --git a/code/game/turfs/open/floor/catwalk_plating.dm b/code/game/turfs/open/floor/catwalk_plating.dm index 486ffba6400..063deb17f50 100644 --- a/code/game/turfs/open/floor/catwalk_plating.dm +++ b/code/game/turfs/open/floor/catwalk_plating.dm @@ -17,7 +17,7 @@ heavyfootstep = FOOTSTEP_CATWALK var/covered = TRUE -/turf/open/floor/plating/catwalk_floor/Initialize() +/turf/open/floor/plating/catwalk_floor/Initialize(mapload) . = ..() update_icon(UPDATE_OVERLAYS) diff --git a/code/game/turfs/open/floor/fancy_floor.dm b/code/game/turfs/open/floor/fancy_floor.dm index e562f037bbf..32970eec2dd 100644 --- a/code/game/turfs/open/floor/fancy_floor.dm +++ b/code/game/turfs/open/floor/fancy_floor.dm @@ -107,7 +107,7 @@ /turf/open/floor/grass/setup_broken_states() return list("sand") -/turf/open/floor/grass/Initialize() +/turf/open/floor/grass/Initialize(mapload) . = ..() spawniconchange() @@ -235,7 +235,7 @@ . = ..() . += span_notice("There's a small crack on the edge of it.") -/turf/open/floor/carpet/Initialize() +/turf/open/floor/carpet/Initialize(mapload) . = ..() update_appearance() @@ -444,7 +444,7 @@ /// The alpha used for the emissive decal. var/emissive_alpha = 150 -/turf/open/floor/carpet/neon/Initialize() +/turf/open/floor/carpet/neon/Initialize(mapload) . = ..() AddElement(/datum/element/decal, neon_icon || icon, neon_icon_state || base_icon_state, dir, null, null, alpha, neon_color, smoothing_junction) AddElement(/datum/element/decal, neon_icon || icon, neon_icon_state || base_icon_state, dir, EMISSIVE_PLANE, null, emissive_alpha, EMISSIVE_COLOR, smoothing_junction) @@ -790,7 +790,7 @@ /turf/open/floor/fakespace/setup_broken_states() return list("damaged") -/turf/open/floor/fakespace/Initialize() +/turf/open/floor/fakespace/Initialize(mapload) . = ..() icon_state = SPACE_ICON_STATE diff --git a/code/game/turfs/open/floor/light_floor.dm b/code/game/turfs/open/floor/light_floor.dm index 8c056adcc5f..d1378c32707 100644 --- a/code/game/turfs/open/floor/light_floor.dm +++ b/code/game/turfs/open/floor/light_floor.dm @@ -51,7 +51,7 @@ LIGHT_COLOR_FIRE = image(icon = src.icon, icon_state = "light_on-10") ) -/turf/open/floor/light/Initialize() +/turf/open/floor/light/Initialize(mapload) . = ..() update_appearance() if(!length(lighttile_designs)) diff --git a/code/game/turfs/open/floor/mineral_floor.dm b/code/game/turfs/open/floor/mineral_floor.dm index 79a623c4f44..07f6bddafaa 100644 --- a/code/game/turfs/open/floor/mineral_floor.dm +++ b/code/game/turfs/open/floor/mineral_floor.dm @@ -17,7 +17,7 @@ tiled_dirt = FALSE -/turf/open/floor/mineral/Initialize() +/turf/open/floor/mineral/Initialize(mapload) . = ..() icons = typelist("icons", icons) @@ -302,7 +302,7 @@ baseturfs = /turf/open/floor/plating/abductor2 custom_materials = list(/datum/material/alloy/alien = 500) -/turf/open/floor/mineral/abductor/Initialize() +/turf/open/floor/mineral/abductor/Initialize(mapload) . = ..() icon_state = "alienpod[rand(1,9)]" diff --git a/code/game/turfs/open/floor/misc_floor.dm b/code/game/turfs/open/floor/misc_floor.dm index c2661b503b7..f2341c6613b 100644 --- a/code/game/turfs/open/floor/misc_floor.dm +++ b/code/game/turfs/open/floor/misc_floor.dm @@ -7,7 +7,7 @@ floor_tile = /obj/item/stack/tile/circuit var/on = TRUE -/turf/open/floor/circuit/Initialize() +/turf/open/floor/circuit/Initialize(mapload) SSmapping.nuke_tiles += src update_appearance() . = ..() diff --git a/code/game/turfs/open/floor/plating/asteroid.dm b/code/game/turfs/open/floor/plating/asteroid.dm index 6b9bc4ff1e1..f55b44b0a25 100644 --- a/code/game/turfs/open/floor/plating/asteroid.dm +++ b/code/game/turfs/open/floor/plating/asteroid.dm @@ -27,7 +27,7 @@ /turf/open/floor/plating/asteroid/setup_broken_states() return list("asteroid_dug") -/turf/open/floor/plating/asteroid/Initialize() +/turf/open/floor/plating/asteroid/Initialize(mapload) var/proper_name = name . = ..() name = proper_name @@ -111,7 +111,7 @@ /turf/open/floor/plating/asteroid/basalt/airless initial_gas_mix = AIRLESS_ATMOS -/turf/open/floor/plating/asteroid/basalt/Initialize() +/turf/open/floor/plating/asteroid/basalt/Initialize(mapload) . = ..() set_basalt_light(src) diff --git a/code/game/turfs/open/floor/plating/misc_plating.dm b/code/game/turfs/open/floor/plating/misc_plating.dm index f058166b7b4..42384396cde 100644 --- a/code/game/turfs/open/floor/plating/misc_plating.dm +++ b/code/game/turfs/open/floor/plating/misc_plating.dm @@ -19,7 +19,7 @@ /turf/open/floor/plating/abductor/setup_broken_states() return list("alienpod1") -/turf/open/floor/plating/abductor/Initialize() +/turf/open/floor/plating/abductor/Initialize(mapload) . = ..() icon_state = "alienpod[rand(1,9)]" @@ -59,7 +59,7 @@ var/smooth_icon = 'icons/turf/floors/ash.dmi' -/turf/open/floor/plating/ashplanet/Initialize() +/turf/open/floor/plating/ashplanet/Initialize(mapload) . = ..() if(smoothing_flags & SMOOTH_BITMASK) var/matrix/M = new @@ -110,7 +110,7 @@ clawfootstep = FOOTSTEP_HARD_CLAW heavyfootstep = FOOTSTEP_GENERIC_HEAVY -/turf/open/floor/plating/ashplanet/wateryrock/Initialize() +/turf/open/floor/plating/ashplanet/wateryrock/Initialize(mapload) icon_state = "[icon_state][rand(1, 9)]" . = ..() @@ -202,7 +202,7 @@ /turf/open/floor/plating/ironsand/setup_broken_states() return list("ironsand1") -/turf/open/floor/plating/ironsand/Initialize() +/turf/open/floor/plating/ironsand/Initialize(mapload) . = ..() icon_state = "ironsand[rand(1,15)]" @@ -230,7 +230,7 @@ clawfootstep = FOOTSTEP_HARD_CLAW heavyfootstep = FOOTSTEP_GENERIC_HEAVY -/turf/open/floor/plating/ice/Initialize() +/turf/open/floor/plating/ice/Initialize(mapload) . = ..() MakeSlippery(TURF_WET_PERMAFROST, INFINITY, 0, INFINITY, TRUE) @@ -313,7 +313,7 @@ /turf/open/floor/plating/grass/setup_broken_states() return list("damaged") -/turf/open/floor/plating/grass/Initialize() +/turf/open/floor/plating/grass/Initialize(mapload) . = ..() if(smoothing_flags) var/matrix/translation = new diff --git a/code/game/turfs/open/floor/plating/planet.dm b/code/game/turfs/open/floor/plating/planet.dm index a331b2a5de6..ff9820f8fab 100644 --- a/code/game/turfs/open/floor/plating/planet.dm +++ b/code/game/turfs/open/floor/plating/planet.dm @@ -45,7 +45,7 @@ /turf/open/floor/plating/dirt/jungle/wasteland/setup_broken_states() return list("[initial(icon_state)]0") -/turf/open/floor/plating/dirt/jungle/wasteland/Initialize() +/turf/open/floor/plating/dirt/jungle/wasteland/Initialize(mapload) .=..() if(prob(floor_variance)) icon_state = "[initial(icon_state)][rand(0,12)]" diff --git a/code/game/turfs/open/floor/reinf_floor.dm b/code/game/turfs/open/floor/reinf_floor.dm index 64701642146..6c3670e42ee 100644 --- a/code/game/turfs/open/floor/reinf_floor.dm +++ b/code/game/turfs/open/floor/reinf_floor.dm @@ -201,7 +201,7 @@ var/obj/effect/cult_turf/overlay/floor/bloodcult/realappearance -/turf/open/floor/engine/cult/Initialize() +/turf/open/floor/engine/cult/Initialize(mapload) . = ..() new /obj/effect/temp_visual/cult/turf/floor(src) realappearance = new /obj/effect/cult_turf/overlay/floor/bloodcult(src) diff --git a/code/game/turfs/open/glass.dm b/code/game/turfs/open/glass.dm index bb04f2ec3ff..81c4bfb2fdd 100644 --- a/code/game/turfs/open/glass.dm +++ b/code/game/turfs/open/glass.dm @@ -18,7 +18,7 @@ return list("glass-damaged1", "glass-damaged2", "glass-damaged3") -/turf/open/floor/glass/Initialize() +/turf/open/floor/glass/Initialize(mapload) icon_state = "" //Prevent the normal icon from appearing behind the smooth overlays ..() return INITIALIZE_HINT_LATELOAD diff --git a/code/game/turfs/open/openspace.dm b/code/game/turfs/open/openspace.dm index 8af72c7e4bc..ff9a6b478ab 100644 --- a/code/game/turfs/open/openspace.dm +++ b/code/game/turfs/open/openspace.dm @@ -29,7 +29,7 @@ GLOBAL_DATUM_INIT(openspace_backdrop_one_for_all, /atom/movable/openspace_backdr /turf/open/openspace/airless/planetary planetary_atmos = TRUE -/turf/open/openspace/Initialize() // handle plane and layer here so that they don't cover other obs/turfs in Dream Maker +/turf/open/openspace/Initialize(mapload) // handle plane and layer here so that they don't cover other obs/turfs in Dream Maker . = ..() overlays += GLOB.openspace_backdrop_one_for_all //Special grey square for projecting backdrop darkness filter on it. return INITIALIZE_HINT_LATELOAD @@ -158,7 +158,7 @@ GLOBAL_DATUM_INIT(openspace_backdrop_one_for_all, /atom/movable/openspace_backdr /// If true mineral turfs below this openspace turf will be mined automatically var/drill_below = TRUE -/turf/open/openspace/icemoon/Initialize() +/turf/open/openspace/icemoon/Initialize(mapload) . = ..() var/turf/T = below() //I wonder if I should error here diff --git a/code/game/turfs/open/space/space.dm b/code/game/turfs/open/space/space.dm index ae34b8ffabc..1c79a654e5c 100644 --- a/code/game/turfs/open/space/space.dm +++ b/code/game/turfs/open/space/space.dm @@ -29,7 +29,7 @@ * * Doesn't call parent, see [/atom/proc/Initialize] */ -/turf/open/space/Initialize() +/turf/open/space/Initialize(mapload) SHOULD_CALL_PARENT(FALSE) icon_state = SPACE_ICON_STATE air = space_gas diff --git a/code/game/turfs/open/space/transit.dm b/code/game/turfs/open/space/transit.dm index 2c631350795..9e1e9643b26 100644 --- a/code/game/turfs/open/space/transit.dm +++ b/code/game/turfs/open/space/transit.dm @@ -75,7 +75,7 @@ return SSshuttle.is_in_shuttle_bounds(src) -/turf/open/space/transit/Initialize() +/turf/open/space/transit/Initialize(mapload) . = ..() update_appearance() for(var/atom/movable/AM in src) diff --git a/code/modules/NTNet/relays.dm b/code/modules/NTNet/relays.dm index d2e0df46df5..4f044cb90f3 100644 --- a/code/modules/NTNet/relays.dm +++ b/code/modules/NTNet/relays.dm @@ -113,7 +113,7 @@ update_appearance() return TRUE -/obj/machinery/ntnet_relay/Initialize() +/obj/machinery/ntnet_relay/Initialize(mapload) uid = gl_uid++ component_parts = list() diff --git a/code/modules/admin/fun_balloon.dm b/code/modules/admin/fun_balloon.dm index f7cc9362689..52bac236b0a 100644 --- a/code/modules/admin/fun_balloon.dm +++ b/code/modules/admin/fun_balloon.dm @@ -7,7 +7,7 @@ var/popped = FALSE var/pop_sound_effect = 'sound/items/party_horn.ogg' -/obj/effect/fun_balloon/Initialize() +/obj/effect/fun_balloon/Initialize(mapload) . = ..() SSobj.processing |= src @@ -132,7 +132,7 @@ var/min_crash_strength = 3 var/max_crash_strength = 15 -/obj/effect/station_crash/Initialize() +/obj/effect/station_crash/Initialize(mapload) ..() shuttle_crash() return INITIALIZE_HINT_QDEL diff --git a/code/modules/antagonists/abductor/equipment/abduction_gear.dm b/code/modules/antagonists/abductor/equipment/abduction_gear.dm index 0b3599229eb..2f62af27284 100644 --- a/code/modules/antagonists/abductor/equipment/abduction_gear.dm +++ b/code/modules/antagonists/abductor/equipment/abduction_gear.dm @@ -29,7 +29,7 @@ var/stealth_armor = list(MELEE = 15, BULLET = 15, LASER = 15, ENERGY = 25, BOMB = 15, BIO = 15, RAD = 15, FIRE = 70, ACID = 70) var/combat_armor = list(MELEE = 50, BULLET = 50, LASER = 50, ENERGY = 50, BOMB = 50, BIO = 50, RAD = 50, FIRE = 90, ACID = 90) -/obj/item/clothing/suit/armor/abductor/vest/Initialize() +/obj/item/clothing/suit/armor/abductor/vest/Initialize(mapload) . = ..() stealth_armor = getArmor(arglist(stealth_armor)) combat_armor = getArmor(arglist(combat_armor)) @@ -816,7 +816,7 @@ Congratulations! You are now trained for invasive xenobiology research!"} var/static/list/injected_reagents = list(/datum/reagent/medicine/cordiolis_hepatico) -/obj/structure/table/optable/abductor/Initialize() +/obj/structure/table/optable/abductor/Initialize(mapload) . = ..() var/static/list/loc_connections = list( COMSIG_ATOM_ENTERED = .proc/on_entered, diff --git a/code/modules/antagonists/abductor/equipment/gland.dm b/code/modules/antagonists/abductor/equipment/gland.dm index b90982c2eb3..3e85616c677 100644 --- a/code/modules/antagonists/abductor/equipment/gland.dm +++ b/code/modules/antagonists/abductor/equipment/gland.dm @@ -23,7 +23,7 @@ var/mind_control_duration = 1800 var/active_mind_control = FALSE -/obj/item/organ/heart/gland/Initialize() +/obj/item/organ/heart/gland/Initialize(mapload) . = ..() icon_state = pick(list("health", "spider", "slime", "emp", "species", "egg", "vent", "mindshock", "viral")) diff --git a/code/modules/antagonists/abductor/equipment/glands/chem.dm b/code/modules/antagonists/abductor/equipment/glands/chem.dm index b651b45f6d1..0c7d20d1ffa 100644 --- a/code/modules/antagonists/abductor/equipment/glands/chem.dm +++ b/code/modules/antagonists/abductor/equipment/glands/chem.dm @@ -8,7 +8,7 @@ mind_control_duration = 1200 var/list/possible_reagents = list() -/obj/item/organ/heart/gland/chem/Initialize() +/obj/item/organ/heart/gland/chem/Initialize(mapload) . = ..() for(var/R in subtypesof(/datum/reagent/drug) + subtypesof(/datum/reagent/medicine) + typesof(/datum/reagent/toxin)) possible_reagents += R diff --git a/code/modules/antagonists/abductor/machinery/dispenser.dm b/code/modules/antagonists/abductor/machinery/dispenser.dm index f5bc0946e66..7d79bacdd0d 100644 --- a/code/modules/antagonists/abductor/machinery/dispenser.dm +++ b/code/modules/antagonists/abductor/machinery/dispenser.dm @@ -12,7 +12,7 @@ //TODO : replace with presets or spectrum return rgb(rand(0,255),rand(0,255),rand(0,255)) -/obj/machinery/abductor/gland_dispenser/Initialize() +/obj/machinery/abductor/gland_dispenser/Initialize(mapload) . = ..() gland_types = subtypesof(/obj/item/organ/heart/gland) gland_types = shuffle(gland_types) diff --git a/code/modules/antagonists/abductor/machinery/pad.dm b/code/modules/antagonists/abductor/machinery/pad.dm index 0b0531fb1ee..5fde3c554c7 100644 --- a/code/modules/antagonists/abductor/machinery/pad.dm +++ b/code/modules/antagonists/abductor/machinery/pad.dm @@ -49,7 +49,7 @@ icon_state = "teleport" duration = 80 -/obj/effect/temp_visual/teleport_abductor/Initialize() +/obj/effect/temp_visual/teleport_abductor/Initialize(mapload) . = ..() var/datum/effect_system/spark_spread/S = new S.set_up(10,0,loc) diff --git a/code/modules/antagonists/blob/blob_mobs.dm b/code/modules/antagonists/blob/blob_mobs.dm index c8350812d10..a49ce6176cf 100644 --- a/code/modules/antagonists/blob/blob_mobs.dm +++ b/code/modules/antagonists/blob/blob_mobs.dm @@ -28,7 +28,7 @@ else remove_atom_colour(FIXED_COLOUR_PRIORITY) -/mob/living/simple_animal/hostile/blob/Initialize() +/mob/living/simple_animal/hostile/blob/Initialize(mapload) . = ..() if(!independent) //no pulling people deep into the blob remove_verb(src, /mob/living/verb/pulled) @@ -273,7 +273,7 @@ mob_size = MOB_SIZE_LARGE hud_type = /datum/hud/living/blobbernaut -/mob/living/simple_animal/hostile/blob/blobbernaut/Initialize() +/mob/living/simple_animal/hostile/blob/blobbernaut/Initialize(mapload) . = ..() add_cell_sample() diff --git a/code/modules/antagonists/blob/structures/node.dm b/code/modules/antagonists/blob/structures/node.dm index 290ad0d6058..0ee8a1a6001 100644 --- a/code/modules/antagonists/blob/structures/node.dm +++ b/code/modules/antagonists/blob/structures/node.dm @@ -15,7 +15,7 @@ ignore_syncmesh_share = TRUE -/obj/structure/blob/special/node/Initialize() +/obj/structure/blob/special/node/Initialize(mapload) GLOB.blob_nodes += src START_PROCESSING(SSobj, src) . = ..() diff --git a/code/modules/antagonists/changeling/powers/mutations.dm b/code/modules/antagonists/changeling/powers/mutations.dm index d22afe3a745..3838bfe8b2b 100644 --- a/code/modules/antagonists/changeling/powers/mutations.dm +++ b/code/modules/antagonists/changeling/powers/mutations.dm @@ -288,7 +288,7 @@ firing_effect_type = null var/obj/item/gun/magic/tentacle/gun //the item that shot it -/obj/item/ammo_casing/magic/tentacle/Initialize() +/obj/item/ammo_casing/magic/tentacle/Initialize(mapload) gun = loc . = ..() @@ -309,7 +309,7 @@ ///Click params that were used to fire the tentacle shot var/list/fire_modifiers -/obj/projectile/tentacle/Initialize() +/obj/projectile/tentacle/Initialize(mapload) source = loc . = ..() @@ -432,7 +432,7 @@ var/remaining_uses //Set by the changeling ability. -/obj/item/shield/changeling/Initialize() +/obj/item/shield/changeling/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, CHANGELING_TRAIT) if(ismob(loc)) @@ -481,7 +481,7 @@ cell = null show_hud = FALSE -/obj/item/clothing/suit/space/changeling/Initialize() +/obj/item/clothing/suit/space/changeling/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, CHANGELING_TRAIT) if(ismob(loc)) @@ -507,7 +507,7 @@ armor = list(MELEE = 0, BULLET = 0, LASER = 0,ENERGY = 0, BOMB = 0, BIO = 0, RAD = 0, FIRE = 90, ACID = 90) flags_cover = HEADCOVERSEYES | HEADCOVERSMOUTH -/obj/item/clothing/head/helmet/space/changeling/Initialize() +/obj/item/clothing/head/helmet/space/changeling/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, CHANGELING_TRAIT) @@ -540,7 +540,7 @@ cold_protection = 0 heat_protection = 0 -/obj/item/clothing/suit/armor/changeling/Initialize() +/obj/item/clothing/suit/armor/changeling/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, CHANGELING_TRAIT) if(ismob(loc)) @@ -554,6 +554,6 @@ armor = list(MELEE = 40, BULLET = 40, LASER = 40, ENERGY = 50, BOMB = 10, BIO = 4, RAD = 0, FIRE = 90, ACID = 90) flags_inv = HIDEEARS|HIDEHAIR|HIDEEYES|HIDEFACIALHAIR|HIDEFACE|HIDESNOUT -/obj/item/clothing/head/helmet/changeling/Initialize() +/obj/item/clothing/head/helmet/changeling/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, CHANGELING_TRAIT) diff --git a/code/modules/antagonists/clown_ops/clown_weapons.dm b/code/modules/antagonists/clown_ops/clown_weapons.dm index 7d97c568b09..8f0b5af478c 100644 --- a/code/modules/antagonists/clown_ops/clown_weapons.dm +++ b/code/modules/antagonists/clown_ops/clown_weapons.dm @@ -39,7 +39,7 @@ pocket_storage_component_path = /datum/component/storage/concrete/pockets/shoes always_noslip = TRUE -/obj/item/clothing/shoes/clown_shoes/banana_shoes/combat/Initialize() +/obj/item/clothing/shoes/clown_shoes/banana_shoes/combat/Initialize(mapload) . = ..() var/datum/component/material_container/bananium = GetComponent(/datum/component/material_container) bananium.insert_amount_mat(BANANA_SHOES_MAX_CHARGE, /datum/material/bananium) @@ -192,7 +192,7 @@ var/det_time = 50 var/obj/item/grenade/syndieminibomb/bomb -/obj/item/grown/bananapeel/bombanana/Initialize() +/obj/item/grown/bananapeel/bombanana/Initialize(mapload) . = ..() bomb = new /obj/item/grenade/syndieminibomb(src) bomb.det_time = det_time @@ -234,7 +234,7 @@ /obj/item/clothing/mask/fakemoustache/sticky var/unstick_time = 600 -/obj/item/clothing/mask/fakemoustache/sticky/Initialize() +/obj/item/clothing/mask/fakemoustache/sticky/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, STICKY_MOUSTACHE_TRAIT) addtimer(CALLBACK(src, .proc/unstick), unstick_time) diff --git a/code/modules/antagonists/cult/cult_items.dm b/code/modules/antagonists/cult/cult_items.dm index 04cf2ca4b0b..67144591d4c 100644 --- a/code/modules/antagonists/cult/cult_items.dm +++ b/code/modules/antagonists/cult/cult_items.dm @@ -27,7 +27,7 @@ actions_types = list(/datum/action/item_action/cult_dagger) var/drawing_rune = FALSE -/obj/item/melee/cultblade/dagger/Initialize() +/obj/item/melee/cultblade/dagger/Initialize(mapload) . = ..() var/image/I = image(icon = 'icons/effects/blood.dmi' , icon_state = null, loc = src) I.override = TRUE @@ -68,7 +68,7 @@ attack_verb_continuous = list("attacks", "slashes", "stabs", "slices", "tears", "lacerates", "rips", "dices", "rends") attack_verb_simple = list("attack", "slash", "stab", "slice", "tear", "lacerate", "rip", "dice", "rend") -/obj/item/melee/cultblade/Initialize() +/obj/item/melee/cultblade/Initialize(mapload) . = ..() AddComponent(/datum/component/butchering, 40, 100) @@ -102,7 +102,7 @@ flags_1 = NONE block_chance = 25 //these dweebs don't get full block chance, because they're free cultists -/obj/item/melee/cultblade/ghost/Initialize() +/obj/item/melee/cultblade/ghost/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, CULT_TRAIT) @@ -142,7 +142,7 @@ var/spin_cooldown = 250 var/dash_toggled = TRUE -/obj/item/cult_bastard/Initialize() +/obj/item/cult_bastard/Initialize(mapload) . = ..() jaunt = new(src) linked_action = new(src) @@ -360,7 +360,7 @@ /obj/item/clothing/suit/hooded/cultrobes/alt/ghost item_flags = DROPDEL -/obj/item/clothing/suit/hooded/cultrobes/alt/ghost/Initialize() +/obj/item/clothing/suit/hooded/cultrobes/alt/ghost/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, CULT_TRAIT) @@ -429,7 +429,7 @@ armor = list(MELEE = 50, BULLET = 40, LASER = 50,ENERGY = 50, BOMB = 50, BIO = 30, RAD = 30, FIRE = 50, ACID = 60) hoodtype = /obj/item/clothing/head/hooded/cult_hoodie/cult_shield -/obj/item/clothing/suit/hooded/cultrobes/cult_shield/Initialize() +/obj/item/clothing/suit/hooded/cultrobes/cult_shield/Initialize(mapload) . = ..() // note that these charges don't regenerate AddComponent(/datum/component/shielded, recharge_start_delay = 0, shield_icon_file = 'icons/effects/cult_effects.dmi', shield_icon = "shield-cult", run_hit_callback = CALLBACK(src, .proc/shield_damaged)) @@ -697,7 +697,7 @@ var/datum/action/innate/cult/halberd/halberd_act var/wielded = FALSE // track wielded status on item -/obj/item/melee/cultblade/halberd/Initialize() +/obj/item/melee/cultblade/halberd/Initialize(mapload) . = ..() RegisterSignal(src, COMSIG_TWOHANDED_WIELD, .proc/on_wield) RegisterSignal(src, COMSIG_TWOHANDED_UNWIELD, .proc/on_unwield) @@ -876,7 +876,7 @@ var/firing = FALSE var/angle -/obj/item/blood_beam/Initialize() +/obj/item/blood_beam/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, CULT_TRAIT) diff --git a/code/modules/antagonists/cult/cult_structures.dm b/code/modules/antagonists/cult/cult_structures.dm index 994aeca9e79..93167d42de3 100644 --- a/code/modules/antagonists/cult/cult_structures.dm +++ b/code/modules/antagonists/cult/cult_structures.dm @@ -184,7 +184,7 @@ var/corrupt_delay = 50 var/last_corrupt = 0 -/obj/structure/destructible/cult/pylon/Initialize() +/obj/structure/destructible/cult/pylon/Initialize(mapload) . = ..() START_PROCESSING(SSfastprocess, src) diff --git a/code/modules/antagonists/cult/ritual.dm b/code/modules/antagonists/cult/ritual.dm index f1fa3553bc6..09c95923819 100644 --- a/code/modules/antagonists/cult/ritual.dm +++ b/code/modules/antagonists/cult/ritual.dm @@ -5,7 +5,7 @@ This file contains the cult dagger and rune list code */ -/obj/item/melee/cultblade/dagger/Initialize() +/obj/item/melee/cultblade/dagger/Initialize(mapload) . = ..() if(!LAZYLEN(GLOB.rune_types)) GLOB.rune_types = list() diff --git a/code/modules/antagonists/cult/runes.dm b/code/modules/antagonists/cult/runes.dm index b1f8d7d6e67..ef312269794 100644 --- a/code/modules/antagonists/cult/runes.dm +++ b/code/modules/antagonists/cult/runes.dm @@ -771,7 +771,7 @@ structure_check() searches for nearby cultist structures required for the invoca var/ghost_limit = 3 var/ghosts = 0 -/obj/effect/rune/manifest/Initialize() +/obj/effect/rune/manifest/Initialize(mapload) . = ..() diff --git a/code/modules/antagonists/eldritch_cult/eldritch_effects.dm b/code/modules/antagonists/eldritch_cult/eldritch_effects.dm index 95136e80a73..230ebf3910f 100644 --- a/code/modules/antagonists/eldritch_cult/eldritch_effects.dm +++ b/code/modules/antagonists/eldritch_cult/eldritch_effects.dm @@ -8,7 +8,7 @@ ///Used mainly for summoning ritual to prevent spamming the rune to create millions of monsters. var/is_in_use = FALSE -/obj/effect/eldritch/Initialize() +/obj/effect/eldritch/Initialize(mapload) . = ..() var/image/I = image(icon = 'icons/effects/eldritch.dmi', icon_state = null, loc = src) I.override = TRUE @@ -198,7 +198,7 @@ resistance_flags = FIRE_PROOF | UNACIDABLE | ACID_PROOF alpha = 0 -/obj/effect/broken_illusion/Initialize() +/obj/effect/broken_illusion/Initialize(mapload) . = ..() addtimer(CALLBACK(src,.proc/show_presence),15 SECONDS) @@ -270,7 +270,7 @@ ///Tracked image var/image/img -/obj/effect/reality_smash/Initialize() +/obj/effect/reality_smash/Initialize(mapload) . = ..() GLOB.reality_smash_track.smashes += src img = image(icon, src, image_state, OBJ_LAYER) diff --git a/code/modules/antagonists/eldritch_cult/eldritch_items.dm b/code/modules/antagonists/eldritch_cult/eldritch_items.dm index 326b3a32d0d..c91c896a969 100644 --- a/code/modules/antagonists/eldritch_cult/eldritch_items.dm +++ b/code/modules/antagonists/eldritch_cult/eldritch_items.dm @@ -296,7 +296,7 @@ . += "This item can carve 'Grasping carving' - when stepped on it causes heavy damage to the legs and stuns for 5 seconds." . += "This item can carve 'Mad carving' - when stepped on it causes dizzyness, jiterryness, temporary blindness, confusion , stuttering and slurring." -/obj/item/melee/rune_carver/Initialize() +/obj/item/melee/rune_carver/Initialize(mapload) . = ..() linked_action = new(src) diff --git a/code/modules/antagonists/eldritch_cult/eldritch_magic.dm b/code/modules/antagonists/eldritch_cult/eldritch_magic.dm index 0b47f9529ad..5c1c858ac7c 100644 --- a/code/modules/antagonists/eldritch_cult/eldritch_magic.dm +++ b/code/modules/antagonists/eldritch_cult/eldritch_magic.dm @@ -634,7 +634,7 @@ duration = 1 MINUTES layer = LOW_SIGIL_LAYER -/obj/effect/temp_visual/glowing_rune/Initialize() +/obj/effect/temp_visual/glowing_rune/Initialize(mapload) . = ..() pixel_y = rand(-6,6) pixel_x = rand(-6,6) diff --git a/code/modules/antagonists/morph/morph.dm b/code/modules/antagonists/morph/morph.dm index 6e609dc60f3..e54756311b1 100644 --- a/code/modules/antagonists/morph/morph.dm +++ b/code/modules/antagonists/morph/morph.dm @@ -42,7 +42,7 @@ /mob/living/simple_animal/hostile/morph, /obj/effect)) -/mob/living/simple_animal/hostile/morph/Initialize() +/mob/living/simple_animal/hostile/morph/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_VENTCRAWLER_ALWAYS, INNATE_TRAIT) diff --git a/code/modules/antagonists/nightmare/nightmare_equipment.dm b/code/modules/antagonists/nightmare/nightmare_equipment.dm index f22e0d9fecd..56b74537809 100644 --- a/code/modules/antagonists/nightmare/nightmare_equipment.dm +++ b/code/modules/antagonists/nightmare/nightmare_equipment.dm @@ -18,7 +18,7 @@ wound_bonus = -30 bare_wound_bonus = 20 -/obj/item/light_eater/Initialize() +/obj/item/light_eater/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, HAND_REPLACEMENT_TRAIT) AddComponent(/datum/component/butchering, 80, 70) diff --git a/code/modules/antagonists/nukeop/equipment/borgchameleon.dm b/code/modules/antagonists/nukeop/equipment/borgchameleon.dm index 2017a7a95aa..360d664f6bd 100644 --- a/code/modules/antagonists/nukeop/equipment/borgchameleon.dm +++ b/code/modules/antagonists/nukeop/equipment/borgchameleon.dm @@ -27,7 +27,7 @@ var/mob/living/silicon/robot/user // needed for process() var/animation_playing = FALSE -/obj/item/borg_chameleon/Initialize() +/obj/item/borg_chameleon/Initialize(mapload) . = ..() friendlyName = pick(GLOB.ai_names) diff --git a/code/modules/antagonists/nukeop/equipment/nuclearbomb.dm b/code/modules/antagonists/nukeop/equipment/nuclearbomb.dm index 1c0fc7ef0f5..1270755a256 100644 --- a/code/modules/antagonists/nukeop/equipment/nuclearbomb.dm +++ b/code/modules/antagonists/nukeop/equipment/nuclearbomb.dm @@ -34,7 +34,7 @@ GLOBAL_VAR(station_nuke_source) var/proper_bomb = TRUE //Please var/obj/effect/countdown/nuclearbomb/countdown -/obj/machinery/nuclearbomb/Initialize() +/obj/machinery/nuclearbomb/Initialize(mapload) . = ..() countdown = new(src) GLOB.nuke_list += src @@ -516,7 +516,7 @@ GLOBAL_VAR(station_nuke_source) proper_bomb = FALSE var/obj/structure/reagent_dispensers/beerkeg/keg -/obj/machinery/nuclearbomb/beer/Initialize() +/obj/machinery/nuclearbomb/beer/Initialize(mapload) . = ..() keg = new(src) QDEL_NULL(core) @@ -641,7 +641,7 @@ This is here to make the tiles around the station mininuke change when it's arme var/turf/lastlocation var/last_disk_move -/obj/item/disk/nuclear/Initialize() +/obj/item/disk/nuclear/Initialize(mapload) . = ..() AddElement(/datum/element/bed_tuckable, 6, -6, 0) diff --git a/code/modules/antagonists/nukeop/equipment/pinpointer.dm b/code/modules/antagonists/nukeop/equipment/pinpointer.dm index 1f74382225f..2f6fb80c8e5 100644 --- a/code/modules/antagonists/nukeop/equipment/pinpointer.dm +++ b/code/modules/antagonists/nukeop/equipment/pinpointer.dm @@ -72,7 +72,7 @@ flags_1 = NONE resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF -/obj/item/pinpointer/syndicate_cyborg/Initialize() +/obj/item/pinpointer/syndicate_cyborg/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, CYBORG_ITEM_TRAIT) diff --git a/code/modules/antagonists/revenant/revenant.dm b/code/modules/antagonists/revenant/revenant.dm index 1ecbe879df2..12f886bfd2f 100644 --- a/code/modules/antagonists/revenant/revenant.dm +++ b/code/modules/antagonists/revenant/revenant.dm @@ -399,7 +399,7 @@ var/old_key //key of the previous revenant, will have first pick on reform. var/mob/living/simple_animal/revenant/revenant -/obj/item/ectoplasm/revenant/Initialize() +/obj/item/ectoplasm/revenant/Initialize(mapload) . = ..() addtimer(CALLBACK(src, .proc/try_reform), 600) diff --git a/code/modules/antagonists/revenant/revenant_abilities.dm b/code/modules/antagonists/revenant/revenant_abilities.dm index 0925ff8b6c8..5f95fd94487 100644 --- a/code/modules/antagonists/revenant/revenant_abilities.dm +++ b/code/modules/antagonists/revenant/revenant_abilities.dm @@ -143,7 +143,7 @@ var/unlock_amount = 100 //How much essence it costs to unlock var/cast_amount = 50 //How much essence it costs to use -/obj/effect/proc_holder/spell/aoe_turf/revenant/Initialize() +/obj/effect/proc_holder/spell/aoe_turf/revenant/Initialize(mapload) . = ..() if(locked) name = "[initial(name)] ([unlock_amount]SE)" diff --git a/code/modules/antagonists/slaughter/slaughter.dm b/code/modules/antagonists/slaughter/slaughter.dm index 7ccf38e0e1e..1c9e73527ac 100644 --- a/code/modules/antagonists/slaughter/slaughter.dm +++ b/code/modules/antagonists/slaughter/slaughter.dm @@ -206,7 +206,7 @@ // Keep the people we hug! var/list/consumed_mobs = list() -/mob/living/simple_animal/hostile/imp/slaughter/laughter/Initialize() +/mob/living/simple_animal/hostile/imp/slaughter/laughter/Initialize(mapload) . = ..() if(SSevents.holidays && SSevents.holidays[APRIL_FOOLS]) icon_state = "honkmon" diff --git a/code/modules/antagonists/traitor/equipment/Malf_Modules.dm b/code/modules/antagonists/traitor/equipment/Malf_Modules.dm index 54b687bafbd..1f7e35b4061 100644 --- a/code/modules/antagonists/traitor/equipment/Malf_Modules.dm +++ b/code/modules/antagonists/traitor/equipment/Malf_Modules.dm @@ -303,7 +303,7 @@ GLOBAL_LIST_INIT(malf_modules, subtypesof(/datum/ai_module)) var/next_announce var/mob/living/silicon/ai/owner -/obj/machinery/doomsday_device/Initialize() +/obj/machinery/doomsday_device/Initialize(mapload) . = ..() if(!isAI(loc)) stack_trace("Doomsday created outside an AI somehow, shit's fucking broke. Anyway, we're just gonna qdel now. Go make a github issue report.") diff --git a/code/modules/antagonists/wizard/equipment/artefact.dm b/code/modules/antagonists/wizard/equipment/artefact.dm index a9bde16e738..b62eff36af1 100644 --- a/code/modules/antagonists/wizard/equipment/artefact.dm +++ b/code/modules/antagonists/wizard/equipment/artefact.dm @@ -365,6 +365,6 @@ duration = 40 pixel_x = 500 -/obj/effect/temp_visual/tornado/Initialize() +/obj/effect/temp_visual/tornado/Initialize(mapload) . = ..() animate(src, pixel_x = -500, time = 40) diff --git a/code/modules/antagonists/wizard/equipment/soulstone.dm b/code/modules/antagonists/wizard/equipment/soulstone.dm index 52e4872c39e..172ffa542b9 100644 --- a/code/modules/antagonists/wizard/equipment/soulstone.dm +++ b/code/modules/antagonists/wizard/equipment/soulstone.dm @@ -17,7 +17,7 @@ /// Role check, if any needed var/required_role = /datum/antagonist/cult -/obj/item/soulstone/Initialize() +/obj/item/soulstone/Initialize(mapload) . = ..() if(theme != THEME_HOLY) RegisterSignal(src, COMSIG_BIBLE_SMACKED, .proc/on_bible_smacked) diff --git a/code/modules/antagonists/wizard/equipment/spellbook.dm b/code/modules/antagonists/wizard/equipment/spellbook.dm index 0169cfa4dfb..41f73beb68c 100644 --- a/code/modules/antagonists/wizard/equipment/spellbook.dm +++ b/code/modules/antagonists/wizard/equipment/spellbook.dm @@ -682,7 +682,7 @@ else . += "It appears to have no author." -/obj/item/spellbook/Initialize() +/obj/item/spellbook/Initialize(mapload) . = ..() prepare_spells() diff --git a/code/modules/aquarium/aquarium.dm b/code/modules/aquarium/aquarium.dm index 14813512ac5..46170dad502 100644 --- a/code/modules/aquarium/aquarium.dm +++ b/code/modules/aquarium/aquarium.dm @@ -40,7 +40,7 @@ var/alive_fish = 0 var/dead_fish = 0 -/obj/structure/aquarium/Initialize() +/obj/structure/aquarium/Initialize(mapload) . = ..() update_appearance() RegisterSignal(src,COMSIG_PARENT_ATTACKBY, .proc/feed_feedback) diff --git a/code/modules/aquarium/aquarium_kit.dm b/code/modules/aquarium/aquarium_kit.dm index f9fbf40a4ff..1ef3ad5d17d 100644 --- a/code/modules/aquarium/aquarium_kit.dm +++ b/code/modules/aquarium/aquarium_kit.dm @@ -7,7 +7,7 @@ icon_state = "fish_feed" w_class = WEIGHT_CLASS_TINY -/obj/item/fish_feed/Initialize() +/obj/item/fish_feed/Initialize(mapload) . = ..() create_reagents(5, OPENCONTAINER) reagents.add_reagent(/datum/reagent/consumable/nutriment, 1) //Default fish diet @@ -24,7 +24,7 @@ component_type = /datum/component/storage/concrete/fish_case -/obj/item/storage/fish_case/Initialize() +/obj/item/storage/fish_case/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_FISH_SAFE_STORAGE, TRAIT_GENERIC) diff --git a/code/modules/art/paintings.dm b/code/modules/art/paintings.dm index 23b2ca86a59..bab8cf8df41 100644 --- a/code/modules/art/paintings.dm +++ b/code/modules/art/paintings.dm @@ -62,7 +62,7 @@ pixel_x = 10 pixel_y = 9 -/obj/item/canvas/Initialize() +/obj/item/canvas/Initialize(mapload) . = ..() reset_grid() diff --git a/code/modules/art/statues.dm b/code/modules/art/statues.dm index 604fad82f58..7ef1b8e3879 100644 --- a/code/modules/art/statues.dm +++ b/code/modules/art/statues.dm @@ -17,7 +17,7 @@ /// Abstract root type var/abstract_type = /obj/structure/statue -/obj/structure/statue/Initialize() +/obj/structure/statue/Initialize(mapload) . = ..() AddElement(art_type, impressiveness) AddElement(/datum/element/beauty, impressiveness * 75) @@ -327,7 +327,7 @@ /// Currently sculpting var/sculpting = FALSE -/obj/item/chisel/Initialize() +/obj/item/chisel/Initialize(mapload) . = ..() AddElement(/datum/element/eyestab) AddElement(/datum/element/wall_engraver) diff --git a/code/modules/assembly/doorcontrol.dm b/code/modules/assembly/doorcontrol.dm index 52f501cb8b9..4cb1b0d8a69 100644 --- a/code/modules/assembly/doorcontrol.dm +++ b/code/modules/assembly/doorcontrol.dm @@ -223,7 +223,7 @@ ///this is our destination's landmark, so we only have to find it the first time. var/datum/weakref/to_where -/obj/item/assembly/control/tram/Initialize() +/obj/item/assembly/control/tram/Initialize(mapload) . = ..() return INITIALIZE_HINT_LATELOAD diff --git a/code/modules/assembly/igniter.dm b/code/modules/assembly/igniter.dm index 0a8a6c56f76..6dedc60cd9b 100644 --- a/code/modules/assembly/igniter.dm +++ b/code/modules/assembly/igniter.dm @@ -18,7 +18,7 @@ user.IgniteMob() return FIRELOSS -/obj/item/assembly/igniter/Initialize() +/obj/item/assembly/igniter/Initialize(mapload) . = ..() sparks = new sparks.set_up(2, 0, src) diff --git a/code/modules/assembly/infrared.dm b/code/modules/assembly/infrared.dm index 45dcd269315..96a2fb8182e 100644 --- a/code/modules/assembly/infrared.dm +++ b/code/modules/assembly/infrared.dm @@ -14,7 +14,7 @@ var/turf/listeningTo var/hearing_range = 3 -/obj/item/assembly/infra/Initialize() +/obj/item/assembly/infra/Initialize(mapload) . = ..() beams = list() START_PROCESSING(SSobj, src) diff --git a/code/modules/assembly/mousetrap.dm b/code/modules/assembly/mousetrap.dm index 19c48ed32a5..8789a3b60ee 100644 --- a/code/modules/assembly/mousetrap.dm +++ b/code/modules/assembly/mousetrap.dm @@ -14,7 +14,7 @@ COMSIG_ATOM_ENTERED = .proc/on_entered, ) -/obj/item/assembly/mousetrap/Initialize() +/obj/item/assembly/mousetrap/Initialize(mapload) . = ..() var/static/list/loc_connections = list( COMSIG_ATOM_ENTERED = .proc/on_entered, diff --git a/code/modules/assembly/proximity.dm b/code/modules/assembly/proximity.dm index 7491097ed26..2a4f649b7fa 100644 --- a/code/modules/assembly/proximity.dm +++ b/code/modules/assembly/proximity.dm @@ -12,7 +12,7 @@ var/sensitivity = 1 var/hearing_range = 3 -/obj/item/assembly/prox_sensor/Initialize() +/obj/item/assembly/prox_sensor/Initialize(mapload) . = ..() proximity_monitor = new(src, 0) START_PROCESSING(SSobj, src) diff --git a/code/modules/assembly/shock_kit.dm b/code/modules/assembly/shock_kit.dm index 7f6e0ac6a3c..4bc45bd5673 100644 --- a/code/modules/assembly/shock_kit.dm +++ b/code/modules/assembly/shock_kit.dm @@ -13,7 +13,7 @@ QDEL_NULL(electropack_part) return ..() -/obj/item/assembly/shock_kit/Initialize() +/obj/item/assembly/shock_kit/Initialize(mapload) . = ..() if(!helmet_part) helmet_part = new(src) diff --git a/code/modules/assembly/signaler.dm b/code/modules/assembly/signaler.dm index 851b79de446..f4f2ce95be1 100644 --- a/code/modules/assembly/signaler.dm +++ b/code/modules/assembly/signaler.dm @@ -46,7 +46,7 @@ playsound(user, 'sound/machines/triple_beep.ogg', ASSEMBLY_BEEP_VOLUME, TRUE) qdel(src) -/obj/item/assembly/signaler/Initialize() +/obj/item/assembly/signaler/Initialize(mapload) . = ..() set_frequency(frequency) diff --git a/code/modules/assembly/timer.dm b/code/modules/assembly/timer.dm index 5887307104f..10f47a130b6 100644 --- a/code/modules/assembly/timer.dm +++ b/code/modules/assembly/timer.dm @@ -24,7 +24,7 @@ user.adjustOxyLoss(200) user.death(0) -/obj/item/assembly/timer/Initialize() +/obj/item/assembly/timer/Initialize(mapload) . = ..() START_PROCESSING(SSobj, src) diff --git a/code/modules/assembly/voice.dm b/code/modules/assembly/voice.dm index 51f7957cd44..6fe95774b0a 100644 --- a/code/modules/assembly/voice.dm +++ b/code/modules/assembly/voice.dm @@ -24,7 +24,7 @@ drop_sound = 'sound/items/handling/component_drop.ogg' pickup_sound = 'sound/items/handling/component_pickup.ogg' -/obj/item/assembly/voice/Initialize() +/obj/item/assembly/voice/Initialize(mapload) . = ..() become_hearing_sensitive(ROUNDSTART_TRAIT) diff --git a/code/modules/atmospherics/environmental/LINDA_turf_tile.dm b/code/modules/atmospherics/environmental/LINDA_turf_tile.dm index bb7d3d2b29d..69d75d67671 100644 --- a/code/modules/atmospherics/environmental/LINDA_turf_tile.dm +++ b/code/modules/atmospherics/environmental/LINDA_turf_tile.dm @@ -37,7 +37,7 @@ var/max_share = 0 #endif -/turf/open/Initialize() +/turf/open/Initialize(mapload) if(!blocks_air) air = new air.copy_from_turf(src) diff --git a/code/modules/atmospherics/machinery/bluespace_vendor.dm b/code/modules/atmospherics/machinery/bluespace_vendor.dm index 2183d8808c0..01f429aae95 100644 --- a/code/modules/atmospherics/machinery/bluespace_vendor.dm +++ b/code/modules/atmospherics/machinery/bluespace_vendor.dm @@ -79,7 +79,7 @@ update_appearance() -/obj/machinery/bluespace_vendor/Initialize() +/obj/machinery/bluespace_vendor/Initialize(mapload) . = ..() AddComponent(/datum/component/payment, tank_cost, SSeconomy.get_dep_account(ACCOUNT_ENG), PAYMENT_ANGRY) diff --git a/code/modules/atmospherics/machinery/components/binary_devices/thermomachine.dm b/code/modules/atmospherics/machinery/components/binary_devices/thermomachine.dm index 470f3acc08e..a4e6aa9ac88 100644 --- a/code/modules/atmospherics/machinery/components/binary_devices/thermomachine.dm +++ b/code/modules/atmospherics/machinery/components/binary_devices/thermomachine.dm @@ -44,7 +44,7 @@ ///Efficiency minimum amount, min 0.25, max 1 (works best on higher laser tiers) var/parts_efficiency = 1 -/obj/machinery/atmospherics/components/binary/thermomachine/Initialize() +/obj/machinery/atmospherics/components/binary/thermomachine/Initialize(mapload) . = ..() RefreshParts() update_appearance() @@ -489,7 +489,7 @@ on = TRUE icon_state = "thermo_base_1" -/obj/machinery/atmospherics/components/binary/thermomachine/freezer/on/Initialize() +/obj/machinery/atmospherics/components/binary/thermomachine/freezer/on/Initialize(mapload) . = ..() if(target_temperature == initial(target_temperature)) target_temperature = min_temperature @@ -500,7 +500,7 @@ greyscale_colors = COLOR_CYAN cooling = TRUE -/obj/machinery/atmospherics/components/binary/thermomachine/freezer/on/coldroom/Initialize() +/obj/machinery/atmospherics/components/binary/thermomachine/freezer/on/coldroom/Initialize(mapload) . = ..() target_temperature = COLD_ROOM_TEMP diff --git a/code/modules/atmospherics/machinery/components/binary_devices/valve.dm b/code/modules/atmospherics/machinery/components/binary_devices/valve.dm index eee1c49b71f..2cdeba95712 100644 --- a/code/modules/atmospherics/machinery/components/binary_devices/valve.dm +++ b/code/modules/atmospherics/machinery/components/binary_devices/valve.dm @@ -82,7 +82,7 @@ It's like a regular ol' straight pipe, but you can turn it on and off. interaction_flags_machine = INTERACT_MACHINE_ALLOW_SILICON | INTERACT_MACHINE_OFFLINE | INTERACT_MACHINE_OPEN | INTERACT_MACHINE_OPEN_SILICON -/obj/machinery/atmospherics/components/binary/valve/digital/Initialize() +/obj/machinery/atmospherics/components/binary/valve/digital/Initialize(mapload) . = ..() AddComponent(/datum/component/usb_port, list(/obj/item/circuit_component/digital_valve)) diff --git a/code/modules/atmospherics/machinery/components/components_base.dm b/code/modules/atmospherics/machinery/components/components_base.dm index 842f4ef12f1..8fbe234b391 100644 --- a/code/modules/atmospherics/machinery/components/components_base.dm +++ b/code/modules/atmospherics/machinery/components/components_base.dm @@ -31,7 +31,7 @@ A.volume = 200 airs[i] = A -/obj/machinery/atmospherics/components/Initialize() +/obj/machinery/atmospherics/components/Initialize(mapload) . = ..() if(hide) diff --git a/code/modules/atmospherics/machinery/components/fusion/hfr_core.dm b/code/modules/atmospherics/machinery/components/fusion/hfr_core.dm index 3feff929d96..7cb524e3d54 100644 --- a/code/modules/atmospherics/machinery/components/fusion/hfr_core.dm +++ b/code/modules/atmospherics/machinery/components/fusion/hfr_core.dm @@ -151,7 +151,7 @@ ///Var used in the meltdown phase var/final_countdown = FALSE -/obj/machinery/atmospherics/components/unary/hypertorus/core/Initialize() +/obj/machinery/atmospherics/components/unary/hypertorus/core/Initialize(mapload) . = ..() internal_fusion = new internal_fusion.volume = 5000 diff --git a/code/modules/atmospherics/machinery/components/fusion/hfr_parts.dm b/code/modules/atmospherics/machinery/components/fusion/hfr_parts.dm index fa48f1f36cb..5075c7f2ce2 100644 --- a/code/modules/atmospherics/machinery/components/fusion/hfr_parts.dm +++ b/code/modules/atmospherics/machinery/components/fusion/hfr_parts.dm @@ -25,7 +25,7 @@ ///Check if the machine is cracked open var/cracked = FALSE -/obj/machinery/atmospherics/components/unary/hypertorus/Initialize() +/obj/machinery/atmospherics/components/unary/hypertorus/Initialize(mapload) . = ..() initialize_directions = dir diff --git a/code/modules/atmospherics/machinery/components/gas_recipe_machines/crystallizer.dm b/code/modules/atmospherics/machinery/components/gas_recipe_machines/crystallizer.dm index 03e9c0dbc6c..65b5a6ad00c 100644 --- a/code/modules/atmospherics/machinery/components/gas_recipe_machines/crystallizer.dm +++ b/code/modules/atmospherics/machinery/components/gas_recipe_machines/crystallizer.dm @@ -31,7 +31,7 @@ ///Stores the total amount of moles needed for the current recipe var/total_recipe_moles = 0 -/obj/machinery/atmospherics/components/binary/crystallizer/Initialize() +/obj/machinery/atmospherics/components/binary/crystallizer/Initialize(mapload) . = ..() internal = new diff --git a/code/modules/atmospherics/machinery/components/tank.dm b/code/modules/atmospherics/machinery/components/tank.dm index 2a7737b0995..17b4fa67c40 100644 --- a/code/modules/atmospherics/machinery/components/tank.dm +++ b/code/modules/atmospherics/machinery/components/tank.dm @@ -57,7 +57,7 @@ /// The typecache of types which are allowed to merge internal storage var/static/list/merger_typecache -/obj/machinery/atmospherics/components/tank/Initialize() +/obj/machinery/atmospherics/components/tank/Initialize(mapload) . = ..() if(!knob_overlays) @@ -341,7 +341,7 @@ /obj/machinery/atmospherics/components/tank/air name = "pressure tank (Air)" -/obj/machinery/atmospherics/components/tank/air/Initialize() +/obj/machinery/atmospherics/components/tank/air/Initialize(mapload) . = ..() FillToPressure(/datum/gas/oxygen, safety_margin=(O2STANDARD * 0.5)) FillToPressure(/datum/gas/nitrogen, safety_margin=(N2STANDARD * 0.5)) diff --git a/code/modules/atmospherics/machinery/components/unary_devices/bluespace_sender.dm b/code/modules/atmospherics/machinery/components/unary_devices/bluespace_sender.dm index 6ce4a184bea..7971661f121 100644 --- a/code/modules/atmospherics/machinery/components/unary_devices/bluespace_sender.dm +++ b/code/modules/atmospherics/machinery/components/unary_devices/bluespace_sender.dm @@ -24,7 +24,7 @@ ///Amount of credits gained from each vendor var/credits_gained = 0 -/obj/machinery/atmospherics/components/unary/bluespace_sender/Initialize() +/obj/machinery/atmospherics/components/unary/bluespace_sender/Initialize(mapload) . = ..() initialize_directions = dir bluespace_network = new diff --git a/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm b/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm index 7738ba4a36d..915b3f14de4 100644 --- a/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm +++ b/code/modules/atmospherics/machinery/components/unary_devices/cryo.dm @@ -106,7 +106,7 @@ payment_department = ACCOUNT_MED -/obj/machinery/atmospherics/components/unary/cryo_cell/Initialize() +/obj/machinery/atmospherics/components/unary/cryo_cell/Initialize(mapload) . = ..() initialize_directions = dir if(is_operational) diff --git a/code/modules/atmospherics/machinery/other/miner.dm b/code/modules/atmospherics/machinery/other/miner.dm index a9668d97c73..74c72c16c17 100644 --- a/code/modules/atmospherics/machinery/other/miner.dm +++ b/code/modules/atmospherics/machinery/other/miner.dm @@ -29,7 +29,7 @@ idle_power_usage = 150 active_power_usage = 2000 -/obj/machinery/atmospherics/miner/Initialize() +/obj/machinery/atmospherics/miner/Initialize(mapload) . = ..() set_active(active) //Force overlay update. diff --git a/code/modules/atmospherics/machinery/pipes/color_adapter.dm b/code/modules/atmospherics/machinery/pipes/color_adapter.dm index b742018a1e6..41a5f57344a 100644 --- a/code/modules/atmospherics/machinery/pipes/color_adapter.dm +++ b/code/modules/atmospherics/machinery/pipes/color_adapter.dm @@ -18,7 +18,7 @@ var/static/list/mutable_appearance/center_cache = list() -/obj/machinery/atmospherics/pipe/color_adapter/Initialize() +/obj/machinery/atmospherics/pipe/color_adapter/Initialize(mapload) icon_state = "" . = ..() diff --git a/code/modules/atmospherics/machinery/pipes/heat_exchange/he_pipes.dm b/code/modules/atmospherics/machinery/pipes/heat_exchange/he_pipes.dm index 89d9ff3d6e9..e90b102e12a 100644 --- a/code/modules/atmospherics/machinery/pipes/heat_exchange/he_pipes.dm +++ b/code/modules/atmospherics/machinery/pipes/heat_exchange/he_pipes.dm @@ -8,7 +8,7 @@ hide = FALSE -/obj/machinery/atmospherics/pipe/heat_exchanging/Initialize() +/obj/machinery/atmospherics/pipe/heat_exchanging/Initialize(mapload) . = ..() add_atom_colour("#404040", FIXED_COLOUR_PRIORITY) diff --git a/code/modules/atmospherics/machinery/pipes/layermanifold.dm b/code/modules/atmospherics/machinery/pipes/layermanifold.dm index 674407a31a7..d084bd87839 100644 --- a/code/modules/atmospherics/machinery/pipes/layermanifold.dm +++ b/code/modules/atmospherics/machinery/pipes/layermanifold.dm @@ -16,7 +16,7 @@ var/list/front_nodes var/list/back_nodes -/obj/machinery/atmospherics/pipe/layer_manifold/Initialize() +/obj/machinery/atmospherics/pipe/layer_manifold/Initialize(mapload) front_nodes = list() back_nodes = list() icon_state = "manifoldlayer_center" diff --git a/code/modules/atmospherics/machinery/portable/portable_atmospherics.dm b/code/modules/atmospherics/machinery/portable/portable_atmospherics.dm index abd1f2005a1..b1a583eaed9 100644 --- a/code/modules/atmospherics/machinery/portable/portable_atmospherics.dm +++ b/code/modules/atmospherics/machinery/portable/portable_atmospherics.dm @@ -17,7 +17,7 @@ ///Used to track if anything of note has happen while running process_atmos() var/excited = TRUE -/obj/machinery/portable_atmospherics/Initialize() +/obj/machinery/portable_atmospherics/Initialize(mapload) . = ..() air_contents = new air_contents.volume = volume diff --git a/code/modules/awaymissions/away_props.dm b/code/modules/awaymissions/away_props.dm index d622ff95abf..7de06542f35 100644 --- a/code/modules/awaymissions/away_props.dm +++ b/code/modules/awaymissions/away_props.dm @@ -19,7 +19,7 @@ invisibility = INVISIBILITY_MAXIMUM var/strength = 30 -/obj/effect/wind/Initialize() +/obj/effect/wind/Initialize(mapload) . = ..() START_PROCESSING(SSobj,src) @@ -38,7 +38,7 @@ var/list/blocked_types = list() var/reverse = FALSE //Block if path not present -/obj/effect/path_blocker/Initialize() +/obj/effect/path_blocker/Initialize(mapload) . = ..() if(blocked_types.len) blocked_types = typecacheof(blocked_types) @@ -63,7 +63,7 @@ var/open = FALSE var/hidden = FALSE -/obj/structure/pitgrate/Initialize() +/obj/structure/pitgrate/Initialize(mapload) . = ..() RegisterSignal(SSdcs,COMSIG_GLOB_BUTTON_PRESSED, .proc/OnButtonPressed) if(hidden) diff --git a/code/modules/awaymissions/corpse.dm b/code/modules/awaymissions/corpse.dm index c76a9413345..c654d97dbf3 100644 --- a/code/modules/awaymissions/corpse.dm +++ b/code/modules/awaymissions/corpse.dm @@ -186,7 +186,7 @@ var/facial_haircolor var/skin_tone -/obj/effect/mob_spawn/human/Initialize() +/obj/effect/mob_spawn/human/Initialize(mapload) if(ispath(outfit)) outfit = new outfit() if(!outfit) diff --git a/code/modules/awaymissions/gateway.dm b/code/modules/awaymissions/gateway.dm index 8f27765fad7..d5b8c5fc5a6 100644 --- a/code/modules/awaymissions/gateway.dm +++ b/code/modules/awaymissions/gateway.dm @@ -174,7 +174,7 @@ GLOBAL_LIST_EMPTY(gateway_destinations) /// Visual object for handling the viscontents var/obj/effect/gateway_portal_effect/portal_visuals -/obj/machinery/gateway/Initialize() +/obj/machinery/gateway/Initialize(mapload) generate_destination() update_appearance() portal_visuals = new @@ -236,7 +236,7 @@ GLOBAL_LIST_EMPTY(gateway_destinations) destination_type = /datum/gateway_destination/gateway/home destination_name = "Home Gateway" -/obj/machinery/gateway/centerstation/Initialize() +/obj/machinery/gateway/centerstation/Initialize(mapload) . = ..() if(!GLOB.the_gateway) GLOB.the_gateway = src diff --git a/code/modules/awaymissions/mission_code/Academy.dm b/code/modules/awaymissions/mission_code/Academy.dm index 4414fbd9359..6fa23628684 100644 --- a/code/modules/awaymissions/mission_code/Academy.dm +++ b/code/modules/awaymissions/mission_code/Academy.dm @@ -64,7 +64,7 @@ /obj/singularity/academy move_self = FALSE -/obj/singularity/academy/Initialize() +/obj/singularity/academy/Initialize(mapload) . = ..() var/datum/component/singularity/singularity = singularity_component.resolve() diff --git a/code/modules/awaymissions/mission_code/Cabin.dm b/code/modules/awaymissions/mission_code/Cabin.dm index c9a173466f5..994a7fed94d 100644 --- a/code/modules/awaymissions/mission_code/Cabin.dm +++ b/code/modules/awaymissions/mission_code/Cabin.dm @@ -43,7 +43,7 @@ density = FALSE var/active = TRUE -/obj/structure/firepit/Initialize() +/obj/structure/firepit/Initialize(mapload) . = ..() toggleFirepit() diff --git a/code/modules/awaymissions/mission_code/murderdome.dm b/code/modules/awaymissions/mission_code/murderdome.dm index 01eb33179e1..1b1ad132bb6 100644 --- a/code/modules/awaymissions/mission_code/murderdome.dm +++ b/code/modules/awaymissions/mission_code/murderdome.dm @@ -27,7 +27,7 @@ icon_state = "barrier0" alpha = 100 -/obj/effect/murderdome/dead_barricade/Initialize() +/obj/effect/murderdome/dead_barricade/Initialize(mapload) . = ..() addtimer(CALLBACK(src, .proc/respawn), 3 MINUTES) diff --git a/code/modules/awaymissions/mission_code/stationCollision.dm b/code/modules/awaymissions/mission_code/stationCollision.dm index ae0437532a6..64475f45b78 100644 --- a/code/modules/awaymissions/mission_code/stationCollision.dm +++ b/code/modules/awaymissions/mission_code/stationCollision.dm @@ -22,7 +22,7 @@ /obj/effect/landmark/sc_bible_spawner name = "Safecode hint spawner" -/obj/effect/landmark/sc_bible_spawner/Initialize() +/obj/effect/landmark/sc_bible_spawner/Initialize(mapload) ..() var/obj/item/storage/book/bible/B = new /obj/item/storage/book/bible/booze(loc) B.name = "The Holy book of the Geometer" @@ -48,7 +48,7 @@ //Syndicate sub-machine guns. /obj/item/gun/ballistic/automatic/c20r/sc_c20r -/obj/item/gun/ballistic/automatic/c20r/sc_c20r/Initialize() +/obj/item/gun/ballistic/automatic/c20r/sc_c20r/Initialize(mapload) . = ..() for(var/ammo in magazine.stored_ammo) if(prob(95)) //95% chance @@ -57,7 +57,7 @@ //Barman's shotgun /obj/item/gun/ballistic/shotgun/sc_pump -/obj/item/gun/ballistic/shotgun/sc_pump/Initialize() +/obj/item/gun/ballistic/shotgun/sc_pump/Initialize(mapload) . = ..() for(var/ammo in magazine.stored_ammo) if(prob(95)) //95% chance @@ -84,13 +84,13 @@ GLOBAL_VAR_INIT(sc_safecode5, "[rand(0,9)]") /obj/item/paper/fluff/awaymissions/stationcollision/safehint_paper_prison name = "smudged paper" -/obj/item/paper/fluff/awaymissions/stationcollision/safehint_paper_prison/Initialize() +/obj/item/paper/fluff/awaymissions/stationcollision/safehint_paper_prison/Initialize(mapload) . = ..() info = "The ink is smudged, you can only make out a couple numbers: '[GLOB.sc_safecode1]**[GLOB.sc_safecode4]*'" /obj/item/paper/fluff/awaymissions/stationcollision/safehint_paper_hydro name = "shredded paper" -/obj/item/paper/fluff/awaymissions/stationcollision/safehint_paper_hydro/Initialize() +/obj/item/paper/fluff/awaymissions/stationcollision/safehint_paper_hydro/Initialize(mapload) . = ..() info = "Although the paper is shredded, you can clearly see the number: '[GLOB.sc_safecode2]'" @@ -101,7 +101,7 @@ GLOBAL_VAR_INIT(sc_safecode5, "[rand(0,9)]") /obj/item/paper/fluff/awaymissions/stationcollision/safehint_paper_bible name = "hidden paper" -/obj/item/paper/fluff/awaymissions/stationcollision/safehint_paper_bible/Initialize() +/obj/item/paper/fluff/awaymissions/stationcollision/safehint_paper_bible/Initialize(mapload) . = ..() info = {"It would appear that the pen hidden with the paper had leaked ink over the paper. However you can make out the last three digits:'[GLOB.sc_safecode3][GLOB.sc_safecode4][GLOB.sc_safecode5]' @@ -126,7 +126,7 @@ GLOBAL_VAR_INIT(sc_safecode5, "[rand(0,9)]") /obj/item/storage/secure/safe/sc_ssafe name = "Captain's secure safe" -/obj/item/storage/secure/safe/sc_ssafe/Initialize() +/obj/item/storage/secure/safe/sc_ssafe/Initialize(mapload) . = ..() l_code = "[GLOB.sc_safecode1][GLOB.sc_safecode2][GLOB.sc_safecode3][GLOB.sc_safecode4][GLOB.sc_safecode5]" l_set = 1 diff --git a/code/modules/awaymissions/signpost.dm b/code/modules/awaymissions/signpost.dm index 7e69b749cb7..ea0d22ac39f 100644 --- a/code/modules/awaymissions/signpost.dm +++ b/code/modules/awaymissions/signpost.dm @@ -7,7 +7,7 @@ var/question = "Travel back?" var/list/zlevels -/obj/structure/signpost/Initialize() +/obj/structure/signpost/Initialize(mapload) . = ..() set_light(2) zlevels = SSmapping.levels_by_trait(ZTRAIT_STATION) @@ -63,7 +63,7 @@ exit the area." question = "Leave? You might never come back." -/obj/structure/signpost/exit/Initialize() +/obj/structure/signpost/exit/Initialize(mapload) . = ..() zlevels = list() for(var/i in 1 to world.maxz) diff --git a/code/modules/awaymissions/super_secret_room.dm b/code/modules/awaymissions/super_secret_room.dm index 84b75e4d817..eddd5e0ab0a 100644 --- a/code/modules/awaymissions/super_secret_room.dm +++ b/code/modules/awaymissions/super_secret_room.dm @@ -10,7 +10,7 @@ var/times_spoken_to = 0 var/list/shenanigans = list() -/obj/structure/speaking_tile/Initialize() +/obj/structure/speaking_tile/Initialize(mapload) . = ..() var/json_file = file("data/npc_saves/Poly.json") if(!fexists(json_file)) @@ -124,7 +124,7 @@ w_class = WEIGHT_CLASS_SMALL custom_materials = list(/datum/material/glass = 500) -/obj/item/rupee/Initialize() +/obj/item/rupee/Initialize(mapload) . = ..() var/newcolor = color2hex(pick(10;"green", 5;"blue", 3;"red", 1;"purple")) add_atom_colour(newcolor, FIXED_COLOUR_PRIORITY) diff --git a/code/modules/awaymissions/zlevel.dm b/code/modules/awaymissions/zlevel.dm index c1a15e6903c..90d98649b79 100644 --- a/code/modules/awaymissions/zlevel.dm +++ b/code/modules/awaymissions/zlevel.dm @@ -14,7 +14,7 @@ GLOBAL_LIST_INIT(potentialRandomZlevels, generateMapList(filename = "[global.con var/id var/delay = TRUE // If the generated destination should be delayed by configured gateway delay -/obj/effect/landmark/awaystart/Initialize() +/obj/effect/landmark/awaystart/Initialize(mapload) . = ..() var/datum/gateway_destination/point/current for(var/datum/gateway_destination/point/D in GLOB.gateway_destinations) diff --git a/code/modules/capture_the_flag/ctf_equipment.dm b/code/modules/capture_the_flag/ctf_equipment.dm index 2a5d8d817dd..d438e033f75 100644 --- a/code/modules/capture_the_flag/ctf_equipment.dm +++ b/code/modules/capture_the_flag/ctf_equipment.dm @@ -22,7 +22,7 @@ /obj/item/ammo_box/magazine/recharge/ctf ammo_type = /obj/item/ammo_casing/caseless/laser/ctf -/obj/item/ammo_box/magazine/recharge/ctf/Initialize() +/obj/item/ammo_box/magazine/recharge/ctf/Initialize(mapload) . = ..() AddElement(/datum/element/delete_on_drop) @@ -30,7 +30,7 @@ /obj/item/ammo_casing/caseless/laser/ctf projectile_type = /obj/projectile/beam/ctf/ -/obj/item/ammo_casing/caseless/laser/ctf/Initialize() +/obj/item/ammo_casing/caseless/laser/ctf/Initialize(mapload) . = ..() AddElement(/datum/element/delete_on_drop) @@ -43,7 +43,7 @@ weapon_weight = WEAPON_HEAVY slot_flags = null -/obj/item/gun/ballistic/automatic/laser/ctf/Initialize() +/obj/item/gun/ballistic/automatic/laser/ctf/Initialize(mapload) . = ..() AddElement(/datum/element/delete_on_drop) @@ -77,7 +77,7 @@ internal_magazine = FALSE tac_reloads = TRUE -/obj/item/gun/ballistic/shotgun/ctf/Initialize() +/obj/item/gun/ballistic/shotgun/ctf/Initialize(mapload) . = ..() AddElement(/datum/element/delete_on_drop) @@ -127,7 +127,7 @@ force = 75 mag_type = /obj/item/ammo_box/magazine/recharge/ctf/deagle -/obj/item/gun/ballistic/automatic/pistol/deagle/ctf/Initialize() +/obj/item/gun/ballistic/automatic/pistol/deagle/ctf/Initialize(mapload) . = ..() AddElement(/datum/element/delete_on_drop) @@ -165,7 +165,7 @@ /obj/item/gun/energy/laser/instakill/emp_act() //implying you could stop the instagib return -/obj/item/gun/energy/laser/instakill/ctf/Initialize() +/obj/item/gun/energy/laser/instakill/ctf/Initialize(mapload) . = ..() AddElement(/datum/element/delete_on_drop) diff --git a/code/modules/capture_the_flag/ctf_game.dm b/code/modules/capture_the_flag/ctf_game.dm index 626bf4ce7f3..fe8fac882e4 100644 --- a/code/modules/capture_the_flag/ctf_game.dm +++ b/code/modules/capture_the_flag/ctf_game.dm @@ -36,7 +36,7 @@ QDEL_NULL(reset) return ..() -/obj/item/ctf/Initialize() +/obj/item/ctf/Initialize(mapload) . = ..() if(!reset) reset = new reset_path(get_turf(src)) @@ -234,7 +234,7 @@ /// This variable is needed because of ctf shitcode + we need to make sure we're deleting the current ctf landmark that spawned us in and not a new one. var/obj/effect/landmark/ctf/ctf_landmark -/obj/machinery/capture_the_flag/Initialize() +/obj/machinery/capture_the_flag/Initialize(mapload) . = ..() SSpoints_of_interest.make_point_of_interest(src) ctf_landmark = GLOB.ctf_spawner diff --git a/code/modules/cargo/blackmarket/blackmarket_telepad.dm b/code/modules/cargo/blackmarket/blackmarket_telepad.dm index 320c0861b0f..ab24ce3bb6a 100644 --- a/code/modules/cargo/blackmarket/blackmarket_telepad.dm +++ b/code/modules/cargo/blackmarket/blackmarket_telepad.dm @@ -35,7 +35,7 @@ /// Queue for purchases that the machine should receive and send. var/list/datum/blackmarket_purchase/queue = list() -/obj/machinery/ltsrbt/Initialize() +/obj/machinery/ltsrbt/Initialize(mapload) . = ..() SSblackmarket.telepads += src diff --git a/code/modules/cargo/blackmarket/blackmarket_uplink.dm b/code/modules/cargo/blackmarket/blackmarket_uplink.dm index 138497d32b5..15a6f741800 100644 --- a/code/modules/cargo/blackmarket/blackmarket_uplink.dm +++ b/code/modules/cargo/blackmarket/blackmarket_uplink.dm @@ -14,7 +14,7 @@ /// List of typepaths for "/datum/blackmarket_market"s that this uplink can access. var/list/accessible_markets = list(/datum/blackmarket_market/blackmarket) -/obj/item/blackmarket_uplink/Initialize() +/obj/item/blackmarket_uplink/Initialize(mapload) . = ..() if(accessible_markets.len) viewing_market = accessible_markets[1] diff --git a/code/modules/cargo/expressconsole.dm b/code/modules/cargo/expressconsole.dm index 55fce78dff1..3af945ed17a 100644 --- a/code/modules/cargo/expressconsole.dm +++ b/code/modules/cargo/expressconsole.dm @@ -27,7 +27,7 @@ var/locked = TRUE //is the console locked? unlock with ID var/usingBeacon = FALSE //is the console in beacon mode? exists to let beacon know when a pod may come in -/obj/machinery/computer/cargo/express/Initialize() +/obj/machinery/computer/cargo/express/Initialize(mapload) . = ..() packin_up() diff --git a/code/modules/cargo/orderconsole.dm b/code/modules/cargo/orderconsole.dm index 87ad7b5eed1..26b4db3d636 100644 --- a/code/modules/cargo/orderconsole.dm +++ b/code/modules/cargo/orderconsole.dm @@ -45,7 +45,7 @@ can_approve_requests = FALSE requestonly = TRUE -/obj/machinery/computer/cargo/Initialize() +/obj/machinery/computer/cargo/Initialize(mapload) . = ..() radio = new /obj/item/radio/headset/headset_cargo(src) diff --git a/code/modules/cargo/supplypod.dm b/code/modules/cargo/supplypod.dm index 0afefcf3a74..d82bdcb2c85 100644 --- a/code/modules/cargo/supplypod.dm +++ b/code/modules/cargo/supplypod.dm @@ -95,7 +95,7 @@ style = customStyle setStyle(style) //Upon initialization, give the supplypod an iconstate, name, and description based on the "style" variable. This system is important for the centcom_podlauncher to function correctly -/obj/structure/closet/supplypod/extractionpod/Initialize() +/obj/structure/closet/supplypod/extractionpod/Initialize(mapload) . = ..() var/turf/picked_turf = pick(GLOB.holdingfacility) reverse_dropoff_coords = list(picked_turf.x, picked_turf.y, picked_turf.z) diff --git a/code/modules/clothing/chameleon.dm b/code/modules/clothing/chameleon.dm index 21030412d17..ec1b9e789e7 100644 --- a/code/modules/clothing/chameleon.dm +++ b/code/modules/clothing/chameleon.dm @@ -385,7 +385,7 @@ var/datum/action/item_action/chameleon/change/chameleon_action -/obj/item/clothing/under/chameleon/Initialize() +/obj/item/clothing/under/chameleon/Initialize(mapload) . = ..() chameleon_action = new(src) chameleon_action.chameleon_type = /obj/item/clothing/under @@ -399,7 +399,7 @@ return chameleon_action.emp_randomise() -/obj/item/clothing/under/chameleon/broken/Initialize() +/obj/item/clothing/under/chameleon/broken/Initialize(mapload) . = ..() chameleon_action.emp_randomise(INFINITY) @@ -414,7 +414,7 @@ var/datum/action/item_action/chameleon/change/chameleon_action -/obj/item/clothing/suit/chameleon/Initialize() +/obj/item/clothing/suit/chameleon/Initialize(mapload) . = ..() chameleon_action = new(src) chameleon_action.chameleon_type = /obj/item/clothing/suit @@ -428,7 +428,7 @@ return chameleon_action.emp_randomise() -/obj/item/clothing/suit/chameleon/broken/Initialize() +/obj/item/clothing/suit/chameleon/broken/Initialize(mapload) . = ..() chameleon_action.emp_randomise(INFINITY) @@ -442,7 +442,7 @@ var/datum/action/item_action/chameleon/change/chameleon_action -/obj/item/clothing/glasses/chameleon/Initialize() +/obj/item/clothing/glasses/chameleon/Initialize(mapload) . = ..() chameleon_action = new(src) chameleon_action.chameleon_type = /obj/item/clothing/glasses @@ -456,7 +456,7 @@ return chameleon_action.emp_randomise() -/obj/item/clothing/glasses/chameleon/broken/Initialize() +/obj/item/clothing/glasses/chameleon/broken/Initialize(mapload) . = ..() chameleon_action.emp_randomise(INFINITY) @@ -471,7 +471,7 @@ var/datum/action/item_action/chameleon/change/chameleon_action -/obj/item/clothing/gloves/chameleon/Initialize() +/obj/item/clothing/gloves/chameleon/Initialize(mapload) . = ..() chameleon_action = new(src) chameleon_action.chameleon_type = /obj/item/clothing/gloves @@ -485,7 +485,7 @@ return chameleon_action.emp_randomise() -/obj/item/clothing/gloves/chameleon/broken/Initialize() +/obj/item/clothing/gloves/chameleon/broken/Initialize(mapload) . = ..() chameleon_action.emp_randomise(INFINITY) @@ -499,7 +499,7 @@ var/datum/action/item_action/chameleon/change/chameleon_action -/obj/item/clothing/head/chameleon/Initialize() +/obj/item/clothing/head/chameleon/Initialize(mapload) . = ..() chameleon_action = new(src) chameleon_action.chameleon_type = /obj/item/clothing/head @@ -513,7 +513,7 @@ return chameleon_action.emp_randomise() -/obj/item/clothing/head/chameleon/broken/Initialize() +/obj/item/clothing/head/chameleon/broken/Initialize(mapload) . = ..() chameleon_action.emp_randomise(INFINITY) @@ -523,7 +523,7 @@ armor = list(MELEE = 0, BULLET = 0, LASER = 0, ENERGY = 0, BOMB = 0, BIO = 0, RAD = 0, FIRE = 0, ACID = 0) // which means it offers no protection, it's just air and light -/obj/item/clothing/head/chameleon/drone/Initialize() +/obj/item/clothing/head/chameleon/drone/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, ABSTRACT_ITEM_TRAIT) chameleon_action.random_look() @@ -549,7 +549,7 @@ var/datum/action/item_action/chameleon/change/chameleon_action -/obj/item/clothing/mask/chameleon/Initialize() +/obj/item/clothing/mask/chameleon/Initialize(mapload) . = ..() chameleon_action = new(src) chameleon_action.chameleon_type = /obj/item/clothing/mask @@ -563,7 +563,7 @@ return chameleon_action.emp_randomise() -/obj/item/clothing/mask/chameleon/broken/Initialize() +/obj/item/clothing/mask/chameleon/broken/Initialize(mapload) . = ..() chameleon_action.emp_randomise(INFINITY) @@ -578,7 +578,7 @@ // Can drones use the voice changer part? Let's not find out. voice_change = 0 -/obj/item/clothing/mask/chameleon/drone/Initialize() +/obj/item/clothing/mask/chameleon/drone/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, ABSTRACT_ITEM_TRAIT) chameleon_action.random_look() @@ -604,7 +604,7 @@ var/datum/action/item_action/chameleon/change/chameleon_action -/obj/item/clothing/shoes/chameleon/Initialize() +/obj/item/clothing/shoes/chameleon/Initialize(mapload) . = ..() chameleon_action = new(src) chameleon_action.chameleon_type = /obj/item/clothing/shoes @@ -622,7 +622,7 @@ clothing_flags = NOSLIP can_be_bloody = FALSE -/obj/item/clothing/shoes/chameleon/noslip/broken/Initialize() +/obj/item/clothing/shoes/chameleon/noslip/broken/Initialize(mapload) . = ..() chameleon_action.emp_randomise(INFINITY) @@ -630,7 +630,7 @@ name = "backpack" var/datum/action/item_action/chameleon/change/chameleon_action -/obj/item/storage/backpack/chameleon/Initialize() +/obj/item/storage/backpack/chameleon/Initialize(mapload) . = ..() chameleon_action = new(src) chameleon_action.chameleon_type = /obj/item/storage/backpack @@ -643,7 +643,7 @@ return chameleon_action.emp_randomise() -/obj/item/storage/backpack/chameleon/broken/Initialize() +/obj/item/storage/backpack/chameleon/broken/Initialize(mapload) . = ..() chameleon_action.emp_randomise(INFINITY) @@ -652,7 +652,7 @@ desc = "Holds tools." var/datum/action/item_action/chameleon/change/chameleon_action -/obj/item/storage/belt/chameleon/Initialize() +/obj/item/storage/belt/chameleon/Initialize(mapload) . = ..() chameleon_action = new(src) @@ -671,7 +671,7 @@ return chameleon_action.emp_randomise() -/obj/item/storage/belt/chameleon/broken/Initialize() +/obj/item/storage/belt/chameleon/broken/Initialize(mapload) . = ..() chameleon_action.emp_randomise(INFINITY) @@ -679,7 +679,7 @@ name = "radio headset" var/datum/action/item_action/chameleon/change/chameleon_action -/obj/item/radio/headset/chameleon/Initialize() +/obj/item/radio/headset/chameleon/Initialize(mapload) . = ..() chameleon_action = new(src) chameleon_action.chameleon_type = /obj/item/radio/headset @@ -692,7 +692,7 @@ return chameleon_action.emp_randomise() -/obj/item/radio/headset/chameleon/broken/Initialize() +/obj/item/radio/headset/chameleon/broken/Initialize(mapload) . = ..() chameleon_action.emp_randomise(INFINITY) @@ -700,7 +700,7 @@ name = "PDA" var/datum/action/item_action/chameleon/change/pda/chameleon_action -/obj/item/pda/chameleon/Initialize() +/obj/item/pda/chameleon/Initialize(mapload) . = ..() chameleon_action = new(src) chameleon_action.chameleon_type = /obj/item/pda @@ -714,21 +714,21 @@ return chameleon_action.emp_randomise() -/obj/item/pda/chameleon/broken/Initialize() +/obj/item/pda/chameleon/broken/Initialize(mapload) . = ..() chameleon_action.emp_randomise(INFINITY) /obj/item/stamp/chameleon var/datum/action/item_action/chameleon/change/chameleon_action -/obj/item/stamp/chameleon/Initialize() +/obj/item/stamp/chameleon/Initialize(mapload) . = ..() chameleon_action = new(src) chameleon_action.chameleon_type = /obj/item/stamp chameleon_action.chameleon_name = "Stamp" chameleon_action.initialize_disguises() -/obj/item/stamp/chameleon/broken/Initialize() +/obj/item/stamp/chameleon/broken/Initialize(mapload) . = ..() chameleon_action.emp_randomise(INFINITY) @@ -743,7 +743,7 @@ /obj/item/clothing/neck/chameleon var/datum/action/item_action/chameleon/change/chameleon_action -/obj/item/clothing/neck/chameleon/Initialize() +/obj/item/clothing/neck/chameleon/Initialize(mapload) . = ..() chameleon_action = new(src) chameleon_action.chameleon_type = /obj/item/clothing/neck @@ -761,6 +761,6 @@ return chameleon_action.emp_randomise() -/obj/item/clothing/neck/chameleon/broken/Initialize() +/obj/item/clothing/neck/chameleon/broken/Initialize(mapload) . = ..() chameleon_action.emp_randomise(INFINITY) diff --git a/code/modules/clothing/clothing.dm b/code/modules/clothing/clothing.dm index 781030c4942..6f2f2a08dd1 100644 --- a/code/modules/clothing/clothing.dm +++ b/code/modules/clothing/clothing.dm @@ -62,7 +62,7 @@ /// A lazily initiated "food" version of the clothing for moths var/obj/item/food/clothing/moth_snack -/obj/item/clothing/Initialize() +/obj/item/clothing/Initialize(mapload) if((clothing_flags & VOICEBOX_TOGGLABLE)) actions_types += /datum/action/item_action/toggle_voice_box . = ..() diff --git a/code/modules/clothing/glasses/_glasses.dm b/code/modules/clothing/glasses/_glasses.dm index 8920a847d9f..3abf6c836d2 100644 --- a/code/modules/clothing/glasses/_glasses.dm +++ b/code/modules/clothing/glasses/_glasses.dm @@ -212,7 +212,7 @@ inhand_icon_state = "glasses" vision_correction = TRUE //corrects nearsightedness -/obj/item/clothing/glasses/regular/Initialize() +/obj/item/clothing/glasses/regular/Initialize(mapload) . = ..() AddComponent(/datum/component/knockoff,25,list(BODY_ZONE_PRECISE_EYES),list(ITEM_SLOT_EYES)) var/static/list/loc_connections = list( @@ -444,7 +444,7 @@ var/datum/action/item_action/chameleon/change/chameleon_action -/obj/item/clothing/glasses/thermal/syndi/Initialize() +/obj/item/clothing/glasses/thermal/syndi/Initialize(mapload) . = ..() chameleon_action = new(src) chameleon_action.chameleon_type = /obj/item/clothing/glasses diff --git a/code/modules/clothing/glasses/engine_goggles.dm b/code/modules/clothing/glasses/engine_goggles.dm index e8c352573c4..7ba212d5805 100644 --- a/code/modules/clothing/glasses/engine_goggles.dm +++ b/code/modules/clothing/glasses/engine_goggles.dm @@ -24,7 +24,7 @@ var/range = 1 var/list/connection_images = list() -/obj/item/clothing/glasses/meson/engine/Initialize() +/obj/item/clothing/glasses/meson/engine/Initialize(mapload) . = ..() START_PROCESSING(SSobj, src) update_appearance() diff --git a/code/modules/clothing/glasses/hud.dm b/code/modules/clothing/glasses/hud.dm index 9557bea4544..f98f413c9af 100644 --- a/code/modules/clothing/glasses/hud.dm +++ b/code/modules/clothing/glasses/hud.dm @@ -111,7 +111,7 @@ // have multiple inheritance, okay? var/datum/action/item_action/chameleon/change/chameleon_action -/obj/item/clothing/glasses/hud/security/chameleon/Initialize() +/obj/item/clothing/glasses/hud/security/chameleon/Initialize(mapload) . = ..() chameleon_action = new(src) chameleon_action.chameleon_type = /obj/item/clothing/glasses diff --git a/code/modules/clothing/gloves/color.dm b/code/modules/clothing/gloves/color.dm index 076d2444dcb..65f20860fec 100644 --- a/code/modules/clothing/gloves/color.dm +++ b/code/modules/clothing/gloves/color.dm @@ -43,7 +43,7 @@ resistance_flags = ACID_PROOF var/charges_remaining = 10 -/obj/item/clothing/gloves/color/yellow/sprayon/Initialize() +/obj/item/clothing/gloves/color/yellow/sprayon/Initialize(mapload) .=..() ADD_TRAIT(src, TRAIT_NODROP, INNATE_TRAIT) @@ -71,7 +71,7 @@ resistance_flags = NONE cut_type = /obj/item/clothing/gloves/cut -/obj/item/clothing/gloves/color/fyellow/Initialize() +/obj/item/clothing/gloves/color/fyellow/Initialize(mapload) . = ..() siemens_coefficient = pick(0,0.5,0.5,0.5,0.5,0.75,1.5) @@ -79,7 +79,7 @@ desc = "Old and worn out insulated gloves, hopefully they still work." name = "worn out insulated gloves" -/obj/item/clothing/gloves/color/fyellow/old/Initialize() +/obj/item/clothing/gloves/color/fyellow/old/Initialize(mapload) . = ..() siemens_coefficient = pick(0,0,0,0.5,0.5,0.5,0.75) diff --git a/code/modules/clothing/gloves/special.dm b/code/modules/clothing/gloves/special.dm index e539e026186..7b72b3cbfe0 100644 --- a/code/modules/clothing/gloves/special.dm +++ b/code/modules/clothing/gloves/special.dm @@ -11,7 +11,7 @@ undyeable = TRUE var/datum/weakref/pull_component_weakref -/obj/item/clothing/gloves/cargo_gauntlet/Initialize() +/obj/item/clothing/gloves/cargo_gauntlet/Initialize(mapload) . = ..() RegisterSignal(src, COMSIG_ITEM_EQUIPPED, .proc/on_glove_equip) RegisterSignal(src, COMSIG_ITEM_POST_UNEQUIP, .proc/on_glove_unequip) diff --git a/code/modules/clothing/head/_head.dm b/code/modules/clothing/head/_head.dm index c0e3ef1b7e8..9ea6fddca72 100644 --- a/code/modules/clothing/head/_head.dm +++ b/code/modules/clothing/head/_head.dm @@ -9,7 +9,7 @@ var/can_toggle = null dynamic_hair_suffix = "+generic" -/obj/item/clothing/head/Initialize() +/obj/item/clothing/head/Initialize(mapload) . = ..() if(ishuman(loc) && dynamic_hair_suffix) var/mob/living/carbon/human/H = loc diff --git a/code/modules/clothing/head/collectable.dm b/code/modules/clothing/head/collectable.dm index 7951b9e81d8..5f143552310 100644 --- a/code/modules/clothing/head/collectable.dm +++ b/code/modules/clothing/head/collectable.dm @@ -6,7 +6,7 @@ desc = "A rare collectable hat." icon_state = null -/obj/item/clothing/head/collectable/Initialize() +/obj/item/clothing/head/collectable/Initialize(mapload) . = ..() AddElement(/datum/element/series, /obj/item/clothing/head/collectable, "Super duper collectable hats") diff --git a/code/modules/clothing/head/hardhat.dm b/code/modules/clothing/head/hardhat.dm index 9a41648fd1f..d57a592953b 100644 --- a/code/modules/clothing/head/hardhat.dm +++ b/code/modules/clothing/head/hardhat.dm @@ -120,7 +120,7 @@ visor_flags_inv = HIDEEYES | HIDEFACE | HIDESNOUT visor_flags_cover = HEADCOVERSEYES | HEADCOVERSMOUTH | PEPPERPROOF -/obj/item/clothing/head/hardhat/weldhat/Initialize() +/obj/item/clothing/head/hardhat/weldhat/Initialize(mapload) . = ..() update_appearance() diff --git a/code/modules/clothing/head/helmet.dm b/code/modules/clothing/head/helmet.dm index 05f7460eb91..8c4300f9e83 100644 --- a/code/modules/clothing/head/helmet.dm +++ b/code/modules/clothing/head/helmet.dm @@ -19,7 +19,7 @@ var/obj/item/flashlight/seclite/attached_light var/datum/action/item_action/toggle_helmet_flashlight/alight -/obj/item/clothing/head/helmet/Initialize() +/obj/item/clothing/head/helmet/Initialize(mapload) . = ..() if(attached_light) alight = new(src) @@ -106,7 +106,7 @@ can_flashlight = TRUE dog_fashion = null -/obj/item/clothing/head/helmet/marine/Initialize() +/obj/item/clothing/head/helmet/marine/Initialize(mapload) set_attached_light(new /obj/item/flashlight/seclite) update_helmlight() update_appearance() @@ -189,7 +189,7 @@ ///Looping sound datum for the siren helmet var/datum/looping_sound/siren/weewooloop -/obj/item/clothing/head/helmet/justice/Initialize() +/obj/item/clothing/head/helmet/justice/Initialize(mapload) . = ..() weewooloop = new(src, FALSE, FALSE) @@ -423,7 +423,7 @@ var/polling = FALSE///if the helmet is currently polling for targets (special code for removal) var/light_colors = 1 ///which icon state color this is (red, blue, yellow) -/obj/item/clothing/head/helmet/monkey_sentience/Initialize() +/obj/item/clothing/head/helmet/monkey_sentience/Initialize(mapload) . = ..() light_colors = rand(1,3) update_appearance() diff --git a/code/modules/clothing/head/jobs.dm b/code/modules/clothing/head/jobs.dm index a5e2c65dcf8..6bedb8d75bb 100644 --- a/code/modules/clothing/head/jobs.dm +++ b/code/modules/clothing/head/jobs.dm @@ -97,7 +97,7 @@ pocket_storage_component_path = /datum/component/storage/concrete/pockets/small/fedora/detective dog_fashion = /datum/dog_fashion/head/detective -/obj/item/clothing/head/fedora/det_hat/Initialize() +/obj/item/clothing/head/fedora/det_hat/Initialize(mapload) . = ..() new /obj/item/reagent_containers/food/drinks/flask/det(src) @@ -350,7 +350,7 @@ desc = "That was white fabric. Was." dog_fashion = null //THIS IS FOR SLAUGHTER, NOT PUPPIES -/obj/item/clothing/head/beret/highlander/Initialize() +/obj/item/clothing/head/beret/highlander/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, HIGHLANDER) diff --git a/code/modules/clothing/head/sombrero.dm b/code/modules/clothing/head/sombrero.dm index d2312449468..5c74378f167 100644 --- a/code/modules/clothing/head/sombrero.dm +++ b/code/modules/clothing/head/sombrero.dm @@ -29,6 +29,6 @@ greyscale_colors = "#d565d3#f8db18" flags_1 = IS_PLAYER_COLORABLE_1 -/obj/item/clothing/head/sombrero/shamebrero/Initialize() +/obj/item/clothing/head/sombrero/shamebrero/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, SHAMEBRERO_TRAIT) diff --git a/code/modules/clothing/masks/animal_masks.dm b/code/modules/clothing/masks/animal_masks.dm index bb0e798e332..854b943aed8 100644 --- a/code/modules/clothing/masks/animal_masks.dm +++ b/code/modules/clothing/masks/animal_masks.dm @@ -27,7 +27,7 @@ GLOBAL_LIST_INIT(cursed_animal_masks, list( var/cursed ///if it's a cursed mask variant. var/curse_spawn_sound ///sound to play when the cursed mask variant is spawned. -/obj/item/clothing/mask/animal/Initialize() +/obj/item/clothing/mask/animal/Initialize(mapload) . = ..() if(cursed) make_cursed() diff --git a/code/modules/clothing/masks/gas_filter.dm b/code/modules/clothing/masks/gas_filter.dm index 99a0ef088ce..70232b61914 100644 --- a/code/modules/clothing/masks/gas_filter.dm +++ b/code/modules/clothing/masks/gas_filter.dm @@ -100,7 +100,7 @@ desc = "A piece of filtering cloth to be used with atmospheric gas masks and emergency gas masks, it seems damaged." filter_status = 50 //override on initialize -/obj/item/gas_filter/damaged/Initialize() +/obj/item/gas_filter/damaged/Initialize(mapload) . = ..() filter_status = rand(35, 65) diff --git a/code/modules/clothing/masks/gasmask.dm b/code/modules/clothing/masks/gasmask.dm index f39d7e9ff69..04065948094 100644 --- a/code/modules/clothing/masks/gasmask.dm +++ b/code/modules/clothing/masks/gasmask.dm @@ -16,7 +16,7 @@ ///Type of filter that spawns on roundstart var/starting_filter_type = /obj/item/gas_filter -/obj/item/clothing/mask/gas/Initialize() +/obj/item/clothing/mask/gas/Initialize(mapload) . = ..() if(!max_filters || !starting_filter_type) return @@ -133,7 +133,7 @@ /obj/item/clothing/mask/gas/welding/up -/obj/item/clothing/mask/gas/welding/up/Initialize() +/obj/item/clothing/mask/gas/welding/up/Initialize(mapload) . = ..() visor_toggling() diff --git a/code/modules/clothing/neck/_neck.dm b/code/modules/clothing/neck/_neck.dm index 9d4bca7632b..72fba5d8cf2 100644 --- a/code/modules/clothing/neck/_neck.dm +++ b/code/modules/clothing/neck/_neck.dm @@ -270,6 +270,6 @@ custom_price = PAYCHECK_ASSISTANT * 0.2 custom_materials = (list(/datum/material/plastic = 500)) -/obj/item/clothing/neck/beads/Initialize() +/obj/item/clothing/neck/beads/Initialize(mapload) . = ..() color = color = pick("#ff0077","#d400ff","#2600ff","#00ccff","#00ff2a","#e5ff00","#ffae00","#ff0000", "#ffffff") diff --git a/code/modules/clothing/shoes/bananashoes.dm b/code/modules/clothing/shoes/bananashoes.dm index e5e6cab3e7a..f7b380f88cc 100644 --- a/code/modules/clothing/shoes/bananashoes.dm +++ b/code/modules/clothing/shoes/bananashoes.dm @@ -8,7 +8,7 @@ var/on = FALSE var/always_noslip = FALSE -/obj/item/clothing/shoes/clown_shoes/banana_shoes/Initialize() +/obj/item/clothing/shoes/clown_shoes/banana_shoes/Initialize(mapload) . = ..() if(always_noslip) clothing_flags |= NOSLIP diff --git a/code/modules/clothing/shoes/clown.dm b/code/modules/clothing/shoes/clown.dm index 19b3eedf66e..55a8a8ba6be 100644 --- a/code/modules/clothing/shoes/clown.dm +++ b/code/modules/clothing/shoes/clown.dm @@ -9,7 +9,7 @@ lace_time = 20 SECONDS // how the hell do these laces even work?? species_exception = list(/datum/species/golem/bananium) -/obj/item/clothing/shoes/clown_shoes/Initialize() +/obj/item/clothing/shoes/clown_shoes/Initialize(mapload) . = ..() LoadComponent(/datum/component/squeak, list('sound/effects/clownstep1.ogg'=1,'sound/effects/clownstep2.ogg'=1), 50, falloff_exponent = 20) //die off quick please AddElement(/datum/element/swabable, CELL_LINE_TABLE_CLOWN, CELL_VIRUS_TABLE_GENERIC, rand(2,3), 0) diff --git a/code/modules/clothing/shoes/costume.dm b/code/modules/clothing/shoes/costume.dm index cee4e1d824f..cdcddf49d71 100644 --- a/code/modules/clothing/shoes/costume.dm +++ b/code/modules/clothing/shoes/costume.dm @@ -35,7 +35,7 @@ icon_state = "clockwork_treads" can_be_tied = FALSE -/obj/item/clothing/shoes/bronze/Initialize() +/obj/item/clothing/shoes/bronze/Initialize(mapload) . = ..() AddComponent(/datum/component/squeak, list('sound/machines/clockcult/integration_cog_install.ogg' = 1, 'sound/magic/clockwork/fellowship_armory.ogg' = 1), 50, extrarange = SHORT_RANGE_SOUND_EXTRARANGE) diff --git a/code/modules/clothing/shoes/cowboy.dm b/code/modules/clothing/shoes/cowboy.dm index 4f654f6d933..0f827e38a64 100644 --- a/code/modules/clothing/shoes/cowboy.dm +++ b/code/modules/clothing/shoes/cowboy.dm @@ -9,7 +9,7 @@ var/max_occupants = 4 can_be_tied = FALSE -/obj/item/clothing/shoes/cowboy/Initialize() +/obj/item/clothing/shoes/cowboy/Initialize(mapload) . = ..() if(prob(2)) var/mob/living/simple_animal/hostile/retaliate/snake/bootsnake = new/mob/living/simple_animal/hostile/retaliate/snake(src) diff --git a/code/modules/clothing/shoes/cult.dm b/code/modules/clothing/shoes/cult.dm index 79b5c52e0f3..f7077a7b97d 100644 --- a/code/modules/clothing/shoes/cult.dm +++ b/code/modules/clothing/shoes/cult.dm @@ -16,6 +16,6 @@ /obj/item/clothing/shoes/cult/alt/ghost item_flags = DROPDEL -/obj/item/clothing/shoes/cult/alt/ghost/Initialize() +/obj/item/clothing/shoes/cult/alt/ghost/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, CULT_TRAIT) diff --git a/code/modules/clothing/shoes/galoshes.dm b/code/modules/clothing/shoes/galoshes.dm index b4dacca78b4..c836bc0af3f 100644 --- a/code/modules/clothing/shoes/galoshes.dm +++ b/code/modules/clothing/shoes/galoshes.dm @@ -18,7 +18,7 @@ desc = "A pair of purple rubber boots, designed to prevent slipping on wet surfaces while also drying them." icon_state = "galoshes_dry" -/obj/item/clothing/shoes/galoshes/dry/Initialize() +/obj/item/clothing/shoes/galoshes/dry/Initialize(mapload) . = ..() RegisterSignal(src, COMSIG_SHOES_STEP_ACTION, .proc/on_step) diff --git a/code/modules/clothing/shoes/gunboots.dm b/code/modules/clothing/shoes/gunboots.dm index 3e08c17d18a..ff285afe509 100644 --- a/code/modules/clothing/shoes/gunboots.dm +++ b/code/modules/clothing/shoes/gunboots.dm @@ -11,7 +11,7 @@ /// Each step, this is the chance we fire a shot var/shot_prob = 50 -/obj/item/clothing/shoes/gunboots/Initialize() +/obj/item/clothing/shoes/gunboots/Initialize(mapload) . = ..() RegisterSignal(src, COMSIG_SHOES_STEP_ACTION, .proc/check_step) diff --git a/code/modules/clothing/shoes/wheelys.dm b/code/modules/clothing/shoes/wheelys.dm index f333ac51048..d7f31f10599 100644 --- a/code/modules/clothing/shoes/wheelys.dm +++ b/code/modules/clothing/shoes/wheelys.dm @@ -16,7 +16,7 @@ ///The vehicle associated with the shoes var/obj/vehicle/ridden/scooter/skateboard/wheelys/wheels = /obj/vehicle/ridden/scooter/skateboard/wheelys -/obj/item/clothing/shoes/wheelys/Initialize() +/obj/item/clothing/shoes/wheelys/Initialize(mapload) . = ..() AddElement(/datum/element/update_icon_updates_onmob) wheels = new wheels(null) diff --git a/code/modules/clothing/spacesuits/chronosuit.dm b/code/modules/clothing/spacesuits/chronosuit.dm index 5f43351f937..fe245a4f009 100644 --- a/code/modules/clothing/spacesuits/chronosuit.dm +++ b/code/modules/clothing/spacesuits/chronosuit.dm @@ -36,7 +36,7 @@ var/teleporting = FALSE var/phase_timer_id -/obj/item/clothing/suit/space/chronos/Initialize() +/obj/item/clothing/suit/space/chronos/Initialize(mapload) teleport_now.chronosuit = src teleport_now.target = src return ..() diff --git a/code/modules/clothing/spacesuits/hardsuit.dm b/code/modules/clothing/spacesuits/hardsuit.dm index 1462c2443ee..fd324f606f5 100644 --- a/code/modules/clothing/spacesuits/hardsuit.dm +++ b/code/modules/clothing/spacesuits/hardsuit.dm @@ -25,7 +25,7 @@ var/grace = RAD_GEIGER_GRACE_PERIOD var/datum/looping_sound/geiger/soundloop -/obj/item/clothing/head/helmet/space/hardsuit/Initialize() +/obj/item/clothing/head/helmet/space/hardsuit/Initialize(mapload) . = ..() soundloop = new(src, FALSE, TRUE) soundloop.volume = 5 @@ -114,7 +114,7 @@ var/obj/item/tank/jetpack/suit/jetpack = null var/hardsuit_type -/obj/item/clothing/suit/space/hardsuit/Initialize() +/obj/item/clothing/suit/space/hardsuit/Initialize(mapload) if(jetpack && ispath(jetpack)) jetpack = new jetpack(src) . = ..() @@ -281,7 +281,7 @@ light_range = 7 allowed = list(/obj/item/flashlight, /obj/item/tank/internals, /obj/item/resonator, /obj/item/mining_scanner, /obj/item/t_scanner/adv_mining_scanner, /obj/item/gun/energy/kinetic_accelerator) -/obj/item/clothing/head/helmet/space/hardsuit/mining/Initialize() +/obj/item/clothing/head/helmet/space/hardsuit/mining/Initialize(mapload) . = ..() AddComponent(/datum/component/armor_plate) RegisterSignal(src, COMSIG_ARMOR_PLATED, .proc/upgrade_icon) @@ -314,7 +314,7 @@ helmettype = /obj/item/clothing/head/helmet/space/hardsuit/mining heat_protection = CHEST|GROIN|LEGS|FEET|ARMS|HANDS -/obj/item/clothing/suit/space/hardsuit/mining/Initialize() +/obj/item/clothing/suit/space/hardsuit/mining/Initialize(mapload) . = ..() AddComponent(/datum/component/armor_plate) RegisterSignal(src, COMSIG_ARMOR_PLATED, .proc/upgrade_icon) @@ -348,7 +348,7 @@ visor_flags_inv = HIDEMASK|HIDEEYES|HIDEFACE|HIDEFACIALHAIR|HIDESNOUT visor_flags = STOPSPRESSUREDAMAGE -/obj/item/clothing/head/helmet/space/hardsuit/syndi/Initialize() +/obj/item/clothing/head/helmet/space/hardsuit/syndi/Initialize(mapload) . = ..() if(istype(loc, /obj/item/clothing/suit/space/hardsuit/syndi)) linkedsuit = loc @@ -436,7 +436,7 @@ /obj/item/clothing/head/helmet/space/hardsuit/syndi/elite/debug -/obj/item/clothing/head/helmet/space/hardsuit/syndi/elite/debug/Initialize() +/obj/item/clothing/head/helmet/space/hardsuit/syndi/elite/debug/Initialize(mapload) . = ..() soundloop.volume = 0 @@ -519,7 +519,7 @@ cell = /obj/item/stock_parts/cell/hyper slowdown = 0 //you're spending 2 wizard points on this thing, the least it could do is not make you a sitting duck -/obj/item/clothing/suit/space/hardsuit/wizard/Initialize() +/obj/item/clothing/suit/space/hardsuit/wizard/Initialize(mapload) . = ..() AddComponent(/datum/component/anti_magic, TRUE, FALSE, FALSE, ITEM_SLOT_OCLOTHING, INFINITY, FALSE) @@ -558,7 +558,7 @@ clothing_flags = STOPSPRESSUREDAMAGE | THICKMATERIAL | SCAN_REAGENTS | SNUG_FIT actions_types = list(/datum/action/item_action/toggle_helmet_light, /datum/action/item_action/toggle_research_scanner) -/obj/item/clothing/head/helmet/space/hardsuit/rd/Initialize() +/obj/item/clothing/head/helmet/space/hardsuit/rd/Initialize(mapload) . = ..() RegisterSignal(SSdcs, COMSIG_GLOB_EXPLOSION, .proc/sense_explosion) @@ -616,7 +616,7 @@ armor = list(MELEE = 35, BULLET = 15, LASER = 30, ENERGY = 40, BOMB = 10, BIO = 100, RAD = 50, FIRE = 75, ACID = 75, WOUND = 20) helmettype = /obj/item/clothing/head/helmet/space/hardsuit/security -/obj/item/clothing/suit/space/hardsuit/security/Initialize() +/obj/item/clothing/suit/space/hardsuit/security/Initialize(mapload) . = ..() allowed = GLOB.security_hardsuit_allowed @@ -665,7 +665,7 @@ helmettype = /obj/item/clothing/head/helmet/space/hardsuit/swat // SWAT and Captain get EMP Protection -/obj/item/clothing/suit/space/hardsuit/swat/Initialize() +/obj/item/clothing/suit/space/hardsuit/swat/Initialize(mapload) . = ..() allowed = GLOB.security_hardsuit_allowed @@ -806,7 +806,7 @@ resistance_flags = FIRE_PROOF max_heat_protection_temperature = FIRE_IMMUNITY_MAX_TEMP_PROTECT -/obj/item/clothing/head/helmet/space/hardsuit/ert/Initialize() +/obj/item/clothing/head/helmet/space/hardsuit/ert/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, LOCKED_HELMET_TRAIT) @@ -825,7 +825,7 @@ cell = /obj/item/stock_parts/cell/bluespace // ERT suit's gets EMP Protection -/obj/item/clothing/suit/space/hardsuit/ert/Initialize() +/obj/item/clothing/suit/space/hardsuit/ert/Initialize(mapload) . = ..() AddElement(/datum/element/empprotection, EMP_PROTECT_CONTENTS) @@ -926,7 +926,7 @@ max_heat_protection_temperature = FIRE_IMMUNITY_MAX_TEMP_PROTECT resistance_flags = FIRE_PROOF -/obj/item/clothing/suit/space/hardsuit/ert/paranormal/Initialize() +/obj/item/clothing/suit/space/hardsuit/ert/paranormal/Initialize(mapload) . = ..() AddComponent(/datum/component/anti_magic, TRUE, TRUE, TRUE, ITEM_SLOT_OCLOTHING) @@ -955,7 +955,7 @@ actions_types = list() flags_inv = HIDEEARS|HIDEHAIR|HIDEFACIALHAIR //facial hair will clip with the helm, this'll need a dynamic_fhair_suffix at some point. -/obj/item/clothing/head/helmet/space/hardsuit/carp/Initialize() +/obj/item/clothing/head/helmet/space/hardsuit/carp/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, LOCKED_HELMET_TRAIT) @@ -1026,7 +1026,7 @@ /// The icon for the shield var/shield_icon = "shield-old" -/obj/item/clothing/suit/space/hardsuit/shielded/Initialize() +/obj/item/clothing/suit/space/hardsuit/shielded/Initialize(mapload) . = ..() if(!allowed) allowed = GLOB.advanced_hardsuit_allowed diff --git a/code/modules/clothing/spacesuits/plasmamen.dm b/code/modules/clothing/spacesuits/plasmamen.dm index e3b27e835e5..d7784609b4c 100644 --- a/code/modules/clothing/spacesuits/plasmamen.dm +++ b/code/modules/clothing/spacesuits/plasmamen.dm @@ -61,7 +61,7 @@ flags_cover = HEADCOVERSMOUTH|HEADCOVERSEYES|PEPPERPROOF visor_flags_inv = HIDEEYES|HIDEFACE -/obj/item/clothing/head/helmet/space/plasmaman/Initialize() +/obj/item/clothing/head/helmet/space/plasmaman/Initialize(mapload) . = ..() visor_toggling() update_appearance() diff --git a/code/modules/clothing/suits/ablativecoat.dm b/code/modules/clothing/suits/ablativecoat.dm index 56586aea02c..b6ad6f0d0b3 100644 --- a/code/modules/clothing/suits/ablativecoat.dm +++ b/code/modules/clothing/suits/ablativecoat.dm @@ -38,7 +38,7 @@ equip_delay_other = 40 var/hit_reflect_chance = 50 -/obj/item/clothing/suit/hooded/ablative/Initialize() +/obj/item/clothing/suit/hooded/ablative/Initialize(mapload) . = ..() allowed = GLOB.security_vest_allowed diff --git a/code/modules/clothing/suits/armor.dm b/code/modules/clothing/suits/armor.dm index 164d094c912..9f38e5b1588 100644 --- a/code/modules/clothing/suits/armor.dm +++ b/code/modules/clothing/suits/armor.dm @@ -11,7 +11,7 @@ resistance_flags = NONE armor = list(MELEE = 35, BULLET = 30, LASER = 30, ENERGY = 40, BOMB = 25, BIO = 0, RAD = 0, FIRE = 50, ACID = 50, WOUND = 10) -/obj/item/clothing/suit/armor/Initialize() +/obj/item/clothing/suit/armor/Initialize(mapload) . = ..() if(!allowed) allowed = GLOB.security_vest_allowed @@ -147,7 +147,7 @@ armor = list(MELEE = 50, BULLET = 40, LASER = 50, ENERGY = 50, BOMB = 25, BIO = 0, RAD = 0, FIRE = 100, ACID = 90, WOUND = 10) togglename = "buttons" -/obj/item/clothing/suit/toggle/captains_parade/Initialize() +/obj/item/clothing/suit/toggle/captains_parade/Initialize(mapload) . = ..() allowed = GLOB.security_wintercoat_allowed @@ -209,7 +209,7 @@ resistance_flags = FLAMMABLE dog_fashion = null -/obj/item/clothing/suit/armor/vest/det_suit/Initialize() +/obj/item/clothing/suit/armor/vest/det_suit/Initialize(mapload) . = ..() allowed = GLOB.detective_vest_allowed @@ -361,7 +361,7 @@ armor = list(MELEE = 35, BULLET = 40, LASER = 40, ENERGY = 50, BOMB = 35, BIO = 10, RAD = 10, FIRE = 10, ACID = 60) togglename = "buttons" -/obj/item/clothing/suit/toggle/armor/vest/centcom_formal/Initialize() +/obj/item/clothing/suit/toggle/armor/vest/centcom_formal/Initialize(mapload) . = ..() allowed = GLOB.security_wintercoat_allowed @@ -374,6 +374,6 @@ armor = list(MELEE = 30, BULLET = 30, LASER = 30, ENERGY = 40, BOMB = 25, BIO = 0, RAD = 0, FIRE = 70, ACID = 90, WOUND = 10) togglename = "buttons" -/obj/item/clothing/suit/toggle/armor/hos/hos_formal/Initialize() +/obj/item/clothing/suit/toggle/armor/hos/hos_formal/Initialize(mapload) . = ..() allowed = GLOB.security_wintercoat_allowed diff --git a/code/modules/clothing/suits/bio.dm b/code/modules/clothing/suits/bio.dm index 265aba7eb43..284066b9c1f 100644 --- a/code/modules/clothing/suits/bio.dm +++ b/code/modules/clothing/suits/bio.dm @@ -52,7 +52,7 @@ armor = list(MELEE = 25, BULLET = 15, LASER = 25, ENERGY = 35, BOMB = 25, BIO = 100, RAD = 80, FIRE = 30, ACID = 100) icon_state = "bio_security" -/obj/item/clothing/suit/bio_suit/security/Initialize() +/obj/item/clothing/suit/bio_suit/security/Initialize(mapload) . = ..() allowed += GLOB.security_vest_allowed @@ -63,7 +63,7 @@ /obj/item/clothing/suit/bio_suit/janitor icon_state = "bio_janitor" -/obj/item/clothing/suit/bio_suit/janitor/Initialize() +/obj/item/clothing/suit/bio_suit/janitor/Initialize(mapload) . = ..() allowed += list(/obj/item/storage/bag/trash, /obj/item/reagent_containers/spray) @@ -81,7 +81,7 @@ /obj/item/clothing/suit/bio_suit/cmo icon_state = "bio_cmo" -/obj/item/clothing/suit/bio_suit/cmo/Initialize() +/obj/item/clothing/suit/bio_suit/cmo/Initialize(mapload) . = ..() allowed += list(/obj/item/melee/baton/telescopic) @@ -94,6 +94,6 @@ strip_delay = 40 equip_delay_other = 20 -/obj/item/clothing/suit/bio_suit/plaguedoctorsuit/Initialize() +/obj/item/clothing/suit/bio_suit/plaguedoctorsuit/Initialize(mapload) . = ..() allowed += list(/obj/item/storage/book/bible, /obj/item/nullrod, /obj/item/cane) diff --git a/code/modules/clothing/suits/costume.dm b/code/modules/clothing/suits/costume.dm index b6198419e23..5f64305922a 100644 --- a/code/modules/clothing/suits/costume.dm +++ b/code/modules/clothing/suits/costume.dm @@ -130,7 +130,7 @@ body_parts_covered = ARMS|CHEST actions_types = list(/datum/action/item_action/toggle_wings) -/obj/item/clothing/suit/toggle/owlwings/Initialize() +/obj/item/clothing/suit/toggle/owlwings/Initialize(mapload) . = ..() allowed = GLOB.security_vest_allowed @@ -201,7 +201,7 @@ icon_state = "ponchoshame" inhand_icon_state = "ponchoshame" -/obj/item/clothing/suit/poncho/ponchoshame/Initialize() +/obj/item/clothing/suit/poncho/ponchoshame/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, SHAMEBRERO_TRAIT) diff --git a/code/modules/clothing/suits/jobs.dm b/code/modules/clothing/suits/jobs.dm index c5d71d0eaaf..5361204b67f 100644 --- a/code/modules/clothing/suits/jobs.dm +++ b/code/modules/clothing/suits/jobs.dm @@ -65,7 +65,7 @@ cold_protection = CHEST|GROIN|LEGS|ARMS heat_protection = CHEST|GROIN|LEGS|ARMS -/obj/item/clothing/suit/det_suit/Initialize() +/obj/item/clothing/suit/det_suit/Initialize(mapload) . = ..() allowed = GLOB.detective_vest_allowed diff --git a/code/modules/clothing/suits/labcoat.dm b/code/modules/clothing/suits/labcoat.dm index cd263ae5ef8..0f8f4bef1d6 100644 --- a/code/modules/clothing/suits/labcoat.dm +++ b/code/modules/clothing/suits/labcoat.dm @@ -35,7 +35,7 @@ icon_state = "labcoat_cmo" inhand_icon_state = "labcoat_cmo" -/obj/item/clothing/suit/toggle/labcoat/cmo/Initialize() +/obj/item/clothing/suit/toggle/labcoat/cmo/Initialize(mapload) . = ..() allowed += list( /obj/item/melee/baton/telescopic, diff --git a/code/modules/clothing/suits/reactive_armour.dm b/code/modules/clothing/suits/reactive_armour.dm index 3a3bcd08fdc..78e8dfb71f3 100644 --- a/code/modules/clothing/suits/reactive_armour.dm +++ b/code/modules/clothing/suits/reactive_armour.dm @@ -47,7 +47,7 @@ resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | ACID_PROOF hit_reaction_chance = 50 -/obj/item/clothing/suit/armor/reactive/Initialize() +/obj/item/clothing/suit/armor/reactive/Initialize(mapload) . = ..() AddElement(/datum/element/update_icon_updates_onmob) diff --git a/code/modules/clothing/suits/toggles.dm b/code/modules/clothing/suits/toggles.dm index 8d6810e9d19..a97d23a1cfa 100644 --- a/code/modules/clothing/suits/toggles.dm +++ b/code/modules/clothing/suits/toggles.dm @@ -7,7 +7,7 @@ ///Alternative mode for hiding the hood, instead of storing the hood in the suit it qdels it, useful for when you deal with hooded suit with storage. var/alternative_mode = FALSE -/obj/item/clothing/suit/hooded/Initialize() +/obj/item/clothing/suit/hooded/Initialize(mapload) . = ..() if(!alternative_mode) MakeHood() @@ -135,7 +135,7 @@ . += "Alt-click on [src] to toggle the [togglename]." //Hardsuit toggle code -/obj/item/clothing/suit/space/hardsuit/Initialize() +/obj/item/clothing/suit/space/hardsuit/Initialize(mapload) MakeHelmet() . = ..() diff --git a/code/modules/clothing/suits/wintercoats.dm b/code/modules/clothing/suits/wintercoats.dm index 4f762044631..4df892c5fc0 100644 --- a/code/modules/clothing/suits/wintercoats.dm +++ b/code/modules/clothing/suits/wintercoats.dm @@ -12,7 +12,7 @@ allowed = list() armor = list(MELEE = 0, BULLET = 0, LASER = 0, ENERGY = 0, BOMB = 0, BIO = 10, RAD = 0, FIRE = 0, ACID = 0) -/obj/item/clothing/suit/hooded/wintercoat/Initialize() +/obj/item/clothing/suit/hooded/wintercoat/Initialize(mapload) . = ..() allowed += list( /obj/item/flashlight, @@ -47,7 +47,7 @@ armor = list(MELEE = 35, BULLET = 40, LASER = 40, ENERGY = 50, BOMB = 35, BIO = 10, RAD = 10, FIRE = 10, ACID = 60) hoodtype = /obj/item/clothing/head/hooded/winterhood/centcom -/obj/item/clothing/suit/hooded/wintercoat/centcom/Initialize() +/obj/item/clothing/suit/hooded/wintercoat/centcom/Initialize(mapload) . = ..() allowed += GLOB.security_wintercoat_allowed @@ -66,7 +66,7 @@ armor = list(MELEE = 25, BULLET = 30, LASER = 30, ENERGY = 40, BOMB = 25, BIO = 0, RAD = 0, FIRE = 0, ACID = 50) hoodtype = /obj/item/clothing/head/hooded/winterhood/captain -/obj/item/clothing/suit/hooded/wintercoat/captain/Initialize() +/obj/item/clothing/suit/hooded/wintercoat/captain/Initialize(mapload) . = ..() allowed += GLOB.security_wintercoat_allowed @@ -139,7 +139,7 @@ armor = list(MELEE = 25, BULLET = 15, LASER = 30, ENERGY = 40, BOMB = 25, BIO = 0, RAD = 0, FIRE = 0, ACID = 45) hoodtype = /obj/item/clothing/head/hooded/winterhood/security -/obj/item/clothing/suit/hooded/wintercoat/security/Initialize() +/obj/item/clothing/suit/hooded/wintercoat/security/Initialize(mapload) . = ..() allowed += GLOB.security_wintercoat_allowed @@ -197,7 +197,7 @@ armor = list(MELEE = 0, BULLET = 0, LASER = 0, ENERGY = 0, BOMB = 0, BIO = 50, RAD = 0, FIRE = 20, ACID = 30) hoodtype = /obj/item/clothing/head/hooded/winterhood/medical/cmo -/obj/item/clothing/suit/hooded/wintercoat/medical/cmo/Initialize() +/obj/item/clothing/suit/hooded/wintercoat/medical/cmo/Initialize(mapload) . = ..() allowed += list( /obj/item/melee/baton/telescopic, @@ -280,7 +280,7 @@ armor = list(MELEE = 0, BULLET = 0, LASER = 0, ENERGY = 0, BOMB = 20, BIO = 0, RAD = 0, FIRE = 30, ACID = 0) hoodtype = /obj/item/clothing/head/hooded/winterhood/science/rd -/obj/item/clothing/suit/hooded/wintercoat/science/rd/Initialize() +/obj/item/clothing/suit/hooded/wintercoat/science/rd/Initialize(mapload) . = ..() allowed += list( /obj/item/melee/baton/telescopic, @@ -345,7 +345,7 @@ armor = list(MELEE = 0, BULLET = 0, LASER = 0, ENERGY = 0, BOMB = 0, BIO = 0, RAD = 20, FIRE = 30, ACID = 10) hoodtype = /obj/item/clothing/head/hooded/winterhood/engineering/ce -/obj/item/clothing/suit/hooded/wintercoat/engineering/ce/Initialize() +/obj/item/clothing/suit/hooded/wintercoat/engineering/ce/Initialize(mapload) . = ..() allowed += list( /obj/item/melee/baton/telescopic, diff --git a/code/modules/clothing/under/_under.dm b/code/modules/clothing/under/_under.dm index f9af946c163..bec6e7939d2 100644 --- a/code/modules/clothing/under/_under.dm +++ b/code/modules/clothing/under/_under.dm @@ -62,7 +62,7 @@ else if(damaged_state == CLOTHING_PRISTINE && has_sensor == BROKEN_SENSORS) has_sensor = HAS_SENSORS -/obj/item/clothing/under/Initialize() +/obj/item/clothing/under/Initialize(mapload) . = ..() if(random_sensor) //make the sensor mode favor higher levels, except coords. diff --git a/code/modules/clothing/under/accessories.dm b/code/modules/clothing/under/accessories.dm index 68ebb1c7416..984581775a9 100755 --- a/code/modules/clothing/under/accessories.dm +++ b/code/modules/clothing/under/accessories.dm @@ -339,13 +339,13 @@ icon_state = "pocketprotector" pocket_storage_component_path = /datum/component/storage/concrete/pockets/pocketprotector -/obj/item/clothing/accessory/pocketprotector/full/Initialize() +/obj/item/clothing/accessory/pocketprotector/full/Initialize(mapload) . = ..() new /obj/item/pen/red(src) new /obj/item/pen(src) new /obj/item/pen/blue(src) -/obj/item/clothing/accessory/pocketprotector/cosmetology/Initialize() +/obj/item/clothing/accessory/pocketprotector/cosmetology/Initialize(mapload) . = ..() for(var/i in 1 to 3) new /obj/item/lipstick/random(src) diff --git a/code/modules/clothing/under/color.dm b/code/modules/clothing/under/color.dm index 187955762e4..5456cfd9e10 100644 --- a/code/modules/clothing/under/color.dm +++ b/code/modules/clothing/under/color.dm @@ -22,7 +22,7 @@ /obj/item/clothing/under/color/random icon_state = "random_jumpsuit" -/obj/item/clothing/under/color/random/Initialize() +/obj/item/clothing/under/color/random/Initialize(mapload) ..() var/obj/item/clothing/under/color/C = pick(subtypesof(/obj/item/clothing/under/color) - typesof(/obj/item/clothing/under/color/jumpskirt) - /obj/item/clothing/under/color/random - /obj/item/clothing/under/color/grey/ancient - /obj/item/clothing/under/color/black/ghost - /obj/item/clothing/under/rank/prisoner) if(ishuman(loc)) @@ -35,7 +35,7 @@ /obj/item/clothing/under/color/jumpskirt/random icon_state = "random_jumpsuit" //Skirt variant needed -/obj/item/clothing/under/color/jumpskirt/random/Initialize() +/obj/item/clothing/under/color/jumpskirt/random/Initialize(mapload) ..() var/obj/item/clothing/under/color/jumpskirt/C = pick(subtypesof(/obj/item/clothing/under/color/jumpskirt) - /obj/item/clothing/under/color/jumpskirt/random - /obj/item/clothing/under/rank/prisoner/skirt) if(ishuman(loc)) @@ -55,7 +55,7 @@ /obj/item/clothing/under/color/black/ghost item_flags = DROPDEL -/obj/item/clothing/under/color/black/ghost/Initialize() +/obj/item/clothing/under/color/black/ghost/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, CULT_TRAIT) diff --git a/code/modules/clothing/under/costume.dm b/code/modules/clothing/under/costume.dm index 8ff3d3e8455..f617916d428 100644 --- a/code/modules/clothing/under/costume.dm +++ b/code/modules/clothing/under/costume.dm @@ -87,7 +87,7 @@ /obj/item/clothing/under/costume/kilt/highlander desc = "You're the only one worthy of this kilt." -/obj/item/clothing/under/costume/kilt/highlander/Initialize() +/obj/item/clothing/under/costume/kilt/highlander/Initialize(mapload) . = ..() ADD_TRAIT(src, TRAIT_NODROP, HIGHLANDER) @@ -114,7 +114,7 @@ fitted = FEMALE_UNIFORM_TOP can_adjust = FALSE -/obj/item/clothing/under/costume/maid/Initialize() +/obj/item/clothing/under/costume/maid/Initialize(mapload) . = ..() var/obj/item/clothing/accessory/maidapron/A = new (src) attach_accessory(A) diff --git a/code/modules/clothing/under/jobs/civilian/clown_mime.dm b/code/modules/clothing/under/jobs/civilian/clown_mime.dm index 45cc50a21f2..50258e60c5f 100644 --- a/code/modules/clothing/under/jobs/civilian/clown_mime.dm +++ b/code/modules/clothing/under/jobs/civilian/clown_mime.dm @@ -32,7 +32,7 @@ fitted = FEMALE_UNIFORM_TOP can_adjust = FALSE -/obj/item/clothing/under/rank/civilian/clown/Initialize() +/obj/item/clothing/under/rank/civilian/clown/Initialize(mapload) . = ..() AddComponent(/datum/component/squeak, list('sound/items/bikehorn.ogg'=1), 50, falloff_exponent = 20) //die off quick please AddElement(/datum/element/swabable, CELL_LINE_TABLE_CLOWN, CELL_VIRUS_TABLE_GENERIC, rand(2,3), 0) diff --git a/code/modules/events/holiday/halloween.dm b/code/modules/events/holiday/halloween.dm index 32eed690d30..40c66868358 100644 --- a/code/modules/events/holiday/halloween.dm +++ b/code/modules/events/holiday/halloween.dm @@ -44,7 +44,7 @@ icon = 'icons/obj/halloween_items.dmi' icon_state = "treatbag" -/obj/item/storage/spooky/Initialize() +/obj/item/storage/spooky/Initialize(mapload) . = ..() for(var/distrobuteinbag in 0 to 5) var/type = pick(/obj/item/food/cookie/sugar/spookyskull, diff --git a/code/modules/events/holiday/vday.dm b/code/modules/events/holiday/vday.dm index 4facb481425..57fd38bb4e0 100644 --- a/code/modules/events/holiday/vday.dm +++ b/code/modules/events/holiday/vday.dm @@ -60,7 +60,7 @@ resistance_flags = FLAMMABLE w_class = WEIGHT_CLASS_TINY -/obj/item/valentine/Initialize() +/obj/item/valentine/Initialize(mapload) . = ..() message = pick(strings(VALENTINE_FILE, "valentines")) @@ -100,7 +100,7 @@ food_reagents = list(/datum/reagent/consumable/sugar = 2) junkiness = 5 -/obj/item/food/candyheart/Initialize() +/obj/item/food/candyheart/Initialize(mapload) . = ..() desc = pick(strings(VALENTINE_FILE, "candyhearts")) icon_state = pick("candyheart", "candyheart2", "candyheart3", "candyheart4") diff --git a/code/modules/events/holiday/xmas.dm b/code/modules/events/holiday/xmas.dm index 51dfa00a0ff..76e96c86512 100644 --- a/code/modules/events/holiday/xmas.dm +++ b/code/modules/events/holiday/xmas.dm @@ -49,7 +49,7 @@ var/festive_tree = /obj/structure/flora/tree/pine/xmas var/christmas_tree = /obj/structure/flora/tree/pine/xmas/presents -/obj/effect/spawner/xmastree/Initialize() +/obj/effect/spawner/xmastree/Initialize(mapload) ..() if((CHRISTMAS in SSevents.holidays) && christmas_tree) new christmas_tree(get_turf(src)) diff --git a/code/modules/events/pirates.dm b/code/modules/events/pirates.dm index acc48cfe183..bfd03de9e08 100644 --- a/code/modules/events/pirates.dm +++ b/code/modules/events/pirates.dm @@ -53,7 +53,7 @@ threat.answer_callback = CALLBACK(GLOBAL_PROC, .proc/pirates_answered, threat, payoff, ship_name, initial_send_time, response_max_time, ship_template) addtimer(CALLBACK(GLOBAL_PROC, .proc/spawn_pirates, threat, ship_template, FALSE), response_max_time) SScommunications.send_message(threat,unique = TRUE) - + /proc/pirates_answered(datum/comm_message/threat, payoff, ship_name, initial_send_time, response_max_time, ship_template) if(world.time > initial_send_time + response_max_time) priority_announce("Too late to beg for mercy!",sender_override = ship_name) @@ -270,7 +270,7 @@ var/sending_timer var/cargo_hold_id -/obj/machinery/computer/piratepad_control/Initialize() +/obj/machinery/computer/piratepad_control/Initialize(mapload) ..() return INITIALIZE_HINT_LATELOAD diff --git a/code/modules/events/shuttle_loan.dm b/code/modules/events/shuttle_loan.dm index fd22f6c2cd6..989796252d8 100644 --- a/code/modules/events/shuttle_loan.dm +++ b/code/modules/events/shuttle_loan.dm @@ -258,7 +258,7 @@ name = "Objectives of a Bee Liberation Front Operative" info = "Objective #1. Liberate all bees on the NT transport vessel 2416/B. Success!