Skip to content

Commit

Permalink
Updated quests to act as delivery method for team sensing sensors -- …
Browse files Browse the repository at this point in the history
…will use rest of quest stuff for next year
  • Loading branch information
Finn committed Nov 23, 2024
1 parent ff0f896 commit 26ec654
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 43 deletions.
10 changes: 8 additions & 2 deletions assets/lt/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -692,12 +692,15 @@
"lt.quest.cents_intro.meet_leader.6": "We're going to steal the vote. ",
"lt.quest.cents_intro.meet_leader.7": "And it's only right that Cents should be on top. They simply make the most sense.",
"lt.quest.cents_intro.meet_leader.8": "But you know what doesn't make sense? Those nonsensical anti-cent fools!",
"lt.quest.cents_intro.meet_leader.9": "I just know they won't let this vote play out by the book which is why we have to stop them.",
"lt.quest.cents_intro.meet_leader.9": "I just know they won't let this count play out by the book which is why we have to stop them.",
"lt.quest.cents_intro.meet_leader.10": "It's gonna take guts! It's gonna take guile! But we've got both by the boatload!",
"lt.quest.cents_intro.meet_leader.11": "Hoo-rah!",
"lt.quest.cents_intro.meet_leader.12": "§lHOO-RAH!",
"lt.quest.cents_intro.meet_leader.13": "Haha, alright I like the energy. I just know you'll do great things.",
"lt.quest.cents_intro.meet_leader.13": "Haha, alright I like the energy!",
"lt.quest.cents_intro.meet_leader.14new": "Oh and take these. The badge is for style, and the glasses are a nifty gadget we call the Nonsense Sensors.",
"lt.quest.cents_intro.meet_leader.14": "The plans not ready, but our people are working on it as we speak.",
"lt.quest.cents_intro.meet_leader.15new": "Put 'em on and they'll reveal the fools who joined team No Cents.",
"lt.quest.cents_intro.meet_leader.16new": "I just know you'll do great things with us here.",
"lt.quest.cents_intro.meet_leader.15": "Take a look around, get to know the place.",
"lt.quest.cents_intro.meet_leader.16": "We'll contact you again once our plan is finalized.",
"lt.quest.cents_intro.meet_leader.17": "For now, take this badge and go spread the word. Team Cents forever!",
Expand Down Expand Up @@ -731,6 +734,9 @@
"lt.quest.no_cents_intro.meet_leader.5": "And we need every bit of help we can get!",
"lt.quest.no_cents_intro.meet_leader.6": "It's always good to have another no nonsense person, ce-… the others simply can't have a place at the table!",
"lt.quest.no_cents_intro.meet_leader.7": "But, I suppose you already know that…",
"lt.quest.no_cents_intro.meet_leader.8new": "Anyways, you'll be wanting these. They're Cent Sensors.",
"lt.quest.no_cents_intro.meet_leader.9new": "If you put them on, they'll reveal exactly who joined Team Cents.",
"lt.quest.no_cents_intro.meet_leader.10new": "And thank you again for volunteering with us!",
"lt.quest.no_cents_intro.meet_leader.8": "There's plenty to do so don't be shy.",
"lt.quest.no_cents_intro.meet_leader.9": "Ask around in the office and I'm sure we can find you a job.",
"lt.quest.no_cents_intro.meet_leader.10": "If not, then I'll make sure the next mission that comes through gets assigned directly to you!",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,66 +23,66 @@ execute if score @s quest.dia.target_line matches 4 run tellraw @s [{"text":"Cha
execute if score @s quest.dia.target_line matches 4 run playsound minecraft:entity.illusioner.ambient master @s
execute if score @s quest.dia.target_line matches 4 run scoreboard players set @s quest.dia.line_time 60

execute if score @s quest.dia.target_line matches 5 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.5","color": "gray"}]
#execute if score @s quest.dia.target_line matches 5 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.5","color": "gray"}]
#execute if score @s quest.dia.target_line matches 5 run playsound minecraft:entity.illusioner.ambient master @s
#execute if score @s quest.dia.target_line matches 5 run scoreboard players set @s quest.dia.line_time 60

#execute if score @s quest.dia.target_line matches 6 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.6","color": "gray"}]
#execute if score @s quest.dia.target_line matches 6 run playsound minecraft:entity.illusioner.ambient master @s
#execute if score @s quest.dia.target_line matches 6 run scoreboard players set @s quest.dia.line_time 60

execute if score @s quest.dia.target_line matches 5 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.7","color": "gray"}]
execute if score @s quest.dia.target_line matches 5 run playsound minecraft:entity.illusioner.ambient master @s
execute if score @s quest.dia.target_line matches 5 run scoreboard players set @s quest.dia.line_time 60

execute if score @s quest.dia.target_line matches 6 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.6","color": "gray"}]
execute if score @s quest.dia.target_line matches 6 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.8","color": "gray"}]
execute if score @s quest.dia.target_line matches 6 run playsound minecraft:entity.illusioner.ambient master @s
execute if score @s quest.dia.target_line matches 6 run scoreboard players set @s quest.dia.line_time 60

execute if score @s quest.dia.target_line matches 7 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.7","color": "gray"}]
execute if score @s quest.dia.target_line matches 7 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.9","color": "gray"}]
execute if score @s quest.dia.target_line matches 7 run playsound minecraft:entity.illusioner.ambient master @s
execute if score @s quest.dia.target_line matches 7 run scoreboard players set @s quest.dia.line_time 60

execute if score @s quest.dia.target_line matches 8 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.8","color": "gray"}]
execute if score @s quest.dia.target_line matches 8 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.10","color": "gray"}]
execute if score @s quest.dia.target_line matches 8 run playsound minecraft:entity.illusioner.ambient master @s
execute if score @s quest.dia.target_line matches 8 run scoreboard players set @s quest.dia.line_time 60

execute if score @s quest.dia.target_line matches 9 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.9","color": "gray"}]
execute if score @s quest.dia.target_line matches 9 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.11","color": "gray"}]
execute if score @s quest.dia.target_line matches 9 run playsound minecraft:entity.illusioner.ambient master @s
execute if score @s quest.dia.target_line matches 9 run scoreboard players set @s quest.dia.line_time 60

execute if score @s quest.dia.target_line matches 10 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.10","color": "gray"}]
execute if score @s quest.dia.target_line matches 9 run playsound minecraft:entity.pillager.celebrate master @s
execute if score @s quest.dia.target_line matches 9 run scoreboard players set @s quest.dia.line_time 20

execute if score @s quest.dia.target_line matches 10 run tellraw @s [{"text":"[Dan]","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.12","color": "gray"}]
execute if score @s quest.dia.target_line matches 10 run tellraw @s [{"text":"Claire","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.12","color": "gray"}]
execute if score @s quest.dia.target_line matches 10 run tellraw @s [{"text":"Meddlesome Mike","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.12","color": "gray"}]
execute if score @s quest.dia.target_line matches 10 run tellraw @s [{"text":"Hacker Hank","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.12","color": "gray"}]
execute if score @s quest.dia.target_line matches 10 run tellraw @s [{"selector":"@s","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.12","color": "gray"}]
execute if score @s quest.dia.target_line matches 10 run playsound minecraft:entity.illusioner.ambient master @s
execute if score @s quest.dia.target_line matches 10 run playsound minecraft:entity.pillager.celebrate master @s
execute if score @s quest.dia.target_line matches 10 run scoreboard players set @s quest.dia.line_time 60

execute if score @s quest.dia.target_line matches 11 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.11","color": "gray"}]
execute if score @s quest.dia.target_line matches 11 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.13","color": "gray"}]
execute if score @s quest.dia.target_line matches 11 run playsound minecraft:entity.illusioner.ambient master @s
execute if score @s quest.dia.target_line matches 11 run playsound minecraft:entity.pillager.celebrate master @s
execute if score @s quest.dia.target_line matches 11 run scoreboard players set @s quest.dia.line_time 20

execute if score @s quest.dia.target_line matches 12 run tellraw @s [{"text":"[Dan]","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.12","color": "gray"}]
execute if score @s quest.dia.target_line matches 12 run tellraw @s [{"text":"Claire","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.12","color": "gray"}]
execute if score @s quest.dia.target_line matches 12 run tellraw @s [{"text":"Meddlesome Mike","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.12","color": "gray"}]
execute if score @s quest.dia.target_line matches 12 run tellraw @s [{"text":"Hacker Hank","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.12","color": "gray"}]
execute if score @s quest.dia.target_line matches 12 run tellraw @s [{"selector":"@s","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.12","color": "gray"}]
execute if score @s quest.dia.target_line matches 11 run scoreboard players set @s quest.dia.line_time 60

execute if score @s quest.dia.target_line matches 12 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.14new","color": "gray"}]
execute if score @s quest.dia.target_line matches 12 run playsound minecraft:entity.illusioner.ambient master @s
execute if score @s quest.dia.target_line matches 12 run playsound minecraft:entity.pillager.celebrate master @s
execute if score @s quest.dia.target_line matches 12 run scoreboard players set @s quest.dia.line_time 60

execute if score @s quest.dia.target_line matches 13 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.13","color": "gray"}]
execute if score @s quest.dia.target_line matches 13 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.15new","color": "gray"}]
execute if score @s quest.dia.target_line matches 13 run playsound minecraft:entity.illusioner.ambient master @s
execute if score @s quest.dia.target_line matches 13 run scoreboard players set @s quest.dia.line_time 60

execute if score @s quest.dia.target_line matches 14 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.14","color": "gray"}]
execute if score @s quest.dia.target_line matches 14 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.16new","color": "gray"}]
execute if score @s quest.dia.target_line matches 14 run playsound minecraft:entity.illusioner.ambient master @s
execute if score @s quest.dia.target_line matches 14 run scoreboard players set @s quest.dia.line_time 60

execute if score @s quest.dia.target_line matches 15 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.15","color": "gray"}]
execute if score @s quest.dia.target_line matches 15 run playsound minecraft:entity.illusioner.ambient master @s
execute if score @s quest.dia.target_line matches 15 run scoreboard players set @s quest.dia.line_time 60

execute if score @s quest.dia.target_line matches 16 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.16","color": "gray"}]
execute if score @s quest.dia.target_line matches 16 run playsound minecraft:entity.illusioner.ambient master @s
execute if score @s quest.dia.target_line matches 16 run scoreboard players set @s quest.dia.line_time 60

execute if score @s quest.dia.target_line matches 17 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.17","color": "gray"}]
execute if score @s quest.dia.target_line matches 17 run playsound minecraft:entity.illusioner.ambient master @s
execute if score @s quest.dia.target_line matches 17 run scoreboard players set @s quest.dia.line_time 60
#execute if score @s quest.dia.target_line matches 17 run tellraw @s [{"text":"Change Centara","color":"#E47E02"},{"text": ": ","color": "gray"},{"translate": "lt.quest.cents_intro.meet_leader.17","color": "gray"}]
#execute if score @s quest.dia.target_line matches 17 run playsound minecraft:entity.illusioner.ambient master @s
#execute if score @s quest.dia.target_line matches 17 run scoreboard players set @s quest.dia.line_time 60


## How the dialogue gets ended
# Sets the target end_state active_dialogue value to whichever int you're using as the success state.
execute if score @s quest.dia.target_line matches 18 run data modify gamedata lt:quest/active_dialogue @s[type=player] end_state set value 1
execute if score @s quest.dia.target_line matches 18 run function lt:quest/main/end_dialogue with gamedata lt:quest/active_dialogue @s[type=player]
execute if score @s quest.dia.target_line matches 15 run data modify gamedata lt:quest/active_dialogue @s[type=player] end_state set value 1
execute if score @s quest.dia.target_line matches 15 run function lt:quest/main/end_dialogue with gamedata lt:quest/active_dialogue @s[type=player]
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
function lt:quest/utility/send_collectible_message
collectible give @s lt:team_cents/team_cents_badge
collectible give @s lt:team_cents/nonsense_sensors
function lt:quest/data/cents_intro/complete
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,26 @@ execute if score @s quest.dia.target_line matches 7 run tellraw @s [{"text":"Cou
execute if score @s quest.dia.target_line matches 7 run playsound minecraft:entity.illusioner.ambient master @s
execute if score @s quest.dia.target_line matches 7 run scoreboard players set @s quest.dia.line_time 60

execute if score @s quest.dia.target_line matches 8 run tellraw @s [{"text":"Count Sense-less","color":"#2BB6E4"},{"text": ": ","color": "gray"},{"translate": "lt.quest.no_cents_intro.meet_leader.8","color": "gray"}]
execute if score @s quest.dia.target_line matches 8 run tellraw @s [{"text":"Count Sense-less","color":"#2BB6E4"},{"text": ": ","color": "gray"},{"translate": "lt.quest.no_cents_intro.meet_leader.8new","color": "gray"}]
execute if score @s quest.dia.target_line matches 8 run playsound minecraft:entity.illusioner.ambient master @s
execute if score @s quest.dia.target_line matches 8 run scoreboard players set @s quest.dia.line_time 60

execute if score @s quest.dia.target_line matches 9 run tellraw @s [{"text":"Count Sense-less","color":"#2BB6E4"},{"text": ": ","color": "gray"},{"translate": "lt.quest.no_cents_intro.meet_leader.9","color": "gray"}]
execute if score @s quest.dia.target_line matches 9 run tellraw @s [{"text":"Count Sense-less","color":"#2BB6E4"},{"text": ": ","color": "gray"},{"translate": "lt.quest.no_cents_intro.meet_leader.9new","color": "gray"}]
execute if score @s quest.dia.target_line matches 9 run playsound minecraft:entity.illusioner.ambient master @s
execute if score @s quest.dia.target_line matches 9 run scoreboard players set @s quest.dia.line_time 60

execute if score @s quest.dia.target_line matches 10 run tellraw @s [{"text":"Count Sense-less","color":"#2BB6E4"},{"text": ": ","color": "gray"},{"translate": "lt.quest.no_cents_intro.meet_leader.10","color": "gray"}]
execute if score @s quest.dia.target_line matches 10 run tellraw @s [{"text":"Count Sense-less","color":"#2BB6E4"},{"text": ": ","color": "gray"},{"translate": "lt.quest.no_cents_intro.meet_leader.10new","color": "gray"}]
execute if score @s quest.dia.target_line matches 10 run playsound minecraft:entity.illusioner.ambient master @s
execute if score @s quest.dia.target_line matches 10 run scoreboard players set @s quest.dia.line_time 60

execute if score @s quest.dia.target_line matches 11 run tellraw @s [{"text":"Count Sense-less","color":"#2BB6E4"},{"text": ": ","color": "gray"},{"translate": "lt.quest.no_cents_intro.meet_leader.11","color": "gray"}]
execute if score @s quest.dia.target_line matches 11 run playsound minecraft:entity.illusioner.ambient master @s
execute if score @s quest.dia.target_line matches 11 run scoreboard players set @s quest.dia.line_time 60
#execute if score @s quest.dia.target_line matches 11 run tellraw @s [{"text":"Count Sense-less","color":"#2BB6E4"},{"text": ": ","color": "gray"},{"translate": "lt.quest.no_cents_intro.meet_leader.11","color": "gray"}]
#execute if score @s quest.dia.target_line matches 11 run playsound minecraft:entity.illusioner.ambient master @s
#execute if score @s quest.dia.target_line matches 11 run scoreboard players set @s quest.dia.line_time 60




## How the dialogue gets ended
# Sets the target end_state active_dialogue value to whichever int you're using as the success state.
execute if score @s quest.dia.target_line matches 12 run data modify gamedata lt:quest/active_dialogue @s[type=player] end_state set value 1
execute if score @s quest.dia.target_line matches 12 run function lt:quest/main/end_dialogue with gamedata lt:quest/active_dialogue @s[type=player]
execute if score @s quest.dia.target_line matches 11 run data modify gamedata lt:quest/active_dialogue @s[type=player] end_state set value 1
execute if score @s quest.dia.target_line matches 11 run function lt:quest/main/end_dialogue with gamedata lt:quest/active_dialogue @s[type=player]
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function lt:quest/utility/send_collectible_message
collectible give @s lt:team_no_cents/cent_sensors
function lt:quest/data/no_cents_intro/complete

0 comments on commit 26ec654

Please sign in to comment.