summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-21 17:12:20 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-21 17:12:20 -0300
commitfe0df84b61325d3f0fc8cb6c38a8704c861248a8 (patch)
tree564cdce685aa17ab4ef22b23698040aa5159af6c
parente428bb8478274f76c2ac7c35e285a0c8a68866ad (diff)
downloadserverdata-fe0df84b61325d3f0fc8cb6c38a8704c861248a8.tar.gz
serverdata-fe0df84b61325d3f0fc8cb6c38a8704c861248a8.tar.bz2
serverdata-fe0df84b61325d3f0fc8cb6c38a8704c861248a8.tar.xz
serverdata-fe0df84b61325d3f0fc8cb6c38a8704c861248a8.zip
Crafting - Players are now able to opt for bound items instead of named ones.
Bound items cannot be traded but accept cards.
-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)) {