iter16ui T4a:N4a裸色全量收ui_kit(T0普查实数25处/10文件原值搬运——任务书N4a记5处系漏记)+N4c类型色五族TG_*立项(四族实机值+第五族TG_AOE #E25676 demo补族)+tg_band()同源分族判定(Q4甲三选一/货架同判;aoe/blast归AOE=reward.tres现成spark_aoe/clear_blast消费面;max_hp归回复族)+商店货架固定默认带改分族;探针白名单清零=呈现层裸Color8=0;轻闸冒烟782/0+三探针绿

This commit is contained in:
DKChan committed 2026-10-06 03:19:13 +08:00
1 parent 4e7aa83367
commit af5f317aea
12 files changed
+63 -46

No files matched your search

+5 -6
View File
@@ -34,7 +34,6 @@ const NODE_TYPE_NAMES := {"battle": "战斗", "reward": "奖励", "rest": "休
const TEX_NODE_ICONS := {"battle": UiKit.TEX_NODE_BATTLE, "reward": UiKit.TEX_NODE_REWARD,
"rest": UiKit.TEX_NODE_REST, "boss": UiKit.TEX_NODE_BOSS, "shop": UiKit.TEX_NODE_SHOP}
const NODE_ICON_PX := 20.0 # 节点图标边长(样张 v1 冻结——20px 烘焙 1:1 消费零缩放)
const ICON_TINT_ON_GOLD := Color(24.0 / 240.0, 20.0 / 226.0, 16.0 / 200.0) # 当前金底图标墨 = INK_ROUTE 乘法调制(双色墨制——暗底系 WARM 原色)
const TITLE_ENTRY := "出发——选择首个节点" # 入口停点(布局决策 1——台账 143 遗留清偿)
const TITLE_SINGLE := "继续前进" # 单链停点
const TITLE_FORK := "选择下一节点" # 岔路停点
@@ -124,7 +123,7 @@ func _init() -> void:
# _hp_value/_attr_value/_bonus_value/_feat_value 投喂键全部保留)
var bottom := PanelContainer.new()
bottom.add_theme_stylebox_override("panel",
UiKit.panel_flat(Color8(240, 228, 200), UiKit.CAMP_HEADER_BAND, 0, 2, Vector4(12, 6, 12, 6)))
UiKit.panel_flat(UiKit.MAP_BAR_PLATE, UiKit.CAMP_HEADER_BAND, 0, 2, Vector4(12, 6, 12, 6)))
box.add_child(bottom)
var strip := HBoxContainer.new()
strip.add_theme_constant_override("separation", 18)
@@ -140,7 +139,7 @@ func _init() -> void:
strip.add_child(face)
var life_box := VBoxContainer.new()
strip.add_child(life_box)
life_box.add_child(UiKit.label("生命", 11, false, Color8(110, 69, 52)))
life_box.add_child(UiKit.label("生命", 11, false, UiKit.INK_HINT))
_hp_value = UiKit.label("", 15, true, UiKit.INK_TITLE)
life_box.add_child(_hp_value)
_hp_bar = Control.new()
@@ -150,7 +149,7 @@ func _init() -> void:
strip.add_child(_vdiv())
var attr_box := VBoxContainer.new()
strip.add_child(attr_box)
attr_box.add_child(UiKit.label("属性", 11, false, Color8(110, 69, 52)))
attr_box.add_child(UiKit.label("属性", 11, false, UiKit.INK_HINT))
_attr_value = UiKit.label("", 15, true, UiKit.INK_TITLE)
attr_box.add_child(_attr_value)
strip.add_child(_vdiv())
@@ -182,7 +181,7 @@ func _init() -> void:
# 竖分隔线(M5 底栏分组线——亮面板上低对比细线)
static func _vdiv() -> ColorRect:
var v := ColorRect.new()
v.color = Color8(201, 184, 142)
v.color = UiKit.MAP_VDIV
v.custom_minimum_size = Vector2(1, 44)
return v
@@ -457,7 +456,7 @@ func _draw_graph(canvas: Control) -> void:
# 贴图缺位 → 字形回退=贴图在位字形退役惯例)
var icon: Texture2D = _node_icons.get(t)
if icon != null:
var tint := ICON_TINT_ON_GOLD if col == COL_ROOM_CURRENT else Color(1.0, 1.0, 1.0)
var tint := UiKit.ICON_TINT_ON_GOLD if col == COL_ROOM_CURRENT else Color(1.0, 1.0, 1.0)
canvas.draw_texture_rect(icon, Rect2(p - Vector2(NODE_ICON_PX, NODE_ICON_PX) / 2.0,
Vector2(NODE_ICON_PX, NODE_ICON_PX)), false, tint)
else: