Added active state for SelectedSectorIndicator

This commit is contained in:
2025-12-09 15:59:02 +03:00
parent 250a36bab3
commit cddd07695d
23 changed files with 168 additions and 125 deletions
+3 -4
View File
@@ -3,10 +3,9 @@ extends Node
const CHANSES_BY_SECTOR_TYPE : Dictionary[SectorData.SectorType, int] = {
SectorData.SectorType.EmptySector: 45,
SectorData.SectorType.ShopSector: 30,
SectorData.SectorType.ShopSector: 40,
SectorData.SectorType.RepairSector: 20,
SectorData.SectorType.DebrisSector: 5,
SectorData.SectorType.DebrisSector: 40,
}
@@ -39,4 +38,4 @@ func _get_sector_type() -> SectorData.SectorType:
if threshold <= cumulative:
return type
return SectorData.SectorType.EmptySector
return SectorData.SectorType.DebrisSector