Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:Sandbox/MapNodesTable
(view source)
Revision as of 16:51, 6 October 2016
60 bytes added
,
8 years ago
m
no edit summary
Line 46:
Line 46:
local enemy_fleet_air_power = 0
local enemy_fleet_air_power = 0
local air_power_complete = true
local air_power_complete = true
+
+
-- TODO: refactor, try caching enemy data
for j, enemy_name in ipairs(pattern_data.fleet) do
for j, enemy_name in ipairs(pattern_data.fleet) do
Line 76:
Line 78:
fleet_string = fleet_string,
fleet_string = fleet_string,
air_string = air_string,
air_string = air_string,
−
exp = pattern_data.exp or "",
+
exp = pattern_data.exp or "
?
",
−
hq = pattern_data.hq or "",
+
hq = pattern_data.hq or "
?
",
})
})
end
end
Line 93:
Line 95:
end
end
−
MapNodesTable.t = MapNodesTable.format(nil, { "6-5" })
+
--
MapNodesTable.t = MapNodesTable.format(nil, { "6-5" })
return MapNodesTable
return MapNodesTable
がか
cssedit, gkautomate
7,064
edits