extends PlantMutation class_name RobustMutation func get_icon() -> Texture: return preload("res://common/icons/clock.svg") func get_mutation_id() -> String: return "ROBUST" func get_mutation_description() -> String: return tr("ROBUST_EFFECT_TEXT").format({ "lifetime_change": get_lifetime_change(), "lifetime_icon": Text.bbcode_icon(Plant.LIFETIME_ICON) }) func mutate_lifetime(_plant_data: PlantData, lifetime: int) -> int: return lifetime + get_lifetime_change() func get_lifetime_change(): return level * 2