mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-28 22:48:38 +01:00
Initialize fixing (#17279)
* Initialoize fixing * diff fix * add init grep test * fixed missed ones * . * some more * ,
This commit is contained in:
@@ -138,7 +138,7 @@
|
||||
var/stasis_level = 3 //Every 'this' life ticks are applied to the mob (when life_ticks%stasis_level == 1)
|
||||
var/obj/item/reagent_containers/syringe/syringe
|
||||
|
||||
/obj/structure/closet/body_bag/cryobag/Initialize()
|
||||
/obj/structure/closet/body_bag/cryobag/Initialize(mapload)
|
||||
tank = new tank_type(null) //It's in nullspace to prevent ejection when the bag is opened.
|
||||
..()
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
list(REAGENT_ID_IMPEDREZENE = 15) = 2,
|
||||
list(REAGENT_ID_ZOMBIEPOWDER = 10) = 1)
|
||||
|
||||
/obj/item/reagent_containers/glass/beaker/vial/random/Initialize()
|
||||
/obj/item/reagent_containers/glass/beaker/vial/random/Initialize(mapload)
|
||||
. = ..()
|
||||
if(is_open_container())
|
||||
flags ^= OPENCONTAINER
|
||||
@@ -62,7 +62,7 @@
|
||||
desc = "A powdered form of what appears to be [R.name]. There's about [reagents.total_volume] units here."
|
||||
return ..()
|
||||
|
||||
/obj/item/reagent_containers/powder/Initialize()
|
||||
/obj/item/reagent_containers/powder/Initialize(mapload)
|
||||
. = ..()
|
||||
get_appearance()
|
||||
|
||||
|
||||
@@ -95,7 +95,7 @@ var/global/list/obj/item/communicator/all_communicators = list()
|
||||
// Parameters: None
|
||||
// Description: Adds the new communicator to the global list of all communicators, sorts the list, obtains a reference to the Exonet node, then tries to
|
||||
// assign the device to the holder's name automatically in a spectacularly shitty way.
|
||||
/obj/item/communicator/Initialize()
|
||||
/obj/item/communicator/Initialize(mapload)
|
||||
. = ..()
|
||||
all_communicators += src
|
||||
all_communicators = sortAtom(all_communicators)
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
/obj/item/defib_kit/get_cell()
|
||||
return bcell
|
||||
|
||||
/obj/item/defib_kit/New() //starts without a cell for rnd
|
||||
..()
|
||||
/obj/item/defib_kit/Initialize(mapload) //starts without a cell for rnd
|
||||
. = ..()
|
||||
if(ispath(paddles))
|
||||
paddles = new paddles(src, src)
|
||||
else
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
pickup_sound = 'sound/items/pickup/device.ogg'
|
||||
drop_sound = 'sound/items/drop/device.ogg'
|
||||
|
||||
/obj/item/flash/Initialize()
|
||||
/obj/item/flash/Initialize(mapload)
|
||||
. = ..()
|
||||
power_supply = new cell_type(src)
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
pickup_sound = 'sound/items/pickup/device.ogg'
|
||||
drop_sound = 'sound/items/drop/device.ogg'
|
||||
|
||||
/obj/item/flashlight/Initialize()
|
||||
/obj/item/flashlight/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
if(power_use && cell_type)
|
||||
@@ -367,7 +367,7 @@
|
||||
pickup_sound = 'sound/items/pickup/gloves.ogg'
|
||||
light_system = MOVABLE_LIGHT
|
||||
|
||||
/obj/item/flashlight/flare/Initialize()
|
||||
/obj/item/flashlight/flare/Initialize(mapload)
|
||||
fuel = rand(800, 1000) // Sorry for changing this so much but I keep under-estimating how long X number of ticks last in seconds.
|
||||
. = ..()
|
||||
|
||||
@@ -430,7 +430,7 @@
|
||||
var/fuel = 0
|
||||
power_use = 0
|
||||
|
||||
/obj/item/flashlight/glowstick/Initialize()
|
||||
/obj/item/flashlight/glowstick/Initialize(mapload)
|
||||
fuel = rand(1600, 2000)
|
||||
. = ..()
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
pickup_sound = 'sound/items/pickup/device.ogg'
|
||||
drop_sound = 'sound/items/drop/device.ogg'
|
||||
|
||||
/obj/item/geiger/Initialize()
|
||||
/obj/item/geiger/Initialize(mapload)
|
||||
soundloop = new(list(src), FALSE)
|
||||
return ..()
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
var/last_tick //used to delay the powercheck
|
||||
var/wiresexposed = 0
|
||||
|
||||
/obj/item/geiger/wall/Initialize()
|
||||
/obj/item/geiger/wall/Initialize(mapload)
|
||||
START_PROCESSING(SSobj, src)
|
||||
soundloop = new(list(src), FALSE)
|
||||
return ..()
|
||||
|
||||
@@ -26,7 +26,7 @@ GLOBAL_LIST_EMPTY(GPS_list)
|
||||
pickup_sound = 'sound/items/pickup/device.ogg'
|
||||
drop_sound = 'sound/items/drop/device.ogg'
|
||||
|
||||
/obj/item/gps/Initialize()
|
||||
/obj/item/gps/Initialize(mapload)
|
||||
. = ..()
|
||||
compass = new(src)
|
||||
GLOB.GPS_list += src
|
||||
|
||||
@@ -45,8 +45,8 @@ GLOBAL_LIST_BOILERPLATE(all_pai_cards, /obj/item/paicard)
|
||||
if(istype(rig))
|
||||
rig.forced_move(direction, user)
|
||||
|
||||
/obj/item/paicard/New()
|
||||
..()
|
||||
/obj/item/paicard/Initialize(mapload)
|
||||
. = ..()
|
||||
add_overlay("pai-off")
|
||||
|
||||
/obj/item/paicard/Destroy()
|
||||
|
||||
@@ -346,7 +346,7 @@ var/global/list/paikeys = list()
|
||||
icon_state = "broken"
|
||||
pickup_sound = 'sound/items/pickup/card.ogg'
|
||||
drop_sound = 'sound/items/drop/card.ogg'
|
||||
/obj/item/paiparts/Initialize()
|
||||
/obj/item/paiparts/Initialize(mapload)
|
||||
. = ..()
|
||||
pixel_x = rand(-10,10)
|
||||
pixel_y = rand(-10,10)
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
drop_sound = 'sound/items/drop/component.ogg'
|
||||
pickup_sound = 'sound/items/pickup/component.ogg'
|
||||
|
||||
/obj/item/radio/headset/Initialize()
|
||||
/obj/item/radio/headset/Initialize(mapload)
|
||||
. = ..()
|
||||
internal_channels.Cut()
|
||||
if(ks1type)
|
||||
@@ -607,7 +607,7 @@
|
||||
syndie = 1
|
||||
ks1type = /obj/item/encryptionkey/raider
|
||||
|
||||
/obj/item/radio/headset/raider/Initialize()
|
||||
/obj/item/radio/headset/raider/Initialize(mapload)
|
||||
. = ..()
|
||||
set_frequency(RAID_FREQ)
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
var/number = 0
|
||||
var/wiresexposed = FALSE
|
||||
|
||||
/obj/item/radio/intercom/Initialize()
|
||||
/obj/item/radio/intercom/Initialize(mapload)
|
||||
. = ..()
|
||||
var/area/A = get_area(src)
|
||||
if(A)
|
||||
@@ -73,26 +73,26 @@
|
||||
|
||||
/obj/item/radio/intercom/omni
|
||||
name = "global announcer"
|
||||
/obj/item/radio/intercom/omni/Initialize()
|
||||
/obj/item/radio/intercom/omni/Initialize(mapload)
|
||||
channels = radiochannels.Copy()
|
||||
return ..()
|
||||
|
||||
/obj/item/radio/intercom/Initialize()
|
||||
/obj/item/radio/intercom/Initialize(mapload)
|
||||
. = ..()
|
||||
circuit = new circuit(src)
|
||||
|
||||
/obj/item/radio/intercom/department/medbay/Initialize()
|
||||
/obj/item/radio/intercom/department/medbay/Initialize(mapload)
|
||||
. = ..()
|
||||
internal_channels = default_medbay_channels.Copy()
|
||||
|
||||
/obj/item/radio/intercom/department/security/Initialize()
|
||||
/obj/item/radio/intercom/department/security/Initialize(mapload)
|
||||
. = ..()
|
||||
internal_channels = list(
|
||||
num2text(PUB_FREQ) = list(),
|
||||
num2text(SEC_I_FREQ) = list(access_security)
|
||||
)
|
||||
|
||||
/obj/item/radio/intercom/entertainment/Initialize()
|
||||
/obj/item/radio/intercom/entertainment/Initialize(mapload)
|
||||
. = ..()
|
||||
internal_channels = list(
|
||||
num2text(PUB_FREQ) = list(),
|
||||
@@ -106,7 +106,7 @@
|
||||
subspace_transmission = TRUE
|
||||
syndie = TRUE
|
||||
|
||||
/obj/item/radio/intercom/syndicate/Initialize()
|
||||
/obj/item/radio/intercom/syndicate/Initialize(mapload)
|
||||
. = ..()
|
||||
internal_channels[num2text(SYND_FREQ)] = list(access_syndicate)
|
||||
|
||||
@@ -117,7 +117,7 @@
|
||||
subspace_transmission = TRUE
|
||||
syndie = TRUE
|
||||
|
||||
/obj/item/radio/intercom/raider/Initialize()
|
||||
/obj/item/radio/intercom/raider/Initialize(mapload)
|
||||
. = ..()
|
||||
internal_channels[num2text(RAID_FREQ)] = list(access_syndicate)
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ var/global/list/active_radio_jammers = list()
|
||||
pickup_sound = 'sound/items/pickup/device.ogg'
|
||||
drop_sound = 'sound/items/drop/device.ogg'
|
||||
|
||||
/obj/item/radio_jammer/Initialize()
|
||||
/obj/item/radio_jammer/Initialize(mapload)
|
||||
. = ..()
|
||||
power_source = new(src)
|
||||
update_icon() // So it starts with the full overlay.
|
||||
|
||||
@@ -766,6 +766,6 @@ GLOBAL_DATUM(autospeaker, /mob/living/silicon/ai/announcer)
|
||||
/obj/item/radio/phone/medbay
|
||||
frequency = MED_I_FREQ
|
||||
|
||||
/obj/item/radio/phone/medbay/Initialize()
|
||||
/obj/item/radio/phone/medbay/Initialize(mapload)
|
||||
. = ..()
|
||||
internal_channels = default_medbay_channels.Copy()
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
subspace_transmission = TRUE
|
||||
adhoc_fallback = TRUE
|
||||
|
||||
/obj/item/radio/emergency/Initialize()
|
||||
/obj/item/radio/emergency/Initialize(mapload)
|
||||
. = ..()
|
||||
internal_channels = default_medbay_channels.Copy()
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
var/obj/item/radio/bluespacehandset/linked/handset = /obj/item/radio/bluespacehandset/linked
|
||||
|
||||
/obj/item/bluespaceradio/Initialize()
|
||||
/obj/item/bluespaceradio/Initialize(mapload)
|
||||
. = ..()
|
||||
if(ispath(handset))
|
||||
handset = new handset(src, src)
|
||||
|
||||
@@ -28,7 +28,7 @@ var/global/mob/living/carbon/human/dummy/mannequin/sleevemate_mob
|
||||
pickup_sound = 'sound/items/pickup/device.ogg'
|
||||
drop_sound = 'sound/items/drop/device.ogg'
|
||||
|
||||
/obj/item/sleevemate/Initialize()
|
||||
/obj/item/sleevemate/Initialize(mapload)
|
||||
. = ..()
|
||||
our_db = SStranscore.db_by_key(db_key)
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
/obj/item/suit_cooling_unit/ui_action_click(mob/user, actiontype)
|
||||
toggle(user)
|
||||
|
||||
/obj/item/suit_cooling_unit/Initialize()
|
||||
/obj/item/suit_cooling_unit/Initialize(mapload)
|
||||
. = ..()
|
||||
if(ispath(cell))
|
||||
cell = new cell(src)
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
pickup_sound = 'sound/items/pickup/device.ogg'
|
||||
drop_sound = 'sound/items/drop/device.ogg'
|
||||
|
||||
/obj/item/perfect_tele/Initialize()
|
||||
/obj/item/perfect_tele/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
flags |= NOBLUDGEON
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
. += "Video feed is [camera.status ? "on" : "off"]"
|
||||
. += "Audio feed is [radio.broadcasting ? "on" : "off"]"
|
||||
|
||||
/obj/item/tvcamera/Initialize()
|
||||
/obj/item/tvcamera/Initialize(mapload)
|
||||
. = ..()
|
||||
camera = new(src)
|
||||
camera.c_tag = channel
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
var/selected_cat
|
||||
|
||||
// The hidden uplink MUST be inside an obj/item's contents.
|
||||
/obj/item/uplink/hidden/Initialize()
|
||||
/obj/item/uplink/hidden/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!isitem(loc))
|
||||
return INITIALIZE_HINT_QDEL
|
||||
@@ -217,8 +217,8 @@
|
||||
//
|
||||
// Includes normal radio uplink, multitool uplink,
|
||||
// implant uplink (not the implant tool) and a preset headset uplink.
|
||||
/obj/item/radio/uplink/Initialize()
|
||||
..()
|
||||
/obj/item/radio/uplink/Initialize(mapload)
|
||||
. = ..()
|
||||
hidden_uplink = new(src)
|
||||
icon_state = "radio"
|
||||
|
||||
@@ -237,6 +237,6 @@
|
||||
/obj/item/radio/headset/uplink
|
||||
traitor_frequency = 1445
|
||||
|
||||
/obj/item/radio/headset/uplink/Initialize()
|
||||
/obj/item/radio/headset/uplink/Initialize(mapload)
|
||||
. = ..()
|
||||
hidden_uplink = new(src)
|
||||
|
||||
@@ -7,16 +7,12 @@
|
||||
icon_state = "drop_marker"
|
||||
|
||||
/obj/effect/calldown_attack/Initialize(mapload)
|
||||
..()
|
||||
return INITIALIZE_HINT_LATELOAD
|
||||
|
||||
/obj/effect/calldown_attack/LateInitialize()
|
||||
var/delay = rand(25, 30)
|
||||
spawn(delay-7)
|
||||
new /obj/effect/falling_effect/calldown_attack(src.loc)
|
||||
spawn(delay)
|
||||
qdel(src)
|
||||
addtimer(CALLBACK(src, PROC_REF(spawn_object)), delay-7)
|
||||
|
||||
/obj/effect/calldown_attack/proc/spawn_object()
|
||||
new /obj/effect/falling_effect/calldown_attack(loc)
|
||||
QDEL_IN(src, 0.7 SECONDS)
|
||||
|
||||
/obj/effect/falling_effect/calldown_attack
|
||||
falling_type = /obj/effect/illusionary_fall
|
||||
@@ -42,4 +38,4 @@
|
||||
if(!L.apply_damage(35, BRUTE, target_zone, blocked, soaked))
|
||||
break
|
||||
playsound(src, 'sound/effects/clang2.ogg', 50, 1)
|
||||
qdel(src)
|
||||
qdel(src)
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
"JOINING THE NAVY? HERE'S 15 EXPERT TIPS FOR AVOIDING BRAIN PARASITES"
|
||||
)
|
||||
|
||||
/obj/item/tabloid/Initialize()
|
||||
/obj/item/tabloid/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
pixel_x = 5-rand(10)
|
||||
|
||||
@@ -195,7 +195,7 @@
|
||||
return
|
||||
return ..()
|
||||
|
||||
/obj/item/kit/suit/rig/debug/Initialize()
|
||||
/obj/item/kit/suit/rig/debug/Initialize(mapload)
|
||||
set_info("debug suit", "This is a test", "debug", CUSTOM_ITEM_OBJ, CUSTOM_ITEM_MOB)
|
||||
. = ..()
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ var/list/marker_beacon_colors = list(
|
||||
/obj/item/stack/marker_beacon/hundred
|
||||
amount = 100
|
||||
|
||||
/obj/item/stack/marker_beacon/Initialize()
|
||||
/obj/item/stack/marker_beacon/Initialize(mapload)
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/obj/item/stack/medical/advanced
|
||||
icon = 'icons/obj/stacks_vr.dmi'
|
||||
|
||||
/obj/item/stack/medical/advanced/Initialize()
|
||||
/obj/item/stack/medical/advanced/Initialize(mapload)
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
w_class = ITEMSIZE_TINY
|
||||
max_amount = 30
|
||||
|
||||
/obj/item/stack/arcadeticket/Initialize()
|
||||
/obj/item/stack/arcadeticket/Initialize(mapload)
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
@@ -29,4 +29,4 @@
|
||||
qdel(src)
|
||||
|
||||
/obj/item/stack/arcadeticket/thirty
|
||||
amount = 30
|
||||
amount = 30
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
|
||||
|
||||
/obj/item/stack/tile/Initialize()
|
||||
/obj/item/stack/tile/Initialize(mapload)
|
||||
. = ..()
|
||||
randpixel_xy()
|
||||
if(craftable)
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
var/wins = 0 // This mech's win count in combat
|
||||
var/losses = 0 // ...And their loss count in combat
|
||||
|
||||
/obj/item/toy/mecha/Initialize()
|
||||
/obj/item/toy/mecha/Initialize(mapload)
|
||||
. = ..()
|
||||
desc = "Mini-Mecha action figure! Collect them all! Attack your friends or another mech with one to initiate epic mech combat! [desc]."
|
||||
combat_health = max_combat_health
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
var/matter_chances = list() //List of lists: list(mat_name, chance, amount)
|
||||
|
||||
|
||||
/obj/item/trash/material/Initialize()
|
||||
/obj/item/trash/material/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!matter)
|
||||
matter = list()
|
||||
@@ -29,7 +29,7 @@
|
||||
list(MAT_PLASTEEL, 5, 10)
|
||||
)
|
||||
|
||||
/obj/item/trash/material/metal/Initialize()
|
||||
/obj/item/trash/material/metal/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "metal[rand(4)]"
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
list(MAT_DIAMOND, 4, 2),
|
||||
)
|
||||
|
||||
/obj/item/trash/material/circuit/Initialize()
|
||||
/obj/item/trash/material/circuit/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "circuit[rand(3)]"
|
||||
|
||||
@@ -67,6 +67,6 @@
|
||||
list(MAT_DIAMOND, 5, 2),
|
||||
)
|
||||
|
||||
/obj/item/trash/material/device/Initialize()
|
||||
/obj/item/trash/material/device/Initialize(mapload)
|
||||
. = ..()
|
||||
icon_state = "device[rand(3)]"
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
/obj/item/uav/loaded
|
||||
cell_type = /obj/item/cell/high
|
||||
|
||||
/obj/item/uav/Initialize()
|
||||
/obj/item/uav/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
if(!cell && cell_type)
|
||||
|
||||
@@ -270,7 +270,7 @@ AI MODULES
|
||||
origin_tech = list(TECH_DATA = 3, TECH_MATERIAL = 4)
|
||||
|
||||
// VOREstation edit: use map default laws
|
||||
/obj/item/aiModule/reset/Initialize()
|
||||
/obj/item/aiModule/reset/Initialize(mapload)
|
||||
. = ..()
|
||||
laws = new global.using_map.default_law_type // Pull from loaded map
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
var/material_to_use = DEFAULT_WALL_MATERIAL // So badmins can make RCDs that print diamond walls.
|
||||
var/make_rwalls = FALSE // If true, when building walls, they will be reinforced.
|
||||
/* VOREStation Removal - Unused
|
||||
/obj/item/rcd/Initialize()
|
||||
/obj/item/rcd/Initialize(mapload)
|
||||
|
||||
src.spark_system = new /datum/effect/effect/system/spark_spread
|
||||
spark_system.set_up(5, 0, src)
|
||||
@@ -143,7 +143,7 @@
|
||||
// RCD variants.
|
||||
|
||||
// This one starts full.
|
||||
/obj/item/rcd/loaded/Initialize()
|
||||
/obj/item/rcd/loaded/Initialize(mapload)
|
||||
stored_matter = max_stored_matter
|
||||
return ..()
|
||||
|
||||
@@ -154,7 +154,7 @@
|
||||
used in the construction of hulls for starships. Reload with compressed matter cartridges."
|
||||
material_to_use = MAT_STEELHULL
|
||||
|
||||
/obj/item/rcd/shipwright/loaded/Initialize()
|
||||
/obj/item/rcd/shipwright/loaded/Initialize(mapload)
|
||||
stored_matter = max_stored_matter
|
||||
return ..()
|
||||
|
||||
@@ -168,7 +168,7 @@
|
||||
toolspeed = 0.5 // Twice as fast.
|
||||
max_stored_matter = RCD_MAX_CAPACITY * 3 // Three times capacity.
|
||||
|
||||
/obj/item/rcd/advanced/loaded/Initialize()
|
||||
/obj/item/rcd/advanced/loaded/Initialize(mapload)
|
||||
stored_matter = max_stored_matter
|
||||
return ..()
|
||||
|
||||
@@ -185,7 +185,7 @@
|
||||
var/make_cell = TRUE // If false, initialize() won't spawn a cell for this.
|
||||
var/electric_cost_coefficent = 83.33 // Higher numbers make it less efficent. 86.3... means it should matche the standard RCD capacity on a 10k cell.
|
||||
|
||||
/obj/item/rcd/electric/Initialize()
|
||||
/obj/item/rcd/electric/Initialize(mapload)
|
||||
if(make_cell)
|
||||
cell = new /obj/item/cell/high(src)
|
||||
return ..()
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
slot_r_hand_str = 'icons/mob/items/righthand_vr.dmi',
|
||||
)
|
||||
|
||||
/obj/item/rcd/Initialize()
|
||||
/obj/item/rcd/Initialize(mapload)
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
var/static/image/radial_image_random = image(icon = 'icons/mob/radial_vr.dmi', icon_state = "sheet-random")
|
||||
|
||||
|
||||
/obj/item/rms/Initialize()
|
||||
/obj/item/rms/Initialize(mapload)
|
||||
. = ..()
|
||||
src.spark_system = new /datum/effect/effect/system/spark_spread
|
||||
spark_system.set_up(5, 0, src)
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
"Aux" = PIPING_LAYER_AUX
|
||||
)
|
||||
|
||||
/obj/item/pipe_dispenser/Initialize()
|
||||
/obj/item/pipe_dispenser/Initialize(mapload)
|
||||
. = ..()
|
||||
src.spark_system = new /datum/effect/effect/system/spark_spread
|
||||
spark_system.set_up(5, 0, src)
|
||||
|
||||
@@ -112,13 +112,13 @@
|
||||
/obj/item/flame/candle/everburn
|
||||
wax = 99999
|
||||
|
||||
/obj/item/flame/candle/everburn/Initialize()
|
||||
/obj/item/flame/candle/everburn/Initialize(mapload)
|
||||
. = ..()
|
||||
light(span_notice("\The [src] mysteriously lights itself!."))
|
||||
|
||||
/obj/item/flame/candle/candelabra/everburn
|
||||
wax = 99999
|
||||
|
||||
/obj/item/flame/candle/candelabra/everburn/Initialize()
|
||||
/obj/item/flame/candle/candelabra/everburn/Initialize(mapload)
|
||||
. = ..()
|
||||
light(span_notice("\The [src] mysteriously lights itself!."))
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
/obj/item/cane/concealed
|
||||
var/concealed_blade
|
||||
|
||||
/obj/item/cane/concealed/Initialize()
|
||||
/obj/item/cane/concealed/Initialize(mapload)
|
||||
. = ..()
|
||||
var/obj/item/material/sword/katana/caneblade/temp_blade = new(src)
|
||||
concealed_blade = temp_blade
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
var/full_icon = "full"
|
||||
var/capture_chance_modifier = 1 //So we can have special subtypes with different capture rates!
|
||||
|
||||
/obj/item/capture_crystal/Initialize()
|
||||
/obj/item/capture_crystal/Initialize(mapload)
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
@@ -847,7 +847,7 @@
|
||||
list(/mob/living/simple_mob/vore/devil)
|
||||
)
|
||||
|
||||
/obj/item/capture_crystal/random/Initialize()
|
||||
/obj/item/capture_crystal/random/Initialize(mapload)
|
||||
var/subchoice = pickweight(possible_mob_types) //Some of the lists have nested lists, so let's pick one of them
|
||||
var/choice = pickweight(subchoice) //And then we'll pick something from whatever's left
|
||||
spawn_mob_type = choice //Now when someone uses this, we'll spawn whatever we picked!
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
if(wrapped)
|
||||
add_overlay("[initial(icon_state)]_wrapper")
|
||||
|
||||
/obj/item/clothing/mask/chewable/Initialize()
|
||||
/obj/item/clothing/mask/chewable/Initialize(mapload)
|
||||
. = ..()
|
||||
flags |= NOREACT // so it doesn't react until you light it
|
||||
create_reagents(chem_volume) // making the cigarrete a chemical holder with a maximum volume of 15
|
||||
@@ -118,7 +118,7 @@
|
||||
type_butt = /obj/item/trash/spitgum
|
||||
wrapped = TRUE
|
||||
|
||||
/obj/item/clothing/mask/chewable/tobacco/nico/Initialize()
|
||||
/obj/item/clothing/mask/chewable/tobacco/nico/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(REAGENT_ID_NICOTINE, 2)
|
||||
color = reagents.get_color()
|
||||
@@ -136,7 +136,7 @@
|
||||
slot_flags = SLOT_BELT
|
||||
starts_with = list(/obj/item/clothing/mask/chewable/tobacco = 6)
|
||||
|
||||
/obj/item/storage/chewables/Initialize()
|
||||
/obj/item/storage/chewables/Initialize(mapload)
|
||||
. = ..()
|
||||
make_exact_fit()
|
||||
|
||||
@@ -224,7 +224,7 @@
|
||||
item_state = "gum"
|
||||
wrapped = TRUE
|
||||
|
||||
/obj/item/clothing/mask/chewable/candy/gum/Initialize()
|
||||
/obj/item/clothing/mask/chewable/candy/gum/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(pick(REAGENT_ID_BANANA,REAGENT_ID_BERRYJUICE,REAGENT_ID_GRAPEJUICE,REAGENT_ID_LEMONJUICE,REAGENT_ID_LIMEJUICE,REAGENT_ID_ORANGEJUICE,REAGENT_ID_WATERMELONJUICE),10)
|
||||
color = reagents.get_color()
|
||||
@@ -261,7 +261,7 @@
|
||||
if(chewtime < 1)
|
||||
spitout(0)
|
||||
|
||||
/obj/item/clothing/mask/chewable/candy/lolli/Initialize()
|
||||
/obj/item/clothing/mask/chewable/candy/lolli/Initialize(mapload)
|
||||
. = ..()
|
||||
reagents.add_reagent(pick(REAGENT_ID_BANANA,REAGENT_ID_BERRYJUICE,REAGENT_ID_GRAPEJUICE,REAGENT_ID_LEMONJUICE,REAGENT_ID_LIMEJUICE,REAGENT_ID_ORANGEJUICE,REAGENT_ID_WATERMELONJUICE),20)
|
||||
color = reagents.get_color()
|
||||
|
||||
@@ -101,7 +101,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
||||
blood_sprite_state = null //Can't bloody these
|
||||
drop_sound = 'sound/items/cigs_lighters/cig_snuff.ogg'
|
||||
|
||||
/obj/item/clothing/mask/smokable/Initialize()
|
||||
/obj/item/clothing/mask/smokable/Initialize(mapload)
|
||||
. = ..()
|
||||
flags |= NOREACT // so it doesn't react until you light it
|
||||
create_reagents(chem_volume) // making the cigarrete a chemical holder with a maximum volume of 15
|
||||
@@ -289,7 +289,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
||||
weldermes = span_notice("USER casually lights the NAME with FLAME.")
|
||||
ignitermes = span_notice("USER fiddles with FLAME, and manages to light their NAME.")
|
||||
|
||||
/obj/item/clothing/mask/smokable/cigarette/Initialize()
|
||||
/obj/item/clothing/mask/smokable/cigarette/Initialize(mapload)
|
||||
. = ..()
|
||||
if(nicotine_amt)
|
||||
reagents.add_reagent(REAGENT_ID_NICOTINE, nicotine_amt)
|
||||
@@ -387,7 +387,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
||||
slot_flags = SLOT_EARS
|
||||
throwforce = 1
|
||||
|
||||
/obj/item/trash/cigbutt/Initialize()
|
||||
/obj/item/trash/cigbutt/Initialize(mapload)
|
||||
. = ..()
|
||||
randpixel_xy()
|
||||
transform = turn(transform,rand(0,360))
|
||||
@@ -424,7 +424,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
||||
ignitermes = span_notice("USER fiddles with FLAME, and manages to light their NAME with the power of science.")
|
||||
is_pipe = 1
|
||||
|
||||
/obj/item/clothing/mask/smokable/pipe/Initialize()
|
||||
/obj/item/clothing/mask/smokable/pipe/Initialize(mapload)
|
||||
. = ..()
|
||||
name = "empty [initial(name)]"
|
||||
|
||||
@@ -612,7 +612,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
||||
/obj/item/flame/lighter/random
|
||||
|
||||
// Randomizes Cheap Lighters on Spawn
|
||||
/obj/item/flame/lighter/Initialize()
|
||||
/obj/item/flame/lighter/Initialize(mapload)
|
||||
. = ..()
|
||||
var/image/I = image(icon, "lighter-[pick("trans","tall","matte")]")
|
||||
I.color = pick(available_colors)
|
||||
@@ -677,7 +677,7 @@ CIGARETTE PACKETS ARE IN FANCY.DM
|
||||
activation_sound = 'sound/items/zippo_on.ogg'
|
||||
deactivation_sound = 'sound/items/zippo_off.ogg'
|
||||
|
||||
/obj/item/flame/lighter/zippo/Initialize()
|
||||
/obj/item/flame/lighter/zippo/Initialize(mapload)
|
||||
. = ..()
|
||||
cut_overlays() //Prevents the Cheap Lighter overlay from appearing on this
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
var/locked = 1
|
||||
var/emagged = 0
|
||||
|
||||
/obj/item/circuitboard/security/Initialize()
|
||||
/obj/item/circuitboard/security/Initialize(mapload)
|
||||
. = ..()
|
||||
network = using_map.station_networks
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
build_path = /obj/machinery/computer/security/engineering
|
||||
req_access = list()
|
||||
|
||||
/obj/item/circuitboard/security/engineering/Initialize()
|
||||
/obj/item/circuitboard/security/engineering/Initialize(mapload)
|
||||
. = ..()
|
||||
network = engineering_networks
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
board_type = new /datum/frame/frame_types/display
|
||||
matter = list(MAT_STEEL = 50, MAT_GLASS = 50)
|
||||
|
||||
/obj/item/circuitboard/security/telescreen/entertainment/Initialize()
|
||||
/obj/item/circuitboard/security/telescreen/entertainment/Initialize(mapload)
|
||||
. = ..()
|
||||
network = NETWORK_THUNDER
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
icon_state = "trinketbox"
|
||||
var/datum/tgui_module/appearance_changer/mirror/coskit/M
|
||||
|
||||
/obj/item/makeover/Initialize()
|
||||
/obj/item/makeover/Initialize(mapload)
|
||||
. = ..()
|
||||
M = new(src, null)
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
var/has_radiation = TRUE
|
||||
// Traitgenes edit end
|
||||
|
||||
/obj/item/dnainjector/Initialize() // Traitgenes edit - Moved to init
|
||||
/obj/item/dnainjector/Initialize(mapload) // Traitgenes edit - Moved to init
|
||||
if(datatype && block)
|
||||
buf=new
|
||||
buf.dna=new
|
||||
@@ -168,54 +168,54 @@
|
||||
desc = "This injects the person with DNA."
|
||||
|
||||
// Purely rando
|
||||
/obj/item/dnainjector/random/Initialize()
|
||||
/obj/item/dnainjector/random/Initialize(mapload)
|
||||
pick_block( pick(GLOB.dna_genes_good + GLOB.dna_genes_neutral + GLOB.dna_genes_bad), FALSE, TRUE)
|
||||
. = ..()
|
||||
|
||||
/obj/item/dnainjector/random_labeled/Initialize()
|
||||
/obj/item/dnainjector/random_labeled/Initialize(mapload)
|
||||
pick_block( pick(GLOB.dna_genes_good + GLOB.dna_genes_neutral + GLOB.dna_genes_bad), TRUE, TRUE)
|
||||
. = ..()
|
||||
|
||||
// Good/bad but also neutral genes mixed in, less OP selection of genes
|
||||
/obj/item/dnainjector/random_good/Initialize()
|
||||
/obj/item/dnainjector/random_good/Initialize(mapload)
|
||||
pick_block( pick(GLOB.dna_genes_good + GLOB.dna_genes_neutral ), FALSE, TRUE)
|
||||
. = ..()
|
||||
|
||||
/obj/item/dnainjector/random_good_labeled/Initialize()
|
||||
/obj/item/dnainjector/random_good_labeled/Initialize(mapload)
|
||||
pick_block( pick(GLOB.dna_genes_good + GLOB.dna_genes_neutral ), TRUE, TRUE)
|
||||
. = ..()
|
||||
|
||||
/obj/item/dnainjector/random_bad/Initialize()
|
||||
/obj/item/dnainjector/random_bad/Initialize(mapload)
|
||||
pick_block( pick(GLOB.dna_genes_bad + GLOB.dna_genes_neutral ), FALSE, TRUE)
|
||||
. = ..()
|
||||
|
||||
/obj/item/dnainjector/random_bad_labeled/Initialize()
|
||||
/obj/item/dnainjector/random_bad_labeled/Initialize(mapload)
|
||||
pick_block( pick(GLOB.dna_genes_bad + GLOB.dna_genes_neutral ), TRUE, TRUE)
|
||||
. = ..()
|
||||
|
||||
// Purely good/bad genes, intended to be usually good rewards or punishments
|
||||
/obj/item/dnainjector/random_verygood/Initialize()
|
||||
/obj/item/dnainjector/random_verygood/Initialize(mapload)
|
||||
pick_block( pick(GLOB.dna_genes_good), FALSE, FALSE)
|
||||
. = ..()
|
||||
|
||||
/obj/item/dnainjector/random_verygood_labeled/Initialize()
|
||||
/obj/item/dnainjector/random_verygood_labeled/Initialize(mapload)
|
||||
pick_block( pick(GLOB.dna_genes_good), TRUE, FALSE)
|
||||
. = ..()
|
||||
|
||||
/obj/item/dnainjector/random_verybad/Initialize()
|
||||
/obj/item/dnainjector/random_verybad/Initialize(mapload)
|
||||
pick_block( pick(GLOB.dna_genes_bad), FALSE, FALSE)
|
||||
. = ..()
|
||||
|
||||
/obj/item/dnainjector/random_verybad_labeled/Initialize()
|
||||
/obj/item/dnainjector/random_verybad_labeled/Initialize(mapload)
|
||||
pick_block( pick(GLOB.dna_genes_bad), TRUE, FALSE)
|
||||
. = ..()
|
||||
|
||||
// Random neutral traits
|
||||
/obj/item/dnainjector/random_neutral/Initialize()
|
||||
/obj/item/dnainjector/random_neutral/Initialize(mapload)
|
||||
pick_block( pick(GLOB.dna_genes_neutral ), FALSE, TRUE)
|
||||
. = ..()
|
||||
|
||||
/obj/item/dnainjector/random_neutral_labeled/Initialize()
|
||||
/obj/item/dnainjector/random_neutral_labeled/Initialize(mapload)
|
||||
pick_block( pick(GLOB.dna_genes_neutral ), TRUE, TRUE)
|
||||
. = ..()
|
||||
|
||||
@@ -224,7 +224,7 @@
|
||||
var/trait_path
|
||||
var/disabling = FALSE
|
||||
|
||||
/obj/item/dnainjector/set_trait/Initialize()
|
||||
/obj/item/dnainjector/set_trait/Initialize(mapload)
|
||||
var/G = get_gene_from_trait(trait_path)
|
||||
if(trait_path && G)
|
||||
pick_block( G, TRUE, FALSE, disabling)
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
sprite_name = "atmos_extinguisher"
|
||||
rand_overlays = 0
|
||||
|
||||
/obj/item/extinguisher/Initialize()
|
||||
/obj/item/extinguisher/Initialize(mapload)
|
||||
create_reagents(max_water)
|
||||
reagents.add_reagent(REAGENT_ID_FIREFOAM, max_water)
|
||||
if(rand_overlays)
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
var/list/allowed_containers = list(/obj/item/reagent_containers/glass/beaker, /obj/item/reagent_containers/glass/bottle)
|
||||
var/affected_area = 3
|
||||
|
||||
/obj/item/grenade/chem_grenade/Initialize()
|
||||
/obj/item/grenade/chem_grenade/Initialize(mapload)
|
||||
. = ..()
|
||||
create_reagents(1000)
|
||||
|
||||
@@ -208,7 +208,7 @@
|
||||
stage = 2
|
||||
sealed = TRUE
|
||||
|
||||
/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)
|
||||
@@ -230,7 +230,7 @@
|
||||
stage = 2
|
||||
sealed = TRUE
|
||||
|
||||
/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)
|
||||
@@ -253,7 +253,7 @@
|
||||
stage = 2
|
||||
sealed = TRUE
|
||||
|
||||
/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)
|
||||
@@ -277,7 +277,7 @@
|
||||
path = 1
|
||||
sealed = TRUE
|
||||
|
||||
/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)
|
||||
@@ -299,7 +299,7 @@
|
||||
path = 1
|
||||
sealed = TRUE
|
||||
|
||||
/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)
|
||||
|
||||
@@ -275,7 +275,7 @@
|
||||
name = "Robot Miner ID"
|
||||
rank = JOB_SHAFT_MINER
|
||||
|
||||
/obj/item/card/id/cargo/miner/borg/Initialize()
|
||||
/obj/item/card/id/cargo/miner/borg/Initialize(mapload)
|
||||
. = ..()
|
||||
if(isrobot(loc?.loc))
|
||||
R = loc.loc
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
/obj/item/card/emag/used
|
||||
uses = 1
|
||||
|
||||
/obj/item/card/emag/used/Initialize()
|
||||
/obj/item/card/emag/used/Initialize(mapload)
|
||||
. = ..()
|
||||
uses = rand(1, 5)
|
||||
|
||||
@@ -296,7 +296,7 @@
|
||||
name = "Robot Exploration ID"
|
||||
rank = JOB_EXPLORER
|
||||
|
||||
/obj/item/card/id/exploration/borg/Initialize()
|
||||
/obj/item/card/id/exploration/borg/Initialize(mapload)
|
||||
. = ..()
|
||||
if(isrobot(loc?.loc))
|
||||
R = loc.loc
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
|
||||
return ..()
|
||||
|
||||
/obj/item/card/id/Initialize()
|
||||
/obj/item/card/id/Initialize(mapload)
|
||||
. = ..()
|
||||
var/datum/job/J = job_master.GetJob(rank)
|
||||
if(J)
|
||||
@@ -170,7 +170,7 @@
|
||||
item_state = "idgreen"
|
||||
assignment = "Synthetic"
|
||||
|
||||
/obj/item/card/id/synthetic/Initialize()
|
||||
/obj/item/card/id/synthetic/Initialize(mapload)
|
||||
. = ..()
|
||||
access = get_all_station_access().Copy() + access_synth
|
||||
|
||||
@@ -180,7 +180,7 @@
|
||||
icon_state = "id-robot-n"
|
||||
assignment = "Lost"
|
||||
|
||||
/obj/item/card/id/lost/Initialize()
|
||||
/obj/item/card/id/lost/Initialize(mapload)
|
||||
. = ..()
|
||||
access += access_lost
|
||||
|
||||
@@ -203,11 +203,11 @@
|
||||
registered_name = "Central Command"
|
||||
assignment = "General"
|
||||
|
||||
/obj/item/card/id/centcom/Initialize()
|
||||
/obj/item/card/id/centcom/Initialize(mapload)
|
||||
. = ..()
|
||||
access = get_all_centcom_access().Copy()
|
||||
|
||||
/obj/item/card/id/centcom/station/Initialize()
|
||||
/obj/item/card/id/centcom/station/Initialize(mapload)
|
||||
. = ..()
|
||||
access |= get_all_station_access()
|
||||
|
||||
@@ -217,7 +217,7 @@
|
||||
icon_state = "ert-id"
|
||||
rank = JOB_EMERGENCY_RESPONSE_TEAM
|
||||
|
||||
/obj/item/card/id/centcom/ERT/Initialize()
|
||||
/obj/item/card/id/centcom/ERT/Initialize(mapload)
|
||||
. = ..()
|
||||
access |= get_all_station_access()
|
||||
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
|
||||
var/datum/tgui_module/agentcard/agentcard_module
|
||||
|
||||
/obj/item/card/id/syndicate/Initialize()
|
||||
/obj/item/card/id/syndicate/Initialize(mapload)
|
||||
. = ..()
|
||||
agentcard_module = new(src)
|
||||
access = syndicate_access.Copy()
|
||||
|
||||
/obj/item/card/id/syndicate/station_access/Initialize()
|
||||
/obj/item/card/id/syndicate/station_access/Initialize(mapload)
|
||||
. = ..() // Same as the normal Syndicate id, only already has all station access
|
||||
access |= get_all_station_access()
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
cell_type = null
|
||||
opened = TRUE
|
||||
|
||||
/obj/item/inducer/Initialize()
|
||||
/obj/item/inducer/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!cell && cell_type)
|
||||
cell = new cell_type
|
||||
@@ -224,7 +224,7 @@
|
||||
powertransfer = 500
|
||||
opened = TRUE
|
||||
|
||||
/obj/item/inducer/sci/Initialize()
|
||||
/obj/item/inducer/sci/Initialize(mapload)
|
||||
. = ..()
|
||||
update_icon() //To get the 'open' state applied
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
author = "NanoTrasen"
|
||||
title = "Standard Operating Procedure"
|
||||
|
||||
/obj/item/book/manual/standard_operating_procedure/Initialize()
|
||||
/obj/item/book/manual/standard_operating_procedure/Initialize(mapload)
|
||||
. = ..()
|
||||
dat = {"
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
author = "Jeremiah Acacius"
|
||||
title = "Corporate Regulations"
|
||||
|
||||
/obj/item/book/manual/command_guide/Initialize()
|
||||
/obj/item/book/manual/command_guide/Initialize(mapload)
|
||||
. = ..()
|
||||
dat = {"
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
author = "Ali Big"
|
||||
title = "Food for Dummies 2"
|
||||
|
||||
/obj/item/book/manual/cook_guide/Initialize()
|
||||
/obj/item/book/manual/cook_guide/Initialize(mapload)
|
||||
. = ..()
|
||||
dat = {"
|
||||
<html>
|
||||
@@ -137,7 +137,7 @@
|
||||
author = "Ali Big"
|
||||
title = "How to Alcohol (And other Drinks)"
|
||||
|
||||
/obj/item/book/manual/bar_guide/Initialize()
|
||||
/obj/item/book/manual/bar_guide/Initialize(mapload)
|
||||
. = ..()
|
||||
dat = {"
|
||||
<html>
|
||||
@@ -350,7 +350,7 @@
|
||||
author = "Engineering Encyclopedia"
|
||||
title = "Rotary Electric Generator Manual"
|
||||
|
||||
/obj/item/book/manual/rotary_electric_generator/Initialize()
|
||||
/obj/item/book/manual/rotary_electric_generator/Initialize(mapload)
|
||||
. = ..()
|
||||
dat = {"<html>
|
||||
<head>
|
||||
@@ -447,7 +447,7 @@
|
||||
author = "Pontifex Publishing"
|
||||
title = "Synthetics"
|
||||
|
||||
/obj/item/book/manual/synthetic_life/Initialize()
|
||||
/obj/item/book/manual/synthetic_life/Initialize(mapload)
|
||||
. = ..()
|
||||
dat = {"
|
||||
<html lang="en">
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
var/active_force = 55
|
||||
var/inactive_force = 10
|
||||
|
||||
/obj/item/chainsaw/Initialize()
|
||||
/obj/item/chainsaw/Initialize(mapload)
|
||||
var/datum/reagents/R = new/datum/reagents(max_fuel)
|
||||
reagents = R
|
||||
R.my_atom = src
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
var/list/food_inserted_micros
|
||||
|
||||
/obj/item/material/kitchen/utensil/Initialize()
|
||||
/obj/item/material/kitchen/utensil/Initialize(mapload)
|
||||
. = ..()
|
||||
if (prob(60))
|
||||
src.pixel_y = rand(0, 4)
|
||||
|
||||
@@ -26,7 +26,7 @@ var/global/list/cached_icons = list()
|
||||
else
|
||||
return ..()
|
||||
|
||||
/obj/item/reagent_containers/glass/paint/Initialize()
|
||||
/obj/item/reagent_containers/glass/paint/Initialize(mapload)
|
||||
.=..()
|
||||
if(paint_type)
|
||||
reagents.add_reagent(REAGENT_ID_PAINT, volume, paint_type)
|
||||
|
||||
@@ -114,7 +114,7 @@
|
||||
var/unfoldable = FALSE
|
||||
|
||||
|
||||
/obj/structure/picnic_blanket_deployed/for_mapping_use/Initialize()
|
||||
/obj/structure/picnic_blanket_deployed/for_mapping_use/Initialize(mapload)
|
||||
. = ..()
|
||||
unfold()
|
||||
if(unfoldable)
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
var/apply_tape = FALSE
|
||||
|
||||
/obj/item/taperoll/Initialize()
|
||||
/obj/item/taperoll/Initialize(mapload)
|
||||
. = ..()
|
||||
if(apply_tape)
|
||||
var/turf/T = get_turf(src)
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
var/tilted = 0
|
||||
icon_state = "holdingduffle"
|
||||
|
||||
/obj/item/storage/backpack/holding/duffle/Initialize()
|
||||
/obj/item/storage/backpack/holding/duffle/Initialize(mapload)
|
||||
. = ..()
|
||||
if(prob(50))
|
||||
icon_state = "[icon_state]_tilted"
|
||||
@@ -176,7 +176,7 @@
|
||||
var/can_tilt = 1
|
||||
max_storage_space = INVENTORY_DUFFLEBAG_SPACE
|
||||
|
||||
/obj/item/storage/backpack/dufflebag/Initialize()
|
||||
/obj/item/storage/backpack/dufflebag/Initialize(mapload)
|
||||
. = ..()
|
||||
if(prob(50))
|
||||
icon_state = "[icon_state]_tilted"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
allow_quick_empty = TRUE
|
||||
use_sound = 'sound/items/drop/flesh.ogg'
|
||||
|
||||
/obj/item/storage/vore_egg/Initialize()
|
||||
/obj/item/storage/vore_egg/Initialize(mapload)
|
||||
. = ..()
|
||||
randpixel_xy()
|
||||
|
||||
|
||||
@@ -156,7 +156,7 @@
|
||||
/obj/item/pen/crayon/purple
|
||||
)
|
||||
|
||||
/obj/item/storage/fancy/crayons/Initialize()
|
||||
/obj/item/storage/fancy/crayons/Initialize(mapload)
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
@@ -198,7 +198,7 @@
|
||||
/obj/item/pen/crayon/marker/purple
|
||||
)
|
||||
|
||||
/obj/item/storage/fancy/markers/Initialize()
|
||||
/obj/item/storage/fancy/markers/Initialize(mapload)
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
@@ -253,7 +253,7 @@
|
||||
starts_with = list(/obj/item/clothing/mask/smokable/cigarette = 6)
|
||||
var/brand = "\improper Trans-Stellar Duty-free"
|
||||
|
||||
/obj/item/storage/fancy/cigarettes/Initialize()
|
||||
/obj/item/storage/fancy/cigarettes/Initialize(mapload)
|
||||
. = ..()
|
||||
flags |= NOREACT
|
||||
create_reagents(15 * storage_slots)//so people can inject cigarettes without opening a packet, now with being able to inject the whole one
|
||||
@@ -263,7 +263,7 @@
|
||||
C.brand = brand
|
||||
C.desc += " This one is \a [brand]."
|
||||
|
||||
/obj/item/storage/fancy/cigarettes/Initialize()
|
||||
/obj/item/storage/fancy/cigarettes/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!open_state)
|
||||
open_state = "[initial(icon_state)]_open"
|
||||
@@ -399,7 +399,7 @@
|
||||
icon_type = "cigar"
|
||||
starts_with = list(/obj/item/clothing/mask/smokable/cigarette/cigar = 5)
|
||||
|
||||
/obj/item/storage/fancy/cigar/Initialize()
|
||||
/obj/item/storage/fancy/cigar/Initialize(mapload)
|
||||
. = ..()
|
||||
flags |= NOREACT
|
||||
create_reagents(15 * storage_slots)
|
||||
@@ -410,7 +410,7 @@
|
||||
reagents.trans_to_obj(C, (reagents.total_volume/contents.len))
|
||||
return ..()
|
||||
|
||||
/obj/item/storage/fancy/cigar/Initialize()
|
||||
/obj/item/storage/fancy/cigar/Initialize(mapload)
|
||||
. = ..()
|
||||
if(!open_state)
|
||||
open_state = "[initial(icon_state)]0"
|
||||
@@ -507,7 +507,7 @@
|
||||
storage_slots = 6
|
||||
req_access = list(access_virology)
|
||||
|
||||
/obj/item/storage/lockbox/vials/Initialize()
|
||||
/obj/item/storage/lockbox/vials/Initialize(mapload)
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
@@ -550,7 +550,7 @@
|
||||
/obj/item/reagent_containers/food/snacks/chocolatepiece/truffle
|
||||
)
|
||||
|
||||
/obj/item/storage/fancy/heartbox/Initialize()
|
||||
/obj/item/storage/fancy/heartbox/Initialize(mapload)
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
drop_sound = 'sound/items/drop/cardboardbox.ogg'
|
||||
pickup_sound = 'sound/items/pickup/cardboardbox.ogg'
|
||||
|
||||
/obj/item/storage/firstaid/Initialize()
|
||||
/obj/item/storage/firstaid/Initialize(mapload)
|
||||
. = ..()
|
||||
if(icon_variety)
|
||||
icon_state = pick(icon_variety)
|
||||
@@ -193,7 +193,7 @@
|
||||
var/base_name = " "
|
||||
var/base_desc = " "
|
||||
|
||||
/obj/item/storage/pill_bottle/Initialize()
|
||||
/obj/item/storage/pill_bottle/Initialize(mapload)
|
||||
. = ..()
|
||||
base_name = name
|
||||
base_desc = desc
|
||||
|
||||
@@ -40,7 +40,7 @@ var/list/random_weighted_donuts = list(
|
||||
foldable = /obj/item/stack/material/cardboard
|
||||
//starts_with = list(/obj/item/reagent_containers/food/snacks/donut/normal = 6)
|
||||
|
||||
/obj/item/storage/box/donut/Initialize()
|
||||
/obj/item/storage/box/donut/Initialize(mapload)
|
||||
if(!empty)
|
||||
for(var/i in 1 to 6)
|
||||
var/type_to_spawn = pickweight(random_weighted_donuts)
|
||||
@@ -73,7 +73,7 @@ var/list/random_weighted_donuts = list(
|
||||
)
|
||||
starts_with = list(/obj/item/reagent_containers/food/snacks/worm = 6)
|
||||
|
||||
/obj/item/storage/box/wormcan/Initialize()
|
||||
/obj/item/storage/box/wormcan/Initialize(mapload)
|
||||
. = ..()
|
||||
update_icon()
|
||||
|
||||
|
||||
@@ -223,7 +223,7 @@ MRE Stuff
|
||||
var/opened = FALSE
|
||||
starts_with = list(/obj/item/reagent_containers/food/snacks/slice/meatpizza/filled)
|
||||
|
||||
/obj/item/storage/mrebag/Initialize()
|
||||
/obj/item/storage/mrebag/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
/obj/item/storage/mrebag/update_icon()
|
||||
@@ -302,7 +302,7 @@ MRE Stuff
|
||||
foldable = null
|
||||
var/isopened = 0
|
||||
|
||||
/obj/item/storage/box/tgmc_mre/Initialize()
|
||||
/obj/item/storage/box/tgmc_mre/Initialize(mapload)
|
||||
. = ..()
|
||||
pickflavor()
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
/obj/item/extinguisher/mini,
|
||||
/obj/item/radio
|
||||
)
|
||||
/obj/item/storage/toolbox/emergency/Initialize()
|
||||
/obj/item/storage/toolbox/emergency/Initialize(mapload)
|
||||
if(prob(50))
|
||||
new /obj/item/flashlight(src)
|
||||
else
|
||||
@@ -69,7 +69,7 @@
|
||||
/obj/item/stack/cable_coil/random_belt,
|
||||
/obj/item/stack/cable_coil/random_belt
|
||||
)
|
||||
/obj/item/storage/toolbox/electrical/Initialize()
|
||||
/obj/item/storage/toolbox/electrical/Initialize(mapload)
|
||||
. = ..()
|
||||
if(prob(5))
|
||||
new /obj/item/clothing/gloves/yellow(src)
|
||||
@@ -151,7 +151,7 @@
|
||||
var/filled = FALSE
|
||||
attack_verb = list("lunched")
|
||||
|
||||
/obj/item/storage/toolbox/lunchbox/Initialize()
|
||||
/obj/item/storage/toolbox/lunchbox/Initialize(mapload)
|
||||
if(filled)
|
||||
var/list/lunches = lunchables_lunches()
|
||||
var/lunch = lunches[pick(lunches)]
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/obj/item/storage/box/syndicate/Initialize()
|
||||
/obj/item/storage/box/syndicate/Initialize(mapload)
|
||||
switch (pickweight(list("bloodyspai" = 1, "stealth" = 1, "screwed" = 1, "guns" = 1, "murder" = 1, "freedom" = 1, "hacker" = 1, "lordsingulo" = 1, "smoothoperator" = 1)))
|
||||
if("bloodyspai")
|
||||
new /obj/item/clothing/under/chameleon(src)
|
||||
@@ -70,7 +70,7 @@
|
||||
/obj/item/storage/box/syndie_kit/imp_freedom
|
||||
name = "boxed freedom implant (with injector)"
|
||||
|
||||
/obj/item/storage/box/syndie_kit/imp_freedom/Initialize()
|
||||
/obj/item/storage/box/syndie_kit/imp_freedom/Initialize(mapload)
|
||||
var/obj/item/implanter/O = new(src)
|
||||
O.imp = new /obj/item/implant/freedom(O)
|
||||
O.update()
|
||||
@@ -87,7 +87,7 @@
|
||||
/obj/item/storage/box/syndie_kit/imp_uplink
|
||||
name = "boxed uplink implant (with injector)"
|
||||
|
||||
/obj/item/storage/box/syndie_kit/imp_uplink/Initialize()
|
||||
/obj/item/storage/box/syndie_kit/imp_uplink/Initialize(mapload)
|
||||
var/obj/item/implanter/O = new(src)
|
||||
O.imp = new /obj/item/implant/uplink(O)
|
||||
O.update()
|
||||
@@ -97,7 +97,7 @@
|
||||
name = "boxed augment implant (with injector)"
|
||||
var/case_type = /obj/item/implantcase/shades
|
||||
|
||||
/obj/item/storage/box/syndie_kit/imp_aug/Initialize()
|
||||
/obj/item/storage/box/syndie_kit/imp_aug/Initialize(mapload)
|
||||
new /obj/item/implanter(src)
|
||||
new case_type(src)
|
||||
. = ..()
|
||||
@@ -191,7 +191,7 @@
|
||||
name = "\improper Tricky smokes"
|
||||
desc = "Comes with the following brands of cigarettes, in this order: 2xFlash, 2xSmoke, 1xMindBreaker, 1xTricordrazine. Avoid mixing them up."
|
||||
|
||||
/obj/item/storage/box/syndie_kit/cigarette/Initialize()
|
||||
/obj/item/storage/box/syndie_kit/cigarette/Initialize(mapload)
|
||||
. = ..()
|
||||
var/obj/item/storage/fancy/cigarettes/pack
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
var/volume_rate = 500 //Needed for borg jetpack transfer
|
||||
actions_types = list(/datum/action/item_action/toggle_jetpack)
|
||||
|
||||
/obj/item/tank/jetpack/Initialize()
|
||||
/obj/item/tank/jetpack/Initialize(mapload)
|
||||
. = ..()
|
||||
ion_trail = new /datum/effect/effect/system/ion_trail_follow()
|
||||
ion_trail.set_up(src)
|
||||
@@ -90,7 +90,7 @@
|
||||
icon_state = "jetpack-void"
|
||||
item_state_slots = list(slot_r_hand_str = "jetpack-void", slot_l_hand_str = "jetpack-void")
|
||||
|
||||
/obj/item/tank/jetpack/void/Initialize()
|
||||
/obj/item/tank/jetpack/void/Initialize(mapload)
|
||||
. = ..()
|
||||
air_contents.adjust_gas(GAS_O2, (6*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
icon_state = "jetpack"
|
||||
item_state_slots = list(slot_r_hand_str = "jetpack", slot_l_hand_str = "jetpack")
|
||||
|
||||
/obj/item/tank/jetpack/oxygen/Initialize()
|
||||
/obj/item/tank/jetpack/oxygen/Initialize(mapload)
|
||||
. = ..()
|
||||
air_contents.adjust_gas(GAS_O2, (6*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
icon_state = "jetpack-breaker"
|
||||
item_state_slots = list(slot_r_hand_str = "jetpack", slot_l_hand_str = "jetpack")
|
||||
|
||||
/obj/item/tank/jetpack/breaker/Initialize()
|
||||
/obj/item/tank/jetpack/breaker/Initialize(mapload)
|
||||
. = ..()
|
||||
air_contents.adjust_gas(GAS_VOLATILE_FUEL, (6*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
|
||||
|
||||
@@ -121,7 +121,7 @@
|
||||
icon_state = "jetpack-black"
|
||||
item_state_slots = list(slot_r_hand_str = "jetpack-black", slot_l_hand_str = "jetpack-black")
|
||||
|
||||
/obj/item/tank/jetpack/carbondioxide/Initialize()
|
||||
/obj/item/tank/jetpack/carbondioxide/Initialize(mapload)
|
||||
. = ..()
|
||||
air_contents.adjust_gas(GAS_CO2, (6*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
icon_state = "oxygen"
|
||||
distribute_pressure = ONE_ATMOSPHERE*O2STANDARD
|
||||
|
||||
/obj/item/tank/oxygen/Initialize()
|
||||
/obj/item/tank/oxygen/Initialize(mapload)
|
||||
. = ..()
|
||||
air_contents.adjust_gas(GAS_O2, (6*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
desc = "A tank with an N2O/O2 gas mix."
|
||||
icon_state = "anesthetic"
|
||||
|
||||
/obj/item/tank/anesthetic/Initialize()
|
||||
/obj/item/tank/anesthetic/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
air_contents.gas[GAS_O2] = (3*ONE_ATMOSPHERE)*70/(R_IDEAL_GAS_EQUATION*T20C) * O2STANDARD
|
||||
@@ -62,7 +62,7 @@
|
||||
. += span_warning("The meter on \the [src] indicates you are almost out of air!")
|
||||
user << sound('sound/effects/alert.ogg')
|
||||
|
||||
/obj/item/tank/air/Initialize()
|
||||
/obj/item/tank/air/Initialize(mapload)
|
||||
. = ..()
|
||||
src.air_contents.adjust_multi(GAS_O2, (6*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C) * O2STANDARD, GAS_N2, (6*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C) * N2STANDARD)
|
||||
|
||||
@@ -76,7 +76,7 @@
|
||||
gauge_icon = null
|
||||
slot_flags = null //they have no straps!
|
||||
|
||||
/obj/item/tank/phoron/Initialize()
|
||||
/obj/item/tank/phoron/Initialize(mapload)
|
||||
. = ..()
|
||||
src.air_contents.adjust_gas(GAS_PHORON, (3*ONE_ATMOSPHERE)*70/(R_IDEAL_GAS_EQUATION*T20C))
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
distribute_pressure = ONE_ATMOSPHERE*O2STANDARD
|
||||
slot_flags = SLOT_BACK //these ones have straps!
|
||||
|
||||
/obj/item/tank/vox/Initialize()
|
||||
/obj/item/tank/vox/Initialize(mapload)
|
||||
. = ..()
|
||||
air_contents.adjust_gas(GAS_PHORON, (10*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C)) //VOREStation Edit
|
||||
|
||||
@@ -109,7 +109,7 @@
|
||||
icon_state = "phoron_vox"
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
|
||||
/obj/item/tank/phoron/pressurized/Initialize()
|
||||
/obj/item/tank/phoron/pressurized/Initialize(mapload)
|
||||
. = ..()
|
||||
adjust_scale(0.8)
|
||||
air_contents.adjust_gas(GAS_PHORON, (7*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
|
||||
@@ -135,7 +135,7 @@
|
||||
icon_state = "emergency"
|
||||
gauge_icon = "indicator_emergency"
|
||||
|
||||
/obj/item/tank/emergency/oxygen/Initialize()
|
||||
/obj/item/tank/emergency/oxygen/Initialize(mapload)
|
||||
. = ..()
|
||||
src.air_contents.adjust_gas(GAS_O2, (10*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
gauge_icon = "indicator_emergency_double"
|
||||
volume = 10
|
||||
|
||||
/obj/item/tank/stasis/oxygen/Initialize()
|
||||
/obj/item/tank/stasis/oxygen/Initialize(mapload)
|
||||
. = ..()
|
||||
src.air_contents.adjust_gas(GAS_O2, (3*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
|
||||
|
||||
@@ -173,7 +173,7 @@
|
||||
icon_state = "emergency_nitro"
|
||||
gauge_icon = "indicator_emergency"
|
||||
|
||||
/obj/item/tank/emergency/nitrogen/Initialize()
|
||||
/obj/item/tank/emergency/nitrogen/Initialize(mapload)
|
||||
. = ..()
|
||||
src.air_contents.adjust_gas(GAS_N2, (10*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
|
||||
|
||||
@@ -189,7 +189,7 @@
|
||||
icon_state = "emergency_nitro"
|
||||
gauge_icon = "indicator_emergency"
|
||||
|
||||
/obj/item/tank/emergency/phoron/Initialize()
|
||||
/obj/item/tank/emergency/phoron/Initialize(mapload)
|
||||
. = ..()
|
||||
src.air_contents.adjust_gas(GAS_PHORON, (10*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
|
||||
|
||||
@@ -208,7 +208,7 @@
|
||||
icon_state = "oxygen_fr"
|
||||
distribute_pressure = ONE_ATMOSPHERE*O2STANDARD
|
||||
|
||||
/obj/item/tank/nitrogen/Initialize()
|
||||
/obj/item/tank/nitrogen/Initialize(mapload)
|
||||
. = ..()
|
||||
src.air_contents.adjust_gas(GAS_N2, (3*ONE_ATMOSPHERE)*70/(R_IDEAL_GAS_EQUATION*T20C))
|
||||
|
||||
@@ -225,6 +225,6 @@
|
||||
gauge_icon = "indicator_emergency_double"
|
||||
volume = 10
|
||||
|
||||
/obj/item/tank/stasis/nitro_cryo/Initialize()
|
||||
/obj/item/tank/stasis/nitro_cryo/Initialize(mapload)
|
||||
. = ..()
|
||||
src.air_contents.adjust_gas_temp(GAS_N2, (3*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*TN60C), TN60C)
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
gauge_cap = 3
|
||||
volume = 10
|
||||
|
||||
/obj/item/tank/emergency/phoron/double/Initialize()
|
||||
/obj/item/tank/emergency/phoron/double/Initialize(mapload)
|
||||
. = ..()
|
||||
air_contents.adjust_gas(GAS_PHORON, (10*ONE_ATMOSPHERE)*volume/(R_IDEAL_GAS_EQUATION*T20C))
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ var/list/global/tank_gauge_cache = list()
|
||||
src.proxyassembly = proxy
|
||||
|
||||
|
||||
/obj/item/tank/Initialize()
|
||||
/obj/item/tank/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
src.init_proxy()
|
||||
|
||||
@@ -679,7 +679,7 @@
|
||||
eye_safety_modifier = 2
|
||||
always_process = TRUE
|
||||
|
||||
/obj/item/weldingtool/electric/mounted/exosuit/Initialize()
|
||||
/obj/item/weldingtool/electric/mounted/exosuit/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
if(istype(loc, /obj/item/mecha_parts/mecha_equipment))
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
drop_sound = 'sound/items/drop/backpack.ogg'
|
||||
pickup_sound = 'sound/items/pickup/backpack.ogg'
|
||||
|
||||
/obj/item/weldpack/Initialize()
|
||||
/obj/item/weldpack/Initialize(mapload)
|
||||
. = ..()
|
||||
var/datum/reagents/R = new/datum/reagents(max_fuel) //Lotsa refills
|
||||
reagents = R
|
||||
|
||||
Reference in New Issue
Block a user