Эх сурвалжийг харах

a bit of name collision protection.

This isn't enough--"Runaway Ship" as a government name is easy to collide with, for example -- but ship variants and governments don't use the "name" attribute.
john melesky 2 жил өмнө
parent
commit
e409a3e8d1

+ 45 - 29
data/artificial-crew-quests.txt

@@ -1,6 +1,6 @@
 # Kraz Cybernetics
 
-mission "plugin-artcrew Kraz [0]"
+mission "jm-artcrew Kraz [0]"
 	name "Help Kraz scientists with a runaway ship"
 	minor
 	description "Scientists from Kraz Cybernetics need you to disable a ship in the <system> system, then land back on <destination>."
@@ -10,7 +10,7 @@ mission "plugin-artcrew Kraz [0]"
 		random < 40
 		"combat rating" > 5
 		"combat rating" < 100
-		not "plugin-artcrew Kraz quest completed"
+		not "jm-artcrew Kraz quest completed"
 	on offer
 		conversation
 			`You walk through the spaceport, watching robots slowly load and unload cargo from various ships, when you hear a sudden ruckus. You turn and see a small group of people, most wearing lab coats, exclaiming in dismay as a ship lifts off.`
@@ -47,15 +47,15 @@ mission "plugin-artcrew Kraz [0]"
 		dialog "The runaway ship is still somewhere in <system>. You need to disable it before returning to the scientists."
 	on abort
 		# robots will roll out eventually, but more slowly
-		event "Kraz robots available" 120
+		event "jm-artcrew Kraz robots available" 120
 	on fail
 		dialog "You've disabled that runaway ship all right, and a bit more, too. The scientists from Kraz Cybernetics are going to be upset."
 		# robots will still roll out, but much later
-		event "Kraz robots available" 240
+		event "jm-artcrew Kraz robots available" 240
 	on complete
 		outfit "CX9 Crew Robot"
-		event "Kraz robots available" 14
-		set "plugin-artcrew Kraz quest completed"
+		event "jm-artcrew Kraz robots available" 14
+		set "jm-artcrew Kraz quest completed"
 		conversation
 			`Dr. Danifry is waiting for you when you land. You tell them about the lack of life signs, and she looks at you blankly for a moment. Then she seems to figure out what you're implying, and says, "That's ... not unexpected, and nothing to worry about. Here, let's get your new equipment set up and I think you'll understand."`
 			`	She turns to a nearby dock system console and types a few things in. Robots load two items covered in tarps into your cargo bay. Once inside, she pulls the tarp from one, and underneath is a robot in the shape of a human! Dr. Danifry looks pleased at your surprise.`
@@ -64,7 +64,7 @@ mission "plugin-artcrew Kraz [0]"
 			`	"Fortunately, since you saved our field test, that should only take a couple weeks. I'd rather not imagine how badly we'd have been set back if you hadn't helped us. Thank you again."`
 
 
-mission "plugin-artcrew Kraz [1]"
+mission "jm-artcrew Kraz [1]"
 	name "Help Kraz scientists with a runaway ship"
 	minor
 	description "Scientists from Kraz Cybernetics need you to disable a ship in the <system> system, then land back on <destination>."
@@ -74,7 +74,7 @@ mission "plugin-artcrew Kraz [1]"
 		random < 40
 		"combat rating" > 100
 		"combat rating" < 300
-		not "plugin-artcrew Kraz quest completed"
+		not "jm-artcrew Kraz quest completed"
 	on offer
 		conversation
 			`You walk through the spaceport, watching robots slowly load and unload cargo from various ships, when you hear a sudden ruckus. You turn and see a small group of people, most wearing lab coats, exclaiming in dismay as a ship lifts off.`
@@ -111,15 +111,15 @@ mission "plugin-artcrew Kraz [1]"
 		dialog "The runaway ship is still somewhere in <system>. You need to disable it before returning to the scientists."
 	on abort
 		# robots will roll out eventually, but more slowly
-		event "Kraz robots available" 120
+		event "jm-artcrew Kraz robots available" 120
 	on fail
 		dialog "You've disabled that runaway ship all right, and a bit more, too. The scientists from Kraz Cybernetics are going to be upset."
 		# robots will still roll out, but much later
-		event "Kraz robots available" 240
+		event "jm-artcrew Kraz robots available" 240
 	on complete
 		outfit "CX9 Crew Robot"
-		event "Kraz robots available" 14
-		set "plugin-artcrew Kraz quest completed"
+		event "jm-artcrew Kraz robots available" 14
+		set "jm-artcrew Kraz quest completed"
 		conversation
 			`Dr. Danifry is waiting for you when you land. You tell them about the lack of life signs, and she looks at you blankly for a moment. Then she seems to figure out what you're implying, and says, "That's ... not unexpected, and nothing to worry about. Here, let's get your new equipment set up and I think you'll understand."`
 			`	She turns to a nearby dock system console and types a few things in. Robots load two items covered in tarps into your cargo bay. Once inside, she pulls the tarp from one, and underneath is a robot in the shape of a human! Dr. Danifry looks pleased at your surprise.`
@@ -128,7 +128,7 @@ mission "plugin-artcrew Kraz [1]"
 			`	"Fortunately, since you saved our field test, that should only take a couple weeks. I'd rather not imagine how badly we'd have been set back if you hadn't helped us. Thank you again."`
 
 
-mission "plugin-artcrew Kraz [2]"
+mission "jm-artcrew Kraz [2]"
 	name "Help Kraz scientists with a runaway ship"
 	minor
 	description "Scientists from Kraz Cybernetics need you to disable a ship in the <system> system, then land back on <destination>."
