Difference between revisions of "DragonData"

From NorCon MUSH
Line 1: Line 1:
 
{{#get_db_data:
 
{{#get_db_data:
 
db=norcon
 
db=norcon
|from=dragons
+
|from=dragons LEFT JOIN `clutches` on dragons.clutch = clutches.id
|data=dragon=name,hname=hname,color=color,wing=wing,rider=rider,ename=ename,size=size,clutch=clutch,desc=description,home=weyr,hatchsecs=hatchsecs
+
|data=dragon=name,hname=hname,color=color,wing=wing,rider=rider,ename=ename,size=size,clutch=clutch,desc=description,home=dragons.weyr,hatchsecs=clutches.hatchsecs, dam=clutches.dam, sire=clutches.sire
 
}}
 
}}
  
Line 17: Line 17:
 
|dragon-home={{{home}}}
 
|dragon-home={{{home}}}
 
|dragon-hatchsecs={{{hatchsecs}}}
 
|dragon-hatchsecs={{{hatchsecs}}}
 +
|dragon-dam={{{dam}}}
 +
|dragon-sire={{{sire}}}
 
}}
 
}}

Revision as of 02:28, 16 December 2015