⚙️ INFORM7 RUNE DIFFICULTY: Apprentice Behavioral

The State

A sentient enchanted sword whose magical properties completely shift depending on whether it is thirsty or sated.

✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: State
ARCANUM SCHOOL: Enchantment // Prose-Based Spellcasting
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// INFORM7 PATTERN //
A blade-state is a kind of value. The blade-states are thirsty and sated.

The cursed sword is a thing. The cursed sword has a blade-state called the current mood. The current mood of the cursed sword is thirsty.

To swing the cursed sword:
    if the current mood of the cursed sword is thirsty:
        say "The blade shrieks for blood, striking wildly!";
    otherwise:
        say "The blade hums contentedly, slicing with clean precision."
        
To feed the cursed sword:
    now the current mood of the cursed sword is sated;
    say "The blade drinks deeply and falls silent."
Runic Tags: #behavioral #enchantment #state #inform7