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:
@@ -18,6 +18,9 @@ func get_icon() -> Texture:
|
||||
func get_base_rarity() -> int:
|
||||
return 0
|
||||
|
||||
func get_max_rarity() -> int:
|
||||
return MAX_RARITY
|
||||
|
||||
@abstract func get_mutation_id() -> String
|
||||
|
||||
func get_mutation_name() -> String:
|
||||
@@ -31,6 +34,9 @@ func mutate_plant_data(_plant_data: PlantData):
|
||||
func nullify_score(_plant_data: PlantData) -> bool:
|
||||
return false
|
||||
|
||||
func allow_planting_on_decontamined_terrain(_seed : Seed) -> bool:
|
||||
return false
|
||||
|
||||
func mutate_score(_plant_data: PlantData, score: int) -> int:
|
||||
return score
|
||||
|
||||
@@ -61,6 +67,9 @@ func mutate_seed_buff(_plant_data: PlantData, seed_buff : int) -> int:
|
||||
func mutate_score_buff(_plant_data: PlantData, score_buff : int) -> int:
|
||||
return score_buff
|
||||
|
||||
func mutate_mutation_probability_boost(_plant_data: PlantData, mutation_probability_boost : int) -> float:
|
||||
return mutation_probability_boost
|
||||
|
||||
func _start_planted_effect(_plant: Plant):
|
||||
pass
|
||||
|
||||
@@ -83,7 +92,7 @@ func get_rarity() -> int:
|
||||
return get_base_rarity() + level - 1
|
||||
|
||||
func is_max_level() -> bool:
|
||||
return get_base_rarity() + level < MAX_RARITY
|
||||
return get_base_rarity() + level < get_max_rarity()
|
||||
|
||||
func card_info() -> CardInfo:
|
||||
var info = CardInfo.new(
|
||||
|
||||
Reference in New Issue
Block a user