# Conflicts: # scripts/CSharp/Common/CharacterControls/VesnaBehaviour.cs.uid # scripts/CSharp/Common/Farming/FieldService.cs.uidremotes/checkIfPRContentChanged-1749884192368007736/c_sharp_setup
commit
7e19268847
@ -0,0 +1,26 @@
|
|||||||
|
[gd_scene load_steps=5 format=3 uid="uid://5hltxpdxmqcq"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://udhigottc8rg" path="res://scripts/CSharp/Common/Inventory/ItemOnGround.cs" id="1_mnomu"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://ob04y3syvo0e" path="res://prefabs/interaction_area.tscn" id="2_ue6ub"]
|
||||||
|
[ext_resource type="Script" uid="uid://c8suoi3i6kqai" path="res://scripts/CSharp/Common/Inventory/ItemOnGroundSpawnWith.cs" id="3_ue6ub"]
|
||||||
|
[ext_resource type="Resource" uid="uid://c7viddcd3kywp" path="res://resources/items/axe.tres" id="4_sfad0"]
|
||||||
|
|
||||||
|
[node name="GenericItemOnGround" type="Node3D"]
|
||||||
|
script = ExtResource("1_mnomu")
|
||||||
|
|
||||||
|
[node name="InteractionArea" parent="." instance=ExtResource("2_ue6ub")]
|
||||||
|
|
||||||
|
[node name="SpawnWithItem" type="Node" parent="."]
|
||||||
|
script = ExtResource("3_ue6ub")
|
||||||
|
_blueprint = ExtResource("4_sfad0")
|
||||||
|
|
||||||
|
[node name="ItemLabel" type="Label3D" parent="."]
|
||||||
|
offset = Vector2(0, 55.64)
|
||||||
|
billboard = 1
|
||||||
|
text = "test"
|
||||||
|
|
||||||
|
[node name="PickupErrorLabel" type="Label3D" parent="."]
|
||||||
|
offset = Vector2(0, 150)
|
||||||
|
billboard = 1
|
||||||
|
|
||||||
|
[connection signal="Interacted" from="InteractionArea" to="." method="TryPickUp"]
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
[gd_resource type="Resource" script_class="ItemResource" load_steps=2 format=3 uid="uid://d1uuxp1lp4aro"]
|
||||||
|
|
||||||
|
[ext_resource type="Script" uid="uid://cbskymrxs6ksu" path="res://scripts/CSharp/Common/Inventory/ItemResource.cs" id="1_dustj"]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
script = ExtResource("1_dustj")
|
||||||
|
name = "Tomato Seed"
|
||||||
|
color = Color(0.135039, 0.307214, 0.333128, 1)
|
||||||
|
maxStack = 20
|
||||||
|
metadata/_custom_type_script = "uid://cbskymrxs6ksu"
|
||||||
@ -0,0 +1,75 @@
|
|||||||
|
[gd_scene load_steps=12 format=3 uid="uid://dbxy2y85r1d8x"]
|
||||||
|
|
||||||
|
[ext_resource type="PackedScene" uid="uid://dbd1niu3tp8y5" path="res://prefabs/Player3D.tscn" id="1_pdc5e"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://biwd3jj65qrlh" path="res://prefabs/farming/base_field.tscn" id="2_741gk"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://5hltxpdxmqcq" path="res://prefabs/interactions/generic_item_on_ground.tscn" id="5_sjt6k"]
|
||||||
|
[ext_resource type="PackedScene" uid="uid://cgjc4wurbgimy" path="res://prefabs/UI/Inventory/Inventory.tscn" id="6_876p1"]
|
||||||
|
[ext_resource type="Resource" uid="uid://cndd64batns31" path="res://resources/items/bucket.tres" id="6_nvnpb"]
|
||||||
|
[ext_resource type="Script" uid="uid://d17si23dtlg72" path="res://scripts/CSharp/Common/Farming/FieldService.cs" id="7_3rkjv"]
|
||||||
|
[ext_resource type="Resource" uid="uid://c5yg3lx756v4v" path="res://resources/items/hoe.tres" id="7_hv2km"]
|
||||||
|
[ext_resource type="Resource" uid="uid://d1uuxp1lp4aro" path="res://resources/items/tomato_seed.tres" id="8_hv2km"]
|
||||||
|
|
||||||
|
[sub_resource type="PlaneMesh" id="PlaneMesh_8yprl"]
|
||||||
|
|
||||||
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8tgff"]
|
||||||
|
albedo_color = Color(0.505882, 0.588235, 0.494118, 1)
|
||||||
|
|
||||||
|
[sub_resource type="BoxShape3D" id="BoxShape3D_t58di"]
|
||||||
|
size = Vector3(2.01563, 0.160522, 2.00824)
|
||||||
|
|
||||||
|
[node name="SceneFarmVesna" type="Node3D"]
|
||||||
|
|
||||||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
||||||
|
transform = Transform3D(10, 0, 0, 0, 10, 0, 0, 0, 10, 0, 0, 0)
|
||||||
|
mesh = SubResource("PlaneMesh_8yprl")
|
||||||
|
skeleton = NodePath("")
|
||||||
|
surface_material_override/0 = SubResource("StandardMaterial3D_8tgff")
|
||||||
|
|
||||||
|
[node name="StaticBody3D" type="StaticBody3D" parent="MeshInstance3D"]
|
||||||
|
|
||||||
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="MeshInstance3D/StaticBody3D"]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.000976563, -0.0739136, -0.00112915)
|
||||||
|
shape = SubResource("BoxShape3D_t58di")
|
||||||
|
|
||||||
|
[node name="Player3d" parent="." node_paths=PackedStringArray("_fieldParent") instance=ExtResource("1_pdc5e")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.51633, 0.725631, 3.57249)
|
||||||
|
_fieldParent = NodePath("../FieldService")
|
||||||
|
|
||||||
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 0.618408, 0.785857, 0, -0.785857, 0.618408, -0.802612, 0, 4.73262)
|
||||||
|
|
||||||
|
[node name="BaseField" parent="." instance=ExtResource("2_741gk")]
|
||||||
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0.0574723, 0)
|
||||||
|
visible = false
|
||||||
|
|
||||||
|
[node name="Inventory" parent="." instance=ExtResource("6_876p1")]
|
||||||
|
|
||||||
|
[node name="FieldService" type="Node3D" parent="."]
|
||||||
|
script = ExtResource("7_3rkjv")
|
||||||
|
|
||||||
|
[node name="GenericItemOnGround" parent="." instance=ExtResource("5_sjt6k")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.53971, -4.76837e-07, -3.81996)
|
||||||
|
|
||||||
|
[node name="SpawnWithItem" parent="GenericItemOnGround" index="1"]
|
||||||
|
_blueprint = ExtResource("6_nvnpb")
|
||||||
|
|
||||||
|
[node name="GenericItemOnGround2" parent="." instance=ExtResource("5_sjt6k")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.73646, -9.53674e-07, -3.96783)
|
||||||
|
|
||||||
|
[node name="GenericItemOnGround3" parent="." instance=ExtResource("5_sjt6k")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.43861, -4.76837e-07, -3.93506)
|
||||||
|
|
||||||
|
[node name="SpawnWithItem" parent="GenericItemOnGround3" index="1"]
|
||||||
|
_blueprint = ExtResource("7_hv2km")
|
||||||
|
|
||||||
|
[node name="GenericItemOnGround4" parent="." instance=ExtResource("5_sjt6k")]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.1678, -4.76837e-07, -3.94977)
|
||||||
|
_infiniteSupply = true
|
||||||
|
|
||||||
|
[node name="SpawnWithItem" parent="GenericItemOnGround4" index="1"]
|
||||||
|
_blueprint = ExtResource("8_hv2km")
|
||||||
|
|
||||||
|
[editable path="GenericItemOnGround"]
|
||||||
|
[editable path="GenericItemOnGround2"]
|
||||||
|
[editable path="GenericItemOnGround3"]
|
||||||
|
[editable path="GenericItemOnGround4"]
|
||||||
@ -0,0 +1 @@
|
|||||||
|
uid://udhigottc8rg
|
||||||
@ -0,0 +1 @@
|
|||||||
|
uid://c8suoi3i6kqai
|
||||||
Loading…
Reference in new issue