Skip to content

Commit

Permalink
Update CHANGELOG.md and version.json
Browse files Browse the repository at this point in the history
  • Loading branch information
mchorse committed Jun 12, 2022
1 parent 25c345e commit a726dd0
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
## Version 0.2

This update is brought to you by TorayLife (again), featuring NPC respawning mechanic, patrol points triggers, QoL tweaks and bug fixes! Thanks to Falkiner, ORION, OtakuGamer, Hrymka, and dyamo for ideas and suggestions!

**Compatible** with McLib **2.3.5**, Blockbuster **2.3** and Metamorph **1.2.9**. It doesn't mean that future versions of McLib, Blockbuster and Metamorph would be incompatible, but older versions are most likely incompatible.

* Added NPC respawn mechanism with multiple options such as: respawn delay, respawn at died coordinates, and respawn trigger
* Added patrol trigger for NPC's patrol points
* Added mod option to limit non-creative players to use NPC tool
* Added mod option to limit non-creative players to open Mappet dashboard (even with OP)
* Added toggle to player journal to toggle visibility of a quest in HUD
* Added comment node to events as well
* Added scripting methods:
* Global triggers now pass `event` variable (which is a Forge event), it's useful for advanced scripting (requires knowledge of working with MCP-SRG maps)
* Added sound category to `playSound` and `playStaticSound` methods which allow to specify a channel in which sound would be playing
* Added `IScriptPlayer.setHunger(int)`, `IScriptPlayer.getHunger()`, `IScriptPlayer.setSaturation(int)`, and `IScriptPlayer.getSaturation()`
* Added `IScriptNpc.setNpcState(String)` and `IScriptNpc.getNpcState()`
* Added `UIStringListComponent.setValues(List<String>)` (alias for `UIStringListComponent.values(List<String>)`) and `UIStringListComponent.getValues()`
* Added selected index of a string list UI component to the context data (in `%component_id%.index`)
* Added `INBTCompound.getNBTTagCompound()` (fixes a typo of deprecated method `INBTCompound.getNBTTagComound()`)
* Fixed some places missing OP checks
* Fixed morph UI component erroring on a dedicated server
* Fixed crash when trying to copy non selected data entry in one of the Mappet dashboard panels

## Version 0.1.5

This update is brought to you by TorayLife, with some neat QoL features, triggers and bug fixes!
Expand Down
5 changes: 3 additions & 2 deletions version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"homepage": "https://www.curseforge.com/minecraft/mc-mods/mappet",
"1.12.2": {
"0.2": "This update is brought to you by TorayLife (again), featuring NPC respawning mechanic, patrol points triggers, QoL tweaks and bug fixes! Thanks to Falkiner, ORION, OtakuGamer, Hrymka, and dyamo for ideas and suggestions!",
"0.1.5": "This update is brought to you by TorayLife, with some neat QoL features, triggers and bug fixes!",
"0.1.4": "More bug fixes and tiny tweaks.",
"0.1.3": "This is a small patch update which fixes a couple of other things.",
Expand All @@ -10,7 +11,7 @@
"0.1-alpha": "This first release provides tons of features: states, conditions, expressions, emitter block, trigger block, region block, crafting tables, quests, NPCs, factions, events, scripts, dialogues, quest chains, many commands, custom sound events, target selectors, global triggers, and much more."
},
"promos": {
"1.12.2-latest": "0.1.5",
"1.12.2-recommended": "0.1.5"
"1.12.2-latest": "0.2",
"1.12.2-recommended": "0.2"
}
}

0 comments on commit a726dd0

Please sign in to comment.