Community Forum

How to make a placeable buyable with land

Forum Overview >> Editor

Created20.01.2019 14:31

Onur Ekici (onurekici) 20.01.2019 14:31
İ am trying to make a hayloft buyable with land.
How can i do it

Bilbo Beutlin (BBeutlin) 20.01.2019 19:51
Take eg. the default farm silo as template.
Insert it as "placeholder" in the map.i3d.
Add the hayloft.xml to "defaultItems.xml".
The xml should contain

Onur Ekici (onurekici) 20.01.2019 22:33
Hi Bilbo, thank you for your support.

I inserted the hayloft as placeholder in my i3d file.
I added rows below to hayloft.xml

But in the game, i bought the farmland but the hayloft doesnot belong to me, farmid is still "0".

Bilbo Beutlin (BBeutlin) 21.01.2019 00:13
Are you sure you have added the lines within the section <storeData> ?
And you have added the right item hayloft in "defaultItems.xml" ?
At least the bga works in this way. Perhaps try adding the attribute farmId="1".

Note: Log in to post. Create a new account here.