Done refactoring
This commit is contained in:
parent
3a136ff215
commit
2176e9d798
88 changed files with 821 additions and 880 deletions
8
scripts/misc/FactionRecoloring.gd
Normal file
8
scripts/misc/FactionRecoloring.gd
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
extends Node2D
|
||||
|
||||
func changeitemscolor():
|
||||
var items = get_children()
|
||||
var ship = get_tree().current_scene.get_node("MainShip")
|
||||
for item in items:
|
||||
item.modulate = modulate
|
||||
ship.minimap.add_marker(item, "hostile")
|
||||
Loading…
Add table
Add a link
Reference in a new issue