I really wish Lua had real classes rather than forcing you to assemble it yourself
This commit is contained in:
parent
ff3552bc45
commit
c88e7c0657
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user