Open source Star Ruler 2 source code!
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
Card: SenateBuilding
|
||||
Name: #CARD_SENATE_BUILDING
|
||||
Description: #CARD_SENATE_BUILDING_DESC
|
||||
Icon: CardIcons::27
|
||||
|
||||
Rarity: Epic
|
||||
|
||||
Target: planet = Object
|
||||
|
||||
Color: #764ecc
|
||||
Class: Vote
|
||||
|
||||
Base Purchase Cost: 4
|
||||
Base Play Cost: 6
|
||||
|
||||
TargetFilterType(planet, Planet)
|
||||
TargetFilterOwned(planet)
|
||||
TargetFilterNotStatus(planet, SenateBuilding)
|
||||
TargetFilterNotStatus(planet, UnitedResearch)
|
||||
TargetFilterNotStatus(planet, GalaxyMall)
|
||||
ApplyRegionTargetCostMod(planet)
|
||||
RequireContact()
|
||||
|
||||
PlayCostFromGlobal(SenateBuildingCount, 5.0)
|
||||
|
||||
ShowGlobalValue(DesignationIcons::1, #VAR_INFLUENCE_INCOME, SenateBuildingCount, Factor = 2.0, Base = 2.0, Suffix = +Lv)
|
||||
|
||||
StartVote(SenateBuilding, planet)
|
||||
|
||||
AI: PlayOnImportantPlanets(planet)
|
||||
AI: IgnoreIfAttributeGTE(HaveSenateBuilding, 1)
|
||||
|
||||
Vote: SenateBuilding
|
||||
Name: #VOTE_SENATE_BUILDING
|
||||
Icon: CardIcons::27
|
||||
|
||||
Target: planet = Object
|
||||
CancelOnLost(planet)
|
||||
|
||||
ModGlobal(Pass, SenateBuildingCount, +1.0)
|
||||
|
||||
TriggerAllPlanets(RemoveStatus(SenateBuilding))
|
||||
Trigger(planet, AddStatus(SenateBuilding))
|
||||
|
||||
AI: BadIfAttributeGTE(HaveSenateBuilding, 1.0, Weight = 10.0, Importance = 2.0)
|
||||
Reference in New Issue
Block a user