I would like a way to prevent passengers from being able to enter a car, only the driver is allowed.
Doing it through a data.lua property would make more sense, but I can work with a control.lua property if that is easier.
Disable passengers in car
Re: Disable passengers in car
Try to set some character to the https://lua-api.factorio.com/latest/Lua ... _passenger
But it would be nice to have just max_passenger_amount = 0 (or 10 for some bus vehicle).
But it would be nice to have just max_passenger_amount = 0 (or 10 for some bus vehicle).
Re: Disable passengers in car
What's the use-case?
If you want to get ahold of me I'm almost always on Discord.
Re: Disable passengers in car
I am using cars to simulate an off-rail train. Trains do not allow passengers so I want to disable them for consistency. Weapons are disabled so there is nothing for a passenger to do anyway.
Re: Disable passengers in car
Re: Disable passengers in car
I really don't know
but may be AI-Vehicles or such a mod capable of doing something like this ?
in my mind :
Put a beacon into your backpack and choose some AI-Vehicles to follow the beacon around ?
but may be AI-Vehicles or such a mod capable of doing something like this ?
in my mind :
Put a beacon into your backpack and choose some AI-Vehicles to follow the beacon around ?
Re: Disable passengers in car
Thanks for implementing this!