From 50eca965041f5dff34bdb759039149017fc0c295 Mon Sep 17 00:00:00 2001 From: Buzz-Liteyear0 <146250610+AstralSyntax@users.noreply.github.com> Date: Wed, 3 Apr 2024 10:39:35 -0500 Subject: [PATCH 01/14] starting --- QuestPackages/Lumberjack/package.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 QuestPackages/Lumberjack/package.yml diff --git a/QuestPackages/Lumberjack/package.yml b/QuestPackages/Lumberjack/package.yml new file mode 100644 index 0000000..d1ec56d --- /dev/null +++ b/QuestPackages/Lumberjack/package.yml @@ -0,0 +1,2 @@ +npcs: + '0': "Steve" \ No newline at end of file From ecf8fe54aad8ba5263959a655df7001d5ef09e80 Mon Sep 17 00:00:00 2001 From: Buzz-Liteyear0 <146250610+AstralSyntax@users.noreply.github.com> Date: Wed, 3 Apr 2024 10:40:15 -0500 Subject: [PATCH 02/14] Betonquest Tutorial Quest --- QuestPackages/Lumberjack/package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QuestPackages/Lumberjack/package.yml b/QuestPackages/Lumberjack/package.yml index d1ec56d..832c165 100644 --- a/QuestPackages/Lumberjack/package.yml +++ b/QuestPackages/Lumberjack/package.yml @@ -1,2 +1,2 @@ npcs: - '0': "Steve" \ No newline at end of file + '0': "Steve-o" \ No newline at end of file From 328d74f4d09326d94b141e8c96c9b081c66884b8 Mon Sep 17 00:00:00 2001 From: Buzz-Liteyear0 <146250610+AstralSyntax@users.noreply.github.com> Date: Wed, 3 Apr 2024 10:42:10 -0500 Subject: [PATCH 03/14] basic file setup --- QuestPackages/BatDungeon/package.yml | 2 ++ QuestPackages/Bouncer/package.yml | 2 ++ QuestPackages/Burglar/package.yml | 2 ++ QuestPackages/Courier/package.yml | 2 ++ QuestPackages/Daily/package.yml | 2 ++ QuestPackages/Delivery/package.yml | 2 ++ QuestPackages/Escort/package.yml | 2 ++ QuestPackages/MonsterHunter/package.yml | 2 ++ QuestPackages/RainDance/package.yml | 2 ++ 9 files changed, 18 insertions(+) create mode 100644 QuestPackages/BatDungeon/package.yml create mode 100644 QuestPackages/Bouncer/package.yml create mode 100644 QuestPackages/Burglar/package.yml create mode 100644 QuestPackages/Courier/package.yml create mode 100644 QuestPackages/Daily/package.yml create mode 100644 QuestPackages/Delivery/package.yml create mode 100644 QuestPackages/Escort/package.yml create mode 100644 QuestPackages/MonsterHunter/package.yml create mode 100644 QuestPackages/RainDance/package.yml diff --git a/QuestPackages/BatDungeon/package.yml b/QuestPackages/BatDungeon/package.yml new file mode 100644 index 0000000..832c165 --- /dev/null +++ b/QuestPackages/BatDungeon/package.yml @@ -0,0 +1,2 @@ +npcs: + '0': "Steve-o" \ No newline at end of file diff --git a/QuestPackages/Bouncer/package.yml b/QuestPackages/Bouncer/package.yml new file mode 100644 index 0000000..832c165 --- /dev/null +++ b/QuestPackages/Bouncer/package.yml @@ -0,0 +1,2 @@ +npcs: + '0': "Steve-o" \ No newline at end of file diff --git a/QuestPackages/Burglar/package.yml b/QuestPackages/Burglar/package.yml new file mode 100644 index 0000000..832c165 --- /dev/null +++ b/QuestPackages/Burglar/package.yml @@ -0,0 +1,2 @@ +npcs: + '0': "Steve-o" \ No newline at end of file diff --git a/QuestPackages/Courier/package.yml b/QuestPackages/Courier/package.yml new file mode 100644 index 0000000..832c165 --- /dev/null +++ b/QuestPackages/Courier/package.yml @@ -0,0 +1,2 @@ +npcs: + '0': "Steve-o" \ No newline at end of file diff --git a/QuestPackages/Daily/package.yml b/QuestPackages/Daily/package.yml new file mode 100644 index 0000000..832c165 --- /dev/null +++ b/QuestPackages/Daily/package.yml @@ -0,0 +1,2 @@ +npcs: + '0': "Steve-o" \ No newline at end of file diff --git a/QuestPackages/Delivery/package.yml b/QuestPackages/Delivery/package.yml new file mode 100644 index 0000000..832c165 --- /dev/null +++ b/QuestPackages/Delivery/package.yml @@ -0,0 +1,2 @@ +npcs: + '0': "Steve-o" \ No newline at end of file diff --git a/QuestPackages/Escort/package.yml b/QuestPackages/Escort/package.yml new file mode 100644 index 0000000..832c165 --- /dev/null +++ b/QuestPackages/Escort/package.yml @@ -0,0 +1,2 @@ +npcs: + '0': "Steve-o" \ No newline at end of file diff --git a/QuestPackages/MonsterHunter/package.yml b/QuestPackages/MonsterHunter/package.yml new file mode 100644 index 0000000..832c165 --- /dev/null +++ b/QuestPackages/MonsterHunter/package.yml @@ -0,0 +1,2 @@ +npcs: + '0': "Steve-o" \ No newline at end of file diff --git a/QuestPackages/RainDance/package.yml b/QuestPackages/RainDance/package.yml new file mode 100644 index 0000000..832c165 --- /dev/null +++ b/QuestPackages/RainDance/package.yml @@ -0,0 +1,2 @@ +npcs: + '0': "Steve-o" \ No newline at end of file From 47ea8850cbe3d0a842d16cebcdb1f43fe3e63d2a Mon Sep 17 00:00:00 2001 From: Buzz-Liteyear0 <146250610+AstralSyntax@users.noreply.github.com> Date: Wed, 3 Apr 2024 12:04:19 -0500 Subject: [PATCH 04/14] kyberjack updates --- .../Lumberjack/Conditions/conditions.yml | 2 ++ QuestPackages/Lumberjack/Conversations/Steve.yml | 16 ++++++++++++++++ QuestPackages/Lumberjack/Events/events.yml | 2 ++ .../Lumberjack/Objectives/objectives.yml | 2 ++ QuestPackages/Lumberjack/package.yml | 2 +- 5 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 QuestPackages/Lumberjack/Conditions/conditions.yml create mode 100644 QuestPackages/Lumberjack/Conversations/Steve.yml create mode 100644 QuestPackages/Lumberjack/Events/events.yml create mode 100644 QuestPackages/Lumberjack/Objectives/objectives.yml diff --git a/QuestPackages/Lumberjack/Conditions/conditions.yml b/QuestPackages/Lumberjack/Conditions/conditions.yml new file mode 100644 index 0000000..1655bab --- /dev/null +++ b/QuestPackages/Lumberjack/Conditions/conditions.yml @@ -0,0 +1,2 @@ +conditions: + questStartedTag: tag questStarted # Checks if the player has the tag questStarted \ No newline at end of file diff --git a/QuestPackages/Lumberjack/Conversations/Steve.yml b/QuestPackages/Lumberjack/Conversations/Steve.yml new file mode 100644 index 0000000..e86b927 --- /dev/null +++ b/QuestPackages/Lumberjack/Conversations/Steve.yml @@ -0,0 +1,16 @@ +conversations: + Steve: + quester: 'Steve' #NPC Name + first: 'firstGreeting, questDone, rewardGiven' # The NPC options that will show when the player clicks the NPC + + NPC_options: + firstGreeting: + text: 'Hello %player%! Welcome to the world of BetonQuest! This is an example quest to gather 4 Logs! Do you wish to continue?' + pointer: 'questAccept, questDeny' + + player_options: + questAccept: + text: "Yes! I'd like to try the quest!" + event: 'startQuest' + questDeny: + text: "No. I have something else to do." # We dont really need to set an event here, the conversation will just end. \ No newline at end of file diff --git a/QuestPackages/Lumberjack/Events/events.yml b/QuestPackages/Lumberjack/Events/events.yml new file mode 100644 index 0000000..1fa55d9 --- /dev/null +++ b/QuestPackages/Lumberjack/Events/events.yml @@ -0,0 +1,2 @@ +events: + startQuest: run ^objective add breakLogs ^tag add questStarted # Run the events listed, Started the objective and adding the questStarted tag \ No newline at end of file diff --git a/QuestPackages/Lumberjack/Objectives/objectives.yml b/QuestPackages/Lumberjack/Objectives/objectives.yml new file mode 100644 index 0000000..a85da03 --- /dev/null +++ b/QuestPackages/Lumberjack/Objectives/objectives.yml @@ -0,0 +1,2 @@ +objectives: + breakLogs: 'block LOG -4 events:endQuest' # Player objective to break 4 logs \ No newline at end of file diff --git a/QuestPackages/Lumberjack/package.yml b/QuestPackages/Lumberjack/package.yml index 832c165..d1ec56d 100644 --- a/QuestPackages/Lumberjack/package.yml +++ b/QuestPackages/Lumberjack/package.yml @@ -1,2 +1,2 @@ npcs: - '0': "Steve-o" \ No newline at end of file + '0': "Steve" \ No newline at end of file From 78f27080da10c56ce35e2fed2ed0cdf71520e86e Mon Sep 17 00:00:00 2001 From: Buzz-Liteyear0 <146250610+AstralSyntax@users.noreply.github.com> Date: Wed, 3 Apr 2024 20:17:44 -0500 Subject: [PATCH 05/14] finishing Lumberjack --- QuestPackages/Lumberjack/Conditions/conditions.yml | 2 -- QuestPackages/Lumberjack/Conversations/Steve.yml | 11 ++++++++--- QuestPackages/Lumberjack/Events/events.yml | 2 -- QuestPackages/Lumberjack/Objectives/objectives.yml | 2 -- QuestPackages/Lumberjack/conditions.yml | 3 +++ QuestPackages/Lumberjack/events.yml | 3 +++ QuestPackages/Lumberjack/objectives.yml | 2 ++ QuestPackages/Lumberjack/package.yml | 5 ++++- 8 files changed, 20 insertions(+), 10 deletions(-) delete mode 100644 QuestPackages/Lumberjack/Conditions/conditions.yml delete mode 100644 QuestPackages/Lumberjack/Events/events.yml delete mode 100644 QuestPackages/Lumberjack/Objectives/objectives.yml create mode 100644 QuestPackages/Lumberjack/conditions.yml create mode 100644 QuestPackages/Lumberjack/events.yml create mode 100644 QuestPackages/Lumberjack/objectives.yml diff --git a/QuestPackages/Lumberjack/Conditions/conditions.yml b/QuestPackages/Lumberjack/Conditions/conditions.yml deleted file mode 100644 index 1655bab..0000000 --- a/QuestPackages/Lumberjack/Conditions/conditions.yml +++ /dev/null @@ -1,2 +0,0 @@ -conditions: - questStartedTag: tag questStarted # Checks if the player has the tag questStarted \ No newline at end of file diff --git a/QuestPackages/Lumberjack/Conversations/Steve.yml b/QuestPackages/Lumberjack/Conversations/Steve.yml index e86b927..073fbdc 100644 --- a/QuestPackages/Lumberjack/Conversations/Steve.yml +++ b/QuestPackages/Lumberjack/Conversations/Steve.yml @@ -1,12 +1,17 @@ conversations: Steve: - quester: 'Steve' #NPC Name - first: 'firstGreeting, questDone, rewardGiven' # The NPC options that will show when the player clicks the NPC + quester: 'Steve' # NPC Name + first: 'firstGreeting, questDone, onQuest' # The NPC options that will show when the player clicks the NPC NPC_options: firstGreeting: text: 'Hello %player%! Welcome to the world of BetonQuest! This is an example quest to gather 4 Logs! Do you wish to continue?' - pointer: 'questAccept, questDeny' + pointer: 'questAccept, questDeny' # Point to player options + conditions: '!questDoneTag' # Checks if the player DOES NOT have the tag questDone. "!" Negates the condition and returns TRUE if the player DOES NOT meet the conditions. + onQuest: + text: "You have not completed the quest yet! Come back later!" + questDone: + text: "You have completed the quest already!" player_options: questAccept: diff --git a/QuestPackages/Lumberjack/Events/events.yml b/QuestPackages/Lumberjack/Events/events.yml deleted file mode 100644 index 1fa55d9..0000000 --- a/QuestPackages/Lumberjack/Events/events.yml +++ /dev/null @@ -1,2 +0,0 @@ -events: - startQuest: run ^objective add breakLogs ^tag add questStarted # Run the events listed, Started the objective and adding the questStarted tag \ No newline at end of file diff --git a/QuestPackages/Lumberjack/Objectives/objectives.yml b/QuestPackages/Lumberjack/Objectives/objectives.yml deleted file mode 100644 index a85da03..0000000 --- a/QuestPackages/Lumberjack/Objectives/objectives.yml +++ /dev/null @@ -1,2 +0,0 @@ -objectives: - breakLogs: 'block LOG -4 events:endQuest' # Player objective to break 4 logs \ No newline at end of file diff --git a/QuestPackages/Lumberjack/conditions.yml b/QuestPackages/Lumberjack/conditions.yml new file mode 100644 index 0000000..212db35 --- /dev/null +++ b/QuestPackages/Lumberjack/conditions.yml @@ -0,0 +1,3 @@ +conditions: + questStartedTag: tag questStarted # Checks if the player has the tag questStarted given on quest start - More on TAG Conditions here - https://betonquest.org/2.0-DEV/Documentation/Scripting/Building-Blocks/Conditions-List/#tag-tag + questDoneTag: tag questDone # Checks if the player has the tag questDone given after completing the objective \ No newline at end of file diff --git a/QuestPackages/Lumberjack/events.yml b/QuestPackages/Lumberjack/events.yml new file mode 100644 index 0000000..ee947a2 --- /dev/null +++ b/QuestPackages/Lumberjack/events.yml @@ -0,0 +1,3 @@ +events: + startQuest: run ^objective add breakLogs ^tag add questStarted # Run the events listed, Starting the objective and Adding the questStarted tag. More on RUN events here - https://betonquest.org/2.0-DEV/Documentation/Scripting/Building-Blocks/Events-List/#run-events-run + endQuest: run ^tag del questStarted ^tag add questDone ^give diamond:1 # Run the events listed, Delete the questStarted tag, add the questDone tag, and give the player 1 Diamond \ No newline at end of file diff --git a/QuestPackages/Lumberjack/objectives.yml b/QuestPackages/Lumberjack/objectives.yml new file mode 100644 index 0000000..4a7bbd5 --- /dev/null +++ b/QuestPackages/Lumberjack/objectives.yml @@ -0,0 +1,2 @@ +objectives: + breakLogs: 'block LOG -4 event:endQuest' # Player objective to break 4 logs - https://betonquest.org/2.0-DEV/Documentation/Scripting/Building-Blocks/Objectives-List/#break-or-place-blocks-block \ No newline at end of file diff --git a/QuestPackages/Lumberjack/package.yml b/QuestPackages/Lumberjack/package.yml index d1ec56d..59766f6 100644 --- a/QuestPackages/Lumberjack/package.yml +++ b/QuestPackages/Lumberjack/package.yml @@ -1,2 +1,5 @@ npcs: - '0': "Steve" \ No newline at end of file + '0': "Steve" # NPC ID and Name + +items: # The item section is where you define quest items - https://betonquest.org/2.0-DEV/Documentation/Features/Items/ + diamond: diamond \ No newline at end of file From ea45012ceaf4e411eec422adc6f6aa9e53b32776 Mon Sep 17 00:00:00 2001 From: Buzz-Liteyear0 <146250610+AstralSyntax@users.noreply.github.com> Date: Wed, 3 Apr 2024 20:23:10 -0500 Subject: [PATCH 06/14] Lumberjack finished --- QuestPackages/Lumberjack/objectives.yml | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 QuestPackages/Lumberjack/objectives.yml diff --git a/QuestPackages/Lumberjack/objectives.yml b/QuestPackages/Lumberjack/objectives.yml deleted file mode 100644 index 4a7bbd5..0000000 --- a/QuestPackages/Lumberjack/objectives.yml +++ /dev/null @@ -1,2 +0,0 @@ -objectives: - breakLogs: 'block LOG -4 event:endQuest' # Player objective to break 4 logs - https://betonquest.org/2.0-DEV/Documentation/Scripting/Building-Blocks/Objectives-List/#break-or-place-blocks-block \ No newline at end of file From 4759b03e04b0f1fa8922cd44a721d0c8af1676a3 Mon Sep 17 00:00:00 2001 From: Buzz-Liteyear0 <146250610+AstralSyntax@users.noreply.github.com> Date: Wed, 3 Apr 2024 20:24:25 -0500 Subject: [PATCH 07/14] fix typo --- QuestPackages/Lumberjack/objectives.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 QuestPackages/Lumberjack/objectives.yml diff --git a/QuestPackages/Lumberjack/objectives.yml b/QuestPackages/Lumberjack/objectives.yml new file mode 100644 index 0000000..8807e2d --- /dev/null +++ b/QuestPackages/Lumberjack/objectives.yml @@ -0,0 +1,2 @@ +objectives: + breakLogs: 'block OAK_LOG -4 notify event:endQuest' # Player objective to break 4 logs. Adding 'notify' sends the message a player throught the objective letting them know progress. - https://betonquest.org/2.0-DEV/Documentation/Scripting/Building-Blocks/Objectives-List/#break-or-place-blocks-block \ No newline at end of file From a86600ee1e4d67af7c8559b2adace0526462347e Mon Sep 17 00:00:00 2001 From: Buzz-Liteyear0 <146250610+AstralSyntax@users.noreply.github.com> Date: Wed, 3 Apr 2024 20:27:49 -0500 Subject: [PATCH 08/14] fixed typo --- QuestPackages/Lumberjack/Conversations/Steve.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/QuestPackages/Lumberjack/Conversations/Steve.yml b/QuestPackages/Lumberjack/Conversations/Steve.yml index 073fbdc..9851cde 100644 --- a/QuestPackages/Lumberjack/Conversations/Steve.yml +++ b/QuestPackages/Lumberjack/Conversations/Steve.yml @@ -10,8 +10,10 @@ conversations: conditions: '!questDoneTag' # Checks if the player DOES NOT have the tag questDone. "!" Negates the condition and returns TRUE if the player DOES NOT meet the conditions. onQuest: text: "You have not completed the quest yet! Come back later!" + conditions: 'questStartedTag' questDone: text: "You have completed the quest already!" + conditions: 'questDoneTag' player_options: questAccept: From 2b794a40dd9a77c27efd46d4533ea994b6091bcf Mon Sep 17 00:00:00 2001 From: Buzz-Liteyear0 <146250610+AstralSyntax@users.noreply.github.com> Date: Wed, 3 Apr 2024 20:28:14 -0500 Subject: [PATCH 09/14] fixed typo --- QuestPackages/Lumberjack/objectives.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QuestPackages/Lumberjack/objectives.yml b/QuestPackages/Lumberjack/objectives.yml index 8807e2d..a9152ec 100644 --- a/QuestPackages/Lumberjack/objectives.yml +++ b/QuestPackages/Lumberjack/objectives.yml @@ -1,2 +1,2 @@ objectives: - breakLogs: 'block OAK_LOG -4 notify event:endQuest' # Player objective to break 4 logs. Adding 'notify' sends the message a player throught the objective letting them know progress. - https://betonquest.org/2.0-DEV/Documentation/Scripting/Building-Blocks/Objectives-List/#break-or-place-blocks-block \ No newline at end of file + breakLogs: 'block OAK_LOG -4 notify event:endQuest' # Player objective to break 4 logs. Adding 'notify' sends the player a message through the objective letting them know progress. - https://betonquest.org/2.0-DEV/Documentation/Scripting/Building-Blocks/Objectives-List/#break-or-place-blocks-block \ No newline at end of file From 2d9424decd1b38e0359cd75f8aab02a1d99077e8 Mon Sep 17 00:00:00 2001 From: Buzz-Liteyear0 <146250610+AstralSyntax@users.noreply.github.com> Date: Thu, 4 Apr 2024 01:20:51 -0500 Subject: [PATCH 10/14] Started on Delivery --- QuestPackages/Delivery/Conditions.yml | 0 QuestPackages/Delivery/Conversations/Steve.yml | 4 ++++ QuestPackages/Delivery/Conversations/Steve2.yml | 0 QuestPackages/Delivery/Events.yml | 0 QuestPackages/Delivery/Objectives.yml | 0 QuestPackages/Delivery/package.yml | 3 ++- 6 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 QuestPackages/Delivery/Conditions.yml create mode 100644 QuestPackages/Delivery/Conversations/Steve.yml create mode 100644 QuestPackages/Delivery/Conversations/Steve2.yml create mode 100644 QuestPackages/Delivery/Events.yml create mode 100644 QuestPackages/Delivery/Objectives.yml diff --git a/QuestPackages/Delivery/Conditions.yml b/QuestPackages/Delivery/Conditions.yml new file mode 100644 index 0000000..e69de29 diff --git a/QuestPackages/Delivery/Conversations/Steve.yml b/QuestPackages/Delivery/Conversations/Steve.yml new file mode 100644 index 0000000..d51eba8 --- /dev/null +++ b/QuestPackages/Delivery/Conversations/Steve.yml @@ -0,0 +1,4 @@ +conversations: + Steve: + quester: "Steve" + first: "welcome, questStarted, questDone" \ No newline at end of file diff --git a/QuestPackages/Delivery/Conversations/Steve2.yml b/QuestPackages/Delivery/Conversations/Steve2.yml new file mode 100644 index 0000000..e69de29 diff --git a/QuestPackages/Delivery/Events.yml b/QuestPackages/Delivery/Events.yml new file mode 100644 index 0000000..e69de29 diff --git a/QuestPackages/Delivery/Objectives.yml b/QuestPackages/Delivery/Objectives.yml new file mode 100644 index 0000000..e69de29 diff --git a/QuestPackages/Delivery/package.yml b/QuestPackages/Delivery/package.yml index 832c165..58ebcf4 100644 --- a/QuestPackages/Delivery/package.yml +++ b/QuestPackages/Delivery/package.yml @@ -1,2 +1,3 @@ npcs: - '0': "Steve-o" \ No newline at end of file + '0': "Steve" + '1': "Steve2" \ No newline at end of file From df6a81e0ec88a26f3025bfd9354341eb9891342b Mon Sep 17 00:00:00 2001 From: Buzz-Liteyear0 <146250610+AstralSyntax@users.noreply.github.com> Date: Thu, 4 Apr 2024 21:16:24 -0500 Subject: [PATCH 11/14] Added MonsterHunter quest --- .../MonsterHunter/Conversations/Steve.yml | 22 +++++++++++++++++++ QuestPackages/MonsterHunter/conditions.yml | 3 +++ QuestPackages/MonsterHunter/events.yml | 5 +++++ QuestPackages/MonsterHunter/objectives.yml | 4 ++++ QuestPackages/MonsterHunter/package.yml | 5 ++++- 5 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 QuestPackages/MonsterHunter/Conversations/Steve.yml create mode 100644 QuestPackages/MonsterHunter/conditions.yml create mode 100644 QuestPackages/MonsterHunter/events.yml create mode 100644 QuestPackages/MonsterHunter/objectives.yml diff --git a/QuestPackages/MonsterHunter/Conversations/Steve.yml b/QuestPackages/MonsterHunter/Conversations/Steve.yml new file mode 100644 index 0000000..a25e0b7 --- /dev/null +++ b/QuestPackages/MonsterHunter/Conversations/Steve.yml @@ -0,0 +1,22 @@ +conversations: + Steve: + quester: 'Steve' + first: 'welcome, questStarted, questDone' + NPC_options: + welcome: + text: "Welcome to the MonsterHunter quest tutorial %player%! This is an example quest to hunt down 10 zombies, 5 skeleton, and 3 creepers! We could kill them all at once, but i chose to showcase what it would be like to have 'stages' of sorts going from one objective to another" + pointer: 'acceptQuest, denyQuest' + condition: '!questStarted,!questDone' + questStarted: + text: "You have not completed the quest yet!" + condition: 'questStarted, !questDone' # Another examplke of negating conditions, we can negate one but not the other. Again just put ! in front of the conditions you wish to negate. + questDone: + text: "You finished the Quest!" + condition: 'questDone' + + player_options: + acceptQuest: + text: "Accpet Quest" + event: 'startQuestObj1' + denyQuest: + text: "Deny Quest" \ No newline at end of file diff --git a/QuestPackages/MonsterHunter/conditions.yml b/QuestPackages/MonsterHunter/conditions.yml new file mode 100644 index 0000000..08dc306 --- /dev/null +++ b/QuestPackages/MonsterHunter/conditions.yml @@ -0,0 +1,3 @@ +conditions: + questStarted: tag questStarted + questDone: tag questDone \ No newline at end of file diff --git a/QuestPackages/MonsterHunter/events.yml b/QuestPackages/MonsterHunter/events.yml new file mode 100644 index 0000000..bee59fb --- /dev/null +++ b/QuestPackages/MonsterHunter/events.yml @@ -0,0 +1,5 @@ +events: + startQuestObj1: run ^objective add killZombie ^tag add questStarted ^notify Kill 10 Zombies! # Our NOTIFY event sends a message to the player with the given string - https://betonquest.org/2.0-DEV/Documentation/Scripting/Building-Blocks/Events-List/#sending-notifications-notify + startQuestObj2: run ^objective add killSkeleton ^notify Kill 5 Skeletons! + startQuestObj3: run ^objective add killCreeper ^notify Kill 3 Creepers! + endQuest: run ^tag delete questStarted ^tag add questDone ^give diamond:1 ^notify You have completed MonsterHunter quest! # We have already covered RUN events in other packages - https://betonquest.org/2.0-DEV/Documentation/Scripting/Building-Blocks/Events-List/#run-events-run and GIVE events - https://betonquest.org/2.0-DEV/Documentation/Scripting/Building-Blocks/Events-List/#give-items-give \ No newline at end of file diff --git a/QuestPackages/MonsterHunter/objectives.yml b/QuestPackages/MonsterHunter/objectives.yml new file mode 100644 index 0000000..b82a71e --- /dev/null +++ b/QuestPackages/MonsterHunter/objectives.yml @@ -0,0 +1,4 @@ +objectives: + killZombie: mobkill ZOMBIE 10 notify event:startQuestObj2 # We use the mobkill objective here - https://betonquest.org/2.0-DEV/Documentation/Scripting/Building-Blocks/Objectives-List/#entity-kill-mobkill + killSkeleton: mobkill SKELETON 5 notify event:startQuestObj3 + killCreeper: mobkill CREEPER 3 notify event:endQuest \ No newline at end of file diff --git a/QuestPackages/MonsterHunter/package.yml b/QuestPackages/MonsterHunter/package.yml index 832c165..e3f8b88 100644 --- a/QuestPackages/MonsterHunter/package.yml +++ b/QuestPackages/MonsterHunter/package.yml @@ -1,2 +1,5 @@ npcs: - '0': "Steve-o" \ No newline at end of file + '0': "Steve" + +items: + diamond: diamond \ No newline at end of file From 18ec7bc2738a4386c389faee5eb90434bdb708b4 Mon Sep 17 00:00:00 2001 From: Buzz-Liteyear0 <146250610+AstralSyntax@users.noreply.github.com> Date: Sun, 7 Apr 2024 21:13:35 -0500 Subject: [PATCH 12/14] started bat dungeon --- QuestPackages/BatDungeon/Conversations/Steve.yml | 9 +++++++++ QuestPackages/BatDungeon/package.yml | 6 +++++- QuestPackages/Delivery/Conditions.yml | 0 QuestPackages/Delivery/Events.yml | 0 QuestPackages/Delivery/Objectives.yml | 0 QuestPackages/MonsterHunter/Conversations/Steve.yml | 5 +++-- 6 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 QuestPackages/BatDungeon/Conversations/Steve.yml delete mode 100644 QuestPackages/Delivery/Conditions.yml delete mode 100644 QuestPackages/Delivery/Events.yml delete mode 100644 QuestPackages/Delivery/Objectives.yml diff --git a/QuestPackages/BatDungeon/Conversations/Steve.yml b/QuestPackages/BatDungeon/Conversations/Steve.yml new file mode 100644 index 0000000..6d63733 --- /dev/null +++ b/QuestPackages/BatDungeon/Conversations/Steve.yml @@ -0,0 +1,9 @@ +conversation: + Steve: + quester: 'Steve' # NPC Name + first: 'welcome' # The NPC options that will show when the player clicks the NPC + + NPC_options: + welcome: + text: "Hey %player%! Welcome to the BatDungeon tutorial quest! This quest will give you an example of teleporting a player, killing mobs, and using variables!" + \ No newline at end of file diff --git a/QuestPackages/BatDungeon/package.yml b/QuestPackages/BatDungeon/package.yml index 832c165..cc40649 100644 --- a/QuestPackages/BatDungeon/package.yml +++ b/QuestPackages/BatDungeon/package.yml @@ -1,2 +1,6 @@ npcs: - '0': "Steve-o" \ No newline at end of file + '0': "Steve" + +variables: + caveLoc: + returnLoc: \ No newline at end of file diff --git a/QuestPackages/Delivery/Conditions.yml b/QuestPackages/Delivery/Conditions.yml deleted file mode 100644 index e69de29..0000000 diff --git a/QuestPackages/Delivery/Events.yml b/QuestPackages/Delivery/Events.yml deleted file mode 100644 index e69de29..0000000 diff --git a/QuestPackages/Delivery/Objectives.yml b/QuestPackages/Delivery/Objectives.yml deleted file mode 100644 index e69de29..0000000 diff --git a/QuestPackages/MonsterHunter/Conversations/Steve.yml b/QuestPackages/MonsterHunter/Conversations/Steve.yml index a25e0b7..1e1c1c7 100644 --- a/QuestPackages/MonsterHunter/Conversations/Steve.yml +++ b/QuestPackages/MonsterHunter/Conversations/Steve.yml @@ -1,7 +1,8 @@ conversations: Steve: - quester: 'Steve' - first: 'welcome, questStarted, questDone' + quester: 'Steve' # NPC Name + first: 'welcome, questStarted, questDone' # The NPC options that will show when the player clicks the NPC + NPC_options: welcome: text: "Welcome to the MonsterHunter quest tutorial %player%! This is an example quest to hunt down 10 zombies, 5 skeleton, and 3 creepers! We could kill them all at once, but i chose to showcase what it would be like to have 'stages' of sorts going from one objective to another" From b153cd326a31c31dcca713fe7b02c011425865a3 Mon Sep 17 00:00:00 2001 From: Buzz-Liteyear0 <146250610+AstralSyntax@users.noreply.github.com> Date: Sun, 7 Apr 2024 23:49:44 -0500 Subject: [PATCH 13/14] BatDungeon updates --- QuestPackages/BatDungeon/Conversations/Steve.yml | 8 +++++++- QuestPackages/BatDungeon/events.yml | 5 +++++ QuestPackages/BatDungeon/objectives.yml | 0 QuestPackages/BatDungeon/package.yml | 5 +++-- 4 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 QuestPackages/BatDungeon/events.yml create mode 100644 QuestPackages/BatDungeon/objectives.yml diff --git a/QuestPackages/BatDungeon/Conversations/Steve.yml b/QuestPackages/BatDungeon/Conversations/Steve.yml index 6d63733..37bfb2d 100644 --- a/QuestPackages/BatDungeon/Conversations/Steve.yml +++ b/QuestPackages/BatDungeon/Conversations/Steve.yml @@ -6,4 +6,10 @@ conversation: NPC_options: welcome: text: "Hey %player%! Welcome to the BatDungeon tutorial quest! This quest will give you an example of teleporting a player, killing mobs, and using variables!" - \ No newline at end of file + pointer: "acceptQuest,denyQuest" + + player_options: + acceptQuest: + text: "Start Quest" + denyQuest: + text: "Deny Quest" \ No newline at end of file diff --git a/QuestPackages/BatDungeon/events.yml b/QuestPackages/BatDungeon/events.yml new file mode 100644 index 0000000..b8f7b94 --- /dev/null +++ b/QuestPackages/BatDungeon/events.yml @@ -0,0 +1,5 @@ +events: + teleportToCave: "teleport $caveLoc$" # We use the variable with '$variableName$' and we can use it in most event arguments. + teleportToNPC: "teleport $returnLoc$" + spawnBats: "spawn $batSpawn$ marked:targets" + startQuest: "folder" \ No newline at end of file diff --git a/QuestPackages/BatDungeon/objectives.yml b/QuestPackages/BatDungeon/objectives.yml new file mode 100644 index 0000000..e69de29 diff --git a/QuestPackages/BatDungeon/package.yml b/QuestPackages/BatDungeon/package.yml index cc40649..36387a5 100644 --- a/QuestPackages/BatDungeon/package.yml +++ b/QuestPackages/BatDungeon/package.yml @@ -2,5 +2,6 @@ npcs: '0': "Steve" variables: - caveLoc: - returnLoc: \ No newline at end of file + caveLoc: "0;0;0;world" # X;Y;Z;world_name + returnLoc: "0;0;0;world" # X;Y;Z;world_name + batSpawn: "0;0;0;world BAT 5" # X;Y;Z;world_name MOBNAME amount \ No newline at end of file From 50e8036a2b4bee50f58d923a46a4f921f0b4c711 Mon Sep 17 00:00:00 2001 From: Buzz-Liteyear0 <146250610+AstralSyntax@users.noreply.github.com> Date: Mon, 8 Apr 2024 10:01:19 -0500 Subject: [PATCH 14/14] BatDungeon update --- QuestPackages/BatDungeon/Conversations/Steve.yml | 9 ++++++++- QuestPackages/BatDungeon/events.yml | 7 ++++++- QuestPackages/BatDungeon/objectives.yml | 2 ++ QuestPackages/BatDungeon/package.yml | 8 ++++---- 4 files changed, 20 insertions(+), 6 deletions(-) diff --git a/QuestPackages/BatDungeon/Conversations/Steve.yml b/QuestPackages/BatDungeon/Conversations/Steve.yml index 37bfb2d..e40b6d8 100644 --- a/QuestPackages/BatDungeon/Conversations/Steve.yml +++ b/QuestPackages/BatDungeon/Conversations/Steve.yml @@ -6,10 +6,17 @@ conversation: NPC_options: welcome: text: "Hey %player%! Welcome to the BatDungeon tutorial quest! This quest will give you an example of teleporting a player, killing mobs, and using variables!" + pointer: continue + npcCont: + text: "Head over to the BatDungeon Quest Package and head to the package.yml file. you'll notice line 5,6,7 accept coords. Change these to the coords for your world before starting the quest please" pointer: "acceptQuest,denyQuest" player_options: acceptQuest: text: "Start Quest" + event: "startQuest" denyQuest: - text: "Deny Quest" \ No newline at end of file + text: "Deny Quest" + continue: + text: "&7(...)" + pointer: "npcCont" \ No newline at end of file diff --git a/QuestPackages/BatDungeon/events.yml b/QuestPackages/BatDungeon/events.yml index b8f7b94..3e0e7cd 100644 --- a/QuestPackages/BatDungeon/events.yml +++ b/QuestPackages/BatDungeon/events.yml @@ -2,4 +2,9 @@ events: teleportToCave: "teleport $caveLoc$" # We use the variable with '$variableName$' and we can use it in most event arguments. teleportToNPC: "teleport $returnLoc$" spawnBats: "spawn $batSpawn$ marked:targets" - startQuest: "folder" \ No newline at end of file + startObj: "objective add killBats" + reward: "give diamond:1" + + startQuest: "folder teleportToCave,spawnBats,startObj" # Folder events can run multiple pre defined events back to back. More on Folders here - https://betonquest.org/2.0-DEV/Documentation/Scripting/Building-Blocks/Events-List/#run-multiple-events-folder + + endQuest: "folder teleportToNPC,reward" \ No newline at end of file diff --git a/QuestPackages/BatDungeon/objectives.yml b/QuestPackages/BatDungeon/objectives.yml index e69de29..4546913 100644 --- a/QuestPackages/BatDungeon/objectives.yml +++ b/QuestPackages/BatDungeon/objectives.yml @@ -0,0 +1,2 @@ +objective: + killBats: "mobkill BAT 5 notify events:endQuest" \ No newline at end of file diff --git a/QuestPackages/BatDungeon/package.yml b/QuestPackages/BatDungeon/package.yml index 36387a5..abd579b 100644 --- a/QuestPackages/BatDungeon/package.yml +++ b/QuestPackages/BatDungeon/package.yml @@ -1,7 +1,7 @@ npcs: '0': "Steve" -variables: - caveLoc: "0;0;0;world" # X;Y;Z;world_name - returnLoc: "0;0;0;world" # X;Y;Z;world_name - batSpawn: "0;0;0;world BAT 5" # X;Y;Z;world_name MOBNAME amount \ No newline at end of file +variables: # Variables are useful for a tons of things, here we use them basically like a config file, where the coords you set below will automatically be the ones used during the quest + caveLoc: "0;0;0;world" # X;Y;Z;world_name - Location of your Cave + returnLoc: "0;0;0;world" # X;Y;Z;world_name - Location of your NPC + batSpawn: "0;0;0;world BAT 5" # X;Y;Z;world_name MOBNAME amount - Spawn Bats location and amount \ No newline at end of file