Quest restrictions (2/3) and current quest info

This commit is contained in:
2ndbeam 2024-06-02 20:40:10 +03:00
commit 9bff79e019
13 changed files with 53 additions and 16 deletions

View file

@ -19,6 +19,8 @@ signal dock_requested
@export var menu: PackedScene
## Faction that this base represents
@export var faction: Game.Faction
## Name of this base
@export var base_name: String
## List of items that this base sells
@export var items_on_sell: Array[Item]
@ -42,6 +44,7 @@ var touching_dock = false
var player_ship = null
func _ready():
get_tree().current_scene.bases.append(self)
mouse_entered.connect(star_system.set_targeted_node.bind(self))
mouse_exited.connect(star_system.clear_targeted_node)
gate_area.body_entered.connect(gate_area_body_entered)