From 8ed4a5460b110549fdcb49b7d95edb98846cb5ca Mon Sep 17 00:00:00 2001
From: dakkar <dakkar@thenautilus.net>
Date: Sat, 15 Oct 2011 21:05:44 +0100
Subject: gestione meno orrenda delle chiavi/parametri

---
 incantesimi.cmd.tex | 25 +++++++++++++++++--------
 1 file changed, 17 insertions(+), 8 deletions(-)

(limited to 'incantesimi.cmd.tex')

diff --git a/incantesimi.cmd.tex b/incantesimi.cmd.tex
index c5de5ca..6deef69 100644
--- a/incantesimi.cmd.tex
+++ b/incantesimi.cmd.tex
@@ -43,14 +43,23 @@
 \tikzstyle{angles label}=[rectangle,text=blue!50!black,minimum height=0.5cm,font=\scriptsize,inner sep=0.5mm,align=justify]
 
 %%%%
-\pgfkeys{/spells/.unknown/.code = {\pgfkeyssetvalue{\pgfkeyscurrentpath/\pgfkeyscurrentname}{#1}}}
-
-\pgfkeyssetvalue{/spells/type}{spell}
-\pgfkeyssetvalue{/spells/st}{None}
-\pgfkeyssetvalue{/spells/sr}{No}
-\pgfkeyssetvalue{/spells/tempo}{1a}
-\pgfkeyssetvalue{/spells/level}{-}
-\pgfkeyssetvalue{/spells/specialcomp}{}
+
+\pgfkeys{/spells/.is family}
+\tikzset{/spells/type/.initial=spell}
+\tikzset{/spells/st/.initial=None}
+\tikzset{/spells/sr/.initial=No}
+\tikzset{/spells/specialcomp/.initial={}}
+\tikzset{/spells/note/.initial={}}
+\tikzset{/spells/ref/.initial={}}
+\tikzset{/spells/tempo/.initial={1 a}}
+\tikzset{/spells/level/.initial={Must be passed in}}
+\tikzset{/spells/name/.initial={Must be passed in}}
+\tikzset{/spells/scuola/.initial={Must be passed in}}
+\tikzset{/spells/durata/.initial={Must be passed in}}
+\tikzset{/spells/components/.initial={Must be passed in}}
+\tikzset{/spells/descrizione/.initial={Must be passed in}}
+\tikzset{/spells/target/.initial={Must be passed in}}
+\tikzset{/spells/range/.initial={Must be passed in}}
 
 \newcommand{\incantesimo}[1]{%
 %\begin{scope}[every node/.style={draw,very thin},/spells/.cd,#1]
-- 
cgit v1.2.3

