The Cathedral of Attnam

Changes

Jump to navigation Jump to search
631 bytes added ,  01:56, 1 September 2014
Created page with "{{code}} Rooted dictates that the character in question cannot move to another tile of its own accord, regardless of available limbs or AGI stat. IsRooted is defined in a charact..."
{{code}}
Rooted dictates that the character in question cannot move to another tile of its own accord, regardless of available limbs or AGI stat. IsRooted is defined in a character's entry inside char.dat and is currently used by all forms of [[carnivorous plant]] and [[mushroom]]. Rooted does not prevent a character from interacting with adjacent tiles or enemies, however.

A rooted character can only move via [[teleport]]ation or [[levitation]], and cannot be knocked back by a [[kicking|kick]].

<pre>
truth character::CanMove() const

8840
{

8841
return !IsRooted() || StateIsActivated(LEVITATION);

8842
}
</pre>
Moderator
952

edits

Navigation menu