mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 15:38:02 +01:00
more new to Init (#17147)
* more new to Init * fix pumps * style update * fix atmos memory leak * fix mech * qdel in here * Update hands.dm * Update rings.dm
This commit is contained in:
@@ -27,21 +27,21 @@
|
||||
|
||||
var/outdoors_speed_mod = 0.7 //The general 'outdoors' speed. I.E., the general difference you'll be at when driving outside.
|
||||
|
||||
/obj/vehicle/train/engine/quadbike/New()
|
||||
cell = new /obj/item/cell/high(src)
|
||||
key = new key_type(src)
|
||||
soundloop = new(list(src), FALSE)
|
||||
/obj/vehicle/train/engine/quadbike/Initialize(mapload, assembly)
|
||||
. = ..()
|
||||
if(!assembly)
|
||||
cell = new /obj/item/cell/high(src)
|
||||
soundloop = new(list(src), FALSE)
|
||||
key = new key_type(src)
|
||||
turn_off()
|
||||
update_icon()
|
||||
|
||||
/obj/vehicle/train/engine/quadbike/built/New()
|
||||
key = new key_type(src)
|
||||
turn_off()
|
||||
/obj/vehicle/train/engine/quadbike/built/Initialize(mapload)
|
||||
. = ..(mapload, TRUE)
|
||||
|
||||
/obj/vehicle/train/engine/quadbike/random/New()
|
||||
/obj/vehicle/train/engine/quadbike/random/Initialize(mapload)
|
||||
paint_color = rgb(rand(1,255),rand(1,255),rand(1,255))
|
||||
..()
|
||||
. = ..()
|
||||
|
||||
/obj/vehicle/train/engine/quadbike/Destroy()
|
||||
QDEL_NULL(soundloop)
|
||||
@@ -202,9 +202,9 @@
|
||||
|
||||
paint_color = "#ffffff"
|
||||
|
||||
/obj/vehicle/train/trolley/trailer/random/New()
|
||||
/obj/vehicle/train/trolley/trailer/random/Initialize(mapload)
|
||||
paint_color = rgb(rand(1,255),rand(1,255),rand(1,255))
|
||||
..()
|
||||
. = ..()
|
||||
|
||||
/obj/vehicle/train/trolley/trailer/proc/update_load()
|
||||
if(load)
|
||||
|
||||
Reference in New Issue
Block a user