summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-18 08:12:55 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-18 08:12:55 +0000
commit1e5d5e21e151957e7ebbd1fde2942b522a11418e (patch)
tree22f3808ff1b103a38402496dc2841790e29bd1ae /conf
parent1ab4f1bc8045feef435858fadb27dd2e2ce111b4 (diff)
downloadhercules-1e5d5e21e151957e7ebbd1fde2942b522a11418e.tar.gz
hercules-1e5d5e21e151957e7ebbd1fde2942b522a11418e.tar.bz2
hercules-1e5d5e21e151957e7ebbd1fde2942b522a11418e.tar.xz
hercules-1e5d5e21e151957e7ebbd1fde2942b522a11418e.zip
Implemented config setting 'vending_over_max', to let people configure the behavior of vending items over the MAX_ZENY limit.
Default/official setting is 'yes', which makes players lose zeny that they cannot hold. Adjust as needed. This re-adds the behavior from before r11344 (see topic:180568). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12614 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'conf')
-rw-r--r--conf/Changelog.txt2
-rw-r--r--conf/battle/items.conf4
2 files changed, 6 insertions, 0 deletions
diff --git a/conf/Changelog.txt b/conf/Changelog.txt
index 019000c43..f5b2468d2 100644
--- a/conf/Changelog.txt
+++ b/conf/Changelog.txt
@@ -1,5 +1,7 @@
Date Added
+2008/04/18
+ * Implemented config setting 'vending_over_max' [ultramage]
2008/04/02
* Rev. 12462 Uncommented restricted map entryies for WoESE maps. [L0ne_W0lf]
2008/03/07
diff --git a/conf/battle/items.conf b/conf/battle/items.conf
index 8ef1aac3e..403364231 100644
--- a/conf/battle/items.conf
+++ b/conf/battle/items.conf
@@ -24,6 +24,10 @@
// The highest value at which an item can be sold via the merchant vend skill. (in zeny)
vending_max_value: 1000000000
+// Whether to allow buying from vending chars that are at their max. zeny limit.
+// If set to yes, the rest of the zeny above the char's capacity will disappear.
+vending_over_max: yes
+
// Tax to apply to all vending transactions (eg: 10000 = 100%, 50 = 0.50%)
// When a tax is applied, the item's full price is charged to the buyer, but
// the vender will not get the whole price paid (they get 100% - this tax).