Beispiel #1
0
def MakeAera(time_of_day='day'):
    plist=VS.musicAddList('aera.m3u')
    VS.musicPlayList(plist)
    dynamic_mission.CreateMissions()
    
    room1 = Base.Room ('Aera Planet')
    Base.Texture (room1, 'tex', 'bases/aera/aera_planet.sprite', 0, 0)
    Base.Comp (room1, 'CargoComputer', 0.472656, -0.614583, 0.152344, 0.403646, 'Cargo Computer', 'Cargo')
    Base.Comp (room1, 'MissionComputer', -0.376953, -0.653646, 0.15625, 0.424479, 'Mission Computer', 'News Missions')
    Base.Ship (room1, 'ship', (0.1546875*2, -0.3645835*2,2), (0,1,0), (.5,0,.86))
    
    bar = bar_lib.MakeBar (room1,time_of_day) 
    weap = weapons_lib.MakeWeapon (room1,time_of_day)
    
    room2 = Base.Room ('Planet Exterior')
    Base.Texture (room2, 'background', 'bases/aera/biosimple.sprite', 0, 0)
    
    Base.Link (room1, 'BarLink1', 0.230469, -0.184896, 0.166016, 0.653646, 'Bar', bar)
    Base.Link (room1, 'ExtLink', 0.398438, 0.015625, 0.298828, 0.216146, 'Planet Exterior', room2)
    Base.Link (room1, 'Weapons1', -0.173828, -0.0338542, 0.429688, 0.653646, 'Weapons Room', weap)
    Base.Link (room1, 'Weapons2', -0.117188, -0.195313, 0.376953, 0.182292, 'Weapons Room', weap)
    Base.Link (room2, 'Landing', -0.5, -1, 1, 0.2, 'Landing Pad', room1)
    
    Base.LaunchPython (room1, 'launch','bases/launch_music.py', -0.152344, -0.869792, 0.523438, 0.382813, 'Launch Your Ship')
    ### MUST BE LAST LINK ###
    return (room1,bar,weap,room2)
def MakeCorisc(time_of_day='day', mybartender='bases/bartender_default.py'):
    playlist = 'industrial.m3u'
    if (mybartender == 'bases/bartender_union.py'):
        playlist = 'university.m3u'
    plist = VS.musicAddList(playlist)
    VS.musicPlayList(plist)

    dynamic_mission.CreateMissions()
    room1 = Base.Room('Landing Platform')
    Base.Texture(room1, 'tex',
                 'bases/industrial/landing' + time_of_day + '.spr', 0, 0)
    bar = Base.Room('Bar')
    #Base.Texture (bar, 'tex', 'bases/industrial/bar'+time_of_day+'.spr', 0, 0)
    #Base.Link (bar, 'Exlink1', -1, -1, 0.466797, 2, 'Exit The Bar', 0)
    #Base.Link (bar, 'Exlink2', -1, -0.200521, 1, 1.200521, 'Exit The Bar', 0)
    #Base.Python (bar, 'talk', 0.46875, -0.151042, 0.4, 0.4, 'Talk to the Bartender', mybartender,0)
    #Base.Texture(bar,'bartender','bases/industrial/bartender%d.spr' % (vsrandom.randrange(0,11)),0.66875, 0.05)
    #fixers.CreateFixers(bar,[(.1,-0.15,.4,.4),])
    import bar_lib
    bar = bar_lib.MakeBar(room1, time_of_day, mybartender)
    weap = Base.Room('Upgrade_Facilities/Ship_Dealer')
    Base.Texture(weap, 'background', 'bases/civilian/civilian_weaponroom.spr',
                 0, 0)
    Base.Ship(weap, 'my_ship', (-0.765918, -0.054948, 3.5), (0, 0.93, -0.34),
              (-1, 0, 0))

    Base.Comp(weap, 'my_comp_id', -0.236328, -0.513021, 0.5, 0.53125,
              'Upgrade_Computer', 'Upgrade ShipDealer Info ')
    Base.Link(weap, 'my_link_id', -1, -0.997396, 1.99805, 0.117188,
              'Main_Concourse', room1)
    if (time_of_day == '_day'):
        Base.Comp(room1, 'CargoComputer', -0.476563, -0.705729, 0.0664063,
                  0.200521, 'Cargo Computer', 'Cargo')
        Base.Comp(room1, 'MissionComputer', 0.300781, -0.695313, 0.0800781,
                  0.195313, 'Mission Computer', 'News Missions')
        Base.Ship(room1, 'ship', (-0.02539065 * 2, -0.4254165 * 2, 4.5),
                  (0, .9, -.13), (.5, .13, .8))
        Base.Link(room1, 'BarLink', -0.347656, -0.335938, 0.144531, 0.195313,
                  'Bar', bar)
        Base.Link(room1, 'WeapLink', 0.152344, -0.40625, 0.294922, 0.361979,
                  'Weapons Room', weap)
        Base.LaunchPython(room1, 'launch', 'bases/launch_music.py', -0.369844,
                          -0.997396, 0.638672, 0.40625, 'Launch Your Ship')
    else:
        Base.Comp(room1, 'comp', -0.900391, -0.848958, 0.136719, 0.411458,
                  'Computer', 'Cargo News Missions')
        Base.Ship(room1, 'ship', (0.0539065 * 2, -0.3354165 * 2, 2.25),
                  (0, 1, 0), (.5, 0, .86))
        Base.Link(room1, 'BarLink', -0.558594, -0.151042, 0.275391, 0.242188,
                  'Bar', bar)
        Base.Link(room1, 'WeapLink', 0.3125, -0.0963542, 0.681641, 0.333333,
                  'Weapons Room', weap)
        Base.LaunchPython(room1, 'launch', 'bases/launch_music.py', -0.492188,
                          -1, 0.982422, 0.625, 'Launch Your Ship')
    return (room1, bar, weap)
