autopilot_destination property discussion

Things that we aren't going to implement
Post Reply
User avatar
Linver
Fast Inserter
Fast Inserter
Posts: 158
Joined: Wed Jan 09, 2019 2:28 pm
Contact:

autopilot_destination property discussion

Post by Linver »

Hi again, and wishes again to all dev for the release!
A question, why don't insert autopilot_destination with a sort of autopilot_enabled property under vehicle prototype instead of enable it only in the spidervehicle prototype if inhert vehicle prototype? That would have left more open possibility to modding on vehicles.

Rseding91
Factorio Staff
Factorio Staff
Posts: 11923
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: autopilot_destination property discussion

Post by Rseding91 »

Because that's not how any of the game logic works. "vehicle" is an abstract type; you can't create a "vehicle" in game. You can create a Car, a CargoWagon, a Locomotive, but all of those have distinct sets of behavior. You can't apply a generic autopilot system to any of them; it would be specific to each.

Trains already have that. Cars are designed to not be that; use trains. The spider was a brand new thing and so brand new logic was created, implemented, and tested for it.
If you want to get ahold of me I'm almost always on Discord.

User avatar
Linver
Fast Inserter
Fast Inserter
Posts: 158
Joined: Wed Jan 09, 2019 2:28 pm
Contact:

Re: autopilot_destination property discussion

Post by Linver »

Make sense, thanks for the answer

Post Reply

Return to “Won't implement”