Barotrauma icon indicating copy to clipboard operation
Barotrauma copied to clipboard

Lack of specified sprite path in some vanilla items makes it impossible to make variants of these items

Open Regalis11 opened this issue 1 year ago • 1 comments

Discussed in https://github.com/FakeFishGames/Barotrauma/discussions/14806

Originally posted by A2ur3 October 11, 2024

Disclaimers

  • [X] I have searched the issue tracker to check if the issue has already been reported.
  • [ ] My issue happened while using mods.

What happened?

for example combat diving suit its Wearable texture is "combat_DivingSuit.png" It wont cause any issue in vanilla but if a mod want to make a variant of combat diving suit which only modify its helmet sprite the game cant find its sprites

Reproduction steps

  1. make variants of items that have no specified path

Bug prevalence

Just once

Single player or multiplayer?

Single player

-

No response

Version

v1.5.9.2 (Summer Update Hotfix 2)

-

No response

Which operating system did you encounter this bug on?

Windows

Relevant error messages and crash reports

No response

Regalis11 avatar Oct 14 '24 13:10 Regalis11

Fixed in https://github.com/FakeFishGames/Barotrauma-development/commit/dde6bda567e32ca3430ff66ed495a833ad911116

Regalis11 avatar Oct 14 '24 13:10 Regalis11

Closing and fixed and merged into the codebase.

NilanthAnimosus avatar Oct 31 '24 14:10 NilanthAnimosus