Module:HabModuleSpecial/data: Difference between revisions

From Terra Invicta Official Wiki
Redwah (talk | contribs)
No edit summary
Redwah (talk | contribs)
No edit summary
Line 27: Line 27:
['Farm']={'Removes [[Habs|Hab]] ' .. IconModule.Icon({args={'water'}}) .. IconModule.Icon({args={'volatiles'}}) .. ' upkeep for up to ', ' crew.','specialRulesValue'},
['Farm']={'Removes [[Habs|Hab]] ' .. IconModule.Icon({args={'water'}}) .. IconModule.Icon({args={'volatiles'}}) .. ' upkeep for up to ', ' crew.','specialRulesValue'},
['AlienWormhole']={'Alien Wormhole. Cannot be destroyed.',''},
['AlienWormhole']={'Alien Wormhole. Cannot be destroyed.',''},
['MoneyIfNotBuilding']={'Produces ' .. IconModule.Icon({args={'money'}}) .. ' if no modules under construction. Otherwise ', '× [[Habs#Construction_Modifiers|base time modifier]] to hab module construction.','constructionTimeModifier'},
['WikiRuleConstruction']={'', '× [[Habs#Construction_Modifiers|base time modifier]] to hab module construction.','constructionTimeModifier'},
['MoneyIfNotBuilding']={'Produces ' .. IconModule.Icon({args={'money'}}) .. ' if no modules under construction. ', '',''},
['NotInIrradiated']={'Cannot be built in irradiated locations.',''},
['NotInIrradiated']={'Cannot be built in irradiated locations.',''},
['ConsumesMCWhenUnpowered']={'Has ' .. IconModule.Icon({args={'mc'}}) .. ' upkeep even when unpowered.',''},
['ConsumesMCWhenUnpowered']={'Has ' .. IconModule.Icon({args={'mc'}}) .. ' upkeep even when unpowered.',''},

