Improve item and pickupitem
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
Cool idea, could be very useful!
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
It's simple, but very stupid, u need to reread my feature
use different format, or you will be in trouble like i was
all_Card 0 0 0
@t3quila And then you can't tell what card it is. :stuck_out_tongue:
Really, it is an amazing feature, instead of re-edit your items_control with Cards. But i don't understand the ' -1 '
grf file have one file to define card images, maybe we start with this file. I'm worried just about the performance.
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
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.
continue in #2110