Coding Help Trying to add new furniture to farmhouse on custom farm

sapphiria

Greenhorn
Hi, I'm fairly new to modding this game. I'm trying to add some of the new junimo furniture to the farmhouse on a custom farm via the FarmHouseFurniture map property, but I'm running into issues with the new string IDs. Is there a way to get this to work? Maybe some way to get a numeric furniture ID instead of a string?

Error message:

Code:
[game] Can't parse map property 'FarmHouseFurniture' with value '1616 2 1 0 Deco
rativeJunimoDoor 6 1 0 JunimoWallPlaque 10 1 0 1466 1 4 0 JunimoLamp 3 4 0 Junim
oBookcase 4 4 0 JunimoFireplace 8 4 0 JunimoPot 10 4 0 DarkJunimoCushion 1 6 0 J
unimoEndTable 7 6 0 GraySleepingJunimo 7 6 0 JunimoCouch 8 6 2 JunimoTeaTable 1
7 0 JunimoCushion 3 8 0 JunimoMat 6 8 0 SmallJunimoPot 1 10 0 JunimoFlower 8 10
0' in location 'Farm': required index 4 has value 'DecorativeJunimoDoor', which
can't be parsed as an integer.
 

sapphiria

Greenhorn
In case anyone else is looking, I found out I could copy those furniture item entries and add them with numeric IDs with Content Patcher. Not sure if that's the best solution, but it seems to be working.

junimo_farmhouse.jpg
 

CakeyBunz

Greenhorn
very curious to see an example of your code as im trying to do the same thing now but cant seem to figure out how to write it out in my content.json
 
Top