From 387bc8f793b2c8b5346cbda33758148ca120ca20 Mon Sep 17 00:00:00 2001 From: Anna Wiggins Date: Fri, 4 May 2012 11:27:37 -0400 Subject: [PATCH] Cleaned up some deprecated code --- battleman.py | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/battleman.py b/battleman.py index 65de080..55fc6d3 100755 --- a/battleman.py +++ b/battleman.py @@ -55,34 +55,7 @@ def main(): for f in settings.files: for g in battle.combatgroups_from_file(f): btl.add_group(g) - - # hard-coding test cases for now. - # fixme: Eventually, use a state-saving text file that's easy to edit, or at least copy... - # adele = Combatant("Adele", hp=26, pc=True, surges=8, sw=1) - # adele_dict = {adele.index: adele} - # aristaire = Combatant("Aristaire", hp=20, pc=True, surges=6, sw=1) - # aristaire_dict = {aristaire.index: aristaire} - # foobolds = {} - # for i in range(5): - # c = Combatant("Foobold", hp=50) - # foobolds[c.index] = c - - # barglins = {} - # for i in range(2): - # c = Combatant("Barglin", hp=50) - # barglins[c.index] = c - - # orcs = {} - # for i in range(2): - # c = Combatant("Orc", hp=50) - # orcs[c.index] = c - - # btl.add_group(CombatGroup("Adele", adele_dict, 2)) - # btl.add_group(CombatGroup("Aristaire", aristaire_dict, 0)) - # btl.add_group(CombatGroup("Foobolds", foobolds, 20)) - # btl.add_group(CombatGroup("Barglins", barglins, 3)) - # btl.add_group(CombatGroup("Orcs of Baz", orcs, 1)) print btl