Page 1 of 1

[0.10.6] Problem with adding repair pack to the market

Posted: Sat Aug 09, 2014 12:53 pm
by Reygan
When i trying to do this:

Code: Select all

event.createdentity.addmarketitem({price={{"reapair-pack", 1}}, offer={type="give-item", item="coin", count=4}})
I got this error:
Market price can be produced only from items at the moment.
And
Error in assignID, 'repair-pack' was not recognized id of item
Same thing with the "mining-tools" items.

Re: [0.10.6] Problem with adding repair pack to the market

Posted: Sat Aug 09, 2014 5:42 pm
by kovarex
The problem is in the "reapair-pack", you have one more "a" there, but the message is really misleading.

I changed the message to be better (it says that no item "reapair-pack" exists instead), when I fixed the name it worked fine for me.

Re: [0.10.6] Problem with adding repair pack to the market

Posted: Sun Aug 10, 2014 5:01 am
by Reygan
Hmm. There was some very stupid mistype-errors :roll: Well, okay :lol: