Skip to content

Commit c968e79

Browse files
authored
chore: update star wars provider (#1723)
* update yaml * add grogu * add mando info * add kuiil * add moff_gideon * update formate * add more quotes for mando, and one for grogu
1 parent fe3ed1c commit c968e79

File tree

2 files changed

+46
-4
lines changed

2 files changed

+46
-4
lines changed

src/main/java/net/datafaker/providers/entertainment/StarWars.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
public class StarWars extends AbstractProvider<EntertainmentProviders> {
99

1010
private static final String[] CHARACTERS = {"admiral_ackbar", "ahsoka_tano", "anakin_skywalker", "asajj_ventress",
11-
"bendu", "boba_fett", "c_3po", "count_dooku", "darth_caedus", "darth_vader", "emperor_palpatine", "finn",
12-
"general_hux", "grand_admiral_thrawn", "grand_moff_tarkin", "greedo", "han_solo", "jabba_the_hutt",
13-
"jar_jar_binks", "k_2so", "kylo_ren", "lando_calrissian", "leia_organa", "luke_skywalker", "mace_windu",
14-
"maz_kanata", "obi_wan_kenobi", "padme_amidala", "qui_gon_jinn", "rey", "shmi_skywalker", "yoda"};
11+
"bendu", "boba_fett", "c_3po", "count_dooku", "darth_caedus", "darth_vader", "din_djarin", "emperor_palpatine",
12+
"finn", "general_hux", "grand_admiral_thrawn", "grand_moff_tarkin", "greedo", "grogu", "han_solo",
13+
"jabba_the_hutt", "jar_jar_binks", "k_2so", "kuiil", "kylo_ren", "lando_calrissian", "leia_organa",
14+
"luke_skywalker", "mace_windu", "maz_kanata", "moff_gideon", "obi_wan_kenobi", "padme_amidala", "qui_gon_jinn",
15+
"rey", "shmi_skywalker", "yoda"};
1516

1617
protected StarWars(EntertainmentProviders faker) {
1718
super(faker);

src/main/resources/en/star_wars.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,15 @@ en:
6262
- "Hera Syndulla"
6363
- "Rose Tico"
6464
- "Vice Admiral Holdo"
65+
- "Din Djarin"
66+
- "Grogu"
67+
- "Cara Dune"
68+
- "Greef Karga"
69+
- "Bo-Katan Kryze"
70+
- "Moff Gideon"
71+
- "The Armorer"
72+
- "Kuiil"
73+
- "Paz Vizsla"
6574
call_squadrons:
6675
- "Rogue"
6776
- "Red"
@@ -107,6 +116,7 @@ en:
107116
- "Vulture Droid"
108117
- "BB-9E"
109118
- "K-2SO"
119+
- "IG-11"
110120
planets:
111121
- "Alderaan"
112122
- "Ahch-To"
@@ -197,6 +207,7 @@ en:
197207
- "TIE Silencer"
198208
- "Resistance Bomber"
199209
- "Resistance Ski Speeder"
210+
- "Razor Crest"
200211
wookiee_words:
201212
- "wyaaaaaa"
202213
- "ruh"
@@ -278,6 +289,12 @@ en:
278289
- "He is as clumsy as he is stupid."
279290
- "You may use any methods necessary, but I want them alive. No disintegrations!"
280291
- "You have failed me for the last time, Admiral."
292+
din_djarin:
293+
- "This is the way."
294+
- "I can bring you in warm, or I can bring you in cold."
295+
- "Wherever I go, he goes."
296+
- "Stop touching things."
297+
- "Don't play with your food."
281298
emperor_palpatine:
282299
- "Only at the end do you realize the power of the Dark Side."
283300
- "Oh, I'm afraid the deflector shield will be quite operational when your friends arrive."
@@ -315,6 +332,8 @@ en:
315332
- "Boompa kom bok nee aht am bompah. (He may only take your ship.)"
316333
- "Nuklee numaa (that's the idea.)"
317334
- "Ches ko ba tuta creesta crenko ya kolska! (This is something I've been looking forward to for a long time.)"
335+
grogu:
336+
- "Patu"
318337
han_solo:
319338
- "It's the ship that made the Kessel Run in less than 12 parsecs."
320339
- "She may not look like much, but she's got it where it counts, kid."
@@ -359,6 +378,8 @@ en:
359378
- "Mesa day startin pretty okee-day with a brisky morning munchy, then BOOM! Gettin very scared and grabbin that Jedi and POW! Mesa here! Mesa gettin' very very scared!"
360379
k_2so:
361380
- "I have a bad feeling about..."
381+
kuiil:
382+
- "I have spoken."
362383
kylo_ren:
363384
- "You need a teacher. I can show you the ways of the Force."
364385
- "Show me again, grandfather, and I will finish what you started."
@@ -392,6 +413,8 @@ en:
392413
- "Then our worst fears have been realized. We must move quickly if the Jedi Order is to survive."
393414
maz_kanata:
394415
- "I assume you need something. Desperately."
416+
moff_gideon:
417+
- "You have something I want."
395418
obi_wan_kenobi:
396419
- "An elegant weapon for a more civilized age."
397420
- "You don’t need to see his identification. These aren’t the droids you’re looking for."
@@ -479,6 +502,13 @@ en:
479502
- "vader"
480503
- "darth vader"
481504
- "darth_vader"
505+
din_djarin:
506+
- "the mandalorian"
507+
- "mando"
508+
- "the mando"
509+
- "din djarin"
510+
- "djarin"
511+
- "din_djarin"
482512
emperor_palpatine:
483513
- "the emperor"
484514
- "sheev palpatine"
@@ -508,6 +538,11 @@ en:
508538
- "grand_moff_tarkin"
509539
greedo:
510540
- "greedo"
541+
grogu:
542+
- "the asset"
543+
- "the child"
544+
- "baby yoda"
545+
- "grogu"
511546
han_solo:
512547
- "han"
513548
- "solo"
@@ -531,6 +566,8 @@ en:
531566
- "k-2so"
532567
- "k-2s0"
533568
- "k_2so"
569+
kuiil:
570+
- "kuiil"
534571
kylo_ren:
535572
- "kylo"
536573
- "kylo ren"
@@ -569,6 +606,10 @@ en:
569606
- "maz"
570607
- "maz kanata"
571608
- "maz_kanata"
609+
moff_gideon:
610+
- "gideon"
611+
- "moff gideon"
612+
- "moff_gideon"
572613
obi_wan_kenobi:
573614
- "obi kenobi"
574615
- "ben"

0 commit comments

Comments
 (0)