Exemple #1
0
        fixers.Choice("bases/fixers/no.spr",
                      "bases/fixers/iso_antagonist_decline.py",
                      "Decline This Agreement")
    ])


playa = VS.getPlayer()
playernum = playa.isPlayerStarship()
#only want this var if you agreed to the quest at some point--so we want it to return fasle if len is 0
if (not Director.getSaveDataLength(playernum, "iso_mission1")):
    Base.Message(
        "Good day, stranger.  I do not know you, and I do not wish to know you. However, in the face of our mutual situation, perhaps you could come to an agreement with Rowenna of the ISO.  Talk to her. But before you leave, talk to me. I may have an offer that you simply cannot refuse."
    )
else:
    fixers.DestroyActiveButtons()
    if (fixers.checkSaveValue(playernum, "iso_mission1", 0)):
        Base.Message(
            "Excellent! You accepted the mission.  I will offer you 38,000 credits to do one thing: destroy that vessel. You should have help from a few of my elite force; however, I expect the ISO to put up a fight, so be wary and beware. I trust you will accept my offer, my young....friend"
        )
    elif (fixers.checkSaveValue(playernum, "iso_mission1", 1)
          or fixers.checkSaveValue(playernum, "iso_evil2", -1)
          or fixers.checkSaveValue(playernum, "iso_evil3", -1)
          or fixers.checkSaveValue(playernum, "iso_evil4", -1)):
        Base.Message(
            "There is only one thing I despise more than a member of the Interplanetary Socialist Organization: and that is one of their mercenary lapdogs. You are not worth the breath I have wasted on you. Leave now, if you dare.  My forces will destroy your starship and leave your corpse to boil in vacuum."
        )
        type = faction_ships.getRandomFighter("confed")
        fgname = "IntelSecElite"
        fixers.setSaveValue(playernum, "decided_iso_good", 1)
        launch.launch_wave_around_unit(fgname, "confed", type, "default", 1,
                                       80, 100, playa).SetTarget(playa)
Exemple #2
0
import Base
import fixers
import Director
import VS
def AssignMission ():
    fixers.DestroyActiveButtons ()
    fixers.CreateChoiceButtons(Base.GetCurRoom(),[
            fixers.Choice("bases/fixers/yes.spr","bases/fixers/pirates_mission.py","Accept This Agreement"),
            fixers.Choice("bases/fixers/no.spr","bases/fixers/no.py","Decline This Agreement")])

playa = VS.getPlayer();
playernum = playa.isPlayerStarship()
if (VS.numActiveMissions()>1):
    Base.Message("I can't give your cargo and money until your current mission is complete.");
else:
    if (fixers.checkSaveValue (playernum,"pirate_mission1",0)):
        print("START1")
        AssignMission()
        Base.Message("We are in need of a pilot who can safely transport this cargo to one of our bases in the #55ffffrigel#000000 system. It is highly important that no confed or militia know of these goods. Will you accept this unavoidable offer?")
#And then if you fail.......
    elif (fixers.checkSaveValue (playernum,"pirate_mission1",-1) or fixers.checkSaveValue (playernum,"pirate_mission2",-1) or fixers.checkSaveValue (playernum,"pirate_mission3",-1) or fixers.checkSaveValue (playernum,"pirate_mission4",-1)):
        Base.Message ("How could you let our precious cargo be destroyed. It has cost us millions of credits and you trashed it like it was nothing. Prepare to be nailed,pal!")
        type = faction_ships.getRandomFighter ("pirates")
        fgname="shadow"
        launch.launch_wave_around_unit (fgname,"pirates",type,"default",1,80,300,playa).SetTarget(playa)
        launch.launch_wave_around_unit (fgname,"pirates",type,"default",1,80,300,playa).SetTarget(playa)
    else:
        if (fixers.checkSaveValue (playernum,"pirate_mission1",1) and fixers.checkSaveValue(playernum,"pirate_mission2",0)):
            Base.Message ("Thanks for the cargo that we needed, pal. We now need some cargo delivered to the #55fffftingvallir#000000 system. Can you do that without geting caught?")#assign mis 2
            fixers.payCheck(playernum,'paidpiratemission',0,20000)
            AssignMission()
import fixers
import Base
fixers.DestroyActiveButtons ()
playernum = VS.getPlayer().isPlayerStarship()
if (fixers.checkSaveValue(playernum,"iso_evil2",0) and VS.numActiveMissions()<=1):
	fixers.setSaveValue (playernum,"iso_evil2",0)
	#load mission 2
	VS.LoadMission ("bounty/iso/attack_iso_freighter.mission")
