It's Cow Game! Version 2.04!
This commit is contained in:
commit
a9e1ed9ddd
3148 changed files with 95332 additions and 0 deletions
12
Objects/Faire/OnyanStand/OnyanShop.gd
Normal file
12
Objects/Faire/OnyanStand/OnyanShop.gd
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
extends "res://Interactions/Shopping/ShopHaver.gd"
|
||||
|
||||
func instantiate_shop_inventory():
|
||||
var onionRing = load("res://Items/Foods/Snack/OnionRing.gd").new()
|
||||
var onion = load("res://Items/Foods/Veggie/Onion.gd").new()
|
||||
|
||||
shopInventory = []
|
||||
|
||||
shopInventory.append(onionRing)
|
||||
shopInventory.append(onion)
|
||||
|
||||
super.instantiate_shop_inventory()
|
||||
BIN
Objects/Faire/OnyanStand/OnyanStand.png
Normal file
BIN
Objects/Faire/OnyanStand/OnyanStand.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
34
Objects/Faire/OnyanStand/OnyanStand.png.import
Normal file
34
Objects/Faire/OnyanStand/OnyanStand.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dco108vd77gsg"
|
||||
path="res://.godot/imported/OnyanStand.png-f48746709d91507edda2d234c0933d19.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Objects/Faire/OnyanStand/OnyanStand.png"
|
||||
dest_files=["res://.godot/imported/OnyanStand.png-f48746709d91507edda2d234c0933d19.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
|
||||
58
Objects/Faire/OnyanStand/OnyanStand.tscn
Normal file
58
Objects/Faire/OnyanStand/OnyanStand.tscn
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
[gd_scene load_steps=10 format=3 uid="uid://cf08dyn8ive8t"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_ltrrw"]
|
||||
[ext_resource type="PackedScene" uid="uid://m2krhoy4a3g1" path="res://NPCs/Faire/OnyanCat/onyan_cat.tscn" id="2_sckdo"]
|
||||
[ext_resource type="Texture2D" uid="uid://dco108vd77gsg" path="res://Objects/Faire/OnyanStand/OnyanStand.png" id="2_wty0v"]
|
||||
[ext_resource type="Texture2D" uid="uid://ce6vsieckjffh" path="res://NPCs/Faire/OnyanCat/OnyanCatPaws.png" id="4_2gtck"]
|
||||
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="5_k7hx0"]
|
||||
[ext_resource type="PackedScene" uid="uid://dkcbmgfe3yk6y" path="res://Interactions/Shopping/ShopHaver.tscn" id="6_ycoud"]
|
||||
[ext_resource type="Script" path="res://Objects/Faire/OnyanStand/OnyanShop.gd" id="7_dox8a"]
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_n24vl"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": ExtResource("2_wty0v")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"default",
|
||||
"speed": 5.0
|
||||
}]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_mvo3a"]
|
||||
radius = 97.0206
|
||||
|
||||
[node name="OnyanStand" instance=ExtResource("1_ltrrw")]
|
||||
|
||||
[node name="OnyanCat" parent="." index="0" instance=ExtResource("2_sckdo")]
|
||||
position = Vector2(100, -44)
|
||||
|
||||
[node name="AnimatedSprite2D" parent="." index="1"]
|
||||
position = Vector2(1, -145)
|
||||
sprite_frames = SubResource("SpriteFrames_n24vl")
|
||||
|
||||
[node name="CollisionPolygon2D" parent="StaticBody2D" index="0"]
|
||||
polygon = PackedVector2Array(-179, -6, 189, -8, 190, 8, -179, 7)
|
||||
|
||||
[node name="OnyanCatPaws" type="Sprite2D" parent="." index="3"]
|
||||
position = Vector2(96, -43)
|
||||
texture = ExtResource("4_2gtck")
|
||||
|
||||
[node name="Interactable" parent="." index="4" instance=ExtResource("5_k7hx0")]
|
||||
|
||||
[node name="Panel" parent="Interactable" index="1"]
|
||||
offset_left = -128.0
|
||||
offset_top = -96.0
|
||||
offset_right = -38.0
|
||||
offset_bottom = -62.0
|
||||
|
||||
[node name="ShopHaver" parent="." index="5" instance=ExtResource("6_ycoud")]
|
||||
script = ExtResource("7_dox8a")
|
||||
|
||||
[node name="CollisionShape2D" parent="ShopHaver/InteractionArea" index="0"]
|
||||
position = Vector2(-39, -75)
|
||||
shape = SubResource("CircleShape2D_mvo3a")
|
||||
|
||||
[editable path="Interactable"]
|
||||
[editable path="Interactable/ActionMenu"]
|
||||
[editable path="ShopHaver"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue