on_self_option
fun on_self_option( option: String, behaviour: Interaction<Entity>.(clicker: Entity) -> Unit)Interaction<Entity>.(clicker: Entity) -> UnitWorks with: Npc // WorldObject // WorldItem // WorldProjection // Actor
node<WorldObject>()
on_self_option("Climb-up") { clicker -> clicker.message("You climb up the ladder.")}option
Section titled “option”option: StringProperties
Section titled “Properties”target
Section titled “target”val target: T