Alien Generator sprite issues
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?
Alien generators aren't use any more, but:
- Decorativesprite sourcerect and offset are incorrect

Properly aligned sourcerect="0,486,176,176", for some reason I'm getting waaaay different offset results for Itemcontainer itempos="6,-30" on the mod I've been working with.

-
Removing the power cell does not make the decorative sprite go away. I couldn't find a way to remove the sprite via XML, it seems to be using a "charge" property on containing the alien cell. You can make the sprite appear but not disappear.
-
Power cell will always be below decorative sprite (it inherits main sprite depth)
Fixed in https://github.com/Regalis11/Barotrauma-development/commit/7ec6f0f3e3cee31cede8dd7cf0bd2b6fee8ffecf
The decorative sprite isn't displayed at all now, tested in release branch

Nvm the decorative sprite was changed into light so the appearance is slightly different now. Working correctly, closing.