Module:HabModuleSpecial/data: Difference between revisions
From Terra Invicta Official Wiki
No edit summary |
m Updated to use new redirects |
||
| (8 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
-- This converts an HabModuleSpecial name into readable text, in parts, and maybe a special value indicating what type of value it wants inserted. | -- 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 IconModule = require('Module:Icon') | ||
local TVModule = require('Module:TV') | |||
return { | return { | ||
['DropTroops']= | ['DropTroops']= IconModule.Icon({args={'marine'}}) .. 'Marine strength can be used offensively.', | ||
['Cost_Scales_With_Gravity']= | ['Cost_Scales_With_Gravity']='Build cost and ' .. IconModule.Icon({args={'power consumption'}}) .. 'scale with escape velocity and distance from home space body.', | ||
['Shipyard']= | ['Shipyard']='Builds [[Spaceships|Ships]] with {constructionTimeModifier}× [[Spaceships#Construction|base time modifier]].', | ||
['Requires_Colonized_Body']= | ['Requires_Colonized_Body']='Need ≥10000 system ' .. IconModule.Icon({args={'pop'}}) .. 'population.', | ||
['Requires_Inhabited_Body']= | ['Requires_Inhabited_Body']='Need ≥50000 system ' .. IconModule.Icon({args={'pop'}}) .. 'population.', | ||
['Requires_GasGiant_Orbit']= | ['Requires_GasGiant_Orbit']='Need gas giant orbit.', | ||
['Requires_Interface_Orbit']= | ['Requires_Interface_Orbit']='Need interface orbit.', | ||
['Solar_Power_Variable_Output']= | ['Solar_Power_Variable_Output']=TVModule.TV({args={'power'}}) .. ' scales with proximity to Sun.', | ||
['CanFoundTier1Habs']= | ['CanFoundTier1Habs']='Can build new T1 [[Habs]] in System.', | ||
['CanFoundTier2Habs']= | ['CanFoundTier2Habs']='Can build new T2 [[Habs]] in System.', | ||
['CanFoundTier3Habs']= | ['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.', | |||
['AlienWormhole']= | ['Farm']='Removes [[Habs|Hab]] ' .. IconModule.Icon({args={'water'}}) .. IconModule.Icon({args={'volatiles'}}) .. ' upkeep for up to ' .. TVModule.TV({args={'crew', '{specialRulesValue}'}}), | ||
['WikiRuleConstruction']={ | ['AlienWormhole']='Alien Wormhole. Cannot be destroyed.', | ||
['MoneyIfNotBuilding']= | ['WikiRuleConstruction']='{constructionTimeModifier}× [[Habs#Construction_Modifiers|base time modifier]] to hab module construction.', | ||
['NotInIrradiated']= | ['MoneyIfNotBuilding']='Produces ' .. IconModule.Icon({args={'money'}}) .. ' if no modules under construction. ', | ||
['ConsumesMCWhenUnpowered']= | ['NotInIrradiated']='Cannot be built in irradiated locations.', | ||
[' | ['ConsumesMCWhenUnpowered']='Has ' .. IconModule.Icon({args={'mc'}}) .. ' upkeep even when unpowered.', | ||
['TechBonusDiminishingReturns']='Adds {techBonus}', | |||
['LEOBonusPropagandaStrength']= | ['LEOBonusArmyCombatValue']='Adds ' .. TVModule.TV({args={'miltech', '{specialRulesValue}'}}) .. ' to our armies if in [[Earth]] interface orbit. Capped at +0.3.', | ||
['LEOBonusAlienDetection']= | ['LEOBonusPropagandaStrength']='Adds +{specialRulesValue} [[Propaganda|strength]] to our [[Public Campaign]]s if in [[Earth]] interface orbit. Capped at +9.', | ||
['LEOBonusHumanDetection']= | ['LEOBonusAlienDetection']='Add +{tier} bonus to [[Aliens#Alien_Agents|alien]] [[Councilors#Detection|detection]] on [[Earth]] if in [[Earth]] interface orbit. Capped at +9.', | ||
['LEOBonusMiltech']= | ['LEOBonusHumanDetection']='Add +{tier} bonus to [[Councilors#Detection|detecting]] enemy [[Councilors]] on [[Earth]] if the module is in an [[Earth]] interface orbit. Capped at +9.', | ||
['LEOBonusWelfare']= | ['LEOBonusMiltech']='Add ' .. TVModule.TV({args={'military priority', '{specialRulesValue%}'}}) .. ' if in [[Earth]] interface orbit. Capped at +30%.', | ||
['LEOBonusLaunchFacilities']= | ['LEOBonusWelfare']='Add ' .. TVModule.TV({args={'welfare', '{specialRulesValue%}'}}) .. ' if in [[Earth]] interface orbit. Capped at +30%.', | ||
['LEOBonusKnowledge']= | ['LEOBonusLaunchFacilities']='Add ' .. TVModule.TV({args={'boost priority', '{specialRulesValue%}'}}) .. ' if in [[Earth]] interface orbit. Capped at +30%.', | ||
['LEOBonusMissionControl']= | ['LEOBonusKnowledge']='Add ' .. TVModule.TV({args={'knowledge', '{specialRulesValue%}'}}) .. ' if in [[Earth]] interface orbit. Capped at +30%.', | ||
['LEOBonusEconomy']= | ['LEOBonusMissionControl']='Add ' .. TVModule.TV({args={'mission control priority', '{specialRulesValue%}'}}) .. ' if in [[Earth]] interface orbit. Capped at +30%.', | ||
['LEOBonusUnity']= | ['LEOBonusEconomy']='Add ' .. TVModule.TV({args={'economy', '{specialRulesValue%}'}}) .. ' if in [[Earth]] interface orbit. Capped at +30%.', | ||
['LEOBonusOppression']= | ['LEOBonusUnity']='Add ' .. TVModule.TV({args={'unity', '{specialRulesValue%}'}}) .. ' if in [[Earth]] interface orbit. Capped at +30%.', | ||
['LEOBonusEnvironment']= | ['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%.', | |||
['LEOControlPointCapacity']= | ['LEOBonusGovernment']='Add ' .. TVModule.TV({args={'government', '{specialRulesValue%}'}}) .. ' if in [[Earth]] interface orbit. Capped at +30%.', | ||
['FleetTargeting']= | ['LEOControlPointCapacity']='Add ' .. TVModule.TV({args={'cp', '{controlPointCapacity}'}}) .. ' if in [[Earth]] interface orbit.', | ||
['FleetECM']= | ['FleetTargeting']='Add +{specialRulesValue%} to [[Fleets#ECM_and_Targeting|targeting rolls to overcome ECM]]; for station modules this applies to all defending [[Spaceships|ships]].', | ||
['AtrocityToKill']= | ['FleetECM']='Add +{specialRulesValue%} [[Fleets#ECM_and_Targeting|ECM]] value; for station modules this applies to all defending [[Spaceships|ships]].', | ||
['AtrocityToKill']='Destroyer commits an [[Atrocity]].', | |||
['AtrocityToLose']= | ['AtrocityToKill_Populous']='Destroyer commits an [[Atrocity]] if ≥50000 system ' .. IconModule.Icon({args={'pop'}}) .. 'population.', | ||
['Stability']= | ['AtrocityToLose']='If destroyed, the owner loses [[Public Opinion|public support]] as if they committed an [[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.', | |||
['HarvestHelium3']= | ['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.', | ||
['UsesHelium3']= | ['HarvestHelium3']='Harvest He3.', | ||
['RepairsMarineShipModules']= | ['UsesHelium3']='If Faction is harvesting He3, then change ' .. TVModule.TV({args={'fissiles'}}) .. ' build cost and upkeep into ' .. TVModule.TV({args={'water'}}) .. '.', | ||
['RepairsHabKitShipModules']= | ['RepairsMarineShipModules']='Allows building and repairing [[Spaceships|Ship]] ' .. IconModule.Icon({args={'marine'}}) .. 'Marines.', | ||
['StaticHab']= | ['RepairsHabKitShipModules']='Allows building and repairing [[Spaceships|Ship]] [[Spaceships#Kit|colony kits]].', | ||
['AlienSurveillance']= | ['StaticHab']='Part of an Unchangeable [[Habs|Hab]].', | ||
['AlienSurveillance']='[[Aliens#Earth_Surveillance_Habs|Alien Surveillance]].', | |||
} | } | ||
Latest revision as of 08:16, 15 September 2026
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} [[Propaganda|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 [[Atrocity]].',
['AtrocityToKill_Populous']='Destroyer commits an [[Atrocity]] if ≥50000 system ' .. IconModule.Icon({args={'pop'}}) .. 'population.',
['AtrocityToLose']='If destroyed, the owner loses [[Public Opinion|public support]] as if they committed an [[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]].',
}


