-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix vehicle fridges and freezers sprites #78125
base: master
Are you sure you want to change the base?
Conversation
Yea, probably best to change all vehicle |
I don't think they all have actual sprites. I mean, there's a reason they were all set to f_fridge previously. However, the food truck fridge and food truck freezer are by default vehicle fridges - so should not look like a household fridge, which is why I suggested making them look distinctly different - by using the chest_freezer, which does look like a vehicle type fridge. So we end up with vehicles spawning with two main vehicle fridge variants - a small fridge/freezer and a regular big chest type fridge using chest_freezer sprite. However there is a second 'box' type freezer sprite; The minifreezer sprite already looks like this; So possibly the "chest minifreezer" should also use the minifreezer sprite imo, rather than looking like a minifridge. The normal household fridges, should remain looking like household fridges so they dont look like letters because missing sprites, when placed into a vehicle; I think the only other furniture fridge different to f_fridge that has an actual sprite is the glass fridge, used in shopfronts; |
It might look better when you turn, but it wouldn't fit the item. A chest fridge opens on top while most fridges opens on the side. That's an important distinction from a game mechanics standpoint as upright freezers have higher energy consumption. From the comments of food truck freezer: "//": "141 kwh, but since you open it and use it, and because it's upright, 1.5 as much", Also, I've only actually changed the appliances which the vehicle parts inherit from and there's no reason for them to look different from the furniture versions. I think rotating vehicle sprites would be nice, but that's a tileset issue. |
Please dont see me as being combative - I want the same thing you do, a better game that looks better, and I'm only discussing this to help.
Well Vehicle/Furniture sprites already are differing based on being a furnite item or vehicle. Minifreezer/minifridges as furniture look different because they display differently.
There are multiple things against using a household fridge sprite for a vehicle fridge.
Also, BTW there are bugs, since some of the sprites and items you wrote don't actually exist - leading to crashes with starting a game. |
Lets look at this visually for a moment. Here is the default unchanged tileset. As you can see, the vehicle fridges look like normal fridges And the variants have no sprites. Your proposed change is to make it like this; The reason the minifridge/minifreezer looks like a fridge is apparently because it messes with the ground, like shown here. Perhaps those could use the chest fridge/freezer sprite variant instead, to be visually smaller whilst not messing with the ground layer. My proposed change is to make the vehicle fridges look distinctly different from fridges, which would look like this; The key difference imo - is that not everything looks like only minifridge or a household fridge. There is variety and a visual difference between designed-for-vehicle fridges and designed-for-houses fridges |
Of course, we're having a healthy discussion. I appreciate the feedback.
Most of your issues are tileset issues. The primary focus of this PR is to fix bugged vehicle sprites not showing up at all. I added
Yes the heavy duty freezer. I've fixed it now. |
@ampersand55 Any updated on when this will be merged? |
Summary
Bugfixes "Fix vehicle fridges and freezers sprites"
Purpose of change
Vehicle fridge and freezer sprites were not displayed properly. They didn't have a
"location"
defined and they had"looks_like": "fridge",
, reference to an item that isn't defined.Fixes #77955
Thanks to submitter @twasbrilligandtheslithytoves who helped debug their own issue.
Describe the solution
Json edits.
Add
"location": "center",
toap_apartment_fridge
which every other part inherits from.Replace
"looks_like": "fridge",
with"looks_like": "minifreezer",
Describe alternatives you've considered
Testing
Seems to load without errors.
Spawned a food truck that displays diverse sprites in MXotto+ (where more sprites are defined), displays minifreezer sprite in UltiCa.EDIT: Changed
looks_like
to the furniture versions.Additional context