Lockable seeds

This commit is contained in:
Rendo 2025-07-22 03:23:46 +05:00
commit a4c58bb245
19 changed files with 405 additions and 61 deletions

View file

@ -1,10 +1,12 @@
[gd_scene load_steps=10 format=3 uid="uid://e7vutg71l6f2"]
[gd_scene load_steps=12 format=3 uid="uid://e7vutg71l6f2"]
[ext_resource type="Texture2D" uid="uid://dxyf557m4mq1p" path="res://assets/sprites/gui/EmptyPlantCard.png" id="1_77bw1"]
[ext_resource type="Texture2D" uid="uid://cabpf23ndlvx0" path="res://assets/sprites/gui/Selection.tres" id="3_q0tvq"]
[ext_resource type="Texture2D" uid="uid://cjkwy3u0wuax3" path="res://assets/sprites/gui/ForbiddenPacket.tres" id="4_6k60q"]
[ext_resource type="Script" uid="uid://cn6ddajdtf4ep" path="res://scripts/gui/seedpackets/Seedpacket.cs" id="4_c6epd"]
[ext_resource type="Script" uid="uid://chag6sgjsjb2u" path="res://scripts/gui/seedpackets/CostVeil.cs" id="4_gtmhg"]
[ext_resource type="Shader" uid="uid://dcp5tqcec2oi3" path="res://assets/shaders/gui_masking.gdshader" id="5_s5861"]
[ext_resource type="Texture2D" uid="uid://c1p5iswlquo4o" path="res://assets/sprites/gui/LockedPacket.tres" id="5_tvxj3"]
[ext_resource type="Texture2D" uid="uid://c1afy0ga6h1ic" path="res://assets/sprites/white_box.png" id="6_lp42h"]
[ext_resource type="Script" uid="uid://ddi84kmmq1qla" path="res://scripts/gui/VeilResizer.cs" id="7_tv07f"]
@ -76,6 +78,32 @@ mouse_default_cursor_shape = 2
expand_mode = 1
stretch_mode = 5
[node name="ForbiddenTexture" type="TextureRect" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("4_6k60q")
[node name="LockedTexture" type="TextureRect" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 28.0
offset_top = 38.0
offset_right = -28.0
offset_bottom = -38.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture = ExtResource("5_tvxj3")
stretch_mode = 5
[node name="CostVeil" type="ColorRect" parent="."]
visible = false
layout_mode = 1
@ -84,6 +112,7 @@ anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
color = Color(0, 0, 0, 0.415686)
script = ExtResource("4_gtmhg")