object-finding

Locate objects, livings, players, NPCs, and clones across rooms and containers.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Object-finding simul_efuns give developers a reliable toolkit to locate objects in the game world, eliminating ad-hoc searches and scattered logic.

Core Features & Use Cases

  • Find a single object by name in a given location with find_target(tp, arg, source)
  • Retrieve all matching objects with find_targets(tp, arg, source)
  • List living creatures, players, NPCs in a room with present_livings, present_players, present_npcs
  • Resolve specific objects with get_living, get_player, get_object and get_objects
  • Determine an object's environment and relationships using top_environment, same_env_check, and accessible_objects

Quick Start

Find the sword in the current room using the object-finding utilities.

Frequently Asked Questions about object-finding

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

FAQPage Schema
How do I find objects in a MUD room using LPC?

You can locate objects in a MUD room using LPC by applying simul_efuns like find_target to resolve single targets or find_targets to retrieve all matching objects by name within a given source environment.

How do I list all living creatures, players, and NPCs in a LPC room?

You can list livings, players, and NPCs in an LPC room by calling the present_livings, present_players, and present_npcs simul_efuns, which perform environment-aware filtering to return matching entities.

What is the best way to resolve cloned objects across rooms and containers in LPC?

The best way to resolve cloned objects across rooms and containers in LPC is using the present_clones and get_objects simul_efuns, which apply environment-aware search logic to locate matching instances.

How do I determine an object's top environment and check if two objects share the same room?

You determine an object's top environment and verify shared rooms by using the top_environment and same_env_check simul_efuns, which evaluate environmental relationships between objects in the game world.

Can I retrieve multiple matching objects at once instead of searching one by one?

Yes, you can retrieve multiple matching objects at once by using the find_targets and get_objects simul_efuns, which return all matching items found through environment-aware filtering across the game world.

Why should I use simul_efuns for object-finding instead of writing ad-hoc search logic?

You should use simul_efuns for object-finding because they provide a reliable, centralized toolkit that eliminates scattered logic and ad-hoc searches, ensuring consistent environment-aware filtering across the MUD.