Show ore IDs as description
parent
cc6f2f9f52
commit
4ac44bd1a0
1
api.lua
1
api.lua
|
@ -59,6 +59,7 @@ local function getRegistered(r_type)
|
|||
for name, def in pairs(o_temp) do
|
||||
-- Ore names are located in the "ore" field of the table
|
||||
if r_type == "ores" then
|
||||
def.description = S("ID: @1", name)
|
||||
name = def.ore
|
||||
elseif r_type == "mobs" then
|
||||
def = {}
|
||||
|
|
|
@ -3,6 +3,7 @@ v0.8
|
|||
----
|
||||
- fixed "searching" message to display before search begins
|
||||
- duplicate ore names are filtered out
|
||||
- ore IDs are shown as description
|
||||
|
||||
|
||||
v0.7
|
||||
|
|
|
@ -26,5 +26,8 @@ Searching in names and descriptions ...=
|
|||
## Number of items listed
|
||||
Objects listed:=
|
||||
|
||||
## Ore IDs
|
||||
ID: @1=
|
||||
|
||||
## Bullet (change this if there are problems displaying the raw character "•")
|
||||
•=
|
||||
|
|
Loading…
Reference in New Issue