The Proxy of the Guardian Ward
A magical ward that controls access to a powerful, hidden artifact.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Proxy
ARCANUM SCHOOL: Abjuration // Warding
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// LUA PATTERN //
local TrueGrimoire = {
read = function() return "Secrets of the Fae Moon revealed." end
}
local GrimoireProxy = {}
GrimoireProxy.__index = GrimoireProxy
function GrimoireProxy:new(password)
return setmetatable({ pass = password, grimoire = TrueGrimoire }, self)
end
function GrimoireProxy:read(attempt)
if attempt == self.pass then
return self.grimoire.read()
else
return "The Guardian Ward burns your hand! Access Denied."
end
end
local ward = GrimoireProxy:new("mellon")
print(ward:read("friend"))
Proxy
Not every script is worthy of gazing directly into the True Grimoire. The Proxy pattern instantiates a Guardian Ward, intercepting all requests, verifying the symbiotic authority of the caller, and passing the invocation through only if the Fae Moon Glyphs align.
Runic Tags:
#fae
#proxy
#security