replace string with string name for collectible_id

This commit is contained in:
2026-04-16 16:11:07 +02:00
parent a51e94d4d3
commit 08c283d76a
6 changed files with 20 additions and 16 deletions

View File

@@ -6,21 +6,21 @@
[sub_resource type="Resource" id="Resource_3cgvf"]
script = ExtResource("1_3cgvf")
id = "cane"
id = &"cane"
title = "Cane"
image = ExtResource("2_pxmdy")
metadata/_custom_type_script = "uid://bj34o0org55ei"
[sub_resource type="Resource" id="Resource_ggu10"]
script = ExtResource("1_3cgvf")
id = "gatto"
id = &"gatto"
title = "Gatto"
image = ExtResource("2_pxmdy")
metadata/_custom_type_script = "uid://bj34o0org55ei"
[sub_resource type="Resource" id="Resource_pxmdy"]
script = ExtResource("1_3cgvf")
id = "farfalla"
id = &"farfalla"
title = "Farfalla"
image = ExtResource("2_pxmdy")
metadata/_custom_type_script = "uid://bj34o0org55ei"

View File

@@ -1,6 +1,6 @@
class_name CollectibleResource
extends Resource
@export var id: String
@export var id: StringName
@export var title: String
@export var image: Texture2D