It's Cow Game! Version 2.04!
This commit is contained in:
commit
a9e1ed9ddd
3148 changed files with 95332 additions and 0 deletions
10
Interactions/Refilling/RefillingInteration.gd
Normal file
10
Interactions/Refilling/RefillingInteration.gd
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
extends Interaction
|
||||
|
||||
@onready var refillingInterface:Window = $RefillingMenu
|
||||
|
||||
func _ready():
|
||||
add_action("Refill", open_refilling_window)
|
||||
|
||||
func open_refilling_window():
|
||||
refillingInterface.popup_centered()
|
||||
refillingInterface.opened()
|
||||
11
Interactions/Refilling/RefillingInteration.tscn
Normal file
11
Interactions/Refilling/RefillingInteration.tscn
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://0ltsucnpwie2"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://c5ded8kcouyci" path="res://Interactions/Interactable/interaction.tscn" id="1_lxel4"]
|
||||
[ext_resource type="Script" path="res://Interactions/Refilling/RefillingInteration.gd" id="2_fs7te"]
|
||||
[ext_resource type="PackedScene" uid="uid://crynlveb561db" path="res://UI/Refilling/RefillingMenu.tscn" id="3_32j1o"]
|
||||
|
||||
[node name="RefillingInteraction" instance=ExtResource("1_lxel4")]
|
||||
script = ExtResource("2_fs7te")
|
||||
|
||||
[node name="RefillingMenu" parent="." index="1" instance=ExtResource("3_32j1o")]
|
||||
visible = false
|
||||
Loading…
Add table
Add a link
Reference in a new issue