strawberry correct name
This commit is contained in:
parent
ea24f48acc
commit
5cfb8fdc21
Binary file not shown.
@ -90,7 +90,7 @@ class PlantsSettings:
|
|||||||
self.block = plant.Plant(
|
self.block = plant.Plant(
|
||||||
i, name, 0, self.wheat_dead_image, self.wheat_image, rand_x, rand_y, False
|
i, name, 0, self.wheat_dead_image, self.wheat_image, rand_x, rand_y, False
|
||||||
)
|
)
|
||||||
if name == 'strawberrie':
|
if name == 'strawberry':
|
||||||
self.block = plant.Plant(
|
self.block = plant.Plant(
|
||||||
i, name, 1, self.strawberrie_image, self.strawberrie_image, rand_x, rand_y, False
|
i, name, 1, self.strawberrie_image, self.strawberrie_image, rand_x, rand_y, False
|
||||||
)
|
)
|
||||||
|
8
main.py
8
main.py
@ -47,10 +47,10 @@ class Game:
|
|||||||
# self.Plants.locate_plant(self.plant_list, 'bush', self.blocks_number)
|
# self.Plants.locate_plant(self.plant_list, 'bush', self.blocks_number)
|
||||||
|
|
||||||
#fruits_list
|
#fruits_list
|
||||||
self.Plants.locate_fruit(self.fruits_list, 'apple', self.blocks_number)
|
self.Plants.locate_fruit(self.fruits_list, 'apple', self.blocks_number-5)
|
||||||
self.Plants.locate_fruit(self.fruits_list, 'banana', self.blocks_number)
|
self.Plants.locate_fruit(self.fruits_list, 'banana', self.blocks_number-5)
|
||||||
self.Plants.locate_fruit(self.fruits_list, 'strawberry', self.blocks_number)
|
self.Plants.locate_fruit(self.fruits_list, 'strawberry', self.blocks_number-5)
|
||||||
self.Plants.locate_fruit(self.fruits_list, 'grapes', self.blocks_number)
|
self.Plants.locate_fruit(self.fruits_list, 'grapes', self.blocks_number-5)
|
||||||
self.Plants.locate_fruit(self.plant_list, 'wheat', self.blocks_number)
|
self.Plants.locate_fruit(self.plant_list, 'wheat', self.blocks_number)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user