from ship import ship
from event import event
from character import character
from item import item


def main():
    #Build ship
    laika = ship("Laika", 100.0, 100.0, 100.0)
    character_list = []
        
    event_solar_flare = event("Solar Flare", "Solar Flare hit, damaging com system", -10, 0, 0)
    event_oxygen_fire = event("Fire in oxygen garden", "Oh god, fire in the oxygen garden.", 0, -3.0, -20.9)
    
    gun = item("gun", "When used, a gun prevents the owner from being voted into the reactor")
    
    
    
    # Loop to create characters
    num_players_str = raw_input("How many players: ")
    num_players = int(num_players_str)  
    for _ in xrange(num_players):
        #TODO add choice of character abilities
        name = raw_input("Name: ")
        character_a = character(name, 100.0, 2.0, 1.0, .1) #100 health 2 water, 1 oxygen, .1 com
        character_list.append(character_a)
    
    # Game Loop
    

if __name__ == '__main__':
    main()
@@ -202,133 +202,318 @@
     
-    %0A    event_solar_flare = event(%22Solar Flare%22, %22Solar Flare hit, damaging com system%22, -10, 0, 0)%0A    event_oxygen_fire = 
+event_list = %5B%5D%0A    item_list = %5B%5D%0A    %0A    #TODO load these from a file%0A    event_list.append(event(%22Solar Flare%22, %5C%0A                            %22Solar Flare hit, damaging com system%22, %5C%0A                            -10, %5C%0A                            0, %5C%0A                            0))%0A    event_list.append(
 even
@@ -538,16 +538,46 @@
 garden%22,
+ %5C%0A                           
  %22Oh god
@@ -611,23 +611,114 @@
 .%22, 
-0, -3.0,
+%5C%0A                            0, %5C%0A                            -3.0, %5C%0A                           
  -20.9)
+)
 %0A   
@@ -727,14 +727,25 @@
     
-gun = 
+item_list.append(
 item
@@ -824,21 +824,17 @@
 eactor%22)
-%0A    
+)
 %0A    %0A  

Build event and item lists