Editing User:Histidine/Sandbox
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{| class="wikitable" style="text-align:center;" | {| class="wikitable" style="text-align:center;" | ||
− | ! colspan=" | + | ! colspan="6" | http://manual.zero-k.info/unitpics/factorycloak.png[[Cloakbot Factory]] |
|- | |- | ||
− | ! || Name | | + | ! || Name || Role || Aliases || Cost || HP |
|- | |- | ||
− | | http://manual.zero-k.info/unitpics/cloakcon.png || [[Conjurer]] || <img src="http://manual.zero-k.info/icons/builder.png" width="32px" /> | + | | http://manual.zero-k.info/unitpics/cloakcon.png || [[Conjurer]] || <img src="http://manual.zero-k.info/icons/builder.png" width="32px" />Construction || || 120 || 450 |
|- | |- | ||
− | | http://manual.zero-k.info/unitpics/cloakraid.png || [[Glaive]] || <img src="http://manual.zero-k.info/icons/kbotraider.png" width="32px" /> | + | | http://manual.zero-k.info/unitpics/cloakraid.png || [[Glaive]] || <img src="http://manual.zero-k.info/icons/kbotraider.png" width="32px" />Raider || || 65 || 200 |
|- | |- | ||
− | | http://manual.zero-k.info/unitpics/cloakheavyraid.png || [[Scythe]] || <img src="http://manual.zero-k.info/icons/stealth.png" width="32px" /> | + | | http://manual.zero-k.info/unitpics/cloakheavyraid.png || [[Scythe]] || <img src="http://manual.zero-k.info/icons/stealth.png" width="32px" />Raider || || 250 || 820 |
|- | |- | ||
− | | http://manual.zero-k.info/unitpics/cloakskirm.png || [[Ronin]] || <img src="http://manual.zero-k.info/icons/kbotskirm.png" width="32px" /> | + | | http://manual.zero-k.info/unitpics/cloakskirm.png || [[Ronin]] || <img src="http://manual.zero-k.info/icons/kbotskirm.png" width="32px" />Skirmisher || || 90 || 420 |
|- | |- | ||
− | | http://manual.zero-k.info/unitpics/cloakriot.png || [[Reaver]] || <img src="http://manual.zero-k.info/icons/kbotriot.png" width="32px" /> | + | | http://manual.zero-k.info/unitpics/cloakriot.png || [[Reaver]] || <img src="http://manual.zero-k.info/icons/kbotriot.png" width="32px" />Riot || || 220 || 820 |
|- | |- | ||
− | | http://manual.zero-k.info/unitpics/cloakassault.png || [[Knight]] || <img src="http://manual.zero-k.info/icons/kbotassault.png" width="32px" /> | + | | http://manual.zero-k.info/unitpics/cloakassault.png || [[Knight]] || <img src="http://manual.zero-k.info/icons/kbotassault.png" width="32px" />Assault || || 350 || 2400 |
|- | |- | ||
− | | http://manual.zero-k.info/unitpics/cloakarty.png || [[Sling]] || <img src="http://manual.zero-k.info/icons/kbotarty.png" width="32px" /> | + | | http://manual.zero-k.info/unitpics/cloakarty.png || [[Sling]] || <img src="http://manual.zero-k.info/icons/kbotarty.png" width="32px" />Artillery || || 110 || 350 |
|- | |- | ||
− | | http://manual.zero-k.info/unitpics/cloaksnipe.png || [[Phantom]] || <img src="http://manual.zero-k.info/icons/sniper.png" width="32px" /> | + | | http://manual.zero-k.info/unitpics/cloaksnipe.png || [[Phantom]] || <img src="http://manual.zero-k.info/icons/sniper.png" width="32px" />Artillery || || 750 || 560 |
|- | |- | ||
− | | http://manual.zero-k.info/unitpics/cloakaa.png || [[Gremlin]] || <img src="http://manual.zero-k.info/icons/kbotaa.png" width="32px" /> | + | | http://manual.zero-k.info/unitpics/cloakaa.png || [[Gremlin]] || <img src="http://manual.zero-k.info/icons/kbotaa.png" width="32px" />Anti-Air || || 150 || 550 |
|- | |- | ||
− | | http://manual.zero-k.info/unitpics/cloakbomb.png || [[Imp]] || <img src="http://manual.zero-k.info/icons/spiderbomb.png" width="32px" /> | + | | http://manual.zero-k.info/unitpics/cloakbomb.png || [[Imp]] || <img src="http://manual.zero-k.info/icons/spiderbomb.png" width="32px" />Bomb || || 120 || 50 |
|- | |- | ||
− | | http://manual.zero-k.info/unitpics/cloakjammer.png || [[Iris]] || <img src="http://manual.zero-k.info/icons/kbotjammer.png" width="32px" /> | + | | http://manual.zero-k.info/unitpics/cloakjammer.png || [[Iris]] || <img src="http://manual.zero-k.info/icons/kbotjammer.png" width="32px" />Other || || 600 || 600 |
|- | |- | ||
|} | |} | ||
Line 72: | Line 72: | ||
local output = '{| class="wikitable" style="text-align:center;"\n' | local output = '{| class="wikitable" style="text-align:center;"\n' | ||
local imagePath = "http://manual.zero-k.info/unitpics/" .. factoryDefName .. ".png" | local imagePath = "http://manual.zero-k.info/unitpics/" .. factoryDefName .. ".png" | ||
− | output = output .. '! colspan=" | + | output = output .. '! colspan="6" | ' .. imagePath .. "[[" .. factoryDef.humanName .. "]]\n" |
output = output .. "|-\n" | output = output .. "|-\n" | ||
− | output = output .. | + | output = output .. "! || Name || Role || Aliases || Cost || HP\n" |
output = output .. "|-\n" | output = output .. "|-\n" | ||
Line 83: | Line 83: | ||
local icon = '<img src="http://manual.zero-k.info/icons/' .. unitDef.iconType .. '.png" width="32px" />' | local icon = '<img src="http://manual.zero-k.info/icons/' .. unitDef.iconType .. '.png" width="32px" />' | ||
output = output .. "| " .. imagePath .. " || [[" .. unitDef.humanName .. "]] || " | output = output .. "| " .. imagePath .. " || [[" .. unitDef.humanName .. "]] || " | ||
− | .. icon | + | .. icon .. getDescString(unitDef) .. " || || " .. unitDef.metalCost .. " || " |
.. unitDef.health .. "\n" | .. unitDef.health .. "\n" | ||
output = output .. "|-\n" | output = output .. "|-\n" |