Variable ore bar and nugget stockpile materials

Thoughts on the further development of Haven & Hearth? Feel free to opine!

Variable ore bar and nugget stockpile materials

Postby Sephiron » Tue Dec 17, 2024 11:09 pm

The only variable materials I care about. I wish stockpiles specifically for metal ore, bars, and nuggets had varying color respective of the ore that's in the stockpile.
1- good for larp (imagine a room full of gold bars)
2- helps everyone find what they're looking for without needing a ton of signs, keeps things organized and tidy
3- there aren't too many metals in the game, it hopefully shouldn't be too difficult to implement and is worth the QOL
Image
Image
Image
Image
Image
User avatar
Sephiron
 
Posts: 500
Joined: Mon Nov 22, 2010 2:13 am

Re: Variable ore bar and nugget stockpile materials

Postby Sevenless » Wed Dec 18, 2024 3:53 am

There's a technical limitation preventing this. Serverside, stockpiles don't tell the client what's in them until you try to take an item out or craft with it. Lowers load on the server when you're in areas with a lot of stockpiles.

If this were changed any of the generic stockpiles (onion, bough, blocks, boards, nugget, bar, ore, stone to name a few) could recolour. But since I'm assuming it's using a list structure serverside it'd only ever be the top item that determines the colour.

Basically need the tech changed, then all of them become possible.
Lucky: haven is so quirky
Lucky: can be so ugly, can be so heartwarming
Sevenless: it is life

The Art of Herding
W16 Casting Rod Cheatsheet
Explanation of the logic behind the cooking system
User avatar
Sevenless
 
Posts: 7610
Joined: Fri Mar 04, 2011 3:55 am
Location: Canada

Re: Variable ore bar and nugget stockpile materials

Postby Sephiron » Wed Dec 18, 2024 4:54 pm

Sevenless wrote:There's a technical limitation preventing this. Serverside, stockpiles don't tell the client what's in them until you try to take an item out or craft with it. Lowers load on the server when you're in areas with a lot of stockpiles.

If this were changed any of the generic stockpiles (onion, bough, blocks, boards, nugget, bar, ore, stone to name a few) could recolour. But since I'm assuming it's using a list structure serverside it'd only ever be the top item that determines the colour.

Basically need the tech changed, then all of them become possible.


Okay, that's surprisingly clever and unexpected. I still think there could be a workaround, however. Just give each metal type (gold ore, bronze bar, copper nugget, etc) a unique stockpile model, like how vegetables work. Only use the "generic metal stockpile models" when the ore or bars are mixed.

Yeah it's probably a little more work than just inputting a texture name into a library to retexture the stockpile material, but there's so few metal combinations that I think it's worth it
Image
Image
Image
Image
Image
User avatar
Sephiron
 
Posts: 500
Joined: Mon Nov 22, 2010 2:13 am

Re: Variable ore bar and nugget stockpile materials

Postby Procne » Wed Dec 18, 2024 5:02 pm

Sephiron wrote:Okay, that's surprisingly clever and unexpected. I still think there could be a workaround, however. Just give each metal type (gold ore, bronze bar, copper nugget, etc) a unique stockpile model, like how vegetables work. Only use the "generic metal stockpile models" when the ore or bars are mixed.

Yeah it's probably a little more work than just inputting a texture name into a library to retexture the stockpile material, but there's so few metal combinations that I think it's worth it

But with vegetables each of them has its own stockpile type, not just a model. And there's no mixed stockpile. So you can't put carrots in beetroot stockpile. Arguably, maybe it would be positive change for metals to have their own stockpiles, with no mixed metal stockpile
Procne
 
Posts: 984
Joined: Sat May 29, 2010 3:04 pm

Re: Variable ore bar and nugget stockpile materials

Postby Sephiron » Wed Dec 18, 2024 5:27 pm

Procne wrote:
Sephiron wrote:Okay, that's surprisingly clever and unexpected. I still think there could be a workaround, however. Just give each metal type (gold ore, bronze bar, copper nugget, etc) a unique stockpile model, like how vegetables work. Only use the "generic metal stockpile models" when the ore or bars are mixed.

Yeah it's probably a little more work than just inputting a texture name into a library to retexture the stockpile material, but there's so few metal combinations that I think it's worth it

But with vegetables each of them has its own stockpile type, not just a model. And there's no mixed stockpile. So you can't put carrots in beetroot stockpile. Arguably, maybe it would be positive change for metals to have their own stockpiles, with no mixed metal stockpile

That would be fine too, honestly. But stockpile can't update unless you interact with it, and you can't put metals into a stockpile without interacting with it, so I don't see why it can't be updated with a generic metal stockpile model. Then again, I haven't seen the source code or anything so I don't know what's possible.
Image
Image
Image
Image
Image
User avatar
Sephiron
 
Posts: 500
Joined: Mon Nov 22, 2010 2:13 am

Re: Variable ore bar and nugget stockpile materials

Postby Sevenless » Wed Dec 18, 2024 5:33 pm

Procne wrote:
Sephiron wrote:Okay, that's surprisingly clever and unexpected. I still think there could be a workaround, however. Just give each metal type (gold ore, bronze bar, copper nugget, etc) a unique stockpile model, like how vegetables work. Only use the "generic metal stockpile models" when the ore or bars are mixed.

Yeah it's probably a little more work than just inputting a texture name into a library to retexture the stockpile material, but there's so few metal combinations that I think it's worth it

But with vegetables each of them has its own stockpile type, not just a model. And there's no mixed stockpile. So you can't put carrots in beetroot stockpile. Arguably, maybe it would be positive change for metals to have their own stockpiles, with no mixed metal stockpile


Onions are a mixed stockpile. Fits yellow/red/garlic, dunno about leek.
Lucky: haven is so quirky
Lucky: can be so ugly, can be so heartwarming
Sevenless: it is life

The Art of Herding
W16 Casting Rod Cheatsheet
Explanation of the logic behind the cooking system
User avatar
Sevenless
 
Posts: 7610
Joined: Fri Mar 04, 2011 3:55 am
Location: Canada


Return to Critique & Ideas

Who is online

Users browsing this forum: Claude [Bot] and 252 guests