📦 sleepyfran / duets

📄 Npcs.fs · 11 lines
1
2
3
4
5
6
7
8
9
10
11module Duets.Data.Npcs

open Duets.Common
open Duets.Entities

/// Contains all pre-defined NPCs of the game.
let all: (string * Gender) list = ResourceLoader.load Files.Npcs

/// Returns a random NPC from the pre-defined list.
let random () = all |> List.sample