From 04e04a4853cd7eed256381a759444ada3f2b0c69 Mon Sep 17 00:00:00 2001 From: DuvelCorp Date: Wed, 8 Apr 2026 09:36:17 +0200 Subject: [PATCH] 1.5.2 --- CHANGELOG.md | 12 ++++++++++++ modules/zhunter/Localization.lua | 1 + modules/zhunter/zButtonCraft.lua | 2 +- modules/zhunter/zButtonTrack.lua | 11 ++++++----- 4 files changed, 20 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 02d11a6..4a9b9a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,18 @@ All notable changes to MetaHunt will be documented in this file. +## [1.5.2] - [Unreleased] + + +### Added + +- **zTrack — Find Fish**: Added new spell Find Fish to the zTrack list of trackings. + +### Fixed + +- **zCraft — Smelting**: Smeling was previously not appearing in zCraft because incorrectly hardcoded as "Mining", this is fixed. + + ## [1.5.1] - 2026-04-01 diff --git a/modules/zhunter/Localization.lua b/modules/zhunter/Localization.lua index 46f1d15..309c357 100644 --- a/modules/zhunter/Localization.lua +++ b/modules/zhunter/Localization.lua @@ -87,6 +87,7 @@ ZHUNTER_TRACK_MINERALS = "Find Minerals" ZHUNTER_TRACK_HERBS = "Find Herbs" ZHUNTER_TRACK_TREASURE = "Find Treasure" ZHUNTER_TRACK_TREES = "Find Trees" +ZHUNTER_TRACK_FISH = "Find Fish" ZHUNTER_TRAP_FREEZING = "Freezing Trap" ZHUNTER_TRAP_FROST = "Frost Trap" diff --git a/modules/zhunter/zButtonCraft.lua b/modules/zhunter/zButtonCraft.lua index 4d84cb3..1eec705 100644 --- a/modules/zhunter/zButtonCraft.lua +++ b/modules/zhunter/zButtonCraft.lua @@ -39,7 +39,7 @@ local ZCRAFT_PROFESSIONS = { { spellName = "Leatherworking", display = "Leatherworking" }, { spellName = "Tailoring", display = "Tailoring" }, { spellName = "Jewelcrafting", display = "Jewelcrafting" }, - { spellName = "Mining", display = "Smelting" }, + { spellName = "Smelting", display = "Smelting" }, { spellName = "Cooking", display = "Cooking" }, { spellName = "First Aid", display = "First Aid" }, { spellName = "Herbalism", display = "Herbalism" }, diff --git a/modules/zhunter/zButtonTrack.lua b/modules/zhunter/zButtonTrack.lua index cc33a61..bbd9809 100644 --- a/modules/zhunter/zButtonTrack.lua +++ b/modules/zhunter/zButtonTrack.lua @@ -5,7 +5,7 @@ end local root = zButtonTrack_GetRoot() if not root["zButtonTrack"] then root["zButtonTrack"] = {} - root["zButtonTrack"]["spells"] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12} + root["zButtonTrack"]["spells"] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13} root["zButtonTrack"]["rows"] = 1 root["zButtonTrack"]["horizontal"] = nil root["zButtonTrack"]["vertical"] = nil @@ -33,7 +33,8 @@ ZHunterMod_Track_Spells = { ZHUNTER_TRACK_MINERALS, ZHUNTER_TRACK_HERBS, ZHUNTER_TRACK_TREASURE, - ZHUNTER_TRACK_TREES + ZHUNTER_TRACK_TREES, + ZHUNTER_TRACK_FISH } local ZHUNTER_TRACK_MAX = table.getn(ZHunterMod_Track_Spells) @@ -352,7 +353,7 @@ function zButtonTrack_CreateButtons() for i=1, table.getn(ZHunterMod_Track_Spells) do if not tonumber(saved["spells"][i]) then info = ZHunterMod_Track_Spells - saved["spells"] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11} + saved["spells"] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13} break end local spellIndex = saved["spells"][i] @@ -406,7 +407,7 @@ function zButtonTrack_Reset() local currentRoot = zButtonTrack_GetRoot() currentRoot["zButtonTrack"] = {} local saved = zButtonTrack_GetSaved() - saved["spells"] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11} + saved["spells"] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13} saved["rows"] = 1 saved["horizontal"] = nil saved["vertical"] = nil @@ -420,7 +421,7 @@ function zButtonTrack_Reset() saved["children"] = {} saved["children"]["size"] = 36 saved["children"]["hideonclick"] = 1 - saved["visible"] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} + saved["visible"] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} zButtonTrack_EnsureConfig() end