Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:Iterator
(view source)
Revision as of 11:28, 8 October 2017
6 bytes added
,
7 years ago
m
no edit summary
Line 36:
Line 36:
for _ = i, #collection do
for _ = i, #collection do
if i >= from and i <= to then
if i >= from and i <= to then
−
current = collection[i].
name
+
current = collection[i].
_name
i = i + 1
i = i + 1
return true
return true
Line 69:
Line 69:
next = function()
next = function()
for _ = i, #collection do
for _ = i, #collection do
−
if collection[i].
type
== type then
+
if collection[i].
_type
== type then
−
current = collection[i].
name
+
current = collection[i].
_name
i = i + 1
i = i + 1
return true
return true
Line 101:
Line 101:
next = function()
next = function()
for _ = i, #collection do
for _ = i, #collection do
−
if collection[i].
type
== type and collection[i].
icon
== icon then
+
if collection[i].
_type
== type and collection[i].
_icon
== icon then
−
current = collection[i].
name
+
current = collection[i].
_name
i = i + 1
i = i + 1
return true
return true
がか
cssedit, gkautomate
7,064
edits