增加墓碑吞噬者音效
This commit is contained in:
parent
13389bae23
commit
384148af67
BIN
resources/sound/gravebusterchomp.ogg
Normal file
BIN
resources/sound/gravebusterchomp.ogg
Normal file
Binary file not shown.
@ -857,6 +857,8 @@ class Level(tool.State):
|
||||
new_plant = plant.DoomShroom(x, y, self.map.map[map_y][map_x])
|
||||
elif self.plant_name == c.GRAVEBUSTER:
|
||||
new_plant = plant.GraveBuster(x, y, self.plant_groups[map_y], self.map, map_x)
|
||||
# 播放吞噬音效
|
||||
pg.mixer.Sound(os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))) ,"resources", "sound", "gravebusterchomp.ogg")).play()
|
||||
|
||||
|
||||
if new_plant.can_sleep and self.background_type in {c.BACKGROUND_DAY, c.BACKGROUND_POOL, c.BACKGROUND_ROOF, c.BACKGROUND_WALLNUTBOWLING, c.BACKGROUND_SINGLE, c.BACKGROUND_TRIPLE}:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user