Page 1 of 1

Need increase price on item - not found in source

Posted: Tue Nov 15, 2005 6:30 am
by cBozo
My gamers please to me increase price on some items, but i didnt find price in souce. I search in *.cfg and in all *.inl files. Please tell me, where i can find.
Tanks a lot.

Posted: Tue Nov 15, 2005 9:04 am
by Geesu
its in constants.inl

Don't forget to recompile after you change them

Posted: Tue Nov 15, 2005 9:51 am
by cBozo
All strings, whos contain "helm" substring

Code: Select all

#define TASK_HELM                       1524
#define ITEM_HELM 3
#define PB_HELMET                               5               // Player had a helmet when he/she died?
I dont understand, how i can change price of helm.

Posted: Tue Nov 15, 2005 11:06 am
by Geesu
try searching for the price of the helm...

Posted: Wed Nov 16, 2005 12:30 am
by cBozo
I find this!!! OMG, i search by "price", but need "cost".

Code: Select all

        new const itemcost2[9] =                                {5000,1500,550,1500,1500,1750,1000,9000,16000}

Posted: Wed Nov 16, 2005 8:31 am
by Geesu
:P Well there ya go