Skip to content

Conversation

@Volte6
Copy link
Member

@Volte6 Volte6 commented May 14, 2025

Description

This adds scripting improvements, documentation, and additional functionality in general.

It also adds a jail in Frostfang, an ephemeral room that locks players in for 1 hour (in game time) before letting them out. Later the jail will be used by guards to throw outlaw characters into jail (if caught).

Changes

  • teleport admin command can target other players now.
  • Frostfang jail added, locks players in for 1 hour in game time if they get sent there.
  • Added scripting documentation and more scripting commands:
    • ActorObject.TimerSet / ActorObject. TimerExpired / ActorObject. TimerExists
    • RoomObject.IsEphemeral / RoomObject.RoomIdSource() / RoomObject.isLocked()
  • Documented onIdle() room event.
  • onEnter() room event can return false to abort showing the Room description.
  • Updated some scripts to use new changes.
  • Characters can have timers added, useful for scripting some stuff.
  • Improved admin build command, adjusted optional formats for exits, added unit tests.

@Volte6 Volte6 merged commit 4baeb1c into master May 14, 2025
2 checks passed
@Volte6 Volte6 deleted the content-changes branch May 14, 2025 00:17
west:
roomid: 270
nouns:
CELLS: :cells
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are nouns case sensitive? Curious why we duplicate cells here as an alias

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The room description is all caps, which isn't typical... but a string replace doesn't work when highlighting it unless I provide a caps noun.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants