Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customise how borders work #3

Open
XHawk87 opened this issue Dec 8, 2024 · 1 comment
Open

Customise how borders work #3

XHawk87 opened this issue Dec 8, 2024 · 1 comment

Comments

@XHawk87
Copy link

XHawk87 commented Dec 8, 2024

  • Make border changes only take place at TC and after wait time
  • Allow military land units to claim border tiles within city radius
  • Prevent invaders from using captured infrastructure until TC and after wait time
@XHawk87
Copy link
Author

XHawk87 commented Dec 21, 2024

This could be done like this:

  • Turn off restrictinfra, we're going to simulate this another way
  • Create a new flag extra that confers tile ownership
  • Create a new civilian resistance unit
    • Very weak
    • Can't move
    • Discreet graphics - Looks like a flag or something?
    • No ZoC
    • Can't be bribed
    • Can't be disbanded
    • Unhomed
    • No upkeep
  • Create restricted variants of roads, rails and maglev with no move bonus
  • When a civilian resistance unit is defeated, the flag extra is destroyed, and any roads, rails or maglev are replaced with their restricted counterpart
  • At TC, flag extras appear
    • In all owned tiles not under foreign occupation
    • In foreign tiles under your military occupation within your city working radius
  • At TC, civilian resistance units appear in all tiles where you control a flag extra
  • At TC, restricted infrastructure not under foreign occupation are replaced with their normal counterparts
  • Wait time:
    • Record the time when units are last defeated for each tile
    • At TC, on tiles where a unit was defeated:
      • Don't plant flags if within X timeframe
      • Don't unrestrict infrastructure if within X timeframe
      • Delete old records outside of X timeframe
    • On pulse events, if X timeframe expires from when a unit was defeated:
      • Plant a flag for current owner, if not under foreign occupation
      • Plant a flag for occupier, if within their own city working radius
      • Create a new civilian resistance unit, if there's a flag
      • Unrestrict infrastructure, if there's a flag
      • Delete time record for tile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant