summaryrefslogtreecommitdiff
path: root/wiki/wikigen.py
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-10-08 23:15:23 -0300
committerJesusaves <cpntb1@ymail.com>2018-10-08 23:15:23 -0300
commit14e1c77b61d1a04822e1884b634b5672853553b2 (patch)
treeac2615c46bccf33c9f2f40a48c7d9c353e1ba21f /wiki/wikigen.py
parent95d50ca5a63e324acbc15b877a189cd8547a6ab3 (diff)
downloadtools-14e1c77b61d1a04822e1884b634b5672853553b2.tar.gz
tools-14e1c77b61d1a04822e1884b634b5672853553b2.tar.bz2
tools-14e1c77b61d1a04822e1884b634b5672853553b2.tar.xz
tools-14e1c77b61d1a04822e1884b634b5672853553b2.zip
Regard Mounts
Diffstat (limited to 'wiki/wikigen.py')
-rwxr-xr-xwiki/wikigen.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/wiki/wikigen.py b/wiki/wikigen.py
index f4853c2..b81ef25 100755
--- a/wiki/wikigen.py
+++ b/wiki/wikigen.py
@@ -31,6 +31,7 @@ IT_ARMOR={ 'MISC': [], # FOR FAILURE
'EQP_HEAD_LOW':[], # PANTS
'1024': [], # NECKLACES (should be EQP_COSTUME_HEAD_TOP instead of number)
'2048': [], # RINGS (should be EQP_COSTUME_HEAD_MID instead of number)
+ 'EQP_MOUNT':[], # MOUNTS (ie. EQP_SHADOW_SHOES)
'EQP_HEAD_TOP':[], # HATS/HELMETS
'EQP_HAND_L': []} # SHIELDS
@@ -370,6 +371,8 @@ def ItAlloc(it):
IT_ARMOR['1024'].append(it)
elif '2048' in it.loc:
IT_ARMOR['2048'].append(it)
+ elif 'EQP_SHADOW_SHOES' in it.loc:
+ IT_ARMOR['EQP_MOUNT'].append(it)
elif 'EQP_SHADOW_ACC_R' in it.loc:
IT_ARMOR['EQP_ACC_R'].append(it) # Not really
else:
@@ -456,6 +459,7 @@ def writeItems():
+ [Ammo](#ammo)\n\
+ [Cards](#cards)\n\
+ [Pet Eggs](#pet-eggs)\n\
++ [Mounts](#mounts)\n\
+ [Weapons](#weapons)\n\
+ [1H Weapons](#1h-weapons)\n\
+ [2H Weapons](#2h-weapons)\n\
@@ -503,6 +507,10 @@ def writeItems():
wikia.write("## Pet Eggs\n")
ItemWrite(IT_PETEGG, ID=True, AEGIS=True, NAME=True, WEIGHT=True)
+ # Mount Items
+ wikia.write("## Mounts\n")
+ ItemWrite(IT_ARMOR['EQP_MOUNT'], ID=True, AEGIS=True, NAME=True, WEIGHT=True)
+
####################################################################
wikia.write("# Weapons\n")