New items + base typing + price generation + new menu template
This commit is contained in:
parent
ff19560f0b
commit
50be4a0bb2
20 changed files with 408 additions and 37 deletions
|
|
@ -1,8 +1,11 @@
|
|||
extends Node2D
|
||||
|
||||
@export var faction : bool
|
||||
|
||||
func changeitemscolor():
|
||||
var items = get_children()
|
||||
var ship = get_tree().current_scene.get_node("MainShip")
|
||||
var ship = get_tree().current_scene.ship
|
||||
for item in items:
|
||||
item.modulate = modulate
|
||||
ship.minimap.add_marker(item, "hostile")
|
||||
if faction:
|
||||
ship.minimap.add_marker(item, "hostile")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue