Dev 0.2.0
* Base Astra dev (pas terminée) * Réparation du bug du level up des mutations * Boost de la difficulté sur tous les modes * Increase backrooms distance et réparation du succès * Réparation de coquilles de textes et des logs qui ne s'affichent plus
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
extends Scene
|
||||
class_name AstraScene
|
||||
|
||||
|
||||
@export var is_spawning : bool
|
||||
|
||||
func _init(
|
||||
_is_spawning : bool = true,
|
||||
):
|
||||
is_spawning = _is_spawning
|
||||
|
||||
func get_scene_id() -> String:
|
||||
return "ASTRA"
|
||||
|
||||
@@ -17,4 +25,10 @@ func get_scene_title() -> String:
|
||||
return tr("ASTRA_FACTORY")
|
||||
|
||||
func get_scene_icon() -> Texture:
|
||||
return preload("res://common/icons/building-factory-2.svg")
|
||||
return preload("res://common/icons/building-factory-2.svg")
|
||||
|
||||
func _on_generated(generated_scene : Node):
|
||||
if is_spawning:
|
||||
(generated_scene as AstraBase).spawn_player()
|
||||
else:
|
||||
(generated_scene as AstraBase).arrive_player()
|
||||
Reference in New Issue
Block a user