浏览代码

make the kraz quests mutually exclusive

john melesky 2 年之前
父节点
当前提交
5336101aef
共有 1 个文件被更改,包括 9 次插入1 次删除
  1. 9 1
      data/artificial-crew-quests.txt

+ 9 - 1
data/artificial-crew-quests.txt

@@ -9,6 +9,7 @@ mission "plugin-artcrew Kraz [0]"
 	to offer
 		"combat rating" > 5
 		"combat rating" < 100
+		not "plugin-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.`
@@ -53,6 +54,7 @@ mission "plugin-artcrew Kraz [0]"
 	on complete
 		outfit "CX9 Crew Robot"
 		event "Kraz robots available" 14
+		set "plugin-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.`
@@ -70,6 +72,7 @@ mission "plugin-artcrew Kraz [1]"
 	to offer
 		"combat rating" > 100
 		"combat rating" < 300
+		not "plugin-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.`
@@ -114,6 +117,7 @@ mission "plugin-artcrew Kraz [1]"
 	on complete
 		outfit "CX9 Crew Robot"
 		event "Kraz robots available" 14
+		set "plugin-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.`
@@ -130,6 +134,7 @@ mission "plugin-artcrew Kraz [2]"
 		attribute "rim"
 	to offer
 		"combat rating" > 300
+		not "plugin-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.`
@@ -174,6 +179,7 @@ mission "plugin-artcrew Kraz [2]"
 	on complete
 		outfit "CX9 Crew Robot"
 		event "Kraz robots available" 14
+		set "plugin-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.`
@@ -185,6 +191,8 @@ mission "plugin-artcrew Kraz [2]"
 
 event "Kraz robots available"
 	set "kraz robots for sale"
+	outfitter "Kraz Basics"
+		"CX9 Crew Robot"
 	outfitter "Kraz Advanced"
 		"CX9 Crew Robot"
 
@@ -199,7 +207,7 @@ mission "plugin-artcrew Kraz robots available"
 		conversation
 			`An advertisement crossing your feed catches your eye.`
 			`	"Kraz Cybernetics is pleased to announce the release of the CX9 Crew Robot! Able to serve any crew function! Now available in select outfitters."`
-			decline
+				decline