diff --git a/Models/Furniture/ShowroomChairRed.glb b/Models/Furniture/ShowroomChairRed.glb new file mode 100644 index 0000000..fbaca10 Binary files /dev/null and b/Models/Furniture/ShowroomChairRed.glb differ diff --git a/Models/Furniture/ShowroomChairRed.glb.import b/Models/Furniture/ShowroomChairRed.glb.import new file mode 100644 index 0000000..328b585 --- /dev/null +++ b/Models/Furniture/ShowroomChairRed.glb.import @@ -0,0 +1,42 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://ciwnj78dteoqa" +path="res://.godot/imported/ShowroomChairRed.glb-43ad1304e33f40eaaba64d0de4c7b1fd.scn" + +[deps] + +source_file="res://Models/Furniture/ShowroomChairRed.glb" +dest_files=["res://.godot/imported/ShowroomChairRed.glb-43ad1304e33f40eaaba64d0de4c7b1fd.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={} +gltf/naming_version=2 +gltf/embedded_image_handling=1 diff --git a/Scenes/Props/Physics/ShowroomChairRed.tscn b/Scenes/Props/Physics/ShowroomChairRed.tscn new file mode 100644 index 0000000..f5a2f49 --- /dev/null +++ b/Scenes/Props/Physics/ShowroomChairRed.tscn @@ -0,0 +1,29 @@ +[gd_scene load_steps=5 format=3 uid="uid://ccif4ajepiau4"] + +[ext_resource type="PackedScene" uid="uid://ciwnj78dteoqa" path="res://Models/Furniture/ShowroomChairRed.glb" id="1_mq1py"] + +[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_lbe82"] +friction = 0.5 + +[sub_resource type="BoxShape3D" id="BoxShape3D_lbe82"] +size = Vector3(0.55, 0.6, 0.55) + +[sub_resource type="BoxShape3D" id="BoxShape3D_domyf"] +size = Vector3(0.05, 0.6, 0.55) + +[node name="ShowroomChair" type="Node3D"] + +[node name="RigidBody3D" type="RigidBody3D" parent="."] +mass = 5.0 +physics_material_override = SubResource("PhysicsMaterial_lbe82") + +[node name="ShowroomChairRed" parent="RigidBody3D" instance=ExtResource("1_mq1py")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0) + +[node name="CollisionShape3D5" type="CollisionShape3D" parent="RigidBody3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.2, 0) +shape = SubResource("BoxShape3D_lbe82") + +[node name="CollisionShape3D6" type="CollisionShape3D" parent="RigidBody3D"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.3, 0.4, 0) +shape = SubResource("BoxShape3D_domyf") diff --git a/Scripts/Configs/Props.gd b/Scripts/Configs/Props.gd index f20ba07..cf8411e 100644 --- a/Scripts/Configs/Props.gd +++ b/Scripts/Configs/Props.gd @@ -6,4 +6,9 @@ var SpawnableProps = [ "path": "res://Scenes/Props/Physics/ShowroomChair.tscn", "icon": "res://UI/PropIcons/ShowroomChair.png" }, + { + "name": "90s Showroom Chair (Red)", + "path": "res://Scenes/Props/Physics/ShowroomChairRed.tscn", + "icon": "res://UI/PropIcons/ShowroomChairRed.png" + }, ] diff --git a/UI/PropIcons/ShowroomChairRed.png b/UI/PropIcons/ShowroomChairRed.png new file mode 100644 index 0000000..a84e60e Binary files /dev/null and b/UI/PropIcons/ShowroomChairRed.png differ diff --git a/UI/PropIcons/ShowroomChairRed.png.import b/UI/PropIcons/ShowroomChairRed.png.import new file mode 100644 index 0000000..0afd96f --- /dev/null +++ b/UI/PropIcons/ShowroomChairRed.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://61tp62163f64" +path="res://.godot/imported/ShowroomChairRed.png-956c313069f348e09b59da6b509ca522.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://UI/PropIcons/ShowroomChairRed.png" +dest_files=["res://.godot/imported/ShowroomChairRed.png-956c313069f348e09b59da6b509ca522.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1