diff --git a/BUILD_NOTE.txt b/BUILD_NOTE.txt index 2809c20..59f4bf0 100644 --- a/BUILD_NOTE.txt +++ b/BUILD_NOTE.txt @@ -1,9 +1,132 @@ +tarinai_plushie_fling_speed_v1 +- Reduced plushie poke-fling velocity to one third. +- Lowered plushie fling minimum-speed normalization to the same one-third scale. + +tarinai_sticky_bomb_plushie_stats_v1 +- Sticky bomb tooltip changed to the requested short description. +- Colony chart no longer appends the in-progress bucket as a live preview row, preventing rapid graph redraws between two-hour samples. +- Structure items now receive their own update method through the item dynamic dispatch, fixing plushie fling/offscreen destruction. +- Plushie poke fling speed/lifetime were strengthened and marked destroyOffscreen for both carried and uncarried plushies. +- Sticky bomb explosion delegates to World.explodeFirecracker; World.explodeFirecracker now accepts sticky_bomb as a compatible source. + +tarinai_sticky_bomb_plushie_v1 +- Added sticky_bomb as a hazard tool with timed explosion, carrier panic, and contact transfer. +- Changed poke behavior for carried plushies to fling them offscreen before destruction instead of immediate deletion. +- Removed the misleading no-explosion phrase from the flame-firecracker tooltip. + +tarinai_grab_rain_death_reason_v1 +- Held Tarinai now zeroes velocity/impulses during pinch and skips AI/movement while player-held. +- Zunchi has a vector fallback sprite until its image asset is renderable. +- Poked carried plushies are destroyed instead of depending on offscreen fling removal. +- Rain streak overlay is visible during light_rain and no longer disappears entirely with transient effects disabled. +- Restored soil ground label as 砂 while keeping ground UI wording as 地面. +- Stale fire_seen panic text is cleared when no active fire/burning threat remains. +- Family tree death reason label now uses the same stored final reason as the event log. + +tarinai_ground_edgegrass_duplicate_scan_v1 +- Unified ground wording for default ground / ground change log / ground change toast to 地面. +- Removed visual-only edge grass decorations from the cached background renderer. +- Duplicate-processing candidates found but not removed: + - Mechanical geometry helpers overlap across geometry_helpers.js, mechanical_shape_bridge.js, and mechanical_system.js. + - Item update scheduling helpers overlap between item_update_policy.js and item_update_scheduler.js. + - Sleep-place / nest-box search helpers overlap between tarinai_item_targeting.js and tarinai_nest_sleep_system.js. + - Physics bounce response block is repeated inside physics_helpers.js. + - Rotator / reciprocator editor close/apply scaffolding is repeated in world_placement_log.js. + - Drink/juice consumable handling has similar sound/need-relief blocks in tarinai_consumable_behavior.js. + - Family connected-component traversal logic appears in both family_graph.js and ui_family_async.js. +- No duplicate blocks were removed in this build. + +tarinai_tool_fold_fan_area_delete_v1 +- Removed the over-broad collapsed-card min-height override and preserved folded tool-card header height. +- Updated fan tooltip copy from water balloons/balls to lightweight items. +- Changed area-delete to its own text icon instead of reusing the normal delete icon. + +tarinai_right_ui_restore_v1 +- Restored right-panel/tool/collapsible CSS to the stable pre-scroll behavior. +- Removed the later generic scroll clamps from panel-card bodies/tool palette/right UI. +- Kept scrollability only for in-game overlay/editor windows that can exceed the viewport. + +tarinai_right_panel_scroll_fix_v1 +- Removed generic max-height/overflow clamp from panel-card bodies. +- Restored the right panel as the scroll container. +- Preserved internal tool-palette scrolling and sticky operation category. +- Ensured collapsed right-panel cards keep a full visible header. + +tarinai_tool_ui_fix_v1 +- Stabilized folded tool-card height when other UI cards are expanded. +- Kept the operation category sticky while fixing display glitches inside the tool palette scroller. +- Kept tool-palette scrolling while preventing global panel-body height limits from compressing the tool card. + +tarinai_event_ui_king_scroll_v1 +- Hidden robot-cleaner and player/tool operation records from the event log and observation records. +- Reduced visual settings to OFF/ON for effects/shadows and low/high for details. +- Updated family/nest descriptions and implemented champion-only nest displacement during sleep. +- Strengthened flame-firecracker size scaling. +- Shortened intimidation timers. +- Added overflow scrolling safeguards for fixed UI and panel bodies. + +tarinai_stats_cleaning_flame_intimidation_v1 +- Colony chart day markers now use season-day labels such as 春2日. +- Robot cleaner deaths normalize to 掃除. +- Flame firecracker fire amount/count/range now scale with item size. +- Object chart label changed to 環境; population/environment y-axis labels use data max instead of fixed 100. +- Environment chart includes temperature. +- Intimidation state is cleared when its timer ends and timer ranges are shortened. + +tarinai_tooltip_stats_disease_hunger_v1 +- Tarinai canvas tooltip width now adapts to its four fixed lines. +- Colony charts draw dotted gray daily 0:00 markers with day labels. +- Orphan plushies with no live owner are removed. +- Fight disease blocks sunbathing and sunbath curing. +- Disease-active low-health/stress deaths prefer disease cause labels. +- Natural hunger increase is multiplied by 0.75 in awake and sleep paths. + +tarinai_family_routes_v39_15_124 +- Clamped above-generation lineage detours inside the SVG viewport. +- Allowed lineage edges to attach to non-center points on node sides when detouring. +- Removed fight win-rate text from family-tree nodes. + +tarinai_tooltip_family_routing_v1 +- Tarinai hover tooltip is fixed to 4 logical lines: name, behavior, HP/hunger/stress, felt temperature. +- Family tree partner/child link routing now detours around unrelated node cards when a direct horizontal partner line would overlap a node. + +tarinai_pipe_shadow_temperature_shelter_v1 +- Moved pipe shadow down to the pipe-ground contact area and enlarged it slightly. +- Temperature comfort seeking now considers thermally comfortable nest boxes and pipes. +- Tarinai can enter selected nest/pipe shelters for temperature relief. + +tarinai_pipe_layer_fan_sunbath_v1 +- Pipe tooltip wording now uses 土管, not 全土管/土管全部. +- Pipe shadow is moved to the ground-contact mouth area and enlarged slightly. +- Render layer sorting uses bottom-edge/ground-contact Y instead of center Y. +- Fan wind lowers felt temperature by up to 5C. +- Sunbath disease recovery chance is 25%. + +tarinai_pipe_visual_tooltip_v1 +- Updated water-balloon / pipe tool descriptions in the tool UI. +- Touching toys (ball / water balloon) can slightly increase openness over time. +- Pipe visuals are revised to read as a pipe embedded in the ground instead of a jar. +- Pipe tooltip occupant listing is reinforced by aggregating live occupants across all pipes. + +tarinai_pipe_tooltip_temp_raindrop_v1 +- Pipe tooltips list tarinai inside all pipes instead of only the hovered pipe. +- Fully hidden tarinai inside a nest box or pipe are skipped by direct tarinai tooltips. +- Pipe interior temperature correction now moves toward 20C by at most +/-5C. +- Water-balloon splash drops are created through the same rain-water item initializer used by rain. +- Version: 39.15.136 + +tarinai_pipe_tooltip_temp_v1 +- Pipe tooltips list tarinai inside all pipes instead of only the hovered pipe. +- Fully hidden tarinai inside a nest box or pipe are skipped by direct tarinai tooltips. +- Pipe interior temperature correction now moves toward 20C by at most +/-5C. +- Version: 39.15.117 + tarinai_water_balloon_fan_ui_v1 - Fan drawing now shows the actual forward wind cone/range. - Mobile rotator/reciprocator editor dialogs are scrollable; reciprocator canvas shares editor sizing. - Balloon tool is replaced by water balloon visuals/text. - Water balloons splash water when popped; low-openness tarinai panic and flee with behavior text: 水風船が割れておどろいている。 -- Version: 39.15.116 +- Version: 39.15.117 tarinai_king_fix_v10 - Fire tool button hidden; flames spawn only from flame firecracker. diff --git a/GAME_FEATURES.md b/GAME_FEATURES.md index 0907f3a..272cfa7 100644 --- a/GAME_FEATURES.md +++ b/GAME_FEATURES.md @@ -1,3 +1,26 @@ +## 39.15.136 ツールチップ・統計・病気・空腹調整 +- たりないツールチップは4行固定のまま、横幅を内容に合わせて可変化。 +- コロニー統計に毎日0:00の灰色点線と日付ラベルを表示。 +- 持ち主IDが空、または持ち主が生存個体に存在しないぬいぐるみは削除。 +- きずつき病の個体は日光浴を開始せず、日光浴中に発症した場合も中断する。日光浴回復対象からも除外。 +- 病気中に体力切れ/ストレス過多で死亡した場合、病死として病名を優先記録するよう補強。 +- 空腹度合いの自然上昇幅を通常時・睡眠時ともに3/4倍へ調整。 + +## 39.15.136 水風船・扇風機差分 + +- 水風船の飛沫は雨滴と同じ `Item("water")` 生成経路に統一。専用タイプや専用IDは使わず、短時間だけ速度を持つ水滴として扱う。 +- 水風船の破裂飛沫を増量し、飛距離・初速・飛翔時間を拡大。 +- 水風船は射撃命中、爆竹/爆発病の爆風、げんこつ、火、鋲で破裂する。 +- 扇風機の本体角度と風向きを分離。風向き変更・首振りで変化するのは風範囲/矢印のみ。 +- 扇風機の風が火に当たると、火を単に弱めず、風下へ火種を飛ばして拡散する。 +- たりないが水風船で遊ぶ時の楽しさ・押し出し効果をボール寄りに調整。 + +## 39.15.118 土管ツールチップ・雨滴統一 +- 土管ツールチップは、どの土管にカーソルを合わせても土管内のたりないを一覧表示する。 +- 巣箱・土管に入り透明化済みのたりないは、個体ツールチップを出さない。 +- 土管内の体感温度補正は20℃へ最大±5℃まで寄せる。 +- 水風船破裂時に生成される水滴は、雨で生成される水滴と同じ初期化を使う。 + # tarinai_ Game Features This document describes the playable features of `tarinai_`: what the player sees, what tools do, and how tarinai behave. It is intentionally player/design-facing, not an implementation map. @@ -172,7 +195,7 @@ Recovery depends on the disease or effect. Water, rest, food, medicine, zunda ju - Service worker caching allows the static app shell to remain available after load, depending on browser support. -## 39.15.116 土管外観・内部温度 +## 39.15.117 土管外観・内部温度 - 土管の外観を、丸い口と側面が見える斜め上からの視点に変更。 - 土管内の体感温度を20℃へ近づける内部温度補正を追加。補正幅は最大7℃。 diff --git a/app_manifest.json b/app_manifest.json index a7f37e2..0d17dce 100644 --- a/app_manifest.json +++ b/app_manifest.json @@ -1,5 +1,5 @@ { - "version": "39.15.116", + "version": "39.15.136", "css": [ "css/base.css", "css/layout.css", diff --git a/css/base.css b/css/base.css index f87ca66..d90a089 100644 --- a/css/base.css +++ b/css/base.css @@ -732,3 +732,28 @@ h1 { .fan-editor-controls label { grid-template-columns: 1fr; align-items: stretch; } .fan-editor-panel { width: calc(100vw - 16px); } } + +/* v39.15.130: only in-game overlay windows scroll when they exceed the viewport. + Right-panel cards and tool categories intentionally keep the older stable layout. */ +.field-dialog, +.signboard-editor, +.rotator-editor { + overflow: auto; + overscroll-behavior: contain; + -webkit-overflow-scrolling: touch; + align-items: flex-start; + justify-items: center; + box-sizing: border-box; + padding: 12px; +} + +.field-dialog-panel, +.signboard-editor-panel, +.rotator-editor-panel { + max-height: calc(100dvh - 24px); + overflow-y: auto; + overflow-x: hidden; + overscroll-behavior: contain; + -webkit-overflow-scrolling: touch; + box-sizing: border-box; +} diff --git a/css/components.css b/css/components.css index 9d4c636..f78d734 100644 --- a/css/components.css +++ b/css/components.css @@ -802,7 +802,6 @@ /* Collapsed event card must shrink to its header. layout.css gives .log-card a min-height, which left a large blank panel when folded. */ -.collapsible-card.collapsed { min-height: 0 !important; } .log-card.collapsed { min-height: 0 !important; height: auto !important; flex: 0 0 auto !important; flex-basis: auto !important; } .log-card.collapsed .panel-card-body { display: none !important; } @@ -839,3 +838,19 @@ .temperature-slider:disabled { opacity: 0.52; } + + +/* v39.15.131: keep the folded tool card usable when other right-side cards are expanded. */ +.tool-card.collapsed { + min-height: 64px !important; + height: auto !important; + flex: 0 0 auto !important; + flex-basis: auto !important; + overflow: visible !important; +} +.tool-card.collapsed .panel-card-toggle { + min-height: 46px; +} +.tool-card.collapsed .panel-card-body { + display: none !important; +} diff --git a/css/layout.css b/css/layout.css index 07707eb..9e4dbb5 100644 --- a/css/layout.css +++ b/css/layout.css @@ -4,7 +4,6 @@ .tool[data-tool="ant_nest"] { --tool-icon: url("../assets/ui/tool_ant_nest.webp"); } .tool[data-tool="ball"] { --tool-icon: url("../assets/ui/tool_ball.webp"); --tool-icon-zoom: 1.36; } .tool[data-tool="delete"] { --tool-icon: url("../assets/ui/tool_delete.webp"); } -.tool[data-tool="area_delete"] { --tool-icon: url("../assets/ui/tool_delete.webp"); } .tool[data-tool="new"] { --tool-icon: url("../assets/ui/tool_new.webp"); } .tool[data-tool="shoot"] { --tool-icon: url("../assets/ui/tool_shoot.png"); --tool-icon-zoom: 1.48; } @@ -28,13 +27,13 @@ .tool[data-tool="reciprocator"].tool-emoji-icon::before, .tool[data-tool="undo"].tool-emoji-icon::before, .tool[data-tool="redo"].tool-emoji-icon::before { font-size: 29px; font-family: var(--font, sans-serif); } -.tool[data-tool="delete"], -.tool[data-tool="area_delete"] { --tool-icon-zoom: 1.42; } +.tool[data-tool="delete"] { --tool-icon-zoom: 1.42; } +.tool[data-tool="area_delete"] { --tool-icon-zoom: 1.20; } .tool[data-tool="pinch"].tool-emoji-icon::before { font-size: 22px; } .tool[data-tool="area_delete"].tool-emoji-icon::before { font-size: 31px; line-height: 1; - color: #f3a7aa; + color: #5d7fb9; text-shadow: 0 1px 0 rgba(255,255,255,0.65), 0 2px 5px rgba(146,54,62,0.16); filter: none; transform: translateY(-54%) scale(var(--tool-icon-zoom, 1)); diff --git a/index.html b/index.html index f017603..648018b 100644 --- a/index.html +++ b/index.html @@ -7,11 +7,11 @@ - - - - - + + + + +