From 8b3739449048aac3d7532563d0c20cb198d37a8f Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 3 Dec 2020 06:48:11 +0100 Subject: [PATCH] Greatly reduce FOV on drunkenness. --- plomrogue/things.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plomrogue/things.py b/plomrogue/things.py index 1c99737..a5d3889 100644 --- a/plomrogue/things.py +++ b/plomrogue/things.py @@ -334,8 +334,9 @@ class ThingAnimate(Thing): if self._fov: return self._fov fov_map_class = self.game.map_geometry.fov_map_class + fov_radius = 3 if self.drunk > 0 else 12 self._fov = fov_map_class(self.game.things, self.game.maps, self.position, - 12, self.game.get_map) + fov_radius, self.game.get_map) return self._fov def fov_test(self, big_yx, little_yx): -- 2.30.2