Welcome to the Creatures Wiki! Log in and join the community.

GNUS

From Creatures Wiki
Revision as of 14:59, 14 October 2016 by Allekha (talk | contribs) (Created page with "'''GNUS''' is a CAOS function that returns the target's genus. ==Usage== Syntax: ''GNUS'' Returns the target's genus. ==Example== GNUS is used by the DS locking doo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GNUS is a CAOS function that returns the target's genus.

Usage[edit]

Syntax: GNUS

Returns the target's genus.

Example[edit]

GNUS is used by the DS locking doors to check if a creature is allowed through when one pushes it:

doif fmly eq 4
*	if its a norn
	doif gnus eq 1
		targ ownr
*	check your lock status
(code to check locks for each species, let creatures through, etc continues from here)

See Also[edit]