Skip to content

Commit

Permalink
fix: add a hash to everything except recipe related components (#637)
Browse files Browse the repository at this point in the history
* fix: add a hash to everything except static images and recipe related components

* fix: cover necramech parts

* chore: rebuild images

* chore: update patchlogs
  • Loading branch information
SlayerOrnstein authored Oct 18, 2024
1 parent e6f9755 commit f963806
Show file tree
Hide file tree
Showing 242 changed files with 3,877 additions and 3,852 deletions.
11 changes: 6 additions & 5 deletions build/parser.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -564,14 +564,15 @@ class Parser {

// Some items have the same name - so add a partial hash as an identifier
// but avoid making component images different
if (!item.parent && item.type !== 'Relic') {
//
// Regex avoids Warframe componenets and Necramech weapons and suit
if (item.type !== 'Relic' && !/Recipes|(Resources\/Mechs)/.test(item.uniqueName)) {
item.imageName += `-${hash.slice(0, 10)}`;
}

// Give generic arcane entries the same treatmeant asa blueprints with a static arcane image
if (item.name === 'Arcane') {
item.imageName = 'arcane';
}
// Enforce arcane and blueprint image name
if (item.name === 'Arcane') item.imageName = 'arcane';
if (item.name === 'Blueprint') item.imageName = 'blueprint';

// Add original file extension
item.imageName += `.${ext}`;
Expand Down
70 changes: 35 additions & 35 deletions data/cache/.images.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
"hash": "2bff84d7c52c0471113b38341ba38cbdfebc8ce4ecc29407fc615a0273291733",
"isComponent": false
},
{
"uniqueName": "/Lotus/Types/Items/ShipDecos/1999OnlyneWallPoster",
"hash": "ad40520f2752337ad76af91eef621bfb73dbc4d77b65db71e27b95f1e5b6a05e",
"isComponent": false
},
{
"uniqueName": "/Lotus/Types/Gameplay/NarmerSorties/ArchonCrystalBoreal",
"hash": "4929729b3805613b58d9c7a387e721c13aa825858e2e57a2834aab9a41fe2aa3",
Expand Down Expand Up @@ -7709,11 +7714,21 @@
"hash": "7dfac00018444fb51dbe8ec87e8536704852f702964d1b062d0bf8e56144ef50",
"isComponent": false
},
{
"uniqueName": "/Lotus/Upgrades/Skins/Liset/InfChargerLisetSkin",
"hash": "5ded2fc919166622d008211930d25180365093e30b1475f1e15ac5d72b2ba5f1",
"isComponent": false
},
{
"uniqueName": "/Lotus/Types/Restoratives/Consumable/ChargerBall",
"hash": "7ae7e4b96a0c42222b7c02754688a81b38b7063f4adb16e13686fe8e90384bec",
"isComponent": false
},
{
"uniqueName": "/Lotus/Upgrades/Skins/Liset/InfChargerHoodOrnament",
"hash": "2d47521cd01c70658679500a344d70b1b759ec1d1b7147a22dece6793c113a95",
"isComponent": false
},
{
"uniqueName": "/Lotus/Types/Friendly/Pets/CatbrowPetPrecepts/CatbrowLuckPrecept",
"hash": "9c4f92cc14e46946261311224920f2d55c8c0f77f905e7d578c09a152a68644a",
Expand Down Expand Up @@ -28204,6 +28219,16 @@
"hash": "308df32d853cfc4b2fdd685b477e10e3777eb3d666b25027000fd7b5f6e3863d",
"isComponent": false
},
{
"uniqueName": "/Lotus/Upgrades/Skins/Armor/InfGrnWolfShoulderArmorMorphed/InfGrnWolfShoulderArmorA",
"hash": "1ca3fc9c910a567ccb55b777734a35937d4c86b18114bcbc66171f49b4531f08",
"isComponent": false
},
{
"uniqueName": "/Lotus/Upgrades/Skins/Scarves/InfGrnWolfCape",
"hash": "6333a5d8bcb33d631221cd9dbfe9d0909190b5bbc2bb87475da7d7f7338d94da",
"isComponent": false
},
{
"uniqueName": "/Lotus/Types/Items/ShipDecos/Leverian/LisetPropMuralVonnel",
"hash": "132146245588bc7c086e360d74ec5dc1ad605b48e5b2065f100901e93aa1dc88",
Expand Down Expand Up @@ -48699,6 +48724,11 @@
"hash": "8068f0a1ff4be854bd85532b45190c992c0975b6ae29420b637f66b88cbe6c5f",
"isComponent": false
},
{
"uniqueName": "/Lotus/Types/Items/ShipDecos/TarotCard2024Tennotober",
"hash": "f24c6cdfe91f21533c41d121de9027cbe1c1491ef83ec9479af514bceccecb3a",
"isComponent": false
},
{
"uniqueName": "/Lotus/Types/Items/ShipDecos/TarotCardTennotober",
"hash": "2a7b39123377f2e61ff43fc36bedc00e320421a93255f220cdebe24d035ce600",
Expand Down Expand Up @@ -54364,6 +54394,11 @@
"hash": "4b2e68c579add3b631ecd50feb11c2b9bd629d86a6c6bee5c5dd7604284d701f",
"isComponent": false
},
{
"uniqueName": "/Lotus/Types/Items/ShipDecos/1999ComicCoverPoster",
"hash": "4d473e3296d648728951d92f08d1faf7bcef14b37235f5497e7002185a94a0f2",
"isComponent": false
},
{
"uniqueName": "/Lotus/Types/StoreItems/AvatarImages/FanChannel/AvatarImageWarframeFanChannel",
"hash": "bed43d18e7c64e386337cc5049cb2e93e7e4b74b172166439b100d6fd09f0fd6",
Expand Down Expand Up @@ -57288,40 +57323,5 @@
"uniqueName": "/Lotus/Weapons/Infested/Pistols/InfUzi/InfUziWeapon",
"hash": "7efe96d0e403b94c37a6970816b095229e63ca89a3e072bc108c4e78dce268ea",
"isComponent": false
},
{
"uniqueName": "/Lotus/Types/Items/ShipDecos/1999OnlyneWallPoster",
"hash": "ad40520f2752337ad76af91eef621bfb73dbc4d77b65db71e27b95f1e5b6a05e",
"isComponent": false
},
{
"uniqueName": "/Lotus/Upgrades/Skins/Liset/InfChargerLisetSkin",
"hash": "5ded2fc919166622d008211930d25180365093e30b1475f1e15ac5d72b2ba5f1",
"isComponent": false
},
{
"uniqueName": "/Lotus/Upgrades/Skins/Liset/InfChargerHoodOrnament",
"hash": "2d47521cd01c70658679500a344d70b1b759ec1d1b7147a22dece6793c113a95",
"isComponent": false
},
{
"uniqueName": "/Lotus/Upgrades/Skins/Armor/InfGrnWolfShoulderArmorMorphed/InfGrnWolfShoulderArmorA",
"hash": "1ca3fc9c910a567ccb55b777734a35937d4c86b18114bcbc66171f49b4531f08",
"isComponent": false
},
{
"uniqueName": "/Lotus/Upgrades/Skins/Scarves/InfGrnWolfCape",
"hash": "6333a5d8bcb33d631221cd9dbfe9d0909190b5bbc2bb87475da7d7f7338d94da",
"isComponent": false
},
{
"uniqueName": "/Lotus/Types/Items/ShipDecos/TarotCard2024Tennotober",
"hash": "f24c6cdfe91f21533c41d121de9027cbe1c1491ef83ec9479af514bceccecb3a",
"isComponent": false
},
{
"uniqueName": "/Lotus/Types/Items/ShipDecos/1999ComicCoverPoster",
"hash": "4d473e3296d648728951d92f08d1faf7bcef14b37235f5497e7002185a94a0f2",
"isComponent": false
}
]
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading

0 comments on commit f963806

Please sign in to comment.