mass-and-capacity

Solve mass, capacity, and container constraints for objects in Oxidus.

8|3|Updated Sep 29, 2021
One-click install
npx skills add https://github.com/gesslar/oxidus-mudlib --skill mass-and-capacity
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mass-and-capacity
Source: https://github.com/gesslar/oxidus-mudlib/tree/main/.claude/skills/mass-and-capacity
Command: npx skills add https://github.com/gesslar/oxidus-mudlib --skill mass-and-capacity

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manage mass, capacity, and container constraints in Oxidus, enabling consistent physics and inventory behavior across environments.

Core Features & Use Cases

  • Mass tracking per object and propagation through environments
  • Capacity enforcement and fill recalculation for containers
  • Open/close/lock state management and access control
  • Transactional mass/move handling with rollback on failure
  • GMCP integration for player-related updates

Quick Start

Use the mass-and-capacity skill to validate and propagate mass changes when moving items between environments.

Frequently Asked Questions about mass-and-capacity

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track mass and capacity constraints for objects in an LPC mudlib?

To track mass and capacity constraints for objects in an LPC mudlib, you validate and propagate mass changes when moving items between environments. This ensures consistent physics and inventory behavior across all game environments.

What is the best way to enforce container capacity and recalculate fill limits?

Enforcing container capacity requires recalculating fill limits during item movement. The skill handles capacity enforcement and recalculates fill state for containers when mass changes occur within the environment.

How do I manage open, close, and lock states for container access control?

Managing open, close, and lock states for container access control involves applying state management logic to containers. This governs item visibility, access permissions, and locking mechanisms within the environment.

Does this approach support transactional mass handling with rollback on failure?

Yes, transactional mass handling supports rollback on failure. When moving items between environments fails due to capacity or mass constraints, the transaction rolls back to prevent inconsistent inventory states.

Can I integrate mass and inventory updates with GMCP for players?

You can integrate mass and inventory updates with GMCP for players. The skill includes GMCP integration to automatically propagate player-related mass and capacity updates to the connected client.