- Rééquilibrage du mode histoire (vers le haut, le jeu sera un poil plus dur) - Ajout d'effet pour dissuader le joueur d'aller hors map (avec peut être un easter egg ???) - Réparation des noms de régions avec le mode twitch et ajout de nombreux noms de régions de la communauté - Buff de la mutation solide (plus qu'un jour de maturation en plus) - Quelques coquilles dans les textes (il doit en rester) - Ajout de la mention de la région choisie dans le dashboard du cockpit - Distributeurs plus clairs (surtout la notion de choix d'artefact)
35 lines
681 B
GDScript
35 lines
681 B
GDScript
@tool
|
|
extends VBoxContainer
|
|
class_name Alert
|
|
|
|
@export var title = "" :
|
|
set(t):
|
|
title = t
|
|
if is_node_ready():
|
|
%TitleLabel.text = t
|
|
|
|
@export var text = "" :
|
|
set(t):
|
|
text = t
|
|
if is_node_ready():
|
|
%TextLabel.text = t
|
|
|
|
func _ready():
|
|
title = title
|
|
text = text
|
|
|
|
func appear(
|
|
with_anim : bool = not visible
|
|
):
|
|
if with_anim :
|
|
%AppearAnimationPlayer.play("appear")
|
|
else:
|
|
%AppearAnimationPlayer.play("shown")
|
|
|
|
func disappear(
|
|
with_anim : bool = visible
|
|
):
|
|
if with_anim :
|
|
%AppearAnimationPlayer.play_backwards("appear")
|
|
else:
|
|
%AppearAnimationPlayer.play("hidden") |