Ajout des mutation Nettoyage, Ermite, Tropicale, Rhizome et Spontanée
This commit is contained in:
@@ -70,6 +70,10 @@ func get_growing_time() -> int:
|
||||
return max(1,growing_time)
|
||||
|
||||
func get_score(state: State = get_state()) -> int:
|
||||
for m in mutations:
|
||||
if m.nullify_score(self):
|
||||
return 0
|
||||
|
||||
var score = get_plant_info().get_base_score() if state == State.MATURE else 0
|
||||
|
||||
var mult := 1.
|
||||
|
||||
Reference in New Issue
Block a user