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
+35
View File
@@ -0,0 +1,35 @@
Card: GalaxyMall
Name: #CARD_GALAXY_MALL
Description: #CARD_GALAXY_MALL_DESC
Icon: CardIcons::26
Rarity: Epic
Target: planet = Object
Color: #ccc74e
Class: Action
Base Purchase Cost: 4
Base Play Cost: 4
TargetFilterType(planet, Planet)
TargetFilterOwned(planet)
TargetFilterNotStatus(planet, SenateBuilding)
TargetFilterNotStatus(planet, UnitedResearch)
TargetFilterNotStatus(planet, GalaxyMall)
ApplyRegionTargetCostMod(planet)
RequireContact()
PlayCostFromGlobal(GalaxyMallCount, 4.0)
PlayMoneyCostFromGlobal(GalaxyMallCount, 500, Base = 500)
ShowGlobalValue(AttributeIcons::2, #VAR_BUILD_COST_DECREASE, GalaxyMallCount, Factor = 5.0, Base = 10.0, Suffix = %)
TriggerAllPlanets(RemoveStatus(GalaxyMall))
Trigger(planet, AddStatus(GalaxyMall))
ModGlobal(GalaxyMallCount, +1.0)
NotifyAll(#NOTIFY_GALAXY_MALL)
AI: PlayOnImportantPlanets(planet)
AI: IgnoreIfAttributeGTE(HaveGalaxyMall, 1)