Резная кость: отдельный инструмент нитей цинерариев (#86)
Новый предмет necroCarvedBone: бедренная кость с железным колпачком, кольцом и светящимися рунами; в руке как нож некроманта, хват всегда нитяной и делает всё то же. Рецепт: кость, 10 кованого железа, щепоть праха; открывается вместе с цинерариями. Иконка, лист книги, тексты на 13 языках. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
96d930e5bb
commit
9d54cab98f
@@ -33,7 +33,7 @@ namespace NecromancerTome
|
||||
}
|
||||
foreach (EntityPlayer p in w.Players.list)
|
||||
{
|
||||
if (p == null || p.inventory?.holdingItem?.Name != CinerariumThreads.ThreadKnifeName || p.emodel == null ||
|
||||
if (p == null || !CinerariumThreads.IsThreadToolName(p.inventory?.holdingItem?.Name) || p.emodel == null ||
|
||||
p.emodel.IsFPV && !p.isEntityRemote)
|
||||
{
|
||||
continue;
|
||||
@@ -74,7 +74,7 @@ namespace NecromancerTome
|
||||
|
||||
public static bool Applies(EntityAlive _e)
|
||||
{
|
||||
return TpHold > 0 && _e != null && _e.inventory?.holdingItem?.Name == CinerariumThreads.ThreadKnifeName;
|
||||
return TpHold > 0 && _e != null && CinerariumThreads.IsThreadToolName(_e.inventory?.holdingItem?.Name);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user