elif (fixers.checkSaveValue(playernum,"iso_evil3",0) and VS.numActiveMissions()<=1):
	fixers.setSaveValue (playernum,"iso_evil3",0)
	VS.LoadMission ("bounty/iso/attack_iso_prisoners.mission")
	#load mission 2
elif (fixers.checkSaveValue(playernum,"iso_evil4",0) and VS.numActiveMissions()<=1):
	fixers.setSaveValue (playernum,"iso_evil4",0)
	VS.LoadMission ("defend/iso/attack_iso_force.mission")
	#load mission 3
else:
	Base.message ("Ahh but you are already completing a mission. Come back to me when you're done with that contract first.")
        fixers.Choice("bases/fixers/yes.spr",
                      "bases/fixers/pirates_mission.py",
                      "Accept This Agreement"),
        fixers.Choice("bases/fixers/no.spr", "bases/fixers/no.py",
                      "Decline This Agreement")
    ])


playa = VS.getPlayer()
playernum = playa.isPlayerStarship()
if (VS.numActiveMissions() > 1):
    Base.Message(
        "I can't give your cargo and money until your current mission is complete."
    )
else:
    if (fixers.checkSaveValue(playernum, "pirate_mission1", 0)):
        print("START1")
        AssignMission()
        Base.Message(
            "We are in need of a pilot who can safely transport this cargo to one of our bases in the #55ffffrigel#000000 system. It is highly important that no confed or militia know of these goods. Will you accept this unavoidable offer?"
        )
#And then if you fail.......
    elif (fixers.checkSaveValue(playernum, "pirate_mission1", -1)
          or fixers.checkSaveValue(playernum, "pirate_mission2", -1)
          or fixers.checkSaveValue(playernum, "pirate_mission3", -1)
          or fixers.checkSaveValue(playernum, "pirate_mission4", -1)):
        Base.Message(
            "How could you let our precious cargo be destroyed. It has cost us millions of credits and you trashed it like it was nothing. Prepare to be nailed,pal!"
        )
        type = faction_ships.getRandomFighter("pirates")
        fgname = "shadow"
Exemple #5
0
	fixers.CreateChoiceButtons(Base.GetCurRoom(),[
		fixers.Choice("bases/fixers/yes.spr","bases/fixers/iso_mission.py","Accept This Agreement"),
		fixers.Choice("bases/fixers/no.spr","bases/fixers/iso_decline.py","Decline This Agreement")])

playa = VS.getPlayer();
playernum = playa.isPlayerStarship()
len=Director.getSaveDataLength (playernum,"kills");
kills=0
if (len!=0):
	kills=Director.getSaveData(playernum,"kills",len-1)
if (kills<25):
	Base.Message("Hello Pilot. " + intro_string + " We are actively seeking new members in our organization.  However to fly defense runs, you need some more experience. Come back when your record is somewhat more interesting and then together we can overthrow the confederacy!");
elif (VS.numActiveMissions()>1):
	Base.Message ("It is a pleasure to speak to you; however, if you wish to work with me you must first finish up your other contractual obligations.")
else:
	if (fixers.checkSaveValue (playernum,"iso_mission1",0)):
		Base.Message("Hello Mercenary. " + intro_string + " We are actively seeking mercenaries to help us defend our supplies and our party members. There is, in this system, a vessel carrying several key party members and some valuable sensor data with them.  Comrade, we offer 18000 credits if you will defend these starships! Do you accept our offer?")
#And then if you fail.......
		AssignMission()
	elif (fixers.checkSaveValue (playernum,"iso_mission1",-1)):
		Base.Message ("You conspirator! I should have realized you were a kepitalizt pig when I first smelled your foul stench! You probably got paid to destroy our vessel. If I shared in your lack of honor I would kill you where you stand.  But instead I shall ask my operatives to rid you of your ship. The next time any of us see your vessel, it will be fired upon. Leave my presence - you nauseate me.")
		fixers.setSaveValue (playernum,"decided_iso_evil",1)
		type = faction_ships.getRandomFighter ("ISO")
		fgname="Lenin'sRevenge"
		launch.launch_wave_around_unit (fgname,"ISO",type,"default",1,80,300,playa).SetTarget(playa)
		launch.launch_wave_around_unit (fgname,"ISO",type,"default",1,80,300,playa).SetTarget(playa)
		type = faction_ships.getRandomFighter ("ISO")
		launch.launch_wave_around_unit (fgname,"ISO",type,"default",1,80,300,playa).SetTarget(playa)
		launch.launch_wave_around_unit (fgname,"ISO",type,"default",1,80,300,playa).SetTarget(playa)
	elif (fixers.checkSaveValue (playernum,"iso_mission2",-1) or fixers.checkSaveValue (playernum,"iso_mission3",-1) or fixers.checkSaveValue (playernum,"iso_mission4",-1)):
		Base.Message ("You have failed the ISO.  I should have known not to entrust a self serving mercenary with the key plans of our organization. Go now... make money for yourself--I know you do not care for the future of those who actually earn their livings.")
