It's Cow Game! Version 2.04!
This commit is contained in:
commit
a9e1ed9ddd
3148 changed files with 95332 additions and 0 deletions
BIN
Locations/Town/JuiceCafe/Exterior.png
Normal file
BIN
Locations/Town/JuiceCafe/Exterior.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
34
Locations/Town/JuiceCafe/Exterior.png.import
Normal file
34
Locations/Town/JuiceCafe/Exterior.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cr6dmf1g5swdi"
|
||||
path="res://.godot/imported/Exterior.png-8374b69735acc927b665f7e6976c011d.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Locations/Town/JuiceCafe/Exterior.png"
|
||||
dest_files=["res://.godot/imported/Exterior.png-8374b69735acc927b665f7e6976c011d.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
Locations/Town/JuiceCafe/Interior.png
Normal file
BIN
Locations/Town/JuiceCafe/Interior.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
34
Locations/Town/JuiceCafe/Interior.png.import
Normal file
34
Locations/Town/JuiceCafe/Interior.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c6ntwe4xolmfa"
|
||||
path="res://.godot/imported/Interior.png-f156677cfd748dee41e1e3706b700579.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Locations/Town/JuiceCafe/Interior.png"
|
||||
dest_files=["res://.godot/imported/Interior.png-f156677cfd748dee41e1e3706b700579.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
|
||||
27
Locations/Town/JuiceCafe/JuiceCafe.gd
Normal file
27
Locations/Town/JuiceCafe/JuiceCafe.gd
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
extends "res://Locations/Location.gd"
|
||||
|
||||
var rng = RandomNumberGenerator.new()
|
||||
|
||||
func _ready():
|
||||
play_entry_sounds()
|
||||
|
||||
func initialize_entry_locations():
|
||||
entryLocations.append(Vector2(0, -5))
|
||||
|
||||
func initialize_camera_limits():
|
||||
outside = false
|
||||
leftCameraLimit = -440
|
||||
rightCameraLimit = 440
|
||||
upperCameraLimit = -750
|
||||
lowerCameraLimit = 0
|
||||
|
||||
func play_entry_sounds():
|
||||
var bellSounds = []
|
||||
bellSounds.append(load("res://Sounds/SFX/Door/Bell/shopbell1.mp3"))
|
||||
bellSounds.append(load("res://Sounds/SFX/Door/Bell/shopbell2.mp3"))
|
||||
bellSounds.append(load("res://Sounds/SFX/Door/Bell/shopbell3.mp3"))
|
||||
|
||||
var soundIndex = rng.randi_range(0, bellSounds.size() - 1)
|
||||
$Bell.stream = bellSounds[soundIndex]
|
||||
$Bell.play()
|
||||
|
||||
200
Locations/Town/JuiceCafe/JuiceCafe.tscn
Normal file
200
Locations/Town/JuiceCafe/JuiceCafe.tscn
Normal file
|
|
@ -0,0 +1,200 @@
|
|||
[gd_scene load_steps=19 format=3 uid="uid://wlg0yleuyx48"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ds2a1v38jso1e" path="res://Locations/location.tscn" id="1_jletn"]
|
||||
[ext_resource type="Script" path="res://Locations/Town/JuiceCafe/JuiceCafe.gd" id="2_dxnts"]
|
||||
[ext_resource type="Texture2D" uid="uid://c6ntwe4xolmfa" path="res://Locations/Town/JuiceCafe/Interior.png" id="3_8you8"]
|
||||
[ext_resource type="PackedScene" uid="uid://spicsevifl6g" path="res://Objects/Travel/TravelBox.tscn" id="5_30ncf"]
|
||||
[ext_resource type="PackedScene" uid="uid://cx6dailgmw0bj" path="res://Objects/JuiceCafe/Counter/JuiceCafeCounter.tscn" id="7_krg6q"]
|
||||
[ext_resource type="PackedScene" uid="uid://ccxcml46e4nxw" path="res://Objects/JuiceCafe/juice_shop.tscn" id="8_vmvjd"]
|
||||
[ext_resource type="PackedScene" uid="uid://cqyees5qbxooy" path="res://NPCs/JuiceMoose/JuiceMoose.tscn" id="9_a3bsp"]
|
||||
[ext_resource type="PackedScene" uid="uid://dg362ce5ejlh5" path="res://Objects/Juicers/juicerMachine.tscn" id="9_jbfep"]
|
||||
[ext_resource type="PackedScene" uid="uid://cylkhfv8ohox3" path="res://Objects/JuiceCafe/Table/juice_table.tscn" id="9_pkitn"]
|
||||
[ext_resource type="PackedScene" uid="uid://bftxng3dsrefd" path="res://NPCs/JuiceCafeToucan/juice_cafe_toucan.tscn" id="10_fdw8q"]
|
||||
[ext_resource type="PackedScene" uid="uid://cgd10lheoyp4u" path="res://NPCs/Pigeon/pigeon.tscn" id="11_ecgsu"]
|
||||
[ext_resource type="PackedScene" uid="uid://b0wb6iyf0sijn" path="res://NPCs/Pigeon/Trans/trans_pigeon.tscn" id="12_73odb"]
|
||||
[ext_resource type="PackedScene" uid="uid://burnkdrtcqvqb" path="res://Objects/SkillSpecific/BasketStorage/BasketStorageSpot.tscn" id="13_7tuhc"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_7ydnb"]
|
||||
size = Vector2(425.5, 312)
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_hfoml"]
|
||||
radius = 90.2045
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_a6t4t"]
|
||||
radius = 88.0
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_v2so1"]
|
||||
size = Vector2(18, 627)
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_lm7r6"]
|
||||
size = Vector2(880, 18)
|
||||
|
||||
[node name="JuiceCafe" instance=ExtResource("1_jletn")]
|
||||
y_sort_enabled = true
|
||||
script = ExtResource("2_dxnts")
|
||||
|
||||
[node name="Ground" parent="." index="0"]
|
||||
position = Vector2(-873, -966)
|
||||
scale = Vector2(2, 2)
|
||||
|
||||
[node name="CollisionShape2D" parent="Ground/Area2D" index="0"]
|
||||
position = Vector2(437.25, 326.5)
|
||||
shape = SubResource("RectangleShape2D_7ydnb")
|
||||
|
||||
[node name="JuiceCafeLayout" type="Sprite2D" parent="." index="1"]
|
||||
z_index = -1
|
||||
position = Vector2(0, -375)
|
||||
texture = ExtResource("3_8you8")
|
||||
|
||||
[node name="GroundTravelBox" parent="." index="2" instance=ExtResource("5_30ncf")]
|
||||
position = Vector2(0, -50)
|
||||
scale = Vector2(2.55, 0.5)
|
||||
|
||||
[node name="75046" type="MarginContainer" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu" index="3"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="75047" type="ScrollContainer" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu/75046" index="0"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="75048" type="Control" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu/75046/75047" index="0"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="75049" type="Timer" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu" index="4"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="75050" type="Timer" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu" index="5"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="74097" type="MarginContainer" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu" index="6"]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
|
||||
[node name="74098" type="ScrollContainer" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu/74097" index="0"]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="74099" type="Control" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu/74097/74098" index="0"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
|
||||
[node name="74100" type="Timer" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu" index="7"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="74101" type="Timer" parent="GroundTravelBox/Interactable/ActionMenu/PopupMenu" index="8"]
|
||||
wait_time = 0.3
|
||||
one_shot = true
|
||||
|
||||
[node name="Panel" parent="GroundTravelBox/Interactable" index="1"]
|
||||
offset_top = -1.0
|
||||
|
||||
[node name="Traveller" parent="GroundTravelBox" index="3"]
|
||||
position = Vector2(0, 170)
|
||||
destinationNames = Array[String](["Park"])
|
||||
destinationLocations = Array[int]([0])
|
||||
destinationEntranceID = Array[int]([2])
|
||||
movementVerb = "Walk To"
|
||||
|
||||
[node name="CollisionShape2D" parent="GroundTravelBox/Traveller/InteractionArea" index="0"]
|
||||
position = Vector2(0, -35)
|
||||
|
||||
[node name="JuiceCafeCounter" parent="." index="3" instance=ExtResource("7_krg6q")]
|
||||
position = Vector2(105, -455)
|
||||
|
||||
[node name="JuiceShop" parent="." index="4" instance=ExtResource("8_vmvjd")]
|
||||
position = Vector2(-140, -454)
|
||||
|
||||
[node name="CollisionShape2D" parent="JuiceShop/ShopHaver/InteractionArea" index="0"]
|
||||
shape = SubResource("CircleShape2D_hfoml")
|
||||
|
||||
[node name="Juicer" parent="." index="5" instance=ExtResource("9_jbfep")]
|
||||
position = Vector2(232, -454)
|
||||
|
||||
[node name="CollisionShape2D" parent="Juicer/Juicer/InteractionArea" index="0"]
|
||||
position = Vector2(0, 16)
|
||||
shape = SubResource("CircleShape2D_a6t4t")
|
||||
|
||||
[node name="JuiceTable" parent="." index="6" instance=ExtResource("9_pkitn")]
|
||||
position = Vector2(-245, -210)
|
||||
|
||||
[node name="Scavengeable" parent="JuiceTable" index="2"]
|
||||
dropItemLocationOffsets = Array[Vector2]([Vector2(37, 0), Vector2(-37, 0), Vector2(25, -35), Vector2(0, 12)])
|
||||
|
||||
[node name="JuiceTable3" parent="." index="7" instance=ExtResource("9_pkitn")]
|
||||
position = Vector2(265, -108)
|
||||
|
||||
[node name="JuiceTable4" parent="." index="8" instance=ExtResource("9_pkitn")]
|
||||
position = Vector2(308, -302)
|
||||
|
||||
[node name="Wall" type="StaticBody2D" parent="." index="9"]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Wall" index="0"]
|
||||
position = Vector2(-432, -314.5)
|
||||
shape = SubResource("RectangleShape2D_v2so1")
|
||||
|
||||
[node name="Wall2" type="StaticBody2D" parent="." index="10"]
|
||||
position = Vector2(868, 6)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Wall2" index="0"]
|
||||
position = Vector2(-432, -314.5)
|
||||
shape = SubResource("RectangleShape2D_v2so1")
|
||||
|
||||
[node name="Wall3" type="StaticBody2D" parent="." index="11"]
|
||||
position = Vector2(868, 6)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Wall3" index="0"]
|
||||
position = Vector2(-868, 23)
|
||||
shape = SubResource("RectangleShape2D_lm7r6")
|
||||
|
||||
[node name="Wall4" type="StaticBody2D" parent="." index="12"]
|
||||
position = Vector2(868, 6)
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Wall4" index="0"]
|
||||
position = Vector2(-869, -645)
|
||||
shape = SubResource("RectangleShape2D_lm7r6")
|
||||
|
||||
[node name="JuiceMoose" parent="." index="13" instance=ExtResource("9_a3bsp")]
|
||||
position = Vector2(-327, -276)
|
||||
|
||||
[node name="JuiceCafeToucan" parent="." index="14" instance=ExtResource("10_fdw8q")]
|
||||
position = Vector2(74, -452)
|
||||
|
||||
[node name="Pigeon" parent="." index="15" instance=ExtResource("11_ecgsu")]
|
||||
position = Vector2(211, -365)
|
||||
|
||||
[node name="TransPigeon" parent="." index="16" instance=ExtResource("12_73odb")]
|
||||
position = Vector2(359, -164)
|
||||
|
||||
[node name="BasketStorageSpot" parent="." index="17" instance=ExtResource("13_7tuhc")]
|
||||
position = Vector2(-349, -698)
|
||||
basketInvName = "juiceCafeBasket1"
|
||||
|
||||
[node name="Bell" type="AudioStreamPlayer2D" parent="." index="18"]
|
||||
position = Vector2(0, -50)
|
||||
bus = &"SFX"
|
||||
|
||||
[editable path="GroundTravelBox"]
|
||||
[editable path="GroundTravelBox/Interactable"]
|
||||
[editable path="GroundTravelBox/Interactable/ActionMenu"]
|
||||
[editable path="GroundTravelBox/Traveller"]
|
||||
[editable path="JuiceShop"]
|
||||
[editable path="JuiceShop/Interactable"]
|
||||
[editable path="JuiceShop/Interactable/ActionMenu"]
|
||||
[editable path="JuiceShop/ShopHaver"]
|
||||
[editable path="Juicer"]
|
||||
[editable path="Juicer/Interactable"]
|
||||
[editable path="Juicer/Interactable/ActionMenu"]
|
||||
[editable path="Juicer/Juicer"]
|
||||
[editable path="Juicer/Juicer/JuicingMenu"]
|
||||
[editable path="Juicer/Juicer/JuicingMenu/PanelContainer/VBoxContainer/MarginContainer/HBoxContainer/InventoryDisplayer"]
|
||||
[editable path="JuiceTable"]
|
||||
[editable path="JuiceTable/Scavengeable"]
|
||||
[editable path="JuiceTable/Interactable"]
|
||||
[editable path="JuiceTable/Interactable/ActionMenu"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue