-def cramen(cmd):
- # return an enemy
- if cmd == IHR: s = _("Romulan")
- elif cmd == IHK: s = _("Klingon")
- elif cmd == IHC: s = _("Commander")
- elif cmd == IHS: s = _("Super-commander")
- elif cmd == IHSTAR: s = _("Star")
- elif cmd == IHP: s = _("Planet")
- elif cmd == IHB: s = _("Starbase")
- elif cmd == IHBLANK: s = _("Black hole")
- elif cmd == IHT: s = _("Tholian")
- elif cmd == IHWEB: s = _("Tholian web")
- elif cmd == IHQUEST: s = _("Stranger")
- elif cmd == IHW: s = _("Inhabited World")
+def cramen(type):
+ "Emit the name of an enemy or feature."
+ if type == IHR: s = _("Romulan")
+ elif type == IHK: s = _("Klingon")
+ elif type == IHC: s = _("Commander")
+ elif type == IHS: s = _("Super-commander")
+ elif type == IHSTAR: s = _("Star")
+ elif type == IHP: s = _("Planet")
+ elif type == IHB: s = _("Starbase")
+ elif type == IHBLANK: s = _("Black hole")
+ elif type == IHT: s = _("Tholian")
+ elif type == IHWEB: s = _("Tholian web")
+ elif type == IHQUEST: s = _("Stranger")
+ elif type == IHW: s = _("Inhabited World")