New items + base typing + price generation + new menu template

This commit is contained in:
gotfishmakesticks 2023-11-13 13:38:43 +03:00
commit 50be4a0bb2
20 changed files with 408 additions and 37 deletions

View file

@ -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")