Revision as of 20:47, 17 November 2025

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')

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 ','× [[Spaceships#Construction|base time modifier]].','constructionTimeModifier'},
	['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']={IconModule.Icon({args={'power consumption', bgcolor='DarkSlateGray'}}) .. '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.',''},
	['MarinePlatoon']={'Add ', IconModule.Icon({args={'marine'}}) .. 'marine strength as T1 Marines.','specialRulesValue'},
	['MarineCompany']={'Add ', IconModule.Icon({args={'marine'}}) .. 'marine strength as T2 Marines.','specialRulesValue'},
	['MarineBattalion']={'Add ', IconModule.Icon({args={'marine'}}) .. 'marine strength as T3 Marines.','specialRulesValue'},
	['Griffins']={'Add ', IconModule.Icon({args={'marine'}}) .. 'marine strength as Griffins.','specialRulesValue'},
	['WarDogs']={'Add ', IconModule.Icon({args={'marine'}}) .. 'marine strength as War Dogs.','specialRulesValue'},
	['Salamanders']={'Add ', IconModule.Icon({args={'marine'}}) .. 'marine strength as Salamanders.','specialRulesValue'},
	['PowerFirst']={'Cannot depower.',''},
	['SentinelModule']={'Enables the [[Dominate Nation]] mission.',''},
	['InterstellarLaunchModule']={'Victory module for ' .. IconModule.Icon({args={'escape'}}) .. '[[Project Exodus]].',''},
	['EarthLEOOnly']={'Need [[Earth]] interface orbit.',''},
	['HarvestAntimatter']={'Harvests ', ' ' .. IconModule.Icon({args={'antimatter'}, bgcolor='DarkSlateGray'}) .. ' of Orbit. Max one per orbit.','specialRulesValue%'},
	['Farm']={'Removes [[Habs|Hab]] ' .. IconModule.Icon({args={'water'}}) .. IconModule.Icon({args={'volatiles'}}) .. ' upkeep for up to ', ' crew.','specialRulesValue'},
	['AlienWormhole']={'Alien Wormhole. Cannot be destroyed.',''},
	['WikiRuleConstruction']={'', '× [[Habs#Construction_Modifiers|base time modifier]] to hab module construction.','constructionTimeModifier'},
	['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 ', ' research bonus.','techBonus'},
	['LEOBonusArmyCombatValue']={'Adds +', ' to the ' .. IconModule.Icon({args={'miltech'}}) .. '[[Nations#Miltech|Miltech]] to our armies if in [[Earth]] interface orbit. Capped at +0.3.','specialRulesValue'},
	['LEOBonusPropagandaStrength']={'Adds +', ' [[Nations#Changing_Public_Opinion|strength]] to our [[Public Campaign]]s if in [[Earth]] interface orbit. Capped at +9.','specialRulesValue'},
	['LEOBonusAlienDetection']={'Add +', ' bonus to [[Aliens#Alien_Agents|alien]] [[Councilors#Detection|detection]] on [[Earth]] if in [[Earth]] interface orbit. Capped at +9.','specialRulesValue'},
	['LEOBonusMiltech']={'Add +', ' bonus to the ' .. IconModule.Icon({args={'military priority'}}) .. 'Military priority if in [[Earth]] interface orbit. Capped at +30%.','specialRulesValue%'},
	['LEOBonusWelfare']={'Add +', ' bonus to the ' .. IconModule.Icon({args={'welfare'}}) .. 'Welfare priority if in [[Earth]] interface orbit. Capped at +30%.','specialRulesValue%'},
	['LEOBonusLaunchFacilities']={'Add +', ' bonus to the ' .. IconModule.Icon({args={'boost priority'}}) .. 'Boost priority if in [[Earth]] interface orbit. Capped at +30%.','specialRulesValue%'},
	['LEOBonusKnowledge']={'Add +', ' bonus to the ' .. IconModule.Icon({args={'knowledge'}}) .. 'Knowledge priority if in [[Earth]] interface orbit. Capped at +30%.','specialRulesValue%'},
	['LEOBonusMissionControl']={'Add +', ' bonus to the ' .. IconModule.Icon({args={'mission control priority'}}) .. 'Mission Control priority if in [[Earth]] interface orbit. Capped at +30%.','specialRulesValue%'},
	['LEOBonusEconomy']={'Add +', ' bonus to the ' .. IconModule.Icon({args={'economy'}}) .. 'Economy priority if in [[Earth]] interface orbit. Capped at +30%.','specialRulesValue%'},
	['LEOBonusUnity']={'Add +', ' bonus to the ' .. IconModule.Icon({args={'unity'}}) .. 'Unity priority if in [[Earth]] interface orbit. Capped at +30%.','specialRulesValue%'},
	['LEOBonusOppression']={'Add +', ' bonus to the ' .. IconModule.Icon({args={'oppression'}}) .. 'Oppression priority if in [[Earth]] interface orbit. Capped at +30%.','specialRulesValue%'},
	['LEOBonusEnvironment']={'Add +', ' bonus to the ' .. IconModule.Icon({args={'environment'}}) .. 'Environment priority if in [[Earth]] interface orbit. Capped at +30%.','specialRulesValue%'},
	['LEOBonusGovernment']={'Add +', ' bonus to the ' .. IconModule.Icon({args={'government'}}) .. 'Government priority if in [[Earth]] interface orbit. Capped at +30%.','specialRulesValue%'},
	['LEOControlPointCapacity']={'Add ', IconModule.Icon({args={'cp'}}) .. 'Control Point capacity if in [[Earth]] interface orbit.','controlPointCapacity'},
	['AtrocityToKill']={'Destroyer commits an [[Factions#Atrocity|Atrocity]].',''},
	['AtrocityToKill_Populous']={'Destroyer commits an [[Factions#Atrocity|Atrocity]] if ≥50000 system ' .. IconModule.Icon({args={'pop'}}) .. 'population.',''},
	['Stability']={'Add ',' defense against [[Control Space Asset]] and crew of module has no ' .. IconModule.Icon({args={'money'}}) .. ' upkeep.','specialRulesValue'},
	['Efficiency']={'Add +', ' 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.','specialRulesValue%'},
	['HarvestHelium3']={'Harvest He3.',''},
	['UsesHelium3']={'If Faction is harvesting He3, then change ' .. IconModule.Icon({args={'fissiles'}}) .. ' build cost and upkeep into ' .. IconModule.Icon({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]].',''},
}