Skip to content
Success

Changes

Summary

  1. Remove unnecessary imports (commit: 8c95bd5) (details)
  2. [Experimental] Add formats (commit: 5dea97e) (details)
  3. Add format argument to narrate hint (commit: f5c28b3) (details)
  4. Set format in narrate command (commit: e7ec2ca) (details)
The file was modified src/main/java/net/aufdemrand/denizen/scripts/containers/core/WorldScriptContainer.java (diff)
The file was modified src/main/java/net/aufdemrand/denizen/scripts/containers/core/ItemScriptContainer.java (diff)
The file was modified src/main/java/net/aufdemrand/denizen/scripts/containers/core/WorldScriptHelper.java (diff)
Commit 5dea97ef7133271c7d4e83c71e360d20ecef952a by spaceemotion
[Experimental] Add formats

Formats can be used to format the output text. Tired of copy-paste
narrator text? Then formats are the perfect way for you.
Just create a new format container and set the format for the specified
message:
- NARRATE FORMAT:Quest_Given "Catch me if you can!"

Format container in the scripts file:
Quest_Given:
  type: format
  format: "<gold>New Quest: <white><text>"
(commit: 5dea97e)
The file was modified src/main/java/net/aufdemrand/denizen/scripts/ScriptRegistry.java (diff)
The file was addedsrc/main/java/net/aufdemrand/denizen/scripts/containers/core/FormatScriptContainer.java
The file was modified src/main/java/net/aufdemrand/denizen/scripts/commands/core/NarrateCommand.java (diff)
Commit f5c28b3487db90f6ef7374404e9b5efe0a6a865b by spaceemotion
Add format argument to narrate hint
(commit: f5c28b3)
The file was modified src/main/java/net/aufdemrand/denizen/scripts/commands/CommandRegistry.java (diff)
The file was modified src/main/java/net/aufdemrand/denizen/scripts/commands/core/NarrateCommand.java (diff)