Skip to content

Idea: exit and program restrictions #716

@wyld-sw

Description

@wyld-sw

Would it be useful to be able to restrict exits and programs in the following manner?

  • Cannot be used by guests
  • Cannot be used by vehicles
  • Cannot be used by zombies
  • Cannot be forced

Using the flag system, like is done with rooms, seems restrictive (no pun intended) since exits and programs already recognize some of: [VXZ]. Should we introduce a proplist to control this?

Something (possibly better named) like:

~/usage_restrictions#/:4
~/usage_restrictions#/1:no_force
~/usage_restrictions#/2:no_guest
~/usage_restrictions#/3:no_vehicle
~/usage_restrictions#/4:no_zombie

or just one property really.

We could even deprecate the GUEST flag for rooms - I think it evolved from a ~/no_guest property. Ditto for VEHICLE and ZOMBIE for rooms, but maybe that's too much of a change? We could convert these room flags to the proplist automatically with a new db "format".

I'm certainly open to making this more efficient, since the prop-list would need to be scanned with each access.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions