55import net .swofty .type .generic .entity .npc .configuration .HumanConfiguration ;
66import net .swofty .type .generic .event .custom .NPCInteractEvent ;
77import net .swofty .type .generic .user .HypixelPlayer ;
8+ import net .swofty .type .skyblockgeneric .user .SkyBlockPlayer ;
9+
10+ import java .util .List ;
811
912public class NPCJuliette extends HypixelNPC {
1013
1114 public NPCJuliette () {
1215 super (new HumanConfiguration () {
1316 @ Override
1417 public String [] holograms (HypixelPlayer player ) {
15- return new String []{"Juliette" };
18+ return new String []{"Juliette" , "§e§lCLICK" };
1619 }
1720
1821 @ Override
@@ -39,6 +42,169 @@ public boolean looking(HypixelPlayer player) {
3942
4043 @ Override
4144 public void onClick (NPCInteractEvent event ) {
45+ SkyBlockPlayer player = (SkyBlockPlayer ) event .getPlayer ();
46+ if (isInDialogue (player )) return ;
4247
48+ setDialogue (player , "q1-start" );
4349 }
50+
51+ @ Override
52+ protected DialogueSet [] dialogues (HypixelPlayer player ) {
53+ return List .of (
54+
55+ DialogueSet .builder ().key ("completing-step-not-holding" ).lines (
56+ new String []{
57+ "You found §eRomero§f?" ,
58+ "Did he have anything for me?"
59+ }
60+ ).build (),
61+
62+ // Quest Step 1 – Savanna Woodland
63+ DialogueSet .builder ().key ("q1-start" ).lines (new String []{
64+ "Nice to meet you!" ,
65+ "Could you find my dear §eRomero§f?" ,
66+ "He's in a cave somewhere under the §aSavanna Woodland§f." ,
67+ "..." ,
68+ "Oh!" ,
69+ "He wears glasses and blends well in a crowd!"
70+ }).build (),
71+
72+ DialogueSet .builder ().key ("q1-complete" ).lines (new String []{
73+ "You found Romero? That's weird, I just saw him!" ,
74+ "He wanted me to have this? So sweet!" ,
75+ "..." ,
76+ "A yellow rock? What's the point of that?" ,
77+ "Here, you keep it!"
78+ }).build (),
79+
80+ // Quest Step 2 – Flower House
81+ DialogueSet .builder ().key ("q2-start" ).lines (new String []{
82+ "Since you're here, can you find Romero again?" ,
83+ "He said he was getting groceries at the downtown markets."
84+ }).build (),
85+
86+ DialogueSet .builder ().key ("q2-complete" ).lines (new String []{
87+ "Romero? He just came over with the groceries." ,
88+ "These flowers are for me?" ,
89+ "That's so kind of you!" ,
90+ "You know I'm with Romero, right?"
91+ }).build (),
92+
93+ // Quest Step 3 – Graveyard
94+ DialogueSet .builder ().key ("q3-start" ).lines (new String []{
95+ "Dear, sorry for the inconvenience..." ,
96+ "Can you please find Romero again?" ,
97+ "He's at some sort of emerald altar..."
98+ }).build (),
99+
100+ DialogueSet .builder ().key ("q3-complete" ).lines (new String []{
101+ "Oof! Why did you bring this all the way here?" ,
102+ "How is that a gift?" ,
103+ "Just keep it! I don't want this!"
104+ }).build (),
105+
106+ // Quest Step 4 – Crimson Isle
107+ DialogueSet .builder ().key ("q4-start" ).lines (new String []{
108+ "What I want is Romero!" ,
109+ "For some reason, he's now looking for..." ,
110+ "The largest, most evil patch of fungus ever!"
111+ }).build (),
112+
113+ DialogueSet .builder ().key ("q4-complete" ).lines (new String []{
114+ "Stew? I love stew!" ,
115+ "..." ,
116+ "!!!" ,
117+ "Yuck!!!" ,
118+ "Yuck!!!" ,
119+ "Yuck!!!" ,
120+ "Yuck!!!" ,
121+ "Yuck!!!" ,
122+ "DISGUSTING!" ,
123+ "Is that a stew from hell?" ,
124+ "Maybe Romero should give you cooking lessons!"
125+ }).build (),
126+
127+ // Quest Step 5 – Mountain
128+ DialogueSet .builder ().key ("q5-start" ).lines (new String []{
129+ "Oh! I love Romero! He has so many skills." ,
130+ "Did you know he likes photography?" ,
131+ "Just now, he went to take pictures of the old castle." ,
132+ "Go find him!"
133+ }).build (),
134+
135+ DialogueSet .builder ().key ("q5-complete" ).lines (new String []{
136+ "You really believe that this is from the Moon?" ,
137+ "How? Someone flew up there?" ,
138+ "Thanks, I guess." ,
139+ "Actually, I heard Romero flew close to the Sun." ,
140+ "Sounds more like a metaphor, like..."
141+ }).build (),
142+
143+ // Quest Step 6 – Gold Mine
144+ DialogueSet .builder ().key ("q6-start" ).lines (new String []{
145+ "He went to where gold is smelted." ,
146+ "Please find him, wherever that is!"
147+ }).build (),
148+
149+ DialogueSet .builder ().key ("q6-complete" ).lines (new String []{
150+ "This is a wonderful gift!" ,
151+ "I will keep this one for myself." ,
152+ "Sometimes, some things have to remain a mystery."
153+ }).build (),
154+
155+ // Quest Step 7 – Wilderness
156+ DialogueSet .builder ().key ("q7-start" ).lines (new String []{
157+ "About something not so secret, can you get in touch with Romero?" ,
158+ "He told me he's in his home."
159+ }).build (),
160+
161+ DialogueSet .builder ().key ("q7-complete" ).lines (new String []{
162+ "Uh? Romero solved his cube?" ,
163+ "That's unbelievable." ,
164+ "No, really, I don't believe it at all."
165+ }).build (),
166+
167+ // Quest Step 8 – Colosseum
168+ DialogueSet .builder ().key ("q8-start" ).lines (new String []{
169+ "I don't know why Romero is trying to be so unlike himself lately." ,
170+ "I like him just the way he is!" ,
171+ "He says he's getting equipment for a duel." ,
172+ "Can you find Romero before he hurts himself?"
173+ }).build (),
174+
175+ DialogueSet .builder ().key ("q8-complete" ).lines (new String []{
176+ "This is a wonderful poem." ,
177+ "But, does he really think there's someone else?" ,
178+ "I can't possibly imagine why he'd think that."
179+ }).build (),
180+
181+ // Quest Step 9 – Mushroom Desert
182+ DialogueSet .builder ().key ("q9-start" ).lines (new String []{
183+ "Romero went to meditate at his retreat." ,
184+ "It's the smallest house in SkyBlock." ,
185+ "Please find him, I'm worried!"
186+ }).build (),
187+
188+ DialogueSet .builder ().key ("q9-complete" ).lines (new String []{
189+ "Another gift from Romero?" ,
190+ "Thank you for delivering it." ,
191+ "I don't know how Romero has such hard a time understanding that I LOVE HIM." ,
192+ "I like him just the way he is!" ,
193+ "I don't need tons of gifts to know that."
194+ }).build (),
195+
196+ // Quest Step 10 – Jungle Island
197+ DialogueSet .builder ().key ("q10-before-suit" ).lines (new String []{
198+ "It's decided, this is the day!" ,
199+ "We're making it official!"
200+ }).build (),
201+
202+ DialogueSet .builder ().key ("q10-after-suit" ).lines (new String []{
203+ "We can't thank you enough for bringing us together!" ,
204+ "You're the best, <player>!"
205+ }).build ()
206+
207+ ).toArray (DialogueSet []::new );
208+ }
209+
44210}
0 commit comments