From 1fcd2fc36ffa3154391735d96dc5f5533de9944d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 4 Jan 2022 20:38:23 -0300 Subject: By the World's Hero request, Nicholas will now remove item options by request. --- npc/012-5/nicholas.txt | 12 +++++++++++- npc/craft/tweak.txt | 1 + 2 files changed, 12 insertions(+), 1 deletion(-) 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."); -- cgit v1.2.3-70-g09d2