From 21eede0865209e6e8cbc0f0e69dd30244d7b0275 Mon Sep 17 00:00:00 2001 From: SharkPool <139097378+SharkPool-SP@users.noreply.github.com> Date: Sun, 24 Nov 2024 01:00:19 -0800 Subject: [PATCH 1/3] Create particleEngine.svg --- .../extensions/penguinmod/extensions/particleEngine.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/lib/libraries/extensions/penguinmod/extensions/particleEngine.svg diff --git a/src/lib/libraries/extensions/penguinmod/extensions/particleEngine.svg b/src/lib/libraries/extensions/penguinmod/extensions/particleEngine.svg new file mode 100644 index 00000000000..0f64c426f86 --- /dev/null +++ b/src/lib/libraries/extensions/penguinmod/extensions/particleEngine.svg @@ -0,0 +1 @@ + From 45799439d9c6a99fb27016fc7054af261ee3b383 Mon Sep 17 00:00:00 2001 From: SharkPool <139097378+SharkPool-SP@users.noreply.github.com> Date: Sun, 24 Nov 2024 01:06:23 -0800 Subject: [PATCH 2/3] Update index.jsx --- src/lib/libraries/extensions/index.jsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/lib/libraries/extensions/index.jsx b/src/lib/libraries/extensions/index.jsx index f0e37d6102f..0e6948b8a56 100644 --- a/src/lib/libraries/extensions/index.jsx +++ b/src/lib/libraries/extensions/index.jsx @@ -138,6 +138,7 @@ import sharkpoolPrintingIcon from './penguinmod/extensions/printing.svg'; import sharkpoolTuneIcon from './penguinmod/extensions/tuneShark.svg'; import sharkpoolMBPIcon from './penguinmod/extensions/myBlocksPlus.svg'; import sharkpoolBCIcon from './penguinmod/extensions/BetterComments.svg'; +import sharkpoolPEIcon from './penguinmod/extensions/particleEngine.svg'; import jgScriptsExtensionIcon from './penguinmod/extensions/scripts.svg'; // events @@ -447,6 +448,15 @@ const menuItems = [ description: 'Blocks for handling JSON objects and Arrays.', featured: true }, + { + name: 'Particle Engine', + extensionId: 'https://sharkpools-extensions.vercel.app/extension-code/Particle-Engine.js', + iconURL: sharkpoolPEIcon, + tags: ['penguinmod', 'graphics'], + description: 'Create powerful Particle Engines without Clones', + extDeveloper: 'SharkPool', + featured: true + }, { name: 'Custom Styles', extensionId: 'shovelcss', From 48cc4d61b30dd3d16eb9b4a55568f0698c2088c0 Mon Sep 17 00:00:00 2001 From: godslayerakp <74981904+RedMan13@users.noreply.github.com> Date: Sun, 24 Nov 2024 11:04:42 -0800 Subject: [PATCH 3/3] Update sb-file-uploader-hoc.jsx --- src/lib/sb-file-uploader-hoc.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/sb-file-uploader-hoc.jsx b/src/lib/sb-file-uploader-hoc.jsx index 08161d5800a..ecb0bb85c88 100644 --- a/src/lib/sb-file-uploader-hoc.jsx +++ b/src/lib/sb-file-uploader-hoc.jsx @@ -104,7 +104,7 @@ const SBFileUploaderHOC = function (WrappedComponent) { } else { // create element and add it to DOM this.inputElement = document.createElement('input'); - this.inputElement.accept = '.pmp,.sb,.sb2,.sb3,.pm'; + this.inputElement.accept = '.sb,.sb2,.sb3,.pm,.pmp'; this.inputElement.style = 'display: none;'; this.inputElement.type = 'file'; this.inputElement.onchange = this.handleChange; // connects to step 3