* changements des objectifs, donnent juste des graines, sprite moins gros et objectifs plus nombreux * changement de la probabilité de mutation * refactor du code terrain et planet
24 lines
430 B
GDScript
24 lines
430 B
GDScript
extends Interactable
|
|
class_name TruckRecharge
|
|
|
|
func interact(_p: Player) -> bool:
|
|
|
|
if planet == null:
|
|
return false
|
|
|
|
planet.pass_day()
|
|
|
|
return true
|
|
|
|
func interact_text():
|
|
return "Recharge"
|
|
|
|
func pointer_text():
|
|
return "Recharge Station"
|
|
|
|
func inspector_info() -> Inspector.Info:
|
|
return Inspector.Info.new(
|
|
pointer_text(),
|
|
"You can recharge your robot here. When recharging, time will pass and plants may grow."
|
|
)
|