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:
@@ -0,0 +1,19 @@
|
||||
extends PlantMutation
|
||||
class_name AdaptiveMutation
|
||||
|
||||
func get_icon() -> Texture:
|
||||
return preload("res://common/icons/dna.svg")
|
||||
|
||||
func get_mutation_id() -> String:
|
||||
return "ADAPTIVE"
|
||||
|
||||
func get_base_rarity() -> int:
|
||||
return 0
|
||||
|
||||
func get_mutation_description() -> String:
|
||||
return tr("ADAPTIVE_EFFECT_TEXT").format({
|
||||
"mutation_probability_boost": get_mutation_probability_boost(),
|
||||
})
|
||||
|
||||
func get_mutation_probability_boost()->float:
|
||||
return level * 0.05
|
||||
Reference in New Issue
Block a user