summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-01-04 20:38:23 -0300
committerJesusaves <cpntb1@ymail.com>2022-01-04 20:38:23 -0300
commit1fcd2fc36ffa3154391735d96dc5f5533de9944d (patch)
tree0f198b73ef493f0bc432454d5894deda1ca8da98
parent501f978c07fe86a9a6048992b244356295e26eb5 (diff)
downloadserverdata-1fcd2fc36ffa3154391735d96dc5f5533de9944d.tar.gz
serverdata-1fcd2fc36ffa3154391735d96dc5f5533de9944d.tar.bz2
serverdata-1fcd2fc36ffa3154391735d96dc5f5533de9944d.tar.xz
serverdata-1fcd2fc36ffa3154391735d96dc5f5533de9944d.zip
By the World's Hero request, Nicholas will now remove item options by request.
-rw-r--r--npc/012-5/nicholas.txt12
-rw-r--r--npc/craft/tweak.txt1
2 files changed, 12 insertions, 1 deletions
diff --git a/npc/012-5/nicholas.txt b/npc/012-5/nicholas.txt
index d92c7724e..23d66cdb5 100644
--- a/npc/012-5/nicholas.txt
+++ b/npc/012-5/nicholas.txt
@@ -93,7 +93,7 @@ L_Menu:
l("I want to forge One Handed Weapons!"),
l("I want to forge Shields!"),
l("I want to forge Quivers!"),
- rif(is_staff() && getskilllv(TMW2_CRAFT), l("I would like to remove an item options")),
+ rif(getskilllv(TMW2_CRAFT), l("I would like to REMOVE an item options")),
rif(getskilllv(TMW2_CRAFT), l("I would like to change an item options")),
l("Nothing, thanks!");
@@ -112,6 +112,16 @@ L_Menu:
case 4:
goto L_Quiver;
case 5:
+ mesn;
+ mesc l("Are you sure? I don't know for what crazy reason you might want to do this, there is absolutely no benefit to this. I think you just selected the wrong option."), 1;
+ next;
+ if (askyesno() == ASK_NO) {
+ mes "";
+ mesc l("Wise choice."), 3;
+ mes "";
+ goto L_Menu;
+ }
+ mes "";
SmithTweakReset();
goto L_Menu;
case 6:
diff --git a/npc/craft/tweak.txt b/npc/craft/tweak.txt
index 9888b44c3..1124aface 100644
--- a/npc/craft/tweak.txt
+++ b/npc/craft/tweak.txt
@@ -9,6 +9,7 @@
// Usage: SmithTweakReset ()
// Asks if player wants to remove an item options. And remove them.
function script SmithTweakReset {
+ mesc b(l("You are REMOVING an item option.")), 1;
mesc l("Note: This action cannot be undone."), 1;
mes l("Drag and drop here the item you want to remove the options.");