Skip to content

[FEATURE] Expose NPC.CurrentBuilding #242

Description

@ifBars

What would you like to see?

Add a read-only NPC.CurrentBuilding property returning S1API.Map.Building?.

Why would this help?

Location-aware dialogue, schedules, quests, and world mods need to know which enterable building currently contains an NPC. The native property still exists, but mods cannot access it through S1API.

Extra Context (Optional)

The original TODO's blocker is gone because S1API.Map.Building now wraps the native NPCEnterableBuilding. Keep this property read-only so native enter/exit methods retain lifecycle ownership.

Metadata

Metadata

Assignees

No one assigned

    Labels

    LowVery minor issue, non gameplay hindering, fix all high prio firstenhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions