Vehicle balance

Went ahead and toned down the speed of a lot of vehicles, along with making a new variable that unbuckles a player if their size is too small/big. Additionally buffed some holo sign projectors.
This commit is contained in:
Chemlight
2021-05-17 22:51:50 -07:00
parent 943782d9e9
commit 895341277d
9 changed files with 26 additions and 11 deletions
+10
View File
@@ -6,6 +6,9 @@
default_driver_move = FALSE
var/legs_required = 1
var/arms_required = 0 //why not?
var/max_size = 1.50
var/min_size = 0.75
var/size_sensitive = TRUE
/obj/vehicle/ridden/Initialize()
. = ..()
@@ -34,6 +37,13 @@
if(M.get_num_legs() < legs_required)
to_chat(M, "<span class='warning'>You don't have enough legs to operate the pedals!</span>")
unbuckle_mob(M)
else if (size_sensitive)
if(M.size_multiplier < min_size)
to_chat(M, "<span class='warning'>You are too small to operate something like this!</span>")
unbuckle_mob(M)
else if(M.size_multiplier > max_size)
to_chat(M, "<span class='warning'>You are too big to operate something like this!</span>")
unbuckle_mob(M)
return ..()
/obj/vehicle/ridden/attackby(obj/item/I, mob/user, params)