Skip to content

Commit

Permalink
Altclick functionality for rotation (#389)
Browse files Browse the repository at this point in the history
Co-authored-by: Funny Leg Jiggle <funnylegjiggle@users.noreply.github.com>
  • Loading branch information
FunnyLegJiggle and FunnyLegJiggle authored Jun 26, 2023
1 parent fec1505 commit 998d145
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/modules/vehicles/trolley.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
ADD_TRAIT(src, TRAIT_KEEP_DIRECTION_WHILE_PULLING, INNATE_TRAIT)
ADD_TRAIT(src, TRAIT_REJECT_INSERTION, INNATE_TRAIT)
AddElement(/datum/element/ridable, /datum/component/riding/vehicle/trolley)
AddComponent(/datum/component/simple_rotation)
var/handlebars = new /image{icon_state = "trolley_handlebars"; layer = MOB_BELOW_PIGGYBACK_LAYER}
add_overlay(handlebars)

Expand Down

0 comments on commit 998d145

Please sign in to comment.