diff options
Diffstat (limited to 'wiki')
-rwxr-xr-x | wiki/redesign.py | 4 | ||||
-rwxr-xr-x | wiki/sedesign.py | 98 |
2 files changed, 4 insertions, 98 deletions
diff --git a/wiki/redesign.py b/wiki/redesign.py index abc4074..f8aee67 100755 --- a/wiki/redesign.py +++ b/wiki/redesign.py @@ -331,9 +331,9 @@ def MobAlloc(ab): def testMobs(): print("Generating Elem-Mob Wiki...") if len(sys.argv) >= 3: - src=open(sys.argv[2]+"/db/re/mob_db.conf", "r") + src=open(sys.argv[2]+"/db/re/mob_db.conf", "r", encoding="utf-8") else: - src=open("../../server-data/db/re/mob_db.conf", "r") + src=open("../../server-data/db/re/mob_db.conf", "r", encoding="utf-8") wikib.write("<h1 id=#x>EleGen Monster Database</h1>\n") start=False diff --git a/wiki/sedesign.py b/wiki/sedesign.py index be4d5f9..26d956b 100755 --- a/wiki/sedesign.py +++ b/wiki/sedesign.py @@ -155,9 +155,9 @@ def ItAlloc(it): def newItemDB(): print("\nGenerating Item Wiki...") if len(sys.argv) >= 3: - src=open(sys.argv[2]+"/db/re/item_db.conf", "r") + src=open(sys.argv[2]+"/db/re/item_db.conf", "r", encoding="utf-8") else: - src=open("../../server-data/db/re/item_db.conf", "r") + src=open("../../server-data/db/re/item_db.conf", "r", encoding="utf-8") lg=False x=It() @@ -496,100 +496,6 @@ wikia.write('<title>SeDesign</title><meta charset=utf8 />\n') wikia.write("<body>") newItemDB() -wikia.write('<hr/>') -wikia.write(""" -<b>Reference Equipment</b><br/>(?): Item not updated.<br/>(*): <i>Drop/rare item only</i><br/> -<table border=1> -<tr><th>Level</th><th>Weapon</th><th>Shield</th> -<th>Head</th><th>Chest</th><th>Shorts</th><th>Boots</th><th>Gloves</th></tr> - -<tr><th>5</th> -<td>Knife, SmallKnife</td><td>None</td> -<td>-</td> <td>CreasedShirt</td> <td>CreasedShorts</td> <td>CreasedBoots</td> <td>CreasedGloves</td></tr> - -<tr><th>10</th> -<td>SharpKnife</td><td>RoundLeatherShield</td> -<td>CandorHeadBand</td> <td>CandorShirt</td> <td>CandorShorts</td> <td>CandorBoots, LousyMoccassins</td> <td>CandorGloves</td></tr> - -<tr><th>15</th> -<td>MinerKnife, Dagger</td><td>?</td> -<td>Bandana, SerfHat, <i>*AntlersHat</td> <td>CottonShirt, <i>*TneckSweater</td> <td>CottonShorts, MiniSkirt</td> <td>CottonBoots, <i>*Boots</td> <td>CottonGloves</td></tr> - -<tr><th>20</th> -<td>WoodenSword</td><td>LeatherShield</td> -<td>SerfHat, <i>*FancyHat, <i>*PinkieHat</td> <td>CottonShirt, SilkRobe</td> <td>FarmerPants, <i>*PirateShorts</td> <td>TulimsharGuardBoots</td> <td>?</td></tr> - -<tr><th>25</th> -<td>BronzeGladius, BugSlayer, Scythe</td><td>?</td> -<td><i>*FluffyHat</td> <td>LeatherShirt</td> <td>JeansShorts</td> <td>?</td> <td>MinerGloves</td></tr> - -<tr><th>30</th> -<td>ShortGladius</td><td>WoodenShield</td> -<td>MinerHat, <i>*DarkEggshellHat</td> <td>?</td> <td>?</td> <td>SquirrelBoots</td> <td>Armbands</td></tr> - -<tr><th>35</th> -<td>ButcherKnife, <i>*IceGladius</td><td>?</td> -<td><i>*BrimmedHat, *MoubooHat</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td></tr> - -<tr><th>40</th> -<td>RealBronzeGladius, ShortSword, MiereCleaver</td><td>BladeShield</td> -<td>Bucket, BurglarMask, SailorHat, <i>*ShroomHat</td> <td>DesertShirt</td> <td>CottonTrousers, <i>*RaidTrousers</td> <td>FurBoots</td> <td>LeatherGloves</td></tr> - -<tr><th>45</th> -<td>Backsword</td><td>BraknarShield</td> -<td>ChefHat, <i>*YetiMask, *ForestShroomHat</td> <td>Chainmail</td> <td><i>*BanditPants</td> <td>?</td> <td>?</td></tr> - -<tr><th>50</th> -<td>Broadsword, <i>**ShortSword</i></td><td>?</td> -<td><i>*PinkHelmet</td> <td>ForestArmor</td> <td>?</td> <td>?</td> <td>CopperArmbands</td></tr> - -<tr><th>60</th> -<td><i>*BlacksmithAxe</i>, <i>*Kanabo</i></td><td>?</td> -<td>FafiMask, <i>*WickedShroomHat</td> <td>LightPlatemail</td> <td>?</td> <td>?</td> <td>?</td></tr> - -<tr><th>65</th> -<td>?</td><td>?</td> -<td><i>*AlphaMoubooHat</td> <td>?</td> <td>ChainmailSkirt</td> <td>?</td> <td>?</td></tr> - -<tr><th>70</th> -<td>?</td><td>?</td> -<td><i>*WarlordHelmet, *MoonshroomHat</td> <td><i>*WarlordPlate</td> <td>?</td> <td>?</td> <td>IronArmbands</td></tr> - -<tr><th>80</th> -<td>?</td><td>?</td> -<td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td></tr> - -<tr><th>90</th> -<td>?</td><td>?</td> -<td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td></tr> - -<tr><th>100</th> -<td>?</td><td>?</td> -<td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td></tr> - -<tr><th>110</th> -<td>?</td><td>?</td> -<td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td></tr> - -<tr><th>120</th> -<td>?</td><td>?</td> -<td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td></tr> - -<tr><th>130</th> -<td>?</td><td>?</td> -<td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td></tr> - -<tr><th>140</th> -<td>?</td><td>?</td> -<td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td></tr> - -<tr><th>150</th> -<td>?</td><td>?</td> -<td>?</td> <td>?</td> <td>?</td> <td>?</td> <td>?</td></tr> - -</table> -""") - # Ending wikia.write("<hr/>") wikia.write("Run at: " + datetime.datetime.now().isoformat()) |