Item components
Spellbook
Stores structured spell formulae on each item instance
Builder help
Settings:
check - validate component configuration and referenced policies
capacity <non-negative integer> - spellbook formula capacity; zero holds no formulae
eligibility <prog|none> - book: boolean(item,spell); scroll: boolean(actor,spell,storedLevel)
usable <prog|none> - boolean(actor,item) physical/readability policy
readable <true|false> - require a readable component and comprehensible writing
duration <expression> - elapsed seconds; spelllevel, castinglevel and casterlevel variables
plan add held|wielded|inroom|consumed|consumedliquid ... - a normal inventory-plan action
plan remove <ordinal> - remove an action
start|complete|cancel|release|fizzle <emote> - $0 actor, $1 destination/scroll, $2 source when copying
Spellbook instances start empty. Scroll instances start blank. A charged scroll has one use.
Production plans add to the spell's own costs; inscription never executes spell effects.
Name and description use the standard component editor commands.