Skip to content
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

Merged
merged 8 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions data/json/furniture_and_terrain/appliances_refrigeration.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"epower": "-42 W",
"size": "311 L",
"item": "apartment_fridge",
"location": "center",
"requirements": {
"removal": { "time": "2 m" },
"repair": {
Expand All @@ -39,7 +40,6 @@
"epower": "-45 W",
"size": "96 L",
"item": "minifridge",
"location": "center",
"//1": "20 cm weld per quadrant of damage",
"requirements": {
"install": { "skills": [ [ "mechanics", 3 ] ], "time": "60 m", "using": [ [ "vehicle_wrench_2", 1 ] ] },
Expand All @@ -61,7 +61,7 @@
"copy-from": "ap_apartment_fridge",
"name": { "str": "food truck fridge" },
"description": "A heavy, portable fridge. When turned on, it will cool the food inside, extending the time until the food spoils.",
"looks_like": "fridge",
"looks_like": "minifridge",
"epower": "-51 W",
"//": "34 kwh, but since you open it and use it, and because it's upright, 1.5 as much",
"size": "250 L",
Expand Down Expand Up @@ -193,7 +193,6 @@
"//": "31 kwh, but since you open and use it, and because it's upright, 1.5x as much",
"size": "90 L",
"item": "minifreezer",
"location": "center",
"//1": "20 cm weld per quadrant of damage",
"requirements": {
"install": { "skills": [ [ "mechanics", 3 ] ], "time": "60 m", "using": [ [ "vehicle_wrench_2", 1 ] ] },
Expand All @@ -213,7 +212,7 @@
"copy-from": "ap_apartment_freezer",
"name": { "str": "chest minifreezer" },
"description": "A small chest freezer. When turned on, it will freeze the food inside, preventing any further expiration.",
"looks_like": "minifridge",
"looks_like": "f_chest_minifreezer",
"epower": "-26 W",
"//": "22 kwh, but since you open it and use it, 1.2 as much",
"//2": "listed capacity is 99L, but internal dimensions are 117L. 100 L for round number.",
Expand All @@ -229,7 +228,7 @@
"copy-from": "ap_apartment_freezer",
"name": { "str": "food truck freezer" },
"description": "A heavy, portable freezer. When turned on, it will freeze the food inside, preventing any further expiration.",
"looks_like": "fridge",
"looks_like": "f_heavy_duty_freezer",
"epower": "-211 W",
"//": "141 kwh, but since you open it and use it, and because it's upright, 1.5 as much",
"size": "250 L",
Expand All @@ -244,7 +243,7 @@
"copy-from": "ap_apartment_freezer",
"name": { "str": "chest freezer" },
"description": "A big chest freezer. When turned on, it will freeze the food inside, preventing any further expiration. Don't fall in!",
"looks_like": "fridge",
"looks_like": "f_freezer",
"epower": "-36 W",
"//": "30 kwh, but since you open it and use it, 1.2 as much",
"size": "350 L",
Expand All @@ -259,7 +258,7 @@
"copy-from": "ap_apartment_freezer",
"name": { "str": "heavy-duty freezer" },
"description": "A heavy-duty freezer. When turned on, it will freeze the food inside, preventing any further expiration.",
"looks_like": "fridge",
"looks_like": "f_heavy_duty_freezer",
"epower": "-576 W",
"//": "384 kwh, but since you open it and use it, and because it's upright, 1.5 as much",
"size": "745 L",
Expand All @@ -274,7 +273,7 @@
"copy-from": "ap_apartment_freezer",
"name": { "str": "glass door freezer" },
"description": "A glass door freezer. When turned on, it will freeze the food inside, preventing any further expiration.",
"looks_like": "fridge",
"looks_like": "f_glass_freezer",
"epower": "-456 W",
"//": "304 kwh, but since you open it and use it, and because it's upright, 1.5 as much",
"size": "400 L",
Expand All @@ -289,7 +288,7 @@
"copy-from": "ap_apartment_freezer",
"name": { "str": "display freezer" },
"description": "A display freezer. When turned on, it will freeze the food inside, preventing any further expiration.",
"looks_like": "fridge",
"looks_like": "f_display_freezer",
"epower": "-27 W",
"//": "23 kwh, but since you open it and use it, 1.2 as much",
"size": "320 L",
Expand Down
4 changes: 4 additions & 0 deletions data/json/vehicleparts/vehicle_parts.json
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,8 @@
{
"type": "vehicle_part",
"id": "big_portable_fridge",
"//": "add looks_like so that it rotates properly in vehicles",
"looks_like": "minifridge",
"delete": { "flags": [ "APPLIANCE", "CTRL_ELECTRONIC" ] },
"copy-from": "ap_big_portable_fridge"
},
Expand All @@ -623,6 +625,8 @@
{
"type": "vehicle_part",
"id": "big_portable_freezer",
"//": "add looks_like so that it rotates properly in vehicles",
"looks_like": "minifridge",
"delete": { "flags": [ "APPLIANCE", "CTRL_ELECTRONIC" ] },
"copy-from": "ap_big_portable_freezer"
},
Expand Down
Loading