Author Topic: Help with new marketplace  (Read 185 times)

0 Members and 1 Guest are viewing this topic.

Offline angainor88

  • Laborer
  • **
  • Posts: 49
Help with new marketplace
« on: December 22, 2017, 01:54:56 PM »
So I am working on building a corner store, but when I go to compile it I am getting some new errors (Assert: false Can't build resource from 'Dialog\Work.rsc:enableWorkCheck'!). I believe it has to do with this bit of code in the Template:

Code: [Select]
CheckDescription enableCutterWorkButton : "Dialog/Work.rsc:enableWorkCheck"
{
ElementDescription _content = "labelCutterWorkUncheck";
ElementDescription _check = "labelCutterWorkCheck";
Alignment _alignment = TopRight;
int _topPad = 5;
}

LabelDescription labelCutterWorkCheck : "Dialog/Work.rsc:labelEnableWork"
{
String _spriteName = "MarketWork";
int _imageWidth = 16;
int _imageHeight = 16;
int _minWidth = 64;
int _minHeight = 0;
int _spacing = 4;
int _leftPad = 4;
int _rightPad = 4;
LabelPosition _labelPosition = TextRight;
}

LabelDescription labelCutterWorkUncheck : "labelCutterWorkCheck"
{
Color _color = 0xFF2E2B28;
}

Which is directly from the Market Template. Unfortunately I don't really know what any of this is referencing, or even the slightest clue how to fix it.

It might not even be in this particular code bit. If necessary I can upload the whole thing...

Offline RedKetchup

  • Champion
  • Banished Expert
  • *****
  • Posts: 8098
Re: Help with new marketplace
« Reply #1 on: December 22, 2017, 02:32:25 PM »
you need to create a Dialog folder and then , put a copy of Dialog/Work.rsc and paste it inside your Dialog folder of your mod
you will find it in the Resource\Dialog folder of* your toolkit.
« Last Edit: December 22, 2017, 08:14:50 PM by RedKetchup »
> > > Support Mods Creation developments with Paypal Donations < < <
Click here to PayPal Donate.

Offline angainor88

  • Laborer
  • **
  • Posts: 49
Re: Help with new marketplace
« Reply #2 on: December 22, 2017, 04:29:19 PM »
Thank you! That was the piece I was missing

Offline RedKetchup

  • Champion
  • Banished Expert
  • *****
  • Posts: 8098
Re: Help with new marketplace
« Reply #3 on: December 22, 2017, 08:15:04 PM »
welcome
> > > Support Mods Creation developments with Paypal Donations < < <
Click here to PayPal Donate.