Ajout des mutations Sauveteuse, Adaptative et résistante, ajout des crédits du jeu et d'un splash screen (+ un peu de debug)

This commit is contained in:
2026-07-10 14:34:27 +02:00
parent 22b753c6a9
commit 3caab11468
34 changed files with 729 additions and 158 deletions
+8
View File
@@ -17,6 +17,7 @@ enum State {PLANTED, GROWING, MATURE, DEAD}
var decontamination_area_factor = 0.
var nearby_plants : Array[PlantData]
var region_data : RegionData
func _init(
_position: Vector2 = Vector2.ZERO,
@@ -149,7 +150,14 @@ func get_score_buff() -> int:
buff = m.mutate_score_buff(self, buff)
return buff
func get_mutation_probability_boost() -> float:
var boost = 0
for m in mutations:
boost = m.mutate_mutation_probability_boost(self, boost)
return boost
func disappear():
disappeared.emit(self )