mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-22 14:26:01 +00:00
6.6.2
This commit is contained in:
@@ -396,10 +396,17 @@ class ItemLister
|
||||
@commands.clear
|
||||
@ids.clear
|
||||
cmds = []
|
||||
end_of_list = [:POKEBALL, :RARECANDY, :DNASPLICERS, :DNAREVERSER, :SLEEPINGBAG]
|
||||
GameData::Item.each do |item|
|
||||
cmds.push([item.id_number, item.id, item.real_name])
|
||||
end
|
||||
cmds.sort! { |a, b| a[2].downcase <=> b[2].downcase }
|
||||
|
||||
end_of_list.each do |item_sym|
|
||||
item = GameData::Item.get(item_sym)
|
||||
cmds.push([item.id_number, item.id, item.real_name])
|
||||
end
|
||||
|
||||
if @includeNew
|
||||
@commands.push(_INTL("[NEW ITEM]"))
|
||||
@ids.push(true)
|
||||
|
||||
Reference in New Issue
Block a user