Remove stamina categories from joke button
This commit is contained in:
parent
a55d6f04a0
commit
6c753bd7ad
|
@ -4,8 +4,6 @@ signal button_pressed(joke)
|
||||||
|
|
||||||
@export_enum("joke_button_1", "joke_button_2", "joke_button_3") var action: String
|
@export_enum("joke_button_1", "joke_button_2", "joke_button_3") var action: String
|
||||||
@export var sprite: Sprite2D
|
@export var sprite: Sprite2D
|
||||||
|
|
||||||
@export var stamina_categories: Array[int]
|
|
||||||
@export var type_sprites: Array[Texture2D]
|
@export var type_sprites: Array[Texture2D]
|
||||||
|
|
||||||
var stamina_label: RichTextLabel
|
var stamina_label: RichTextLabel
|
||||||
|
|
|
@ -1,15 +1,14 @@
|
||||||
[gd_scene load_steps=5 format=3 uid="uid://r1i7ln2hpwq5"]
|
[gd_scene load_steps=5 format=3 uid="uid://r1i7ln2hpwq5"]
|
||||||
|
|
||||||
[ext_resource type="Script" path="res://scenes/Joke Button.gd" id="1_lofpb"]
|
[ext_resource type="Script" path="res://scenes/Joke Button.gd" id="1_lofpb"]
|
||||||
[ext_resource type="Texture2D" uid="uid://br2j6yu0f7x37" path="res://sprites/room/bubble_blue.svg" id="2_ivsb5"]
|
[ext_resource type="Texture2D" uid="uid://huokdqy7birm" path="res://sprites/room/bubble_blue.svg" id="2_ivsb5"]
|
||||||
[ext_resource type="Texture2D" uid="uid://b2vtyqcfr5ukt" path="res://sprites/room/bubble_green.svg" id="3_26ki8"]
|
[ext_resource type="Texture2D" uid="uid://bsda544aynmha" path="res://sprites/room/bubble_green.svg" id="3_26ki8"]
|
||||||
[ext_resource type="Texture2D" uid="uid://03ch1nqrnm6c" path="res://sprites/room/bubble_red.svg" id="4_o1r21"]
|
[ext_resource type="Texture2D" uid="uid://cttngp4bj5fh2" path="res://sprites/room/bubble_red.svg" id="4_o1r21"]
|
||||||
|
|
||||||
[node name="Joke Button" type="Node2D" node_paths=PackedStringArray("sprite")]
|
[node name="Joke Button" type="Node2D" node_paths=PackedStringArray("sprite")]
|
||||||
script = ExtResource("1_lofpb")
|
script = ExtResource("1_lofpb")
|
||||||
action = "joke_button_1"
|
action = "joke_button_1"
|
||||||
sprite = NodePath("Sprite2D")
|
sprite = NodePath("Sprite2D")
|
||||||
stamina_categories = Array[int]([1, 5, 10])
|
|
||||||
type_sprites = Array[Texture2D]([ExtResource("3_26ki8"), ExtResource("2_ivsb5"), ExtResource("4_o1r21")])
|
type_sprites = Array[Texture2D]([ExtResource("3_26ki8"), ExtResource("2_ivsb5"), ExtResource("4_o1r21")])
|
||||||
|
|
||||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||||
|
|
Loading…
Reference in New Issue