Open source Star Ruler 2 source code!
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
Attitude: Collectivism
|
||||
Name: #ATT_COLLECTIVISM
|
||||
Progress: #ATT_COLLECTIVISM_PROGRESS
|
||||
Color: #ac332d
|
||||
Sort: 25
|
||||
|
||||
ProgressFromAttribute(MiningBasesBuilt)
|
||||
Conflict(Individualism)
|
||||
|
||||
Level:
|
||||
Description: #ATT_COLLECTIVISM_L1
|
||||
Icon: AttributeIcons::0
|
||||
Threshold: 2
|
||||
|
||||
ModEmpireAttribute(GlobalPressureCap, Add, 1)
|
||||
TriggerPlanetUpdate()
|
||||
|
||||
Level:
|
||||
Description: #ATT_COLLECTIVISM_L2
|
||||
Icon: Factory
|
||||
Threshold: 4
|
||||
|
||||
ModEmpireAttribute(FactoryLaborMod, Add, 2)
|
||||
|
||||
Level:
|
||||
Description: #ATT_COLLECTIVISM_L3
|
||||
Icon: CardCategoryIcons::2
|
||||
Threshold: 8
|
||||
|
||||
ModEmpireAttribute(PlanetConditionMultiplier, Add, 1)
|
||||
|
||||
Level:
|
||||
Description: #ATT_COLLECTIVISM_L4
|
||||
Icon: AsteroidIcon
|
||||
Threshold: 14
|
||||
|
||||
TriggerPeriodic(TriggerRandomSystem(SpawnAsteroids(1), Has Planets = True), Interval = 300, Random Margin = 0.25)
|
||||
|
||||
Level:
|
||||
Description: #ATT_COLLECTIVISM_L5
|
||||
Icon: Factory * #ff8080
|
||||
Threshold: 26
|
||||
|
||||
ModEmpireAttribute(FactoryHPMod, Add, 0.1)
|
||||
@@ -0,0 +1,44 @@
|
||||
Attitude: Delinquent
|
||||
Name: #ATT_DELINQUENT
|
||||
Progress: #ATT_DELINQUENT_PROGRESS
|
||||
Color: #c73434
|
||||
Sort: 35
|
||||
|
||||
ProgressFromAttribute(RemnantsCleared)
|
||||
Conflict(Reverent)
|
||||
|
||||
Level:
|
||||
Description: #ATT_DELINQUENT_L1
|
||||
Icon: ResourceIcon::5
|
||||
Threshold: 2
|
||||
|
||||
AddDefenseReserve(+10)
|
||||
|
||||
Level:
|
||||
Description: #ATT_DELINQUENT_L2
|
||||
Icon: GuiOrbitalIcons::12
|
||||
Threshold: 5
|
||||
|
||||
ModEmpireAttribute(RemnantPickupMult, Add, 1)
|
||||
|
||||
Level:
|
||||
Description: #ATT_DELINQUENT_L3
|
||||
Icon: techImpact * #ff8000
|
||||
Threshold: 10
|
||||
|
||||
EnableModifier(tag/Weapon::DamageFactor(1.1))
|
||||
|
||||
Level:
|
||||
Description: #ATT_DELINQUENT_L4
|
||||
Icon: techImpact * #00ff00
|
||||
Threshold: 15
|
||||
|
||||
EnableModifier(tag/Weapon::CoreHealthFactor(2.0))
|
||||
EnableModifier(tag/Weapon::CoreMassFactor(2.0))
|
||||
|
||||
Level:
|
||||
Description: #ATT_DELINQUENT_L5
|
||||
Icon: PointsIcon
|
||||
Threshold: 20
|
||||
|
||||
TriggerNewFleets(GrantExperience(Size Factor = 1.0), Give To Stations = False)
|
||||
@@ -0,0 +1,43 @@
|
||||
Attitude: Generosity
|
||||
Name: #ATT_GENEROSITY
|
||||
Progress: #ATT_GENEROSITY_PROGRESS
|
||||
Color: #34c794
|
||||
Sort: 15
|
||||
|
||||
ProgressFromAttribute(InfluenceCardsBought)
|
||||
Conflict(Materialism)
|
||||
|
||||
Level:
|
||||
Description: #ATT_GENEROSITY_L1
|
||||
Icon: ResourceIcon::1
|
||||
Threshold: 2
|
||||
|
||||
RepeatEmpireContacts(AddInfluenceStake(1), Maximum = 3)
|
||||
|
||||
Level:
|
||||
Description: #ATT_GENEROSITY_L2
|
||||
Icon: BuildingSprites::4
|
||||
Threshold: 5
|
||||
|
||||
ModEmpireAttribute(BuildingConstructRate, Add, 0.35)
|
||||
|
||||
Level:
|
||||
Description: #ATT_GENEROSITY_L3
|
||||
Icon: CardIcons::6
|
||||
Threshold: 11
|
||||
|
||||
ModEmpireAttribute(NegotiateExtraWeight, Add, 1)
|
||||
|
||||
Level:
|
||||
Description: #ATT_GENEROSITY_L4
|
||||
Icon: CardCategoryIcons::4
|
||||
Threshold: 19
|
||||
|
||||
ModEmpireAttribute(ZeitgeistStartSupport, Add, 5)
|
||||
|
||||
Level:
|
||||
Description: #ATT_GENEROSITY_L5
|
||||
Icon: PlanetLevelIcons::2
|
||||
Threshold: 28
|
||||
|
||||
ModEmpireAttribute(InfluenceBuysExtraQuality, Add, 1)
|
||||
@@ -0,0 +1,44 @@
|
||||
Attitude: Individualism
|
||||
Name: #ATT_INDIVIDUALISM
|
||||
Progress: #ATT_INDIVIDUALISM_PROGRESS
|
||||
Color: #c73491
|
||||
Sort: 20
|
||||
|
||||
ProgressFromAttribute(ImperialBuildingsBuilt)
|
||||
ProgressFromAttribute(OrbitalsBuilt)
|
||||
Conflict(Collectivism)
|
||||
|
||||
Level:
|
||||
Description: #ATT_INDIVIDUALISM_L1
|
||||
Icon: AttributeIcons::0
|
||||
Threshold: 2
|
||||
|
||||
AddStatusHomeworld(IndividualismHW)
|
||||
|
||||
Level:
|
||||
Description: #ATT_INDIVIDUALISM_L2
|
||||
Icon: BuildingSprites::0
|
||||
Threshold: 4
|
||||
|
||||
ModEmpireAttribute(CityConstructRate, Multiply, 1000)
|
||||
|
||||
Level:
|
||||
Description: #ATT_INDIVIDUALISM_L3
|
||||
Icon: ResourceIcon::8
|
||||
Threshold: 10
|
||||
|
||||
RepeatEmpirePopulation(15, AddInfluenceStake(1))
|
||||
|
||||
Level:
|
||||
Description: #ATT_INDIVIDUALISM_L4
|
||||
Icon: MissileLauncher::0
|
||||
Threshold: 18
|
||||
|
||||
EnableModifier(tag/MissileBase::RangeFactor(1.5))
|
||||
|
||||
Level:
|
||||
Description: #ATT_INDIVIDUALISM_L5
|
||||
Icon: CardIcons::18
|
||||
Threshold: 29
|
||||
|
||||
TriggerNewFleets(AddStatus(StartNamed), Give To Stations = False)
|
||||
@@ -0,0 +1,44 @@
|
||||
Attitude: Materialism
|
||||
Name: #ATT_MATERIALISM
|
||||
Progress: #ATT_MATERIALISM_PROGRESS
|
||||
Color: #d1cb6a
|
||||
Sort: 10
|
||||
|
||||
Conflict(Generosity)
|
||||
|
||||
TiedAbility(SpendAttitudeMoney)
|
||||
|
||||
Level:
|
||||
Description: #ATT_MATERIALISM_L1
|
||||
Icon: HullIcons::0
|
||||
Threshold: 500
|
||||
|
||||
ModEmpireAttribute(ColonizerSpeed, Multiply, 1.5)
|
||||
|
||||
Level:
|
||||
Description: #ATT_MATERIALISM_L2
|
||||
Icon: ResourceIcon::0 * #80ff80
|
||||
Threshold: 1000
|
||||
|
||||
ModEmpireAttribute(SpecialFundsFactor, Multiply, 1.25)
|
||||
|
||||
Level:
|
||||
Description: #ATT_MATERIALISM_L3
|
||||
Icon: ResourceIcon::0 * #ff8080
|
||||
Threshold: 1500
|
||||
|
||||
MultBorrowPenalty(0.001)
|
||||
|
||||
Level:
|
||||
Description: #ATT_MATERIALISM_L4
|
||||
Icon: GuiOrbitalIcons::14
|
||||
Threshold: 2500
|
||||
|
||||
ModEmpireAttribute(OrbitalLaborCostFactor, Multiply, 0.67)
|
||||
|
||||
Level:
|
||||
Description: #ATT_MATERIALISM_L5
|
||||
Icon: AttributeIcons::0
|
||||
Threshold: 4000
|
||||
|
||||
AddStatusOwnedPlanets(BoostResource, Level Requirement = 2)
|
||||
@@ -0,0 +1,43 @@
|
||||
Attitude: Progressive
|
||||
Name: #ATT_PROGRESSIVE
|
||||
Progress: #ATT_PROGRESSIVE_PROGRESS
|
||||
Color: #ede645
|
||||
Sort: 55
|
||||
|
||||
ProgressFromAttribute(ResearchUnlocksDone)
|
||||
Conflict(Stable)
|
||||
|
||||
Level:
|
||||
Description: #ATT_PROGRESSIVE_L1
|
||||
Icon: ResourceIcon::4
|
||||
Threshold: 1
|
||||
|
||||
AddResearchIncome(1)
|
||||
|
||||
Level:
|
||||
Description: #ATT_PROGRESSIVE_L2
|
||||
Icon: ResourceIcon::3
|
||||
Threshold: 3
|
||||
|
||||
AddFTLIncome(1)
|
||||
|
||||
Level:
|
||||
Description: #ATT_PROGRESSIVE_L3
|
||||
Icon: ActionBarIcons::5
|
||||
Threshold: 7
|
||||
|
||||
GainResearchWhenAttributeUps(FTLEnergySpent, 4.0)
|
||||
|
||||
Level:
|
||||
Description: #ATT_PROGRESSIVE_L4
|
||||
Icon: ConvertIcon::1
|
||||
Threshold: 11
|
||||
|
||||
ModEmpireAttribute(WelfareEfficiency, Multiply, 2)
|
||||
|
||||
Level:
|
||||
Description: #ATT_PROGRESSIVE_L5
|
||||
Icon: ActionBarIcons::2
|
||||
Threshold: 18
|
||||
|
||||
EnableModifier(FlagshipHull::IncreaseHexLimit(14))
|
||||
@@ -0,0 +1,45 @@
|
||||
Attitude: Reverent
|
||||
Name: #ATT_REVERENT
|
||||
Progress: #ATT_REVERENT_PROGRESS
|
||||
Color: #3447c7
|
||||
Sort: 30
|
||||
|
||||
ProgressFromAttribute(ArtifactsActivated)
|
||||
Conflict(Delinquent)
|
||||
|
||||
Level:
|
||||
Description: #ATT_REVERENT_L1
|
||||
Icon: ResourceIcon::2
|
||||
Threshold: 2
|
||||
|
||||
ModEmpireAttribute(FreeEnergyStorage, Add, 100)
|
||||
|
||||
Level:
|
||||
Description: #ATT_REVERENT_L2
|
||||
Icon: techPhaseContainment * #4040ff
|
||||
Threshold: 5
|
||||
|
||||
EnableModifier(ShieldCapacityFactor(1.2))
|
||||
EnableModifier(ShieldHarmonizer::BonusShieldFactor(1.2))
|
||||
|
||||
Level:
|
||||
Description: #ATT_REVERENT_L3
|
||||
Icon: ArtifactIcon::0
|
||||
Threshold: 10
|
||||
|
||||
TriggerPeriodic(TriggerRandomSystem(SpawnArtifact(In System = True, Owned = True, Allow Natural = True), Has Planets = True), Interval = 300, Random Margin = 0.25)
|
||||
|
||||
Level:
|
||||
Description: #ATT_REVERENT_L4
|
||||
Icon: ResourceIcon::3
|
||||
Threshold: 15
|
||||
|
||||
ModEmpireAttribute(FTLCostFactor, Multiply, 0.7)
|
||||
|
||||
Level:
|
||||
Description: #ATT_REVERENT_L5
|
||||
Icon: ResourceIcon::5
|
||||
Threshold: 20
|
||||
|
||||
TiedAbility(ReverentOvercharge)
|
||||
RepeatEnergyStored(500, ModEmpireAttribute(DefenseGenerationFactor, Add, 0.3))
|
||||
@@ -0,0 +1,44 @@
|
||||
Attitude: Scheming
|
||||
Name: #ATT_SCHEMING
|
||||
Progress: #ATT_SCHEMING_PROGRESS
|
||||
Color: #1cd86c
|
||||
Sort: 45
|
||||
|
||||
ProgressFromAttribute(AnnexVotesWon)
|
||||
Conflict(Warmongering)
|
||||
|
||||
Level:
|
||||
Description: #ATT_SCHEMING_L1
|
||||
Icon: CardIcons::0
|
||||
Threshold: 1
|
||||
|
||||
ModEmpireAttribute(ReturnAnnexCards, Add, 1)
|
||||
|
||||
Level:
|
||||
Description: #ATT_SCHEMING_L2
|
||||
Icon: ThumbsUp
|
||||
Threshold: 2
|
||||
|
||||
ModEmpireAttribute(VoteStartSupport, Add, 1)
|
||||
|
||||
Level:
|
||||
Description: #ATT_SCHEMING_L3
|
||||
Icon: ResourceIcon::1
|
||||
Threshold: 4
|
||||
|
||||
TriggerOnVoteStart(AddInfluencePoints(3))
|
||||
|
||||
Level:
|
||||
Description: #ATT_SCHEMING_L4
|
||||
Icon: AttributeIcons::4 * #ff8080
|
||||
Threshold: 7
|
||||
|
||||
ModEmpireAttribute(CaptureSupplyDifficulty, Multiply, 2)
|
||||
ModEmpireAttribute(CaptureTimeDifficulty, Multiply, 2)
|
||||
|
||||
Level:
|
||||
Description: #ATT_SCHEMING_L5
|
||||
Icon: CardIcons::6
|
||||
Threshold: 12
|
||||
|
||||
ModEmpireAttribute(InfluenceBuysCopyChance, Add, 0.5)
|
||||
@@ -0,0 +1,43 @@
|
||||
Attitude: Stable
|
||||
Name: #ATT_STABLE
|
||||
Progress: #ATT_STABLE_PROGRESS
|
||||
Color: #50c53a
|
||||
Sort: 50
|
||||
|
||||
ProgressFromAttribute(Level3Planets, Monotonic = False)
|
||||
Conflict(Progressive)
|
||||
|
||||
Level:
|
||||
Description: #ATT_STABLE_L1
|
||||
Icon: techResupply * #fe4040
|
||||
Threshold: 1
|
||||
|
||||
EnableModifier(SupplyRateFactor(1.2))
|
||||
|
||||
Level:
|
||||
Description: #ATT_STABLE_L2
|
||||
Icon: AttributeIcons::1
|
||||
Threshold: 3
|
||||
|
||||
ModGlobalLoyalty(+2)
|
||||
|
||||
Level:
|
||||
Description: #ATT_STABLE_L3
|
||||
Icon: Warehouse
|
||||
Threshold: 5
|
||||
|
||||
ModEmpireAttribute(BuildingCostFactor, Multiply, 0.5)
|
||||
|
||||
Level:
|
||||
Description: #ATT_STABLE_L4
|
||||
Icon: HappyFace
|
||||
Threshold: 8
|
||||
|
||||
ModEmpireAttribute(HappyMultiplier, Add, 1)
|
||||
|
||||
Level:
|
||||
Description: #ATT_STABLE_L5
|
||||
Icon: ResourceIcon::0
|
||||
Threshold: 12
|
||||
|
||||
ModEmpireAttribute(ShipCostRegain, Add, 0.2)
|
||||
@@ -0,0 +1,44 @@
|
||||
Attitude: Tolerant
|
||||
Name: #ATT_TOLERANT
|
||||
Progress: #ATT_TOLERANT_PROGRESS
|
||||
Color: #45e1ed
|
||||
Sort: 60
|
||||
|
||||
ProgressFromScoutedSystems()
|
||||
Conflict(Xenophobic)
|
||||
|
||||
Level:
|
||||
Description: #ATT_TOLERANT_L1
|
||||
Icon: AttributeIcons::0
|
||||
Threshold: 5
|
||||
|
||||
EnableModifier(RocketEngine::ThrustFactor(1.25))
|
||||
EnableModifier(SupportRocketEngine::ThrustFactor(1.25))
|
||||
|
||||
Level:
|
||||
Description: #ATT_TOLERANT_L2
|
||||
Icon: ResourceIcon::8
|
||||
Threshold: 15
|
||||
|
||||
ModEmpireAttribute(PopulationGrowthFactor, Multiply, 1.3)
|
||||
|
||||
Level:
|
||||
Description: #ATT_TOLERANT_L3
|
||||
Icon: ThumbsDown
|
||||
Threshold: 40
|
||||
|
||||
OnEmpires(ModEmpireAttribute(VoteStartSupport, Add, -2), On Owner = False, On Allied = False)
|
||||
|
||||
Level:
|
||||
Description: #ATT_TOLERANT_L4
|
||||
Icon: CardIcons::5
|
||||
Threshold: 70
|
||||
|
||||
RemoveInfluenceCardStackTargeted()
|
||||
|
||||
Level:
|
||||
Description: #ATT_TOLERANT_L5
|
||||
Icon: HappyFace * #80ff80
|
||||
Threshold: 150
|
||||
|
||||
MaintainInfluenceEffect(TolerantEffect)
|
||||
@@ -0,0 +1,44 @@
|
||||
Attitude: Warmongering
|
||||
Name: #ATT_WARMONGERING
|
||||
Progress: #ATT_WARMONGERING_PROGRESS
|
||||
Color: #d81c30
|
||||
Sort: 40
|
||||
|
||||
ProgressFromAttribute(PlanetsConquered)
|
||||
Conflict(Scheming)
|
||||
|
||||
Level:
|
||||
Description: #ATT_WARMONGERING_L1
|
||||
Icon: AttributeIcons::0 * #ff8080
|
||||
Threshold: 2
|
||||
|
||||
ModEmpireAttribute(PlanetDecaySpeed, Multiply, 0.5)
|
||||
|
||||
Level:
|
||||
Description: #ATT_WARMONGERING_L2
|
||||
Icon: ActionBarIcons::2 * #ffff80
|
||||
Threshold: 4
|
||||
|
||||
TriggerOnAttributeIncrease(EnemyFlagshipsDestroyed, ModAttribute(FleetEfficiencyFactor, Add, 0.01))
|
||||
|
||||
Level:
|
||||
Description: #ATT_WARMONGERING_L3
|
||||
Icon: ActionBarIcons::2
|
||||
Threshold: 8
|
||||
|
||||
EnableModifier(SupportCapacityFactor(1.15))
|
||||
|
||||
Level:
|
||||
Description: #ATT_WARMONGERING_L4
|
||||
Icon: ResourceIcon::6
|
||||
Threshold: 14
|
||||
|
||||
EnableModifier(hull/Flagship::LaborCostFactor(0.85))
|
||||
|
||||
Level:
|
||||
Description: #ATT_WARMONGERING_L5
|
||||
Icon: ResourceIcon::5
|
||||
Threshold: 22
|
||||
|
||||
ModAttributeWarPercentage(DefenseGenerationFactor, 0.5)
|
||||
ModAttributeWarPercentage(EnergyGenerationFactor, 0.5)
|
||||
@@ -0,0 +1,43 @@
|
||||
Attitude: Xenophobic
|
||||
Name: #ATT_XENOPHOBIC
|
||||
Progress: #ATT_XENOPHOBIC_PROGRESS
|
||||
Color: #5145ed
|
||||
Sort: 65
|
||||
|
||||
ProgressFromAttribute(BorderOutposts, Monotonic = False)
|
||||
Conflict(Tolerant)
|
||||
|
||||
Level:
|
||||
Description: #ATT_XENOPHOBIC_L1
|
||||
Icon: AttributeIcons::6
|
||||
Threshold: 2
|
||||
|
||||
ModEmpireAttribute(OrbitalHealthMod, Multiply, 1.5)
|
||||
|
||||
Level:
|
||||
Description: #ATT_XENOPHOBIC_L2
|
||||
Icon: techOrganization * #fff080
|
||||
Threshold: 4
|
||||
|
||||
ModEmpireAttribute(OutpostBoost, Add, 1)
|
||||
|
||||
Level:
|
||||
Description: #ATT_XENOPHOBIC_L3
|
||||
Icon: AttributeIcons::4
|
||||
Threshold: 7
|
||||
|
||||
ModEmpireAttribute(OutpostFreeRaid, Add, 1)
|
||||
|
||||
Level:
|
||||
Description: #ATT_XENOPHOBIC_L4
|
||||
Icon: ActionBarIcons::2
|
||||
Threshold: 13
|
||||
|
||||
EnableModifier(hull/Support::BuildCostFactor(0.7))
|
||||
|
||||
Level:
|
||||
Description: #ATT_XENOPHOBIC_L5
|
||||
Icon: ResourceIcon::0
|
||||
Threshold: 22
|
||||
|
||||
ModEmpireAttribute(DestroyShipReward, Add, 0.2)
|
||||
Reference in New Issue
Block a user