Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:NanaminFleet
(view source)
Revision as of 09:37, 6 April 2015
14 bytes added
,
9 years ago
m
no edit summary
Line 73:
Line 73:
end
end
−
function NanaminFleet:create_table(
args
)
+
function NanaminFleet:create_table()
local ships = {}
local ships = {}
local vars = {}
local vars = {}
for i = 1, 6 do
for i = 1, 6 do
−
ships[i] = Ship(
args
["ship" .. tostring(i)],
args
["ship" .. tostring(i) .. "_remodel"])
+
ships[i] = Ship(
self._args
["ship" .. tostring(i)],
self._args
["ship" .. tostring(i) .. "_remodel"])
--Get the equips categorized under each ship specifically so the ship number doesn't have to be passed.
--Get the equips categorized under each ship specifically so the ship number doesn't have to be passed.
ships[i].equip = {}
ships[i].equip = {}
for a = 1, 4 do
for a = 1, 4 do
−
ships[i].equip[a] = { name =
args
["ship" .. tostring(i) .. "_equip" .. tostring(a)] }
+
ships[i].equip[a] = { name =
self._args
["ship" .. tostring(i) .. "_equip" .. tostring(a)] }
end
end
Nanamin
48
edits