re-enables old rover

This commit is contained in:
Heroman
2022-12-11 08:41:24 +10:00
parent edc51a4684
commit d81ef4575c
2 changed files with 5 additions and 3 deletions
+4 -3
View File
@@ -100,8 +100,9 @@
//cargo trains are open topped, so there is a chance the projectile will hit the mob ridding the train instead
/obj/vehicle/train/rover/bullet_act(var/obj/item/projectile/Proj)
if(buckled_mob && prob(70))
buckled_mob.bullet_act(Proj)
if(has_buckled_mobs() && prob(70))
var/mob/living/L = pick(buckled_mobs)
L.bullet_act(Proj)
return
..()
@@ -299,7 +300,7 @@
return ..()
/obj/vehicle/train/rover/engine/unload(var/mob/user, var/direction)
var/mob/living/carbon/human/C = load
var/mob/living/carbon/human/C = load
if(ismob(load))
+1
View File
@@ -3983,6 +3983,7 @@
#include "code\modules\vehicles\cargo_train.dm"
#include "code\modules\vehicles\construction.dm"
#include "code\modules\vehicles\quad.dm"
#include "code\modules\vehicles\rover_vr.dm"
#include "code\modules\vehicles\snowmobile.dm"
#include "code\modules\vehicles\train.dm"
#include "code\modules\vehicles\vehicle.dm"