Display uses left in Cryptid

This commit is contained in:
Emik 2025-07-20 10:06:30 +02:00
parent ed3303e575
commit f93d8f09e6
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
2 changed files with 3 additions and 10 deletions

View file

@ -17,5 +17,5 @@
"conflicts": [ "conflicts": [
"Jen" "Jen"
], ],
"version": "1.5.13" "version": "1.5.14"
} }

View file

@ -43,10 +43,7 @@ SMODS.Consumable {
set = "Tarot", set = "Tarot",
loc_txt = { loc_txt = {
name = "#1#-in-a-Tarot", name = "#1#-in-a-Tarot",
text = Cryptid and { text = {
"Create a {C:dark_edition}Negative {C:attention}#2#",
"{C:inactive,E:1}#3#{}",
} or {
"Create a {C:dark_edition}Negative {C:attention}#2#", "Create a {C:dark_edition}Negative {C:attention}#2#",
"after {C:attention}#3# {}uses {C:inactive}(#4# left)", "after {C:attention}#3# {}uses {C:inactive}(#4# left)",
"{C:inactive,E:1}#5#{}", "{C:inactive,E:1}#5#{}",
@ -65,11 +62,7 @@ SMODS.Consumable {
local desc = is_jolly and "Jolly Joker" or "default Joker" local desc = is_jolly and "Jolly Joker" or "default Joker"
local name = is_jolly and "Jolly" or "Joker" local name = is_jolly and "Jolly" or "Joker"
return {vars = {name, desc, required, required - get_uses(), card.blurb}}
local vars = Cryptid and {name, desc, card.blurb} or
{name, desc, required, required - get_uses(), card.blurb}
return {vars = vars}
end, end,
pos = {x = 0, y = 1}, pos = {x = 0, y = 1},
cost = 4, cost = 4,