2 Commits

Author SHA1 Message Date
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 12 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,13 @@ var pref_score_name: Dictionary[CharacterResource.Preference, String] = {
CharacterResource.Preference.HATE: "Hates ",
}
@onready var chara: Sprite2D = $"../GuestList/Chara"
@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 +45,16 @@ 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:
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

@@ -543,6 +543,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