diff options
author | gumi <git@gumi.ca> | 2020-04-25 18:05:16 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2020-04-25 18:12:49 -0400 |
commit | 4baf33e56408985cd7c558ec7e2403aa60d60c61 (patch) | |
tree | dc77de34e9d0d13f2a3a13d8a13b89936444ae29 /npc | |
parent | 7f51347a0d845e87e1bd364ab9fded7ee3e54cea (diff) | |
download | serverdata-4baf33e56408985cd7c558ec7e2403aa60d60c61.tar.gz serverdata-4baf33e56408985cd7c558ec7e2403aa60d60c61.tar.bz2 serverdata-4baf33e56408985cd7c558ec7e2403aa60d60c61.tar.xz serverdata-4baf33e56408985cd7c558ec7e2403aa60d60c61.zip |
add a gender change option to Edouard
Diffstat (limited to 'npc')
-rw-r--r-- | npc/001-2-41/edouard.txt | 13 | ||||
-rw-r--r-- | npc/functions/barber.txt | 15 |
2 files changed, 25 insertions, 3 deletions
diff --git a/npc/001-2-41/edouard.txt b/npc/001-2-41/edouard.txt index f93d2042..2a3fd4cc 100644 --- a/npc/001-2-41/edouard.txt +++ b/npc/001-2-41/edouard.txt @@ -131,6 +131,7 @@ OnChair: l("What is my current hairstyle and hair color?"), l("I'd like to get a different style."), l("Can you do something with my color?"), + l("How about changing my gender?"), l("What's your story again?"), l("I'm fine for now, thank you."); @@ -142,19 +143,25 @@ OnChair: case 2: BarberChangeStyle; speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("Enjoy your new style."); + l("Enjoy your new style."), l("Anything else?"); break; case 3: BarberChangeColor; speech S_FIRST_BLANK_LINE | S_LAST_NEXT, - l("I hope you like this color."); + l("I hope you like this color."), l("Anything else?"); break; case 4: - tellStory; + BarberChangeGender(); + speech S_FIRST_BLANK_LINE | S_LAST_NEXT, + l("You look fantastic."), + l("Anything else?"); break; case 5: + tellStory; + break; + case 6: speech S_FIRST_BLANK_LINE | S_LAST_NEXT, l("Feel free to come visit me another time."); diff --git a/npc/functions/barber.txt b/npc/functions/barber.txt index 370285b7..cab5f101 100644 --- a/npc/functions/barber.txt +++ b/npc/functions/barber.txt @@ -108,3 +108,18 @@ function script BarberChangeColor { return; } + +function script BarberChangeGender { + mesn("Warning"); + mes(b(l("Changing your gender will send you back to the character selection screen."))); + next(); + + mes(l("Please select the desired gender:")); + menuint( + l("Female"), GENDER_FEMALE, + l("Male"), GENDER_MALE, + l("Non-binary"), GENDER_NONBINARY); + + Gender = @menuret; + return; +} |