summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-18 22:03:13 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-18 22:03:13 -0300
commit3fe9f2bf40fb437f081380b89f7fc5638118b7b3 (patch)
treefa376b4b78f422f8e1349f654aa0a6a85173b454
parent048f4a7cbf5e17297f90db66d91f4a20feadb03b (diff)
downloadserverdata-3fe9f2bf40fb437f081380b89f7fc5638118b7b3.tar.gz
serverdata-3fe9f2bf40fb437f081380b89f7fc5638118b7b3.tar.bz2
serverdata-3fe9f2bf40fb437f081380b89f7fc5638118b7b3.tar.xz
serverdata-3fe9f2bf40fb437f081380b89f7fc5638118b7b3.zip
Ask players upon rebirth to select a race
-rw-r--r--npc/025-2/phoenix.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/npc/025-2/phoenix.txt b/npc/025-2/phoenix.txt
index 438b8317b..50841c9ad 100644
--- a/npc/025-2/phoenix.txt
+++ b/npc/025-2/phoenix.txt
@@ -93,6 +93,22 @@
kamibroadcast("%s has been reborn.", strcharinfo(0));
$MOST_HEROIC$=strcharinfo(0);
StatusResetReinvest();
+ // Open a new dialog
+ clear;
+ setnpcdialogtitle l("Rebirth Race Selection");
+ mesc l("Do you want to change your race?");
+ mesc l("This can only be reverted at rebirth! Beware!");
+ next;
+ if (askyesno() != ASK_YES)
+ close;
+ mes ".:: "+l("Human")+" ::.";
+ mesc l("The most widespread race in the continent, highly versatile, perfect all-rounders.");
+ mes "";
+ next;
+ menuint
+ l("Human"), 1;
+
+ jobchange max(0, @menuret-1);
close;
}