branches and one texture
This commit is contained in:
@@ -2,9 +2,8 @@ extends Resource
|
||||
class_name PlantMutation
|
||||
|
||||
@export var level : int = 1
|
||||
@export var possible_parts: Array[PlantPart]
|
||||
@export var part_amount: int = 1
|
||||
|
||||
var id : String : get = get_mutation_id
|
||||
var name : String : get = get_mutation_name
|
||||
|
||||
func _init(_level : int = 1):
|
||||
@@ -16,6 +15,10 @@ func get_icon() -> Texture:
|
||||
func get_base_rarity() -> int:
|
||||
return 0
|
||||
|
||||
func get_mutation_id() -> String:
|
||||
printerr("Classe abstraite PlantMutation appelée")
|
||||
return ""
|
||||
|
||||
func get_mutation_name() -> String:
|
||||
printerr("Classe abstraite PlantMutation appelée")
|
||||
return ""
|
||||
|
||||
Reference in New Issue
Block a user