It's Cow Game! Version 2.04!
55
Objects/Park/JonaldHole/JonaldHole.tscn
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://depjovo0xaga3"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://spicsevifl6g" path="res://Objects/Travel/TravelBox.tscn" id="1_66d3u"]
|
||||
[ext_resource type="Texture2D" uid="uid://doxoyd8uwfty8" path="res://Objects/Park/JonaldHole/JonaldLairHole.png" id="2_d3evy"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_8ui10"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_d3evy")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="JonaldHole" instance=ExtResource("1_66d3u")]
|
||||
z_index = -1
|
||||
|
||||
[node name="Interactable" parent="." index="0"]
|
||||
visible = false
|
||||
position = Vector2(0, 1)
|
||||
|
||||
[node name="Panel" parent="Interactable" index="1"]
|
||||
offset_left = -25.0
|
||||
offset_top = -26.0
|
||||
offset_right = 25.0
|
||||
offset_bottom = 24.0
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="1"]
|
||||
self_modulate = Color(1, 1, 1, 1)
|
||||
position = Vector2(-0.5, 0)
|
||||
sprite_frames = SubResource("SpriteFrames_8ui10")
|
||||
|
||||
[node name="StaticBody2D" parent="." index="2"]
|
||||
visible = false
|
||||
|
||||
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
||||
position = Vector2(1, -2)
|
||||
polygon = PackedVector2Array(-2, 1, 5, 2, 6, 7, -1, 8)
|
||||
disabled = true
|
||||
|
||||
[node name="Traveller" parent="." index="3"]
|
||||
destinationNames = Array[String](["Lake Hole"])
|
||||
movementVerb = "Enter"
|
||||
|
||||
[node name="InteractionArea" parent="Traveller" index="0"]
|
||||
visible = false
|
||||
|
||||
[node name="CollisionShape2D" parent="Traveller/InteractionArea" index="0"]
|
||||
position = Vector2(0, 0)
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="Traveller"]
|
||||
BIN
Objects/Park/JonaldHole/JonaldLairHole.png
Normal file
|
After Width: | Height: | Size: 329 B |
34
Objects/Park/JonaldHole/JonaldLairHole.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://doxoyd8uwfty8"
|
||||
path="res://.godot/imported/JonaldLairHole.png-68e24563a3e2f99d4ecddb9436705059.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Park/JonaldHole/JonaldLairHole.png"
|
||||
dest_files=["res://.godot/imported/JonaldLairHole.png-68e24563a3e2f99d4ecddb9436705059.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
|
||||
BIN
Objects/Park/Sign/HotGirlsSign.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
34
Objects/Park/Sign/HotGirlsSign.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ce7io4x4iq8jd"
|
||||
path="res://.godot/imported/HotGirlsSign.png-76d2ff23f20af7ae4ababf5d97809320.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Park/Sign/HotGirlsSign.png"
|
||||
dest_files=["res://.godot/imported/HotGirlsSign.png-76d2ff23f20af7ae4ababf5d97809320.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
|
||||
24
Objects/Park/Sign/HotGirlsSign.tscn
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://ds1orb3x8on6c"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_efppv"]
|
||||
[ext_resource type="Texture2D" uid="uid://ce7io4x4iq8jd" path="res://Objects/Park/Sign/HotGirlsSign.png" id="2_kkej0"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_xdnku"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_kkej0")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="HotGirlsSign" instance=ExtResource("1_efppv")]
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="0"]
|
||||
position = Vector2(0, -68)
|
||||
sprite_frames = SubResource("SpriteFrames_xdnku")
|
||||
|
||||
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
||||
polygon = PackedVector2Array(-14, -5, 12, -5, 13, 2, -14, 1)
|
||||
BIN
Objects/Park/Trees/AppleTree.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
34
Objects/Park/Trees/AppleTree.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ckp2mq37067ud"
|
||||
path="res://.godot/imported/AppleTree.png-a3cfb6dc436f2708d30d1b042a6166a5.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Park/Trees/AppleTree.png"
|
||||
dest_files=["res://.godot/imported/AppleTree.png-a3cfb6dc436f2708d30d1b042a6166a5.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
|
||||
33
Objects/Park/Trees/AppleTree.tscn
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://dw87llamrchvk"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://xdiytyukup38" path="res://Objects/Scavengeable/scavenge_item.tscn" id="1_2nyjn"]
|
||||
[ext_resource type="Texture2D" uid="uid://ckp2mq37067ud" path="res://Objects/Park/Trees/AppleTree.png" id="2_8nnbu"]
|
||||
[ext_resource type="Script" path="res://Items/Foods/Fruits/Apple.gd" id="3_ehrp5"]
|
||||
[ext_resource type="Script" path="res://Items/Plants/Leaf.gd" id="4_hhoua"]
|
||||
[ext_resource type="Script" path="res://Items/Plants/Stick.gd" id="5_ejwna"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_js7yx"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_8nnbu")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="AppleTree" instance=ExtResource("1_2nyjn")]
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="0"]
|
||||
sprite_frames = SubResource("SpriteFrames_js7yx")
|
||||
|
||||
[node name="Scavengeable" parent="." index="3"]
|
||||
dropItemClasses = Array[Resource]([ExtResource("3_ehrp5"), ExtResource("4_hhoua"), ExtResource("5_ejwna")])
|
||||
dropItemProbabilities = Array[int]([2, 4, 4])
|
||||
xpRewards = Array[int]([10, 2, 3])
|
||||
dropItemLocationOffsets = Array[Vector2]([Vector2(-75, 6), Vector2(37, 10), Vector2(-37, 10), Vector2(75, 6), Vector2(0, 15)])
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="Scavengeable"]
|
||||
BIN
Objects/Park/Trees/Birch.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
34
Objects/Park/Trees/Birch.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://b5lol772b7jww"
|
||||
path="res://.godot/imported/Birch.png-0c63cd6c82136ef4984e845417a51027.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Park/Trees/Birch.png"
|
||||
dest_files=["res://.godot/imported/Birch.png-0c63cd6c82136ef4984e845417a51027.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
|
||||
BIN
Objects/Park/Trees/Birch2.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
34
Objects/Park/Trees/Birch2.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://0mtydcuoejmi"
|
||||
path="res://.godot/imported/Birch2.png-9232f3f20f54ea66ac0cf14aa070d7b4.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Park/Trees/Birch2.png"
|
||||
dest_files=["res://.godot/imported/Birch2.png-9232f3f20f54ea66ac0cf14aa070d7b4.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
|
||||
46
Objects/Park/Trees/BirchTree.tscn
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
[gd_scene load_steps=9 format=3 uid="uid://b0lyga84hisrp"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://xdiytyukup38" path="res://Objects/Scavengeable/scavenge_item.tscn" id="1_mgxfa"]
|
||||
[ext_resource type="Texture2D" uid="uid://b5lol772b7jww" path="res://Objects/Park/Trees/Birch.png" id="2_j22ij"]
|
||||
[ext_resource type="Script" path="res://Items/Plants/BirchBark.gd" id="3_h3tks"]
|
||||
[ext_resource type="Script" path="res://Items/Plants/BirchLeaf.gd" id="4_hv6bm"]
|
||||
[ext_resource type="Script" path="res://Items/Plants/BirchSap.gd" id="5_u1mj2"]
|
||||
[ext_resource type="Script" path="res://Items/Plants/BirchStick.gd" id="6_mgwg2"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_agsxw"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_j22ij")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_ymsko"]
|
||||
radius = 38.0
|
||||
|
||||
[node name="BirchTree" instance=ExtResource("1_mgxfa")]
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="0"]
|
||||
position = Vector2(-1, -129)
|
||||
sprite_frames = SubResource("SpriteFrames_agsxw")
|
||||
|
||||
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
||||
polygon = PackedVector2Array(-19.5, 74.5, 32.5, 74.5, 37.5, 99.5, -25.5, 100.5)
|
||||
|
||||
[node name="Scavengeable" parent="." index="3"]
|
||||
scavengeDifficulty = 8
|
||||
dropItemClasses = Array[Resource]([ExtResource("3_h3tks"), ExtResource("4_hv6bm"), ExtResource("5_u1mj2"), ExtResource("6_mgwg2")])
|
||||
dropItemProbabilities = Array[int]([2, 4, 1, 4])
|
||||
xpRewards = Array[int]([9, 3, 14, 4])
|
||||
dropItemLocationOffsets = Array[Vector2]([Vector2(-75, 6), Vector2(37, 10), Vector2(-37, 10), Vector2(75, 6), Vector2(0, 15)])
|
||||
|
||||
[node name="CollisionShape2D" parent="Scavengeable/InteractionArea" index="0"]
|
||||
position = Vector2(0.5, 17.5)
|
||||
shape = SubResource("CircleShape2D_ymsko")
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="Scavengeable"]
|
||||
46
Objects/Park/Trees/BirchTree2.tscn
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
[gd_scene load_steps=9 format=3 uid="uid://vothi13fd8e7"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://xdiytyukup38" path="res://Objects/Scavengeable/scavenge_item.tscn" id="1_n2mks"]
|
||||
[ext_resource type="Texture2D" uid="uid://0mtydcuoejmi" path="res://Objects/Park/Trees/Birch2.png" id="2_4ibpn"]
|
||||
[ext_resource type="Script" path="res://Items/Plants/BirchBark.gd" id="3_k7hsy"]
|
||||
[ext_resource type="Script" path="res://Items/Plants/BirchLeaf.gd" id="4_atcwi"]
|
||||
[ext_resource type="Script" path="res://Items/Plants/BirchSap.gd" id="5_e83rx"]
|
||||
[ext_resource type="Script" path="res://Items/Plants/BirchStick.gd" id="6_js0gg"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_d53n6"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_4ibpn")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_ymsko"]
|
||||
radius = 38.0
|
||||
|
||||
[node name="BirchTree" instance=ExtResource("1_n2mks")]
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="0"]
|
||||
position = Vector2(0, -122)
|
||||
sprite_frames = SubResource("SpriteFrames_d53n6")
|
||||
|
||||
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
||||
polygon = PackedVector2Array(-19.5, 74.5, 32.5, 74.5, 37.5, 99.5, -25.5, 100.5)
|
||||
|
||||
[node name="Scavengeable" parent="." index="3"]
|
||||
scavengeDifficulty = 8
|
||||
dropItemClasses = Array[Resource]([ExtResource("3_k7hsy"), ExtResource("4_atcwi"), ExtResource("5_e83rx"), ExtResource("6_js0gg")])
|
||||
dropItemProbabilities = Array[int]([2, 4, 1, 4])
|
||||
xpRewards = Array[int]([9, 3, 14, 4])
|
||||
dropItemLocationOffsets = Array[Vector2]([Vector2(-75, 6), Vector2(37, 10), Vector2(-37, 10), Vector2(75, 6), Vector2(0, 15)])
|
||||
|
||||
[node name="CollisionShape2D" parent="Scavengeable/InteractionArea" index="0"]
|
||||
position = Vector2(0.5, 17.5)
|
||||
shape = SubResource("CircleShape2D_ymsko")
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="Scavengeable"]
|
||||
33
Objects/Park/Trees/OakTree.tscn
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://b4ne378tbdq73"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://xdiytyukup38" path="res://Objects/Scavengeable/scavenge_item.tscn" id="1_q01vx"]
|
||||
[ext_resource type="Texture2D" uid="uid://d2gmotiy6ax7y" path="res://Objects/Park/Trees/Tree.png" id="2_a1gw2"]
|
||||
[ext_resource type="Script" path="res://Items/Plants/Leaf.gd" id="4_ug7i0"]
|
||||
[ext_resource type="Script" path="res://Items/Plants/Stick.gd" id="5_f5e4q"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_js7yx"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_a1gw2")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="OakTree" instance=ExtResource("1_q01vx")]
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="0"]
|
||||
sprite_frames = SubResource("SpriteFrames_js7yx")
|
||||
|
||||
[node name="Scavengeable" parent="." index="3"]
|
||||
scavengeDifficulty = 3
|
||||
dropItemClasses = Array[Resource]([ExtResource("4_ug7i0"), ExtResource("5_f5e4q")])
|
||||
dropItemProbabilities = Array[int]([4, 4])
|
||||
xpRewards = Array[int]([2, 3])
|
||||
dropItemLocationOffsets = Array[Vector2]([Vector2(-75, 6), Vector2(37, 10), Vector2(-37, 10), Vector2(75, 6), Vector2(0, 15)])
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="Scavengeable"]
|
||||
BIN
Objects/Park/Trees/OrangeTree.png
Normal file
|
After Width: | Height: | Size: 3.6 KiB |
34
Objects/Park/Trees/OrangeTree.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bl7pmmplrcyhc"
|
||||
path="res://.godot/imported/OrangeTree.png-1f8738445fe1a946289120983536b2d8.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Park/Trees/OrangeTree.png"
|
||||
dest_files=["res://.godot/imported/OrangeTree.png-1f8738445fe1a946289120983536b2d8.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
|
||||
34
Objects/Park/Trees/OrangeTree.tscn
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://cpo8mgn7l5ab1"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://xdiytyukup38" path="res://Objects/Scavengeable/scavenge_item.tscn" id="1_q5fnw"]
|
||||
[ext_resource type="Texture2D" uid="uid://bl7pmmplrcyhc" path="res://Objects/Park/Trees/OrangeTree.png" id="2_wwsip"]
|
||||
[ext_resource type="Script" path="res://Items/Foods/Fruits/Orange.gd" id="3_l5vh5"]
|
||||
[ext_resource type="Script" path="res://Items/Plants/Leaf.gd" id="4_dwqfn"]
|
||||
[ext_resource type="Script" path="res://Items/Plants/Stick.gd" id="5_ndlmb"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_js7yx"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_wwsip")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="OrangeTree" instance=ExtResource("1_q5fnw")]
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="0"]
|
||||
sprite_frames = SubResource("SpriteFrames_js7yx")
|
||||
|
||||
[node name="Scavengeable" parent="." index="3"]
|
||||
scavengeDifficulty = 10
|
||||
dropItemClasses = Array[Resource]([ExtResource("3_l5vh5"), ExtResource("4_dwqfn"), ExtResource("5_ndlmb")])
|
||||
dropItemProbabilities = Array[int]([2, 4, 4])
|
||||
xpRewards = Array[int]([10, 2, 3])
|
||||
dropItemLocationOffsets = Array[Vector2]([Vector2(-75, 6), Vector2(37, 10), Vector2(-37, 10), Vector2(75, 6), Vector2(0, 15)])
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="Scavengeable"]
|
||||
BIN
Objects/Park/Trees/Tree.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
34
Objects/Park/Trees/Tree.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d2gmotiy6ax7y"
|
||||
path="res://.godot/imported/Tree.png-736f869ff41f003ce2ec1ae835f8e3ae.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Park/Trees/Tree.png"
|
||||
dest_files=["res://.godot/imported/Tree.png-736f869ff41f003ce2ec1ae835f8e3ae.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
|
||||
26
Objects/Park/Trees/tree.tscn
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://cluqsc7rx352g"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_7bcfr"]
|
||||
[ext_resource type="Texture2D" uid="uid://d2gmotiy6ax7y" path="res://Objects/Park/Trees/Tree.png" id="2_5g3w5"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_rm8di"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_5g3w5")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="Tree" instance=ExtResource("1_7bcfr")]
|
||||
z_index = 1
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="0"]
|
||||
position = Vector2(0, -158)
|
||||
sprite_frames = SubResource("SpriteFrames_rm8di")
|
||||
|
||||
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
||||
position = Vector2(2, -156)
|
||||
polygon = PackedVector2Array(-36, 131, 48, 132, 62, 156, -43, 157)
|
||||