@@ -137,7 +137,7 @@ mission "plugin-artcrew Kraz [2]"
 	to offer
 		random < 40
 		"combat rating" > 300
-		not "plugin-artcrew Kraz quest completed"
+		not "jm-artcrew Kraz quest completed"
 	on offer
 		conversation
 			`You walk through the spaceport, watching robots slowly load and unload cargo from various ships, when you hear a sudden ruckus. You turn and see a small group of people, most wearing lab coats, exclaiming in dismay as a ship lifts off.`
@@ -160,7 +160,7 @@ mission "plugin-artcrew Kraz [2]"
 			`	Dr. Danifry frowns, then nods stiffly. "That's all we can offer, sorry." The scientists turn and walk away.`
 				decline
 			label ready
-			`	Dr. Danifry's face relaxes. "Thank you. The ship is just a freighter, so it shouldn't be too difficult to disable. And as mentioned, it should still be in the system." You turn to head to your ship. "Oh, wait! One more thing! The equipment is a a bit unpredictable, so please don't board the ship. It may be dangerous if it's malfunctioning."`
+			`	Dr. Danifry's face relaxes. "Thank you. The ship is ... a Bastion, so I hope it won't be too difficult to disable. And as mentioned, it should still be in the system." You turn to head to your ship. "Oh, wait! One more thing! The equipment is a a bit unpredictable, so please don't board the ship. It may be dangerous if it's malfunctioning."`
 				accept
 
 	npc save disable
@@ -174,15 +174,15 @@ mission "plugin-artcrew Kraz [2]"
 		dialog "The runaway ship is still somewhere in <system>. You need to disable it before returning to the scientists."
 	on abort
 		# robots will roll out eventually, but more slowly
-		event "Kraz robots available" 120
+		event "jm-artcrew Kraz robots available" 120
 	on fail
 		dialog "You've disabled that runaway ship all right, and a bit more, too. The scientists from Kraz Cybernetics are going to be upset."
 		# robots will still roll out, but much later
-		event "Kraz robots available" 240
+		event "jm-artcrew Kraz robots available" 240
 	on complete
 		outfit "CX9 Crew Robot"
-		event "Kraz robots available" 14
-		set "plugin-artcrew Kraz quest completed"
+		event "jm-artcrew Kraz robots available" 14
+		set "jm-artcrew Kraz quest completed"
 		conversation
 			`Dr. Danifry is waiting for you when you land. You tell them about the lack of life signs, and she looks at you blankly for a moment. Then she seems to figure out what you're implying, and says, "That's ... not unexpected, and nothing to worry about. Here, let's get your new equipment set up and I think you'll understand."`
 			`	She turns to a nearby dock system console and types a few things in. Robots load two items covered in tarps into your cargo bay. Once inside, she pulls the tarp from one, and underneath is a robot in the shape of a human! Dr. Danifry looks pleased at your surprise.`
@@ -192,7 +192,7 @@ mission "plugin-artcrew Kraz [2]"
 
 
 
-event "Kraz robots available"
+event "jm-artcrew Kraz robots available"
 	set "kraz robots for sale"
 	outfitter "Kraz Basics"
 		"CX9 Crew Robot"
@@ -200,7 +200,7 @@ event "Kraz robots available"
 		"CX9 Crew Robot"
 
 
-mission "plugin-artcrew Kraz robots available"
+mission "jm-artcrew Kraz robots available"
 	landing
 	source
 		near "Kraz" 100
@@ -285,10 +285,6 @@ ship "Bastion" "Runaway Bastion"
 
 
 
-
-
-
-
 # Deep Sky
 # step 1: take coded message to scientist
 # step 2: need mystery hardware from somewhere else
@@ -298,6 +294,26 @@ ship "Bastion" "Runaway Bastion"
 # step 6: AI modules on sale
 
 
+
+
+outfitter "Deep Sky Basics"
+	"VO-104a Helmsman"
+	"VO-107d Tactical Officer"
+	"VO-119zo Security Officer"
+	"VO-108c Science Officer"
+	"VO-114n Engineer"
+
+outfitter "Deep Sky Advanced"
+	"VO-104a Helmsman"
+	"VO-107d Tactical Officer"
+	"VO-119zo Security Officer"
+	"VO-108c Science Officer"
+	"VO-114n Engineer"
+
+
+
+
+
 # Syndicate Systems
 # robots:
 #  step 1: Kraz sells robots
@@ -320,12 +336,12 @@ ship "Bastion" "Runaway Bastion"
 government "Runaway Ship"
 	swizzle 2
 	"player reputation" -1000
-	"hostile hail" "runaway ship hostile"
-	"hostile disabled hail" "runaway ship disabled"
+	"hostile hail" "jm-artcrew runaway ship hostile"
+	"hostile disabled hail" "jm-artcrew runaway ship disabled"
 	"bribe" 0
 	"fine" 0
 
-phrase "runaway ship hostile"
+phrase "jm-artcrew runaway ship hostile"
 	word
 		"You receive no response."
 		"UNKNOWN INPUT PLEASE CONTACT ADMINISTRATOR"
@@ -336,7 +352,7 @@ phrase "runaway ship hostile"
 		"FALLBACK BEHAVIOR INITIATED"
 		"UNKNOWN HOSTILE CONTACT"
 
-phrase "runaway ship disabled"
+phrase "jm-artcrew runaway ship disabled"
 	word
 		"You receive no response."
 		"UNKNOWN INPUT PLEASE CONTACT ADMINISTRATOR"