From 3fa88f554fadfec4879fd68f7401d7c9202605cf Mon Sep 17 00:00:00 2001 From: HikeMap User Date: Wed, 7 Jan 2026 22:06:09 -0600 Subject: [PATCH] Add location-restricted monster spawning system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add spawn_location column to monster_types table (database.js) - Add tags array to geocaches for location tagging (geocaches.json) - Add spawn location dropdown in admin panel monster editor (admin.html) - Update spawn logic to filter monsters by location restriction (index.html) - Update name prefix logic to use tags instead of icons - Add grocery tag to Walmart and H-E-B geocaches Monsters can now be configured to only spawn near specific location types (grocery, bank, park, restaurant). The "George the Moop" monster can be set to spawn_location="grocery" to only appear near grocery stores. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- admin.html | 13 +++++++++++++ database.js | 18 ++++++++++++++---- geocaches.json | 2 ++ index.html | 32 +++++++++++++++++++++++++++----- server.js | 8 ++++++-- 5 files changed, 62 insertions(+), 11 deletions(-) diff --git a/admin.html b/admin.html index 7cd77be..d42504d 100644 --- a/admin.html +++ b/admin.html @@ -1057,6 +1057,16 @@ +
+ + +