可在Module:Unit/List/doc创建此模块的帮助文档
--------------------
-- List of decrees
--------------------
local p = {};
local icons = require('Module:Icon')
icons.devastation = "[[File:State status devastation.png|24px|link=Devastation]]"
icons.escortConvoys = "[[File:Order escort convoys.png|24px|link=Escort Convoys]]"
icons.raidConvoys = "[[File:Order raid convoys.png|24px|link=Raid Convoys]]"
icons.blockade = "[[File:Order blockade.png|24px|link=Blockade]]"
local formationRef = "<ref>"
-- Land
-- Infantry
p['irregular infantry'] = {
icon = "Battalion irregular infantry.png",
link = "Irregular Infantry",
type = "Infantry",
stats = {
{ 'green', '10', 'Offense', icons.offense },
{ 'green', '10', 'Defense', icons.defense },
{ 'red', '15', 'Morale loss', icons.morale },
},
upkeep = {
},
upgrade = {
from = { },
to = { "Line Infantry", "Skirmish Infantry", "Trench Infantry", "Squad Infantry", "Mechanized Infantry" }
}
}
p['line infantry'] = {
icon = "Battalion line infantry.png",
link = "Line Infantry",
type = "Infantry",
tech = "Line Infantry",
stats = {
{ 'green', '20', 'Offense', icons.offense },
{ 'green', '20', 'Defense', icons.defense },
{ 'red', '10', 'Morale loss', icons.morale },
},
upkeep = {
{ 'red', '1', 'Small Arms' },
},
upgrade = {
from = { "Irregular Infantry", },
to = { "Skirmish Infantry", "Trench Infantry", "Squad Infantry", "Mechanized Infantry" }
}
}
p['skirmish infantry'] = {
icon = "Battalion skirmish infantry.png",
link = "Skirmish Infantry",
type = "Infantry",
tech = "General Staff",
stats = {
{ 'green', '25', 'Offense', icons.offense },
{ 'green', '35', 'Defense', icons.defense },
{ 'red', '10', 'Morale loss', icons.morale },
},
upkeep = {
{ 'red', '2', 'Small Arms' },
{ 'red', '1', 'Ammunition' },
},
upgrade = {
from = { "Irregular Infantry", "Line Infantry", },
to = { "Trench Infantry", "Squad Infantry", "Mechanized Infantry" }
}
}
p['trench infantry'] = {
icon = "Battalion trench infantry.png",
link = "Trench Infantry",
type = "Infantry",
tech = "Trench Works",
stats = {
{ 'green', '30', 'Offense', icons.offense },
{ 'green', '40', 'Defense', icons.defense },
{ 'red', '8', 'Morale loss', icons.morale },
},
upkeep = {
{ 'red', '3', 'Small Arms' },
{ 'red', '2', 'Ammunition' },
},
upgrade = {
from = { "Irregular Infantry", "Line Infantry", "Skirmish Infantry", },
to = { "Squad Infantry", "Mechanized Infantry" }
}
}
p['squad infantry'] = {
icon = "Battalion squad infantry.png",
link = "Squad Infantry",
type = "Infantry",
tech = "Trench Works",
stats = {
{ 'green', '40', 'Offense', icons.offense },
{ 'green', '50', 'Defense', icons.defense },
{ 'red', '6', 'Morale loss', icons.morale },
},
upkeep = {
{ 'red', '3', 'Small Arms' },
{ 'red', '3', 'Ammunition' },
{ 'red', '1', 'Radios' },
},
upgrade = {
from = { "Irregular Infantry", "Line Infantry", "Skirmish Infantry", "Trench Infantry", },
to = { "Mechanized Infantry" }
}
}
p['mechanized infantry'] = {
icon = "Battalion mechanized infantry.png",
link = "Mechanized Infantry",
type = "Infantry",
tech = "Mobile Armor",
stats = {
{ 'green', '40', 'Offense', icons.offense },
{ 'green', '50', 'Defense', icons.defense },
{ 'red', '6', 'Morale loss', icons.morale },
{ 'inherit', '+10%', 'Devastation', icons.devastation },
},
upkeep = {
{ 'red', '3', 'Small Arms' },
{ 'red', '3', 'Ammunition' },
{ 'red', '1', 'Radios' },
{ 'red', '1', 'Oil' },
{ 'red', '1', 'Tanks' },
},
upgrade = {
from = { "Irregular Infantry", "Line Infantry", "Skirmish Infantry", "Trench Infantry", "Squad Infantry" },
to = { }
}
}
-- Artillery
p['cannon artillery'] = {
icon = "Battalion cannon artillery.png",
link = "Cannon Artillery",
type = "Artillery",
tech = "Artillery",
stats = {
{ 'green', '25', 'Offense', icons.offense },
{ 'green', '15', 'Defense', icons.defense },
{ 'red', '10', 'Morale loss', icons.morale },
{ 'green', '+10%', 'Kill rate' },
{ 'inherit', '+10%', 'Devastation', icons.devastation },
{ 'red', '−20%', 'Army mobilization speed'..formationRef },
{ 'red', '−20%', 'Army movement speed'..formationRef },
},
upkeep = {
{ 'red', '1', 'Artillery' },
},
upgrade = {
from = { },
to = { "Mobile Artillery", "Shrapnel Artillery", "Siege Artillery" }
}
}
p['mobile artillery'] = {
icon = "Battalion mobile artillery.png",
link = "Mobile Artillery",
type = "Artillery",
tech ="Napoleonic Warfare",
stats = {
{ 'green', '30', 'Offense', icons.offense },
{ 'green', '15', 'Defense', icons.defense },
{ 'red', '8', 'Morale loss', icons.morale },
{ 'green', '+20%', 'Kill rate' },
{ 'inherit', '+15%', 'Devastation', icons.devastation },
{ 'red', '−20%', 'Army mobilization speed'..formationRef },
{ 'red', '−20%', 'Army movement speed'..formationRef },
},
upkeep = {
{ 'red', '2', 'Artillery' },
},
upgrade = {
from = { "Cannon Artillery", },
to = { "Shrapnel Artillery", "Siege Artillery" }
}
}
p['shrapnel artillery'] = {
icon = "Battalion shrapnel artillery.png",
link = "Shrapnel Artillery",
type = "Artillery",
tech = "Breech-Loading Artillery",
stats = {
{ 'green', '45', 'Offense', icons.offense },
{ 'green', '25', 'Defense', icons.defense },
{ 'red', '6', 'Morale loss', icons.morale },
{ 'green', '+30%', 'Kill rate' },
{ 'inherit', '+15%', 'Devastation', icons.devastation },
{ 'red', '−20%', 'Army mobilization speed'..formationRef },
{ 'red', '−20%', 'Army movement speed'..formationRef },
},
upkeep = {
{ 'red', '3', 'Artillery' },
{ 'red', '3', 'Ammunition' },
},
upgrade = {
from = { "Cannon Artillery", "Mobile Artillery", },
to = { "Siege Artillery" }
}
}
p['siege artillery'] = {
icon = "Battalion siege artillery.png",
link = "Siege Artillery",
type = "Artillery",
tech = "Defense in Depth",
stats = {
{ 'green', '55', 'Offense', icons.offense },
{ 'green', '30', 'Defense', icons.defense },
{ 'red', '6', 'Morale loss', icons.morale },
{ 'green', '+25%', 'Kill rate' },
{ 'inherit', '+20%', 'Devastation', icons.devastation },
{ 'red', '−20%', 'Army mobilization speed'..formationRef },
{ 'red', '−20%', 'Army movement speed'..formationRef },
},
upkeep = {
{ 'red', '4', 'Artillery' },
{ 'red', '4', 'Ammunition' },
{ 'red', '1', 'Radios' },
},
upgrade = {
from = { "Cannon Artillery", "Mobile Artillery", "Shrapnel Artillery" },
to = { }
}
}
p['heavy tanks'] = {
icon = "Battalion heavy tank.png",
link = "Heavy Tanks",
type = "Artillery",
tech = "Mobile Armor",
stats = {
{ 'green', '70', 'Offense', icons.offense },
{ 'green', '35', 'Defense', icons.defense },
{ 'red', '4', 'Morale loss', icons.morale },
{ 'green', '+25%', 'Kill rate' },
{ 'inherit', '+20%', 'Devastation', icons.devastation },
{ 'red', '−20%', 'Army mobilization speed'..formationRef },
{ 'red', '−20%', 'Army movement speed'..formationRef },
},
upkeep = {
{ 'red', '4', 'Artillery' },
{ 'red', '4', 'Ammunition' },
{ 'red', '1', 'Radios' },
{ 'red', '3', 'Oil' },
{ 'red', '3', 'Tanks' },
},
upgrade = {
from = { },
to = { }
}
}
p['heavy tank'] = p['heavy tanks']
-- cavalry
p['hussars'] = {
icon = "Battalion hussar.png",
link = "Hussars",
type = "Cavalry",
tech = "Standing Army",
stats = {
{ 'green', '15', 'Offense', icons.offense },
{ 'green', '15', 'Defense', icons.defense },
{ 'red', '10', 'Morale loss', icons.morale },
{ 'green', '+25%', 'Army mobilization speed'..formationRef },
{ 'green', '+25%', 'Army movement speed'..formationRef },
},
upkeep = {
{ 'red', '1', 'Grain' },
},
upgrade = {
from = { },
to = { "Dragoons", "Cuirassiers", "Lancers" }
}
}
p['hussar'] = p['hussars']
p['dragoons'] = {
icon = "Battalion dragoon.png",
link = "Dragoons",
type = "Cavalry",
tech ="Line Infantry",
stats = {
{ 'green', '20', 'Offense', icons.offense },
{ 'green', '25', 'Defense', icons.defense },
{ 'red', '8', 'Morale loss', icons.morale },
{ 'green', '+30%', 'Battle occupation' },
},
upkeep = {
{ 'red', '1', 'Grain' },
{ 'red', '2', 'Small Arms' },
},
upgrade = {
from = { "Hussars", "Cuirassiers", "Lancers" },
to = { "Cuirassiers", "Lancers" }
}
}
p['dragoon'] = p['dragoons']
p['cuirassiers'] = {
icon = "Battalion cuirassier.png",
link = "Cuirassiers",
type = "Cavalry",
tech = "Line Infantry",
stats = {
{ 'green', '25', 'Offense', icons.offense },
{ 'green', '20', 'Defense', icons.defense },
{ 'red', '8', 'Morale loss', icons.morale },
{ 'green', '+30%', 'Battle occupation' },
},
upkeep = {
{ 'red', '2', 'Grain' },
{ 'red', '1', 'Small Arms' },
},
upgrade = {
from = { "Hussars", "Dragoons", "Lancers" },
to = { "Dragoons", "Lancers" }
}
}
p['cuirassier'] = p['cuirassiers']
p['lancers'] = {
icon = "Battalion lancer.png",
link = "Lancers",
type = "Cavalry",
tech = "Napoleonic Warfare",
stats = {
{ 'green', '30', 'Offense', icons.offense },
{ 'green', '20', 'Defense', icons.defense },
{ 'red', '6', 'Morale loss', icons.morale },
{ 'green', '+30%', 'Battle occupation' },
{ 'green', '+5%', 'Kill rate' },
{ 'inherit', '+20%', 'Devastation', icons.devastation },
{ 'red', '+5%', 'Morale loss', icons.morale },
},
upkeep = {
{ 'red', '2', 'Grain' },
{ 'red', '2', 'Small Arms' },
{ 'red', '2', 'Iron' },
},
upgrade = {
from = { "Hussars", "Dragoons", "Cuirassiers" },
to = { "Dragoons", "Cuirassiers" }
}
}
p['lancer'] = p['lancers']
p['light tanks'] = {
icon = "Battalion light tank.png",
link = "Light Tanks",
type = "Cavalry",
tech = "Mobile Armor",
stats = {
{ 'green', '45', 'Offense', icons.offense },
{ 'green', '45', 'Defense', icons.defense },
{ 'red', '4', 'Morale loss', icons.morale },
{ 'green', '+25%', 'Battle occupation' },
{ 'inherit', '+10%', 'Devastation', icons.devastation },
{ 'green', '+20%', 'Army mobilization speed'..formationRef },
},
upkeep = {
{ 'red', '2', 'Artillery' },
{ 'red', '2', 'Ammunition' },
{ 'red', '2', 'Radios' },
{ 'red', '2', 'Oil' },
{ 'red', '2', 'Tanks' },
},
upgrade = {
from = { },
to = { }
}
}
p['light tank'] = p['light tanks']
-- Naval
-- Light Ships
p['frigates'] = {
icon = "Flotilla frigate.png",
link = "Frigates",
type = "Light Ships",
tech = "Navigation",
stats = {
{ 'green', '10', 'Offense', icons.offense },
{ 'green', '15', 'Defense', icons.defense },
{ 'green', '10', 'Blockade strength', icons.blockade},
{ 'red', '10', 'Morale loss', icons.morale },
},
upkeep = {
{ 'red', '1', 'Man-o-Wars' },
},
upgrade = {
from = { },
to = { "Monitors" }
}
}
p['frigate'] = p['frigates']
p['monitors'] = {
icon = "Flotilla monitor.png",
link = "Monitors",
type = "Light Ships",
tech = "Monitor",
stats = {
{ 'green', '20', 'Offense', icons.offense },
{ 'green', '30', 'Defense', icons.defense },
{ 'green', '20', 'Blockade strength', icons.blockade},
{ 'red', '8', 'Morale loss', icons.morale },
{ 'green', '+20%', 'Convoy escort defense'..formationRef, icons.escortConvoys },
{ 'green', '+20%', 'Fleet movement speed'..formationRef },
},
upkeep = {
{ 'red', '1', 'Ironclads' },
{ 'red', '1', 'Ammunition' },
{ 'red', '1', 'Artillery' },
},
upgrade = {
from = { "Frigates" },
to = { "Destroyers", "Torpedo Boats" }
}
}
p['monitor'] = p['monitors']
p['destroyers'] = {
icon = "Flotilla destroyer.png",
link = "Destroyers",
type = "Light Ships",
tech = "Destroyer",
stats = {
{ 'green', '30', 'Offense', icons.offense },
{ 'green', '40', 'Defense', icons.defense },
{ 'green', '30', 'Blockade strength', icons.blockade},
{ 'red', '6', 'Morale loss', icons.morale },
{ 'green', '+35%', 'Convoy escort defense'..formationRef, icons.escortConvoys },
{ 'green', '+20%', 'Fleet movement speed'..formationRef },
},
upkeep = {
{ 'red', '2', 'Ironclads' },
{ 'red', '2', 'Ammunition' },
{ 'red', '2', 'Artillery' },
},
upgrade = {
from = { "Monitors" },
to = { "Torpedo Boats" }
}
}
p['destroyer'] = p['destroyers']
p['torpedo boats'] = {
icon = "Flotilla torpedo boat.png",
link = "Torpedo Boats",
type = "Light Ships",
tech = "Self-Propelled Torpedoes",
stats = {
{ 'green', '40', 'Offense', icons.offense },
{ 'green', '30', 'Defense', icons.defense },
{ 'green', '30', 'Blockade strength', icons.blockade},
{ 'red', '6', 'Morale loss', icons.morale },
{ 'green', '+25%', 'Convoy raiding efficiency'..formationRef, icons.raidConvoys },
{ 'green', '+20%', 'Fleet movement speed'..formationRef },
},
upkeep = {
{ 'red', '2', 'Ironclads' },
{ 'red', '4', 'Explosives' },
},
upgrade = {
from = { "Monitorrs" },
to = { "Destroyers" }
}
}
p['torpedo boat'] = p['torpedo boats']
p['scout cruisers'] = {
icon = "Flotilla scout cruiser.png",
link = "Scout Cruisers",
type = "Light Ships",
tech = "Sea Lane Strategies",
stats = {
{ 'green', '50', 'Offense', icons.offense },
{ 'green', '50', 'Defense', icons.defense },
{ 'green', '40', 'Blockade strength', icons.blockade},
{ 'red', '6', 'Morale loss', icons.morale },
{ 'green', '+50%', 'Convoy escort defense'..formationRef, icons.escortConvoys },
{ 'green', '+20%', 'Fleet movement speed'..formationRef },
},
upkeep = {
{ 'red', '3', 'Ironclads' },
{ 'red', '3', 'Ammunition' },
{ 'red', '3', 'Artillery' },
{ 'red', '1', 'Radios' },
},
upgrade = {
from = { "Destroyers", "Torpedo Boats" },
to = { }
}
}
p['scout cruiser'] = p['scout cruisers']
-- Capital ships
p['man-o-wars'] = {
icon = "Flotilla man o war.png",
link = "Man-o-Wars",
type = "Capital Ships",
tech = "Drydocks",
stats = {
{ 'green', '25', 'Offense', icons.offense },
{ 'green', '25', 'Defense', icons.defense },
{ 'green', '100', 'Blockade strength', icons.blockade},
{ 'red', '10', 'Morale loss', icons.morale },
{ 'red', '−50%', 'Convoy raiding efficiency'..formationRef, icons.raidConvoys },
},
upkeep = {
{ 'red', '3', 'Man-o-Wars' },
},
upgrade = {
from = { },
to = { "Ironclads" }
}
}
p['man-o-war'] = p['man-o-wars']
p['man o wars'] = p['man-o-wars']
p['man o war'] = p['man-o-wars']
p['ironclads'] = {
icon = "Flotilla ironclad.png",
link = "Ironclads",
type = "Capital Ships",
tech = "Ironclad",
stats = {
{ 'green', '50', 'Offense', icons.offense },
{ 'green', '50', 'Defense', icons.defense },
{ 'green', '200', 'Blockade strength', icons.blockade},
{ 'red', '8', 'Morale loss', icons.morale },
{ 'red', '−50%', 'Convoy raiding efficiency'..formationRef, icons.raidConvoys },
{ 'red', '−20%', 'Fleet movement speed'..formationRef },
},
upkeep = {
{ 'red', '3', 'Ironclads' },
{ 'red', '3', 'Ammunition' },
{ 'red', '3', 'Artillery' },
},
upgrade = {
from = { "Man-o-Wars" },
to = { "Dreadnoughts" }
}
}
p['ironclad'] = p['ironclads']
p['dreadnoughts'] = {
icon = "Flotilla dreadnought.png",
link = "Dreadnoughts",
type = "Capital Ships",
tech = "Dreadnought",
stats = {
{ 'green', '80', 'Offense', icons.offense },
{ 'green', '80', 'Defense', icons.defense },
{ 'green', '400', 'Blockade strength', icons.blockade},
{ 'red', '6', 'Morale loss', icons.morale },
{ 'red', '−50%', 'Convoy raiding efficiency'..formationRef, icons.raidConvoys },
{ 'red', '−20%', 'Fleet movement speed'..formationRef },
},
upkeep = {
{ 'red', '6', 'Ironclads' },
{ 'red', '6', 'Ammunition' },
{ 'red', '6', 'Artillery' },
{ 'red', '2', 'Radios' },
},
upgrade = {
from = { "Ironclads" },
to = { "Battleships" }
}
}
p['dreadnought'] = p['dreadnoughts']
p['battleships'] = {
icon = "Flotilla battleship.png",
link = "Battleships",
type = "Capital Ships",
tech = "Battleship",
stats = {
{ 'green', '100', 'Offense', icons.offense },
{ 'green', '100', 'Defense', icons.defense },
{ 'green', '500', 'Blockade strength', icons.blockade},
{ 'red', '4', 'Morale loss', icons.morale },
{ 'red', '−50%', 'Convoy raiding efficiency'..formationRef, icons.raidConvoys },
{ 'red', '−20%', 'Fleet movement speed'..formationRef },
},
upkeep = {
{ 'red', '8', 'Ironclads' },
{ 'red', '8', 'Ammunition' },
{ 'red', '8', 'Artillery' },
{ 'red', '3', 'Radios' },
},
upgrade = {
from = { "Dreadnought" },
to = { }
}
}
p['battleship'] = p['battleships']
-- Support Vessels
p['submarines'] = {
icon = "Flotilla submarine.png",
link = "Submarines",
type = "Support Vessels",
tech = "Submarine",
stats = {
{ 'green', '60', 'Offense', icons.offense },
{ 'green', '20', 'Defense', icons.defense },
{ 'green', '10', 'Blockade strength', icons.blockade},
{ 'red', '8', 'Morale loss', icons.morale },
{ 'green', '+100%', 'Convoy raiding efficiency'..formationRef, icons.raidConvoys },
{ 'green', '+20%', 'Fleet movement speed'..formationRef },
},
upkeep = {
{ 'red', '2', 'Ironclads' },
{ 'red', '2', 'Ammunition' },
{ 'red', '2', 'Artillery' },
{ 'red', '1', 'Radios' },
},
upgrade = {
from = { },
to = { }
}
}
p['submarine'] = p['submarines']
p['carriers'] = {
icon = "Flotilla carrier.png",
link = "Carriers",
type = "Support Vessels",
tech = "Aircraft Carrier",
stats = {
{ 'green', '120', 'Offense', icons.offense },
{ 'green', '60', 'Defense', icons.defense },
{ 'green', '500', 'Blockade strength', icons.blockade},
{ 'red', '6', 'Morale loss', icons.morale },
{ 'green', '+25%', 'Convoy escort defense'..formationRef, icons.escortConvoys },
{ 'red', '−20%', 'Fleet movement speed'..formationRef },
},
upkeep = {
{ 'red', '8', 'Ironclads' },
{ 'red', '8', 'Ammunition' },
{ 'red', '8', 'Aeroplanes' },
{ 'red', '4', 'Radios' },
},
upgrade = {
from = { },
to = { }
}
}
p['carrier'] = p['carriers']
return p