From 1b9c88e1a8ba594fa31f028a3862c62188e067f1 Mon Sep 17 00:00:00 2001 From: deathcap Date: Sun, 9 Mar 2014 18:41:12 -0700 Subject: [PATCH] Add copper and tin ingots and ores for mods Ref GH-13 --- scripts/generate.js | 10 ++++++++++ textures/blocks/copper_ore.png | Bin 0 -> 1377 bytes textures/blocks/tin_ore.png | Bin 0 -> 1353 bytes textures/items/copper_ingot.png | Bin 0 -> 1276 bytes textures/items/tin_ingot.png | Bin 0 -> 1273 bytes 5 files changed, 10 insertions(+) create mode 100644 textures/blocks/copper_ore.png create mode 100644 textures/blocks/tin_ore.png create mode 100644 textures/items/copper_ingot.png create mode 100644 textures/items/tin_ingot.png diff --git a/scripts/generate.js b/scripts/generate.js index 8c3fd24..3c71150 100644 --- a/scripts/generate.js +++ b/scripts/generate.js @@ -11,6 +11,7 @@ var outSP = 'ProgrammerArt-StitchPack.zip'; var image2tp = require('./texturepack_data.js'); var rpAdded = require('./resourcepack_data.js'); +var modpackAs = require('./modpack_data.js'); var zipOpts = {base64:false, compression:'DEFLATE', binary:true}; var fileOpts = {binary:true}; @@ -97,6 +98,15 @@ function processTextures(thisRoot, category, tpPrefix, rpPrefix) { rpAdded[category][nameRP] = true; var pathRP = rpPrefix + nameRP + '.png'; zipRP.file(pathRP, new Uint8Array(buffer), fileOpts); + } else if (modpackAs[category][nameRP] !== undefined) { + // part of resource pack for an addon modification; add for each + var modRenames = modpackAs[category][nameRP]; + for (var j = 0; j < modRenames.length; j += 1) { + var modRename = modRenames[j]; + var pathRP = modRename + '.png'; + + zipRP.file(pathRP, new Uint8Array(buffer), fileOpts); + } } else { console.log("Unknown file: " + file); } diff --git a/textures/blocks/copper_ore.png b/textures/blocks/copper_ore.png new file mode 100644 index 0000000000000000000000000000000000000000..5e563b85ee1950fd6446adf9264dfadf6751132e GIT binary patch literal 1377 zcmV-n1)lneP)4Tx05}naRo`#hR1`jmZ&IWdKOk5~hl<6oRa0BJ8yc;~21%2p?MfD<>DVeH z9(p*dx19w`~g7O0}n_%Aq@s%d)fBDv`JHkDym6Hd+5XuAtvnwRpGmK zVkc9?T=n|PIo~X-eVh__(Z?q}P9Z-Dj?gOW6|D%o20XmjW-qs4UjrD(li^iv8@eK9k+ZFm zVRFymFOPAzG5-%Pn|1W;U4vNroTa&AxDScmEA~{ri9gr1^c?U@uwSpaNnw8l_>cP1 zd;)kMQS_;jeRSUEM_*s96y65j1$)tOrwdK{YIQMt92l|D^(E_=$Rjw{b!QT@q!)ni zR`|5oW9X5n$Wv+HVc@|^eX5yXnsHX8PF3UX~a6)MwxDE0HaPjyrlI!;jX{6Kvuh*8ej?;85ekN$?5uuCiS zBTvvVG+XTxAO{m@bvM#Jr)z6J><&E22D|vq?Y?Vkbo_DijopiF$2PET#mZ8eu=y$(ArYkv7@Ex`GL?QCc!_*KFrd&;n1r7 zqW-CFs9&fT)ZaU5gc&=gBz-DaCw(vdOp0__x+47~U6sC(E(JNe@4cTT*n6*E zVH4eoU1-&7pEV~_PRe`a7v+@vy!^5}8?Y3)UmlaER0002^NklMTAKndd@MQ$ zul)XP*uvuytt??3Q@~s<2LIwBD^}lu jt$otpXGXx5!L#5SRwa*-&JjuS00000NkvXXu0mjfVHA=P literal 0 HcmV?d00001 diff --git a/textures/blocks/tin_ore.png b/textures/blocks/tin_ore.png new file mode 100644 index 0000000000000000000000000000000000000000..872d5f1c42bff056ef393f509e565ce30db074a7 GIT binary patch literal 1353 zcmV-P1-AN$P)4Tx05}naRo`#hR1`jmZ&IWdKOk5~hl<6oRa0BJ8yc;~21%2p?MfD<>DVeH z9(p*dx19w`~g7O0}n_%Aq@s%d)fBDv`JHkDym6Hd+5XuAtvnwRpGmK zVkc9?T=n|PIo~X-eVh__(Z?q}P9Z-Dj?gOW6|D%o20XmjW-qs4UjrD(li^iv8@eK9k+ZFm zVRFymFOPAzG5-%Pn|1W;U4vNroTa&AxDScmEA~{ri9gr1^c?U@uwSpaNnw8l_>cP1 zd;)kMQS_;jeRSUEM_*s96y65j1$)tOrwdK{YIQMt92l|D^(E_=$Rjw{b!QT@q!)ni zR`|5oW9X5n$Wv+HVc@|^eX5yXnsHX8PF3UX~a6)MwxDE0HaPjyrlI!;jX{6Kvuh*8ej?;85ekN$?5uuCiS zBTvvVG+XTxAO{m@bvM#Jr)z6J><&E22D|vq?Y?Vkbo_DijopiF$2PET#mZ8eu=y$(ArYkv7@Ex`GL?QCc!_*KFrd&;n1r7 zqW-CFs9&fT)ZaU5gc&=gBz-DaCw(vdOp0__x+47~U6sC(E(JNe@4cTT*n6*E zVH4eoU1-&7pEV~_PRe`a7v+@vy!^5}8?Y3)UmlaER0002sNklfDFok0XT4A1O{b; zw$JLb+z4nSh<~0x85W06w()F?_;tdAXp)Q`n@vld?G6aR3wNHj}WoC zD*JN^cMxK=s7^ZJ{5u7TYY~kU9G7K@i}cjR$t=QGFeVT%sNWY{<>My`3iLjL#uSI; zdAtXA|E3DYRaUj`cBG3od8d@kdr-S^{uQh?g;g-`L4Ro~^fbjA|0s(krtgH900000 LNkvXXu0mjfBn*c( literal 0 HcmV?d00001 diff --git a/textures/items/copper_ingot.png b/textures/items/copper_ingot.png new file mode 100644 index 0000000000000000000000000000000000000000..5abb7f44fdbea0c73e5583a00cc2736a64d92c25 GIT binary patch literal 1276 zcmV4Tx05}naRo`#hR1`jmZ&IWdKOk5~hl<6oRa0BJ8yc;~21%2p?MfD<>DVeH z9(p*dx19w`~g7O0}n_%Aq@s%d)fBDv`JHkDym6Hd+5XuAtvnwRpGmK zVkc9?T=n|PIo~X-eVh__(Z?q}P9Z-Dj?gOW6|D%o20XmjW-qs4UjrD(li^iv8@eK9k+ZFm zVRFymFOPAzG5-%Pn|1W;U4vNroTa&AxDScmEA~{ri9gr1^c?U@uwSpaNnw8l_>cP1 zd;)kMQS_;jeRSUEM_*s96y65j1$)tOrwdK{YIQMt92l|D^(E_=$Rjw{b!QT@q!)ni zR`|5oW9X5n$Wv+HVc@|^eX5yXnsHX8PF3UX~a6)MwxDE0HaPjyrlI!;j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