From a726dd0e19ffd99f2f29e6b750552132c03fa96e Mon Sep 17 00:00:00 2001 From: McHorse Date: Sun, 12 Jun 2022 08:45:15 +0100 Subject: [PATCH] Update CHANGELOG.md and version.json --- CHANGELOG.md | 24 ++++++++++++++++++++++++ version.json | 5 +++-- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25593bd2..6eaceda0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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)` (alias for `UIStringListComponent.values(List)`) 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! diff --git a/version.json b/version.json index 410b9ead..6cd2242f 100644 --- a/version.json +++ b/version.json @@ -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.", @@ -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" } } \ No newline at end of file