[−][src]Function pokemon_rust::entities::character::initialise_npc

pub fn initialise_npc(
    world: &mut World,
    npc_builder: NpcBuilder,
    progress_counter: &mut ProgressCounter
) -> CharacterId

Inserts an NPC into the world according to the data present in a NpcBuilder and returns its Character ID.