Spawns

Updated 3 days ago

Spawn reference

Everything the mod can spawn, and how to ask for it. This list mirrors Spawning/PrefabCatalog.cs - when the catalog changes, update this file too.

All commands are broadcast from Streamer.bot actions via CPH.WebsocketBroadcastJson(json) (see README.md for the full setup).

Amounts are clamped to [Spawning] MaxSpawnsPerCommand (default 10) and MaxItemsPerCommand (default 100). Spawn commands only work when you are the host/server.

Levels and stars

level value In-game Notes
1 (default) no stars normal creature
2 one star tougher, hits harder
3 two stars vanilla maximum
  • enemy_spawn - every creature spawns at exactly the given level.
  • mob_spawn - levels are rolled per creature (mostly normals, some stars). The payload level is the ceiling for the roll, so "level":3 gives a mix of 1, 2 and 3.
  • Levels are capped by [Spawning] MaxLevel (default 3).

mob_spawn - mob types

{"action":"mob_spawn","mob":"Greydwarf","amount":5,"level":3}

A mob type spreads the amount randomly over its variants and rolls a mixed level for each creature.

Mob type Variants included
Greydwarf Greyling, Greydwarf, Greydwarf_Shaman, Greydwarf_Brute
Skeleton Skeleton, Skeleton_Poison
Draugr Draugr, Draugr_Ranged, Draugr_Elite
Goblin Goblin (Fuling), GoblinArcher (Fuling Archer), GoblinBrute (Fuling Berserker), GoblinShaman (Fuling Shaman)
Blob Blob (Ooze), BlobTar (Tar Ooze)
Ghost Ghost
Troll Troll
Neck Neck
Boar Boar
Wolf Wolf
Hatchling Hatchling (baby drake)
Golem Golem (stone golem)
Fenring Fenring (were-wolf)
Lox Lox
Deathsquito Deathsquito (Deathsquito)
Serpent Serpent (sea serpent)

enemy_spawn - individual enemies

{"action":"enemy_spawn","enemy":"Troll","amount":1,"level":2}

Every individual prefab from the table above can be spawned by its exact name. Full list:

  • Blob (Ooze)
  • BlobTar (Tar Ooze)
  • Boar
  • Deathsquito
  • Draugr
  • Draugr_Elite
  • Draugr_Ranged
  • Fenring
  • Ghost
  • Goblin (Fuling)
  • GoblinArcher (Fuling Archer)
  • GoblinBrute (Fuling Berserker)
  • GoblinShaman (Fuling Shaman)
  • Golem
  • Greydwarf
  • Greydwarf_Brute
  • Greydwarf_Shaman
  • Greyling
  • Hatchling (Drake)
  • Lox
  • Neck
  • Serpent
  • Skeleton
  • Skeleton_Poison
  • Troll
  • Wolf

item_spawn - items

{"action":"item_spawn","item":"Wood","amount":10}

Optional "delivery":"Ground" drops the items in the shared world next to you instead of into your inventory (default: [Spawning] ItemDelivery, normally Inventory). Items are split into correct stack sizes automatically; if your inventory is full, the remainder is reported in the log.

Resources:

  • Wood, FineWood, Stone, Flint, Coal

Hides and pelts:

  • LeatherScraps, DeerHide, WolfPelt

Ores and metals:

  • TinOre, CopperOre, IronScrap, SilverOre
  • Bronze, Iron, Silver, Gold

Valuables:

  • Coins, Amber, AmberPearl, Ruby

Food:

  • RawMeat, CookedMeat, Raspberry, Blueberries, Mushroom, Honey

Weapons and tools:

  • Torch, SwordBronze, SwordIron, SwordSilver, SwordBlackmetal

Streamer.bot example

using System;

public class CPHInline
{
    public bool Execute()
    {
        // 5 mixed greydwarfs (greylings, shamans and brutes included)
        string json = "{\"action\":\"mob_spawn\",\"mob\":\"Greydwarf\",\"amount\":5,\"level\":3}";
        CPH.WebsocketBroadcastJson(json);
        return true;
    }
}