import fixers
import Base
fixers.DestroyActiveButtons ()
playernum = VS.getPlayer().isPlayerStarship()
if (fixers.checkSaveValue(playernum,"iso_mission1",0) and VS.numActiveMissions()<=1):
	fixers.setSaveValue (playernum,"iso_mission1",0)
	#load mission 1
	VS.LoadMission ("defend/iso/defend_iso_mission1.mission")
elif (fixers.checkSaveValue(playernum,"iso_mission2",0) and VS.numActiveMissions()<=1 and fixers.checkSaveValue (playernum,"iso_mission1",1)):
	fixers.setSaveValue (playernum,"iso_mission2",0)
	VS.LoadMission ("escort/iso/escort_iso_mission2.mission")
	#load mission 2
elif (fixers.checkSaveValue(playernum,"iso_mission3",0) and VS.numActiveMissions()<=1 and fixers.checkSaveValue (playernum,"iso_mission2",1)):
	fixers.setSaveValue (playernum,"iso_mission3",0)
	VS.LoadMission ("cargo/iso/cargo_contraband_mission3.mission")
	#load mission 3
elif (fixers.checkSaveValue(playernum,"iso_mission4",0) and VS.numActiveMissions()<=1 and fixers.checkSaveValue (playernum,"iso_mission3",1)):
	fixers.setSaveValue (playernum,"iso_mission4",0)
	VS.LoadMission ("defend/iso/defend_iso_mission4.mission")
	#load mission 4
else:
	Base.message ("Our records indicate that you are already completing a mission. Come back to me when you're done with that business first.")
import Base
import fixers
import Director
import VS
def AssignMission ():
	fixers.DestroyActiveButtons ()
	fixers.CreateChoiceButtons(Base.GetCurRoom(),[
		fixers.Choice("bases/fixers/yes.spr","bases/fixers/pirates_mission.py","Accept This Agreement"),
		fixers.Choice("bases/fixers/no.spr","bases/fixers/no.py","Decline This Agreement")])

playa = VS.getPlayer();
playernum = playa.isPlayerStarship()
if (VS.numActiveMissions()>1):
	Base.Message("I can't give your cargo and money until your current mission is complete.");
else:
	if (fixers.checkSaveValue (playernum,"pirate_mission1",0)):
		print "START1"
		AssignMission()
		Base.Message("We are in need of a pilot who can safely transport this cargo to one of our bases in the #55ffffrigel#000000 system. It is highly important that no confed or militia know of these goods. Will you accept this unavoidable offer?")
#And then if you fail.......
	elif (fixers.checkSaveValue (playernum,"pirate_mission1",-1) or fixers.checkSaveValue (playernum,"pirate_mission2",-1) or fixers.checkSaveValue (playernum,"pirate_mission3",-1) or fixers.checkSaveValue (playernum,"pirate_mission4",-1)):
		Base.Message ("How could you let our precious cargo be destroyed. It has cost us millions of credits and you trashed it like it was nothing. Prepare to be nailed,pal!")
		type = faction_ships.getRandomFighter ("pirates")
		fgname="shadow"
		launch.launch_wave_around_unit (fgname,"pirates",type,"default",1,80,300,playa).SetTarget(playa)
		launch.launch_wave_around_unit (fgname,"pirates",type,"default",1,80,300,playa).SetTarget(playa)
	else:
		if (fixers.checkSaveValue (playernum,"pirate_mission1",1) and fixers.checkSaveValue(playernum,"pirate_mission2",0)):
			Base.Message ("Thanks for the cargo that we needed, pal. We now need some cargo delivered to the #55fffftingvallir#000000 system. Can you do that without geting caught?")#assign mis 2
			fixers.payCheck(playernum,'paidpiratemission',0,20000)
			AssignMission()
