Hey folks. trying add a new furniture item similar to the toilet, a water dispenser.
Unfortunately everything I’ve tried so far seems to fail horribly.
Getting a furn_set error, any ideas? Does the furniture item itself need to be in the furniture.json?
No idea how to add new furniture, but showing us what you tried so far in code should help. (Or, better, make a branch on github and link towards that).
It looks like you’re using f_cooler to define the furniture item, but that’s not been defined in mapdata or the furnlist - I believe that adding it to the JSON should auto-include it in the furnlist, but you may also need to update the big list in mapdata.
f_cooler is a variable that gets set when the furniture is loaded from json. “f_cooler” works the same, it is transformed into the proper furniture id when it’s actually used.
[quote=“BevapDin, post:6, topic:5218”]Use “f_cooler” instead of f_cooler.
f_cooler is a variable that gets set when the furniture is loaded from json. “f_cooler” works the same, it is transformed into the proper furniture id when it’s actually used.[/quote]