The Ward Proxy
Control access to an expensive or dangerous invocation via an intermediary target.
✧ GANG OF FOUR LINEAGE & ARCANUM ✧
GOF DESIGN PATTERN: Proxy
ARCANUM SCHOOL: Abjuration // Access Wards
SCRIBE / ARCHON: Joshua Edward McLaughlin Cox
CANONICAL REGISTRATION:
// CODEX INCANTATION //
# The Real Subject (Expensive/Dangerous Target)
.PHONY: _summon_elder_god
_summon_elder_god:
@echo "WARNING: Tearing the fabric of reality..."
@echo "The Elder God has arrived."
# The Proxy (Access Control)
# Checks if the mage has the required clearance (e.g., variable set)
AUTHORIZED ?= false
.PHONY: summon_elder_god
summon_elder_god:
@if [ "$(AUTHORIZED)" != "true" ]; then \
echo "Access Denied: You lack the requisite warding seals to summon an Elder God."; \
exit 1; \
else \
$(MAKE) _summon_elder_god; \
fi
Runic Tags:
#makefile
#structural
#proxy
#warding