From 24968c227a099ee4d439b79c6cbbf5e773929133 Mon Sep 17 00:00:00 2001 From: Justin Oros Date: Wed, 20 May 2026 22:17:33 -0700 Subject: [PATCH] Reduce NPC interaction radius to 100px --- game.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game.js b/game.js index e62a390..ef776cf 100644 --- a/game.js +++ b/game.js @@ -451,7 +451,7 @@ class Game { _checkNPCProximity() { const {viewW, viewH} = this._getViewport(); const dist = this._npcScreenDist(); - const near = !(this.state.npcWorldX === 0 && this.state.npcWorldY === 0) && dist < 200; + const near = !(this.state.npcWorldX === 0 && this.state.npcWorldY === 0) && dist < 100; const hint = document.getElementById('map-talk-hint'); const bub = document.getElementById('npc-bubble'); @@ -504,7 +504,7 @@ class Game { _nearNPC() { if (this.state.npcWorldX === 0 && this.state.npcWorldY === 0) return false; - return this._npcScreenDist() < 200; + return this._npcScreenDist() < 100; } _talkToNPC() {