Category | Editor |
Created | 20.01.2019 14:31 |
Onur Ekici (onurekici) | 20.01.2019 14:31 |
---|---|
Hi, İ 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 <placeable> <storeData> .. <canBeSold>false</canBeSold> <showInStore>false</showInStore> <boughtWithFarmland>true</boughtWithFarmland> .. |
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 <canBeSold>false</canBeSold> <showInStore>false</showInStore> <boughtWithFarmland>true</boughtWithFarmland> 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.