mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-11 17:35:05 +00:00
* Overlay queuing * Fix SS flags * Don't copy on assignment * Flags processing * Fix icon_smoothing * MSO's helper proc * Legacy detection * Make it work * Fixes shitcode * Fix the flag * |= -> += * OK, how did I fuck that up? * shitcode * Conditional assoc queue while initializing * Cleanup everything * Orange meme * This isn't perfect, but its the best byond will give us. * forgot about dir * oh ya * This was litterally the last thing i did last night before heading to bed You can tell can't you? * Fixes various shit * Let's not ever pause * Fix the flag * Cleaned up some missing shit. Added image dummys * Remove the one usage of FPRINT * Jesus get rid of this
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
|
|
/obj/vehicle/atv
|
|
name = "all-terrain vehicle"
|
|
desc = "An all-terrain vehicle built for traversing rough terrain with ease. One of the few old-earth technologies that are still relevant on most planet-bound outposts."
|
|
icon_state = "atv"
|
|
var/static/image/atvcover = null
|
|
|
|
/obj/vehicle/atv/buckle_mob(mob/living/buckled_mob, force = 0, check_loc = 1)
|
|
. = ..()
|
|
riding_datum = new/datum/riding/atv
|
|
|
|
/obj/vehicle/atv/New()
|
|
..()
|
|
if(!atvcover)
|
|
atvcover = image("icons/obj/vehicles.dmi", "atvcover")
|
|
atvcover.layer = ABOVE_MOB_LAYER
|
|
|
|
|
|
/obj/vehicle/atv/post_buckle_mob(mob/living/M)
|
|
if(has_buckled_mobs())
|
|
add_overlay(atvcover)
|
|
else
|
|
cut_overlay(atvcover)
|
|
|
|
|
|
|
|
//TURRETS!
|
|
/obj/vehicle/atv/turret
|
|
var/obj/machinery/porta_turret/syndicate/vehicle_turret/turret = null
|
|
|
|
|
|
/obj/machinery/porta_turret/syndicate/vehicle_turret
|
|
name = "mounted turret"
|
|
scan_range = 7
|
|
emp_vunerable = 1
|
|
density = 0
|
|
|
|
|
|
/obj/vehicle/atv/turret/New()
|
|
. = ..()
|
|
turret = new(loc)
|
|
turret.base = src
|
|
|
|
/obj/vehicle/atv/turret/buckle_mob(mob/living/buckled_mob, force = 0, check_loc = 1)
|
|
. = ..()
|
|
riding_datum = new/datum/riding/atv/turret
|
|
|