summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-03 01:18:47 +0100
committerHaru <haru@dotalux.com>2013-11-03 01:21:48 +0100
commit649e7b98a7ec4fbf3363597daad3d1c57383051f (patch)
treebe7e05028610601ae574802e6dc2ac46448e4cca /conf
parent34b5ad00e2b7a3589040946b7825ef246bfafe99 (diff)
parentfa54cf57ded42d7b0b45a5025a8858a9b52a0074 (diff)
downloadhercules-649e7b98a7ec4fbf3363597daad3d1c57383051f.tar.gz
hercules-649e7b98a7ec4fbf3363597daad3d1c57383051f.tar.bz2
hercules-649e7b98a7ec4fbf3363597daad3d1c57383051f.tar.xz
hercules-649e7b98a7ec4fbf3363597daad3d1c57383051f.zip
Merged Pull Request #195 (@autoloottype)
- Small tweaks to the command, fixed merge conflicts Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/atcommand.conf1
-rw-r--r--conf/groups.conf1
-rw-r--r--conf/help.txt5
-rw-r--r--conf/messages.conf12
4 files changed, 19 insertions, 0 deletions
diff --git a/conf/atcommand.conf b/conf/atcommand.conf
index fc2a1af73..df4972067 100644
--- a/conf/atcommand.conf
+++ b/conf/atcommand.conf
@@ -56,6 +56,7 @@ aliases: {
accinfo: ["accountinfo"]
itemreset: ["clearinventory"]
channel: ["main"]
+ autoloottype: ["aloottype"]
}
/* List of commands that should not be logged at all */
diff --git a/conf/groups.conf b/conf/groups.conf
index 7c97352dc..9403e34f6 100644
--- a/conf/groups.conf
+++ b/conf/groups.conf
@@ -120,6 +120,7 @@ groups: (
noks: true
autoloot: true
alootid: true
+ autoloottype: true
autotrade: true
request: true
go: true
diff --git a/conf/help.txt b/conf/help.txt
index 211ed5b19..a65c7de70 100644
--- a/conf/help.txt
+++ b/conf/help.txt
@@ -300,3 +300,8 @@ reloadscript: "Reload all scripts."
gat: "For debugging (you inspect around gat)"
send: "For debugging (packet variety)"
nuke: "Params: <char name>\n" "Blow somebody up, including those surrounding them."
+autoloottype: "Manage a list of autolooting item types.\n"
+" To add an item type to the list, use \"@autoloottype +<type name>\".\n"
+" To remove an item type, use \"@autoloottype -<type name>\".\n"
+" Type List: healing, usable, etc, weapon, armor, card, petegg, petarmor, ammo.\n"
+" \"@autoloottype reset\" will clear your autoloottype list."
diff --git a/conf/messages.conf b/conf/messages.conf
index 5d0fd7ba6..a9f0a5984 100644
--- a/conf/messages.conf
+++ b/conf/messages.conf
@@ -1534,5 +1534,17 @@
//CashShop mapflag
1489: Cash Shop is disabled in this map
+
+// @autoloottype
+1490: You're already autolooting this item type.
+1491: Item type not found.
+1492: Autolooting item type: '%s'
+1493: You're currently not autolooting this item type.
+1494: Removed item type: '%s' from your autoloottype list.
+1495: Your autoloottype list is empty.
+1496: Item types on your autoloottype list:
+1497: Your autoloottype list has been reset.
+
+
//Custom translations
import: conf/import/msg_conf.txt