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 12:01, 6 April 2015
32 bytes added
,
9 years ago
m
no edit summary
Line 75:
Line 75:
for i = 1, 6 do
for i = 1, 6 do
ships[i] = {}
ships[i] = {}
−
ships[i].object = Ship(args["ship" .. tostring(i)], args["ship" .. tostring(i) .. "_remodel"])
+
ships[i].object =
args and Ship or
Ship(args["ship" .. tostring(i)], 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 =
args and "" or
args["ship" .. tostring(i) .. "_equip" .. tostring(a)] }
end
end
Nanamin
48
edits