[MIRROR] some more NEW to init (#10148)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-02-13 03:00:18 -07:00
committed by GitHub
parent a8ea2f9062
commit fe69ddd909
23 changed files with 106 additions and 98 deletions

View File

@@ -17,8 +17,8 @@
pickup_sound = 'sound/items/pickup/device.ogg'
drop_sound = 'sound/items/drop/device.ogg'
/obj/item/nifrepairer/New()
..()
/obj/item/nifrepairer/Initialize(mapload)
. = ..()
supply = new(max = 60, A = src)

View File

@@ -367,9 +367,9 @@
pickup_sound = 'sound/items/pickup/gloves.ogg'
light_system = MOVABLE_LIGHT
/obj/item/flashlight/flare/New()
/obj/item/flashlight/flare/Initialize()
fuel = rand(800, 1000) // Sorry for changing this so much but I keep under-estimating how long X number of ticks last in seconds.
..()
. = ..()
/obj/item/flashlight/flare/process()
var/turf/pos = get_turf(src)
@@ -430,9 +430,9 @@
var/fuel = 0
power_use = 0
/obj/item/flashlight/glowstick/New()
/obj/item/flashlight/glowstick/Initialize()
fuel = rand(1600, 2000)
..()
. = ..()
/obj/item/flashlight/glowstick/process()
fuel = max(fuel - 1, 0)