Adds Clown Car, Ports TG Vehicle Code (#29529)

* WIP - Clown Car, Bugged key insert, buckle, driver can't drive

* WIP - Needs Movement, Testing

* Compiles

* Sealed port

* Car

* Clown Car Cannon

* Formats for comments

* Linters

* Linters again

* Linters

* Attack chains

* Dump mobs on supermatter dust, instead of dusting everything

* Supermatter bump change for clown car

* Headlights fix

* Fixes runechat for car, fixes opening trunk do-after, removed excess code

* Another do-after fix

* Fixed squishing prone people, fixed buckle bug

* Better trait handling, fixes some silicon issues

* Fixes emergency lube foam

* Fixes AI getting nullspaced on eject

* Fixes hands remaining bound when ejected after using cannon mode, fixes cannon mode, adds var-editable thing

* Updated clown car actions

* Update code/modules/vehicle/tg_vehicles/cars/clowncar.dm

Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com>

---------

Signed-off-by: Burzah <116982774+Burzah@users.noreply.github.com>
Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
PollardTheDragon
2025-07-29 23:05:06 +00:00
committed by GitHub
co-authored by Burzah
parent 6dff434902
commit 06f19cdecb
39 changed files with 778 additions and 12 deletions
@@ -198,4 +198,8 @@
return
override_allow_spacemove = FALSE
/datum/component/riding/vehicle/clowncar
vehicle_move_delay = 0.6
ride_check_flags = RIDER_NEEDS_LEGS | RIDER_NEEDS_ARMS
#undef EPSILON
@@ -49,6 +49,21 @@
cost = 5
job = list("Clown")
/datum/uplink_item/jobspecific/clown_car
name = "Clown Car"
desc = "The Clown Car is the ultimate transportation method for any worthy clown! \
Simply insert your bikehorn and get in, and get ready to have the funniest ride of your life! \
You can ram any crew you come across and stuff them into your car, kidnapping them and locking them inside until \
someone saves them or they manage to crawl out. Be sure not to ram into any walls or vending machines, as the springloaded seats \
are very sensitive. Now with our included lube defense mechanism which will protect you against any angry shitcurity! \
Premium features can be unlocked with a cryptographic sequencer!"
reference = "CCR"
item = /obj/tgvehicle/sealed/car/clowncar
cost = 50
job = list("Clown")
surplus = 0
hijack_only = TRUE
//mime
/datum/uplink_item/jobspecific/caneshotgun
name = "Cane Shotgun and Assassination Shells"