增加部分关卡素材

This commit is contained in:
星外之神 2022-05-27 00:53:50 +08:00
parent b281094b44
commit 0c9d562cba
21 changed files with 64 additions and 20 deletions

View File

@ -1,18 +1,13 @@
{ {
"background_type":0, "background_type":6,
"choosebar_type":1, "choosebar_type":2,
"shovel":1, "shovel":0,
"spawn_zombies":"auto", "spawn_zombies":"auto",
"num_flags":3, "included_zombies":["Zombie", "ConeheadZombie", "BucketheadZombie", "NewspaperZombie", "PoleVaultingZombie"],
"included_zombies":["Zombie", "ConeheadZombie", "BucketheadZombie", "PoleVaultingZombie"], "num_flags":4,
"inevitable_zombie_list":{"20":["BucketheadZombie"]}, "inevitable_zombie_list":{"20":["BucketheadZombie"]},
"card_pool":[ "card_pool":[
{"name":"Peashooter"}, {"name":"WallNutBowling"},
{"name":"SnowPea"}, {"name":"RedWallNutBowling"}
{"name":"WallNut"},
{"name":"CherryBomb"},
{"name":"RepeaterPea"},
{"name":"Chomper"},
{"name":"PotatoMine"}
] ]
} }

View File

@ -1,13 +1,18 @@
{ {
"background_type":6, "background_type":0,
"choosebar_type":2, "choosebar_type":1,
"shovel":0, "shovel":1,
"spawn_zombies":"auto", "spawn_zombies":"auto",
"included_zombies":["Zombie", "ConeheadZombie", "BucketheadZombie", "NewspaperZombie", "PoleVaultingZombie"], "num_flags":3,
"num_flags":4, "included_zombies":["Zombie", "ConeheadZombie", "BucketheadZombie", "PoleVaultingZombie"],
"inevitable_zombie_list":{"20":["BucketheadZombie"]}, "inevitable_zombie_list":{"20":["BucketheadZombie"]},
"card_pool":[ "card_pool":[
{"name":"WallNutBowling"}, {"name":"Peashooter"},
{"name":"RedWallNutBowling"} {"name":"SnowPea"},
{"name":"WallNut"},
{"name":"CherryBomb"},
{"name":"RepeaterPea"},
{"name":"Chomper"},
{"name":"PotatoMine"}
] ]
} }

View File

@ -0,0 +1,20 @@
{
"background_type":1,
"choosebar_type":1,
"shovel":1,
"spawn_zombies":"auto",
"num_flags":3,
"included_zombies":["Zombie", "ConeheadZombie",
"BucketheadZombie", "NewspaperZombie",
"FootballZombie", "ScreenDoorZombie"],
"inevitable_zombie_list":{"30":["FootballZombie"]},
"card_pool":[
{"name":"PuffShroom"},
{"name":"ScaredyShroom"},
{"name":"IceShroom"},
{"name":"HypnoShroom"},
{"name":"DoomShroom"},
{"name":"GraveBuster"},
{"name":"FumeShroom"}
]
}

View File

@ -0,0 +1,21 @@
{
"background_type":2,
"choosebar_type":1,
"shovel":1,
"spawn_zombies":"auto",
"num_flags":4,
"included_zombies":["Zombie", "ConeheadZombie",
"BucketheadZombie", "SnorkelZombie",
"Zomboni"],
"inevitable_zombie_list":{"30":["BucketheadZombie"]},
"card_pool":[
{"name":"Lilypad"},
{"name":"TorchWood"},
{"name":"TallNut"},
{"name":"TangleKlep"},
{"name":"Spikeweed"},
{"name":"Squash"},
{"name":"Jalapeno"},
{"name":"Threepeater"}
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -1,7 +1,7 @@
# 冒险模式起始关卡 # 冒险模式起始关卡
START_LEVEL_NUM = 1 START_LEVEL_NUM = 1
# 小游戏模式起始关卡 # 小游戏模式起始关卡
START_LITTLE_GAME_NUM = 1 START_LITTLE_GAME_NUM = 4
# 游戏速度倍率(调试用) # 游戏速度倍率(调试用)
GAME_RATE = 1 GAME_RATE = 1

View File

@ -158,6 +158,9 @@ class Level(tool.State):
if randint(1, 3) == 1: # 1/3概率水上暂时人为设定 if randint(1, 3) == 1: # 1/3概率水上暂时人为设定
if newZombie in c.CONVERT_ZOMBIE_IN_POOL: if newZombie in c.CONVERT_ZOMBIE_IN_POOL:
newZombie = c.CONVERT_ZOMBIE_IN_POOL[newZombie] newZombie = c.CONVERT_ZOMBIE_IN_POOL[newZombie]
# 首先几轮不出水生僵尸
elif newZombie in c.WATER_ZOMBIE:
continue
if c.CREATE_ZOMBIE_DICT[newZombie][0] <= volume: if c.CREATE_ZOMBIE_DICT[newZombie][0] <= volume:
zombieList.append(newZombie) zombieList.append(newZombie)
volume -= c.CREATE_ZOMBIE_DICT[newZombie][0] volume -= c.CREATE_ZOMBIE_DICT[newZombie][0]