Tractor Headlights (#31741)

* headlights

* typo
This commit is contained in:
gurfan
2021-12-30 16:30:14 -06:00
committed by GitHub
parent 1de214dab5
commit 371f8e7147
2 changed files with 8 additions and 0 deletions

View File

@@ -8,8 +8,16 @@
icon = 'goon/icons/vehicles.dmi'
icon_state = "tractor"
keytype = /obj/item/key/tractor
headlights = TRUE
wreckage_type = /obj/effect/decal/mecha_wreckage/vehicle/tractor
/obj/structure/bed/chair/vehicle/tractor/update_icon()
for(var/datum/action/vehicle/toggle_headlights/TH in vehicle_actions)
if(TH.on)
icon_state = "[initial(icon_state)]-on"
return
icon_state = "[initial(icon_state)]"
/obj/structure/bed/chair/vehicle/tractor/make_offsets()
offsets = list(
"[SOUTH]" = list("x" = 0, "y" = 7 * PIXEL_MULTIPLIER),

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB