From c25d6f5e6c3f092f70bf28cb0a3ac71e2ab89ead Mon Sep 17 00:00:00 2001 From: ultramage Date: Wed, 15 Aug 2007 17:13:04 +0000 Subject: * Some serious code cleanups - adjusted @reloadbattleconf to not depend on variable ordering - changed all battle vars to 'int' (removes pointless duplicit coding) - added min, max and default columns to battle config data structure - added properly bounded values for these columns (or at least tried to) - battle-conf loading will now complain if it finds unknown settings, and will reject values that are outside of the allowed range - added CHATROOM_TITLE_SIZE and CHATROOM_PASS_SIZE - partially cleaned up chatroom manipulation code * Fixed 'Job_Professer' typo in mage jobchange quest git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11017 54d463be-8e91-2dee-dedb-b68131a5f0ec --- conf-tmpl/battle/items.conf | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'conf-tmpl/battle/items.conf') diff --git a/conf-tmpl/battle/items.conf b/conf-tmpl/battle/items.conf index bdd201d6f..8ef1aac3e 100644 --- a/conf-tmpl/battle/items.conf +++ b/conf-tmpl/battle/items.conf @@ -17,15 +17,11 @@ //-------------------------------------------------------------- // Note 1: Value is a config switch (on/off, yes/no or 1/0) // Note 2: Value is in percents (100 means 100%) -// Note 3: Value is not limited to 60k (see below) -// Note 4: Value is a bit field. If no description is given, +// Note 3: Value is a bit field. If no description is given, // assume unit types (1: Pc, 2: Mob, 4: Pet, 8: Homun) -// Other Information: -// All values are limited to a number between 0 and 60k -// (60000, 600%, 60secs, ...), unless otherwise specified. //-------------------------------------------------------------- -// The highest value at which an item can be sold via the merchant vend skill. (in zeny) (Note 3) +// The highest value at which an item can be sold via the merchant vend skill. (in zeny) vending_max_value: 1000000000 // Tax to apply to all vending transactions (eg: 10000 = 100%, 50 = 0.50%) @@ -42,7 +38,7 @@ weapon_produce_rate: 100 // Prepare Potion success rate. (Note 2) potion_produce_rate: 100 -// Do produced items have the maker's name on them? (Note 4) +// Do produced items have the maker's name on them? (Note 3) // 0x01: Produced Weapons // 0x02: Produced Potions // 0x04: Produced Arrows -- cgit v1.2.3-70-g09d2