-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Enhance the existing [station] popup by adding [station] faction
Default range: (50m) (Edit: 500m might be better to coexist with normal station popups)
Initial implementation towards the 'faction territory' milestone. Passive at this point but may be used later for things like visual borders displayed on screen or claimed territory, or for things related to fees, taxes and behavior that applies to activities in the claimed region.
Examples - an option could be set for a faction war/alliance behaviour where friendly or hostile events trigger the mod to increase or decrease the player/faction reputation as it applies to the faction that claims the region they are operating in.
[station] faction basic functionality:
When player enters LCD scan range, pops up details of the faction from faction tab.
What details show depend if they are a member of faction or not.
If member of faction, it shows the private faction text, if they are not a member of faction it shows public faction text.
In either case it will also add any text pulled via GetTest off the LCD screen to the popup.
Optional range allows a larger range check (maximum 2.5km) to override the usual 50 metre.
Example:
[station] faction 2000
Territorial Claim.
Warning! you have entered territory claimed by a faction.
Faction ID: ORI
Faction Name: Orion Privateers
Faction Details: We 'redistrubute' wealth as we see fit.
Additional Notes:
You can use the trade station, but keep away from the outpost or
you will be considered hostile.
Extended Behavior:
non-faction claims.
[station] claim
Works similarly with all the same logic (<2.5km, default 50m etc), except ignores all faction related things, and only shows your popup text, making it basically the same as a popup LCD but it also claims the territory on behalf of the block owner not their faction. This allows non faction members to claim space, or allows faction members to have their OWN space.
Conflicts: a player claim within a claimed faction area - this might allow member of factions to claim their own base within the context of controlled faction territory, or if two territories overlap the player doesn't immediately lose all access due to an impolite neighbour. Three territories overlap: reject the 3rd LCD and rename it to [void]
Popup conflicts: maybe make claimed territory default to 500 metres, so that station popups (50m too) work when a player approaches the station.