SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

HoR XLib

PBy Panduhs

HoR patch for XLib.

Description

<div style="background: linear-gradient(180deg, #4a494863 0%, #4a494863 100%); width: 100%; max-width: 1000px; margin: 20px auto 10px auto; padding: 16px; box-sizing: border-box; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 24px rgba(88, 46, 109, 0.12);"> <div style="background: linear-gradient(180deg, #d4a8e8 0%, #dfd0c5 100%); color: #201d1d; padding: 14px 16px; margin-bottom: 6px; font-weight: bold; border-radius: 5px;"> <p style="margin: 0; color: #334155;">HoR-XLib is a compatibility build of Xandu's XLib mod, providing the core skill/leveling framework (XLeveling) and status effect system (XEffects) for Vintage Story. This fork has been updated for VS 1.22 compatibility with all breaking API changes resolved. XLib provides the engine that powers XSkills, HoR-XSkills-Addon, and any other mod that wants to add skills, abilities, experience, and status effects to the game.</p> <p style="margin: 10px 0 0 0; color: #1f2937;"><strong>Stats:</strong> XLeveling Framework (40+ classes) &bull; XEffects System &bull; 12 Languages &bull; Extensible Skill/Ability API &bull; JSON-Driven Configuration &bull; Network Sync &bull; Universal</p> </div> <details style="background-color: #faf8f5; border-radius: 5px; margin-bottom: 4px; overflow: hidden; box-shadow: 0 2px 6px rgba(88, 46, 109, 0.08);" open="open"> <summary style="background: linear-gradient(180deg, #b168d3 0%, #d6b299 100%); color: #201d1d; padding: 12px 15px; cursor: pointer; font-weight: bold; list-style: none; outline: none; border-bottom: 2px solid #cbb081ca; display: flex; align-items: center;">✨ What's New in v0.9.2 (HoR Compat) <span style="margin-left: auto; font-size: 12px;">▼</span></summary> <div style="padding: 15px; background: linear-gradient(180deg, #d4a8e8 0%, #dfd0c5 100%); color: #243447;"> <ul style="margin: 10px 0;"> <li><strong style="color: #1f2937;">VS 1.22 Compatibility</strong><br />Full migration to VS 1.22 APIs. All breaking changes resolved: Entity.Pos property conversion, ResolvedItemStack capitalization, PascalCase property access patterns, and GridRecipe/IRecipeBase signature updates.</li> <li><strong style="color: #1f2937;">Current HoR Progression Stack</strong><br />Version alignment for the current HoR mod stack. This is the library layer used by HoR-XSkills and HoR-XSkills-Addon for skills, abilities, syncing, and status effects on 1.22.</li> <li><strong style="color: #1f2937;">Maintained compatibility build</strong><br />The original mod has not been updated for 1.22, this fork ensures continued compatibility for the HoR modpack and any dependent mods.</li> </ul> </div> </details><details style="background-color: #faf8f5; border-radius: 5px; margin-bottom: 4px; overflow: hidden; box-shadow: 0 2px 6px rgba(88, 46, 109, 0.08);"> <summary style="background: linear-gradient(180deg, #b168d3 0%, #d6b299 100%); color: #201d1d; padding: 12px 15px; cursor: pointer; font-weight: bold; list-style: none; outline: none; border-bottom: 2px solid #cbb081ca; display: flex; align-items: center;">📚 XLeveling Framework <span style="margin-left: auto; font-size: 12px;">▼</span></summary> <div style="padding: 15px; background: linear-gradient(180deg, #d4a8e8 0%, #dfd0c5 100%); color: #243447;"> <p style="color: #1f2937; margin: 5px 0;"><strong>The core skill/leveling engine powering all HoR progression systems</strong></p> <ul style="margin: 10px 0;"> <li><strong style="color: #1f2937;">Skill System</strong><br />Define skills with custom names, display names, groups, and experience equations. Each skill supports quadratic or logarithmic XP curves with configurable base values and class-specific multipliers. Skills can be grouped in the GUI and hidden from specific players.</li> <li><strong style="color: #1f2937;">Ability System</strong><br />Each skill contains multiple abilities with tiered progression (1-N tiers). Abilities have minimum level requirements, descriptions with value interpolation, and requirements that can be combined with AND/OR/NOT logic. Ability types include StatAbility (auto-apply stats), TraitAbility (toggle traits), and StatsAbility (multiple stat modifiers).</li> <li><strong style="color: #1f2937;">Requirement System</strong><br />Flexible requirement types: SkillRequirement (another skill at level X), ClassRequirement (specific VS class), DaytimeRequirement (time of day), KnowledgeRequirement (unlocked knowledge), ExclusiveAbilityRequirement (mutually exclusive perks), and LimitationRequirement (global perk limits). Custom requirement types can be registered by mods.</li> <li><strong style="color: #1f2937;">Player Skill Sets</strong><br />Per-player persistent skill data stored via VS save system. Tracks current level, experience, earned abilities, and ability tiers for every skill. Supports save/load with backward compatibility for older save formats.</li> <li><strong style="color: #1f2937;">Configuration System</strong><br />JSON-driven skill and ability definitions loaded from <code style="color: #334155;">assets/[modid]/skills/</code>. Supports custom skill configs (CustomSkillConfig), experience equation delegates, and global configuration via config files.</li> <li><strong style="color: #1f2937;">Skill Dialog GUI</strong><br />Built-in skill dialog showing all skills and abilities with tier progress, requirements, and tooltips. Ability tooltips display interpolated values for each tier. Supports grouping and custom skill ordering.</li> <li><strong style="color: #1f2937;">Skill Books</strong><br />ItemSkillBook implementation for granting XP via craftable/lootable books.</li> <li><strong style="color: #1f2937;">Client/Server Sync</strong><br />XLevelingClient and XLevelingServer implementations handle network synchronization. Skill changes on the server propagate to clients via command packages (CommandPackage), experience packages (ExperiencePackage), and knowledge packages (KnowledgePackage).</li> </ul> </div> </details><details style="background-color: #faf8f5; border-radius

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.