import fixers
import Base
fixers.DestroyActiveButtons ()
playernum = VS.getPlayer().isPlayerStarship()
if (fixers.checkSaveValue(playernum,"iso_mission1",0) and VS.numActiveMissions()<=1):
    fixers.setSaveValue (playernum,"iso_mission1",0)
    #load mission 1
    VS.LoadMission ("defend/iso/defend_iso_mission1.mission")
elif (fixers.checkSaveValue(playernum,"iso_mission2",0) and VS.numActiveMissions()<=1 and fixers.checkSaveValue (playernum,"iso_mission1",1)):
    fixers.setSaveValue (playernum,"iso_mission2",0)
    VS.LoadMission ("escort/iso/escort_iso_mission2.mission")
    #load mission 2
elif (fixers.checkSaveValue(playernum,"iso_mission3",0) and VS.numActiveMissions()<=1 and fixers.checkSaveValue (playernum,"iso_mission2",1)):
    fixers.setSaveValue (playernum,"iso_mission3",0)
    VS.LoadMission ("cargo/iso/cargo_contraband_mission3.mission")
    #load mission 3
elif (fixers.checkSaveValue(playernum,"iso_mission4",0) and VS.numActiveMissions()<=1 and fixers.checkSaveValue (playernum,"iso_mission3",1)):
    fixers.setSaveValue (playernum,"iso_mission4",0)
    VS.LoadMission ("defend/iso/defend_iso_mission4.mission")
    #load mission 4
else:
    Base.message ("Our records indicate that you are already completing a mission. Come back to me when you're done with that business first.")
Exemple #9
0
import Base
import VS
import Director
import quest
import fixers
plyr = VS.getPlayer().isPlayerStarship()
if quest.findQuest(plyr, 'quest_drone', -1):
    Base.Message(
        """There is an alien vessel let loose on confed territory. We are offering 30,000 credits to anyone who manages to take it out. Be warned, however, our scans reveal armor and shielding that we do not know how to penetrate. Good luck and godspeed!"""
    )
elif quest.findQuest(plyr, 'quest_drone', 1):
    Base.Message(
        """Thank you! Your effort saved the lives of trillions of civilians. That drone was terrorizing our people and our space force!"""
    )
    if fixers.checkSaveValue(plyr, 'quest_drone_cash', 0):
        VS.getPlayer().addCredits(30000)
        quest.removeQuest(plyr, 'gemini_sector/quest_drone_cash', 1)
Exemple #10
0
import fixers
import Base
fixers.DestroyActiveButtons()
playernum = VS.getPlayer().isPlayerStarship()
if (fixers.checkSaveValue(playernum, "iso_evil2", 0)
        and VS.numActiveMissions() <= 1):
    fixers.setSaveValue(playernum, "iso_evil2", 0)
    #load mission 2
    VS.LoadMission("bounty/iso/attack_iso_freighter.mission")
elif (fixers.checkSaveValue(playernum, "iso_evil3", 0)
      and VS.numActiveMissions() <= 1):
    fixers.setSaveValue(playernum, "iso_evil3", 0)
    VS.LoadMission("bounty/iso/attack_iso_prisoners.mission")
    #load mission 2
elif (fixers.checkSaveValue(playernum, "iso_evil4", 0)
      and VS.numActiveMissions() <= 1):
    fixers.setSaveValue(playernum, "iso_evil4", 0)
    VS.LoadMission("defend/iso/attack_iso_force.mission")
    #load mission 3
else:
    Base.message(
        "Ahh but you are already completing a mission. Come back to me when you're done with that contract first."
    )
import fixers
import Base

fixers.DestroyActiveButtons()
playernum = VS.getPlayer().isPlayerStarship()
if (fixers.checkSaveValue(playernum, "iso_mission1", 0)
        and VS.numActiveMissions() <= 1):
    fixers.setSaveValue(playernum, "iso_mission1", 0)
    #load mission 1
    VS.LoadMission("defend/iso/defend_iso_mission1.mission")
elif (fixers.checkSaveValue(playernum, "iso_mission2", 0)
      and VS.numActiveMissions() <= 1
      and fixers.checkSaveValue(playernum, "iso_mission1", 1)):
    fixers.setSaveValue(playernum, "iso_mission2", 0)
    VS.LoadMission("escort/iso/escort_iso_mission2.mission")
    #load mission 2
elif (fixers.checkSaveValue(playernum, "iso_mission3", 0)
      and VS.numActiveMissions() <= 1
      and fixers.checkSaveValue(playernum, "iso_mission2", 1)):
    fixers.setSaveValue(playernum, "iso_mission3", 0)
    VS.LoadMission("cargo/iso/cargo_contraband_mission3.mission")
    #load mission 3
