mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +00:00
changed card template script to omit setInfo
This commit is contained in:
@@ -216,8 +216,6 @@ while line:
|
|||||||
# store Card object in hash table
|
# store Card object in hash table
|
||||||
mtgDataCards[cardName] = card
|
mtgDataCards[cardName] = card
|
||||||
|
|
||||||
print 'WARNING: Card template contains bogus SetInfo for testing only!!!'
|
|
||||||
print ' Please remove the SetInfo before committing to repository\n'
|
|
||||||
inputName = raw_input("Enter Card Name: ")
|
inputName = raw_input("Enter Card Name: ")
|
||||||
inputName = inputName.rstrip()
|
inputName = inputName.rstrip()
|
||||||
while inputName != 'quit' :
|
while inputName != 'quit' :
|
||||||
@@ -257,7 +255,6 @@ while inputName != 'quit' :
|
|||||||
setInfo.append(setInfoStr)
|
setInfo.append(setInfoStr)
|
||||||
print 'SVar:Rarity:'+rarity
|
print 'SVar:Rarity:'+rarity
|
||||||
print 'SVar:Picture:http://www.wizards.com/global/images/magic/general/'+cleanName+'.jpg'
|
print 'SVar:Picture:http://www.wizards.com/global/images/magic/general/'+cleanName+'.jpg'
|
||||||
for edition in setInfo : print edition
|
|
||||||
print 'End\n'
|
print 'End\n'
|
||||||
else :
|
else :
|
||||||
print inputName+' not found\n'
|
print inputName+' not found\n'
|
||||||
|
|||||||
Reference in New Issue
Block a user