summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/commands/ucp.txt15
-rw-r--r--npc/craft/smith.txt2
2 files changed, 15 insertions, 2 deletions
diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt
index 6386a850b..f20a8eede 100644
--- a/npc/commands/ucp.txt
+++ b/npc/commands/ucp.txt
@@ -217,6 +217,14 @@ function script UserCtrlPanel {
mes l("Lethal overdrinking: ") + col(l("Allowed"), 2);
+ // GSET_CRAFT_BOUND
+ // Should players make bound or named items?
+ if (GSET_CRAFT_BOUND)
+ mes l("Crafting method: ") + col(l("Account Bound"), 1);
+ else
+ mes l("Crafting method: ") + col(l("Named Items"), 2);
+
+
// TUTORIAL
// Should we show players tutorial info?
if (!TUTORIAL)
@@ -257,6 +265,7 @@ function script UserCtrlPanel {
l("Text Wall Density"),
l("Alchemy Table brewing"),
l("Lethal alcohol overdrinking"),
+ l("Change crafting method"),
l("Show Tutorial Protips"),
rif($EVENT$ == "Valentine", ("Valentine Eating")),
rif(strcharinfo(2) == "Monster King", ("Toggle Autoreceive Event Coins"));
@@ -295,10 +304,12 @@ function script UserCtrlPanel {
case 6:
GSET_ALCOHOL_NOOVERDRINK=!GSET_ALCOHOL_NOOVERDRINK; break;
case 7:
- TUTORIAL=!TUTORIAL; break;
+ GSET_CRAFT_BOUND=!GSET_CRAFT_BOUND; break;
case 8:
- GSET_VALENTINE_EATALL=!GSET_VALENTINE_EATALL; break;
+ TUTORIAL=!TUTORIAL; break;
case 9:
+ GSET_VALENTINE_EATALL=!GSET_VALENTINE_EATALL; break;
+ case 10:
GSET_AUTORECEIVE_COINS=!GSET_AUTORECEIVE_COINS; break;
}
clear;
diff --git a/npc/craft/smith.txt b/npc/craft/smith.txt
index 6d5ea54c9..cfad0c30a 100644
--- a/npc/craft/smith.txt
+++ b/npc/craft/smith.txt
@@ -60,6 +60,8 @@ function script SmithSystem {
if (.scope == CRAFT_GUILD)
getitembound(.@it, 1, 2); // Create a guild-bound item
+ else if (GSET_CRAFT_BOUND)
+ getitembound(.@it, 1, 1); // Create an account-bound item
else
getnameditem(.@it, strcharinfo(0));
if (getskilllv(TMW2_CRAFT)) {