Module:HabModuleSpecial/data

From Terra Invicta Official Wiki

Documentation for this module may be created at Module:HabModuleSpecial/data/doc

-- This converts an HabModuleSpecial name into readable text, in parts, and maybe a special value indicating what type of value it wants inserted.
local IconModule = require('Module:Icon')
local TVModule = require('Module:TV')

return {
	['DropTroops']= IconModule.Icon({args={'marine'}}) .. 'Marine strength can be used offensively.',
	['Cost_Scales_With_Gravity']='Build cost and ' .. IconModule.Icon({args={'power consumption'}}) .. 'scale with escape velocity and distance from home space body.',
	['Shipyard']='Builds [[Spaceships|Ships]] with {constructionTimeModifier}× [[Spaceships#Construction|base time modifier]].',
	['Requires_Colonized_Body']='Need ≥10000 system ' .. IconModule.Icon({args={'pop'}}) .. 'population.',
	['Requires_Inhabited_Body']='Need ≥50000 system ' .. IconModule.Icon({args={'pop'}}) .. 'population.',
	['Requires_GasGiant_Orbit']='Need gas giant orbit.',
	['Requires_Interface_Orbit']='Need interface orbit.',
	['Solar_Power_Variable_Output']=TVModule.TV({args={'power'}}) .. ' scales with proximity to Sun.',
	['CanFoundTier1Habs']='Can build new T1 [[Habs]] in System.',
	['CanFoundTier2Habs']='Can build new T2 [[Habs]] in System.',
	['CanFoundTier3Habs']='Can build new T3 [[Habs]] in System.',
	['SolarMirror']='Add ' .. TVModule.TV({args={'power', '{specialRulesValue}'}}) .. ' to all solar power modules, multiplied by solar module tier, for faction bases on the space body it orbits. Bonus also applies on a moon if the module is the L-1, L-4, or L-5 points between the moon and its parent planet. If placed in the L-1 point between a planet and the sun, the bonus applies to all bases in the planetary system. Mass increases based on distance from the Sun. Solar panels may produce a maximum of 8x their baseline maximum power value.',
	['MarinePlatoon']='Add ' .. TVModule.TV({args={'marine', '{specialRulesValue}'}}) .. 'marine strength as T1 Marines.',
	['MarineCompany']='Add ' .. TVModule.TV({args={'marine', '{specialRulesValue}'}}) .. 'marine strength as T2 Marines.',
	['MarineBattalion']='Add ' .. TVModule.TV({args={'marine', '{specialRulesValue}'}}) .. 'marine strength as T3 Marines.',
	['Griffins']='Add ' .. TVModule.TV({args={'marine', '{specialRulesValue}'}}) .. 'marine strength as Griffins.',
	['WarDogs']='Add ' .. TVModule.TV({args={'marine', '{specialRulesValue}'}}) .. 'marine strength as War Dogs.',
	['Salamanders']='Add ' .. TVModule.TV({args={'marine', '{specialRulesValue}'}}) .. 'marine strength as Salamanders.',
	['PowerFirst']='Cannot depower.',
	['SentinelModule']='Enables the ' .. IconModule.MissionIcon({args={'Dominate Nation'}}) .. '[[Dominate Nation]] mission.',
	['InterstellarLaunchModule']='Victory module for ' .. IconModule.Icon({args={'escape'}}) .. '[[Project Exodus]].',
	['EarthLEOOnly']='Need [[Earth]] interface orbit.',
	['HarvestAntimatter']='Harvests '  .. TVModule.TV({args={'antimatter', '{specialRulesValue%}'}}) .. ' of Orbit. Max one per orbit.',
	['Farm']='Removes [[Habs|Hab]] ' .. IconModule.Icon({args={'water'}}) .. IconModule.Icon({args={'volatiles'}}) .. ' upkeep for up to '  .. TVModule.TV({args={'crew', '{specialRulesValue}'}}),
	['AlienWormhole']='Alien Wormhole. Cannot be destroyed.',
	['WikiRuleConstruction']='{constructionTimeModifier}× [[Habs#Construction_Modifiers|base time modifier]] to hab module construction.',
	['MoneyIfNotBuilding']='Produces ' .. IconModule.Icon({args={'money'}}) .. ' if no modules under construction. ',
	['NotInIrradiated']='Cannot be built in irradiated locations.',
	['ConsumesMCWhenUnpowered']='Has ' .. IconModule.Icon({args={'mc'}}) .. ' upkeep even when unpowered.',
	['TechBonusDiminishingReturns']='Adds {techBonus}',
	['LEOBonusArmyCombatValue']='Adds ' .. TVModule.TV({args={'miltech', '{specialRulesValue}'}}) .. ' to our armies if in [[Earth]] interface orbit. Capped at +0.3.',
	['LEOBonusPropagandaStrength']='Adds +{specialRulesValue} [[Nations#Changing_Public_Opinion|strength]] to our [[Public Campaign]]s if in [[Earth]] interface orbit. Capped at +9.',
	['LEOBonusAlienDetection']='Add +{tier} bonus to [[Aliens#Alien_Agents|alien]] [[Councilors#Detection|detection]] on [[Earth]] if in [[Earth]] interface orbit. Capped at +9.',
	['LEOBonusHumanDetection']='Add +{tier} bonus to [[Councilors#Detection|detecting]] enemy [[Councilors]] on [[Earth]] if the module is in an [[Earth]] interface orbit. Capped at +9.',
	['LEOBonusMiltech']='Add ' .. TVModule.TV({args={'military priority', '{specialRulesValue%}'}}) .. ' if in [[Earth]] interface orbit. Capped at +30%.',
	['LEOBonusWelfare']='Add ' .. TVModule.TV({args={'welfare', '{specialRulesValue%}'}}) .. ' if in [[Earth]] interface orbit. Capped at +30%.',
	['LEOBonusLaunchFacilities']='Add ' .. TVModule.TV({args={'boost priority', '{specialRulesValue%}'}}) .. ' if in [[Earth]] interface orbit. Capped at +30%.',
	['LEOBonusKnowledge']='Add ' .. TVModule.TV({args={'knowledge', '{specialRulesValue%}'}}) .. ' if in [[Earth]] interface orbit. Capped at +30%.',
	['LEOBonusMissionControl']='Add ' .. TVModule.TV({args={'mission control priority', '{specialRulesValue%}'}}) .. ' if in [[Earth]] interface orbit. Capped at +30%.',
	['LEOBonusEconomy']='Add ' .. TVModule.TV({args={'economy', '{specialRulesValue%}'}}) .. ' if in [[Earth]] interface orbit. Capped at +30%.',
	['LEOBonusUnity']='Add ' .. TVModule.TV({args={'unity', '{specialRulesValue%}'}}) .. ' if in [[Earth]] interface orbit. Capped at +30%.',
	['LEOBonusOppression']='Add ' .. TVModule.TV({args={'oppression', '{specialRulesValue%}'}}) .. ' if in [[Earth]] interface orbit. Capped at +30%.',
	['LEOBonusEnvironment']='Add ' .. TVModule.TV({args={'environment', '{specialRulesValue%}'}}) .. ' if in [[Earth]] interface orbit. Capped at +30%.',
	['LEOBonusGovernment']='Add ' .. TVModule.TV({args={'government', '{specialRulesValue%}'}}) .. ' if in [[Earth]] interface orbit. Capped at +30%.',
	['LEOControlPointCapacity']='Add ' .. TVModule.TV({args={'cp', '{controlPointCapacity}'}}) .. ' if in [[Earth]] interface orbit.',
	['FleetTargeting']='Add +{specialRulesValue%} to [[Fleets#ECM_and_Targeting|targeting rolls to overcome ECM]]; for station modules this applies to all defending [[Spaceships|ships]].',
	['FleetECM']='Add +{specialRulesValue%} [[Fleets#ECM_and_Targeting|ECM]] value; for station modules this applies to all defending [[Spaceships|ships]].',
	['AtrocityToKill']='Destroyer commits an [[Factions#Atrocity|Atrocity]].',
	['AtrocityToKill_Populous']='Destroyer commits an [[Factions#Atrocity|Atrocity]] if ≥50000 system ' .. IconModule.Icon({args={'pop'}}) .. 'population.',
	['AtrocityToLose']='If destroyed, the owner loses [[Nations#Public_Opinion|public support]] as if they committed an [[Factions#Atrocity|Atrocity]] (but does not actually commit an atrocity).',
	['Stability']='Add {specialRulesValue} defense against [[Control Space Asset]] and crew of module has no ' .. TVModule.TV({args={'money'}}) .. ' upkeep.',
	['Efficiency']='Add +{specialRulesValue%} bonus to [[Habs|Hab]] ' .. IconModule.Icon({args={'money'}}) .. IconModule.Icon({args={'influence'}}) .. IconModule.Icon({args={'ops'}}) .. IconModule.Icon({args={'research'}}) .. IconModule.Icon({args={'water'}}) .. IconModule.Icon({args={'volatiles'}}) .. IconModule.Icon({args={'metals'}}) .. IconModule.Icon({args={'nobles'}}) .. IconModule.Icon({args={'fissiles'}}) .. ' income.',
	['HarvestHelium3']='Harvest He3.',
	['UsesHelium3']='If Faction is harvesting He3, then change ' .. TVModule.TV({args={'fissiles'}}) .. ' build cost and upkeep into ' .. TVModule.TV({args={'water'}}) .. '.',
	['RepairsMarineShipModules']='Allows building and repairing [[Spaceships|Ship]] ' .. IconModule.Icon({args={'marine'}}) .. 'Marines.',
	['RepairsHabKitShipModules']='Allows building and repairing [[Spaceships|Ship]] [[Spaceships#Kit|colony kits]].',
	['StaticHab']='Part of an Unchangeable [[Habs|Hab]].',
	['AlienSurveillance']='[[Aliens#Earth_Surveillance_Habs|Alien Surveillance]].',
}