mutation tooltips
This commit is contained in:
@@ -8,14 +8,17 @@ func get_base_rarity() -> int:
|
||||
return 0
|
||||
|
||||
func get_mutation_id() -> String:
|
||||
return "SOCIAL"
|
||||
return "SOCIABLE"
|
||||
|
||||
func get_mutation_name() -> String:
|
||||
return tr("SOCIAL")
|
||||
return tr("SOCIABLE")
|
||||
|
||||
func get_mutation_description() -> String:
|
||||
return tr("SOCIAL_EFFECT_TEXT_LEVEL_%d") % level
|
||||
return tr("SOCIABLE_EFFECT_TEXT_LEVEL").format({"near_amount": get_near_plants_around()})
|
||||
|
||||
func mutate_score(_plant_data : PlantData, score : int) -> int:
|
||||
printerr("TODO:: implement SOCIAL score based on plants around")
|
||||
func mutate_score(_plant_data: PlantData, score: int) -> int:
|
||||
printerr("TODO:: implement SOCIABLE score based on plants around")
|
||||
return score + level
|
||||
|
||||
func get_near_plants_around():
|
||||
return 5 - level
|
||||
|
||||
Reference in New Issue
Block a user