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,23 @@
extends Node2D
func _ready():
update_ash()
func show_ash_barrel_window():
%AshBarrelWindow.popup_centered()
%AshBarrelWindow.opened()
func update_ash():
var ash_count = %AshBarrelWindow.get_ash_count()
if ash_count > 0:
%AshBottom.visible = true
%AshBottom.self_modulate = %AshBarrelWindow.get_ash_color()
else:
%AshBottom.visible = false
%AshBar.value = ash_count
var newStyleBox = %AshBar.get("theme_override_styles/fill")
newStyleBox.bg_color = %AshBarrelWindow.get_ash_color()

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bfsfwarreymej"
path="res://.godot/imported/AshBarrel.png-ef905c02092c80e20d2e79c0e7d65c0d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/AshBarrel/AshBarrel.png"
dest_files=["res://.godot/imported/AshBarrel.png-ef905c02092c80e20d2e79c0e7d65c0d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,81 @@
[gd_scene load_steps=12 format=3 uid="uid://4e55qinpx62y"]
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_cr61a"]
[ext_resource type="Script" path="res://Objects/Museum/AshBarrel/AshBarrel.gd" id="2_07njx"]
[ext_resource type="Texture2D" uid="uid://bfsfwarreymej" path="res://Objects/Museum/AshBarrel/AshBarrel.png" id="2_ux6b1"]
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="3_vxw5e"]
[ext_resource type="Texture2D" uid="uid://6qkrfsj54byn" path="res://Objects/Museum/AshBarrel/AshBottom.png" id="3_xkfgh"]
[ext_resource type="PackedScene" uid="uid://bqf30ut0hvmn4" path="res://Interactions/AshBarrel/AshBarrelInteraction.tscn" id="4_re637"]
[ext_resource type="PackedScene" uid="uid://rggivntaylnr" path="res://UI/AshBarrel/AshBarrelWindow.tscn" id="6_628yk"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_fe758"]
bg_color = Color(0.6, 0.6, 0.6, 0)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_7slq7"]
bg_color = Color(1, 1, 1, 1)
border_color = Color(0, 0.235294, 0.909804, 1)
[sub_resource type="SpriteFrames" id="SpriteFrames_xdtxh"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_ux6b1")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_7jhe4"]
size = Vector2(266, 85)
[node name="AshBarrel" instance=ExtResource("1_cr61a")]
process_mode = 3
script = ExtResource("2_07njx")
[node name="AshBar" type="ProgressBar" parent="." index="0"]
unique_name_in_owner = true
offset_left = -126.0
offset_top = -175.0
offset_right = 147.0
offset_bottom = -87.0
scale = Vector2(0.94, 2)
theme_override_styles/background = SubResource("StyleBoxFlat_fe758")
theme_override_styles/fill = SubResource("StyleBoxFlat_7slq7")
value = 50.0
fill_mode = 3
show_percentage = false
[node name="AshBottom" type="Sprite2D" parent="." index="1"]
unique_name_in_owner = true
position = Vector2(2, -90)
texture = ExtResource("3_xkfgh")
[node name="AnimatedSprite2D" parent="." index="2"]
position = Vector2(3, -90)
sprite_frames = SubResource("SpriteFrames_xdtxh")
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
polygon = PackedVector2Array(-131, -22, 137, -22, 137, 3, 109, 15, 63, 25, 18, 29, -10, 29, -46, 26, -110, 14, -131, 1)
[node name="Interactable" parent="." index="4" instance=ExtResource("3_vxw5e")]
[node name="Panel" parent="Interactable" index="1"]
offset_left = -130.0
offset_top = -190.0
offset_right = 136.0
offset_bottom = 6.0
[node name="AshBarrelInteraction" parent="." index="5" instance=ExtResource("4_re637")]
[node name="CollisionShape2D" parent="AshBarrelInteraction/InteractionArea" index="0"]
position = Vector2(3, 5.5)
shape = SubResource("RectangleShape2D_7jhe4")
[node name="AshBarrelWindow" parent="." index="6" instance=ExtResource("6_628yk")]
unique_name_in_owner = true
visible = false
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="AshBarrelInteraction"]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dw6by7fk1xim2"
path="res://.godot/imported/AshBarrelMask.png-e12cb1d6acb4774e3e8079860e93a617.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/AshBarrel/AshBarrelMask.png"
dest_files=["res://.godot/imported/AshBarrelMask.png-e12cb1d6acb4774e3e8079860e93a617.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 564 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://6qkrfsj54byn"
path="res://.godot/imported/AshBottom.png-d488444611ffed9a28d0278c5b64a21e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/AshBarrel/AshBottom.png"
dest_files=["res://.godot/imported/AshBottom.png-d488444611ffed9a28d0278c5b64a21e.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 895 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cxi7kfcifth5y"
path="res://.godot/imported/DoorBlock.png-fd750a935c709b6297a1189955438876.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/CaveIcons/DoorBlock.png"
dest_files=["res://.godot/imported/DoorBlock.png-fd750a935c709b6297a1189955438876.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 788 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bub7uf7k7olnl"
path="res://.godot/imported/SpeakingBlock.png-477754e6d9314f7930c43a8fe831c6e6.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/CaveIcons/SpeakingBlock.png"
dest_files=["res://.godot/imported/SpeakingBlock.png-477754e6d9314f7930c43a8fe831c6e6.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,21 @@
extends Node2D
var opened = false
func _ready():
%AnimatedSprite2D.play("default")
MessageManager.messageSent.connect(messageSpoken)
func messageSpoken(message:String):
message = message.to_lower().strip_edges()
if message == "open" or message.contains(" open")or message.contains("open "):
open()
func open():
if !opened:
opened = true
%AnimatedSprite2D.play("Opening")
$Interactable.visible = true
$Traveller.visible = true
get_tree().get_root().get_node("MainGame/PuzzleCompleteAudio").play()

Binary file not shown.

After

Width:  |  Height:  |  Size: 622 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://btmev74xmhygw"
path="res://.godot/imported/AutoDoor.png-85282c42fca9ac29dc307b0796bc19ef.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/Door/AutoDoor.png"
dest_files=["res://.godot/imported/AutoDoor.png-85282c42fca9ac29dc307b0796bc19ef.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,109 @@
[gd_scene load_steps=18 format=3 uid="uid://ba3evqcalbu3u"]
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_pcst0"]
[ext_resource type="Script" path="res://Objects/Museum/Door/AutoDoor.gd" id="2_3dggm"]
[ext_resource type="Texture2D" uid="uid://btmev74xmhygw" path="res://Objects/Museum/Door/AutoDoor.png" id="2_648oe"]
[ext_resource type="Texture2D" uid="uid://byyww2101qjii" path="res://Objects/Museum/Door/AutoDoorFrame1.png" id="2_tbeql"]
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="3_srbq0"]
[ext_resource type="Texture2D" uid="uid://dm8m53vanxsqn" path="res://Objects/Museum/Door/AutoDoorFrame2.png" id="3_vbjvt"]
[ext_resource type="Texture2D" uid="uid://cqd04whv6r3uu" path="res://Objects/Museum/Door/AutoDoorFrame3.png" id="4_6cyie"]
[ext_resource type="PackedScene" uid="uid://dhmmocu2rnhov" path="res://Interactions/Travel/Traveller.tscn" id="4_xpopl"]
[ext_resource type="Texture2D" uid="uid://bl4mkg8ccwrhk" path="res://MiscArt/White.png" id="5_pj66y"]
[ext_resource type="Texture2D" uid="uid://by25u405o0hqa" path="res://Objects/Museum/Door/AutoDoorFrame4.png" id="5_vyfp6"]
[ext_resource type="Texture2D" uid="uid://06bll1yutq5v" path="res://Objects/Museum/Door/AutoDoorFrame5.png" id="6_saw7e"]
[ext_resource type="Texture2D" uid="uid://c2duoaoco6ih3" path="res://Objects/Museum/Door/AutoDoorFrame6.png" id="7_hq8wq"]
[ext_resource type="Texture2D" uid="uid://cjanoko38aufd" path="res://Objects/Museum/Door/AutoDoorFrame7.png" id="8_xjhfs"]
[ext_resource type="Texture2D" uid="uid://bh4ojd0bng5b0" path="res://Objects/Museum/Door/AutoDoorFrame8.png" id="10_5xqul"]
[sub_resource type="SpriteFrames" id="SpriteFrames_6kf85"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_tbeql")
}, {
"duration": 1.0,
"texture": ExtResource("3_vbjvt")
}, {
"duration": 1.0,
"texture": ExtResource("4_6cyie")
}, {
"duration": 1.0,
"texture": ExtResource("5_vyfp6")
}, {
"duration": 1.0,
"texture": ExtResource("6_saw7e")
}, {
"duration": 1.0,
"texture": ExtResource("7_hq8wq")
}, {
"duration": 1.0,
"texture": ExtResource("8_xjhfs")
}, {
"duration": 1.0,
"texture": ExtResource("10_5xqul")
}],
"loop": false,
"name": &"Opening",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_648oe")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_7p6y0"]
radius = 31.0
[sub_resource type="SpriteFrames" id="SpriteFrames_6k8l8"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("5_pj66y")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="AutoDoor" instance=ExtResource("1_pcst0")]
script = ExtResource("2_3dggm")
[node name="AnimatedSprite2D" parent="." index="0"]
unique_name_in_owner = true
position = Vector2(0, -74)
sprite_frames = SubResource("SpriteFrames_6kf85")
animation = &"Opening"
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
polygon = PackedVector2Array(-4, -19, 0, -23, 5, -19)
[node name="Interactable" parent="." index="2" instance=ExtResource("3_srbq0")]
visible = false
[node name="Panel" parent="Interactable" index="1"]
offset_left = -78.0
offset_top = -130.0
offset_right = 78.0
offset_bottom = 43.0
[node name="Traveller" parent="." index="3" instance=ExtResource("4_xpopl")]
visible = false
destinationLocations = Array[int]([])
[node name="CollisionShape2D" parent="Traveller/InteractionArea" index="0"]
position = Vector2(0, -1)
shape = SubResource("CircleShape2D_7p6y0")
[node name="AnimatedSprite2D2" type="AnimatedSprite2D" parent="Traveller" index="1"]
self_modulate = Color(0.341176, 1, 1, 0.564706)
position = Vector2(-2.44379e-06, 21.5)
scale = Vector2(1.56, 0.43)
sprite_frames = SubResource("SpriteFrames_6k8l8")
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="Traveller"]

Binary file not shown.

After

Width:  |  Height:  |  Size: 622 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://byyww2101qjii"
path="res://.godot/imported/AutoDoorFrame1.png-5eb12fb6d3bc4a9ba75518ad7ec0e7d0.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/Door/AutoDoorFrame1.png"
dest_files=["res://.godot/imported/AutoDoorFrame1.png-5eb12fb6d3bc4a9ba75518ad7ec0e7d0.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dm8m53vanxsqn"
path="res://.godot/imported/AutoDoorFrame2.png-81f00c709c2bda4aaa6dcee41511eedb.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/Door/AutoDoorFrame2.png"
dest_files=["res://.godot/imported/AutoDoorFrame2.png-81f00c709c2bda4aaa6dcee41511eedb.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cqd04whv6r3uu"
path="res://.godot/imported/AutoDoorFrame3.png-c1dac9565ba55369d15f8b97c015383a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/Door/AutoDoorFrame3.png"
dest_files=["res://.godot/imported/AutoDoorFrame3.png-c1dac9565ba55369d15f8b97c015383a.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://by25u405o0hqa"
path="res://.godot/imported/AutoDoorFrame4.png-f11fb177f4eb8afefe0f19f0fecd78bf.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/Door/AutoDoorFrame4.png"
dest_files=["res://.godot/imported/AutoDoorFrame4.png-f11fb177f4eb8afefe0f19f0fecd78bf.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://06bll1yutq5v"
path="res://.godot/imported/AutoDoorFrame5.png-2765bfd3664b1ad25bb8cb75ef80b9c1.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/Door/AutoDoorFrame5.png"
dest_files=["res://.godot/imported/AutoDoorFrame5.png-2765bfd3664b1ad25bb8cb75ef80b9c1.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://c2duoaoco6ih3"
path="res://.godot/imported/AutoDoorFrame6.png-ccc125e242f2b1ef8eb842458d62beb7.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/Door/AutoDoorFrame6.png"
dest_files=["res://.godot/imported/AutoDoorFrame6.png-ccc125e242f2b1ef8eb842458d62beb7.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cjanoko38aufd"
path="res://.godot/imported/AutoDoorFrame7.png-3ae98b1b178fb8954273e254c3b3ac72.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/Door/AutoDoorFrame7.png"
dest_files=["res://.godot/imported/AutoDoorFrame7.png-3ae98b1b178fb8954273e254c3b3ac72.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bh4ojd0bng5b0"
path="res://.godot/imported/AutoDoorFrame8.png-e1dcd48770c53212f49ce0b714a558f9.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/Door/AutoDoorFrame8.png"
dest_files=["res://.godot/imported/AutoDoorFrame8.png-e1dcd48770c53212f49ce0b714a558f9.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 976 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cir7ndx6d7hvc"
path="res://.godot/imported/CaveArt.png-cc977a074d1cfc3ac5e1b379a30651fa.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/Exhibits/CaveArt.png"
dest_files=["res://.godot/imported/CaveArt.png-cc977a074d1cfc3ac5e1b379a30651fa.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 422 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bb7txv7w8he1w"
path="res://.godot/imported/GiftShopCounter.png-e678e6531006a9e2d089541acf152015.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/GiftShop/GiftShopCounter.png"
dest_files=["res://.godot/imported/GiftShopCounter.png-e678e6531006a9e2d089541acf152015.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,24 @@
[gd_scene load_steps=4 format=3 uid="uid://dfh6fgi18qa6x"]
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_a762w"]
[ext_resource type="Texture2D" uid="uid://bb7txv7w8he1w" path="res://Objects/Museum/GiftShop/GiftShopCounter.png" id="2_vkn6p"]
[sub_resource type="SpriteFrames" id="SpriteFrames_q1k42"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_vkn6p")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="GiftShopCounter" instance=ExtResource("1_a762w")]
[node name="AnimatedSprite2D" parent="." index="0"]
position = Vector2(1, -26)
sprite_frames = SubResource("SpriteFrames_q1k42")
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
polygon = PackedVector2Array(-234, 0, 239, 1, 239, 14, -234, 14)

View file

@ -0,0 +1,22 @@
extends "res://Interactions/Shopping/ShopHaver.gd"
func instantiate_shop_inventory():
var DIYExcavation = load("res://Items/Toys/Other/DIYExcavation.gd").new()
var mapleTea = load("res://Items/Foods/Packaged/MapleTeaBag.gd").new()
var crocPuppet = load("res://Items/Toys/Puppets/CrocPuppet.gd").new()
var gummyDino = load("res://Items/Foods/Snack/VeganGummyDino.gd").new()
var activityBook = load("res://Items/Paper/UnicornJournal.gd").new()
var mushroomKit = load("res://Items/Fungi/GrowYourOwnMushroomKit.gd").new()
var wormOnAString = load("res://Items/Toys/WormOnAString/WormOnAString.gd").new()
shopInventory = []
shopInventory.append(DIYExcavation)
shopInventory.append(mapleTea)
shopInventory.append(crocPuppet)
shopInventory.append(gummyDino)
shopInventory.append(activityBook)
shopInventory.append(mushroomKit)
shopInventory.append(wormOnAString)
super.instantiate_shop_inventory()

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dm8816sxt0nsd"
path="res://.godot/imported/GiftShopShop.png-e08769eb8995a561bf8e57afc545dac2.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/GiftShop/GiftShopShop.png"
dest_files=["res://.godot/imported/GiftShopShop.png-e08769eb8995a561bf8e57afc545dac2.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,50 @@
[gd_scene load_steps=5 format=3 uid="uid://dtjrgbmqml0i0"]
[ext_resource type="PackedScene" uid="uid://xiad8cmbm2ic" path="res://Objects/Shop/shop.tscn" id="1_jj6qm"]
[ext_resource type="Texture2D" uid="uid://dm8816sxt0nsd" path="res://Objects/Museum/GiftShop/GiftShopShop.png" id="2_i3n84"]
[ext_resource type="Script" path="res://Objects/Museum/GiftShop/GiftShopShop.gd" id="3_8fv43"]
[sub_resource type="SpriteFrames" id="SpriteFrames_mgb67"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_i3n84")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="GiftShopShop" instance=ExtResource("1_jj6qm")]
[node name="Interactable" parent="." index="0"]
position = Vector2(-0.499999, -109)
[node name="Panel" parent="Interactable" index="1"]
offset_left = -18.8
offset_top = 26.9
offset_right = 21.2
offset_bottom = 56.9
metadata/_edit_use_anchors_ = true
[node name="AnimatedSprite2D" parent="." index="1"]
position = Vector2(0.700001, -66.1)
scale = Vector2(0.6, 0.6)
sprite_frames = SubResource("SpriteFrames_mgb67")
[node name="StaticBody2D" parent="." index="2"]
position = Vector2(-0.499999, -109)
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
visible = false
[node name="ShopHaver" parent="." index="3"]
position = Vector2(-0.499999, -109)
script = ExtResource("3_8fv43")
[node name="CollisionShape2D" parent="ShopHaver/InteractionArea" index="0"]
position = Vector2(1.2, 40.9)
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="ShopHaver"]

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dwxnxgs4evudf"
path="res://.godot/imported/Microscope.png-8ebd9874f57ff1264c51328bcc0052e3.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/GiftShop/Microscope.png"
dest_files=["res://.godot/imported/Microscope.png-8ebd9874f57ff1264c51328bcc0052e3.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,7 @@
extends Interaction
func _ready():
add_action("Microscope", microscope)
func microscope():
get_parent().open_microscoping_menu()

View file

@ -0,0 +1,8 @@
extends Node2D
func _ready():
pass
func open_microscoping_menu():
$MicroscopeWindow.popup_centered()
$MicroscopeWindow.opened()

View file

@ -0,0 +1,59 @@
[gd_scene load_steps=10 format=3 uid="uid://dp2pw8uu3wr4d"]
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_yem17"]
[ext_resource type="Texture2D" uid="uid://dwxnxgs4evudf" path="res://Objects/Museum/GiftShop/Microscope.png" id="2_mf4vs"]
[ext_resource type="Script" path="res://Objects/Museum/GiftShop/microscope.gd" id="2_uotok"]
[ext_resource type="PackedScene" uid="uid://b0bqiakec1osr" path="res://UI/Microscope/MicroscopeWindow.tscn" id="3_baa44"]
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="4_rbjkk"]
[ext_resource type="PackedScene" uid="uid://c5ded8kcouyci" path="res://Interactions/Interactable/interaction.tscn" id="6_termg"]
[ext_resource type="Script" path="res://Objects/Museum/GiftShop/MicroscopeInteraction.gd" id="7_26uov"]
[sub_resource type="SpriteFrames" id="SpriteFrames_2tolx"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_mf4vs")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_b0w6w"]
radius = 58.0
height = 224.0
[node name="Microscope" instance=ExtResource("1_yem17")]
script = ExtResource("2_uotok")
[node name="AnimatedSprite2D" parent="." index="0"]
position = Vector2(-0.5, -58.5)
sprite_frames = SubResource("SpriteFrames_2tolx")
[node name="MicroscopeWindow" parent="." index="1" instance=ExtResource("3_baa44")]
unique_name_in_owner = true
visible = false
[node name="StaticBody2D" parent="." index="2"]
position = Vector2(-0.5, -58.5)
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
polygon = PackedVector2Array(-101.5, 37.5, 109.5, 37.5, 111, 101, -101, 101)
[node name="Interactable" parent="." index="3" instance=ExtResource("4_rbjkk")]
[node name="Panel" parent="Interactable" index="1"]
offset_top = -93.0
offset_right = 109.0
offset_bottom = 25.0
[node name="Interaction" parent="." index="4" instance=ExtResource("6_termg")]
script = ExtResource("7_26uov")
[node name="CollisionShape2D" parent="Interaction/InteractionArea" index="0"]
rotation = 1.5708
shape = SubResource("CapsuleShape2D_b0w6w")
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="Interaction"]

View file

@ -0,0 +1,34 @@
[gd_scene load_steps=5 format=3 uid="uid://cggctkona5ryi"]
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_jse7a"]
[ext_resource type="PackedScene" uid="uid://bsralfmn77824" path="res://Interactions/Hole/HoleInteraction.tscn" id="3_4vrtj"]
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="3_txm1m"]
[sub_resource type="SpriteFrames" id="SpriteFrames_r80c5"]
[node name="Hole" instance=ExtResource("1_jse7a")]
[node name="AnimatedSprite2D" parent="." index="0"]
position = Vector2(0, -34)
sprite_frames = SubResource("SpriteFrames_r80c5")
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
polygon = PackedVector2Array(-81, 9, -77, 0, 78, 0, 81, 7, 25, 9, -28, 9)
disabled = true
[node name="Interactable" parent="." index="2" instance=ExtResource("3_txm1m")]
[node name="Panel" parent="Interactable" index="1"]
offset_left = -117.0
offset_top = -37.0
offset_right = 116.0
offset_bottom = 15.0
[node name="Hole" parent="." index="3" instance=ExtResource("3_4vrtj")]
[node name="HoleMenu" parent="Hole" index="1"]
visible = false
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="Hole"]

View file

@ -0,0 +1,27 @@
[gd_scene load_steps=4 format=3 uid="uid://dh4821vq854pm"]
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_j31ih"]
[ext_resource type="Texture2D" uid="uid://d3ohd1ts76dw8" path="res://Objects/Museum/Lobby/LobbyDesk.png" id="2_0sw6h"]
[sub_resource type="SpriteFrames" id="SpriteFrames_7vn8p"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_0sw6h")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="LobbyCounter" instance=ExtResource("1_j31ih")]
[node name="AnimatedSprite2D" parent="." index="0"]
position = Vector2(0, 170)
sprite_frames = SubResource("SpriteFrames_7vn8p")
[node name="StaticBody2D" parent="." index="1"]
position = Vector2(0, 9)
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
polygon = PackedVector2Array(-30, -9, 30, -9, 31, 331, -30, 331)

Binary file not shown.

After

Width:  |  Height:  |  Size: 501 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://d3ohd1ts76dw8"
path="res://.godot/imported/LobbyDesk.png-4d94b96d62cc72eaa10c453cd0be2b1d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/Lobby/LobbyDesk.png"
dest_files=["res://.godot/imported/LobbyDesk.png-4d94b96d62cc72eaa10c453cd0be2b1d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://tgwrkuft1x1"
path="res://.godot/imported/MoneyStand.png-ba4462f7a0390872a70b5283b8374833.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/MoneyStand/MoneyStand.png"
dest_files=["res://.godot/imported/MoneyStand.png-ba4462f7a0390872a70b5283b8374833.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.85
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -0,0 +1,25 @@
[gd_scene load_steps=4 format=3 uid="uid://dj7mbbdr3f0b7"]
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_wesgp"]
[ext_resource type="Texture2D" uid="uid://tgwrkuft1x1" path="res://Objects/Museum/MoneyStand/MoneyStand.png" id="2_dcgev"]
[sub_resource type="SpriteFrames" id="SpriteFrames_f3p3a"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_dcgev")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="MoneyStand" instance=ExtResource("1_wesgp")]
[node name="AnimatedSprite2D" parent="." index="0"]
position = Vector2(-1, -40)
sprite_frames = SubResource("SpriteFrames_f3p3a")
offset = Vector2(0.5, 0)
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
polygon = PackedVector2Array(-29, 0, 27, 0, 27, 23, -29, 23)

View file

@ -0,0 +1,57 @@
[gd_scene load_steps=12 format=3 uid="uid://b35607dvuj4uu"]
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_ttuwj"]
[ext_resource type="Texture2D" uid="uid://dh3pffv65g0ua" path="res://Locations/Town/MuseumArea/Museum/ScrapPileBig.png" id="2_6h2iv"]
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="3_ydack"]
[ext_resource type="PackedScene" uid="uid://cgqntk262jowi" path="res://Interactions/Scavenging/scavengeable.tscn" id="4_ux46w"]
[ext_resource type="Script" path="res://Items/Artificial/Industrial/ExplosiveBarrel.gd" id="5_1a5b8"]
[ext_resource type="Script" path="res://Items/Artificial/Industrial/Pipe.gd" id="6_o5d4u"]
[ext_resource type="Script" path="res://Items/Artificial/Industrial/IronIngot.gd" id="7_wnjjw"]
[ext_resource type="Script" path="res://Items/Artificial/Industrial/Gear.gd" id="8_ewv5n"]
[ext_resource type="Script" path="res://Items/Artificial/Industrial/Tire.gd" id="9_ypaow"]
[sub_resource type="SpriteFrames" id="SpriteFrames_0mllq"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_6h2iv")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_4mn33"]
size = Vector2(118, 73)
[node name="ScrapPile" instance=ExtResource("1_ttuwj")]
[node name="AnimatedSprite2D" parent="." index="0"]
position = Vector2(0, -34)
sprite_frames = SubResource("SpriteFrames_0mllq")
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
polygon = PackedVector2Array(-81, 9, -77, 0, 78, 0, 81, 7, 25, 9, -28, 9)
[node name="Interactable" parent="." index="2" instance=ExtResource("3_ydack")]
[node name="Panel" parent="Interactable" index="1"]
offset_left = -117.0
offset_top = -37.0
offset_right = 116.0
offset_bottom = 15.0
[node name="Scavengeable" parent="." index="3" instance=ExtResource("4_ux46w")]
scavengeDifficulty = 40
dropItemClasses = Array[Resource]([ExtResource("5_1a5b8"), ExtResource("6_o5d4u"), ExtResource("7_wnjjw"), ExtResource("8_ewv5n"), ExtResource("9_ypaow")])
dropItemProbabilities = Array[int]([2, 1, 1, 2, 2])
xpRewards = Array[int]([58, 124, 105, 44, 44])
dropItemLocationOffsets = Array[Vector2]([Vector2(-80, 20), Vector2(-27, 20), Vector2(27, 20), Vector2(80, 20)])
[node name="CollisionShape2D" parent="Scavengeable/InteractionArea" index="0"]
position = Vector2(-3, -29.5)
shape = SubResource("RectangleShape2D_4mn33")
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="Scavengeable"]

View file

@ -0,0 +1,25 @@
[gd_scene load_steps=4 format=3 uid="uid://bb11otk7gg0aw"]
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_mp6a0"]
[ext_resource type="Texture2D" uid="uid://b6fibss8c0l2x" path="res://Objects/Museum/Stand/Stand.png" id="2_tccg2"]
[sub_resource type="SpriteFrames" id="SpriteFrames_ukc0x"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_tccg2")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="MoneyStand" instance=ExtResource("1_mp6a0")]
[node name="AnimatedSprite2D" parent="." index="0"]
position = Vector2(-1, -20)
sprite_frames = SubResource("SpriteFrames_ukc0x")
offset = Vector2(0.5, 0)
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
polygon = PackedVector2Array(-29, 0, 27, 0, 27, 23, -29, 23)

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b6fibss8c0l2x"
path="res://.godot/imported/Stand.png-82a97c219005117c44294e0b009b6815.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Objects/Museum/Stand/Stand.png"
dest_files=["res://.godot/imported/Stand.png-82a97c219005117c44294e0b009b6815.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1