Data-driven NPC factions (#3249)

* Data-driven NPC factions

* Minor re-factor so it's settable via yaml instead. Any changes made during runtime aren't saved back.
* Still uses enums given bitmasks go BRRT

* private setters whoops

* nullables

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
metalgearsloth
2021-02-21 10:27:17 +11:00
committed by GitHub
parent df8a69d5cd
commit e0eaef1aa9
4 changed files with 108 additions and 29 deletions

View File

@@ -0,0 +1,28 @@
- type: aiFaction
id: NanoTrasen
hostile:
- SimpleHostile
- Syndicate
- Xeno
- type: aiFaction
id: SimpleHostile
hostile:
- NanoTrasen
- Syndicate
- type: aiFaction
id: SimpleNeutral
- type: aiFaction
id: Syndicate
hostile:
- NanoTrasen
- SimpleHostile
- Xeno
- type: aiFaction
id: Xeno
hostile:
- NanoTrasen
- Syndicate