[Solved] Need help with error message

Started by Dr. Z, July 10, 2014, 06:24:52 AM

Previous topic - Next topic

Dr. Z

So jet another problem with the error log.
I try to add a new trader for clothing via mod, but I get this error message:
"Requested amount buying for non-trading ThingDef Apparel_[Clothing]"

This message appears for every peace of clothing and numerus times, which was the reason for my last question regarding the error log. Could someone just explain what this message means?
Prasie the Squirrel!

Telkir

I'm encountering this error too. It looks as if all items of apparel are hard-coded to be untradeable at the moment - adding <tradersCarry>true</tradersCarry> into the ApparelBase thingdef and then giving each individual apparel definition a basePrice doesn't make a difference.

Possibly it's because the colour of each item of clothing is generated randomly through a special color generator thingumajig?

Tynan

Unfortunately there is no code to trade anything besides commodities, pawns, and weapons.

Sorry guys :(

I have it on my list soon to rewrite the trade interface so it supports any item. The current code was written before apparel existed.
Tynan Sylvester - @TynanSylvester - Tynan's Blog

Dr. Z

Prasie the Squirrel!