新增序列模式bagES(easy start),第一块不会是那些不好安排的块
使用标准包+noInitSZO序列的模式改为使用新的bagES【警告:旧的录像都会坏】
This commit is contained in:
@@ -469,7 +469,7 @@ do--Mod data
|
|||||||
},
|
},
|
||||||
{no=19,id="CS",name="customSeq",
|
{no=19,id="CS",name="customSeq",
|
||||||
key="b",x=680,y=470,color='lB',
|
key="b",x=680,y=470,color='lB',
|
||||||
list={'bag','his','hisPool','c2','rnd','mess','reverb'},
|
list={'bag','bagES','his','hisPool','c2','rnd','mess','reverb'},
|
||||||
func=function(P,O)P.gameEnv.sequence=O end,
|
func=function(P,O)P.gameEnv.sequence=O end,
|
||||||
unranked=true,
|
unranked=true,
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ return{
|
|||||||
env={
|
env={
|
||||||
noTele=true,
|
noTele=true,
|
||||||
mindas=7,minarr=1,minsdarr=1,
|
mindas=7,minarr=1,minsdarr=1,
|
||||||
noInitSZO=true,
|
sequence="bagES",
|
||||||
eventSet='marathon_h',
|
eventSet='marathon_h',
|
||||||
bg='cubes',bgm='push',
|
bg='cubes',bgm='push',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ return{
|
|||||||
env={
|
env={
|
||||||
noTele=true,
|
noTele=true,
|
||||||
mindas=7,minarr=1,minsdarr=1,
|
mindas=7,minarr=1,minsdarr=1,
|
||||||
noInitSZO=true,
|
sequence="bagES",
|
||||||
eventSet='marathon_n',
|
eventSet='marathon_n',
|
||||||
bg='bg2',bgm='push',
|
bg='bg2',bgm='push',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ return{
|
|||||||
das=5,arr=1,
|
das=5,arr=1,
|
||||||
freshLimit=15,
|
freshLimit=15,
|
||||||
easyFresh=false,bone=true,
|
easyFresh=false,bone=true,
|
||||||
noInitSZO=true,
|
sequence="bagES",
|
||||||
eventSet='master_final',
|
eventSet='master_final',
|
||||||
bg='lightning',bgm='rectification',
|
bg='lightning',bgm='rectification',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ return{
|
|||||||
noTele=true,
|
noTele=true,
|
||||||
das=6,arr=1,
|
das=6,arr=1,
|
||||||
freshLimit=15,
|
freshLimit=15,
|
||||||
noInitSZO=true,
|
sequence="bagES",
|
||||||
eventSet='master_h',
|
eventSet='master_h',
|
||||||
bg='bg2',bgm='secret7th',
|
bg='bg2',bgm='secret7th',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ return{
|
|||||||
noTele=true,
|
noTele=true,
|
||||||
das=9,arr=3,
|
das=9,arr=3,
|
||||||
freshLimit=15,
|
freshLimit=15,
|
||||||
noInitSZO=true,
|
sequence="bagES",
|
||||||
eventSet='master_l',
|
eventSet='master_l',
|
||||||
bg='bg1',bgm='secret8th',
|
bg='bg1',bgm='secret8th',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
return{
|
return{
|
||||||
color=COLOR.lSea,
|
color=COLOR.lSea,
|
||||||
env={
|
env={
|
||||||
noInitSZO=true,
|
sequence="bagES",
|
||||||
eventSet='master_m',
|
eventSet='master_m',
|
||||||
bg='bg2',bgm='super7th',
|
bg='bg2',bgm='super7th',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ return{
|
|||||||
env={
|
env={
|
||||||
noTele=true,
|
noTele=true,
|
||||||
das=10,arr=3,
|
das=10,arr=3,
|
||||||
noInitSZO=true,
|
sequence="bagES",
|
||||||
freshLimit=15,
|
freshLimit=15,
|
||||||
eventSet='master_n',
|
eventSet='master_n',
|
||||||
bg='bg1',bgm='secret8th',
|
bg='bg1',bgm='secret8th',
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ return{
|
|||||||
noTele=true,
|
noTele=true,
|
||||||
das=6,arr=1,
|
das=6,arr=1,
|
||||||
freshLimit=15,
|
freshLimit=15,
|
||||||
noInitSZO=true,
|
sequence="bagES",
|
||||||
eventSet='master_u',
|
eventSet='master_u',
|
||||||
bg='bg2',bgm='secret7th',
|
bg='bg2',bgm='secret7th',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -20,6 +20,43 @@ local seqGenerators={
|
|||||||
yield()
|
yield()
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
bagES=function(P,seq0)
|
||||||
|
local rndGen=P.seqRND
|
||||||
|
local len=#seq0
|
||||||
|
local bag=TABLE.shift(seq0)
|
||||||
|
do--Get a good first-bag
|
||||||
|
--Shuffle
|
||||||
|
for i=1,len-1 do ins(bag,rem(bag,rndGen:random(len-i+1)))end
|
||||||
|
--Skip Uncomfortable minoes
|
||||||
|
for _=1,len-1 do
|
||||||
|
if
|
||||||
|
bag[1]<3 or bag[1]==6 or
|
||||||
|
bag[1]==8 or bag[1]==9 or
|
||||||
|
bag[1]==12 or bag[1]==13 or
|
||||||
|
bag[1]==17 or bag[1]==18 or
|
||||||
|
bag[1]==23 or bag[1]==24
|
||||||
|
then
|
||||||
|
ins(bag,rem(bag,1))
|
||||||
|
else
|
||||||
|
break
|
||||||
|
end
|
||||||
|
end
|
||||||
|
--Finish
|
||||||
|
for i=1,len do P:getNext(bag[i])end
|
||||||
|
end
|
||||||
|
bag={}
|
||||||
|
while true do
|
||||||
|
while #P.nextQueue<12 do
|
||||||
|
if #bag==0 then
|
||||||
|
for i=1,len do
|
||||||
|
bag[i]=seq0[len-i+1]
|
||||||
|
end
|
||||||
|
end
|
||||||
|
P:getNext(rem(bag,rndGen:random(#bag)))
|
||||||
|
end
|
||||||
|
yield()
|
||||||
|
end
|
||||||
|
end,
|
||||||
his=function(P,seq0)
|
his=function(P,seq0)
|
||||||
local rndGen=P.seqRND
|
local rndGen=P.seqRND
|
||||||
local len=#seq0
|
local len=#seq0
|
||||||
|
|||||||
@@ -191,7 +191,7 @@ scene.widgetList={
|
|||||||
WIDGET.newText{name="subTitle",x=530,y=50,font=35,align='L',color='H'},
|
WIDGET.newText{name="subTitle",x=530,y=50,font=35,align='L',color='H'},
|
||||||
|
|
||||||
WIDGET.newSelector{name="sequence",x=1080,y=60,w=200,color='Y',
|
WIDGET.newSelector{name="sequence",x=1080,y=60,w=200,color='Y',
|
||||||
list={'bag','his','hisPool','c2','rnd','mess','reverb','loop','fixed'},
|
list={'bag','bagES','his','hisPool','c2','rnd','mess','reverb','loop','fixed'},
|
||||||
disp=CUSval('sequence'),code=CUSsto('sequence')
|
disp=CUSval('sequence'),code=CUSsto('sequence')
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user