Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Rxup committed Feb 10, 2025
1 parent f4b51d3 commit 7f14d5f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Content.Shared/Body/Systems/SharedBodySystem.Parts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ private void OnBodyPartInserted(Entity<BodyPartComponent> ent, ref EntInsertedIn
DebugTools.Assert(
slotId.Contains(PartSlotContainerIdPrefix + GetSlotFromBodyPart(part)),
$"BodyPartComponent has not been inserted ({Prototype(args.Entity)?.ID}) into {Prototype(ent.Comp.Body.Value)?.ID}" +
$" прототип должен иметь подключение начиная с {GetSlotFromBodyPart(part)}");
$" прототип должен иметь подключение начиная с {GetSlotFromBodyPart(part)} (сейчас {slotId.Replace(PartSlotContainerIdPrefix,"")})");
}
#endif

Expand Down
15 changes: 12 additions & 3 deletions Resources/Prototypes/_Backmen/Entities/Mobs/NPCs/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,16 +117,25 @@
torso:
part: TorsoHuman
connections:
- legs
- right leg
- left leg
organs:
lungs: OrganAnimalLungs
stomach: OrganAnimalStomach
liver: OrganAnimalLiver
heart: OrganAnimalHeart
kidneys: OrganAnimalKidneys
legs:
right leg:
part: RightLegHuman
connections:
- feet
- right foot
left leg:
part: LeftLegHuman
connections:
- left foot
right foot:
part: RightFootHuman
left foot:
part: LeftFootHuman
feet:
part: RightFootHuman

0 comments on commit 7f14d5f

Please sign in to comment.