Skip to main content
Version: 2.x

Set Vampire Book

vampirism:set_vampire_book fills a vampire book item with book content chosen at random from the given tag. If the this_entity loot parameter is an entity that provides a specific book (advanced hunters / advanced vampires), that book is used instead; otherwise the tag is narrowed to the entity's faction.

{ "function": "vampirism:set_vampire_book", "tag": "vampirism:is_general" }
FieldRequiredTypeDescription
tagyesResource locationA vampirism:vampire_book tag id (without #). The book is rolled from this tag.
conditionsnoLoot condition[]Standard conditional-function conditions.