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

GNUS

From Creatures Wiki
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]