Indicators

This commit is contained in:
Kirill
2026-04-05 20:15:07 +03:00
parent 3b953b8713
commit 81fe51ff4e
84 changed files with 1961 additions and 248 deletions
+1 -6
View File
@@ -18,12 +18,11 @@ var Owniverse: Dictionary = {
"fleet": {}, "fleet": {},
"inventory": {}, "inventory": {},
} }
var Entities: Dictionary = {}
var Locales: Dictionary = {} var Locales: Dictionary = {}
var Locale = "en" var Locale = "en"
var speed: int = 1 var Entities: Dictionary = {}
func get_localized_item_description(entity_id: String, item: String) -> String: func get_localized_item_description(entity_id: String, item: String) -> String:
if Locales[Locale].has(entity_id): if Locales[Locale].has(entity_id):
@@ -31,14 +30,10 @@ func get_localized_item_description(entity_id: String, item: String) -> String:
return "" return ""
func _ready() -> void: func _ready() -> void:
# Initialize datetime with current adventure time
Owniverse["datetime"] = Datetime.init_datetime()
Entities = _read_from_csv("res://Autoload/entities.csv") Entities = _read_from_csv("res://Autoload/entities.csv")
Locales["en"] = _read_from_csv("res://Autoload/locale.en.csv") Locales["en"] = _read_from_csv("res://Autoload/locale.en.csv")
Locales["ru"] = _read_from_csv("res://Autoload/locale.ru.csv") Locales["ru"] = _read_from_csv("res://Autoload/locale.ru.csv")
#_print_dict(Entities)
func _read_from_csv(file_path: String) -> Dictionary: func _read_from_csv(file_path: String) -> Dictionary:
if not FileAccess.file_exists(file_path): if not FileAccess.file_exists(file_path):
+94 -12
View File
@@ -1,16 +1,31 @@
extends Control extends Control
@export var item_pages: Array[Control]
@export var stage_page_scroller: ScrollContainer
const ITEM_BUTTON = preload("uid://d3xjfxwe3w16v") const ITEM_BUTTON = preload("uid://d3xjfxwe3w16v")
const SPEED_TEXTURE_NAME_TEMPLATE = "res://UI/TopMenu/Time&Speed/Time%s.png"
const PAGE_COUNT = 5 const PAGE_COUNT = 5
const PAGE_WIDTH = 1080 const PAGE_WIDTH = 1080
const DRAG_TOLERANCE = 360 const DRAG_TOLERANCE = 360
const SWIPE_DURATION: float = 2 const SWIPE_DURATION: float = 2
const SWIPE_DELAY = 2000 # msec const SWIPE_DELAY = 2000 # msec
@onready var stage_page_scroller: ScrollContainer = $StageRows/PageScroller
@onready var item_pages: Array[Control] = [
$StageRows/PageScroller/HBoxContainer/ForcePage/Forces,
$StageRows/PageScroller/HBoxContainer/ResourcePage/HBoxContainer/Resources,
$StageRows/PageScroller/HBoxContainer/StarPage/Stars,
$StageRows/PageScroller/HBoxContainer/StructurePage/Structures,
$StageRows/PageScroller/HBoxContainer/LifePage/Planets/Life,
$StageRows/PageScroller/HBoxContainer/LifePage/Planets/LivingPlanet,
$StageRows/PageScroller/HBoxContainer/LifePage/Planets/Civ0,
$StageRows/PageScroller/HBoxContainer/LifePage/Planets/Civ1,
$StageRows/PageScroller/HBoxContainer/LifePage/Planets/Civ2,
$StageRows/PageScroller/HBoxContainer/LifePage/Planets/Civ3,
$StageRows/PageScroller/HBoxContainer/LifePage/Planets/Civ4
]
@onready var g_entity_descriptions: Array = [ @onready var g_entity_descriptions: Array = [
$StageRows/PageScroller/HBoxContainer/ForcePage/Description, $StageRows/PageScroller/HBoxContainer/ForcePage/Description,
$StageRows/PageScroller/HBoxContainer/ResourcePage/Description, $StageRows/PageScroller/HBoxContainer/ResourcePage/Description,
@@ -19,7 +34,22 @@ const SWIPE_DELAY = 2000 # msec
$StageRows/PageScroller/HBoxContainer/LifePage/Description $StageRows/PageScroller/HBoxContainer/LifePage/Description
] ]
@onready var g_top_menu: TopMenu = $StageRows/TopMenu @onready var date_time: Label = $StageRows/TopMenu/InfoPanel/DateTime
@onready var g_speed_icons: Array = [
$StageRows/TopMenu/InfoPanel/Speed/Speed1,
$StageRows/TopMenu/InfoPanel/Speed/Speed2,
$StageRows/TopMenu/InfoPanel/Speed/Speed3,
$StageRows/TopMenu/InfoPanel/Speed/Speed4,
$StageRows/TopMenu/InfoPanel/Speed/Speed5,
$StageRows/TopMenu/InfoPanel/Speed/Speed6,
$StageRows/TopMenu/InfoPanel/Speed/Speed7,
$StageRows/TopMenu/InfoPanel/Speed/Speed8
]
@onready var g_time_minus: TextureButton = $StageRows/TopMenu/TimeMinus
@onready var g_time_plus: TextureButton = $StageRows/TopMenu/TimePlus
var g_tween: Tween = null var g_tween: Tween = null
@@ -40,6 +70,20 @@ var ActiveEntities: Dictionary = {}
var owniverse = Owniverse.new() var owniverse = Owniverse.new()
func set_datetime(value: String):
date_time.text = value
func on_putton_pressed(button_name: String):
#emit_signal("button_pressed", button_name)
print(button_name)
#SaveManager.save_settings()
#SaveManager.ch()
#print(Global.filename)
#func _on_speed_change(delta: int) -> void:
#print(delta)
func entity_activated(entity: OwniverseEntity) -> void: func entity_activated(entity: OwniverseEntity) -> void:
_control_page(entity) _control_page(entity)
@@ -111,6 +155,7 @@ func _check_counters(delta: float) -> Array:
return actions return actions
func _do_actions(actions: Array) -> void: func _do_actions(actions: Array) -> void:
for action: String in actions: for action: String in actions:
match action: match action:
@@ -153,17 +198,54 @@ func _input(event: InputEvent) -> void:
func _ready() -> void: func _ready() -> void:
_init_entities() _init_entities()
func _on_button_pressed(extra_param): # теперь 1 параметр
print("Кнопка нажата! Параметр:", extra_param)
func _process(delta: float) -> void: func _process(delta: float) -> void:
# Update date # Update date
var dt: float = owniverse.add_time_delta(delta) var sdt: String = str(snapped(owniverse.add_time_delta(delta), 0.1))
if owniverse.g_speed > 1: set_datetime(sdt)
dt = round(dt)
else:
dt = snapped(dt, 0.1)
g_top_menu.set_datetime(str(dt))
var actions = _check_counters(delta) var actions = _check_counters(delta)
_do_actions(actions) _do_actions(actions)
func _on_burger_button_pressed() -> void:
print("b")
pass # Replace with function body.
func _on_report_button_pressed() -> void:
print("r")
pass # Replace with function body.
func _on_time_minus_pressed() -> void:
_change_speed(-1)
func _on_time_plus_pressed() -> void:
_change_speed(+1)
func _change_speed(delta: int) -> void:
var speed: int = owniverse.change_speed(delta)
var ind: int = 1
for icon in g_speed_icons:
if ind <= speed:
icon.visible = true
else:
icon.visible = false
ind += 1
if speed == 1:
g_time_minus.texture_normal = load(SPEED_TEXTURE_NAME_TEMPLATE % "x")
g_time_plus.texture_normal = load(SPEED_TEXTURE_NAME_TEMPLATE % "2")
elif speed == Global.SPEED_LIMIT:
g_time_minus.texture_normal = load(SPEED_TEXTURE_NAME_TEMPLATE % str(Global.SPEED_LIMIT - 1))
g_time_plus.texture_normal = load(SPEED_TEXTURE_NAME_TEMPLATE % "x")
else:
g_time_minus.texture_normal = load(SPEED_TEXTURE_NAME_TEMPLATE % str(speed - 1))
g_time_plus.texture_normal = load(SPEED_TEXTURE_NAME_TEMPLATE % str(speed + 1))
+1 -1
View File
@@ -1 +1 @@
uid://cxuq0pyjwds5o uid://dnshr5nb2v60a
-49
View File
@@ -1,49 +0,0 @@
class_name Datetime extends RefCounted
const WEEKDAYS = {
"ru": ["вторник", "среда", "четверг", "пятница", "суббота", "воскресенье"],
"en": ["tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"],
}
# var readable is unused and removed to avoid confusion
static func init_datetime() -> Dictionary:
const SEC_IN_YEAR := 31556925.9747
const RATIO := SEC_IN_YEAR/432/24/60/60
var now := int((1970 * SEC_IN_YEAR + Time.get_unix_time_from_system()) / RATIO - 1970 * SEC_IN_YEAR)
var adt = Time.get_datetime_dict_from_unix_time(now)
var dt: int = adt["second"] + 60 * adt["minute"] + 3600 * adt["hour"] + \
+ 86400 * adt["day"] + 3110400 * adt["month"] + 37324800 * adt["year"]
return _to_adventure_dict_dt(dt)
static func add_timedelta(dt, delta_in_min: int) -> int:
const TIME_DELTA_DEVIATION: float = 0.2
var delta_in_sec = delta_in_min * 60
var delta := int(TIME_DELTA_DEVIATION * delta_in_sec)
return dt + delta_in_sec + randi_range(-delta, delta)
static func _to_adventure_dict_dt(dt_from: int) -> Dictionary:
var dt := {}
dt["dt"] = dt_from
@warning_ignore("integer_division")
dt["year"] = dt_from / 37324800
dt_from %= 37324800
@warning_ignore("integer_division")
dt["month"] = dt_from / 3110400
dt_from %= 3110400
@warning_ignore("integer_division")
dt["day"] = dt_from / 86400
dt["weekday"] = dt["day"] % 6
# TODO replace with language from global settings
dt["weekdayname"] = WEEKDAYS["ru"][dt.weekday]
dt_from %= 86400
@warning_ignore("integer_division")
dt["hour"] = dt_from / 3600
dt_from %= 3600
@warning_ignore("integer_division")
dt["minute"] = dt_from / 60
dt["second"] = dt_from % 60
return dt
-1
View File
@@ -1 +0,0 @@
uid://btdmjpth4vks
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+96
View File
@@ -0,0 +1,96 @@
fileFormatVersion: 2
guid: a0d86ae130aec634490bb7d44fe6e2eb
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
+96
View File
@@ -0,0 +1,96 @@
fileFormatVersion: 2
guid: f37dd6b6915b3ca4a93787abfb834b4b
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
+96
View File
@@ -0,0 +1,96 @@
fileFormatVersion: 2
guid: 5f9464997814c3e489cdcd37aba7dd88
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
+96
View File
@@ -0,0 +1,96 @@
fileFormatVersion: 2
guid: c2ac50e523b6b9d48966a1c17be764d8
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
+96
View File
@@ -0,0 +1,96 @@
fileFormatVersion: 2
guid: b6d14737466cca040b295aef448d5755
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
@@ -0,0 +1,96 @@
fileFormatVersion: 2
guid: fcbdf3818b25c5848948b8bf0b4ab93e
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
+96
View File
@@ -0,0 +1,96 @@
fileFormatVersion: 2
guid: 85d9dab5b7790e6429c4541de6ac323f
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
+96
View File
@@ -0,0 +1,96 @@
fileFormatVersion: 2
guid: e88f72d4911486e49b2efaf6a8bf3953
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
+96
View File
@@ -0,0 +1,96 @@
fileFormatVersion: 2
guid: 6b48a8e30ca2fa44e94bdc41fbe5c1a4
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
+96
View File
@@ -0,0 +1,96 @@
fileFormatVersion: 2
guid: cdd12d02fc0942a4997870203b4a73c1
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
+96
View File
@@ -0,0 +1,96 @@
fileFormatVersion: 2
guid: 76ba003c44d33db428485f21e631d030
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
@@ -0,0 +1,98 @@
fileFormatVersion: 2
guid: e357f65e93a87fc488d19bcce8fa4880
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
+2 -1
View File
@@ -5,7 +5,8 @@ signal entity_activated(entity)
const ENTITY_WIDTH = 216 const ENTITY_WIDTH = 216
const ENTITY_HEIGHT = 256 const ENTITY_HEIGHT = 256
@onready var texture_button: TextureButton = $TextureButton @onready var texture_button: TextureButton = $TextureButton
@onready var description: Label = $Description @onready var description: Label = $Description
@onready var selection: TextureRect = $Selection @onready var selection: TextureRect = $Selection
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-32
View File
@@ -1,32 +0,0 @@
class_name TopMenu extends HBoxContainer
signal button_pressed(button_name: String)
@export_group("Menu Items")
@export var BurgerButton: TextureButton
@export var Info: Label
@export var TopMenuButtons: Dictionary[String, TextureButton]
@onready var date_time: Label = $InfoPanel/DateTime
func set_datetime(value: String):
date_time.text = value
func set_info(value: String):
Info.text = value
func enable_buttons(button_state: Array):
for button_name in TopMenuButtons:
TopMenuButtons[button_name].visible = button_state.has(button_name)
func on_putton_pressed(button_name: String):
emit_signal("button_pressed", button_name)
print(button_name)
#SaveManager.save_settings()
SaveManager.ch()
#print(Global.filename)
-1
View File
@@ -1 +0,0 @@
uid://co14qmemlpt4a
-84
View File
@@ -1,84 +0,0 @@
[gd_scene format=3 uid="uid://cdbqh3hvqvpab"]
[ext_resource type="Texture2D" uid="uid://5f80g4i46ycl" path="res://UI/TopMenu/Buttons/button.burger.normal.png" id="1_0ttbs"]
[ext_resource type="Script" uid="uid://co14qmemlpt4a" path="res://UI/TopMenu/top_menu.gd" id="1_jcwb6"]
[ext_resource type="Texture2D" uid="uid://cimgueu70lvqi" path="res://UI/TopMenu/Buttons/button.burger.focused.png" id="4_5mkgh"]
[ext_resource type="Texture2D" uid="uid://cjcchycx7biyl" path="res://UI/TopMenu/Time/TimeX.png" id="4_radhq"]
[ext_resource type="FontFile" uid="uid://dtyi81a0phumr" path="res://fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf" id="5_radhq"]
[ext_resource type="Texture2D" uid="uid://cnjtnggw5ccq3" path="res://UI/TopMenu/Time/Time1.png" id="6_osfsp"]
[ext_resource type="Texture2D" uid="uid://rmdsdkck0vst" path="res://UI/TopMenu/Buttons/buton.report.normal.png" id="9_4n2up"]
[ext_resource type="Texture2D" uid="uid://dbhkuw2jshyoh" path="res://UI/TopMenu/Buttons/buton.report.pressed.png" id="10_nnhdd"]
[node name="TopMenu" type="HBoxContainer" unique_id=10516167 node_paths=PackedStringArray("BurgerButton", "TopMenuButtons")]
custom_minimum_size = Vector2(0, 128)
size_flags_horizontal = 6
size_flags_vertical = 4
theme_override_constants/separation = 0
script = ExtResource("1_jcwb6")
BurgerButton = NodePath("BurgerButton")
TopMenuButtons = {
"Charsheet": null,
"Dialog": null,
"Questlog": null,
"Starship": null,
"Travel": null
}
[node name="BurgerButton" type="TextureButton" parent="." unique_id=760392200]
custom_minimum_size = Vector2(128, 128)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("1_0ttbs")
texture_focused = ExtResource("4_5mkgh")
[node name="LeftSeparator" type="Panel" parent="." unique_id=305575734]
custom_minimum_size = Vector2(64, 128)
layout_mode = 2
[node name="TimeMinus" type="TextureButton" parent="." unique_id=1811052825]
custom_minimum_size = Vector2(128, 128)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("4_radhq")
[node name="InfoPanel" type="VBoxContainer" parent="." unique_id=685953039]
custom_minimum_size = Vector2(440, 0)
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 0
[node name="DateTime" type="Label" parent="InfoPanel" unique_id=1261215093]
custom_minimum_size = Vector2(240, 128)
layout_mode = 2
theme_override_colors/font_color = Color(0, 0.6862745, 0, 1)
theme_override_fonts/font = ExtResource("5_radhq")
theme_override_font_sizes/font_size = 48
text = "2025.11.16 09:23"
horizontal_alignment = 1
vertical_alignment = 1
[node name="TimePlus" type="TextureButton" parent="." unique_id=2128537958]
custom_minimum_size = Vector2(128, 128)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("6_osfsp")
[node name="RightSeparator" type="Panel" parent="." unique_id=1481873764]
custom_minimum_size = Vector2(64, 128)
layout_mode = 2
[node name="ReportButton" type="TextureButton" parent="." unique_id=247269539]
custom_minimum_size = Vector2(128, 128)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("9_4n2up")
texture_pressed = ExtResource("10_nnhdd")
[connection signal="pressed" from="BurgerButton" to="." method="on_putton_pressed" binds= ["Burger"]]
[connection signal="pressed" from="TimeMinus" to="." method="on_putton_pressed" binds= ["TimeMinus"]]
[connection signal="pressed" from="TimePlus" to="." method="on_putton_pressed" binds= ["TimePlus"]]
[connection signal="pressed" from="ReportButton" to="." method="on_putton_pressed" binds= ["Report"]]
+1 -1
View File
@@ -8,7 +8,7 @@ custom_features=""
export_filter="all_resources" export_filter="all_resources"
include_filter="" include_filter=""
exclude_filter="" exclude_filter=""
export_path="../../Sync/Owad/Owniverse.I/Builds/owniverse.II.20260329.exe" export_path="../../Documents/Owad/Owniverse.I/Builds/owniverse.II.20260401.exe"
patches=PackedStringArray() patches=PackedStringArray()
patch_delta_encoding=false patch_delta_encoding=false
patch_delta_compression_level_zstd=19 patch_delta_compression_level_zstd=19
+581 -22
View File
@@ -1,15 +1,47 @@
[gd_scene format=3 uid="uid://bv384dpmvjv8o"] [gd_scene format=3 uid="uid://bv384dpmvjv8o"]
[ext_resource type="Script" uid="uid://d2wrwichuoncd" path="res://World/Background/background.gd" id="1_fj7yv"] [ext_resource type="Script" uid="uid://d2wrwichuoncd" path="res://World/Background/background.gd" id="1_fj7yv"]
[ext_resource type="PackedScene" uid="uid://cdbqh3hvqvpab" path="res://UI/TopMenu/top_menu.tscn" id="3_036b0"]
[ext_resource type="PackedScene" uid="uid://icbk3la71t7h" path="res://World/Background/starry_sky_layer.tscn" id="3_aqk2v"] [ext_resource type="PackedScene" uid="uid://icbk3la71t7h" path="res://World/Background/starry_sky_layer.tscn" id="3_aqk2v"]
[ext_resource type="Script" uid="uid://iiva6x8uo0f2" path="res://Stage/stage.gd" id="3_bh8nc"] [ext_resource type="Script" uid="uid://iiva6x8uo0f2" path="res://Stage/stage.gd" id="3_bh8nc"]
[ext_resource type="Texture2D" uid="uid://5f80g4i46ycl" path="res://UI/TopMenu/Buttons/button.burger.normal.png" id="4_2u3nc"]
[ext_resource type="Texture2D" uid="uid://caia36a08wlqs" path="res://UI/TopMenu/Buttons/button.burger.pressed.png" id="5_2u3nc"]
[ext_resource type="Script" uid="uid://xte4iwvipeve" path="res://command_processor.gd" id="5_036b0"] [ext_resource type="Script" uid="uid://xte4iwvipeve" path="res://command_processor.gd" id="5_036b0"]
[ext_resource type="Texture2D" uid="uid://cjcchycx7biyl" path="res://UI/TopMenu/Time&Speed/TimeX.png" id="6_ikiii"]
[ext_resource type="FontFile" uid="uid://d3k1ddvv0rmhs" path="res://fonts/Roboto_Condensed/RobotoCondensed-Light.ttf" id="6_wse8f"] [ext_resource type="FontFile" uid="uid://d3k1ddvv0rmhs" path="res://fonts/Roboto_Condensed/RobotoCondensed-Light.ttf" id="6_wse8f"]
[ext_resource type="FontFile" uid="uid://dtyi81a0phumr" path="res://fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf" id="7_ic0uy"] [ext_resource type="FontFile" uid="uid://dtyi81a0phumr" path="res://fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf" id="7_ic0uy"]
[ext_resource type="Texture2D" uid="uid://davmv5mwt3mo1" path="res://UI/TopMenu/Time&Speed/speed.png" id="8_2u3nc"]
[ext_resource type="Texture2D" uid="uid://cnjtnggw5ccq3" path="res://UI/TopMenu/Time&Speed/Time1.png" id="8_cbp6q"]
[ext_resource type="FontFile" uid="uid://8s0fv3gfj317" path="res://fonts/Roboto_Condensed/RobotoCondensed-BoldItalic.ttf" id="8_k3n1d"] [ext_resource type="FontFile" uid="uid://8s0fv3gfj317" path="res://fonts/Roboto_Condensed/RobotoCondensed-BoldItalic.ttf" id="8_k3n1d"]
[ext_resource type="FontFile" uid="uid://derqj4pbwtae6" path="res://fonts/Roboto_Condensed/RobotoCondensed-Italic.ttf" id="9_2o6r5"] [ext_resource type="FontFile" uid="uid://derqj4pbwtae6" path="res://fonts/Roboto_Condensed/RobotoCondensed-Italic.ttf" id="9_2o6r5"]
[ext_resource type="Texture2D" uid="uid://rmdsdkck0vst" path="res://UI/TopMenu/Buttons/buton.report.normal.png" id="9_26xuy"]
[ext_resource type="Texture2D" uid="uid://dbhkuw2jshyoh" path="res://UI/TopMenu/Buttons/buton.report.pressed.png" id="10_bc84e"]
[ext_resource type="Texture2D" uid="uid://dgkmobpfbbffa" path="res://UI/Pages/Forces.en.png" id="13_il2jm"]
[ext_resource type="Texture2D" uid="uid://i43jaaejvh5f" path="res://UI/Indicators/Energy/Energy.png" id="16_udxuc"]
[ext_resource type="Texture2D" uid="uid://cvc1stj3hoax5" path="res://UI/Indicators/Density/Density.png" id="17_ikiii"]
[ext_resource type="Texture2D" uid="uid://bef36h52n7lxb" path="res://UI/Indicators/Energy/border-energy.png" id="18_mc2jv"]
[ext_resource type="Texture2D" uid="uid://blq0anccuu387" path="res://UI/Pages/Resources.en.png" id="18_wjb0r"]
[ext_resource type="Texture2D" uid="uid://38fl8ovnubh8" path="res://UI/Pages/Stars.en.png" id="20_mc2jv"]
[ext_resource type="Texture2D" uid="uid://bm8ae1ffv7xq5" path="res://UI/Indicators/Density/DensityPointer.png" id="20_wjb0r"]
[ext_resource type="Texture2D" uid="uid://df2nus1pmcc67" path="res://UI/Indicators/Density/DensityCrunch.png" id="21_4h6ng"]
[ext_resource type="Texture2D" uid="uid://cbi24bwo70nk" path="res://UI/Pages/Structures.en.png" id="21_bo7i5"]
[ext_resource type="Texture2D" uid="uid://bpff5o5oa4wag" path="res://UI/Pages/Planets.en.png" id="22_4h6ng"]
[ext_resource type="Texture2D" uid="uid://bbk74pjqgxe32" path="res://UI/Indicators/Density/DensityRip.png" id="22_o3ebs"]
[ext_resource type="Texture2D" uid="uid://ysbavtgmq7me" path="res://UI/Indicators/Explosiveness/Explosiveness.png" id="24_qktwf"]
[ext_resource type="Texture2D" uid="uid://sry5js57vds4" path="res://UI/Indicators/Burnability/BurnabilityPointer.png" id="25_bh8nc"]
[ext_resource type="Texture2D" uid="uid://dbcmaot2c3tg5" path="res://UI/Indicators/Burnability/Burnability.png" id="27_jjr1n"]
[ext_resource type="Texture2D" uid="uid://bbint5cvwtrou" path="res://UI/Indicators/Explosiveness/ExplosivenessPointer.png" id="27_qktwf"]
[ext_resource type="PackedScene" uid="uid://dg15dpxiepicb" path="res://UI/Border/border.tscn" id="28_o3ebs"] [ext_resource type="PackedScene" uid="uid://dg15dpxiepicb" path="res://UI/Border/border.tscn" id="28_o3ebs"]
[ext_resource type="Texture2D" uid="uid://cfttpatxe6k2u" path="res://UI/Indicators/Aggression/Aggression.png" id="30_gggvi"]
[ext_resource type="Texture2D" uid="uid://dm87u2ku8wec8" path="res://UI/Indicators/Aggression/AggressionPointer.png" id="31_w44yn"]
[ext_resource type="Texture2D" uid="uid://bgjcnwl61nu5i" path="res://UI/Indicators/Trends/TrendBar1.png" id="33_w44yn"]
[ext_resource type="Texture2D" uid="uid://caiyhk6vv53iu" path="res://UI/Indicators/Trends/TrendBar2.png" id="34_g1i3r"]
[ext_resource type="Texture2D" uid="uid://dspjxpbpwq52k" path="res://UI/Indicators/Trends/TrendIcon2.png" id="35_my276"]
[ext_resource type="Texture2D" uid="uid://dxutg6k0ck226" path="res://UI/Indicators/Trends/TrendBar3.png" id="36_jas3d"]
[ext_resource type="Texture2D" uid="uid://bp72c0myjnl61" path="res://UI/Indicators/Trends/TrendIcon3.png" id="37_7htu6"]
[ext_resource type="Texture2D" uid="uid://qrjhpvw8ou3o" path="res://UI/Indicators/Trends/TrendBar4.png" id="38_7qk3m"]
[ext_resource type="Texture2D" uid="uid://bwqmmmg6w7dho" path="res://UI/Indicators/Trends/TrendIcon4.png" id="39_xpnt2"]
[ext_resource type="Texture2D" uid="uid://4tpbmpe6tbk0" path="res://UI/Indicators/Trends/TrendBar5.png" id="40_ruyqm"]
[ext_resource type="Texture2D" uid="uid://cnf3ml5gj2cvl" path="res://UI/Indicators/Trends/TrendIcon5.png" id="41_fnoqa"]
[node name="World" type="Node2D" unique_id=1392592456] [node name="World" type="Node2D" unique_id=1392592456]
@@ -17,7 +49,7 @@
script = ExtResource("1_fj7yv") script = ExtResource("1_fj7yv")
STARRY_SKY_LAYER = ExtResource("3_aqk2v") STARRY_SKY_LAYER = ExtResource("3_aqk2v")
[node name="Stage" type="Control" parent="." unique_id=1485959841 node_paths=PackedStringArray("item_pages", "stage_page_scroller")] [node name="Stage" type="Control" parent="." unique_id=1485959841]
custom_minimum_size = Vector2(1080, 1920) custom_minimum_size = Vector2(1080, 1920)
layout_mode = 3 layout_mode = 3
anchors_preset = 0 anchors_preset = 0
@@ -26,8 +58,6 @@ offset_bottom = 40.0
size_flags_horizontal = 4 size_flags_horizontal = 4
size_flags_vertical = 3 size_flags_vertical = 3
script = ExtResource("3_bh8nc") script = ExtResource("3_bh8nc")
item_pages = [NodePath("StageRows/PageScroller/HBoxContainer/ForcePage/Forces"), NodePath("StageRows/PageScroller/HBoxContainer/ResourcePage/HBoxContainer/Resources"), NodePath("StageRows/PageScroller/HBoxContainer/StarPage/Stars"), NodePath("StageRows/PageScroller/HBoxContainer/StructurePage/Structures"), NodePath("StageRows/PageScroller/HBoxContainer/LifePage/Planets/Life"), NodePath("StageRows/PageScroller/HBoxContainer/LifePage/Planets/LivingPlanet"), NodePath("StageRows/PageScroller/HBoxContainer/LifePage/Planets/Civ0"), NodePath("StageRows/PageScroller/HBoxContainer/LifePage/Planets/Civ1"), NodePath("StageRows/PageScroller/HBoxContainer/LifePage/Planets/Civ2"), NodePath("StageRows/PageScroller/HBoxContainer/LifePage/Planets/Civ3"), NodePath("StageRows/PageScroller/HBoxContainer/LifePage/Planets/Civ4")]
stage_page_scroller = NodePath("StageRows/PageScroller")
[node name="StageRows" type="VBoxContainer" parent="Stage" unique_id=1878643860] [node name="StageRows" type="VBoxContainer" parent="Stage" unique_id=1878643860]
layout_mode = 1 layout_mode = 1
@@ -38,18 +68,111 @@ grow_horizontal = 2
size_flags_horizontal = 3 size_flags_horizontal = 3
theme_override_constants/separation = 0 theme_override_constants/separation = 0
[node name="TopMenu" parent="Stage/StageRows" unique_id=255793366 node_paths=PackedStringArray("TopMenuButtons") instance=ExtResource("3_036b0")] [node name="TopMenu" type="HBoxContainer" parent="Stage/StageRows" unique_id=255793366]
custom_minimum_size = Vector2(0, 128)
layout_mode = 2 layout_mode = 2
TopMenuButtons = { size_flags_horizontal = 6
"Charsheet": null, size_flags_vertical = 4
"Dialog": null, theme_override_constants/separation = 0
"Equipment": null,
"Questlog": null, [node name="BurgerButton" type="TextureButton" parent="Stage/StageRows/TopMenu" unique_id=760392200]
"Starship": null, custom_minimum_size = Vector2(128, 128)
"Trade": null, layout_mode = 2
"Travel": null, size_flags_horizontal = 4
"Worm": null size_flags_vertical = 4
} texture_normal = ExtResource("4_2u3nc")
texture_pressed = ExtResource("5_2u3nc")
[node name="LeftSeparator" type="Panel" parent="Stage/StageRows/TopMenu" unique_id=305575734]
self_modulate = Color(1, 1, 1, 0)
custom_minimum_size = Vector2(64, 128)
layout_mode = 2
[node name="TimeMinus" type="TextureButton" parent="Stage/StageRows/TopMenu" unique_id=1811052825]
custom_minimum_size = Vector2(128, 128)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("6_ikiii")
[node name="InfoPanel" type="VBoxContainer" parent="Stage/StageRows/TopMenu" unique_id=397773008]
custom_minimum_size = Vector2(440, 0)
layout_mode = 2
size_flags_horizontal = 3
[node name="DateTime" type="Label" parent="Stage/StageRows/TopMenu/InfoPanel" unique_id=1261215093]
custom_minimum_size = Vector2(240, 72)
layout_mode = 2
theme_override_colors/font_color = Color(0.6, 0.6, 0.6, 1)
theme_override_fonts/font = ExtResource("7_ic0uy")
theme_override_font_sizes/font_size = 48
text = "2025.11.16 09:23"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Speed" type="HBoxContainer" parent="Stage/StageRows/TopMenu/InfoPanel" unique_id=1961840008]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
[node name="Speed1" type="TextureRect" parent="Stage/StageRows/TopMenu/InfoPanel/Speed" unique_id=2128881914]
layout_mode = 2
texture = ExtResource("8_2u3nc")
[node name="Speed2" type="TextureRect" parent="Stage/StageRows/TopMenu/InfoPanel/Speed" unique_id=1532494238]
visible = false
layout_mode = 2
texture = ExtResource("8_2u3nc")
[node name="Speed3" type="TextureRect" parent="Stage/StageRows/TopMenu/InfoPanel/Speed" unique_id=180180843]
visible = false
layout_mode = 2
texture = ExtResource("8_2u3nc")
[node name="Speed4" type="TextureRect" parent="Stage/StageRows/TopMenu/InfoPanel/Speed" unique_id=847300920]
visible = false
layout_mode = 2
texture = ExtResource("8_2u3nc")
[node name="Speed5" type="TextureRect" parent="Stage/StageRows/TopMenu/InfoPanel/Speed" unique_id=636141728]
visible = false
layout_mode = 2
texture = ExtResource("8_2u3nc")
[node name="Speed6" type="TextureRect" parent="Stage/StageRows/TopMenu/InfoPanel/Speed" unique_id=988232766]
visible = false
layout_mode = 2
texture = ExtResource("8_2u3nc")
[node name="Speed7" type="TextureRect" parent="Stage/StageRows/TopMenu/InfoPanel/Speed" unique_id=1241111770]
visible = false
layout_mode = 2
texture = ExtResource("8_2u3nc")
[node name="Speed8" type="TextureRect" parent="Stage/StageRows/TopMenu/InfoPanel/Speed" unique_id=220922349]
visible = false
layout_mode = 2
texture = ExtResource("8_2u3nc")
[node name="TimePlus" type="TextureButton" parent="Stage/StageRows/TopMenu" unique_id=2128537958]
custom_minimum_size = Vector2(128, 128)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("8_cbp6q")
[node name="RightSeparator" type="Panel" parent="Stage/StageRows/TopMenu" unique_id=1481873764]
self_modulate = Color(1, 1, 1, 0)
custom_minimum_size = Vector2(64, 128)
layout_mode = 2
[node name="ReportButton" type="TextureButton" parent="Stage/StageRows/TopMenu" unique_id=247269539]
custom_minimum_size = Vector2(128, 128)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture_normal = ExtResource("9_26xuy")
texture_pressed = ExtResource("10_bc84e")
[node name="TopMenuBorder" parent="Stage/StageRows" unique_id=476233375 instance=ExtResource("28_o3ebs")] [node name="TopMenuBorder" parent="Stage/StageRows" unique_id=476233375 instance=ExtResource("28_o3ebs")]
layout_mode = 2 layout_mode = 2
@@ -67,8 +190,31 @@ theme_override_constants/separation = 0
[node name="ForcePage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=71643627] [node name="ForcePage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=71643627]
layout_mode = 2 layout_mode = 2
[node name="PageHeader" type="HBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/ForcePage" unique_id=2102307933]
custom_minimum_size = Vector2(0, 128)
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 4
theme_override_constants/separation = 0
[node name="LeftIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/ForcePage/PageHeader" unique_id=663302862]
custom_minimum_size = Vector2(316, 64)
layout_mode = 2
[node name="Header" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/ForcePage/PageHeader" unique_id=1295272502]
custom_minimum_size = Vector2(440, 64)
layout_mode = 2
texture = ExtResource("13_il2jm")
[node name="RighIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/ForcePage/PageHeader" unique_id=504419468]
custom_minimum_size = Vector2(316, 64)
layout_mode = 2
[node name="PageHeaderBorder" parent="Stage/StageRows/PageScroller/HBoxContainer/ForcePage" unique_id=1411786120 instance=ExtResource("28_o3ebs")]
layout_mode = 2
[node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/ForcePage" unique_id=1934400572] [node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/ForcePage" unique_id=1934400572]
custom_minimum_size = Vector2(0, 736) custom_minimum_size = Vector2(0, 670)
layout_mode = 2 layout_mode = 2
size_flags_vertical = 3 size_flags_vertical = 3
theme_override_fonts/normal_font = ExtResource("6_wse8f") theme_override_fonts/normal_font = ExtResource("6_wse8f")
@@ -95,8 +241,115 @@ layout_mode = 2
[node name="ResourcePage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=1417647206] [node name="ResourcePage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=1417647206]
layout_mode = 2 layout_mode = 2
[node name="ResourceHeader" type="HBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage" unique_id=1468901953]
custom_minimum_size = Vector2(0, 128)
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 4
theme_override_constants/separation = 0
[node name="EnergyIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader" unique_id=1518176902]
custom_minimum_size = Vector2(320, 128)
layout_mode = 2
[node name="Indicator" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader/EnergyIndicator" unique_id=427946956]
custom_minimum_size = Vector2(316, 60)
layout_mode = 1
offset_left = 2.0
offset_top = 34.0
offset_right = 318.0
offset_bottom = 94.0
texture = ExtResource("16_udxuc")
[node name="Energy" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader/EnergyIndicator" unique_id=1283004804]
layout_mode = 0
offset_top = 32.0
offset_right = 320.0
offset_bottom = 96.0
texture = ExtResource("18_mc2jv")
[node name="Header" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader" unique_id=1086493812]
custom_minimum_size = Vector2(440, 64)
layout_mode = 2
texture = ExtResource("18_wjb0r")
[node name="DensityIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader" unique_id=956598060]
custom_minimum_size = Vector2(320, 128)
layout_mode = 2
[node name="Density" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader/DensityIndicator" unique_id=1404964132]
custom_minimum_size = Vector2(316, 64)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -158.0
offset_top = -64.0
offset_right = 158.0
offset_bottom = 64.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("17_ikiii")
stretch_mode = 3
[node name="DensityCrunch" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader/DensityIndicator" unique_id=473304616]
visible = false
custom_minimum_size = Vector2(316, 64)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -158.0
offset_top = -64.0
offset_right = 158.0
offset_bottom = 64.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("21_4h6ng")
stretch_mode = 3
[node name="DensityRip" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader/DensityIndicator" unique_id=1255957268]
visible = false
custom_minimum_size = Vector2(316, 64)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -158.0
offset_top = -64.0
offset_right = 158.0
offset_bottom = 64.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("22_o3ebs")
stretch_mode = 3
[node name="Pointer" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage/ResourceHeader/DensityIndicator" unique_id=1087356985]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -24.0
offset_right = 20.0
offset_bottom = 24.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("20_wjb0r")
[node name="ResourceHeaderBorder" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage" unique_id=2672876 instance=ExtResource("28_o3ebs")]
layout_mode = 2
[node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage" unique_id=1171833] [node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/ResourcePage" unique_id=1171833]
custom_minimum_size = Vector2(0, 736) custom_minimum_size = Vector2(0, 670)
layout_mode = 2 layout_mode = 2
size_flags_vertical = 3 size_flags_vertical = 3
theme_override_fonts/normal_font = ExtResource("6_wse8f") theme_override_fonts/normal_font = ExtResource("6_wse8f")
@@ -109,7 +362,6 @@ theme_override_font_sizes/bold_italics_font_size = 42
theme_override_font_sizes/italics_font_size = 42 theme_override_font_sizes/italics_font_size = 42
theme_override_font_sizes/mono_font_size = 42 theme_override_font_sizes/mono_font_size = 42
bbcode_enabled = true bbcode_enabled = true
text = "Resources"
fit_content = true fit_content = true
horizontal_alignment = 1 horizontal_alignment = 1
@@ -132,8 +384,91 @@ context_menu_enabled = true
[node name="StarPage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=270059674] [node name="StarPage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=270059674]
layout_mode = 2 layout_mode = 2
[node name="StarHeader" type="HBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage" unique_id=1459928]
custom_minimum_size = Vector2(0, 128)
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 4
theme_override_constants/separation = 0
[node name="BurnabilityIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage/StarHeader" unique_id=1361870819]
custom_minimum_size = Vector2(320, 128)
layout_mode = 2
[node name="Burnability" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage/StarHeader/BurnabilityIndicator" unique_id=24868730]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -158.0
offset_top = -30.0
offset_right = 158.0
offset_bottom = 30.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("27_jjr1n")
[node name="BurnabilityPointer" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage/StarHeader/BurnabilityIndicator" unique_id=326702611]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -24.0
offset_right = 20.0
offset_bottom = 24.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("25_bh8nc")
[node name="Header" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage/StarHeader" unique_id=1846312458]
custom_minimum_size = Vector2(440, 64)
layout_mode = 2
texture = ExtResource("20_mc2jv")
[node name="ExplosivenessIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage/StarHeader" unique_id=528204117]
custom_minimum_size = Vector2(320, 128)
layout_mode = 2
[node name="Explosiveness" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage/StarHeader/ExplosivenessIndicator" unique_id=149475724]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -158.0
offset_top = -30.0
offset_right = 158.0
offset_bottom = 30.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("24_qktwf")
[node name="ExplosivenessPointer" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage/StarHeader/ExplosivenessIndicator" unique_id=1486652639]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -24.0
offset_right = 20.0
offset_bottom = 24.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("27_qktwf")
[node name="StarHeaderBorder" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage" unique_id=2057421818 instance=ExtResource("28_o3ebs")]
layout_mode = 2
[node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage" unique_id=1195874488] [node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/StarPage" unique_id=1195874488]
custom_minimum_size = Vector2(0, 736) custom_minimum_size = Vector2(0, 670)
layout_mode = 2 layout_mode = 2
size_flags_vertical = 3 size_flags_vertical = 3
theme_override_fonts/normal_font = ExtResource("6_wse8f") theme_override_fonts/normal_font = ExtResource("6_wse8f")
@@ -159,8 +494,115 @@ layout_mode = 2
[node name="StructurePage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=435979853] [node name="StructurePage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=435979853]
layout_mode = 2 layout_mode = 2
[node name="StructureHeader" type="HBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage" unique_id=1291109226]
custom_minimum_size = Vector2(0, 128)
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 4
theme_override_constants/separation = 0
[node name="EnergyIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader" unique_id=410607995]
custom_minimum_size = Vector2(320, 128)
layout_mode = 2
[node name="Indicator" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader/EnergyIndicator" unique_id=1701423661]
custom_minimum_size = Vector2(316, 60)
layout_mode = 1
offset_left = 2.0
offset_top = 34.0
offset_right = 318.0
offset_bottom = 94.0
texture = ExtResource("16_udxuc")
[node name="Energy" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader/EnergyIndicator" unique_id=1417853951]
layout_mode = 0
offset_top = 32.0
offset_right = 320.0
offset_bottom = 96.0
texture = ExtResource("18_mc2jv")
[node name="Header" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader" unique_id=1038870090]
custom_minimum_size = Vector2(440, 64)
layout_mode = 2
texture = ExtResource("21_bo7i5")
[node name="DensityIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader" unique_id=1280030697]
custom_minimum_size = Vector2(320, 128)
layout_mode = 2
[node name="Density" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader/DensityIndicator" unique_id=1683122883]
custom_minimum_size = Vector2(316, 64)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -158.0
offset_top = -64.0
offset_right = 158.0
offset_bottom = 64.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("17_ikiii")
stretch_mode = 3
[node name="DensityCrunch" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader/DensityIndicator" unique_id=1612334015]
visible = false
custom_minimum_size = Vector2(316, 64)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -158.0
offset_top = -64.0
offset_right = 158.0
offset_bottom = 64.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("21_4h6ng")
stretch_mode = 3
[node name="DensityRip" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader/DensityIndicator" unique_id=1570489598]
visible = false
custom_minimum_size = Vector2(316, 64)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -158.0
offset_top = -64.0
offset_right = 158.0
offset_bottom = 64.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("22_o3ebs")
stretch_mode = 3
[node name="Pointer" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage/StructureHeader/DensityIndicator" unique_id=1090838442]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -24.0
offset_right = 20.0
offset_bottom = 24.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("20_wjb0r")
[node name="StructureHeaderBorder" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage" unique_id=522613609 instance=ExtResource("28_o3ebs")]
layout_mode = 2
[node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage" unique_id=414749774] [node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/StructurePage" unique_id=414749774]
custom_minimum_size = Vector2(0, 736) custom_minimum_size = Vector2(0, 670)
layout_mode = 2 layout_mode = 2
size_flags_vertical = 3 size_flags_vertical = 3
theme_override_fonts/normal_font = ExtResource("6_wse8f") theme_override_fonts/normal_font = ExtResource("6_wse8f")
@@ -186,8 +628,122 @@ layout_mode = 2
[node name="LifePage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=1519563846] [node name="LifePage" type="VBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer" unique_id=1519563846]
layout_mode = 2 layout_mode = 2
[node name="LifeHeader" type="HBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage" unique_id=1673431378]
custom_minimum_size = Vector2(0, 128)
layout_mode = 2
size_flags_horizontal = 6
size_flags_vertical = 4
theme_override_constants/separation = 0
[node name="AggressionIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader" unique_id=654536473]
custom_minimum_size = Vector2(320, 128)
layout_mode = 2
[node name="Aggression" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/AggressionIndicator" unique_id=1538930806]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -158.0
offset_top = -30.0
offset_right = 158.0
offset_bottom = 30.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("30_gggvi")
[node name="AggressionPointer" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/AggressionIndicator" unique_id=1229249560]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -24.0
offset_right = 20.0
offset_bottom = 24.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("31_w44yn")
[node name="Header" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader" unique_id=607573422]
custom_minimum_size = Vector2(440, 64)
layout_mode = 2
texture = ExtResource("22_4h6ng")
[node name="TrendIndicator" type="TextureButton" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader" unique_id=483731989]
custom_minimum_size = Vector2(320, 128)
layout_mode = 2
[node name="HBoxContainer" type="HBoxContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator" unique_id=1344897474]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
theme_override_constants/separation = 2
[node name="CenterContainer" type="CenterContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer" unique_id=907503399]
layout_mode = 2
[node name="Trend1" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer" unique_id=1067418872]
layout_mode = 2
texture = ExtResource("33_w44yn")
[node name="Trend1Icon" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer" unique_id=433344874]
layout_mode = 2
texture = ExtResource("31_w44yn")
[node name="CenterContainer2" type="CenterContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer" unique_id=1119046601]
layout_mode = 2
[node name="Trend2" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer2" unique_id=893059409]
layout_mode = 2
texture = ExtResource("34_g1i3r")
[node name="Trend2Icon" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer2" unique_id=1567846635]
layout_mode = 2
texture = ExtResource("35_my276")
[node name="CenterContainer3" type="CenterContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer" unique_id=1657283663]
layout_mode = 2
[node name="Trend3" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer3" unique_id=1541892233]
layout_mode = 2
texture = ExtResource("36_jas3d")
[node name="Trend3Icon" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer3" unique_id=2131664708]
layout_mode = 2
texture = ExtResource("37_7htu6")
[node name="CenterContainer4" type="CenterContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer" unique_id=1576749946]
layout_mode = 2
[node name="Trend4" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer4" unique_id=1484921702]
layout_mode = 2
texture = ExtResource("38_7qk3m")
[node name="Trend4Icon" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer4" unique_id=209689041]
layout_mode = 2
texture = ExtResource("39_xpnt2")
[node name="CenterContainer5" type="CenterContainer" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer" unique_id=1182691919]
layout_mode = 2
[node name="Trend5" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer5" unique_id=873423599]
layout_mode = 2
texture = ExtResource("40_ruyqm")
[node name="Trend5Icon" type="TextureRect" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage/LifeHeader/TrendIndicator/HBoxContainer/CenterContainer5" unique_id=1362104530]
layout_mode = 2
texture = ExtResource("41_fnoqa")
[node name="LifeHeaderBorder" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage" unique_id=100084430 instance=ExtResource("28_o3ebs")]
layout_mode = 2
[node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage" unique_id=454792539] [node name="Description" type="RichTextLabel" parent="Stage/StageRows/PageScroller/HBoxContainer/LifePage" unique_id=454792539]
custom_minimum_size = Vector2(0, 736) custom_minimum_size = Vector2(0, 670)
layout_mode = 2 layout_mode = 2
size_flags_vertical = 3 size_flags_vertical = 3
theme_override_fonts/normal_font = ExtResource("6_wse8f") theme_override_fonts/normal_font = ExtResource("6_wse8f")
@@ -267,4 +823,7 @@ offset_bottom = 1024.0
[node name="CommandProcessor" type="Node" parent="." unique_id=2069361293] [node name="CommandProcessor" type="Node" parent="." unique_id=2069361293]
script = ExtResource("5_036b0") script = ExtResource("5_036b0")
[connection signal="button_pressed" from="Stage/StageRows/TopMenu" to="CommandProcessor" method="print_smth"] [connection signal="pressed" from="Stage/StageRows/TopMenu/BurgerButton" to="Stage" method="_on_burger_button_pressed"]
[connection signal="pressed" from="Stage/StageRows/TopMenu/TimeMinus" to="Stage" method="_on_time_minus_pressed"]
[connection signal="pressed" from="Stage/StageRows/TopMenu/TimePlus" to="Stage" method="_on_time_plus_pressed"]
[connection signal="pressed" from="Stage/StageRows/TopMenu/ReportButton" to="Stage" method="_on_report_button_pressed"]
+14 -3
View File
@@ -3,12 +3,23 @@ class_name Owniverse
var g_datetime: float = 0 var g_datetime: float = 0
var g_speed: int = 1 var g_speed: int = 1
var g_time_delta: float = 0 var g_speed_in_years = 1
func add_time_delta(delta) -> float: func add_time_delta(delta) -> float:
g_datetime += delta * g_speed var year_delta:float = delta * g_speed_in_years
# all ownivewrse activity should be called here
g_datetime += year_delta
return g_datetime return g_datetime
func change_speed(delta: int) -> int:
g_speed = clamp(g_speed + delta, 1, Global.SPEED_LIMIT)
g_speed_in_years = pow(10, g_speed-1)
return g_speed
func hello(): func hello():
print("ello") print("ello")