I'm currently working on making my own Custom Furniture and, one of the first things I did, was dowload some existing CF mods to peek at the code and gather some info regarding which furniture Types I could choose from. This is what I came up with:
In terms of how these will behave in-game, I'd like to know what is the difference between "chair" and "armchair", between "couch" and "bench" and between "decor" and "other".
These are directly copied from SDV's code, so the differences actually come from the game itself.
The main differences between these is how the dimensions of furniture items change when they're rotated, and how they're categorized in the furniture catalog, plus a few specific types with special behaviors. Because CF has its own way of resizing things as they're rotated, the first of those things is irrelevant.
Armchair and chair are functionally identical, as are long table and table, and couch and bench. Here's the special behaviors:
table/long table: placed in table category and can have items and "decor" furniture placed on them chair/armchair: placed in chair category. no other function, unless "sit in chairs" mod is installed. couch/bench: placed in couch category. no other function, unless "sit in chairs" mod is installed. bookcase: placed in misc. category. no other function. dresser: placed in misc category, functions as a dresser in cabins (I believe, haven't confirmed this.) other: placed in misc category. no other function. lamp: placed in misc. category. switches between "on" and "off" sprites depending on time, emits light at night. decor: placed in misc category. can be placed on tables rug: placed in rug category. placed on floor, can be placed underneath other furniture items. painting: placed in painting category. placed on walls. top of hitbox always aligns with the top of the wall. window: placed in painting category. placed on walls. switches between "day" and "night" sprites depending on time, emits light during the day.
I hope that answers your questions!
EDIT: the game also has a "fireplace" type, which may work even though it's not listed in the CF example.
Furniture Types (2 comments)
- armchair
- bench
- bookcase
- chair
- couch
- decor
- dresser
- other
- lamp
- long table
- painting
- rug
- table
- window
In terms of how these will behave in-game, I'd like to know what is the difference between "chair" and "armchair", between "couch" and "bench" and between "decor" and "other".
The main differences between these is how the dimensions of furniture items change when they're rotated, and how they're categorized in the furniture catalog, plus a few specific types with special behaviors. Because CF has its own way of resizing things as they're rotated, the first of those things is irrelevant.
Armchair and chair are functionally identical, as are long table and table, and couch and bench. Here's the special behaviors:
table/long table: placed in table category and can have items and "decor" furniture placed on them
chair/armchair: placed in chair category. no other function, unless "sit in chairs" mod is installed.
couch/bench: placed in couch category. no other function, unless "sit in chairs" mod is installed.
bookcase: placed in misc. category. no other function.
dresser: placed in misc category, functions as a dresser in cabins (I believe, haven't confirmed this.)
other: placed in misc category. no other function.
lamp: placed in misc. category. switches between "on" and "off" sprites depending on time, emits light at night.
decor: placed in misc category. can be placed on tables
rug: placed in rug category. placed on floor, can be placed underneath other furniture items.
painting: placed in painting category. placed on walls. top of hitbox always aligns with the top of the wall.
window: placed in painting category. placed on walls. switches between "day" and "night" sprites depending on time, emits light during the day.
I hope that answers your questions!
EDIT:
the game also has a "fireplace" type, which may work even though it's not listed in the CF example.