From 0e5a7c3285f947bb6baf578c39b51b381be586c5 Mon Sep 17 00:00:00 2001
From: dakkar <dakkar@thenautilus.net>
Date: Fri, 7 Nov 2008 22:16:48 +0100
Subject: pallini!

---
 inventario.cmd.tex | 56 +++++++++++++++++++++++++++++++++++-------------------
 1 file changed, 36 insertions(+), 20 deletions(-)

(limited to 'inventario.cmd.tex')

diff --git a/inventario.cmd.tex b/inventario.cmd.tex
index cbfe998..866d166 100644
--- a/inventario.cmd.tex
+++ b/inventario.cmd.tex
@@ -19,6 +19,7 @@
 \setlength{\textheight}{\paperheight}
 \setlength{\topmargin}{0pt}
 \addtolength{\topmargin}{-2.68cm}
+\addtolength{\topmargin}{0.45cm} % per centrare le etichette
 %%%%
 \setlength{\parindent}{0pt}
 
@@ -79,17 +80,21 @@
 
 % tipi
 \newcommand{\itemtype}[1]{#1}
-\newcommand{\itemweapon}[1]{\itemtype{#1 Weapon}}
+\newcommand{\typedisc}[1]{\tikz[baseline] \draw[#1] (0,0) circle (0.2cm);}
+\newcommand{\itemweapon}[1]{\typedisc{draw=red,fill=red} \itemtype{#1 Weapon}}
+\newcommand{\itemweapondef}{\itemweapon{}}
 \newcommand{\meleeweapon}{\itemweapon{Melee}}
 \newcommand{\rangedweapon}{\itemweapon{Ranged}}
-\newcommand{\itemarmor}[1]{\itemtype{#1 Armor}}
-\newcommand{\itemshield}[1]{\itemtype{#1 Shield}}
-\newcommand{\lightarmor}{\itemarmor{Light}}
 \newcommand{\ammo}{\itemtype{Ammunition}}
-\newcommand{\itemfocus}[1]{\itemtype{#1 Focus}}
-\newcommand{\divinefocus}{\itemfocus{Divine}}
-\newcommand{\arcanefocus}{\itemfocus{Arcane}}
-\newcommand{\itemwear}[1]{\itemtype{#1}}
+
+\newcommand{\itemarmor}[1]{\typedisc{draw=brown,fill=brown} \itemtype{#1 Armor}}
+\newcommand{\itemarmordef}{\itemarmor{}}
+\newcommand{\itemshield}[1]{\typedisc{draw=brown,fill=brown} \itemtype{#1 Shield}}
+\newcommand{\itemshielddef}{\itemshield{}}
+\newcommand{\lightarmor}{\itemarmor{Light}}
+
+\newcommand{\itemwear}[1]{\typedisc{draw=green,fill=green} \itemtype{#1}}
+\newcommand{\itemweardef}{\itemwear{Wearable}}
 \newcommand{\belt}{\itemwear{Belt}}
 \newcommand{\gloves}{\itemwear{Gloves}}
 \newcommand{\headband}{\itemwear{Headband}}
@@ -97,21 +102,32 @@
 \newcommand{\ring}{\itemwear{Ring}}
 \newcommand{\cloak}{\itemwear{Cloak}}
 \newcommand{\clothes}{\itemwear{Clothes}}
-\newcommand{\bedroll}{\itemwear{Bedroll}}
 \newcommand{\amulet}{\itemwear{Amulet}}
 \newcommand{\bracers}{\itemwear{Bracers}}
-\newcommand{\itemcontainer}[1]{\itemtype{#1}}
+
+\newcommand{\itemcons}[1]{\typedisc{draw=blue,fill=blue} \itemtype{#1}}
+\newcommand{\itemconsdef}{\itemcons{Consumable}}
+\newcommand{\potion}{\itemcons{Potion}}
+\newcommand{\wand}{\itemcons{Wand}}
+\newcommand{\rod}{\itemcons{Rod}}
+\newcommand{\scroll}{\itemcons{Scroll}}
+
+\newcommand{\itemmisc}[1]{\typedisc{draw=black,fill=white} #1}
+\newcommand{\itemmiscdef}{\itemmisc{Misc}}
+\newcommand{\tool}{\itemmisc{Tool}}
+\newcommand{\gem}{\itemmisc{Gem}}
+\newcommand{\bedroll}{\itemmisc{Bedroll}}
+\newcommand{\magicbook}{\itemmisc{Magic Book}}
+\newcommand{\book}{\itemmisc{Book}}
+\newcommand{\itemfocus}[1]{\itemmisc{#1 Focus}}
+\newcommand{\divinefocus}{\itemfocus{Divine}}
+\newcommand{\arcanefocus}{\itemfocus{Arcane}}
+
+\newcommand{\itemcontainer}[1]{\itemmisc{#1}}
 \newcommand{\backpack}{\itemcontainer{Backpack}}
-\newcommand{\itemmagic}[1]{\itemtype{#1}}
-\newcommand{\potion}{\itemmagic{Potion}}
-\newcommand{\wand}{\itemmagic{Wand}}
-\newcommand{\magicring}{\itemmagic{Ring}}
-\newcommand{\rod}{\itemmagic{Rod}}
-\newcommand{\scroll}{\itemmagic{Scroll}}
-\newcommand{\magicbook}{\itemmagic{Magic Book}}
-\newcommand{\tool}{\itemtype{Tool}}
-\newcommand{\gem}{\itemtype{Gem}}
-\newcommand{\itemmisc}{\itemtype{Misc}}
+
+\newcommand{\itemspecial}[1]{\typedisc{draw=yellow,fill=yellow} #1}
+\newcommand{\itemspecialdef}{\itemspecial{Special}}
 
 % cariche
 \newcommand{\cariche}[1]{\begin{tikzpicture}[x=0.4cm,y=-0.4cm]
-- 
cgit v1.2.3

