* résolution du bug de disparition des items #94 * améliorations définitives dans le camion via compost #88 * ajout de plus d'aléatoire dans le zone de départ * suppression des récompenses de quota (pour l'instant) * équilibrage du gain en graine * ajout de la clarté dans les actions
24 lines
440 B
GDScript
24 lines
440 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() -> String:
|
|
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."
|
|
)
|