mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-22 16:39:02 -06:00
NES classic lock
This commit is contained in:
parent
db652bfa08
commit
80c9236d3c
@ -34,6 +34,7 @@ function MarathonC89Game:new()
|
|||||||
self.enable_hold = false
|
self.enable_hold = false
|
||||||
self.next_queue_length = 1
|
self.next_queue_length = 1
|
||||||
self.additive_gravity = false
|
self.additive_gravity = false
|
||||||
|
self.classic_lock = true
|
||||||
|
|
||||||
self.irs = false
|
self.irs = false
|
||||||
end
|
end
|
||||||
|
@ -4,6 +4,7 @@ local Shirase = SRS:extend()
|
|||||||
|
|
||||||
Shirase.name = "Shirase RS"
|
Shirase.name = "Shirase RS"
|
||||||
Shirase.hash = "Shirase"
|
Shirase.hash = "Shirase"
|
||||||
|
Shirase.world = false
|
||||||
|
|
||||||
Shirase.colourscheme = {
|
Shirase.colourscheme = {
|
||||||
I = "R",
|
I = "R",
|
||||||
@ -87,4 +88,8 @@ function Shirase:onPieceDrop(piece) piece.lock_delay = 0 end
|
|||||||
function Shirase:onPieceMove(piece) piece.lock_delay = 0 end
|
function Shirase:onPieceMove(piece) piece.lock_delay = 0 end
|
||||||
function Shirase:onPieceRotate(piece) piece.lock_delay = 0 end
|
function Shirase:onPieceRotate(piece) piece.lock_delay = 0 end
|
||||||
|
|
||||||
|
function Shirase:getDefaultOrientation()
|
||||||
|
return math.random(4)
|
||||||
|
end
|
||||||
|
|
||||||
return Shirase
|
return Shirase
|
Loading…
Reference in New Issue
Block a user