News:

Welcome to World of Banished!

Main Menu

Help with new marketplace

Started by angainor88, December 22, 2017, 01:54:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

angainor88

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:

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

RedKetchup

#1
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.
> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .

angainor88

Thank you! That was the piece I was missing

RedKetchup

> > > Support Mods Creation developments with Donations by Paypal  < < <
Click here to Donate by PayPal .