20 lines
452 B
GDScript
20 lines
452 B
GDScript
extends PlantMutation
|
|
class_name ResistantMutation
|
|
|
|
func get_icon() -> Texture:
|
|
return preload("res://common/icons/radioactive.svg")
|
|
|
|
func get_mutation_id() -> String:
|
|
return "RESISTANT"
|
|
|
|
func get_base_rarity() -> int:
|
|
return 0
|
|
|
|
func get_mutation_description() -> String:
|
|
return tr("RESISTANT_EFFECT_TEXT")
|
|
|
|
func is_max_level() -> bool:
|
|
return true
|
|
|
|
func allow_planting_on_decontamined_terrain(_seed : Seed) -> bool:
|
|
return true |