Difference between revisions of "Talk:Muddy swamp"

From NetHackWiki
Jump to navigation Jump to search
(Created page with "Muddy swamp introduced here. Could someone try to turn this into an article at some point? http://sourceforge.net/apps/trac/unnethack/changeset/987 --~~~~")
 
Line 4: Line 4:
  
 
--[[User:Ozymandias|Ozymandias]] ([[User talk:Ozymandias|talk]]) 14:15, 22 July 2013 (UTC)
 
--[[User:Ozymandias|Ozymandias]] ([[User talk:Ozymandias|talk]]) 14:15, 22 July 2013 (UTC)
 +
 +
 +
Also, based on
 +
 +
189 #define likes_swamp(ptr)        ((ptr)->mlet == S_PUDDING || \
 +
190                                 (ptr)->mlet == S_FUNGUS || \
 +
191                                 (ptr) == &mons[PM_OCHRE_JELLY])
 +
192
 +
 +
and
 +
 +
 +
644         if (is_swamp(mtmp->mx, mtmp->my) && rn2(3) &&
 +
645             !is_flyer(mtmp->data) && !is_floater(mtmp->data) &&
 +
646             !is_clinger(mtmp->data) && !is_swimmer(mtmp->data) &&
 +
647             !amphibious(mtmp->data) && !likes_swamp(mtmp->data))
 +
648                 return(0);
 +
 +
it looks like certain monsters are better at moving in swamps than others.
 +
 +
That should probably go into this article, but the ones that specifically like swamps
 +
(Puddings, Fungi, and Ochre Jellies) might get a sentence added to their pages?
 +
 +
--[[User:Ozymandias|Ozymandias]] ([[User talk:Ozymandias|talk]]) 14:18, 22 July 2013 (UTC)

Revision as of 14:18, 22 July 2013

Muddy swamp introduced here. Could someone try to turn this into an article at some point?

http://sourceforge.net/apps/trac/unnethack/changeset/987

--Ozymandias (talk) 14:15, 22 July 2013 (UTC)


Also, based on

	189	#define likes_swamp(ptr)        ((ptr)->mlet == S_PUDDING || \ 
	190	                                 (ptr)->mlet == S_FUNGUS || \ 
	191	                                 (ptr) == &mons[PM_OCHRE_JELLY]) 
	192	 

and


	644	        if (is_swamp(mtmp->mx, mtmp->my) && rn2(3) && 
	645	            !is_flyer(mtmp->data) && !is_floater(mtmp->data) && 
	646	            !is_clinger(mtmp->data) && !is_swimmer(mtmp->data) && 
	647	            !amphibious(mtmp->data) && !likes_swamp(mtmp->data)) 
	648	                return(0); 

it looks like certain monsters are better at moving in swamps than others.

That should probably go into this article, but the ones that specifically like swamps (Puddings, Fungi, and Ochre Jellies) might get a sentence added to their pages?

--Ozymandias (talk) 14:18, 22 July 2013 (UTC)