Npc
class Npc : Entity()on_npc_option(Assets.Npc.hans.id, "Talk-to") { player -> val hans: Npc = target hans.speak("Hello, adventurer!") if (hans.shardId != player.shardId) player.message("Hans is in another shard?")}create
Section titled “create”fun create( id: Int, tile: Tile3, owner: Entity? = null, respawnDelay: Int? = null, madeAs: Int? = null, facing: Direction? = null): NpcInherited members
Section titled “Inherited members”Entity:uuid//isAlive//addComponent//replaceComponent//findComponent//getComponent//removeComponent//hasComponent//decommission//resetLook//allComponents//resolve