It's Cow Game! Version 2.04!

This commit is contained in:
PajamaBee 2024-09-19 23:06:51 -05:00
commit a9e1ed9ddd
3148 changed files with 95332 additions and 0 deletions

View file

@ -0,0 +1,31 @@
extends Interaction
func _ready():
add_action("Plan", plan, plan_check)
add_action("Build", build, build_check)
add_action("Arson", arson, arson_check)
add_action("Demolish", demolish, demolish_check)
func build():
get_parent().build()
func build_check():
return get_parent().build_check()
func plan():
get_parent().plan()
func plan_check():
return get_parent().plan_check()
func demolish():
get_parent().demolish()
func demolish_check():
return get_parent().demolish_check()
func arson():
get_parent().arson()
func arson_check():
return get_parent().arson_check()

View file

@ -0,0 +1,7 @@
[gd_scene load_steps=3 format=3 uid="uid://cf3aqkjfurrjs"]
[ext_resource type="PackedScene" uid="uid://c5ded8kcouyci" path="res://Interactions/Interactable/interaction.tscn" id="1_ui8jv"]
[ext_resource type="Script" path="res://Interactions/Building/BuildingSpot/Buildable.gd" id="2_5uan7"]
[node name="Buildable" instance=ExtResource("1_ui8jv")]
script = ExtResource("2_5uan7")

View file

@ -0,0 +1,24 @@
extends Interaction
func _ready():
add_action("Plan", plan, plan_check)
add_action("Build", build, build_check)
add_action("Demolish", demolish, demolish_check)
func build():
get_parent().build()
func build_check():
return get_parent().build_check()
func plan():
get_parent().plan()
func plan_check():
return get_parent().plan_check()
func demolish():
get_parent().demolish()
func demolish_check():
return get_parent().demolish_check()