I really wish Lua had real classes rather than forcing you to assemble it yourself

This commit is contained in:
Kistaro Windrider 2025-01-20 17:09:47 -08:00
parent ff3552bc45
commit c88e7c0657
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -1764,6 +1764,9 @@ rearm_mode = mknew{
bfm=1, bfm=1,
crt_frm = 1, crt_frm = 1,
pos=-1, pos=-1,
init=function(this)
rearm_mode.shuffle(this)
end,
} }
crt={-91,-166,-2641,-1441,-23041,23295,-20491,24570} crt={-91,-166,-2641,-1441,-23041,23295,-20491,24570}
@ -1819,10 +1822,6 @@ function rearm_mode:pos_frac()
return 0 return 0
end end
function rearm_mode:init()
self:shuffle()
end
function rearm_mode:shuffle() function rearm_mode:shuffle()
-- these will be placeholders -- these will be placeholders
-- until the upgrade deck -- until the upgrade deck