The Prototype
Duplicating esoteric artifacts by spilling a drop of blood upon a sacred matrix, cloning its essence without re-forging.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Prototype
ARCANUM SCHOOL: Transmutation // Cloning
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// DYNAMIC RUBY BLOOD MAGIC //
class ArcaneArtifact
attr_accessor :name, :curse_level, :essence
def initialize(name, curse_level, essence)
@name = name
@curse_level = curse_level
@essence = essence
end
def clone
# Deep copying the essence through marshaling is a common dark Ruby art
deep_essence = Marshal.load(Marshal.dump(@essence))
ArcaneArtifact.new(@name.dup, @curse_level, deep_essence)
end
end
# Usage
# original_dagger = ArcaneArtifact.new("Sacrificial Dirk", 5, { souls_trapped: 12 })
# cloned_dagger = original_dagger.clone
# cloned_dagger.essence[:souls_trapped] = 0
# original dagger's souls remain undisturbed.
The Prototype allows a hemomancer to copy an existing, complex spell matrix without the overhead of reconstructing it from base components. Ruby’s dynamic nature makes shallow and deep cloning (via Marshal) a natural fit for replicating cursed artifacts perfectly.
Runic Tags:
#ruby
#design-pattern
#prototype
#blood-magic