add features on items_control

This section is created for developers and non-developers who think that he/she has a good (and realistic) idea that might contribute to the OpenKore community.

Moderator: Moderators

Message
Author
fco2783
Plain Yogurt
Plain Yogurt
Posts: 95
Joined: 05 Apr 2008, 05:15
Noob?: Yes
Location: in place where you cant go
Contact:

add features on items_control

#1 Post by fco2783 »

# Syntax:
# (item name) (minimum) (auto-store) (auto-sell) [put in cart] [get from cart]
# item name : Name of the item.
# miminum : The minimum amount of this item that you want to keep in inventory.
# autostore : Set to 1 to walk back to a Kapra NPC to put in storage.
# autosell : Set to 1 to sell item at a buy/sell NPC.
# put in cart : Set to 1 to automatically put this item in cart.
# get from cart : Set to 1 to automatically get this item from cart.
can we add like something
# (item name) (minimum) (auto-store) (auto-sell) [put in cart] [get from cart] [addfromcart] [gettocart]
# item name : Name of the item.
# miminum : The minimum amount of this item that you want to keep in inventory.
# autostore : Set to 1 to walk back to a Kapra NPC to put in storage.
# autosell : Set to 1 to sell item at a buy/sell NPC.
# put in cart : Set to 1 to automatically put this item in cart.
# get from cart : Set to 1 to automatically get this item from cart.
# put in cart from storage : Set to 1 to automatically put this item in cart from storage.
# get from cart to storage : Set to 1 to automatically get this item from cart to storage.

Bibian
Perl Monk
Perl Monk
Posts: 416
Joined: 04 Apr 2008, 03:08

Re: add features on items_control

#2 Post by Bibian »

this is best set in the config.txt and then it would check if item_control.txt has a positive non-zero value and get that amount from the cart (if able)

7GatesOfHell
Noob
Noob
Posts: 1
Joined: 18 Oct 2008, 08:40
Noob?: No

Re: add features on items_control

#3 Post by 7GatesOfHell »

ability to add a specific maximum number of items to the storage

like:
# Syntax:
# (item name) (minimum) (auto-store maximum amount) (auto-sell) [put in cart] [get from cart]
# autostore : Set to 1 to store all (for older clients or if you just want to store all of them)
# or set to the maximum amount you want to store

Empty Bottle 0 200 1

Post Reply