Somnium
一个高度可定制的 Power 与 Ability API,专为那些能将梦想化为现实的人打造。
Somnium 提供的内容
Powers & Abilities(能力与技能) — 一套完整的技能系统,包含五种激活类型(即时、切换、按住、蓄力、被动),并可归入具有可配置解锁条件的 Powers 中。包括拖拽式技能背包、支持分页的 6 槽 HUD 栏以及可自定义的分类。
Stamina & Overuse(体力与过度使用) — 一种通用的体力资源,在使用技能时消耗,并随时间恢复。过度使用会触发“过度使用”系统——这是一种三阶段的惩罚机制,旨在抑制无脑连招,同时带来有意义的风险与回报权衡。
Composition(体质) — 每个玩家独有的永久成长属性。通过游戏进程(使用技能、体力恢复、承受过度使用)提升 Composition,从而直接扩大玩家的体力上限。递减收益机制确保不存在硬性上限,同时保持平衡。
Power Leveling(等级提升) — 可选的按 Power 独立的经验值与升级系统。技能可以要求最低 Power 等级才能解锁,并在该 Power 的使用过程中获得经验值。
Custom Meters(自定义计量条) — 为模组开发者提供的灵活数值系统,用于创建各自的资源(如法力、怒气、专注等),具备独立的消耗、恢复和缩放机制。
Transformations(变形) — 一种专门用于变形的技能类型,包含阶段转换、视觉数据钩子以及自动背包管理功能。
Tag System(标签系统) — 一种轻量级的标记系统,用于在条件满足前锁定技能。标签可由物品、事件、Curios 饰品或任何自定义逻辑授予。
可选兼容性 —
[GeckoLib 4]
[Curios API]
[Pehkui]
Somnium
A highly customizable Power and Ability API, for those who can dream it possible.
What Somnium Provides
Powers & Abilities — A complete ability system with five activation types (Instant, Toggle, Hold, Charged, Passive), groupable into Powers with configurable unlock conditions. Includes a drag-and-drop ability inventory, a 6-slot HUD bar with paging, and customizable categories.
Stamina & Overuse — A universal stamina resource that drains when abilities are used and regenerates over time. Pushing too far triggers the Overuse system — a three-stage penalty that discourages ability spam while creating meaningful risk-reward decisions.
Composition — A permanent growth stat unique to each player. Composition increases through gameplay (ability usage, stamina recovery, overuse survival) and directly expands the player's stamina capacity. Diminishing returns ensure no hard cap while maintaining balance.
Power Leveling — Optional per-power XP and leveling. Abilities can require minimum power levels to unlock, and XP is earned through ability usage within that power.
Custom Meters — A flexible value system for addon developers to create their own resources (mana, rage, focus, etc.) with independent drain, regen, and scaling.
Transformations — A dedicated ability type for shapeshifting, with phase transitions, visual data hooks, and automatic inventory management.
Tag System — A lightweight labeling system for gating abilities behind conditions. Tags can be granted by items, events, curios, or any custom logic.
Optional Compatibility —
[GeckoLib 4]
[Curios API]
[Pehkui]
评论 0
登录后参与评分
还没有评论,来抢沙发吧