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

@ai-rpg-engine/starter-zombie

v2.2.2

Published

AI RPG Engine zombie survival starter: Ashfall Dead

Readme

@ai-rpg-engine/starter-zombie

灰烬之死 (Ashfall Dead) — 一个用于 AI RPG 引擎的僵尸生存主题入门世界。

安装

npm install @ai-rpg-engine/starter-zombie

您将学到的内容

这个入门示例通过一个生存场景,展示了完整的引擎架构:

| 特性 | 僵尸展示的内容 | |---|---| | Rulesets | zombieMinimalRuleset — 属性(体格/智慧/神经)、资源(生命值/体力/感染)、动词、公式 | | Zones & traversal | 3个房间,共5个区域,具有相邻关系、光照等级、可交互对象和危险因素。 | | Districts | 安全屋(幸存者派系) vs 死亡区域(敌对、不死生物) | | Dialogue | 与医生进行的分支对话,包含医院补给任务的触发点。 | | Combat | 蹒跚者(缓慢、坚韧)和奔跑者(快速、脆弱),具有攻击性人工智能。 | | Cognition & perception | 记忆衰减、感知过滤器、僵尸饥饿呈现规则。 | | Progression | 3个节点的生存技能树,击败实体时获得经验值奖励。 | | Environment | 游荡的僵尸会消耗体力,感染风险区域会增加感染几率。 | | Factions | 幸存者派系,包括医生、拾荒者和军事领导者。 | | Belief provenance | 谣言传播,带有延迟,并跟踪信念。 | | Inventory | 抗生素,具有脚本化的使用效果,可降低感染。 | | Simulation inspector | 完整的检查功能,用于回放分析。 |

内容

  • 5个区域 — 安全屋大厅、废弃加油站、被占领的街道、医院东翼、医院屋顶
  • 3个NPC — 陈医生(医生)、鲁克(拾荒者)、马什中士(军事领导者)
  • 2个敌人 — 蹒跚者(缓慢、坚韧的不死生物)、奔跑者(快速、脆弱的不死生物)
  • 1个物品 — 抗生素(降低25%的感染)
  • 1个技能树 — 生存(拾荒者 → 冷静沉着 → 最后的幸存者)
  • 1个呈现规则 — 僵尸将所有生物视为猎物
  • 15个模块 — 移动、状态、战斗、物品、对话、认知、感知、技能、环境、派系、谣言、区域、信念、观察者呈现、检查器

使用方法

import { createGame } from '@ai-rpg-engine/starter-zombie';

// One line — all 15 modules, content, and ruleset pre-wired
const engine = createGame(42);

// Or import pieces individually:
import { manifest, zombieMinimalRuleset, survivalTree } from '@ai-rpg-engine/starter-zombie';

文档


MCP Tool Shop 构建。