You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Changes
* Added room exit messages to exit definitions
* Added prompt for customizing exit message in `room edit exits` command
* Exit messages display and then wait 1 second before continuing through the exit.
* Fixing `zone edit` prompt around music to allow for no music, and provides relative path if needed.
Copy file name to clipboardExpand all lines: internal/exit/exit.go
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ type RoomExit struct {
16
16
RoomIdint
17
17
Secretbool`yaml:"secret,omitempty"`
18
18
MapDirectionstring`yaml:"mapdirection,omitempty"`// Optionaly indicate the direction of this exit for mapping purposes
19
+
ExitMessagestring`yaml:"exitmessage,omitempty"`// If set, this message is sent to the user, followed by a delay, before they actually go through the exit.
19
20
Lock gamelock.Lock`yaml:"lock,omitempty"`// 0 - no lock. greater than zero = difficulty to unlock.
0 commit comments