item configuration: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
(Created page with '= Item collect settings (loot from monsters) = *itemsTakeAuto configures the behavior to pick up items. 0, do not pick up items, 1, kill monsters before taking the items and …')
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
*[[itemsTakeAuto_party]] sets whether Kore should or should not pick up items from killed monsters by party members.
*[[itemsTakeAuto_party]] sets whether Kore should or should not pick up items from killed monsters by party members.
*[[itemsMaxWeight]] sets the maximum weight for picking up items.
*[[itemsMaxWeight]] sets the maximum weight for picking up items.
*[[itemsTakeAuto_new]] uses an improved algorithm to pick up items for classes that attack distance.
Settings to define which items you want and do not want to pick up are made in the [[pickupitems.txt]].
Settings to define which items you want and do not want to pick up are made in the [[pickupitems.txt]].



Latest revision as of 19:02, 28 August 2022

Item collect settings (loot from monsters)

  • itemsTakeAuto configures the behavior to pick up items. 0, do not pick up items, 1, kill monsters before taking the items and 2, picks up the items before doing anything else. Leave 2 if the map has valuable items.
  • itemsTakeAuto_party sets whether Kore should or should not pick up items from killed monsters by party members.
  • itemsMaxWeight sets the maximum weight for picking up items.

Settings to define which items you want and do not want to pick up are made in the pickupitems.txt.

Storing and picking up items

Settings per item

You must configure Kore to not try to store items that can not be stored. You can set these options in items_control.txt.

Examples

Strawberry 0 1 0

Stores all strawberries in the storage.

Strawberry 10 1 0

Stores any amount above 10 strawberries in the warehouse.

Strawberry 0 0 0

Don't store strawberries.

Item storing

storageAuto enable or disable the usage of Automatic storage.
storageAuto_npc defines the map and coordinates of the NPC to use for storage (usually a Kafra NPC).
storageAuto_npc_type defines the type of NPC. This changes the NPC dialog to open the warehouse. Often used with NPCs in private servers and NPC's in Comodo and other cities where the dialogue of Kafra is different.
storageAuto_npc_steps defines a custom dialog sequence in case storageAuto_npc_type is set to 3.
storageAuto_password defines the storage password.
storageAuto_useChatCommand uses a chat command to open the warehouse. Example: @storage.
relogAfterStorage relog after using the storage.
  • dcOnStorageFull disconnect if the storage is full. Recommended to leave it on, otherwise Kore enters an infinite loop.

Get items from storage

Read getAuto.

Selling and buying items

Settings per item

You can set these options in items_control.txt.

Examples

Strawberry 0 0 1

Sells all strawberries

Strawberry 10 0 1

Sells ​​any amount above 10 Strawberries.

Strawberry 0 0 0

Don't sell any strawberry.

Selling items

sellAuto enable or disable the usage of Automatic selling.
sellAuto_npc specifies the coordinates and map of the NPC to sale.

Buying items

Read buyAuto.

Default options for buying, selling and storing

  • itemsMaxWeight_sellOrStore triggers Kore to sell or store items when total weight of items matches the specified percentage.
  • itemsMaxNum_sellOrStore triggers Kore to sell or store items if the total number of items in the inventory matches the specified number.