3 Commits

Author SHA1 Message Date
effb8769d8 mask snippet
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 13s
Create tag and build when new code gets to main / Export (push) Successful in 1m32s
2026-02-01 18:09:59 +01:00
15f95e5ed0 chara snippet
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 12s
Create tag and build when new code gets to main / Export (push) Successful in 1m30s
2026-02-01 17:43:47 +01:00
a9f2e3c035 change duchess alone pref
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 12s
Create tag and build when new code gets to main / Export (push) Successful in 1m30s
2026-02-01 17:27:39 +01:00
3 changed files with 19 additions and 3 deletions

View File

@@ -24,6 +24,6 @@ preferences = Dictionary[ExtResource("3_s53hh"), int]({
ExtResource("3_q0kni"): 0,
ExtResource("6_f6mh3"): 0,
ExtResource("7_nck5w"): 4,
ExtResource("4_s53hh"): 2
ExtResource("4_s53hh"): 3
})
metadata/_custom_type_script = "uid://bwam50qxikpw4"

View File

@@ -14,11 +14,14 @@ var pref_score_name: Dictionary[CharacterResource.Preference, String] = {
CharacterResource.Preference.HATE: "Hates ",
}
@onready var chara: Sprite2D = $"../GuestList/Chara"
@onready var mask: Sprite2D = $Mask
@onready var label: Label = $Label
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
pass
# Called every frame. 'delta' is the elapsed time since the previous frame.
@@ -43,13 +46,18 @@ func cycle_through_items() -> void:
if items.size() == 0:
label.text = "...\n...\n..."
return
current_item += 1
var index = current_item % items.size()
var item = items.get(index)
if item is MaskResource:
mask.visible = true
mask.texture = item.mask_sprite
label.text = "\n\n\n\n" + item.name + "\n\n" + item.description
elif item is CharacterResource:
chara.visible = true
chara.texture = item.chara_sprite
label.text = item.name + "\n\nTraits\n"
for guest_trait: Trait in item.traits:
label.text += guest_trait.name + "\n"

View File

@@ -528,6 +528,10 @@ scale = Vector2(0.5, 0.5)
texture = ExtResource("35_1k3ck")
flip_h = true
[node name="Mask" type="Sprite2D" parent="MaskList" unique_id=383750220]
position = Vector2(128.84132, -293.59827)
scale = Vector2(0.15, 0.15)
[node name="Arrow005" type="Sprite2D" parent="MaskList" unique_id=993186332]
position = Vector2(105.81715, 181.90033)
rotation = 0.03710282
@@ -543,6 +547,10 @@ position = Vector2(-224.08743, 155.85515)
scale = Vector2(0.6, 0.6)
texture = ExtResource("36_62f45")
[node name="Chara" type="Sprite2D" parent="GuestList" unique_id=275662105]
position = Vector2(179.2679, -334.8194)
scale = Vector2(0.08, 0.08)
[node name="Arrow004" type="Sprite2D" parent="GuestList" unique_id=1454132163]
position = Vector2(154.4564, 262.38947)
rotation = -0.011010677