Dev 0.2.0
* Equilibrage de la difficulté (suite) * Correction du timing des dialogues de Demeter * Dev de la base astra (avec les logs) * Fix de bug de duplication d'objets * Fix de la mutation ancien * Ajout d'une mention de la propagation des mutations dans le tuto
This commit is contained in:
@@ -56,7 +56,6 @@ func generate_plants():
|
||||
child.free()
|
||||
|
||||
for i in n_to_generate:
|
||||
print("Generate plant :")
|
||||
var plant_pos_x = (i % n_per_row) * space_between_plants
|
||||
@warning_ignore("integer_division")
|
||||
var plant_pos_y = (i / n_per_row) * space_between_plants
|
||||
@@ -80,7 +79,6 @@ func generate_plants():
|
||||
picked_mutation.level = randi_range(min_level, max_level)
|
||||
plant_data.mutations.append(picked_mutation)
|
||||
var plant: Plant = Plant.new(plant_data)
|
||||
print(plant.data.plant_name)
|
||||
%Plants.add_child(plant)
|
||||
plant.global_position = plant_position
|
||||
|
||||
@@ -89,7 +87,6 @@ func generate_seeds():
|
||||
child.free()
|
||||
|
||||
for i in n_to_generate:
|
||||
print("Generate seed :")
|
||||
var seed_pos_x = (i % n_per_row) * space_between_plants
|
||||
@warning_ignore("integer_division")
|
||||
var seed_pos_y = (i / n_per_row) * space_between_plants
|
||||
|
||||
Reference in New Issue
Block a user