[0.10.6] Problem with adding repair pack to the market

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
Reygan
Fast Inserter
Fast Inserter
Posts: 177
Joined: Tue Jan 28, 2014 8:42 pm
Contact:

[0.10.6] Problem with adding repair pack to the market

Post 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.
Daniel V. Lenskiy

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

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

Post 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.

User avatar
Reygan
Fast Inserter
Fast Inserter
Posts: 177
Joined: Tue Jan 28, 2014 8:42 pm
Contact:

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

Post by Reygan »

Hmm. There was some very stupid mistype-errors :roll: Well, okay :lol:
Daniel V. Lenskiy

Post Reply

Return to “Resolved Problems and Bugs”