openkore icon indicating copy to clipboard operation
openkore copied to clipboard

Improve item and pickupitem

Open Jozoko opened this issue 10 years ago • 10 comments

I would like to propose an addition to the config files - items_control.txt and pickupitems.txt

It is this - to add the possibility of using regexp in this files and maybe add group of items like Cards,Armors and etc Pickupitems.txt /.* Card/ 2 0 0 - all card will be pickuped as fast as kore can Items_control.txt Cards 0 1 0 Loot -1 0 0

Jozoko avatar Aug 16 '16 08:08 Jozoko

Cool idea, could be very useful!

itsrachelfish avatar Aug 17 '16 10:08 itsrachelfish

You can change (items.txt) all Cards name with #Card# for example 4001#Card# 4002#Card# 4003#Card# 4004#Card# 4005#Card# 4006#Card# 4007#Card#

you can change all 'your' important items name as you want, don't forget to backup your (old) items.txt so simple right? =P

t3quila avatar Aug 18 '16 07:08 t3quila

It's simple, but very stupid, u need to reread my feature

Jozoko avatar Aug 18 '16 08:08 Jozoko

use different format, or you will be in trouble like i was

all_Card 0 0 0

c4c1n6kr3m1 avatar Aug 18 '16 11:08 c4c1n6kr3m1

@t3quila And then you can't tell what card it is. :stuck_out_tongue:

itsrachelfish avatar Aug 18 '16 12:08 itsrachelfish

Really, it is an amazing feature, instead of re-edit your items_control with Cards. But i don't understand the ' -1 '

ghost avatar Oct 20 '16 19:10 ghost

grf file have one file to define card images, maybe we start with this file. I'm worried just about the performance.

alisonrag avatar Jul 31 '17 02:07 alisonrag

I found this and it seems to have worked so far ??

http://forums.openkore.com/viewtopic.php?f=27&t=144711&p=200125&hilit=wildcard#p200125

Arkelsa avatar Nov 04 '17 05:11 Arkelsa

Looking on the thread Arkelsa linked up, this was a solved issue 3 years prior to this issue/feature request's creation.

Arkelsa popped into the IRC channel asking questions about pickupitems.txt under a different nickname, and had used and tested the code from the 2013 era thread, and said that regex support for the item name field seems to work.

ChrstphrR avatar Nov 04 '17 05:11 ChrstphrR

continue in #2110

alisonrag avatar Jul 15 '18 14:07 alisonrag