mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-22 12:49:03 -06:00
DS-World
This commit is contained in:
parent
8989cc884b
commit
48dfedec1c
22
tetris/rulesets/ds_world.lua
Normal file
22
tetris/rulesets/ds_world.lua
Normal file
@ -0,0 +1,22 @@
|
||||
local SRS = require 'tetris.rulesets.standard_exp'
|
||||
|
||||
local DS = SRS:extend()
|
||||
|
||||
DS.name = "DS-World"
|
||||
DS.hash = "DS-World"
|
||||
|
||||
DS.are = false
|
||||
|
||||
function DS:onPieceDrop(piece) piece.lock_delay = 0 end
|
||||
function DS:onPieceMove(piece) piece.lock_delay = 0 end
|
||||
function DS:onPieceRotate(piece) piece.lock_delay = 0 end
|
||||
|
||||
function DS:get180RotationValue()
|
||||
if config.gamesettings.world_reverse == 1 then
|
||||
return 1
|
||||
else
|
||||
return 3
|
||||
end
|
||||
end
|
||||
|
||||
return DS
|
Loading…
Reference in New Issue
Block a user