Open source Star Ruler 2 source code!
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
Card: Bureaucracy
|
||||
Name: #CARD_BUREAUCRACY
|
||||
Description: #CARD_BUREAUCRACY_DESC
|
||||
|
||||
Icon: CardIcons::8
|
||||
|
||||
Color: #fff100
|
||||
Class: Effect
|
||||
Rarity: Rare
|
||||
|
||||
Base Purchase Cost: 2
|
||||
Base Play Cost: 6
|
||||
|
||||
CreateEffect(Bureaucracy)
|
||||
|
||||
AI: BuyWeight(0.5)
|
||||
AI: PlayWhenInfluenceStronk(0.5)
|
||||
|
||||
Effect: Bureaucracy
|
||||
Name: #EFFECT_BUREAUCRACY
|
||||
Color: #ff00dd
|
||||
|
||||
Icon: CardIcons::8
|
||||
|
||||
Upkeep: 0.2
|
||||
|
||||
GainLeverageWhenVoteStarted(Quality Factor = 2.0)
|
||||
GainLeverageWhenEffectStarted(Quality Factor = 2.0)
|
||||
@@ -0,0 +1,28 @@
|
||||
Card: OpenForum
|
||||
Name: #CARD_OPENFORUM
|
||||
Description: #CARD_OPENFORUM_DESC
|
||||
|
||||
Icon: CardIcons::9
|
||||
|
||||
Color: #10f1af
|
||||
Class: Effect
|
||||
Rarity: Epic
|
||||
|
||||
Base Purchase Cost: 2
|
||||
Base Play Cost: 6
|
||||
|
||||
CreateEffect(OpenForum)
|
||||
|
||||
AI: BuyWeight(0.5)
|
||||
AI: PlayWhenInfluenceStronk(0.5)
|
||||
|
||||
Effect: OpenForum
|
||||
Name: #EFFECT_OPENFORUM
|
||||
Color: #ff00dd
|
||||
|
||||
Icon: CardIcons::9
|
||||
|
||||
Upkeep: 0.25
|
||||
|
||||
ModInfluenceStackSize(+1)
|
||||
ModAttribute(InfluencePlacementMod, Add, -1)
|
||||
@@ -0,0 +1,41 @@
|
||||
Card: ProtectSystem
|
||||
Name: #CARD_PROTECT_SYSTEM
|
||||
Description: #CARD_PROTECT_SYSTEM_DESC
|
||||
|
||||
Target: system = Object
|
||||
|
||||
Icon: CardIcons::17
|
||||
|
||||
Color: #ffa4ff
|
||||
Class: Effect
|
||||
Rarity: Epic
|
||||
|
||||
Base Purchase Cost: 2
|
||||
Quality Purchase Cost: 2
|
||||
|
||||
Base Play Cost: 5
|
||||
Quality Play Cost: 2
|
||||
|
||||
Max Quality: 3
|
||||
|
||||
TargetFilterRegion(system)
|
||||
TargetFilterRegionOwned(system)
|
||||
ApplyRegionTargetCostMod(system)
|
||||
|
||||
NotifyAll(#PROTECT_SYSTEM_NOTIFY)
|
||||
|
||||
ShowDuration(300, Per Quality = 300)
|
||||
CreateEffect(ProtectSystem, system, Quality Duration = 300)
|
||||
|
||||
AI: PlayOnDefendingSystem(system)
|
||||
|
||||
Effect: ProtectSystem
|
||||
Name: #PROTECT_SYSTEM_EFFECT
|
||||
Color: #ffa4ff
|
||||
|
||||
Target: system = Object
|
||||
|
||||
Default Duration: 300
|
||||
Upkeep: 0.35
|
||||
|
||||
ProtectSystem(system)
|
||||
@@ -0,0 +1,40 @@
|
||||
Card: Spy
|
||||
Name: #CARD_SPY
|
||||
Description: #CARD_SPY_DESC
|
||||
|
||||
Icon: CardIcons::10
|
||||
|
||||
Color: #ff4fa4
|
||||
Class: Effect
|
||||
Rarity: Rare
|
||||
|
||||
Base Purchase Cost: 4
|
||||
Base Play Cost: 4
|
||||
|
||||
Max Quality: 3
|
||||
|
||||
GenerateRandomEmpire(target, Generic Chance = 0.3)
|
||||
DisappearSelfBuy(target)
|
||||
|
||||
Target: target = Empire
|
||||
TargetFilterOtherEmpire(target)
|
||||
|
||||
ShowDuration(300, Per Quality = 180)
|
||||
CreateEffect(Spy, target, Quality Duration = 180)
|
||||
|
||||
AI: BuyAgainstEnemies(target)
|
||||
AI: PlayOnEnemy(target, War Only = True)
|
||||
|
||||
Effect: Spy
|
||||
Name: #CARD_SPY_EFFECT
|
||||
Description: #CARD_SPY_EFFECT_DESC
|
||||
Color: #ff4fa4
|
||||
|
||||
Icon: CardIcons::10
|
||||
|
||||
Target: target = Empire
|
||||
|
||||
Default Duration: 300
|
||||
Upkeep: 0.2
|
||||
|
||||
GrantVisionOver(target)
|
||||
Reference in New Issue
Block a user