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,36 @@
~ start
if not get_save_value("tutorialSheepTalked", false)
=> init
elif get_save_value("tutorialSheepDone", false)
=> rand
elif get_save_value("tutorialScavenged", false)
=> postScavenge
else
=> midScavenge
~ init
Scavenging Sheep: This world... is filled with things...! The more you look, the more you find...
Scavenging Sheep: When you keep looking, and keep finding, and keep... pocketing... that is known as... scavenging!
Scavenging Sheep: Maybe if you were looking inside this here barrel... chances are, you could find... and keep... a thing!
Scavenging Sheep: I wonder how many things one could find in such barrels... or in boxes... or even in trees...
Scavenging Sheep: in my experience, I tend to always find as much as I need...
do set_save_value("tutorialSheepTalked", true)
=> END
~ midScavenge
Scavenging Sheep: Maybe if you were looking inside this here barrel...
=> END
~ postScavenge
Scavenging Sheep: I've also noticed that I keep getting quicker at finding what I want... the more I look for things...
Scavenging Sheep: Go ahead, little cow... go and find everything your heart desires...
do set_save_value("tutorialSheepDone", true)
=> END
~ rand
% Scavenging Sheep: Hey... would you like to ruminate together... some day?
% Scavenging Sheep: My imagination is unlimited, but my legs are short...
- continue => END
- repeat tutorial => init

View file

@ -0,0 +1,15 @@
[remap]
importer="dialogue_manager_compiler_11"
type="Resource"
uid="uid://bdsweum10yg00"
path="res://.godot/imported/ScavengingSheep.dialogue-568d67f5c325641c399581a2b9789fa6.tres"
[deps]
source_file="res://NPCs/Tutorial/Normal/ScavengingSheep/ScavengingSheep.dialogue"
dest_files=["res://.godot/imported/ScavengingSheep.dialogue-568d67f5c325641c399581a2b9789fa6.tres"]
[params]
defaults=true

View file

@ -0,0 +1,17 @@
extends NPC
@export var EllieMode = false
# Called when the node enters the scene tree for the first time.
func _ready():
characterName = "Scavenging Sheep"
pronouns = "any"
if EllieMode:
dialogueResource = load("res://NPCs/Tutorial/Normal/ScavengingSheep/ScavengingSheep2.dialogue")
else:
dialogueResource = load("res://NPCs/Tutorial/Normal/ScavengingSheep/ScavengingSheep.dialogue")
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
pass

View file

@ -0,0 +1,53 @@
[gd_scene load_steps=8 format=3 uid="uid://cpkmcy7ijcrhx"]
[ext_resource type="Script" path="res://NPCs/Tutorial/Normal/ScavengingSheep/ScavengingSheep.gd" id="1_cmmvp"]
[ext_resource type="Texture2D" uid="uid://cap0f1gbtx2e5" path="res://NPCs/Tutorial/Normal/ScavengingSheep/sheep.png" id="2_p7xrh"]
[ext_resource type="PackedScene" uid="uid://c31736waactb2" path="res://Interactions/Talking/Talkable.tscn" id="3_7glr2"]
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="4_wmynp"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_3fv85"]
size = Vector2(79, 15)
[sub_resource type="SpriteFrames" id="SpriteFrames_lnefd"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_p7xrh")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_j7osu"]
radius = 58.0086
[node name="ScavengingSheep" type="StaticBody2D"]
script = ExtResource("1_cmmvp")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(-2.5, -7.5)
shape = SubResource("RectangleShape2D_3fv85")
[node name="Sprite" type="AnimatedSprite2D" parent="."]
position = Vector2(12, -42)
sprite_frames = SubResource("SpriteFrames_lnefd")
flip_h = true
[node name="Talkable" parent="." instance=ExtResource("3_7glr2")]
[node name="CollisionShape2D" parent="Talkable/InteractionArea" index="0"]
position = Vector2(5, -42)
shape = SubResource("CircleShape2D_j7osu")
[node name="Interactable" parent="." instance=ExtResource("4_wmynp")]
[node name="Panel" parent="Interactable" index="1"]
offset_left = -51.0
offset_top = -81.0
offset_right = 75.0
offset_bottom = 0.0
[editable path="Talkable"]
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]

View file

@ -0,0 +1,9 @@
~ start
Scavenging Sheep: Oh... Hi...
Scavenging Sheep: Didnt think you would be back... so soon...
Scavenging Sheep: ...
Scavenging Sheep: ...uhm...
Scavenging Sheep: ...dont worry about it...
=> END

View file

@ -0,0 +1,15 @@
[remap]
importer="dialogue_manager_compiler_11"
type="Resource"
uid="uid://qlig566bnrad"
path="res://.godot/imported/ScavengingSheep2.dialogue-2e90be4100f56b5e77fb53953ab97b24.tres"
[deps]
source_file="res://NPCs/Tutorial/Normal/ScavengingSheep/ScavengingSheep2.dialogue"
dest_files=["res://.godot/imported/ScavengingSheep2.dialogue-2e90be4100f56b5e77fb53953ab97b24.tres"]
[params]
defaults=true

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cap0f1gbtx2e5"
path="res://.godot/imported/sheep.png-e1fffe52ad16e910418e304d1447ef3f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://NPCs/Tutorial/Normal/ScavengingSheep/sheep.png"
dest_files=["res://.godot/imported/sheep.png-e1fffe52ad16e910418e304d1447ef3f.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