def MakeAgri(time_of_day='_day'):
    plist = VS.musicAddList('agricultural.m3u')
    VS.musicPlayList(plist)
    dynamic_mission.CreateMissions()
    room1 = Base.Room('Main Concourse')
    Base.Texture(room1, 'tex',
                 'bases/agriculture/landing' + time_of_day + '.spr', 0, 0)
    Base.Comp(room1, 'CargoComputer', -0.306641, -0.263021, 0.105469, 0.420833,
              'Cargo Computer', 'Cargo')
    Base.Comp(room1, 'MissionComputer', 0.292969, -0.263021, 0.0878906,
              0.420833, 'Mission Computer', 'News Missions')
    Base.Ship(room1, 'ship', (0.0253906 * 2, -0.148958 * 2, 4), (0, .93, -.34),
              (-1, 0, 0))
    bar = bar_lib.MakeBar(room1, time_of_day)
    weap = weapons_lib.MakeWeapon(room1, time_of_day)
    Base.Link(room1, 'BarLink', 0.580078, -1, 0.419922, 1.09115, 'Bar', bar)
    Base.Link(room1, 'WeaponsRoom', -1, -1, 0.419922, 1.09115, 'Weapons Room',
              weap)
    Base.LaunchPython(room1, 'launch', 'bases/launch_music.py', -1, -1, 2, .8,
                      'Launch Your Ship')
    ### MUST BE LAST LINK ###
    return (room1, bar, weap)