elif (fixers.checkSaveValue(playernum, "iso_mission4", 0)
      and VS.numActiveMissions() <= 1
      and fixers.checkSaveValue(playernum, "iso_mission3", 1)):
    fixers.setSaveValue(playernum, "iso_mission4", 0)
    VS.LoadMission("defend/iso/defend_iso_mission4.mission")
    #load mission 4
else:
    Base.message(
        "Our records indicate that you are already completing a mission. Come back to me when you're done with that business first."
import Base
import VS
import Director
import quest
import fixers
plyr=VS.getPlayer().isPlayerStarship()
if quest.findQuest(plyr,'quest_drone',-1):
	Base.Message("""There is an alien vessel let loose on confed territory. We are offering 30,000 credits to anyone who manages to take it out. Be warned, however, our scans reveal armor and shielding that we do not know how to penetrate. Good luck and godspeed!""")
elif quest.findQuest(plyr,'quest_drone',1):
	Base.Message("""Thank you! Your effort saved the lives of trillions of civilians. That drone was terrorizing our people and our space force!""")
	if fixers.checkSaveValue(plyr,'quest_drone_cash',0):
		VS.getPlayer().addCredits(30000)
		quest.removeQuest(plyr,'gemini_sector/quest_drone_cash',1)
import fixers
import Base
fixers.DestroyActiveButtons ()
playernum = VS.getPlayer().isPlayerStarship()
if (fixers.checkSaveValue(playernum,"pirate_mission1",0)):
    fixers.setSaveValue (playernum,"pirate_mission1",0)
    Base.Message("Great! We will give you four missions to complete and once they are all done, you will earn a lump sum of 80000 credits. The first mission is a cargo mission. Your cargo has already been transported to your ship. See my friend in the #55ffffrigel#000000 system after the cargo has been transported.")
    #load mission 1
    VS.LoadMission ("cargo/pirates/pirates_cont_1.mission")
elif (fixers.checkSaveValue(playernum,"pirate_mission2",0) and fixers.checkSaveValue (playernum,"pirate_mission1",1)):
    fixers.setSaveValue (playernum,"pirate_mission2",0)
    Base.Message("Great! Your cargo has already been transported to your ship. Fly carefully to the #55fffftingvallir#000000 system and talk to him when the contraband run is complete.")
    VS.LoadMission ("cargo/pirates/pirates_cont_2.mission")
    #load mission 2
elif (fixers.checkSaveValue(playernum,"pirate_mission3",0) and fixers.checkSaveValue (playernum,"pirate_mission2",1)):
    fixers.setSaveValue (playernum,"pirate_mission3",0)
    Base.Message("We have uploaded the coordinates to where we have last seen the merchant docked. Your nav computer will automatically autopilot to those coordinates around the planet.  Once he is destroyed, tractor in all of the cargo and bring it to a base that will jump into this system soon.")
    VS.LoadMission ("cargo/pirates/plunder.mission")
    #load mission 3
elif (fixers.checkSaveValue(playernum,"pirate_mission4",0) and (fixers.checkSaveValue (playernum,"pirate_mission3",1) or fixers.checkSaveValue (playernum,"pirate_mission3",2))):
    fixers.setSaveValue (playernum,"pirate_mission4",0)
    Base.Message("Destroy all of the enemies attacking this base and come back to me when the battle is over. After that, I will give you all of your long deserved money")
    VS.LoadMission ("defend/pirates/pirate_msision4.mission")
    #load mission 4
else:
    Base.message ("Yes about what?")
import Base
import VS
import Director
import quest
import fixers

plyr = VS.getPlayer().isPlayerStarship()
if quest.findQuest(plyr, "quest_drone", -1):
    Base.Message(
        """There is an alien vessel let loose on confed territory. We are offering 30,000 credits to anyone who manages to take it out. Be warned, however, our scans reveal armor and shielding that we do not know how to penetrate. Good luck and godspeed!"""
    )
elif quest.findQuest(plyr, "quest_drone", 1):
    Base.Message(
        """Thank you! Your effort saved the lives of trillions of civilians. That drone was terrorizing our people and our space force!"""
    )
    if fixers.checkSaveValue(plyr, "quest_drone_cash", 0):
        VS.getPlayer().addCredits(30000)
        quest.removeQuest(plyr, "gemini_sector/quest_drone_cash", 1)