BoniatoRelleno / CustomPaintings

0 stars 0 forks source link

Use the Painting's value to determine the texture shown #6

Open SeymourSchlong opened 4 months ago

SeymourSchlong commented 4 months ago

This is a method I use in my own mod, and it guarantees that a) it will be synced between all clients and b) it will keep the same texture on reload, assuming the files don't change.

SeymourSchlong commented 4 months ago

This would solve both issues #3 and #5 as well.

BoniatoRelleno commented 4 months ago

Oh thanks for the idea, do you know in which method the textures should be changed? I do it when the ship lands

SeymourSchlong commented 4 months ago

I patched it into the SetScrapValue method.

BoniatoRelleno commented 4 months ago

Thank you so much! I will try it