Beispiel #4
0
def MakeUniversity(time_of_day='_day'):
    bar = -1
    weap = -1
    room0 = -1

    campaign_lib.masterson_extraspeech = ""
    plist = VS.musicAddList('oxford.m3u')
    VS.musicPlayList(plist)
    dynamic_mission.CreateMissions()
    room = Base.Room('Landing_Pad')
    room0 = room
    Base.Texture(room, 'background', 'bases/university/Landing_Pad.spr', 0.0,
                 0.0)
    Base.Texture(room, 'tnl00000', 'bases/university/Landing_Pad_tnl00000.spr',
                 0.6, 0.375)
    Base.Ship(room, 'my_ship', (0.2, -0.375, 5.75), (0.05, 0.988746, 0.141),
              (-0.7, 0.141, -0.7))

    room = Base.Room('Landing_Pad')
    room0train = room
    Base.Texture(room, 'background', 'bases/university/Landing_Pad.spr', 0.0,
                 0.0)
    Base.Ship(room, 'my_ship', (0.2, -0.375, 5.75), (0.05, 0.988746, 0.141),
              (-0.7, 0.141, -0.7))

    room = Base.Room('Campus_Quad')
    room1 = room
    Base.Texture(room, 'background', 'bases/university/Main_Quad.spr', 0.0,
                 0.0)
    Base.Texture(room, 'tnc', 'bases/university/Main_Quad_tnc.spr', -0.8,
                 -0.943359375)
    Base.Texture(room, 'wk0', 'bases/university/Main_Quad_wk0.spr', 0.3125,
                 -0.015625)
    Base.Texture(room, 'brd', 'bases/university/Main_Quad_brd.spr', 0.13125,
                 -0.38671875)
    room2 = -1
    room = Base.Room('Library_Stacks')
    room2 = room
    denied = False
    if quest.checkSaveValue(VS.getPlayer().isPlayerStarship(),
                            "access_to_library", 2):
        denied = True
    the_campaigns = campaign_lib.getActiveCampaignNodes(room2)
    if quest.checkSaveValue(VS.getPlayer().isPlayerStarship(),
                            "access_to_library", 2):
        denied = True
    if quest.checkSaveValue(VS.getPlayer().isPlayerStarship(),
                            "access_to_library", 1):  # access granted
        Base.Texture(room, 'background', 'bases/university/Library_Main.spr',
                     0, 0)
        room = Base.Room('Computer_Console')
        room3 = room
        Base.Texture(room, 'background', 'bases/university/ComputerMain.spr',
                     0, 0)

        room = Base.Room('Library_Terminal')
        room4 = room
        Base.Texture(room, 'background',
                     'bases/university/ComputerAnalysing.spr', 0, 0)
        room = Base.Room('Library_Terminal')
        room5 = room
        Base.Texture(room, 'background', 'bases/university/Monkhouse.spr', 0,
                     0)
        Base.Link(room2, 'my_link_id', -0.9875, -0.743333, 0.11, 1.71,
                  'Campus_Quad', room1)
        Base.Link(room2, 'my_link_id', -0.155, -0.913333, 0.405, 0.286667,
                  'Library_Console', room3)
        Base.Link(room3, 'my_link_id', 0.105, -0.756667, 0.77, 0.8,
                  'Computer_Analysis', room4)
        Base.Link(room3, 'my_link_id', -0.9725, -0.97, 0.5325, 1.95,
                  'Library_Stacks', room2)
        Base.Link(room4, 'my_link_id', 0.1025, -0.75, 0.77, 0.783333,
                  'Read_Computer_Screen', room5)
        Base.Link(room4, 'my_link_id', -0.9775, -0.96, 0.3, 1.95333,
                  'Library_Stacks', room2)
        Base.Link(room5, 'my_link_id', -1, -1, 2, 2, 'Turn_Off_Computer',
                  room3)
        if denied:
            Base.Texture(room2, 'masterson_access',
                         'bases/university/masterson.spr', 0, 0)
            ##campaign_lib.clickFixer(room2)
            Base.Python(
                room2, 'masterson_access', -1, -1, 2, 2, 'Enter_Library',
                "#\nimport Base\nBase.EraseLink(" + str(room2) +
                ", 'masterson_access')\nBase.EraseObj(" + str(room2) +
                ", 'masterson_access')\n", False)
            campaign_lib.masterson_extraspeech = "barspeech/campaign/mastersonfinal.wav"
    else:
        Base.Texture(room, 'background', 'bases/university/masterson.spr', 0,
                     0)
        ##campaign_lib.clickFixer(room2)
        if len(the_campaigns) and denied:  # mission in progress.
            Base.LinkPython(
                room2, 'masterson_return',
                '#\nimport campaign_lib\n##campaign_lib.clickFixer(' +
                str(room2) + ')\n', -1, -1, 2, 2, 'Exit_Library', room1)
        else:  # Access denied. Come back after Lynch missions
            campaign_lib.displayText(room2, [
                ("Masterson", "Excuse me, where do you think you're going?"),
                ("Burrows",
                 "I have some personal research I need to conduct."),
                ("Masterson",
                 "I'm sorry, sir, but access to the Oxford library files is restricted to students."
                 ), ("Burrows", "Look, couldn't I just buy a library card?"),
                ("Masterson", "I'm afraid not. Good day to you, sir.")
            ])
            campaign_lib.masterson_extraspeech = "campaign/onlyforstudents-priv.ogg"
            Base.LinkPython(room2, 'masterson_return',
                            '#\nimport VS\nVS.StopAllSounds()\n', -1, -1, 2, 2,
                            'Exit_Library', room1)

    Base.LaunchPython(room0, 'my_launch_id', 'bases/launch_music.py', -0.0075,
                      -0.59, 0.4725, 0.31, 'Launch')
    Base.LinkPython(
        room0, 'my_link_id', '''#
import Base
Base.Texture (''' + str(room0train) +
        ''', "tnl", "bases/university/Landing_Pad_tnl.spr", 0.6, 0.375) #0.582, 0.3492)
Base.RunScript(''' + str(room0train) + ''', "trainleave", """#
import Base
Base.SetCurRoom(''' + str(room1) + ''')
Base.EraseObj(''' + str(room0train) + ''',"tnl")
Base.EraseObj(''' + str(room0train) + ''',"trainleave")
""", 3.2)
''', 0.4225, -0.103333, 0.5425, 0.466667, 'Train_To_University_Campus',
        room0train)
    Base.Link(room1, 'my_link_id', -0.9675, -0.97, 0.595, 0.923333,
              'Train_To_Landing_Pad', room0)
    Base.Comp(room1, 'my_comp_id', -0.5925, 0.293333, 0.09, 0.213333,
              'Mission_Computer', 'Missions News Info ')
    import weapons_lib
    weap = weapons_lib.MakeWeapon(room1, time_of_day,
                                  "bases/university/Oxford_Shipdealer")
    Base.Link(room1, 'weapon_room', 0.695, -0.88, 0.2875, 0.913333,
              'Ship_Dealer', weap)
    import commodity_lib
    commodity = commodity_lib.MakeCommodity(room1, time_of_day)
    Base.Link(room1, 'commodity', 0.09, -0.973333, 0.5275, 0.34,
              'Commodity_Exchange', commodity)
    import bar_lib
    bar = bar_lib.MakeBar(room1, time_of_day, "oxford", "bases/university/Bar",
                          False, False, None, False, [], "oxford")
    Base.Link(room1, 'bar', -0.9725, 0.0966667, 0.2325, 0.666667, 'Campus_Bar',
              bar)
    import mercenary_guild
    merchant = mercenary_guild.MakeMercenaryGuild(room1, time_of_day)
    Base.Link(room1, 'mercenary', -0.53, 0.516667, 0.2, 0.456667,
              'Mercenary_Guild', merchant)
    import merchant_guild
    merchant = merchant_guild.MakeMerchantGuild(room1, time_of_day)
    Base.Link(room1, 'merchant', -0.2625, 0.593333, 0.1375, 0.39,
              'Merchant_Guild', merchant)
    Base.LinkPython(
        room1, 'my_link_id',
        '#\nimport campaign_lib\ncampaign_lib.clickFixer(' + str(room2) +
        ')\nif campaign_lib.masterson_extraspeech!="":\n\timport VS\n\tVS.playSound(campaign_lib.masterson_extraspeech,(0.,0.,0.),(0.,0.,0.,))\n\tcampaign_lib.masterson_extraspeech=""\n',
        0.34, 0.45, 0.6375, 0.513333, 'Library', room2)
    #Base.Link (room1, 'my_link_id', 0.36, 0.696667, 0.0625, 0.0966667, 'Talk_To_Masterson', room5)
    return room1
