balatro-mods/Talisman/big-num/notations/letternotation.lua
2025-01-19 15:01:49 +08:00

19 lines
640 B
Lua

local lovely = require("lovely")
local nativefs = require("nativefs")
BaseLetterNotation = nativefs.load(lovely.mod_dir.."/Talisman/big-num/notations/baseletternotation.lua")()
LetterNotation = {}
LetterNotation.__index = LetterNotation
setmetatable(LetterNotation, BaseLetterNotation)
LetterNotation.__tostring = function () return "LetterNotation" end
function LetterNotation:new(opt)
opt = opt or {}
return setmetatable({
letters = "~abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
dynamic = opt.dynamic or false,
reversed = opt.reversed or false
}, LetterNotation)
end
return LetterNotation