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
+15
View File
@@ -0,0 +1,15 @@
Trait: Anarchy
Name: #TRAIT_ANARCHY
Description: #TRAIT_ANARCHY_DESC
Category: Personality
Available: False
Category: Government
Unique: Government
Color: #ff706f
Icon: ConvertIcon::0
Gives Points: 1
RemoveAllCards()
+11
View File
@@ -0,0 +1,11 @@
Trait: FTLCache
Name: #TRAIT_FTLCACHE
Description: #TRAIT_FTLCACHE_DESC:1200
Category: FTL
Color: #00c0ff
Icon: ResourceIcon::3
Available: False
AddFTLIncome(-1)
AddStoredFTL(1200)
+17
View File
@@ -0,0 +1,17 @@
Trait: Meritocracy
Name: #TRAIT_MERITOCRACY
Description: #TRAIT_MERITOCRACY_DESC
Category: Government
Unique: Government
Available: False
Costs Points: 1
Icon: StatusIcons::0
GainInfluenceCard(Negotiate, Uses=5, Quality=2)
GainInfluenceCard(Gift, Uses=2)
GainInfluenceCard(Enhance, Uses=2)
GainInfluenceCard(OpenForum)
GainInfluenceCard(Investigate)
@@ -0,0 +1,11 @@
//Trait: Dwarf Planet
// Name: #TRAIT_DWARF_PLANET
// Description: #TRAIT_DWARF_PLANET_DESC
// Category: Foundation
//
// Conflict: Enormous Planet
//
// Color: #aaffaa
// Icon: DwarfPlanet
//
// Gives Points: 1
@@ -0,0 +1,11 @@
//Trait: EnormousPlanet
// Name: #TRAIT_ENORMOUS_PLANET
// Description: #TRAIT_ENORMOUS_PLANET_DESC
// Category: Foundation
//
// Conflict: Dwarf Planet
//
// Color: #aaffaa
// Icon: EnormousPlanet
//
// Costs Points: 1
+12
View File
@@ -0,0 +1,12 @@
Trait: Fortified
Name: #TRAIT_FORTIFIED
Description: #TRAIT_FORTIFIED_DESC
Category: Foundation
Color: #aaffaa
Icon: Fortified
Available: False
Costs Points: 1
OnHomeworld(AddPlanetResource(Pekelm))
@@ -0,0 +1,11 @@
Trait: Industrious
Name: #TRAIT_INDUSTRIOUS
Description: #TRAIT_INDUSTRIOUS_DESC:4
Category: Foundation
Color: #aaffaa
Icon: Industrious
Available: False
Costs Points: 1
OnHomeworld( AddResource(Labor, +4) )
@@ -0,0 +1,11 @@
Trait: Plantation
Name: #TRAIT_PLANTATION
Description: #TRAIT_PLANTATION_DESC
Category: Foundation
Color: #aaffaa
Icon: Plantation
Available: False
Costs Points: 1
OnHomeworld( AddPlanetResource(Grain) )
@@ -0,0 +1,9 @@
//Trait: Revolutionaries
// Name: #TRAIT_REVOLUTIONARIES
// Description: #TRAIT_REVOLUTIONARIES_DESC
// Category: Foundation
// Color: #aaffaa
// Icon: Revolutionaries
// Costs Points: 1
@@ -0,0 +1,12 @@
Trait: SequesteredSociety
Name: #TRAIT_SEQUESTERED_SOCIETY
Description: #TRAIT_SEQUESTERED_SOCIETY_DESC
Category: Foundation
Icon: SequesteredSociety
Color: #aaffaa
Available: False
Costs Points: 1
TriggerHomeworld(DevelopTiles(500))
+13
View File
@@ -0,0 +1,13 @@
Trait: Virile
Name: #TRAIT_VIRILE
Description: #TRAIT_VIRILE_DESC
Category: Foundation
Costs Points: 1
Available: False
Icon: StatusIcons::0
Color: #aaffaa
OnHomeworld(AddStatus(Virile))
@@ -0,0 +1,13 @@
Trait: Ancient Vessel
Name: #TRAIT_ANCIENT_VESSEL
Description: #TRAIT_ANCIENT_VESSEL_DESC
Category: Military
Costs Points: 1
Available: False
Icon: StatusWar
Color: #aaffaa
SpawnShip(Thereus, Design From = Creeps)
@@ -0,0 +1,13 @@
Trait: Manifest Destiny
Name: #TRAIT_MANIFEST_DESTINY
Description: #TRAIT_MANIFEST_DESTINY_DESC
Category: Military
Costs Points: 1
Available: False
Icon: StatusWar
Color: #aaffaa
ModAttribute(CaptureSupplyFactor, Multiply, 0.75)
@@ -0,0 +1,13 @@
Trait: Military Industrial Complex
Name: #TRAIT_MILITARY_INDUSTRIAL_COMPLEX
Description: #TRAIT_MILITARY_INDUSTRIAL_COMPLEX_DESC
Category: Military
Icon: StatusWar
Color: #aaffaa
Available: False
Costs Points: 1
TriggerHomeworld(GenerateDefenseShips(50))
+14
View File
@@ -0,0 +1,14 @@
Trait: Pyromania
Name: #TRAIT_PYROMANIA
Description: #TRAIT_PYROMANIA_DESC
Category: Military
Costs Points: 1
Color: #aaffaa
Available: False
Icon: StatusWar
AddModifier(tag/IsExplosiveWeapon::DamageFactor(1.25))
ModAttribute(FireDamageTakenFactor, Multiply, 2.0)
+12
View File
@@ -0,0 +1,12 @@
Trait: Crude
Name: #TRAIT_CRUDE
Description: #TRAIT_CRUDE_DESC:30
Category: Personality
Color: #ffaaaa
Icon: QuickbarIcons::3
Available: False
Gives Points: 1
AddModifier( BuildCostFactor(1.3) )
+11
View File
@@ -0,0 +1,11 @@
Trait: Cunning
Name: #TRAIT_CUNNING
Description: #TRAIT_CUNNING_DESC:5
Category: Personality
Color: #aaffaa
Icon: ResourceIcon::1
Available: False
Costs Points: 1
GainRandomInfluenceCards(5)
+12
View File
@@ -0,0 +1,12 @@
Trait: Euphoric
Name: #TRAIT_EUPHORIC
Description: #TRAIT_EUPHORIC_DESC
Category: Personality
Color: #aaffaa
Icon: HappyFace
Available: False
Costs Points: 1
AddStatusPlanetsReqLevel(2, Happy)
@@ -0,0 +1,9 @@
//Trait: Generous
// Name: #TRAIT_GENEROUS
// Description: #TRAIT_GENEROUS_DESC:4
// Category: Personality
// Color: #aaffaa
// Icon: NotImplemented
// Costs Points: 1
@@ -0,0 +1,12 @@
Trait: Inefficient
Name: #TRAIT_INEFFICIENT
Description: #TRAIT_INEFFICIENT_DESC:3
Category: Personality
Color: #ffaaaa
Icon: AttributeIcons::4
Available: False
Gives Points: 1
AddModifier( SupplyCostFactor(2) )
@@ -0,0 +1,12 @@
Trait: Sedentary
Name: #TRAIT_SEDENTARY
Description: #TRAIT_SEDENTARY_DESC
Category: Personality
Color: #ffaaaa
Icon: ResourceIcon::7
Available: False
Gives Points: 1
ModAttribute(BuildingConstructRate, Add, -0.3)
@@ -0,0 +1,12 @@
Trait: SocialParanoia
Name: #TRAIT_SOCIAL_PARANOIA
Description: #TRAIT_SOCIAL_PARANOIA_DESC
Category: Personality
Color: #ffaaaa
Icon: ThumbsDown
Available: False
Gives Points: 1
ModAttribute(VoteStartSupport, Add, -3.0)
@@ -0,0 +1,13 @@
Trait: WarMinded
Name: #TRAIT_WAR_MINDED
Description: #TRAIT_WAR_MINDED_DESC:4
Category: Personality
Color: #ffaaaa
Icon: ActionBarIcons::2
Available: False
Gives Points: 2
ModAttribute(VoteCardCostMod, Add, +1.0)
ModAttribute(SupportCardCostMod, Add, +1.0)