Skip to content

self

val self: Entity
Example
node<Npc>()
fun shout(text: String) = self.speak(text.uppercase())
on_self_option("Talk-to") { _ -> shout("Halt! Who goes there?") }