Beispiel #5
0
def MakeIndustrial(sunny, time_of_day='', AWACS=False):
    room = Base.Room('Landing_Pad')
    room0 = room
    if sunny:
        Base.Texture(room, 'background',
                     'bases/new_detroit/NewDet_LandingPad_Sunny.spr', 0, 0)
    else:
        Base.Texture(
            room, 'background',
            'bases/new_detroit/NewDet_LandingPad' + time_of_day + '.spr', 0, 0)
    if (AWACS):
        Base.Texture(room, 'background',
                     'bases/new_detroit/NewDet_LandingPad_AWACS.spr', 0, 0)
    Base.Ship(room, 'my_ship', (-0.25375, 0.1175, 4.5), (0, .725, -.6887),
              (-.8, -.4, -.4472))
    Base.Texture(
        room, 'sh0',
        'bases/new_detroit/NewDet_LandingPad_sh0' + time_of_day + '.spr', -0.2,
        0.6875)
    Base.Texture(
        room, 'sh1',
        'bases/new_detroit/NewDet_LandingPad_sh1' + time_of_day + '.spr',
        0.825, 0.6875)
    Base.Texture(
        room, 'sh2',
        'bases/new_detroit/NewDet_LandingPad_sh2' + time_of_day + '.spr',
        0.3875, -0.943359375)
    Base.Texture(
        room, 'sh3',
        'bases/new_detroit/NewDet_LandingPad_sh3' + time_of_day + '.spr', -0.2,
        -0.46484375)
    if not sunny:
        Base.Texture(
            room, 'rlp',
            'bases/new_detroit/NewDet_LandingPad_rlp' + time_of_day + '.spr',
            0.6, -0.25)

    room = Base.Room('Main_Street')
    room1 = room

    if sunny:
        Base.Texture(room, 'background',
                     'bases/new_detroit/NewDet_Concourse_Sunny.spr', 0, 0)
    else:
        Base.Texture(
            room, 'background',
            'bases/new_detroit/NewDet_Concourse' + time_of_day + '.spr', 0, 0)
    if (AWACS):
        Base.Texture(room, 'background',
                     'bases/new_detroit/NewDet_Concourse_AWACS.spr', 0, 0)
    if not sunny:
        Base.Texture(
            room, 'rsc',
            'bases/new_detroit/NewDet_Concourse_rsc' + time_of_day + '.spr',
            0.9125, -0.708984375)
        Base.Texture(
            room, 'wk0',
            'bases/new_detroit/NewDet_Concourse_wk0' + time_of_day + '.spr',
            -0.11875, -0.38671875)
        Base.Texture(
            room, 'hvc',
            'bases/new_detroit/NewDet_Concourse_hvc' + time_of_day + '.spr',
            0.08125, -0.25)
        Base.Texture(
            room, 'rnc',
            'bases/new_detroit/NewDet_Concourse_rnc' + time_of_day + '.spr',
            0.6, -0.25)
    Base.Texture(
        room, 'wk1',
        'bases/new_detroit/NewDet_Concourse_wk1' + time_of_day + '.spr',
        0.7125, -0.630859375)
    Base.Texture(
        room, 'wk2',
        'bases/new_detroit/NewDet_Concourse_wk2' + time_of_day + '.spr',
        -0.30625, -0.396484375)
    Base.Texture(
        room, 'ber',
        'bases/new_detroit/NewDet_Concourse_ber' + time_of_day + '.spr',
        -0.76875, 0.375)

    Base.LaunchPython(room0, 'my_launch_id', 'bases/launch_music.py', -0.625,
                      -0.193333, 0.595, 0.693333, 'Launch')
    Base.Link(room0, 'my_link_id', 0.115, 0.01, 0.585, 0.67, 'Main_Street',
              room1)
    import bar_lib
    bar = bar_lib.MakeBar(room1, time_of_day, 'industrial',
                          'bases/bar/NewDet_Bar', True, True, 'new_detroit',
                          False, [('nd0', -0.7125, 0.04296875),
                                  ('nd1', -0.31875, 0.0625),
                                  ('nd2', -0.08125, 0.072265625),
                                  ('nd3', 0.3375, 0.1015625)])
    Base.Link(room1, 'bar', -0.8525, -0.84, 0.2475, 1, 'Bar', bar)
    import commodity_lib
    commodity = commodity_lib.MakeCommodity(room1, time_of_day)
    Base.Link(room1, 'commodity', -0.36, -0.413333, 0.19, 0.176667,
              'Commodity_Exchange', commodity)
    Base.Comp(room1, 'my_comp_id', 0.785, -0.666667, 0.125, 0.34,
              'Mission_Computer', 'Missions News Info ')
    Base.Link(room1, 'my_link_id', -0.52, -0.46, 0.08, 0.273333,
              'To_Landing_Pad', room0)
    import weapons_lib
    weap = weapons_lib.MakeWeapon(room1, time_of_day)
    Base.Link(room1, 'weapon_room', 0.3325, 0.0866667, 0.625, 0.873333,
              'Ship_Dealer/Upgrade', weap)
    import merchant_guild
    merchant = merchant_guild.MakeMerchantGuild(room1, time_of_day)
    Base.Link(room1, 'merchant', -0.035, -0.0266667, 0.13, 0.236667,
              'Merchant_Guild', merchant)
    import mercenary_guild
    merchant = mercenary_guild.MakeMercenaryGuild(room1, time_of_day)
    Base.Link(room1, 'mercenary', -0.04, 0.306667, 0.2325, 0.36,
              'Mercenary_Guild', merchant)
