Package schlachtfeld :: Module Char
[hide private]
[frames] | no frames]

Module Char

source code

Characters and methods for use in schlachtfeld module. Characters act on their own now and can be imported and saved via amov module.

Classes [hide private]
  Char
A single soldier.
  Leader
A leader of an Army or group.
  Hero
A battle hero.

Functions [hide private]
  ews()
Do one roll with the plusminus d6 die (wrapper for a function in pmw6).
  check(skill, MW)
Check if a given skill test reached a min-value (wrapper for a function in pmw6).
  ocheck(skill, MW)
Return the degree of success / failure for a skill check (wrapper for a function in pmw6).
  name_it(language="Esperanto")
Return a name corresponding to the characters language.

Variables [hide private]
  name_objekt = <schlachtfeld.namen.Name instance at 0xb22248>
  default_style = (0, (3, 3), (3, 3), (3, 3), (3, 3), None)
  defensive_style = (-3, (0, 0), (0, 3), (3, 3), (3, 3), None)
  offensive_style = (6, (3, 3), (0, 0), (3, 3), (3, 3), 'dead')
  escape_style = (6, (3, 3), (3, 3), (0, 0), (0, 0), 'escape')
  styledict = {'default': (0, (3, 3), (3, 3), (3, 3), (3, 3), None...
  atscatter = [3, 2, 1]

Function Details [hide private]

ews()

source code 
Do one roll with the plusminus d6 die (wrapper for a function in pmw6).

check(skill, MW)

source code 
Check if a given skill test reached a min-value (wrapper for a function in pmw6).

ocheck(skill, MW)

source code 
Return the degree of success / failure for a skill check (wrapper for a function in pmw6).

name_it(language="Esperanto")

source code 
Return a name corresponding to the characters language.

Variables Details [hide private]

name_objekt

None
Value:
<schlachtfeld.namen.Name instance at 0xb22248>                         
      

default_style

None
Value:
(0, (3, 3), (3, 3), (3, 3), (3, 3), None)                              
      

defensive_style

None
Value:
(-3, (0, 0), (0, 3), (3, 3), (3, 3), None)                             
      

offensive_style

None
Value:
(6, (3, 3), (0, 0), (3, 3), (3, 3), 'dead')                            
      

escape_style

None
Value:
(6, (3, 3), (3, 3), (0, 0), (0, 0), 'escape')                          
      

styledict

None
Value:
{'default': (0, (3, 3), (3, 3), (3, 3), (3, 3), None),
 'defensive': (-3, (0, 0), (0, 3), (3, 3), (3, 3), None),
 'escape': (6, (3, 3), (3, 3), (0, 0), (0, 0), 'escape'),
 'offensive': (6, (3, 3), (0, 0), (3, 3), (3, 3), 'dead')}             
      

atscatter

None
Value:
[3, 2, 1]