Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
lBaah authored Oct 29, 2019
1 parent 018ffd8 commit f643459
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions spawnConvert.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@
tree = ET.parse('spawn.xml')
root = tree.getroot()

#remove npc spawn from spawns.xml
'''
spawns = root.findall('spawn')
for spawn in spawns:
npcs = spawn.findall('npc') # change to monster to select monster
for npc in npcs:
spawn.remove(npc) #remove npc tag from spawns
tree.write('out.xml')
'''

#get all npc/monster spawns
f = open("monsterSpawnList.lua", "x") #create a new file. make sure the file dont exist already
i = 0
Expand Down

0 comments on commit f643459

Please sign in to comment.