room0 = room
Base.Texture(room, 'background',
             'bases/mining_base/MiningBase_LandingPad' + time_of_day + '.spr',
             0, 0)
Base.Ship(room, 'my_ship', (0.044375, -0.319167, 3), (0, 0.93, -0.34),
          (-1, 0, 0))

room = Base.Room('Sickbay_Concourse')
room1 = room
Base.Texture(
    room, 'background',
    'bases/mining_base_pirates/PirateBase_Concourse' + time_of_day + '.spr', 0,
    0)

Base.LaunchPython(room0, 'my_launch_id', 'bases/launch_music.py', -0.5075,
                  -0.58, 0.8025, 0.76, 'Launch')
Base.Link(room0, 'my_link_id', 0.5875, -0.36, 0.2975, 0.573333,
          'Moonbase_Concourse', room1)
import bar_lib
bar = bar_lib.MakeBar(room1, time_of_day, 'pirates',
                      'bases/bar/MiningBase_Bar', True, True, 'mining_base',
                      False, [('mb1', -0.46875, -0.201272552)])
Base.Link(room1, 'bar', 0.2875, -0.29, 0.205, 0.22, 'Bar', bar)
import commodity_lib
commodity = commodity_lib.MakeCommodity(room1, time_of_day)
Base.Link(room1, 'commodity', 0.705, -0.62, 0.255, 0.423333, 'Storage',
          commodity)
