It's Cow Game! Version 2.04!
7
NPCs/Faire/OnyanCat/OnyanCat.dialogue
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
~ start
|
||||
Nyathanyal: nyaa~ do you like onyans?
|
||||
- Yes!
|
||||
Nyathanyal: ok please buy a lot
|
||||
- I do not
|
||||
Nyathanyal: same tbh
|
||||
=> END
|
||||
15
NPCs/Faire/OnyanCat/OnyanCat.dialogue.import
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[remap]
|
||||
|
||||
importer="dialogue_manager_compiler_11"
|
||||
type="Resource"
|
||||
uid="uid://c1ekp4hsru45k"
|
||||
path="res://.godot/imported/OnyanCat.dialogue-26280e9802ddda52768d87d230d40ffe.tres"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/OnyanCat/OnyanCat.dialogue"
|
||||
dest_files=["res://.godot/imported/OnyanCat.dialogue-26280e9802ddda52768d87d230d40ffe.tres"]
|
||||
|
||||
[params]
|
||||
|
||||
defaults=true
|
||||
BIN
NPCs/Faire/OnyanCat/OnyanCat1.png
Normal file
|
After Width: | Height: | Size: 609 B |
34
NPCs/Faire/OnyanCat/OnyanCat1.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://da8btfaavwu3q"
|
||||
path="res://.godot/imported/OnyanCat1.png-a9b9e7faea9d89bc61234cdf359de6db.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/OnyanCat/OnyanCat1.png"
|
||||
dest_files=["res://.godot/imported/OnyanCat1.png-a9b9e7faea9d89bc61234cdf359de6db.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
NPCs/Faire/OnyanCat/OnyanCat2.png
Normal file
|
After Width: | Height: | Size: 603 B |
34
NPCs/Faire/OnyanCat/OnyanCat2.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://btt1g1w7sn35f"
|
||||
path="res://.godot/imported/OnyanCat2.png-50135018c756b44685156dd2f793c55e.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/OnyanCat/OnyanCat2.png"
|
||||
dest_files=["res://.godot/imported/OnyanCat2.png-50135018c756b44685156dd2f793c55e.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
NPCs/Faire/OnyanCat/OnyanCatPaws.png
Normal file
|
After Width: | Height: | Size: 187 B |
34
NPCs/Faire/OnyanCat/OnyanCatPaws.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://ce6vsieckjffh"
|
||||
path="res://.godot/imported/OnyanCatPaws.png-4f26f907be9e0dfdc174255ffb7c94ec.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/OnyanCat/OnyanCatPaws.png"
|
||||
dest_files=["res://.godot/imported/OnyanCatPaws.png-4f26f907be9e0dfdc174255ffb7c94ec.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
|
||||
43
NPCs/Faire/OnyanCat/onyan_cat.tscn
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://m2krhoy4a3g1"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://doqfsp7yxools" path="res://NPCs/NPC.tscn" id="1_h4klk"]
|
||||
[ext_resource type="Resource" uid="uid://c1ekp4hsru45k" path="res://NPCs/Faire/OnyanCat/OnyanCat.dialogue" id="2_e6blw"]
|
||||
[ext_resource type="Texture2D" uid="uid://da8btfaavwu3q" path="res://NPCs/Faire/OnyanCat/OnyanCat1.png" id="2_qqxfp"]
|
||||
[ext_resource type="Texture2D" uid="uid://btt1g1w7sn35f" path="res://NPCs/Faire/OnyanCat/OnyanCat2.png" id="3_yj8c4"]
|
||||
[ext_resource type="Script" path="res://Utils/PlayOnReady.gd" id="4_px3ke"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_yf831"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_qqxfp")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("3_yj8c4")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 1.4
|
||||
}]
|
||||
|
||||
[node name="OnyanCat" instance=ExtResource("1_h4klk")]
|
||||
dialogueResource = ExtResource("2_e6blw")
|
||||
|
||||
[node name="Sprite" parent="." index="0"]
|
||||
position = Vector2(6, -9)
|
||||
sprite_frames = SubResource("SpriteFrames_yf831")
|
||||
frame_progress = 0.69081
|
||||
script = ExtResource("4_px3ke")
|
||||
|
||||
[node name="Panel" parent="Interactable" index="1"]
|
||||
offset_left = -22.0
|
||||
offset_top = -45.0
|
||||
offset_right = 23.0
|
||||
offset_bottom = 6.0
|
||||
|
||||
[node name="CollisionShape2D" parent="." index="3"]
|
||||
disabled = true
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="Talkable"]
|
||||
7
NPCs/Faire/PopcornBird/PopcornBird.dialogue
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
~ start
|
||||
|
||||
Pistachio: Hello! Do you like my corn-arsonifyer?
|
||||
Pistachio: It arsons corn to create delicious popcorn!!
|
||||
Pistachio: If you would like some I'm always up for trading
|
||||
|
||||
=> END!
|
||||
15
NPCs/Faire/PopcornBird/PopcornBird.dialogue.import
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[remap]
|
||||
|
||||
importer="dialogue_manager_compiler_11"
|
||||
type="Resource"
|
||||
uid="uid://dmvv5n3vhliii"
|
||||
path="res://.godot/imported/PopcornBird.dialogue-6f678eadf02f8811ad53d5d5a28a258b.tres"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/PopcornBird/PopcornBird.dialogue"
|
||||
dest_files=["res://.godot/imported/PopcornBird.dialogue-6f678eadf02f8811ad53d5d5a28a258b.tres"]
|
||||
|
||||
[params]
|
||||
|
||||
defaults=true
|
||||
9
NPCs/Faire/PopcornBird/PopcornBird.gd
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
extends NPC
|
||||
|
||||
func _ready():
|
||||
characterName = "Pistachio"
|
||||
pronouns = "she/they"
|
||||
dialogueResource = load("res://NPCs/Faire/PopcornBird/PopcornBird.dialogue")
|
||||
|
||||
func get_dialogue():
|
||||
return dialogueResource
|
||||
43
NPCs/Faire/PopcornBird/PopcornBird.tscn
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
[gd_scene load_steps=7 format=3 uid="uid://b87ebkvssxjsg"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://doqfsp7yxools" path="res://NPCs/NPC.tscn" id="1_rutpq"]
|
||||
[ext_resource type="Texture2D" uid="uid://co36t47mahon6" path="res://NPCs/Faire/PopcornBird/juncobounce1.png" id="2_73smv"]
|
||||
[ext_resource type="Script" path="res://NPCs/Faire/PopcornBird/PopcornBird.gd" id="2_mj517"]
|
||||
[ext_resource type="Texture2D" uid="uid://d260o8y2mvf7b" path="res://NPCs/Faire/PopcornBird/juncobounce2.png" id="3_megeh"]
|
||||
[ext_resource type="Script" path="res://Utils/PlayOnReady.gd" id="4_2mhfx"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_f0uoc"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_73smv")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("3_megeh")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="PopcornBird" instance=ExtResource("1_rutpq")]
|
||||
script = ExtResource("2_mj517")
|
||||
|
||||
[node name="Sprite" parent="." index="0"]
|
||||
sprite_frames = SubResource("SpriteFrames_f0uoc")
|
||||
frame_progress = 0.229932
|
||||
script = ExtResource("4_2mhfx")
|
||||
|
||||
[node name="Panel" parent="Interactable" index="1"]
|
||||
offset_left = -26.0
|
||||
offset_top = -21.0
|
||||
offset_right = 25.0
|
||||
offset_bottom = 21.0
|
||||
|
||||
[node name="CollisionShape2D" parent="." index="3"]
|
||||
visible = false
|
||||
disabled = true
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="Talkable"]
|
||||
BIN
NPCs/Faire/PopcornBird/juncobounce1.png
Normal file
|
After Width: | Height: | Size: 333 B |
34
NPCs/Faire/PopcornBird/juncobounce1.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://co36t47mahon6"
|
||||
path="res://.godot/imported/juncobounce1.png-bd876f3a08e2f9e9917c0303eeff08c6.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/PopcornBird/juncobounce1.png"
|
||||
dest_files=["res://.godot/imported/juncobounce1.png-bd876f3a08e2f9e9917c0303eeff08c6.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
NPCs/Faire/PopcornBird/juncobounce2.png
Normal file
|
After Width: | Height: | Size: 330 B |
34
NPCs/Faire/PopcornBird/juncobounce2.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d260o8y2mvf7b"
|
||||
path="res://.godot/imported/juncobounce2.png-6fe6fedcb3411c3d807aff556c1f9cb2.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/PopcornBird/juncobounce2.png"
|
||||
dest_files=["res://.godot/imported/juncobounce2.png-6fe6fedcb3411c3d807aff556c1f9cb2.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
|
||||
10
NPCs/Faire/RingtossLemur/Lemur.dialogue
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
~ start
|
||||
|
||||
Eddie: Yooo, here to hurl some rings?
|
||||
- Yep
|
||||
Eddie: Sick, its free so just have at it
|
||||
Eddie: Not to brag or anything but my record is 180 points
|
||||
- Nope
|
||||
Eddie: Aight, well if you ever feel like scattering some hoops, come by
|
||||
|
||||
=> END
|
||||
15
NPCs/Faire/RingtossLemur/Lemur.dialogue.import
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[remap]
|
||||
|
||||
importer="dialogue_manager_compiler_11"
|
||||
type="Resource"
|
||||
uid="uid://d4nivnvgpt6wg"
|
||||
path="res://.godot/imported/Lemur.dialogue-f3553a6ec7a56a0a62f18099bcef301c.tres"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/RingtossLemur/Lemur.dialogue"
|
||||
dest_files=["res://.godot/imported/Lemur.dialogue-f3553a6ec7a56a0a62f18099bcef301c.tres"]
|
||||
|
||||
[params]
|
||||
|
||||
defaults=true
|
||||
28
NPCs/Faire/RingtossLemur/RingtossLemur.gd
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
extends NPC
|
||||
|
||||
var blinkDelay = 3.5
|
||||
var blinkTimer = 0
|
||||
|
||||
var stateSwapTimer = 2
|
||||
|
||||
var rng = RandomNumberGenerator.new()
|
||||
|
||||
func _ready():
|
||||
dialogueResource = load("res://NPCs/Faire/RingtossLemur/Lemur.dialogue")
|
||||
|
||||
func _process(delta):
|
||||
stateSwapTimer -= delta
|
||||
if stateSwapTimer <= 0:
|
||||
stateSwapTimer = rng.randf_range(2, 5)
|
||||
if rng.randi_range(0,1) == 1:
|
||||
$Sprite.play("EarFlick")
|
||||
else:
|
||||
$Sprite.play("default")
|
||||
|
||||
blinkTimer -= delta
|
||||
if blinkTimer <= 0:
|
||||
blinkTimer = rng.randf_range(blinkDelay - 0.6, blinkDelay + 0.6)
|
||||
blink()
|
||||
|
||||
func blink():
|
||||
$Sprite.play("Blink")
|
||||
80
NPCs/Faire/RingtossLemur/RingtossLemur.tscn
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
[gd_scene load_steps=10 format=3 uid="uid://d3fsbqrwksvp3"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://doqfsp7yxools" path="res://NPCs/NPC.tscn" id="1_dosve"]
|
||||
[ext_resource type="Script" path="res://NPCs/Faire/RingtossLemur/RingtossLemur.gd" id="2_0nmcl"]
|
||||
[ext_resource type="Texture2D" uid="uid://cvqo2ijs8m6kv" path="res://NPCs/Faire/RingtossLemur/ringlemuridle5.png" id="2_83jux"]
|
||||
[ext_resource type="Texture2D" uid="uid://dfuew312n6trn" path="res://NPCs/Faire/RingtossLemur/ringlemuridle1.png" id="2_r37xp"]
|
||||
[ext_resource type="Texture2D" uid="uid://dony2m2bawjt1" path="res://NPCs/Faire/RingtossLemur/ringlemuridle2.png" id="4_wk2i5"]
|
||||
[ext_resource type="Texture2D" uid="uid://csxua6gt0a837" path="res://NPCs/Faire/RingtossLemur/ringlemuridle4.png" id="5_wfk4t"]
|
||||
[ext_resource type="Texture2D" uid="uid://o2sqsmxl1vea" path="res://NPCs/Faire/RingtossLemur/ringlemuridle3.png" id="6_awunb"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_jfq0x"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_83jux")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_r37xp")
|
||||
}],
|
||||
"loop": false,
|
||||
"name": &"Blink",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_r37xp")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("4_wk2i5")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("5_wfk4t")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("6_awunb")
|
||||
}],
|
||||
"loop": false,
|
||||
"name": &"EarFlick",
|
||||
"speed": 3.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_r37xp")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_mg1ey"]
|
||||
radius = 8.0
|
||||
height = 60.0
|
||||
|
||||
[node name="RingtossLemur" instance=ExtResource("1_dosve")]
|
||||
script = ExtResource("2_0nmcl")
|
||||
|
||||
[node name="Sprite" parent="." index="0"]
|
||||
position = Vector2(0, -34)
|
||||
sprite_frames = SubResource("SpriteFrames_jfq0x")
|
||||
animation = &"Blink"
|
||||
frame = 1
|
||||
frame_progress = 1.0
|
||||
|
||||
[node name="Panel" parent="Interactable" index="1"]
|
||||
offset_left = -32.0
|
||||
offset_top = -65.0
|
||||
offset_right = 38.0
|
||||
offset_bottom = 14.0
|
||||
|
||||
[node name="CollisionShape2D" parent="Talkable/InteractionArea" index="0"]
|
||||
position = Vector2(2, -22)
|
||||
|
||||
[node name="CollisionShape2D" parent="." index="3"]
|
||||
position = Vector2(3, 5)
|
||||
rotation = 1.5708
|
||||
shape = SubResource("CapsuleShape2D_mg1ey")
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="Talkable"]
|
||||
BIN
NPCs/Faire/RingtossLemur/ringlemuridle1.png
Normal file
|
After Width: | Height: | Size: 880 B |
34
NPCs/Faire/RingtossLemur/ringlemuridle1.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dfuew312n6trn"
|
||||
path="res://.godot/imported/ringlemuridle1.png-5289164d528ba0d7476ae2e414389afa.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/RingtossLemur/ringlemuridle1.png"
|
||||
dest_files=["res://.godot/imported/ringlemuridle1.png-5289164d528ba0d7476ae2e414389afa.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
NPCs/Faire/RingtossLemur/ringlemuridle2.png
Normal file
|
After Width: | Height: | Size: 877 B |
34
NPCs/Faire/RingtossLemur/ringlemuridle2.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dony2m2bawjt1"
|
||||
path="res://.godot/imported/ringlemuridle2.png-6c9658e997187a297a405dd98f7b112a.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/RingtossLemur/ringlemuridle2.png"
|
||||
dest_files=["res://.godot/imported/ringlemuridle2.png-6c9658e997187a297a405dd98f7b112a.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
NPCs/Faire/RingtossLemur/ringlemuridle3.png
Normal file
|
After Width: | Height: | Size: 877 B |
34
NPCs/Faire/RingtossLemur/ringlemuridle3.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://o2sqsmxl1vea"
|
||||
path="res://.godot/imported/ringlemuridle3.png-f0b8d9e1216b3b960ecc01ac9958f95c.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/RingtossLemur/ringlemuridle3.png"
|
||||
dest_files=["res://.godot/imported/ringlemuridle3.png-f0b8d9e1216b3b960ecc01ac9958f95c.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
NPCs/Faire/RingtossLemur/ringlemuridle4.png
Normal file
|
After Width: | Height: | Size: 880 B |
34
NPCs/Faire/RingtossLemur/ringlemuridle4.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://csxua6gt0a837"
|
||||
path="res://.godot/imported/ringlemuridle4.png-2e8dac97f60377230b020c9896ad864f.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/RingtossLemur/ringlemuridle4.png"
|
||||
dest_files=["res://.godot/imported/ringlemuridle4.png-2e8dac97f60377230b020c9896ad864f.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
NPCs/Faire/RingtossLemur/ringlemuridle5.png
Normal file
|
After Width: | Height: | Size: 871 B |
34
NPCs/Faire/RingtossLemur/ringlemuridle5.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://cvqo2ijs8m6kv"
|
||||
path="res://.godot/imported/ringlemuridle5.png-79eeb80d2eab7cae87b9955fad06bfb5.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/RingtossLemur/ringlemuridle5.png"
|
||||
dest_files=["res://.godot/imported/ringlemuridle5.png-79eeb80d2eab7cae87b9955fad06bfb5.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
|
||||
7
NPCs/Faire/SnacksGecko/SnacksGecko.dialogue
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
~ start
|
||||
|
||||
Snacko: Hi I'm Snacko the Snack Gecko!
|
||||
Snacko: I changed my name for business purposes. But I think I like it.
|
||||
Snacko: You should also change your name to Snacko you might like it.
|
||||
|
||||
=> END
|
||||
15
NPCs/Faire/SnacksGecko/SnacksGecko.dialogue.import
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[remap]
|
||||
|
||||
importer="dialogue_manager_compiler_11"
|
||||
type="Resource"
|
||||
uid="uid://jy06xnlh3ipo"
|
||||
path="res://.godot/imported/SnacksGecko.dialogue-a4cbe6ca05623a6885e0d84b646f0f4e.tres"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/SnacksGecko/SnacksGecko.dialogue"
|
||||
dest_files=["res://.godot/imported/SnacksGecko.dialogue-a4cbe6ca05623a6885e0d84b646f0f4e.tres"]
|
||||
|
||||
[params]
|
||||
|
||||
defaults=true
|
||||
BIN
NPCs/Faire/SnacksGecko/SnacksGecko.png
Normal file
|
After Width: | Height: | Size: 311 B |
34
NPCs/Faire/SnacksGecko/SnacksGecko.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dxcoc356w4do3"
|
||||
path="res://.godot/imported/SnacksGecko.png-60f6242781766f74140bdcfe3e4d2775.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/SnacksGecko/SnacksGecko.png"
|
||||
dest_files=["res://.godot/imported/SnacksGecko.png-60f6242781766f74140bdcfe3e4d2775.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
|
||||
36
NPCs/Faire/SnacksGecko/SnacksGecko.tscn
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://htt14aincihu"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://doqfsp7yxools" path="res://NPCs/NPC.tscn" id="1_2lkpj"]
|
||||
[ext_resource type="Texture2D" uid="uid://dxcoc356w4do3" path="res://NPCs/Faire/SnacksGecko/SnacksGecko.png" id="2_8dhaa"]
|
||||
[ext_resource type="Resource" uid="uid://jy06xnlh3ipo" path="res://NPCs/Faire/SnacksGecko/SnacksGecko.dialogue" id="2_83wqs"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_r2apx"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_8dhaa")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="SnacksGecko" instance=ExtResource("1_2lkpj")]
|
||||
dialogueResource = ExtResource("2_83wqs")
|
||||
|
||||
[node name="Sprite" parent="." index="0"]
|
||||
sprite_frames = SubResource("SpriteFrames_r2apx")
|
||||
|
||||
[node name="Panel" parent="Interactable" index="1"]
|
||||
offset_left = -25.0
|
||||
offset_top = -12.0
|
||||
offset_right = 25.0
|
||||
offset_bottom = 11.0
|
||||
|
||||
[node name="CollisionShape2D" parent="." index="3"]
|
||||
visible = false
|
||||
disabled = true
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="Talkable"]
|
||||
16
NPCs/Faire/SnacksGecko/SnacksShop.gd
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
extends "res://Interactions/Shopping/ShopHaver.gd"
|
||||
|
||||
func instantiate_shop_inventory():
|
||||
var cottonCandy = load("res://Items/Foods/Snack/CottonCandy.gd").new()
|
||||
var churro = load("res://Items/Foods/Snack/Churro.gd").new()
|
||||
var bigPretzel = load("res://Items/Foods/Snack/BigPretzel.gd").new()
|
||||
var lollipop = load("res://Items/Foods/Snack/Lollipop.gd").new()
|
||||
|
||||
shopInventory = []
|
||||
|
||||
shopInventory.append(cottonCandy)
|
||||
shopInventory.append(churro)
|
||||
shopInventory.append(bigPretzel)
|
||||
shopInventory.append(lollipop)
|
||||
|
||||
super.instantiate_shop_inventory()
|
||||
10
NPCs/Faire/TicketDuck/TicketDuck.dialogue
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
~ start
|
||||
|
||||
Mary: *QUACK* HI
|
||||
- Hi
|
||||
Mary: *QUACK* TICKETS ARE 5 GRAPES EACH
|
||||
- Got it
|
||||
Mary: *QUACK* FINALLY I WILL GET SOME GRAPES
|
||||
- Yep
|
||||
|
||||
=> END
|
||||
15
NPCs/Faire/TicketDuck/TicketDuck.dialogue.import
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[remap]
|
||||
|
||||
importer="dialogue_manager_compiler_11"
|
||||
type="Resource"
|
||||
uid="uid://cliiv7nv13xg7"
|
||||
path="res://.godot/imported/TicketDuck.dialogue-47dbc4ef57bab93cbc81e21678b91cdf.tres"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/TicketDuck/TicketDuck.dialogue"
|
||||
dest_files=["res://.godot/imported/TicketDuck.dialogue-47dbc4ef57bab93cbc81e21678b91cdf.tres"]
|
||||
|
||||
[params]
|
||||
|
||||
defaults=true
|
||||
BIN
NPCs/Faire/TicketDuck/TicketDuck.png
Normal file
|
After Width: | Height: | Size: 569 B |
34
NPCs/Faire/TicketDuck/TicketDuck.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dov1vyfkli0bo"
|
||||
path="res://.godot/imported/TicketDuck.png-bf5ec16e191ebb117f5e666bc7dc40c0.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/TicketDuck/TicketDuck.png"
|
||||
dest_files=["res://.godot/imported/TicketDuck.png-bf5ec16e191ebb117f5e666bc7dc40c0.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
|
||||
28
NPCs/Faire/TicketDuck/TicketDuck.tscn
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://c0tplejfk64gg"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://doqfsp7yxools" path="res://NPCs/NPC.tscn" id="1_s6x61"]
|
||||
[ext_resource type="Resource" uid="uid://cliiv7nv13xg7" path="res://NPCs/Faire/TicketDuck/TicketDuck.dialogue" id="2_h6553"]
|
||||
[ext_resource type="Texture2D" uid="uid://dov1vyfkli0bo" path="res://NPCs/Faire/TicketDuck/TicketDuck.png" id="2_li2y7"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_fptm3"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_li2y7")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="TicketDuck" instance=ExtResource("1_s6x61")]
|
||||
dialogueResource = ExtResource("2_h6553")
|
||||
|
||||
[node name="Sprite" parent="." index="0"]
|
||||
sprite_frames = SubResource("SpriteFrames_fptm3")
|
||||
|
||||
[node name="CollisionShape2D" parent="." index="3"]
|
||||
visible = false
|
||||
disabled = true
|
||||
|
||||
[editable path="Talkable"]
|
||||
7
NPCs/Faire/TicketPig/TicketPig.dialogue
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
~ start
|
||||
|
||||
Kimmy: hi i'm selling tickets i found them in these boxes behind the ticket stand it was close when i got here but
|
||||
Kimmy: i figured might as well open it i got the tickets i can sell them for grapes it all works out.
|
||||
- yeah good idea
|
||||
|
||||
=> END
|
||||
15
NPCs/Faire/TicketPig/TicketPig.dialogue.import
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[remap]
|
||||
|
||||
importer="dialogue_manager_compiler_11"
|
||||
type="Resource"
|
||||
uid="uid://beqlopm82uxxp"
|
||||
path="res://.godot/imported/TicketPig.dialogue-9a7ee9028454e81a363092ea7e9cb366.tres"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/TicketPig/TicketPig.dialogue"
|
||||
dest_files=["res://.godot/imported/TicketPig.dialogue-9a7ee9028454e81a363092ea7e9cb366.tres"]
|
||||
|
||||
[params]
|
||||
|
||||
defaults=true
|
||||
BIN
NPCs/Faire/TicketPig/TicketPig.png
Normal file
|
After Width: | Height: | Size: 806 B |
34
NPCs/Faire/TicketPig/TicketPig.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dlu7q8l1aq86d"
|
||||
path="res://.godot/imported/TicketPig.png-32e3b310139a0317f097851587c3c5e8.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/TicketPig/TicketPig.png"
|
||||
dest_files=["res://.godot/imported/TicketPig.png-32e3b310139a0317f097851587c3c5e8.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
|
||||
28
NPCs/Faire/TicketPig/TicketPig.tscn
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://d2wf582p6us4f"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://doqfsp7yxools" path="res://NPCs/NPC.tscn" id="1_ehg6n"]
|
||||
[ext_resource type="Texture2D" uid="uid://dlu7q8l1aq86d" path="res://NPCs/Faire/TicketPig/TicketPig.png" id="2_4v0xo"]
|
||||
[ext_resource type="Resource" uid="uid://beqlopm82uxxp" path="res://NPCs/Faire/TicketPig/TicketPig.dialogue" id="2_mxqq0"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_tun07"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_4v0xo")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[node name="TicketPig" instance=ExtResource("1_ehg6n")]
|
||||
dialogueResource = ExtResource("2_mxqq0")
|
||||
|
||||
[node name="Sprite" parent="." index="0"]
|
||||
sprite_frames = SubResource("SpriteFrames_tun07")
|
||||
|
||||
[node name="CollisionShape2D" parent="." index="3"]
|
||||
visible = false
|
||||
disabled = true
|
||||
|
||||
[editable path="Talkable"]
|
||||
65
NPCs/Faire/WanderingWombat/WanderingWombat.dialogue
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
~ start
|
||||
do DialogueBoxManager.currentSpeaker.Stop_Walk()
|
||||
|
||||
if not get_save_value("PaxFlyQuestStarted", false):
|
||||
% Pax: This faire is filled with incredible amounts of fun.
|
||||
% Pax: Wednesday is my fav day of the week.
|
||||
% Pax: I love folk punk.
|
||||
% Pax: I wonder where they get the watermelons you can win from the wheel. I've never seen them anywhere else.
|
||||
% Pax: Faire food is the best food!
|
||||
% Pax: They charge grapes at the ticket booths, but there are boxes full of tickets in the back where you can easily scavenge them... It's like these animals don't even believe in capitalism. And neither do I!
|
||||
% Pax: My mom made this hat for me. Isn't it so cool?
|
||||
% Pax: People sometimes ask me if I really poop cubes. I do, but that's kinda a weird thing to ask, right?
|
||||
- Do you have a quest => questStart
|
||||
- See you Pax => END
|
||||
|
||||
elif not get_save_value("PaxFlyQuestFlag1", false):
|
||||
% Pax: This faire is filled with incredible amounts of fun.
|
||||
% Pax: Wednesday is my fav day of the week.
|
||||
% Pax: I love folk punk.
|
||||
% Pax: I wonder where they get the watermelons you can win from the wheel. I've never seen them anywhere else.
|
||||
% Pax: Faire food is the best food!
|
||||
% Pax: They charge grapes at the ticket booths, but there are boxes full of tickets in the back where you can easily scavenge them... It's like these animals don't even believe in capitalism. And neither do I!
|
||||
% Pax: My mom made this hat for me. Isn't it so cool?
|
||||
% Pax: People sometimes ask me if I really poop cubes. I do, but that's kinda a weird thing to ask, right?
|
||||
- I got you a balloon! [if DialogueBoxManager.currentSpeaker.balloon_check()] => balloonGive
|
||||
- See you Pax => END
|
||||
elif not get_save_value("PaxFlyQuestFlag2", false)
|
||||
do DialogueBoxManager.currentSpeaker.flying = false
|
||||
Pax: Here is your cloud!
|
||||
do DialogueBoxManager.currentSpeaker.give_cloud()
|
||||
do set_save_value("PaxFlyQuestFlag2", true)
|
||||
do DialogueBoxManager.currentSpeaker.complete_quest()
|
||||
else:
|
||||
% Pax: This faire is filled with incredible amounts of fun.
|
||||
% Pax: Wednesday is my fav day of the week.
|
||||
% Pax: I love folk punk.
|
||||
% Pax: I wonder where they get the watermelons you can win from the wheel. I've never seen them anywhere else.
|
||||
% Pax: Faire food is the best food!
|
||||
% Pax: They charge grapes at the ticket booths, but there are boxes full of tickets in the back where you can easily scavenge them... It's like these animals don't even believe in capitalism. And neither do I!
|
||||
% Pax: My mom made this hat for me. Isn't it so cool?
|
||||
% Pax: People sometimes ask me if I really poop cubes. I do, but that's kinda a weird thing to ask, right?
|
||||
- I got you another balloon! [if DialogueBoxManager.currentSpeaker.balloon_check()] => balloonGive
|
||||
- See you Pax => END
|
||||
=> END
|
||||
|
||||
~ questStart
|
||||
Pax: Well I would really like to try flying.
|
||||
Pax: Unfortunatly my ballon isnt enough to let me do that.
|
||||
Pax: One more ballon should be enough to take off though, would you mind helping me get one?
|
||||
- Of course!
|
||||
do set_save_value("PaxFlyQuestStarted", true)
|
||||
- Sorry maybe later
|
||||
=> END
|
||||
|
||||
~ balloonGive
|
||||
Pax: You got a balloon for me?
|
||||
Pax: Thank you!
|
||||
Pax: I can go get you some cloud!
|
||||
- Continue
|
||||
do DialogueBoxManager.currentSpeaker.take_balloon()
|
||||
do set_save_value("PaxFlew", false)
|
||||
do set_save_value("PaxFlyQuestFlag1", true)
|
||||
do set_save_value("PaxFlyQuestFlag2", false)
|
||||
do DialogueBoxManager.currentSpeaker.fly()
|
||||
=> END
|
||||
15
NPCs/Faire/WanderingWombat/WanderingWombat.dialogue.import
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
[remap]
|
||||
|
||||
importer="dialogue_manager_compiler_11"
|
||||
type="Resource"
|
||||
uid="uid://cy473jl3vaedw"
|
||||
path="res://.godot/imported/WanderingWombat.dialogue-134467cc9ca0168f172167ef94da563e.tres"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/WanderingWombat/WanderingWombat.dialogue"
|
||||
dest_files=["res://.godot/imported/WanderingWombat.dialogue-134467cc9ca0168f172167ef94da563e.tres"]
|
||||
|
||||
[params]
|
||||
|
||||
defaults=true
|
||||
64
NPCs/Faire/WanderingWombat/WonderingWombat.gd
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
extends NPC
|
||||
|
||||
var path
|
||||
var pathFollower
|
||||
|
||||
var movementSpeed = 90
|
||||
var stopped = false
|
||||
var flying = false
|
||||
|
||||
var lastX = 0
|
||||
|
||||
# temp sugar until balloon is added
|
||||
var balloonItem = preload("res://Items/Toys/Other/Balloon.gd")
|
||||
var cloudItem = preload("res://Items/Natural/Cloud.gd")
|
||||
|
||||
func _ready():
|
||||
characterName = "Pax"
|
||||
pronouns = "fae/faer"
|
||||
|
||||
pathFollower = get_parent()
|
||||
|
||||
func _process(delta):
|
||||
if stopped:
|
||||
return
|
||||
pathFollower.progress += movementSpeed * delta
|
||||
|
||||
if pathFollower.position.x < lastX:
|
||||
$Sprite.flip_h = false
|
||||
else:
|
||||
$Sprite.flip_h = true
|
||||
|
||||
lastX = pathFollower.position.x
|
||||
|
||||
func complete_quest():
|
||||
if !QuestManager.is_completed("Wombat in the Sky"):
|
||||
SaveManager.set_save_value("PaxFlyQuestCompleted", true)
|
||||
QuestManager.complete_quest("Wombat in the Sky")
|
||||
|
||||
func balloon_check():
|
||||
if InventoryManager.check_if_in_inventory(balloonItem.new()):
|
||||
return true
|
||||
else:
|
||||
return false
|
||||
|
||||
func take_balloon():
|
||||
InventoryManager.spend_item(balloonItem.new())
|
||||
|
||||
func fly():
|
||||
flying = true
|
||||
$AnimationPlayer.play("Fly")
|
||||
|
||||
func Stop_Walk():
|
||||
stopped = true
|
||||
$Sprite.stop()
|
||||
|
||||
func dialogue_cancel():
|
||||
if not flying:
|
||||
stopped = false
|
||||
$Sprite.play()
|
||||
|
||||
func give_cloud():
|
||||
InventoryManager.add_item_to_inventory(cloudItem.new())
|
||||
|
||||
|
||||
154
NPCs/Faire/WanderingWombat/WonderingWombat.tscn
Normal file
|
|
@ -0,0 +1,154 @@
|
|||
[gd_scene load_steps=13 format=3 uid="uid://vb2fwda5v6vt"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://doqfsp7yxools" path="res://NPCs/NPC.tscn" id="1_72tgs"]
|
||||
[ext_resource type="Script" path="res://NPCs/Faire/WanderingWombat/WonderingWombat.gd" id="2_to1ph"]
|
||||
[ext_resource type="Texture2D" uid="uid://bb5e3gx1wpt4v" path="res://NPCs/Faire/WanderingWombat/wombat.png" id="2_ys4ac"]
|
||||
[ext_resource type="Resource" uid="uid://cy473jl3vaedw" path="res://NPCs/Faire/WanderingWombat/WanderingWombat.dialogue" id="3_cmgp3"]
|
||||
[ext_resource type="Texture2D" uid="uid://mbtoll4cbme1" path="res://NPCs/Faire/WanderingWombat/wombat2.png" id="3_jc0yt"]
|
||||
[ext_resource type="Script" path="res://Utils/PlayOnReady.gd" id="4_yg3b3"]
|
||||
[ext_resource type="Texture2D" uid="uid://c5s8io2jx2j6o" path="res://Items/Toys/Other/Sprites/Balloon.png" id="7_jue8o"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_sjq6o"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_ys4ac")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("3_jc0yt")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_1bp0g"]
|
||||
radius = 8.0
|
||||
height = 68.0
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ulkb0"]
|
||||
resource_name = "Fly"
|
||||
length = 5.0
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite/Balloon2:visible")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0, 4.9),
|
||||
"transitions": PackedFloat32Array(1, 1),
|
||||
"update": 1,
|
||||
"values": [true, false]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite:scale")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0, 2.5, 5),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(1, 1), Vector2(1.5, 1.5), Vector2(1, 1)]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("Sprite:position")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0, 2.5, 5),
|
||||
"transitions": PackedFloat32Array(1, 1, 1),
|
||||
"update": 0,
|
||||
"values": [Vector2(-1, -67), Vector2(-1, -1000), Vector2(-1, -67)]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_t5eme"]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath("Sprite/Balloon2:visible")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 1,
|
||||
"values": [false]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/path = NodePath("Sprite:scale")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(1, 1)]
|
||||
}
|
||||
tracks/2/type = "value"
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/path = NodePath("Sprite:position")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/keys = {
|
||||
"times": PackedFloat32Array(0),
|
||||
"transitions": PackedFloat32Array(1),
|
||||
"update": 0,
|
||||
"values": [Vector2(-1, -67)]
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_eskml"]
|
||||
_data = {
|
||||
"Fly": SubResource("Animation_ulkb0"),
|
||||
"RESET": SubResource("Animation_t5eme")
|
||||
}
|
||||
|
||||
[node name="WanderingWombat" instance=ExtResource("1_72tgs")]
|
||||
script = ExtResource("2_to1ph")
|
||||
dialogueResource = ExtResource("3_cmgp3")
|
||||
|
||||
[node name="Sprite" parent="." index="0"]
|
||||
position = Vector2(-1, -67)
|
||||
sprite_frames = SubResource("SpriteFrames_sjq6o")
|
||||
frame_progress = 0.899393
|
||||
script = ExtResource("4_yg3b3")
|
||||
|
||||
[node name="Balloon2" type="Sprite2D" parent="Sprite" index="0"]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
position = Vector2(9, -7)
|
||||
scale = Vector2(2.05, 1.7)
|
||||
texture = ExtResource("7_jue8o")
|
||||
|
||||
[node name="Panel" parent="Interactable" index="1"]
|
||||
offset_left = -51.0
|
||||
offset_top = -41.0
|
||||
offset_right = 51.0
|
||||
offset_bottom = 22.0
|
||||
|
||||
[node name="InteractionArea" parent="Talkable" index="0"]
|
||||
visible = false
|
||||
|
||||
[node name="CollisionShape2D" parent="." index="3"]
|
||||
position = Vector2(7, 12)
|
||||
rotation = 1.5708
|
||||
shape = SubResource("CapsuleShape2D_1bp0g")
|
||||
disabled = true
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." index="4"]
|
||||
unique_name_in_owner = true
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_eskml")
|
||||
}
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="Talkable"]
|
||||
BIN
NPCs/Faire/WanderingWombat/wombat.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
34
NPCs/Faire/WanderingWombat/wombat.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://bb5e3gx1wpt4v"
|
||||
path="res://.godot/imported/wombat.png-e57636e0cb3986eb775fc76cbdcf33f9.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/WanderingWombat/wombat.png"
|
||||
dest_files=["res://.godot/imported/wombat.png-e57636e0cb3986eb775fc76cbdcf33f9.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
NPCs/Faire/WanderingWombat/wombat2.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
34
NPCs/Faire/WanderingWombat/wombat2.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://mbtoll4cbme1"
|
||||
path="res://.godot/imported/wombat2.png-1a7f756a4ed0ab5d47eaca81685196d5.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/WanderingWombat/wombat2.png"
|
||||
dest_files=["res://.godot/imported/wombat2.png-1a7f756a4ed0ab5d47eaca81685196d5.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
NPCs/Faire/WanderingWombat/wombat3.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
34
NPCs/Faire/WanderingWombat/wombat3.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d1hibnkvfd0iv"
|
||||
path="res://.godot/imported/wombat3.png-3497b19ea7e4de8480109d68e5c388ad.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://NPCs/Faire/WanderingWombat/wombat3.png"
|
||||
dest_files=["res://.godot/imported/wombat3.png-3497b19ea7e4de8480109d68e5c388ad.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
|
||||