npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@zhin.js/plugin-text-adventure

v1.0.24

Published

Zhin.js 交互式文字冒险 (Plugin Runtime)

Readme

@zhin.js/plugin-text-adventure

交互式文字冒险 — 31 个可探索区域、15 种道具、15 种结局,完整流程 50+ 步。

规模

| 维度 | 数量 | |------|------| | 可探索区域 | 31 | | 终局结局 | 15 | | 可收集道具 | 15 | | 预估最长流程 | 50+ 步(含往返探索) |

命令

冒险 · 冒险 开始 · 冒险 继续 · 冒险 地图 · 冒险 成就 · 冒险 放弃

(英文别名 adv 仍可用;也可发送 游戏 从大厅进入)

进度与成就(用户绑定)

探索进度与成就按 玩家 ID 持久化(adv_profiles 表),跨频道、跨局累计:

  • 场景内顶部显示:🗺️ 区域进度 · 🎬 结局图鉴 · 🏅 成就
  • adv map — 分区地图解锁(✅/⬜)+ 结局图鉴
  • adv achievements — 15 项生涯成就
  • 达成新成就时,终局场景会弹出解锁提示

道具(15)

| 道具 | 用途 | |------|------| | 火把 | 照明、驱散幽影、烧蛛网 | | 生锈短剑 | 淬炼后斩网/战斗 | | 荧光草药 | 麻痹幽影、萃取灵药 | | 治愈灵药 | 御寒涉水 | | 幽蓝宝石 | 献祭换护符 / 换银币 | | 残破卷轴 | 破解机关、星辉结局 | | 锈蚀钥匙 | 书库铁门、回音巨门 | | 精灵护符 | 升华后星辉归位 | | 古银币 | 市集交易、冥桥通行费 | | 仪式面具 | 面具加冕结局 | | 月华碎片 | 护符升华、星守仪式 | | 星图残页 | 月池共鸣、星守仪式 | | 星象罗盘 | 暗影迷宫、回音巨门 | | 回音铃 | 开启回音巨门捷径 | | 银羽 | 涉水护体、冥桥/释魂 |

区域地图(简)

入口 ─┬─ 石塔/星象台
      ├─ 碎石堆(火把/短剑)
      ├─ 秘径 → 庭院 ─┬─ 温室
      │                └─ 书库 → 锻炉
      └─ 走廊 ─┬─ 精灵泉
               ├─ 壁画 → 低语画廊
               ├─ 积水厅 → 废墟市集 → 冥桥 → 晶洞 → 月池 → 水下沉殿
               ├─ 钟楼
               └─ 墓穴 → 岔口 ─┬─ 封印密室 → 王座厅
                               ├─ 骸骨甬道 → 囚室 / 龛室
                               ├─ 蛛巢 → 暗影迷宫
                               └─ 回音巨门(捷径)

结局(15)

| 结局 | 触发 | |------|------| | 🌟 星辉归位 | 低语画廊 + 升华护符 + 泉灵 + 卷轴 → 王座献身 | | 🌙 星守誓约 | 月池仪式(月华+星图+泉心) | | 🎭 面具之王 | 王座厅面具加冕 | | 🏆 遗迹宝藏 | 解封后取宝离开 | | 📜 智者归途 | 封印错序「门→光→影」等 | | 🕊️ 幽魂解脱 | 囚室银羽释魂 | | 🌳 庭院隐者 | 庭院定居 | | ☠️ 贪婪代价 | 贸然坐上王座 | | 🌊 寒水沉眠 | 涉水失温 | | 🕷️ 茧中亡魂 | 蛛巢败退 | | 🌑 迷宫迷失 | 暗影迷宫乱走 | | 🌅 生还 / 💀 陨落 / 🏠 怯懦 | 经典分支 |

完美结局路线(剧透)

  1. 碎石:火把 + 短剑 → 石塔测绘 + 星图 + 星象台罗盘
  2. 走廊:壁画 → 低语画廊聆听 → 精灵泉对话 + 饮水
  3. 秘径庭院:草药 → 温室灵药 → 书库卷轴/钥匙 → 锻炉淬剑
  4. 钟楼取铃 → 墓穴驱影 → 骸骨甬道卷轴破机关 → 龛室答「星辰坠落」
  5. 积水厅 → 市集 → 冥桥 → 晶洞月华/银羽 → 月池星图共鸣 → 沉殿(可选星守)
  6. 岔口回音巨门或封印密室 → 光影门 → 王座厅星辉归位

src/story*.ts 后执行 pnpm --filter @zhin.js/plugin-text-adventure build