Add inventory system
This commit is contained in:
30
scenes/Entities/TestNPC.tscn
Normal file
30
scenes/Entities/TestNPC.tscn
Normal file
@@ -0,0 +1,30 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://dr4b2pmsknuhc"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Entities/TestNPCController.gd" id="1_61g2d"]
|
||||
[ext_resource type="Shader" path="res://shaders/NPC Shader.gdshader" id="1_xgcv1"]
|
||||
[ext_resource type="Texture2D" uid="uid://i34vweii6joy" path="res://textures/rosa.png" id="2_shls4"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_dw1sy"]
|
||||
radius = 0.331611
|
||||
height = 0.804274
|
||||
|
||||
[sub_resource type="QuadMesh" id="QuadMesh_xhkdv"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_l4utx"]
|
||||
render_priority = 0
|
||||
shader = ExtResource("1_xgcv1")
|
||||
shader_parameter/frame = 0
|
||||
shader_parameter/direction = 1
|
||||
shader_parameter/npcTexture = ExtResource("2_shls4")
|
||||
|
||||
[node name="TestNpc" type="CharacterBody3D"]
|
||||
script = ExtResource("1_61g2d")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.126485)
|
||||
shape = SubResource("CapsuleShape3D_dw1sy")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 0.173648, 0.984808, 0, -0.984808, 0.173648, 0.00989294, 0, 0)
|
||||
mesh = SubResource("QuadMesh_xhkdv")
|
||||
surface_material_override/0 = SubResource("ShaderMaterial_l4utx")
|
Reference in New Issue
Block a user