Open source Star Ruler 2 source code!

This commit is contained in:
Lucas de Vries
2018-07-17 14:15:37 +02:00
commit cc307720ff
4342 changed files with 2365070 additions and 0 deletions
+61
View File
@@ -0,0 +1,61 @@
Card: GalacticUtopia
Name: #GALACTIC_UTOPIA
Description: #GALACTIC_UTOPIA_DESC
Color: #ff4f00
Class: Vote
Leader Only: True
DLC: Heralds
Rarity: Epic
Frequency: 0
Icon: CardIcons::50
Base Play Cost: 25
ShowUpkeep(0.25)
StartVote(GalacticUtopia)
RequireAttributeLT(IsGalacticUtopia, 1)
RequireAttributeGTE(SenatorialPalaceConstructed, 1)
AI: PlayWhenInfluenceStronk()
Vote: GalacticUtopia
Name: #GALACTIC_UTOPIA
Description: #GALACTIC_UTOPIA_DESC
Color: #ff4f00
Icon: CardIcons::50
CreateEffect(Pass, GalacticUtopia)
MultiplyPositiveSpeed(0.5)
AddPositiveCostPenalty(1)
CancelIfNotLeader()
CancelIfAttributeLT(SenatorialPalaceConstructed, 1)
AI: Important(10)
Effect: GalacticUtopia
Name: #GALACTIC_UTOPIA
Description: #GALACTIC_UTOPIA_DESC
Color: #ff4f00
Icon: CardIcons::50
Upkeep: 0.25
Dismissable: False
ModEmpireAttribute(IsGalacticUtopia, Add, 1)
CancelIfNotLeader()
CancelIfAttributeLT(SenatorialPalaceConstructed, 1)
OnFriendlyEmpires(AddStatusOwnedPlanets(GalacticUtopia))
TakeoverBorderedSystems(Attribute Check = IsGalacticSuperpower)
OnEmpireAttributeGTE(IsGalacticSuperpower, 1, GiveAchievement(ACH_INFL_VICTORY))