From c48e3fbe888d67a5abf206614ca7655629840dda Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Tue, 10 Jun 2008 08:37:46 +0000 Subject: Enable monsters to move around glass structures if they can see the player through the walls. Don't use pathfinding to target other monsters, only the player! Monsters of different intelligence have different limits on the distance they may travel to circumvent an obstacle, i.e. zombies will only use a range of 2, whereas highly intelligent monsters can expertly find their way through (transparent) labyrinths, though there's a chance they'll forget their target if they don't see it, so for very long and winding paths it's likely they don't ever arrive. Will probably affect performance, though I did test on entire levels turned transparent with Vitrification and things seemed to run more or less smoothly. Ideally, monsters should also be able to move around other obstacles that don't affect visibility (such as water, lava, or statues) but that is currently not possible. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5700 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/settings/init.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'crawl-ref/settings/init.txt') diff --git a/crawl-ref/settings/init.txt b/crawl-ref/settings/init.txt index 7499e48ec6..23938b11d2 100644 --- a/crawl-ref/settings/init.txt +++ b/crawl-ref/settings/init.txt @@ -89,11 +89,7 @@ lua_file = lua/pickup.lua # ##### 4-a Picking up and Dropping ############### # -autopickup = $?!+"/%) - -# Note that ")" have to be in the above list for pickup.lua -# (autopickup a butchering tool if you don't already have one) -# to work. +autopickup = $?!+"/% # There is a long list of autopickup exceptions in include = autopickup_exceptions.txt -- cgit v1.2.3-54-g00ecf