It's Cow Game! Version 2.04!
This commit is contained in:
commit
a9e1ed9ddd
3148 changed files with 95332 additions and 0 deletions
9
Interactions/Weavable/Weavable.gd
Normal file
9
Interactions/Weavable/Weavable.gd
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
extends Interaction
|
||||
|
||||
func _ready():
|
||||
add_action("Weave", weave)
|
||||
|
||||
func weave():
|
||||
GameVariables.player.currentInteractingGroundItem = get_parent()
|
||||
GameVariables.player.weave_item(get_parent().item)
|
||||
|
||||
7
Interactions/Weavable/Weavable.tscn
Normal file
7
Interactions/Weavable/Weavable.tscn
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://dxru24e0y16p2"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://c5ded8kcouyci" path="res://Interactions/Interactable/interaction.tscn" id="1_cpdnf"]
|
||||
[ext_resource type="Script" path="res://Interactions/Weavable/Weavable.gd" id="2_d512x"]
|
||||
|
||||
[node name="Weavable" instance=ExtResource("1_cpdnf")]
|
||||
script = ExtResource("2_d512x")
|
||||
Loading…
Add table
Add a link
Reference in a new issue