Every display naming an item now shows that item's production tooltip, not only the selection panel's chips: the header block stock, the total cost of a building multi-selection, the remaining scrap of a debris selection, the icons of every recipe summary, and a blueprint card's cost. ItemTooltip moves out of the selection panel and takes an ItemTooltipContext of its own -- an item is named all over the UI, and the panel's context carries visuals and a debug flag no tooltip reads. A recipe line wraps each icon with its amount so the pair can be pointed at as one statement, and attaches tooltips only where asked: a module button and the item tooltip itself draw the same line and stay silent. Hover only wherever the display sits on something the player clicks, whose click is not free to explain. Note that a recipe line on an option button can no longer be transparent to the mouse -- Qt never looks inside a transparent widget for the cursor -- so it relies on press propagation to keep picking the option. The header block stock loses world.building_blocks_tooltip, showing what every other block icon shows instead. The Expand button keeps no tooltip: its cost is painted into its face with nowhere to hang one, and the button is due to be removed. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ne3mejABZoLWKLh8fgpM3x
53 lines
1.5 KiB
TOML
53 lines
1.5 KiB
TOML
[world]
|
|
height_tiles = 60
|
|
refund_percentage = 75
|
|
deconstruction_time_seconds = 0.1
|
|
starting_building_blocks = 100
|
|
debris_despawn_seconds = 30
|
|
scrap_per_threat = 1.0
|
|
tile_size_m = 10
|
|
belt_speed_mps = 20
|
|
tunnel_max_distance_tiles = 10
|
|
departure_interval_seconds = 20
|
|
orbit_factor = 0.8
|
|
rally_orbit_radius_tiles = 5.0
|
|
artifact_tooltip = "Choose the artifact reward when destroying enemy stations; collect enough to win."
|
|
|
|
[regions]
|
|
asteroid_width_tiles = 40
|
|
player_buffer_width_tiles = 10
|
|
contest_zone_width_tiles = 30
|
|
enemy_buffer_width_tiles = 15
|
|
|
|
[scroll]
|
|
pan_speed_slow_tiles_per_second = 8.0
|
|
pan_speed_fast_tiles_per_second = 24.0
|
|
pan_ramp_band_width_tiles = 16
|
|
|
|
[expansion]
|
|
columns_per_expansion_tiles = 10
|
|
cost_building_blocks_formula = "400 * 2^x"
|
|
|
|
[push]
|
|
push_expand_columns_tiles = 20
|
|
boss_advance_seconds = 60
|
|
|
|
[targeting]
|
|
target_score_formula = "1 / (1 + x)" # x = distance / max weapon range; higher = better, clamped to >=0
|
|
overclaim_penalty_formula = "max(0.5, 1 - 0.1*x)" # x = competing claim count; multiplies score, clamped to [0,1]
|
|
target_hysteresis = 0.10 # keep current target unless a challenger beats it by >10%
|
|
|
|
[artifacts]
|
|
artifact_chance_formula = "0.05 * x" # 5% chance per station level
|
|
artifact_win_count = 3
|
|
|
|
[waves]
|
|
threat_rate_formula = "x"
|
|
gap_min_seconds = 15
|
|
gap_max_seconds = 45
|
|
spawn_duration_seconds = 10
|
|
boss_countdown_seconds = 300
|
|
boss_threat_duration_seconds = 60
|
|
boss_quiet_before_seconds = 60
|
|
boss_quiet_after_seconds = 60
|