fix et amélioration diverses
This commit is contained in:
@@ -44,7 +44,6 @@ func draw_random_zone(
|
||||
|
||||
var random_step = 1
|
||||
var zone_radius = noise_image_size.x - random_step
|
||||
print(get_value_surface(noise_image))
|
||||
while get_value_surface(noise_image) > zone_max_surface:
|
||||
zone_radius -= random_step
|
||||
ImageTools.draw_circle(
|
||||
|
||||
@@ -42,3 +42,5 @@ func use(player : Player, zone : Player.ActionZone) -> bool:
|
||||
func harvest(p : Plant, player: Player):
|
||||
player.play_sfx("harvest")
|
||||
p.harvest()
|
||||
if player.planet:
|
||||
player.planet.update_garden_score()
|
||||
|
||||
Reference in New Issue
Block a user