自定义游戏的序列任务场地等数据退出后会保存

This commit is contained in:
MrZ626
2021-07-28 03:10:29 +08:00
parent 81b3082087
commit 512c78e192
7 changed files with 73 additions and 52 deletions

View File

@@ -201,55 +201,7 @@ USER=FILE.load('conf/user')or{--User infomation
xp=0,lv=1,
}
customEnv0={
version=VERSION.code,
--Basic
drop=1e99,
lock=1e99,
wait=0,
fall=0,
--Control
nextCount=6,
holdCount=1,
infHold=true,
phyHold=false,
--Visual
bone=false,
--Rule
sequence='bag',
fieldH=20,
heightLimit=1e99,
bufferLimit=1e99,
ospin=true,
fineKill=false,
b2bKill=false,
easyFresh=true,
deepDrop=false,
visible='show',
freshLimit=1e99,
opponent="X",
life=0,
pushSpeed=3,
garbageSpeed=1,
missionKill=false,
--Else
bg='blockrain',
bgm='hang out',
}
CUSTOMENV=FILE.load('conf/customEnv')--gameEnv for cutsom game
if not CUSTOMENV or CUSTOMENV.version~=VERSION.code then
CUSTOMENV=TABLE.copy(customEnv0)
else
TABLE.complete(customEnv0,CUSTOMENV)
end
CUSTOMENV={}
ROOMENV={
--Room config
capacity=10,