Show ore IDs as description

master
Jordan Irwin 2021-07-20 20:11:11 -07:00
parent cc6f2f9f52
commit 4ac44bd1a0
3 changed files with 5 additions and 0 deletions

View File

@ -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 = {}

View File

@ -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

View File

@ -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 "•")
•=