Base.Comp(room1, 'my_comp_id', 0.485, -0.443333, 0.1475, 0.163333,
          'Mission_Computer', 'Missions News ShipDealer Info ')
Base.Link(room1, 'my_link_id', -.5, 0.1, .3, 0.33, 'Landing_Bay', room0)
Base.Texture (room, 'background', 'bases/new_constantinople/NewCon_Concourse'+time_of_day+'.spr', 0, 0)
Base.Texture (room, 'win', 'bases/new_constantinople/win.spr', 0.8866, 0.085857)
Base.Texture (room, 'stt', 'bases/new_constantinople/NewCon_Concourse'+time_of_day+'_stt.spr', 0.6, 0.6875)
Base.Texture (room, 'stb', 'bases/new_constantinople/NewCon_Concourse'+time_of_day+'_stb.spr', 0.60625, 0.248)
Base.Texture (room, 'sh3', 'bases/new_constantinople/NewCon_Concourse'+time_of_day+'_sh3.spr', 0.6, -0.435546875)
Base.Texture (room, 'sh4', 'bases/new_constantinople/NewCon_Concourse'+time_of_day+'_sh4.spr', 0.6125, 0.6875)
Base.Texture (room, 'car', 'bases/new_constantinople/NewCon_Concourse'+time_of_day+'_car.spr', 0.6, -0.8046875)
Base.Texture (room, 'ldp00000', 'bases/new_constantinople/NewCon_Concourse'+time_of_day+'_ldp00000.spr', 0.94375, 0.375)

