Fix Persiko and Grand Library

This commit is contained in:
2026-06-01 22:54:03 -07:00
parent 463d91d640
commit 5d698f6565
4 changed files with 17 additions and 8 deletions
+8
View File
@@ -808,6 +808,14 @@ public partial class Game : Node3D, IGame
var identifiedItem = _player.IdentifyItem(itemToIdentify);
InventoryEventNotification.Invoke($"{itemToIdentify} identified to be {identifiedItem.ItemName}.");
break;
case UsableItemTag.IdentifyAllItemsCostHP:
var unidentifiedItemsAll = _player.Inventory.Items.Where(x => x.ItemTag == ItemTag.MysteryItem).ToList();
if (!unidentifiedItemsAll.Any())
return;
foreach (var item in unidentifiedItemsAll)
_player.IdentifyItem(item);
InventoryEventNotification.Invoke($"All items identified.");
break;
}
_player.EquipmentComponent.UpdateEquipment(_player.EquipmentComponent.EquippedWeapon.Value);
_player.EquipmentComponent.UpdateEquipment(_player.EquipmentComponent.EquippedArmor.Value);
+4 -3
View File
@@ -7,6 +7,7 @@
resource_name = "Material.001"
transparency = 4
cull_mode = 2
no_depth_test = true
albedo_texture = ExtResource("1_dvre5")
roughness = 0.5
emission_enabled = true
@@ -298,19 +299,19 @@ transform = Transform3D(1, 0, 0, 0, 0.990268, 0.139173, 0, -0.139173, 0.990268,
script = ExtResource("1_ijggi")
[node name="BOTTOM" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.0751518, 0, 0, 0, 1, 0, 0.00961442, 0)
transform = Transform3D(0.755666, 0, 0.654957, 0, 0.0751518, 0, -0.654957, 0, 0.755666, 0, 0.00961442, 0)
transparency = 1.0
mesh = SubResource("ArrayMesh_e8pdp")
skeleton = NodePath("")
[node name="MIDDLE" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.0751518, 0, 0, 0, 1, 0, 0.166192, 0)
transform = Transform3D(0.755666, 0, -0.654957, 0, 0.0751518, 0, 0.654957, 0, 0.755666, 0, 0.166192, 0)
transparency = 1.0
mesh = SubResource("ArrayMesh_d377v")
skeleton = NodePath("")
[node name="TOP" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.0751518, 0, 0, 0, 1, 0, 0.32277, 0)
transform = Transform3D(0.755666, 0, 0.654957, 0, 0.0751518, 0, -0.654957, 0, 0.755666, 0, 0.32277, 0)
transparency = 1.0
mesh = SubResource("ArrayMesh_qll8n")
skeleton = NodePath("")
@@ -32,7 +32,6 @@ pixel_size = 0.005
billboard = 2
shaded = true
texture_filter = 0
render_priority = 100
[node name="CollisionShape3D" type="CollisionShape3D" parent="Pickup"]
shape = SubResource("CapsuleShape3D_1ceef")
@@ -132,6 +132,7 @@ theme_override_styles/panel = SubResource("StyleBoxEmpty_1e3dg")
[node name="MiniMap" parent="Sidebar Container/MinimapContainer/MinimapZone" instance=ExtResource("2_6sfje")]
unique_name_in_owner = true
visible = false
custom_minimum_size = Vector2(50, 50)
layout_mode = 2
anchors_preset = 0
@@ -149,10 +150,10 @@ layout_mode = 2
[node name="SigilContainer" type="MarginContainer" parent="Sidebar Container/Sigil"]
layout_mode = 2
offset_left = 330.0
offset_top = 207.0
offset_right = 586.0
offset_bottom = 463.0
offset_left = 329.0
offset_top = 204.0
offset_right = 585.0
offset_bottom = 460.0
scale = Vector2(0.4, 0.4)
[node name="NoneImg" type="TextureRect" parent="Sidebar Container/Sigil/SigilContainer"]