This implements #118: Buildings and vehicles get assigned an "implicit faction" from their name (e.g. r vb is Jodon, gv st is Ephrati). Some of the fitments (as defined in the game-design sheet) also are faction-specific with an explicit roconfig definition.
These factions are then used to implement some restrictions. In particular, founding buildings, constructing items and getting blueprints through reverse engineering are now limited to players of a matching faction. And fitments with a defined faction can only be placed on vehicles of the same faction.
This should be taken into account in the frontend, so that no invalid moves are created (e.g. for construction of mismatched item types or buildings, and for fitting out a vehicle).
This implements #118: Buildings and vehicles get assigned an "implicit faction" from their name (e.g.
r vb
is Jodon,gv st
is Ephrati). Some of the fitments (as defined in the game-design sheet) also are faction-specific with an explicit roconfig definition.These factions are then used to implement some restrictions. In particular, founding buildings, constructing items and getting blueprints through reverse engineering are now limited to players of a matching faction. And fitments with a defined faction can only be placed on vehicles of the same faction.