Skip to content

Commit

Permalink
[#71] Crime Syndicate default designs now correctly load for all FTL …
Browse files Browse the repository at this point in the history
…types.
  • Loading branch information
DaloLorn committed Jan 26, 2023
1 parent 9eeaa4f commit d8cc2bd
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 6 deletions.
3 changes: 3 additions & 0 deletions Rising Stars/data/traits/ftl/Fling.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ Trait: Fling

IfHaveTrait(Ancient, LoadDesigns(ancient/default))
IfHaveTrait(Ancient, LoadDesigns(ancient/not_hyperdrive))

IfHaveTrait(CrimeSyndicate, LoadDesigns(syndicate/default))
IfHaveTrait(CrimeSyndicate, LoadDesigns(syndicate/not_hyperdrive))

UnlockTag(HasFling)
ModAttribute(FlingBeaconConst, Add, 1)
Expand Down
3 changes: 3 additions & 0 deletions Rising Stars/data/traits/ftl/Flux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ Trait: Flux
IfHaveTrait(Ancient, LoadDesigns(ancient/default))
IfHaveTrait(Ancient, LoadDesigns(ancient/not_hyperdrive))

IfHaveTrait(CrimeSyndicate, LoadDesigns(syndicate/default))
IfHaveTrait(CrimeSyndicate, LoadDesigns(syndicate/not_hyperdrive))

ModAttribute(HasFlux, Add, 1)
ModAttribute(ForbidDeepSpace, Add, 1)
ModAttribute(ColonizerSpeed, Multiply, 0.25)
Expand Down
4 changes: 4 additions & 0 deletions Rising Stars/data/traits/ftl/Gate.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ Trait: Gate
IfHaveTrait(Ancient, LoadDesigns(ancient/not_hyperdrive))
IfHaveTrait(Ancient, LoadDesigns(ancient/gate))

IfHaveTrait(CrimeSyndicate, LoadDesigns(syndicate/default))
IfHaveTrait(CrimeSyndicate, LoadDesigns(syndicate/not_hyperdrive))
IfHaveTrait(CrimeSyndicate, LoadDesigns(syndicate/gate))

ModAttribute(ProgenitorTechProgress, Add, 3.5)
ModAttribute(GateConst, Add, 1)
SpawnShip(Gate)
Expand Down
3 changes: 3 additions & 0 deletions Rising Stars/data/traits/ftl/Hyperdrive.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ Trait: Hyperdrive
IfHaveTrait(Devout, LoadDesigns(devout/default))
IfHaveTrait(Devout, LoadDesigns(devout/hyperdrive))

IfHaveTrait(CrimeSyndicate, LoadDesigns(syndicate/default))
IfHaveTrait(CrimeSyndicate, LoadDesigns(syndicate/hyperdrive))

ModAttribute(ProgenitorTechProgress, Add, 3.5)
ModAttribute(HyperdriveConst, Add, 1)
IfHaveTrait(Ancient, LoadDesigns(ancient/default))
Expand Down
3 changes: 3 additions & 0 deletions Rising Stars/data/traits/ftl/Jumpdrive.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ Trait: Jumpdrive
ModAttribute(JumpdriveConst, Add, 1)
IfHaveTrait(Ancient, LoadDesigns(ancient/default))
IfHaveTrait(Ancient, LoadDesigns(ancient/jumpdrive))

IfHaveTrait(CrimeSyndicate, LoadDesigns(syndicate/default))
IfHaveTrait(CrimeSyndicate, LoadDesigns(syndicate/jumpdrive))
4 changes: 4 additions & 0 deletions Rising Stars/data/traits/ftl/Slipstream.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ Trait: Slipstream
IfHaveTrait(Ancient, LoadDesigns(ancient/not_hyperdrive))
IfHaveTrait(Ancient, LoadDesigns(ancient/slipstream))

IfHaveTrait(CrimeSyndicate, LoadDesigns(syndicate/default))
IfHaveTrait(CrimeSyndicate, LoadDesigns(syndicate/not_hyperdrive))
IfHaveTrait(CrimeSyndicate, LoadDesigns(syndicate/slipstream))

ModAttribute(SlipstreamConst, Add, 1)
ModAttribute(ProgenitorTechProgress, Add, 3.5)
IfNotHaveTrait(StarChildren, SpawnShip(Slipstream Generator))
3 changes: 3 additions & 0 deletions Rising Stars/data/traits/ftl/Sublight.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ Trait: Sublight

IfHaveTrait(Technicists, LoadDesigns(technicist/default))
IfHaveTrait(Technicists, LoadDesigns(technicist/not_hyperdrive))

IfHaveTrait(CrimeSyndicate, LoadDesigns(syndicate/default))
IfHaveTrait(CrimeSyndicate, LoadDesigns(syndicate/not_hyperdrive))
9 changes: 4 additions & 5 deletions Rising Stars/data/traits/lifestyle/CrimeSyndicate.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ Trait: CrimeSyndicate
UnlockSubsystem(HackerArray)
UnlockSubsystem(ShadowportHull)

IfHaveTrait(Slipstream, LoadDesigns(syndicate/slipstream))
IfHaveTrait(Hyperdrive, LoadDesigns(syndicate/hyperdrive))
IfHaveTrait(Gate, LoadDesigns(syndicate/other))
IfHaveTrait(Fling, LoadDesigns(syndicate/other))
IfHaveTrait(Sublight, LoadDesigns(syndicate/other))
IfHaveTrait(Flux, LoadDesigns(syndicate/other))
IfHaveTrait(Gate, LoadDesigns(syndicate/not_hyperdrive))
IfHaveTrait(Fling, LoadDesigns(syndicate/not_hyperdrive))
IfHaveTrait(Sublight, LoadDesigns(syndicate/not_hyperdrive))
IfHaveTrait(Flux, LoadDesigns(syndicate/not_hyperdrive))
IfHaveTrait(Jumpdrive, LoadDesigns(syndicate/jumpdrive))

SpawnShip(Defiler, Override Disable Starting = True)
Expand Down
2 changes: 1 addition & 1 deletion Rising Stars/scripts/definitions/ABEM_version.as
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import version;
import CP_version;

// ABEMMOD's last revision was 724.
const string MOD_REVISION = "1345";
const string MOD_REVISION = "1346";
const array<string> VERSIONS = {
"v2.0.3",
"OpenSR v1.0.0",
Expand Down

0 comments on commit d8cc2bd

Please sign in to comment.