| Line 172: |
Line 172: |
| | * '''OnYEdge''' (True/False) - Should be placed on the grid border on the y-axis | | * '''OnYEdge''' (True/False) - Should be placed on the grid border on the y-axis |
| | * '''CanRotate''' (True/False) - Can be rotated when placed, e.g. not chairs | | * '''CanRotate''' (True/False) - Can be rotated when placed, e.g. not chairs |
| − | * '''Height1''' (Decimal number) - The bottom coordinate of the furniture | + | * '''Only180Rotation''' (True/False) - Whether this furniture can only be rotated at 180 degrees, if snapping |
| − | * '''Height2''' (Decimal number) - The top coordinate of the furniture, 2 is max | + | * '''IsDraggable''' (True/False) - Whether this furniture can be dragged out to multiple when placing |
| | + | * '''DragDistance''' (Decimal number) - How far between each placement when dragging |
| | + | * '''Height1''' (Decimal number) - The bottom coordinate of the furniture, should be -0.1 for carpets |
| | + | * '''Height2''' (Decimal number) - The top coordinate of the furniture, 2 is max, should be -0.05 for carpets |
| | * '''BasementValid''' (True/False) - Can be placed in the basement | | * '''BasementValid''' (True/False) - Can be placed in the basement |
| | * '''OnlyExteriorWalls''' (True/False) - Has to be placed on exterior walls | | * '''OnlyExteriorWalls''' (True/False) - Has to be placed on exterior walls |
| | * '''WallFurn''' (True/False) - Should be placed on a wall | | * '''WallFurn''' (True/False) - Should be placed on a wall |
| | + | * '''InFloor''' (True/False) - Whether this furniture is placed into the floor, e.g. floor vents |
| | + | * '''BlocksFloor''' (True/False) - Whether this furniture blocks furniture that is placed into the floor, e.g. couches |
| | * '''IsSnapping''' (True/False) - Should snap to another furniture | | * '''IsSnapping''' (True/False) - Should snap to another furniture |
| | * '''SnapsTo''' (String) - The name of snap point it should snap to | | * '''SnapsTo''' (String) - The name of snap point it should snap to |
| Line 184: |
Line 189: |
| | * '''ValidOutdoors''' (True/False) - Can be placed in outdoor areas | | * '''ValidOutdoors''' (True/False) - Can be placed in outdoor areas |
| | * '''ValidOnFence''' (True/False) - Can be placed on a fence if WallFurn | | * '''ValidOnFence''' (True/False) - Can be placed on a fence if WallFurn |
| | + | * '''OnlyOnGrass''' (True/False) - Can only be placed on outdoor green areas |
| | + | * '''PokesThroughWall''' (True/False) - Whether the furniture pokes through the wall it's placed on |
| | + | * '''PokesThroughRoof''' (True/False) - Whether the furniture pokes through the roof (see next item) |
| | + | * '''OnRoofObject''' (GameObject) - Object that contains meshes that sits on next floor |
| | * '''NeedsChair''' (True/False) - Should warn the player if no chair is opposite | | * '''NeedsChair''' (True/False) - Should warn the player if no chair is opposite |
| | * '''ManualUsageCalculation''' (True/False) - True for temperature furniture to manually account for the water/electricity costs based on room temperature | | * '''ManualUsageCalculation''' (True/False) - True for temperature furniture to manually account for the water/electricity costs based on room temperature |
| Line 224: |
Line 233: |
| | * '''AtlasDimensions''' (Vector2) - See material guide | | * '''AtlasDimensions''' (Vector2) - See material guide |
| | * '''AtlasCount''' (Whole number) - See material guide | | * '''AtlasCount''' (Whole number) - See material guide |
| | + | * '''AtlasSkip''' (Whole number) - See material guide |
| | + | * '''AtlasOff''' (Whole number) - See material guide |
| | + | * '''AtlasColorable''' (True/False) - See material guide |
| | * '''Type''' (String) - The type of furniture, used to query funritures by employees and in other places | | * '''Type''' (String) - The type of furniture, used to query funritures by employees and in other places |
| | * '''LocalizedName''' (String) - The actual name in the UI as it will be localized in English | | * '''LocalizedName''' (String) - The actual name in the UI as it will be localized in English |
| Line 263: |
Line 275: |
| | * '''ColorSecondaryDefault''' (Color) - Default secondary color | | * '''ColorSecondaryDefault''' (Color) - Default secondary color |
| | * '''ColorTertiaryDefault''' (Color) - Default tertiary color | | * '''ColorTertiaryDefault''' (Color) - Default tertiary color |
| | + | * '''AltStyles''' (List of FurnitureStyle) - A list of extra colors/atlas index the game will include by default for the furniture, should be a list of tables with optional values: Color1, Color2, Color3 and AtlasIndex |
| | * '''ColorableLights''' (List of Light) - Reference to Light scripts that can be colored by player | | * '''ColorableLights''' (List of Light) - Reference to Light scripts that can be colored by player |
| | * '''FullColorMaterial''' (True/False) - Whether entire material should be colored, e.g. if default Unity material | | * '''FullColorMaterial''' (True/False) - Whether entire material should be colored, e.g. if default Unity material |
| | * '''LightPrimary''' (True/False) - Whether primary color or tertiary color should control light color | | * '''LightPrimary''' (True/False) - Whether primary color or tertiary color should control light color |
| | * '''TreeLeaves''' (Renderer) - Reference to tree mesh to use in-game tree shader | | * '''TreeLeaves''' (Renderer) - Reference to tree mesh to use in-game tree shader |
| | + | * '''WallWidth''' (Decimal number) - How wide this furniture is on a wall if it is a wall furniture |
| | + | * '''YOffset''' (Decimal number) - How high the mouse should be projected from the floor when placing |
| | + | * '''ReverseWallSide''' (True/False) - Whether this furniture sits on the etxerior of the wall it's placed on, like the company sign |
| | + | * '''CustomHeight''' (True/False) - Whether the furniture can be placed freely vertically on a wall, note that the furniture meshes should be placed around (0,0,0) in world position |
| | + | * '''ValidHeights''' (List of Single) - A list of valid vertical placements between 0 and 2 in descending order, if furniture has custom height enabled |
| | + | * '''WallHeight''' (Decimal number) - The default placement vertically on the wall, if furniture has custom height enabled |
| | + | * '''GridSizeOverride''' (Decimal number) - Whether to override the grid size when placing, e.g. 2 for half size grid |
| | | | |
| | ==== Upgradable ==== | | ==== Upgradable ==== |