From: Julian Fietkau Date: Mon, 14 Oct 2024 04:26:00 +0000 (+0200) Subject: Update specific unlockable feather with more detailed texture X-Git-Url: https://fietkau.software/Up-in-the-Air.git/commitdiff_plain?repo=Up-in-the-Air;h=84431efa892fcc14d3765fedffab9cc1f8e4ed05;p=Up-in-the-Air;a=commitdiff_plain Update specific unlockable feather with more detailed texture --- diff --git a/main.js b/main.js index 3070eb0..09a1866 100644 --- a/main.js +++ b/main.js @@ -175,7 +175,7 @@ game['fn'].loadAllAssets = (renderProgressCallback) => { if(unlockable == 'golden') { todoList['textures/feather-golden.png'] = 1027; } else if(unlockable == 'ghost') { - todoList['textures/feather-ghost.png'] = 1023; + todoList['textures/feather-ghost.png'] = 8810; } else { let unlock = game['fn'].unlockWithKey('NIbp2kW5' + unlockable + 'e2ZDFl5Y'); if(unlock && unlock['type'] == 'feather') { @@ -1410,9 +1410,6 @@ game['fn'].createFeather = () => { options.roughness = 0.5; options.metalness = 0.4; } - if(game.settings['feather'] == 'ghost') { - options.opacity = 0.7; - } game.view.materials.feather = new THREE.MeshStandardMaterial(options); game.objects.feather = new THREE.Mesh(featherGeometry, game.view.materials.feather); game.objects.feather.rotation.order = 'ZXY'; diff --git a/textures/feather-ghost.png b/textures/feather-ghost.png index 406abe7..cda7c6f 100644 Binary files a/textures/feather-ghost.png and b/textures/feather-ghost.png differ