Fixed #3795 3736 : Buffalo Bandit Sharpshooter Drop: 25279 ~ 25.00% Crude Ammo 7054 ~ 10.00% Brigan 18145 ~ 0.50% Vigilante Bow 3737 : Buffalo Bandit Duelist Drop: 25278 ~ 25.00% Bandit's Scarf 7054 ~ 10.00% Brigan 580 ~ 5.00% Bread 28721 ~ 0.50% Monokage 13332 ~ 0.50% Huuma Shuriken of Dancing Petals 3738 : Bowie Buffalo Bandit Drop: 25283 ~ 25.00% Brown Muffler 7054 ~ 10.00% Brigan 538 ~ 2.00% Well-baked Cookie 28608 ~ 0.50% Elemental Origin 3739 : Coyote Drop: 25276 ~ 25.00% Clean Bone 7564 ~ 15.00% Rotten Meat 702 ~ 5.00% Animal Gore 2531 ~ 0.50% Ulfhedinn 3740 : Gaster Drop: 25277 ~ 25.00% Deadly Poison Powder 7001 ~ 15.00% Mould Powder 6214 ~ 3.00% Smoke Powder 6215 ~ 3.00% Tear Gas 6213 ~ 2.50% Explosive Powder 605 ~ 0.30% Anodyne 756 ~ 0.10% Rough Oridecon 757 ~ 0.10% Rough Elunium 3747 : Elite Buffalo Bandit Sharpshooter Drop: 25280 ~ 25.00% Broken Shotgun 7054 ~ 20.00% Brigan 18145 ~ 1.00% Vigilante Bow 1944 ~ 1.00% Hippie Guitar 26200 ~ 0.50% Hippie Rope 3748 : Elite Buffalo Bandit Duelist Drop: 25282 ~ 30.00% Worn Revolver 7054 ~ 20.00% Brigan 13332 ~ 2.50% Huuma Shuriken of Dancing Petals 28721 ~ 1.00% Monokage 3749 : Bowie Elite Buffalo Bandit Drop: 25281 ~ 30.00% Crude Scimitar 7054 ~ 20.00% Brigan 28608 ~ 1.50% Elemental Origin 11706 ~ 0.30% Steak 11707 ~ 0.30% Roast Beef 28116 ~ 0.10% Mine Worker's Pickaxe 3787 : Swamp Arclouze Drop: 25284 ~ 25.00% Swamp Bug Shell 938 ~ 15.00% Sticky Mucus 943 ~ 1.50% Solid Shell 1944 ~ 0.50% Hippie Guitar 3788 : Brown Rat Drop: 25285 ~ 30.00% Brown Rat Tail 517 ~ 5.00% Meat 528 ~ 1.50% Monster's Feed 26200 ~ 0.10% Hippie Rope
Import Directories
What is the import directory for?
The import/ directory provides a way for you to change your config settings without the need to even touch the main /conf/ and /db/ files.
By placing your custom entries into the import/ directory within these two locations, your core files will not need to have any conflicts resolved when you update your server. You store your changes, and the rest is updated with rAthena.
How does this work?
Think of "import" as in "override". Place only the settings you have changed in the import files, or settings you are "overriding".
For example, when setting up a server there are always a few config settings that users would like to change in order for rAthena to suit their needs. The following example will show you how to use the /db/import/ directory correctly. (for /conf/import/ examples, see /conf/readme.md)
Achievements
We want to add our own custom achievement that can be given to a player via an NPC Script and another that we can give to our GMs.
/db/import/achievement_db.yml
Achievements:
- ID: 280000
Group: "AG_GOAL_ACHIEVE"
Name: "Emperio"
Reward:
TitleID: 1035
Score: 50
- ID: 280001
Group: "AG_GOAL_ACHIEVE"
Name: "Staff"
Reward:
TitleID: 1036
Score: 50
Instances
We want to add our own customized Housing Instance.
/db/import/instance_db.txt
// ID,Name,LimitTime,IdleTimeOut,EnterMap,EnterX,EnterY,Map2,Map3,...,Map255
35,Home,3600,900,1@home,24,6,2@home,3@home
Mob Alias
We want to give a custom mob a Novice player sprite.
/db/import/mob_avail.txt
// Structure of Database:
// MobID,SpriteID{,Equipment}
3850,0
Custom Maps
We want to add our own custom maps. For this we need to add our map names to import/map_index.txt and then to the import/map_cache.dat file for the Map Server to load.
/db/import/map_index.txt
1@home 1250
2@home
3@home
ev_has
shops
prt_pvp
Item Trade Restrictions
We want to ensure that specific items cannot be traded, sold, dropped, placed in storage, etc.
/db/import/item_trade.txt
// Legend for 'TradeMask' field (bitmask):
// 1 - item can't be dropped
// 2 - item can't be traded (nor vended)
// 4 - wedded partner can override restriction 2
// 8 - item can't be sold to npcs
// 16 - item can't be placed in the cart
// 32 - item can't be placed in the storage
// 64 - item can't be placed in the guild storage
// 128 - item can't be attached to mail
// 256 - item can't be auctioned
// Full outright value = 511
34000,511,100 // Old Green Box
34001,511,100 // House Keys
34002,511,100 // Reputation Journal
Custom Quests
We want to add our own custom quests to the quest_db.
/db/import/quest_db.txt
// Quest ID,Time Limit,Target1,Val1,Target2,Val2,Target3,Val3,MobID1,NameID1,Rate1,MobID2,NameID2,Rate2,MobID3,NameID3,Rate3,Quest Title
89001,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Reputation Quest"
89002,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Reputation Quest"
We cannot stress enough how helpful this system is for everyone. The majority of git conflicts will simply go away if users make use of the import/ system.