Files
seeding-planets/entities/plants/scripts/plant_mutation/fertile_mutation.gd

18 lines
420 B
GDScript

extends PlantMutation
class_name FertileMutation
func get_icon() -> Texture:
return preload("res://common/icons/seedling.svg")
func get_mutation_id() -> String:
return "FERTILE"
func get_mutation_name() -> String:
return tr("FERTILE")
func get_mutation_description() -> String:
return tr("FERTILE_EFFECT_TEXT_LEVEL_%d") % level
func mutate_seed_buff(_plant_data: PlantData) -> int:
return level