Base.LaunchPython (room0, 'my_launch_id', 'bases/launch_music.py', -0.515, -0.93, 1.025, 0.94, 'Launch')
Base.Link (room0, 'my_link_id', -0.9475, -0.576667, 0.305, 0.266667, 'Main_Concourse', room1)
import commodity_lib
commodity = commodity_lib.MakeCommodity (room1,time_of_day)
Base.Link (room1, 'commodity', 0.21, -0.97, 0.755, 0.553333, 'Commodity_Exchange', commodity)
import bar_lib
bar = bar_lib.MakeBar (room1,time_of_day,'default','bases/bar/NewCon_Bar', True, True, 'new_constantinople',False,[('nc0', -0.7456875, -0.0194),('nc1',-0.582,-0.1649),('nc2',-0.1394375, -0.1746),('nc3',-0.0909375, -0.1358),('nc4',0.400125, -0.0679)])
Base.Link (room1, 'bar', 0.2325, -0.17, 0.0925, 0.176667, 'Bar', bar)
import mercenary_guild
merchant = mercenary_guild.MakeMercenaryGuild (room1,time_of_day)
Base.Link (room1, 'mercenary', -0.0875, -0.266667, 0.23, 0.3, 'Mercenary_Guild', merchant)
import merchant_guild
merchant = merchant_guild.MakeMerchantGuild (room1,time_of_day)
Base.Link (room1, 'merchant', -0.895, -0.423333, 0.5275, 0.483333, 'Merchant_Guild', merchant)
Base.Comp (room1, 'my_comp_id', -0.28, -0.306667, 0.14, 0.28, 'Mission_Computer', 'Missions News Info ')
import weapons_lib
weap = weapons_lib.MakeWeapon (room1,time_of_day)
Base.Link (room1, 'weapon_room', 0.515, -0.413333, 0.4575, 0.596667, 'Ship_Dealer/Upgrades', weap)
Base.Python (room1, 'my_link_id', 0.82, 0.226667, 0.16, 0.746667, 'Landing_Pad', '''#
import Base
Base.EraseObj('''+str(room1)+''',"ldp00000")
Base.Texture ('''+str(room1)+''', "ldp", "bases/new_constantinople/NewCon_Concourse_ldp.spr", 0.94375, 0.375) #0.9154375, 0.3492)
Beispiel #8
0
             0.6875, -0.8828)
Base.Texture(room, 'wk1',
             'bases/agricultural/Helen_Concourse_wk1' + time_of_day + '.spr',
             -0.43125, -0.8828)
Base.Texture(room, 'wk2',
             'bases/agricultural/Helen_Concourse_wk2' + time_of_day + '.spr',
             0.275, -0.423828125)

import commodity_lib
room2 = commodity_lib.MakeCommodity(room1, time_of_day)
Base.Link(room0, 'my_link_id', 0.6025, -0.463333, 0.29, 0.633333, 'Main Deck',
          room1)

import bar_lib
bar = bar_lib.MakeBar(room1, time_of_day, 'refinery', "bases/bar/Helen_Bar",
                      True, True, 'refinery', False,
                      [("rf0", -.230376, -.1934), ("rf1", -.084875, -.0097),
                       ("rf3", -.8548125, -.0388), ("rf2", -.55775, -.2037)])
Base.Link(room1, 'bar', -0.5975, -0.133333, 0.17, 0.25, 'Bold_Mens_Pub', bar)

import merchant_guild
merchant = merchant_guild.MakeMerchantGuild(room1, time_of_day)
Base.Link(room1, 'merchant', 0.03, 0.0933333, 0.22, 0.176667,
          "Merchant's Guild", merchant)

import mercenary_guild
merchant = mercenary_guild.MakeMercenaryGuild(room1, time_of_day)
Base.Link(room1, 'mercenary', 0.77, 0.0233333, 0.22, 0.226667,
          "Mercenary's Guild", merchant)

import weapons_lib
weap = weapons_lib.MakeWeapon(room1, time_of_day)
Beispiel #9
0
room = Base.Room('Casino')
room1 = room
Base.Texture(room, 'background',
             'bases/pleasure/Jolson_Concourse' + time_of_day + '.spr', 0, 0)

Base.Texture(room, 'lts',
             'bases/pleasure/Jolson_Concourse_lts' + time_of_day + '.spr', 0,
             0)

Base.Link(room0, 'my_link_id', 0.66, -0.396667, 0.2425, 0.473333, 'Casino',
          room1)
import bar_lib
bar = bar_lib.MakeBar(room1, time_of_day, 'pleasure', 'bases/bar/Jolson_Bar',
                      True, True, 'pleasure', True,
                      [('pl0', -0.9, -0.083984375),
                       ('pl1', -0.1875, -0.23046875),
                       ('pl2', -0.18125, -0.025390625),
                       ('pl3', 0.3625, -0.025390625)])
#Base.Texture(bar,'bartender','bases/pleasure/Jolson_Bar_table.spr',-.75,-.9165)
Base.Link(room1, 'bar', -0.5225, -0.676667, 0.2075, 0.4, 'Pub', bar)
import commodity_lib
commodity = commodity_lib.MakeCommodity(room1, time_of_day)
Base.Link(room1, 'commodity', -0.115, -0.663333, 0.32, 0.51,
          'Commodity_Exchange', commodity)
import merchant_guild
if (merchant_guild.Can()):
    merchant = merchant_guild.MakeMerchantGuild(room1, time_of_day)
    Base.Link(room1, 'merchant', 0.2825, -0.666667, 0.045, 0.313333,
              'Merchant_Guild', merchant)
else:
    pass  #place blocker
Beispiel #10
0
commodity = commodity_lib.MakeCommodity(room1, time_of_day)
Base.Link(room1, 'commodity', 0.305, -0.49, 0.245, 0.313333,
          'Commodity_Exchange', commodity)
import weapons_lib

weap = weapons_lib.MakeWeapon(room1, time_of_day)
Base.Link(room1, 'weapon_room', 0.6375, -0.753333, 0.3275, 0.446667,
          'Ship_Dealer/Upgrade', weap)
Base.Comp(room1, 'my_comp_id', 0.8575, -0.0866667, 0.075, 0.106667,
          'Mission_Computer', 'Missions News Info ')
import bar_lib

bar = bar_lib.MakeBar(
    room1, time_of_day, 'military', 'bases/bar/Helen_Bar',
    quest.checkSaveValue(VS.getCurrentPlayer(), "terrell_no_entry", 2.0)
    or not terrell_entry, True, 'perry', False,
    [('pe0', -0.09375, 0.0234375), ('pe1', -0.88125, -0.015625),
     ('pe2', -0.575, -0.181640625), ('pe3', -0.2375, -0.181640625)])
Base.Link(room1, 'bar', 0.71, -0.0666667, 0.105, 0.2, 'Bar', bar)
import mercenary_guild

merchant = mercenary_guild.MakeMercenaryGuild(room1, time_of_day)
Base.Link(room1, 'mercenary', 0.6025, -0.0333333, 0.0825, 0.163333,
          'Mercenary_Guild', merchant)
import merchant_guild

merchant = merchant_guild.MakeMerchantGuild(room1, time_of_day)
Base.Link(room1, 'merchant', 0.52, -0.01, 0.06, 0.146667, 'Merchant_Guild',
          merchant)
Beispiel #11
0
weap=-1
room0=-1
plist=VS.musicAddList('agricultural.m3u')
VS.musicPlayList(plist)
dynamic_mission.CreateMissions()

room0 = pleasure_land.MakePleasureAgriculturalLanding(time_of_day)

room = Base.Room ('Speke Capital')
room1 = room
Base.Texture (room, 'background', 'bases/guildHQ/Helen_Concourse'+time_of_day+'.spr', 0, 0)
import commodity_lib
room2 = commodity_lib.MakeCommodity(room1,time_of_day);
Base.Link (room0, 'my_link_id', 0.6025, -0.463333, 0.29, 0.633333, 'Speke Capital', room1)
import bar_lib
bar = bar_lib.MakeBar (room1,time_of_day,'agricultural', "bases/bar/Helen_Bar", True, True, 'agricultural', False, [('ag0', -0.9, -0.123),('ag1', -0.58125, -0.15234375),('ag2', -0.11875, -0.103515625),('ag3', 0.41875, -0.03515625)])
Base.Link (room1, 'bar', 0.5, 0.1, 0.2075, 0.25, 'Chez Copernicus', bar)

import merchant_guild
if (merchant_guild.Can()):
    merchant = merchant_guild.MakeMerchantGuild (room1,time_of_day)
    Base.Link (room1, 'merchant', -0.38, -0.3, 0.22, 0.176667, "Merchant's Guild", merchant)
else:
    merchant = merchant_guild.MakeMerchantGuild (room1,time_of_day)
    Base.Link (room1, 'merchant', -0.38, -0.3, 0.22, 0.176667, "Merchant's Guild", merchant)

import mercenary_guild
if (mercenary_guild.Can()):
    merchant = mercenary_guild.MakeMercenaryGuild (room1,time_of_day)
    Base.Link (room1, 'mercenary', -0.38, -0.15, 0.22, 0.226667, "Mercenary's Guild", merchant)
else:
Beispiel #12
0
import weapons_lib
if (weapons_lib.CanRepair()):
    weap = weapons_lib.MakeWeapon(room1, time_of_day)
    Base.Link(room1, 'weapon_room', -0.0975, -0.0466667, 0.2225, 0.326667,
              'Ship_Dealer/Upgrade', weap)
    Base.Texture(
        room, 'wk0',
        'bases/mining_base/MiningBase_Concourse_wk0' + time_of_day + '.spr',
        -0.23125, 0.00390625)
else:
    Base.Texture(room1, 'noshipdealer', 'bases/mining_base/noshipdealer.spr',
                 0.0375, 0.052734375)

Base.Texture(
    room1, 'car',
    'bases/mining_base/MiningBase_Concourse_car' + time_of_day + '.spr',
    0.97255, -0.279296875)
import bar_lib
bar = bar_lib.MakeBar(room1, time_of_day, 'mining', 'bases/bar/MiningBase_Bar',
                      True, True, 'mining_base', False,
                      [('mb0', -0.8125, -0.19140625),
                       ('mb1', -0.46875, -0.20127255),
                       ('mb2', -0.1875, -0.025390625)])

Base.Link(room1, 'bar', 0.275, -0.133333, 0.2375, 0.233333, 'Bar', bar)
import campaign_lib
if not campaign_lib.do_not_play_music:
    plist = VS.musicAddList('mining_base.m3u')
    VS.musicPlayList(plist)