Strip Gen 2 text terminator from intro and gender select, use × glyph in Gen 1 item lists

This commit is contained in:
bryanthaboi
2026-09-02 18:05:09 -04:00
parent 61c416b23e
commit 4e32ca1de3
21 changed files with 304 additions and 27 deletions
+2 -2
View File
@@ -123,7 +123,7 @@ local function sellItems(game)
table.insert(items, {
value = id,
label = def and def.name or id,
right = (not keyed) and ("x" .. game.save.inventory[id]) or nil,
count = (not keyed) and game.save.inventory[id] or nil,
})
end
items[#items + 1] = { cancel = true, label = Strings("CANCEL") }
@@ -207,7 +207,7 @@ local function sell(game, menu)
Bag.remove(game.save, item.value, qty)
local left = game.save.inventory[item.value]
if left then
item.right = "x" .. left
item.count = left
else
list:removeCurrent()
end