studyup 0.0.0-stage → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hexgl-package/HexGL-master/.htaccess +4 -0
- package/hexgl-package/HexGL-master/LICENSE +21 -0
- package/hexgl-package/HexGL-master/README.md +26 -0
- package/hexgl-package/HexGL-master/audio/LICENSE +28 -0
- package/hexgl-package/HexGL-master/audio/bg.ogg +0 -0
- package/hexgl-package/HexGL-master/audio/boost.ogg +0 -0
- package/hexgl-package/HexGL-master/audio/crash.ogg +0 -0
- package/hexgl-package/HexGL-master/audio/destroyed.ogg +0 -0
- package/hexgl-package/HexGL-master/audio/wind.ogg +0 -0
- package/hexgl-package/HexGL-master/bkcore/Audio.js +142 -0
- package/hexgl-package/HexGL-master/bkcore/hexgl/CameraChase.js +73 -0
- package/hexgl-package/HexGL-master/bkcore/hexgl/Gameplay.js +231 -0
- package/hexgl-package/HexGL-master/bkcore/hexgl/HUD.js +270 -0
- package/hexgl-package/HexGL-master/bkcore/hexgl/HexGL.js +446 -0
- package/hexgl-package/HexGL-master/bkcore/hexgl/Ladder.js +52 -0
- package/hexgl-package/HexGL-master/bkcore/hexgl/RaceData.js +99 -0
- package/hexgl-package/HexGL-master/bkcore/hexgl/ShipControls.js +806 -0
- package/hexgl-package/HexGL-master/bkcore/hexgl/ShipEffects.js +186 -0
- package/hexgl-package/HexGL-master/bkcore/hexgl/tracks/Cityscape.js +521 -0
- package/hexgl-package/HexGL-master/bkcore/threejs/Loader.js +260 -0
- package/hexgl-package/HexGL-master/bkcore/threejs/Particles.js +191 -0
- package/hexgl-package/HexGL-master/bkcore/threejs/Preloader.js +151 -0
- package/hexgl-package/HexGL-master/bkcore/threejs/RenderManager.js +132 -0
- package/hexgl-package/HexGL-master/bkcore/threejs/Shaders.js +950 -0
- package/hexgl-package/HexGL-master/bkcore.coffee/ImageData.coffee +141 -0
- package/hexgl-package/HexGL-master/bkcore.coffee/ImageData.js +156 -0
- package/hexgl-package/HexGL-master/bkcore.coffee/Timer.coffee +118 -0
- package/hexgl-package/HexGL-master/bkcore.coffee/Timer.js +159 -0
- package/hexgl-package/HexGL-master/bkcore.coffee/Utils.coffee +193 -0
- package/hexgl-package/HexGL-master/bkcore.coffee/Utils.js +250 -0
- package/hexgl-package/HexGL-master/bkcore.coffee/controllers/GamepadController.coffee +45 -0
- package/hexgl-package/HexGL-master/bkcore.coffee/controllers/GamepadController.js +73 -0
- package/hexgl-package/HexGL-master/bkcore.coffee/controllers/OrientationController.coffee +72 -0
- package/hexgl-package/HexGL-master/bkcore.coffee/controllers/OrientationController.js +130 -0
- package/hexgl-package/HexGL-master/bkcore.coffee/controllers/TouchController.coffee +109 -0
- package/hexgl-package/HexGL-master/bkcore.coffee/controllers/TouchController.js +188 -0
- package/hexgl-package/HexGL-master/bkcore.coffee/tests.html +10 -0
- package/hexgl-package/HexGL-master/bkcore.coffee/threejs/Particles.coffee +199 -0
- package/hexgl-package/HexGL-master/bkcore.coffee/threejs/Particles.js +210 -0
- package/hexgl-package/HexGL-master/cache.appcache +74 -0
- package/hexgl-package/HexGL-master/css/BebasNeue-webfont.eot +0 -0
- package/hexgl-package/HexGL-master/css/BebasNeue-webfont.svg +245 -0
- package/hexgl-package/HexGL-master/css/BebasNeue-webfont.ttf +0 -0
- package/hexgl-package/HexGL-master/css/BebasNeue-webfont.woff +0 -0
- package/hexgl-package/HexGL-master/css/bg.jpg +0 -0
- package/hexgl-package/HexGL-master/css/fonts.css +16 -0
- package/hexgl-package/HexGL-master/css/help-0.png +0 -0
- package/hexgl-package/HexGL-master/css/help-1.png +0 -0
- package/hexgl-package/HexGL-master/css/help-2.png +0 -0
- package/hexgl-package/HexGL-master/css/help-3.png +0 -0
- package/hexgl-package/HexGL-master/css/mobile-controls-1.jpg +0 -0
- package/hexgl-package/HexGL-master/css/mobile-controls-2.jpg +0 -0
- package/hexgl-package/HexGL-master/css/mobile-over.jpg +0 -0
- package/hexgl-package/HexGL-master/css/mobile.jpg +0 -0
- package/hexgl-package/HexGL-master/css/multi.css +264 -0
- package/hexgl-package/HexGL-master/css/title.png +0 -0
- package/hexgl-package/HexGL-master/css/touchcontroller.css +8 -0
- package/hexgl-package/HexGL-master/favicon.png +0 -0
- package/hexgl-package/HexGL-master/geometries/bonus/base/base.js +45 -0
- package/hexgl-package/HexGL-master/geometries/booster/booster.js +45 -0
- package/hexgl-package/HexGL-master/geometries/ships/feisar/feisar.js +45 -0
- package/hexgl-package/HexGL-master/geometries/tracks/cityscape/bonus/speed.js +45 -0
- package/hexgl-package/HexGL-master/geometries/tracks/cityscape/scrapers1.js +45 -0
- package/hexgl-package/HexGL-master/geometries/tracks/cityscape/scrapers2.js +45 -0
- package/hexgl-package/HexGL-master/geometries/tracks/cityscape/start.js +45 -0
- package/hexgl-package/HexGL-master/geometries/tracks/cityscape/startbanner.js +45 -0
- package/hexgl-package/HexGL-master/geometries/tracks/cityscape/track.js +45 -0
- package/hexgl-package/HexGL-master/geometries/tracks/edge/track.js +38 -0
- package/hexgl-package/HexGL-master/icon_128.png +0 -0
- package/hexgl-package/HexGL-master/icon_256.png +0 -0
- package/hexgl-package/HexGL-master/icon_32.png +0 -0
- package/hexgl-package/HexGL-master/icon_64.png +0 -0
- package/hexgl-package/HexGL-master/index.html +129 -0
- package/hexgl-package/HexGL-master/launch.coffee +85 -0
- package/hexgl-package/HexGL-master/launch.js +116 -0
- package/hexgl-package/HexGL-master/libs/DAT.GUI.min.js +53 -0
- package/hexgl-package/HexGL-master/libs/Detector.js +59 -0
- package/hexgl-package/HexGL-master/libs/Editor.html +717 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/App.js +212 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/CanvasRenderer.js +389 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/Diagram.js +148 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/Iterator.js +92 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/Links.js +56 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/ModuleList.js +47 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/Node.js +122 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/Parser.js +140 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/Project.js +162 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/Timer.js +166 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/ace.js +11 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/class.js +989 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/editor.css +16 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/font.css +24 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/gamecore.js +133 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/hashlist.js +41 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/jhashtable.js +468 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/jquery-1.8.js +2 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/kinetic.js +30 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/main.css +204 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/mode-json.js +1 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/pooled.js +542 -0
- package/hexgl-package/HexGL-master/libs/Editor_files/theme-monokai.js +1 -0
- package/hexgl-package/HexGL-master/libs/ShaderExtras.js +1788 -0
- package/hexgl-package/HexGL-master/libs/Stats.js +6 -0
- package/hexgl-package/HexGL-master/libs/Three.dev.js +758 -0
- package/hexgl-package/HexGL-master/libs/Three.r53.js +767 -0
- package/hexgl-package/HexGL-master/libs/leap-0.4.1.min.js +3 -0
- package/hexgl-package/HexGL-master/libs/postprocessing/BloomPass.js +100 -0
- package/hexgl-package/HexGL-master/libs/postprocessing/DotScreenPass.js +52 -0
- package/hexgl-package/HexGL-master/libs/postprocessing/EffectComposer.js +143 -0
- package/hexgl-package/HexGL-master/libs/postprocessing/FilmPass.js +51 -0
- package/hexgl-package/HexGL-master/libs/postprocessing/MaskPass.js +86 -0
- package/hexgl-package/HexGL-master/libs/postprocessing/RenderPass.js +63 -0
- package/hexgl-package/HexGL-master/libs/postprocessing/SavePass.js +52 -0
- package/hexgl-package/HexGL-master/libs/postprocessing/ShaderPass.js +51 -0
- package/hexgl-package/HexGL-master/libs/postprocessing/TexturePass.js +37 -0
- package/hexgl-package/HexGL-master/manifest.webapp +18 -0
- package/hexgl-package/HexGL-master/package.webapp +10 -0
- package/hexgl-package/HexGL-master/package.zip +0 -0
- package/hexgl-package/HexGL-master/replays/cityscape-casual/bkcore.replay.json +1 -0
- package/hexgl-package/HexGL-master/textures/bonus/base/diffuse.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/bonus/base/normal.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/bonus/base/specular.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/checker.png +0 -0
- package/hexgl-package/HexGL-master/textures/hud/hex.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/hud/hud-bg.png +0 -0
- package/hexgl-package/HexGL-master/textures/hud/hud-fg-shield.png +0 -0
- package/hexgl-package/HexGL-master/textures/hud/hud-fg-speed.png +0 -0
- package/hexgl-package/HexGL-master/textures/particles/cloud - Copie.png +0 -0
- package/hexgl-package/HexGL-master/textures/particles/cloud.png +0 -0
- package/hexgl-package/HexGL-master/textures/particles/damage.png +0 -0
- package/hexgl-package/HexGL-master/textures/particles/spark - Copie.png +0 -0
- package/hexgl-package/HexGL-master/textures/particles/spark.png +0 -0
- package/hexgl-package/HexGL-master/textures/ships/feisar/booster/booster.png +0 -0
- package/hexgl-package/HexGL-master/textures/ships/feisar/booster/boostersprite.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/ships/feisar/diffuse.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/ships/feisar/normal.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/ships/feisar/specular.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/skybox/dawnclouds/nx.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/skybox/dawnclouds/ny.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/skybox/dawnclouds/nz.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/skybox/dawnclouds/px.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/skybox/dawnclouds/py.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/skybox/dawnclouds/pz.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/tracks/cityscape/collision.png +0 -0
- package/hexgl-package/HexGL-master/textures/tracks/cityscape/diffuse.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/tracks/cityscape/height.png +0 -0
- package/hexgl-package/HexGL-master/textures/tracks/cityscape/normal.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/tracks/cityscape/scrapers1/diffuse.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/tracks/cityscape/scrapers1/normal.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/tracks/cityscape/scrapers1/specular.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/tracks/cityscape/scrapers2/diffuse.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/tracks/cityscape/scrapers2/normal.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/tracks/cityscape/scrapers2/specular.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/tracks/cityscape/specular.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/tracks/cityscape/start/diffuse.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/tracks/cityscape/start/normal.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/tracks/cityscape/start/specular.jpg +0 -0
- package/hexgl-package/HexGL-master/textures/tracks/cityscape/start/start.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/bonus/base/diffuse.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/bonus/base/normal.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/bonus/base/specular.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/checker.png +0 -0
- package/hexgl-package/HexGL-master/textures.full/hud/hex.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/hud/hud-bg.png +0 -0
- package/hexgl-package/HexGL-master/textures.full/hud/hud-fg-shield.png +0 -0
- package/hexgl-package/HexGL-master/textures.full/hud/hud-fg-speed.png +0 -0
- package/hexgl-package/HexGL-master/textures.full/particles/cloud - Copie.png +0 -0
- package/hexgl-package/HexGL-master/textures.full/particles/cloud.png +0 -0
- package/hexgl-package/HexGL-master/textures.full/particles/damage.png +0 -0
- package/hexgl-package/HexGL-master/textures.full/particles/spark - Copie.png +0 -0
- package/hexgl-package/HexGL-master/textures.full/particles/spark.png +0 -0
- package/hexgl-package/HexGL-master/textures.full/ships/feisar/booster/booster.png +0 -0
- package/hexgl-package/HexGL-master/textures.full/ships/feisar/booster/boostersprite.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/ships/feisar/diffuse.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/ships/feisar/normal.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/ships/feisar/specular.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/skybox/dawnclouds/nx.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/skybox/dawnclouds/ny.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/skybox/dawnclouds/nz.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/skybox/dawnclouds/px.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/skybox/dawnclouds/py.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/skybox/dawnclouds/pz.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/tracks/cityscape/collision.png +0 -0
- package/hexgl-package/HexGL-master/textures.full/tracks/cityscape/diffuse.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/tracks/cityscape/height.png +0 -0
- package/hexgl-package/HexGL-master/textures.full/tracks/cityscape/normal.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/tracks/cityscape/scrapers1/diffuse.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/tracks/cityscape/scrapers1/normal.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/tracks/cityscape/scrapers1/specular.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/tracks/cityscape/scrapers2/diffuse.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/tracks/cityscape/scrapers2/normal.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/tracks/cityscape/scrapers2/specular.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/tracks/cityscape/specular.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/tracks/cityscape/start/diffuse.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/tracks/cityscape/start/normal.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/tracks/cityscape/start/specular.jpg +0 -0
- package/hexgl-package/HexGL-master/textures.full/tracks/cityscape/start/start.jpg +0 -0
- package/index.html +518 -0
- package/package.json +13 -4
- package/sandboxels-package/sandboxels-1.13.2/.github/CONTRIBUTING.md +10 -0
- package/sandboxels-package/sandboxels-1.13.2/.github/FUNDING.yml +13 -0
- package/sandboxels-package/sandboxels-1.13.2/.github/SUPPORT.md +9 -0
- package/sandboxels-package/sandboxels-1.13.2/404.html +74 -0
- package/sandboxels-package/sandboxels-1.13.2/CITATION.cff +42 -0
- package/sandboxels-package/sandboxels-1.13.2/CNAME +1 -0
- package/sandboxels-package/sandboxels-1.13.2/README.md +47 -0
- package/sandboxels-package/sandboxels-1.13.2/SECURITY.md +9 -0
- package/sandboxels-package/sandboxels-1.13.2/ad.html +73 -0
- package/sandboxels-package/sandboxels-1.13.2/aff.json +3 -0
- package/sandboxels-package/sandboxels-1.13.2/archive/first-version.html +234 -0
- package/sandboxels-package/sandboxels-1.13.2/archive/second-version.html +1293 -0
- package/sandboxels-package/sandboxels-1.13.2/archive/third-version.html +2242 -0
- package/sandboxels-package/sandboxels-1.13.2/archive.txt +231 -0
- package/sandboxels-package/sandboxels-1.13.2/backgrounds/License.txt +1 -0
- package/sandboxels-package/sandboxels-1.13.2/backgrounds/sky.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/backgrounds/sky_dark.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/backgrounds/sky_grass.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/backgrounds/sky_pink.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/backgrounds/sky_purple.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/backgrounds/sky_warm.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/changelog.html +3362 -0
- package/sandboxels-package/sandboxels-1.13.2/changelog.txt +3096 -0
- package/sandboxels-package/sandboxels-1.13.2/controls.html +191 -0
- package/sandboxels-package/sandboxels-1.13.2/controls.txt +65 -0
- package/sandboxels-package/sandboxels-1.13.2/education-use.html +109 -0
- package/sandboxels-package/sandboxels-1.13.2/feed.rss +30 -0
- package/sandboxels-package/sandboxels-1.13.2/feedback.html +89 -0
- package/sandboxels-package/sandboxels-1.13.2/fonts/PressStart2P-License-OFL.txt +93 -0
- package/sandboxels-package/sandboxels-1.13.2/fonts/PressStart2P-Regular.ttf +0 -0
- package/sandboxels-package/sandboxels-1.13.2/fonts/VT323-License-OFL.txt +93 -0
- package/sandboxels-package/sandboxels-1.13.2/fonts/VT323-Regular.ttf +0 -0
- package/sandboxels-package/sandboxels-1.13.2/fonts/Vietnamese_Pixel.ttf +0 -0
- package/sandboxels-package/sandboxels-1.13.2/fonts/fusion-pixel-12px-monospaced-ja.ttf +0 -0
- package/sandboxels-package/sandboxels-1.13.2/fonts/fusion-pixel-12px-monospaced-ko.ttf +0 -0
- package/sandboxels-package/sandboxels-1.13.2/fonts/fusion-pixel-12px-monospaced-latin.ttf +0 -0
- package/sandboxels-package/sandboxels-1.13.2/fonts/fusion-pixel-12px-monospaced-zh_hans.ttf +0 -0
- package/sandboxels-package/sandboxels-1.13.2/fonts/fusion-pixel-12px-monospaced-zh_hant.ttf +0 -0
- package/sandboxels-package/sandboxels-1.13.2/help.html +122 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/80x15.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/88x31.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/android-chrome-192x192.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/android-chrome-384x384.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon-114x114-precomposed.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon-114x114.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon-120x120-precomposed.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon-120x120.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon-144x144-precomposed.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon-144x144.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon-152x152-precomposed.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon-152x152.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon-180x180-precomposed.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon-180x180.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon-57x57-precomposed.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon-57x57.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon-60x60-precomposed.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon-60x60.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon-72x72-precomposed.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon-72x72.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon-76x76-precomposed.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon-76x76.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon-precomposed.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/apple-touch-icon.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/browserconfig.xml +9 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/card.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/cover-3840x1240px-text.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/cover-3840x1240px.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/cover-3840x1240px.webp +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/cover.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/favicon-16x16.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/favicon-32x32.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/favicon.ico +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/icon-hd.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/icon.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/index.html +196 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/modulator.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/mstile-150x150.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/original-logo-recreated-pixel.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/promo1.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/promo2.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/promo3.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/promo4.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/safari-pinned-tab.svg +107 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/site.webmanifest +20 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/tall.webp +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/wallpaper-old.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/wallpaper.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/wallpaper.webp +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/wordmark-black.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/icons/wordmark-white.png +0 -0
- package/sandboxels-package/sandboxels-1.13.2/index.html +21523 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/README.txt +5 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/af.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/ar.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/ar_sy.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/bn.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/ca.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/cs.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/da.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/de.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/el.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/en.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/en_au.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/en_ca.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/en_gb.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/es.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/et.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/fi.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/fil.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/fr.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/gen.js +21 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/he.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/hu.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/id.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/it.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/ja.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/ko.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/la.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/ne.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/nl.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/no.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/pl.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/pt.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/pt_br.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/qha.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/qvp.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/ro.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/ru.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/sr.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/sv.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/template.json +677 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/th.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/tok.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/tok_old.json +543 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/tr.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/uk.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/vi.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/xem.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/zh_cn.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/lang/zh_hant.json +1 -0
- package/sandboxels-package/sandboxels-1.13.2/license.txt +48 -0
- package/sandboxels-package/sandboxels-1.13.2/lite.html +1599 -0
- package/sandboxels-package/sandboxels-1.13.2/manifest.json +33 -0
- package/sandboxels-package/sandboxels-1.13.2/media.html +134 -0
- package/sandboxels-package/sandboxels-1.13.2/mobile-use.html +110 -0
- package/sandboxels-package/sandboxels-1.13.2/mod-list.html +535 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/1.10example.js +118 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/10kelements.js +172 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/3pms_mod.js +144 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/AnonymousWorldgenLibrary.js +55 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/Batteries.js +288 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/BlueStuff.js +681 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/CandyCanes.js +15 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/CandyCorn.js +8 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/CherrySoda.js +77 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/EasterEggs.js +1 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/ExtraMachines.js +2338 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/FoodFoodFood.js +114 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/Gemstones.js +80 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/GrapeSoda.js +141 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/Humanitize.js +959 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/Inators.js +108 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/IreThings.js +169 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/Lab.js +397 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/LimesAdditions.js +401 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/MarkusFoodMod.js +334 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/Mucho_frio_y_Calor.js +16 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/Natural_disasters.js +207 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/Neutronium Mod.js +1228 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/PRNGworldgenlib.js +526 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/Quicksand_one.js +1355 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/RF_transmitter_receiver.js +62 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/Random_quicksands.js +932 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/Science_mod.js +1791 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/Shroomboxels.js +71 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/SuperASAX_Funny_Mod.js +297 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/Temperature+.js +47 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/Thread.js +180 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/UAMM.js +502 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/Ultra_Steel.js +61 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/UwUify.js +87 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/VCR_OSD_MONO.ttf +0 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/Vegan.js +255 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/WhisperingTheory.js +213 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/aChefsDream.js +8159 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/aChefsDream2.js +815 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/aChefsDream_beta.js +12 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/aScientistsWish.js +1195 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/a_bundle_of_tests.js +417 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/a_mod_by_alice.js +46043 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/acid_and_shapes.js +1 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/adaceythings.js +343 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/adjustablepixelsize.js +28 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/advanced_colonies.js +146 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/advancedbugs.js +37 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/aircrafts.js +260 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/alchem.js +372 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/alchemy.js +69 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/alcohol.js +113 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/alkahest.js +33 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/alkali_metal.js +308 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/all_around_fillers.js +73 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/all_stain.js +7 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/allliquids.js +24 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/amogus.js +69 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/anmm.js +566 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/ants.js +137 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/apioforms_pre.js +238 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/applestuff.js +80 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/asciiboxels.js +231 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/aussieAdditions.js +123 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/baby.js +65 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/background_changer.js +59 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/bacteria_mod.js +121 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/bananas.js +543 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/barf_mod.js +42 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/barista.js +209 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/bere.js +85 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/betterMenuScreens.js +279 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/betterModManager.js +174 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/betterSettings.js +304 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/betterStats.js +55 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/better_smooth_water.js +6 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/betterelec.js +51 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/bettergraygoo.js +1 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/bettermetalscrap.js +37 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/bf.js +394 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/bfdi.js +145 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/bigger_star_spawners.js +198 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/biology.js +8694 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/bioooze_and_pyrogens.js +264 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/black_hole.js +43 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/blocks.js +164 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/boiling_things.js +540 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/bojithekings_mod.js +377 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/boompaste.js +76 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/borders.js +76 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/bouncing_balls.js +703 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/broken_mod_test.js +1 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/building.js +154 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/buildingreplicator.js +210 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/c_fighter_jet.js +449 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/cannibal_cooking.js +620 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/cash_n_more.js +58 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/cat.js +100 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/cells.js +376 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/chalcopyrite.js +124 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/chalk.js +499 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/change.js +58 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/changePixelDebug.js +9 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/changeTempReactionParameter.js +73 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/chaos.js +32 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/charsonsmodbeta.js +494 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/charsonsmoduno.js +2116 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/chem.js +7877 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/chemFormula.js +44 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/chemFormulas.json +549 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/cherries.js +543 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/chess.js +1463 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/children.js +14 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/circuitcore.js +1914 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/circuitcore_displays.js +157 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/citybuilding.js +193 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/classic_explosives.js +62 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/classic_textures.js +196 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/clf3.js +86 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/clone_liquid.js +22 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/clouds.js +103 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/cmur.js +5195 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/code_library.js +1827 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/coffee.js +228 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/cold_liquid_explosion.js +20 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/cold_opposites.js +66 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/coldblooded.js +729 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/collab_mod.js +253 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/colonies.js +574 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/colorLED.js +38 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/color_everything.js +3 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/color_tools.js +297 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/colored_lightbulbs.js +44 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/combustion.js +416 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/community_desserts.js +829 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/content.js +131 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/controllable_pixel.js +75 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/controllable_pixel_test.js +161 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/conveyance.js +95 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/cooked_apple.js +26 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/cookie_clicker.js +943 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/cookingnstuff.js +1 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/cool_tools.js +35 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/copy_canvas.js +9 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/copypaste.js +100 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/coresbyp.js +90 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/cpt_alt.js +241 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/crimson.js +424 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/cs_expanded.js +31 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/cubesstuff.js +3329 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/currency.js +246 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/cursed_shader_by_jayd.js +90 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/cursor.js +3 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/cursor_shapes.js +149 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/customBackground.js +45 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/customexplosion.js +110 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/customtemptools.js +50 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/dalgonacandy.js +41 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/datawire.js +238 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/date_test.js +268 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/death_count.js +35 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/debris.js +75 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/debrisable.js +1136 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/debugRework.js +169 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/delete_all_of_element.js +17 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/deneme.js +70 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/dependency_test.js +13 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/descriptions.js +17 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/devsnacks.js +193 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/devtests.js +278 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/discord_port.js +36 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/doElectricity changes.js +55 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/dogs.js +85 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/doom.js +935 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/doomsday.js +56 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/drawPixels_change_test.js +39 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/dried_food.js +38 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/drill.js +261 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/drills.js +760 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/easysurvival.js +917 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/edible_everything.js +7 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/editTools.js +608 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/eklegems.js +1313 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/electricityTest.js +42 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/elem3.js +352316 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/elementEraser.js +40 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/element_UI.js +140 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/elementreplacer.js +12 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/elementsManager.js +1212 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/empty.js +7 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/evenmoretemptools.js +42 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/example_mod.js +89 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/example_mod_old.js +84 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/exoplanet.js +220 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/explodeAtPlus.js +138 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/explosionsound.js +19 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/extra_element_info.js +79 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/extrasaveslots.js +42 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fans.js +204 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fantastic_creatures.js +198 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fantasy_elements.js +800 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fast_lightmap.js +339 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fey_and_more.js +1678 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fill_script.js +42 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/find.js +115 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fine_tuned_cloner.js +121 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fire_extinguisher.js +128 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fire_mod.js +565 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fire_slime.js +68 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fishin.js +519 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fission.js +68 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fission_physics.js +86 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fiveys_stuff.js +119 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/flesh_infection.js +645 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/flipflop.js +36 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/flowers_and_forests.js +468 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/flying_fish.js +49 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/food_mods.js +15 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/foodgalore +100 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fools+.js +299 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fools.js +99 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fools24.js +842 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fools25.js +350 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fossils.js +676 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fractals.js +156 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/franklin.js +44 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/freeTPS.js +19 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fueled_generators.js +131 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/funny elements 2022-11-15.js +84 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/funny_liquid.js +618 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/funny_liquid_2.js +322 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/funny_liquid_3.js +254 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/funny_solid.js +163 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/funnynames.js +320 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/fwibblen.js +69 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/gambling.js +94 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/gameOfLife.js +83 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/garn47.js +325 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/gasdecay.js +31 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/generative_mods.js +2479 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/generator_prompt.js +166 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/genetics.js +4038 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/glenn_gases.js +411 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/glow.js +130 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/gradient_background_support.js +21 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/graphite.js +460 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/grav_mudstones.js +382 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/gravity.js +40 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/gravity_test.js +51 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/greenitemsandmore.js +183 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/guided_rocket.js +106 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/halogen.js +384 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/haseulite.js +1673 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/heatglow.js +74 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/heatshield.js +30 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/hexagon.js +45 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/hidden_ground.js +42 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/hideandshowtools.js +18 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/human_edit.js +725 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/human_friendly_design.js +899 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/humans.js +203 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/hydroid.js +224 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/icb.js +32 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/iean.js +135 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/immune.js +199 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/incinerators.js +29 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/industry.js +308 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/infLiqLight.js +8 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/injector.js +450 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/insane_random_events.js +123 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/invertscroll.js +8 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/invisible_things.js +83 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/iocalfaeus_clones.js +100 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/jaydsfunctions.js +187 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/jaydsmods.js +89 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/jaydstuff.js +783 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/junction.js +50 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/ketchup_mod.js +526 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/kopalsBar.js +175 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/kopalstuff.js +541 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/lactose_intolerance_and_celiac.js +18 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/laetium.js +328 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/lattice_filler.js +29 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/lemonade.js +71 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/libhooktick.js +49 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/libpacman-v1.js +61 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/libpixeltracking.js +29 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/library_test.js +5 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/life_eater.js +169 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/light.js +218 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/lighting_test.js +79 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/lightmap.js +382 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/limewater.js +75 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/liquid_energy.js +294 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/liquid_mixing.js +184 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/liquid_void.js +29 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/littlejohnny.js +72 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/lizard_mod.js +91 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/logicgates.js +482 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/lone_urea.js +69 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/lost_souls.js +177 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/lye.js +34 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/machines.js +293 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/manyMoreThemes.js +67 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/mars.js +473 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/maxColorOffset.js +54 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/maze.js +71 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/meat_rockets.js +70 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/memelists.js +17 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/metals.js +791 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/minecraft.js +818 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/minesweeper.js +100 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/miscellaneous_elements.js +278 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/miscible_psoup_and_birthpool.js +7 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/mix.js +65 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/mixture.js +714 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/mixtureII.js +440 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/mjsstuff.js +233 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/mobile_keybinds.js +33 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/mobile_shift.js +336 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/mobs.js +5147 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/mod_for_mnem.js +1 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/modlangs.js +53 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/moreViews.js +473 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/more_art_states.js +89 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/more_breaking.js +189 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/more_disasters.js +497 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/more_gold.js +115 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/morebombs.js +1143 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/morechemistry.js +1764 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/morefoodsmod.js +154 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/moreliquids.js +138 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/morepowders.js +335 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/moretools.js +68 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/moretrees.js +490 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/mossstuff.js +2301 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/mouthwash.js +23 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/move_tools.js +71 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/moveable_cubes.js +258 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/moving_pixels.js +179 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/mush_infection.js +321 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/musicalfruit.js +4 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/mustard.js +48 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/mystic.js +274 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/nastystuff.js +57 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/nature_Mod.js +1384 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/nekonicos_stuff.js +1651 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/nested_for_reaction_example.js +19 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/nettysaddon.js +48 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/neutronium_compressor.js +416 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/nicer_flame.js +48 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/nirmod.js +296 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/nitroglycerin.js +54 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/no_blood.js +23 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/no_radiation_events.js +3 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/no_random_grbs.js +9 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/no_scroll.js +5 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/noblegas.js +215 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/nocancer.js +9 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/nocancer2.js +1 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/noconfirm.js +1 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/nograssgrow.js +6 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/noita.js +4895 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/noita_demake.js +430 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/nopixellimit.js +2 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/note_block.js +97 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/note_block_advanced.js +628 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/nousersthings.js +4081 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/nuclear.js +300 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/nv7.js +35013 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/obsidian.js +51 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/occlusion.js +149 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/ocean.js +130 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/ochem_prerelease.js +774 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/oldTooltip.js +23 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/oldleds.js +20 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/onTryMoveInto.js +85 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/onecolor.js +146 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/orchidslibrary.js +70 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/ores.js +232 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/organism.js +915 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/oxide.theme.js +46 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/page_color.js +35 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/paint_event.js +17 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/periodic_and_more.js +64 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/peta.js +214 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/petal_dye.js +40 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/pixelResizeTool.js +18 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/pizzasstuff.js +2338 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/place_all_elements.js +30 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/placuchtestthing.js +17 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/planet.js +270 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/planet_cracker.js +81 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/plants.js +1616 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/plastic.js +93 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/portal.js +120 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/potato_chips.js +44 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/prairie.js +200 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/precisionDrawing.js +58 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/pressure.js +223 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/pressure_sensitive.js +20 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/prideflags.js +307 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/primordial_birthpool.js +38 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/prompt.js +1215 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/prop and prompt variables.js +16 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/prop.js +466 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/pullers.js +479 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/purple_guys_mod.js +3635 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/pushers.js +287 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/radioactive.js +135 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/rainbow_cursor.js +12 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/rainbow_tests.js +348 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/rainsmod.js +412 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/random_elems.js +463 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/random_everything.js +7 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/random_fixes.js +42 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/random_liquids.js +220 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/random_rocks.js +164 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/random_things.js +69 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/randomelements.js +200 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/randomness.js +730 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/randomness_but_tick.js +1257 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/randomness_but_tool.js +26 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/ray_cloner.js +150 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/rays++.js +60 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/rays.js +464 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/reactor_supplies_and_others.js +88 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/real_light.js +754 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/replace.js +79 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/replace_all.js +45 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/reverse_time.js +421 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/rich_grain.js +54 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/rising_powders.js +3 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/rock_paper_scissors.js +32 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/roseyiede.js +363 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/rpg.js +1342 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/ru_expanded.js +25 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/runAfterAutogen and onload restructure.js +1 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/runAfterAutogen2.js +56 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/sandboxels.js +2501 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/saturnsstuff.js +729 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/save_loading.js +520 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/sbmixup.js +1439 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/sbstuff.js +1865 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/scenexe.js +770 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/schematics.js +214 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/scp.js +7831 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/selective_paint.js +60 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/sensitive.js +20 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/shade.js +46 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/shader_by_jayd.js +168 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/shipstuff.js +198 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/singleColor.js +1 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/single_humans.js +147 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/sky.js +141 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/slag_fix.js +25 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/smooth_water.js +6 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/solid_rock.js +74 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/solidcolor.js +146 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/solubility.js +287 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/some_tf_liquids.js +358 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/souls.js +163 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/soups.js +104 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/spaceship.js +138 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/special_property_library.js +155 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/sponge_edit.js +76 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/sports_beta.js +69 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/spouts.js +715 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/spring.js +283 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/stainless_steel.js +126 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/star_wars.js +70 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/state_voids.js +347 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/static.js +182 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/stickyslime.js +3 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/stickystuff.js +59 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/stormlib.js +99 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/stripe_paint.js +110 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/structure_test.js +755 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/sturdierpowders.js +595 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/subspace.js +46 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/survival.js +499 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/survivalhack.js +500 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/sus.js +92 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/switches.js +53 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/talismanadditions.js +124 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/tech.js +282 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/test.js +8 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/test_2.js +399 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/testmod.js +7 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/text.js +681 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/texture_pack_by_jayd.js +116 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/texturepack.js +94 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/the_ground.js +3 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/the_ground_og.js +2570 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/the_snail.js +63 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/themostrandomstuff.js +523 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/thermal_conduit.js +157 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/thiquovite.js +1745 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/ticking_temp_stuff.js +494 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/time.js +7 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/toms_stuff.js +308 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/tool_pixel_behavior.js +792 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/tooltip.js +32 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/toothpaste.js +154 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/tpt.js +89 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/triggerable_random_powders.js +68 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/troll.js +170 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/true_flashbang.js +520 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/ultimadrink.js +3191 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/uncook.js +51 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/unhide.js +10 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/variety_mod.js +727 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/velocity.js +139 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/velocity2.js +209 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/video.js +125 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/vinegar.js +17 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/volcanic_expansion.js +94 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/war.js +51 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/war_crimes.js +131 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/waterspout.js +26 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/weAllScreamFor.js +218 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/weapons.js +1286 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/wheel_fix.js +19 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/wifi.js +162 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/wifi_draw.js +87 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/wine.js +8 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/wirelike_test.js +681 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/worldEdit.js +441 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/worldEdit.ts +569 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/world_gen_test.js +315 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/worldgen_test.js +173 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/worldgenlibrary.js +164 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/x_dependent_change_test.js +34 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/yumcherries.js +543 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/zonneschijn7.js +6 -0
- package/sandboxels-package/sandboxels-1.13.2/mods/zoom.js +322 -0
- package/sandboxels-package/sandboxels-1.13.2/offline-use.html +103 -0
- package/sandboxels-package/sandboxels-1.13.2/offline.html +1 -0
- package/sandboxels-package/sandboxels-1.13.2/presskit.html +165 -0
- package/sandboxels-package/sandboxels-1.13.2/promo.html +13 -0
- package/sandboxels-package/sandboxels-1.13.2/scripts/im2elements/code.go +116 -0
- package/sandboxels-package/sandboxels-1.13.2/scripts/im2elements/go.mod +5 -0
- package/sandboxels-package/sandboxels-1.13.2/scripts/im2elements/go.sum +2 -0
- package/sandboxels-package/sandboxels-1.13.2/scripts/im2elements/main.go +58 -0
- package/sandboxels-package/sandboxels-1.13.2/scripts/perlin.js +165 -0
- package/sandboxels-package/sandboxels-1.13.2/service-worker.js +16 -0
- package/sandboxels-package/sandboxels-1.13.2/sitemap.txt +13 -0
- package/sandboxels-package/sandboxels-1.13.2/style.css +1105 -0
- package/sandboxels-package/sandboxels-1.13.2/template.html +86 -0
- package/sandboxels-package/sandboxels-1.13.2/tips.html +147 -0
- package/sandboxels-package/sandboxels-1.13.2/translate.html +105 -0
- package/README.md +0 -3
|
@@ -0,0 +1,2338 @@
|
|
|
1
|
+
// this is a epic mod
|
|
2
|
+
|
|
3
|
+
heatSen = null;
|
|
4
|
+
elements.heatSensor = {
|
|
5
|
+
|
|
6
|
+
color: "#ff0000",
|
|
7
|
+
conduct: 0.1,
|
|
8
|
+
category:"test",
|
|
9
|
+
behavior: behaviors.WALL,
|
|
10
|
+
|
|
11
|
+
onSelect: function(pixel){
|
|
12
|
+
heatSen = prompt("Enter the temperature you want it to sense" );
|
|
13
|
+
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
tick: function(pixel) {
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
if (pixel.temp >= heatSen ) {
|
|
21
|
+
pixel.charge = 1;
|
|
22
|
+
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
},
|
|
27
|
+
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
elements.SteamTurbine = {
|
|
32
|
+
behavior: behaviors.WALL,
|
|
33
|
+
desc: "When steam touches it, it conducts electricity and the steam pixel is deleted",
|
|
34
|
+
color: "#826c6e",
|
|
35
|
+
tick: function(pixel) {
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
for (var i = 0; i < adjacentCoords.length; i++) {
|
|
39
|
+
var coords = adjacentCoords[i];
|
|
40
|
+
var x = pixel.x + coords[0];
|
|
41
|
+
var y = pixel.y + coords[1];
|
|
42
|
+
if (!isEmpty(x,y,true)) {
|
|
43
|
+
var sensed = pixelMap[x][y];
|
|
44
|
+
if (sensed.element == 'steam' ||sensed.element == 'rad_steam' ) {
|
|
45
|
+
deletePixel(x,y);
|
|
46
|
+
pixel.charge = 5;
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
doDefaults(pixel);
|
|
52
|
+
},
|
|
53
|
+
conduct: 1,
|
|
54
|
+
movable: false,
|
|
55
|
+
category:"machines",
|
|
56
|
+
darkText: true,
|
|
57
|
+
hardness: 1,
|
|
58
|
+
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
elements.coal = {
|
|
63
|
+
desc: "A black powder that burns",
|
|
64
|
+
color: "#3d3c39",
|
|
65
|
+
behavior: behaviors.POWDER,
|
|
66
|
+
category: "energy",
|
|
67
|
+
state: "solid",
|
|
68
|
+
density: 208,
|
|
69
|
+
conduct: 0.001,
|
|
70
|
+
|
|
71
|
+
tick: function(pixel) {
|
|
72
|
+
if (pixel.temp > 900 && !pixel.burning) {
|
|
73
|
+
pixel.burning = true;
|
|
74
|
+
pixel.burnStart = pixelTicks;
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
|
|
78
|
+
tempHigh:2500,
|
|
79
|
+
stateHigh: "fire",
|
|
80
|
+
hardness: 0.85,
|
|
81
|
+
burn: 100,
|
|
82
|
+
burnTime: 3500,
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
elements.coal_dust = {
|
|
87
|
+
desc: "A byproduct of smashed solid coal that burns like coal but for a shorter time",
|
|
88
|
+
color: "#3d3c39",
|
|
89
|
+
behavior: behaviors.POWDER,
|
|
90
|
+
category: "powders",
|
|
91
|
+
state: "solid",
|
|
92
|
+
stain: 1,
|
|
93
|
+
density: 190,
|
|
94
|
+
conduct: 0.001,
|
|
95
|
+
|
|
96
|
+
tick: function(pixel) {
|
|
97
|
+
if (pixel.temp > 900 && !pixel.burning) {
|
|
98
|
+
pixel.burning = true;
|
|
99
|
+
pixel.burnStart = pixelTicks;
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
|
|
103
|
+
tempHigh:2000,
|
|
104
|
+
stateHigh: "fire",
|
|
105
|
+
hardness: 0.3,
|
|
106
|
+
burn: 100,
|
|
107
|
+
burnTime: 3500,
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
elements.gasoline = {
|
|
112
|
+
color: "#c9c5b1",
|
|
113
|
+
desc: "A liquid that burns and is used to power most cars",
|
|
114
|
+
behavior: behaviors.LIQUID,
|
|
115
|
+
tick: function(pixel) {
|
|
116
|
+
if (pixel.temp > 430 && !pixel.burning) {
|
|
117
|
+
pixel.burning = true;
|
|
118
|
+
pixel.burnStart = pixelTicks;
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
tempHigh:3000,
|
|
122
|
+
stateHigh: "fire",
|
|
123
|
+
viscosity: 0.56,
|
|
124
|
+
burn: 100,
|
|
125
|
+
burnTime: 10000,
|
|
126
|
+
fireColor: "#c9c5b1",
|
|
127
|
+
category: "liquids",
|
|
128
|
+
state: "liquid",
|
|
129
|
+
density: 792,
|
|
130
|
+
stain: -0.25,
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
elements.solar_panel = {
|
|
135
|
+
behavior: behaviors.WALL,
|
|
136
|
+
desc: "When light touches it, it conducts electricity and the light pixel is deleted",
|
|
137
|
+
color: "#bebfa3",
|
|
138
|
+
tick: function(pixel) {
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
for (var i = 0; i < adjacentCoords.length; i++) {
|
|
142
|
+
var coords = adjacentCoords[i];
|
|
143
|
+
var x = pixel.x + coords[0];
|
|
144
|
+
var y = pixel.y + coords[1];
|
|
145
|
+
if (!isEmpty(x,y,true)) {
|
|
146
|
+
var sensed = pixelMap[x][y];
|
|
147
|
+
if (sensed.element == 'light') {
|
|
148
|
+
deletePixel(x,y);
|
|
149
|
+
pixel.charge = 5;
|
|
150
|
+
break;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
doDefaults(pixel);
|
|
155
|
+
},
|
|
156
|
+
conduct: 1,
|
|
157
|
+
movable: false,
|
|
158
|
+
category:"machines",
|
|
159
|
+
darkText: true,
|
|
160
|
+
hardness: 1,
|
|
161
|
+
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
elements.titanium = {
|
|
165
|
+
desc: "Another metal that does not erode nor conduct electricity",
|
|
166
|
+
conduct: 0,
|
|
167
|
+
color: ["#a1ada5","#ebf5ee","#bac2bc","#848a86","#505251"],
|
|
168
|
+
tempHigh:3000,
|
|
169
|
+
stateHigh: "molten_titanium",
|
|
170
|
+
category: "solids",
|
|
171
|
+
state: "soild",
|
|
172
|
+
hardness: 1,
|
|
173
|
+
density: 792,
|
|
174
|
+
behavior: behaviors.WALL,
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
elements.molten_titanium = {
|
|
178
|
+
desc: "Melted version of titanium",
|
|
179
|
+
temp : 3000,
|
|
180
|
+
conduct: 0,
|
|
181
|
+
color: ["#d16e04","#FFCC99","#FF6600","#FF7F50","#DC143C","#800020"],
|
|
182
|
+
tempLow:2999,
|
|
183
|
+
stateLow: "titanium",
|
|
184
|
+
category: "states",
|
|
185
|
+
state: "soild",
|
|
186
|
+
density: 792,
|
|
187
|
+
behavior: behaviors.MOLTEN,
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
elements.solid_coal = {
|
|
191
|
+
desc: "A solid version of coal",
|
|
192
|
+
color: "#3d3c39",
|
|
193
|
+
behavior: behaviors.WALL,
|
|
194
|
+
category: "energy",
|
|
195
|
+
state: "solid",
|
|
196
|
+
breakInto: "coal_dust",
|
|
197
|
+
density: 380,
|
|
198
|
+
conduct: 0.001,
|
|
199
|
+
|
|
200
|
+
tick: function(pixel) {
|
|
201
|
+
if (pixel.temp > 900 && !pixel.burning) {
|
|
202
|
+
pixel.burning = true;
|
|
203
|
+
pixel.burnStart = pixelTicks;
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
|
|
207
|
+
tempHigh:3000,
|
|
208
|
+
stateHigh: "fire",
|
|
209
|
+
hardness: 0.85,
|
|
210
|
+
burn: 100,
|
|
211
|
+
burnTime: 3500,
|
|
212
|
+
};
|
|
213
|
+
|
|
214
|
+
elements.rubber = {
|
|
215
|
+
desc: "Not finnished",
|
|
216
|
+
color: "#ffc0cb",
|
|
217
|
+
hardness: 0.5,
|
|
218
|
+
tempHigh:180,
|
|
219
|
+
state: "solid",
|
|
220
|
+
behavior: behaviors.WALL,
|
|
221
|
+
conduct: 0,
|
|
222
|
+
category: "solids",
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
elements.coolant = {
|
|
226
|
+
desc: "Cools down pixels that touch it and is a liquid",
|
|
227
|
+
color: "#71ded3",
|
|
228
|
+
state: "liquid",
|
|
229
|
+
insulate: true,
|
|
230
|
+
behavior: behaviors.LIQUID,
|
|
231
|
+
tick: function(pixel) {
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
for (var i = 0; i < adjacentCoords.length; i++) {
|
|
235
|
+
var coords = adjacentCoords[i];
|
|
236
|
+
var x = pixel.x + coords[0];
|
|
237
|
+
var y = pixel.y + coords[1];
|
|
238
|
+
if (!isEmpty(x,y,true)) {
|
|
239
|
+
var sensed = pixelMap[x][y];
|
|
240
|
+
if (sensed.element && sensed.temp > 21 ) {
|
|
241
|
+
|
|
242
|
+
sensed.temp -= 1;
|
|
243
|
+
break;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
doDefaults(pixel);
|
|
248
|
+
},
|
|
249
|
+
conduct: 0.5,
|
|
250
|
+
category: "test",
|
|
251
|
+
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
elements.e_cooler = {
|
|
255
|
+
desc: "Works like the cooler but needs power to work",
|
|
256
|
+
color: elements.cooler.color,
|
|
257
|
+
hardness: 0.5,
|
|
258
|
+
state: "solid",
|
|
259
|
+
behavior: behaviors.WALL,
|
|
260
|
+
conduct: 1,
|
|
261
|
+
category: "machines",
|
|
262
|
+
behaviorOn: [
|
|
263
|
+
"XX|CO:2|XX",
|
|
264
|
+
"CO:2|XX|CO:2",
|
|
265
|
+
"XX|CO:2|XX",
|
|
266
|
+
],
|
|
267
|
+
name: "E-Cooler",
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
elements.e_Freezer = {
|
|
271
|
+
desc: "Works like the freezer but needs power to work",
|
|
272
|
+
color: elements.cooler.color,
|
|
273
|
+
hardness: 0.5,
|
|
274
|
+
state: "solid",
|
|
275
|
+
behavior: behaviors.WALL,
|
|
276
|
+
conduct: 1,
|
|
277
|
+
category: "machines",
|
|
278
|
+
behaviorOn: [
|
|
279
|
+
"XX|CO:10|XX",
|
|
280
|
+
"CO:10|XX|CO:10",
|
|
281
|
+
"XX|CO:10|XX",
|
|
282
|
+
],
|
|
283
|
+
name: "E-Freezer",
|
|
284
|
+
};
|
|
285
|
+
|
|
286
|
+
elements.e_heater = {
|
|
287
|
+
desc: "Works like the heater but needs power to work",
|
|
288
|
+
hardness: 0.5,
|
|
289
|
+
state: "solid",
|
|
290
|
+
behavior: behaviors.WALL,
|
|
291
|
+
conduct: 1,
|
|
292
|
+
category: "machines",
|
|
293
|
+
color: "#881111",
|
|
294
|
+
behaviorOn: [
|
|
295
|
+
"XX|HT:4|XX",
|
|
296
|
+
"HT:4|XX|HT:4",
|
|
297
|
+
"XX|HT:4|XX",
|
|
298
|
+
],
|
|
299
|
+
name: "E-Heater",
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
elements.e_SuperHeater = {
|
|
303
|
+
desc: "Works like the Super Heater but needs power to work",
|
|
304
|
+
hardness: 0.5,
|
|
305
|
+
state: "solid",
|
|
306
|
+
color: "#595656",
|
|
307
|
+
conduct: 1,
|
|
308
|
+
category: "machines",
|
|
309
|
+
color: "#881111",
|
|
310
|
+
behaviorOn: [
|
|
311
|
+
"XX|HT:12|XX",
|
|
312
|
+
"HT:12|XX|HT:12",
|
|
313
|
+
"XX|HT:12|XX",
|
|
314
|
+
],
|
|
315
|
+
name: "E-SuperHeater",
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
elements.slow_Ecloner = {
|
|
319
|
+
desc: "Works like the Slow Cloner but needs power to work",
|
|
320
|
+
color: "#888800",
|
|
321
|
+
behavior: behaviors.WALL,
|
|
322
|
+
behaviorOn: [
|
|
323
|
+
"XX|CF%10|XX",
|
|
324
|
+
"CF%10|XX|CF%10",
|
|
325
|
+
"XX|CF%10|XX",
|
|
326
|
+
],
|
|
327
|
+
ignore: ["cloner","ecloner","clone_powder","floating_cloner","wall","ewall","SteamTurbine","solar_panel"],
|
|
328
|
+
category:"machines",
|
|
329
|
+
insulate:true,
|
|
330
|
+
hardness: 1,
|
|
331
|
+
conduct: 1,
|
|
332
|
+
name: "E-SlowCloner",
|
|
333
|
+
};
|
|
334
|
+
|
|
335
|
+
elements.Android = {
|
|
336
|
+
desc: "A robot",
|
|
337
|
+
color: "#a1ada5",
|
|
338
|
+
category: "life",
|
|
339
|
+
color: ["#f3e7db","#f7ead0","#eadaba","#d7bd96","#a07e56","#825c43","#604134","#3a312a"],
|
|
340
|
+
category: "life",
|
|
341
|
+
properties: {
|
|
342
|
+
dead: false,
|
|
343
|
+
dir: 1,
|
|
344
|
+
panic: 0
|
|
345
|
+
},
|
|
346
|
+
tick: function(pixel) {
|
|
347
|
+
if (isEmpty(pixel.x, pixel.y+1)) {
|
|
348
|
+
createPixel("AndroidBody", pixel.x, pixel.y+1);
|
|
349
|
+
pixel.element = "AndroidHead";
|
|
350
|
+
}
|
|
351
|
+
else if (isEmpty(pixel.x, pixel.y-1)) {
|
|
352
|
+
createPixel("AndroidHead", pixel.x, pixel.y-1);
|
|
353
|
+
pixelMap[pixel.x][pixel.y-1].color = pixel.color;
|
|
354
|
+
pixel.element = "AndroidBody";
|
|
355
|
+
pixel.color = pixelColorPick(pixel)
|
|
356
|
+
}
|
|
357
|
+
else {
|
|
358
|
+
deletePixel(pixel.x, pixel.y);
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
related: ["AndroidBody","AndroidHead"],
|
|
362
|
+
cooldown: defaultCooldown
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
elements.AndroidBody = {
|
|
367
|
+
|
|
368
|
+
color: ["#a1ada5","#ebf5ee","#bac2bc","#848a86","#505251"],
|
|
369
|
+
category: "life",
|
|
370
|
+
breakInto: ["oil","metal_scrap","pop"],
|
|
371
|
+
properties: {
|
|
372
|
+
dead: false,
|
|
373
|
+
dir: 1,
|
|
374
|
+
panic: 0
|
|
375
|
+
},
|
|
376
|
+
tick: function(pixel) {
|
|
377
|
+
if (tryMove(pixel, pixel.x, pixel.y+1)) { // Fall
|
|
378
|
+
if (!isEmpty(pixel.x, pixel.y-2, true)) { // Drag head down
|
|
379
|
+
var headpixel = pixelMap[pixel.x][pixel.y-2];
|
|
380
|
+
if (headpixel.element == "AndroidHead") {
|
|
381
|
+
if (isEmpty(pixel.x, pixel.y-1)) {
|
|
382
|
+
movePixel(pixelMap[pixel.x][pixel.y-2], pixel.x, pixel.y-1);
|
|
383
|
+
}
|
|
384
|
+
else {
|
|
385
|
+
swapPixels(pixelMap[pixel.x][pixel.y-2], pixelMap[pixel.x][pixel.y-1]);
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
doHeat(pixel);
|
|
391
|
+
doBurning(pixel);
|
|
392
|
+
doElectricity(pixel);
|
|
393
|
+
if (pixel.dead) {
|
|
394
|
+
// Turn into rotten_meat if pixelTicks-dead > 500
|
|
395
|
+
if (pixelTicks-pixel.dead > 200 && Math.random() < 0.1) {
|
|
396
|
+
changePixel(pixel,"rust");
|
|
397
|
+
}
|
|
398
|
+
return
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
// Find the head
|
|
402
|
+
if (!isEmpty(pixel.x, pixel.y-1, true) && pixelMap[pixel.x][pixel.y-1].element == "AndroidHead") {
|
|
403
|
+
var head = pixelMap[pixel.x][pixel.y-1];
|
|
404
|
+
if (head.dead) { // If head is dead, kill body
|
|
405
|
+
pixel.dead = head.dead;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
else { var head = null }
|
|
409
|
+
if (pixel.burning) {
|
|
410
|
+
pixel.panic += 0.1;
|
|
411
|
+
if (head && pixelTicks-pixel.burnStart > 240) {
|
|
412
|
+
pixel.color = head.color;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
else if (pixel.panic > 0) {
|
|
416
|
+
pixel.panic -= 0.1;
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
if (isEmpty(pixel.x, pixel.y-1)) {
|
|
420
|
+
// create blood if decapitated 10% chance
|
|
421
|
+
if (Math.random() < 0.1 && !pixel.charge) {
|
|
422
|
+
createPixel("oil", pixel.x, pixel.y-1);
|
|
423
|
+
// set dead to true 15% chance
|
|
424
|
+
if (Math.random() < 0.15) {
|
|
425
|
+
pixel.dead = pixelTicks;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
else if (head == null) { return }
|
|
430
|
+
else if (Math.random() < 0.1*(isEmpty(pixel.x, pixel.y+1) ? 1 : pixel.panic+1)) { // Move 10% chance
|
|
431
|
+
var movesToTry = [
|
|
432
|
+
[1*pixel.dir,0],
|
|
433
|
+
[1*pixel.dir,-1],
|
|
434
|
+
];
|
|
435
|
+
// While movesToTry is not empty, tryMove(pixel, x, y) with a random move, then remove it. if tryMove returns true, break.
|
|
436
|
+
while (movesToTry.length > 0) {
|
|
437
|
+
var move = movesToTry.splice(Math.floor(Math.random() * movesToTry.length), 1)[0];
|
|
438
|
+
if (isEmpty(pixel.x+move[0], pixel.y+move[1]-1)) {
|
|
439
|
+
var origx = pixel.x+move[0];
|
|
440
|
+
var origy = pixel.y+move[1];
|
|
441
|
+
if (tryMove(pixel, pixel.x+move[0], pixel.y+move[1]) && pixel.x===origx && pixel.y===origy) {
|
|
442
|
+
movePixel(head, head.x+move[0], head.y+move[1]);
|
|
443
|
+
break;
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
// 15% chance to change direction
|
|
448
|
+
if (Math.random() < 0.15) {
|
|
449
|
+
pixel.dir *= -1;
|
|
450
|
+
}
|
|
451
|
+
// homeostasis
|
|
452
|
+
if (pixel.temp > 37) { pixel.temp -= 1; }
|
|
453
|
+
else if (pixel.temp < 37) { pixel.temp += 1; }
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
}
|
|
457
|
+
};
|
|
458
|
+
|
|
459
|
+
elements.AndroidHead = {
|
|
460
|
+
color: ["#a1ada5","#ebf5ee","#bac2bc","#848a86","#505251"],
|
|
461
|
+
category: "life",
|
|
462
|
+
density: 1080,
|
|
463
|
+
state: "solid",
|
|
464
|
+
conduct: .05,
|
|
465
|
+
temp: 69,
|
|
466
|
+
breakInto: ["oil","metal_scrap","pop"],
|
|
467
|
+
};
|
|
468
|
+
|
|
469
|
+
listPipes = "pipe"
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
//thx to morechem.js for the idea
|
|
473
|
+
|
|
474
|
+
let setTemp = "";
|
|
475
|
+
elements.ajustableHeater = {
|
|
476
|
+
desc: "Works like a heater but it can be set to a specific temp and needs power to work",
|
|
477
|
+
color: ["#a1ada5","#ebf5ee","#bac2bc","#848a86","#505251"],
|
|
478
|
+
category: "machines",
|
|
479
|
+
density: 1080,
|
|
480
|
+
state: "solid",
|
|
481
|
+
conduct: 1,
|
|
482
|
+
movable: false,
|
|
483
|
+
name: "Ajustable-E-Heater",
|
|
484
|
+
onSelect: function(pixel){
|
|
485
|
+
setTemp = parseInt(prompt("Enter the temperature you want it set to.", (setTemp || undefined)));
|
|
486
|
+
|
|
487
|
+
},
|
|
488
|
+
tick: function(pixel) {
|
|
489
|
+
for (var i = 0; i < adjacentCoords.length; i++) {
|
|
490
|
+
var coords = adjacentCoords[i];
|
|
491
|
+
var x = pixel.x + coords[0];
|
|
492
|
+
var y = pixel.y + coords[1];
|
|
493
|
+
if (!isEmpty(x,y,true)) {
|
|
494
|
+
var sensed = pixelMap[x][y];
|
|
495
|
+
if (sensed.con || elements[sensed.element].movable && pixel.charge > 0) {
|
|
496
|
+
sensed.temp += setTemp/6;
|
|
497
|
+
|
|
498
|
+
break;
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
doDefaults(pixel);
|
|
503
|
+
},
|
|
504
|
+
insulate:true
|
|
505
|
+
};
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
elements.dead_plant.conduct = 1;
|
|
510
|
+
|
|
511
|
+
compactPi = "dead_plant";
|
|
512
|
+
compactPi2 = "coal";
|
|
513
|
+
elements.compacter = {
|
|
514
|
+
color: "#4e524f",
|
|
515
|
+
conduct : 1,
|
|
516
|
+
desc: "Turns dead plants into coal and needs power",
|
|
517
|
+
tick: function(pixel) {
|
|
518
|
+
if (pixel.start === pixelTicks) {
|
|
519
|
+
pixel.CompactEl = compactPi
|
|
520
|
+
pixel.CompactEl2 = compactPi2
|
|
521
|
+
}
|
|
522
|
+
if (1 === 2) {
|
|
523
|
+
for (var i = 0; i < squareCoords.length; i++) {
|
|
524
|
+
var coord = squareCoords[i];
|
|
525
|
+
var x = pixel.x+coord[0];
|
|
526
|
+
var y = pixel.y+coord[1];
|
|
527
|
+
if (!isEmpty(x,y,true)) {
|
|
528
|
+
// createPixel("brick",x,y);
|
|
529
|
+
// pixelMap[x][y].color = pixelColorPick(pixel,"#808080");
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
// pixel.stage = 1;
|
|
533
|
+
}
|
|
534
|
+
else if (1 === 2) { //uninitialized
|
|
535
|
+
for (var i = 0; i < adjacentCoords.length; i++) {
|
|
536
|
+
var coord = adjacentCoords[i];
|
|
537
|
+
var x = pixel.x+coord[0];
|
|
538
|
+
var y = pixel.y+coord[1];
|
|
539
|
+
if (isEmpty(x,y)) {
|
|
540
|
+
// pixel.stage = 2; //blue
|
|
541
|
+
// pixel.color = pixelColorPick(pixel,"#000036");
|
|
542
|
+
break;
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
else if (1 === 1) { //initialized
|
|
547
|
+
for (var i = 0; i < squareCoords.length; i++) {
|
|
548
|
+
var coord = squareCoords[i];
|
|
549
|
+
var x = pixel.x+coord[0];
|
|
550
|
+
var y = pixel.y+coord[1];
|
|
551
|
+
if (!isEmpty(x,y,true) && listPipes.includes(pixelMap[x][y].element)) {
|
|
552
|
+
var newPixel = pixelMap[x][y];
|
|
553
|
+
if (newPixel.stage === 1) {
|
|
554
|
+
var newColor;
|
|
555
|
+
switch (pixel.stage) {
|
|
556
|
+
// case 2: newPixel.stage = 3; newColor = "#003600"; break; //green
|
|
557
|
+
// case 3: newPixel.stage = 4; newColor = "#360000"; break; //red
|
|
558
|
+
// case 4: newPixel.stage = 2; newColor = "#000036"; break; //blue
|
|
559
|
+
}
|
|
560
|
+
// newPixel.color = pixelColorPick(newPixel,newColor);
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
var moved = false;
|
|
565
|
+
shuffleArray(squareCoordsShuffle);
|
|
566
|
+
for (var i = 0; i < squareCoordsShuffle.length; i++) {
|
|
567
|
+
var coord = squareCoordsShuffle[i];
|
|
568
|
+
var x = pixel.x+coord[0];
|
|
569
|
+
var y = pixel.y+coord[1];
|
|
570
|
+
if (!isEmpty(x,y,true)) {
|
|
571
|
+
var newPixel = pixelMap[x][y];
|
|
572
|
+
if (listPipes.includes(newPixel.element)) {
|
|
573
|
+
var nextStage;
|
|
574
|
+
switch (pixel.stage) {
|
|
575
|
+
// case 2: nextStage = 4; break; //green
|
|
576
|
+
// case 3: nextStage = 2; break; //red
|
|
577
|
+
// case 4: nextStage = 3; break; //blue
|
|
578
|
+
}
|
|
579
|
+
if (pixel.con && !newPixel.con) { //transfer to adjacent pipe
|
|
580
|
+
newPixel.con = pixel.con;
|
|
581
|
+
newPixel.con.x = newPixel.x;
|
|
582
|
+
newPixel.con.y = newPixel.y;
|
|
583
|
+
pixel.con = null;
|
|
584
|
+
moved = true;
|
|
585
|
+
break;
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
else if (!pixel.con ) { //suck up pixel
|
|
589
|
+
if ((newPixel.element == pixel.CompactEl) || (newPixel.element == pixel.CompactEl2) ) {
|
|
590
|
+
if (pixel.charge > 0) {
|
|
591
|
+
pixel.con = newPixel;
|
|
592
|
+
changePixel(newPixel, "coal")
|
|
593
|
+
newPixel.color = elements.coal.color
|
|
594
|
+
deletePixel(newPixel.x,newPixel.y);
|
|
595
|
+
pixel.con.x = pixel.x;
|
|
596
|
+
pixel.con.y = pixel.y;
|
|
597
|
+
pixel.con.del;
|
|
598
|
+
moved = true;
|
|
599
|
+
break;
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
if (pixel.con && !moved) { // move to same stage if none other
|
|
606
|
+
for (var i = 0; i < squareCoordsShuffle.length; i++) {
|
|
607
|
+
var coord = squareCoordsShuffle[i];
|
|
608
|
+
var x = pixel.x+coord[0];
|
|
609
|
+
var y = pixel.y+coord[1];
|
|
610
|
+
if (isEmpty(x,y)) {
|
|
611
|
+
delete pixel.con.del;
|
|
612
|
+
pixel.con.x = x;
|
|
613
|
+
pixel.con.y = y;
|
|
614
|
+
pixelMap[x][y] = pixel.con;
|
|
615
|
+
currentPixels.push(pixel.con);
|
|
616
|
+
pixel.con = null;
|
|
617
|
+
break;
|
|
618
|
+
}
|
|
619
|
+
if (!isEmpty(x,y,true) && listPipes.includes(pixelMap[x][y].element)) {
|
|
620
|
+
var newPixel = pixelMap[x][y];
|
|
621
|
+
if (pixel.con && !newPixel.con) {
|
|
622
|
+
newPixel.con = pixel.con;
|
|
623
|
+
newPixel.con.x = newPixel.x;
|
|
624
|
+
newPixel.con.y = newPixel.y;
|
|
625
|
+
pixel.con = null;
|
|
626
|
+
break;
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
doDefaults(pixel);
|
|
633
|
+
},
|
|
634
|
+
category: "machines",
|
|
635
|
+
movable: false,
|
|
636
|
+
canContain: true,
|
|
637
|
+
noMix: true,
|
|
638
|
+
insulate: true,
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
// thx to nousersthings mod for the filter
|
|
642
|
+
// only adding this bc my freind told me so
|
|
643
|
+
// new and improved version which is not 100% copied from nouser but only about 5-10%
|
|
644
|
+
|
|
645
|
+
filterTypeVar = 0;
|
|
646
|
+
elements.filter = {
|
|
647
|
+
|
|
648
|
+
desc: "A filter made by nouser",
|
|
649
|
+
onSelect: function() {
|
|
650
|
+
logMessage("Needs to be 1 pixel thick");
|
|
651
|
+
var answer4 = prompt("Please input the desired element of this filter. It is case senstive.",(filterTypeVar||undefined));
|
|
652
|
+
if (!answer4) { return }
|
|
653
|
+
filterTypeVar = answer4;
|
|
654
|
+
},
|
|
655
|
+
color: "#414c4f",
|
|
656
|
+
|
|
657
|
+
tick: function(pixel) {
|
|
658
|
+
|
|
659
|
+
if (!pixel.stage && pixelTicks-pixel.start > 60) {
|
|
660
|
+
for (var i = 0; i < squareCoords.length; i++) {
|
|
661
|
+
var coord = squareCoords[i];
|
|
662
|
+
var x = pixel.x+coord[0];
|
|
663
|
+
var y = pixel.y+coord[1];
|
|
664
|
+
// delete this bc it makes the pipe walls
|
|
665
|
+
// if (!isEmpty(x,y,true) && elements[pixelMap[x][y].element].movable) {
|
|
666
|
+
// deletePixel(x,y)
|
|
667
|
+
// }
|
|
668
|
+
// if (isEmpty(x,y)) {
|
|
669
|
+
// createPixel("pipe_wall",x,y);
|
|
670
|
+
// }
|
|
671
|
+
}
|
|
672
|
+
pixel.stage = 2;
|
|
673
|
+
}
|
|
674
|
+
else if (pixel.stage === 1 && pixelTicks-pixel.start > 70) { //uninitialized
|
|
675
|
+
for (var i = 0; i < adjacentCoords.length; i++) {
|
|
676
|
+
var coord = adjacentCoords[i];
|
|
677
|
+
var x = pixel.x+coord[0];
|
|
678
|
+
var y = pixel.y+coord[1];
|
|
679
|
+
pixel.stage = 2;
|
|
680
|
+
// this makes the thing blue and keep pixel.stage = 2 cuz without it it breaks the code
|
|
681
|
+
// if (isEmpty(x,y)) {
|
|
682
|
+
// pixel.stage = 2; //blue
|
|
683
|
+
// pixel.color = pixelColorPick(pixel,"#000036");
|
|
684
|
+
// break;
|
|
685
|
+
// }
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
else if (pixel.stage > 1 && pixelTicks % 3 === pixel.stage-2) { //initialized
|
|
689
|
+
for (var i = 0; i < squareCoords.length; i++) {
|
|
690
|
+
var coord = squareCoords[i];
|
|
691
|
+
var x = pixel.x+coord[0];
|
|
692
|
+
var y = pixel.y+coord[1];
|
|
693
|
+
if (!isEmpty(x,y,true) && pixelMap[x][y].element === "pipe") {
|
|
694
|
+
var newPixel = pixelMap[x][y];
|
|
695
|
+
if (newPixel.stage === 1) {
|
|
696
|
+
var newColor;
|
|
697
|
+
switch (pixel.stage) {
|
|
698
|
+
case 2: newPixel.stage = 3; newColor = "#003600"; break; //green
|
|
699
|
+
case 3: newPixel.stage = 4; newColor = "#360000"; break; //red
|
|
700
|
+
case 4: newPixel.stage = 2; newColor = "#000036"; break; //blue
|
|
701
|
+
}
|
|
702
|
+
newPixel.color = pixelColorPick(newPixel,newColor);
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
var moved = false;
|
|
707
|
+
shuffleArray(squareCoordsShuffle);
|
|
708
|
+
for (var i = 0; i < squareCoordsShuffle.length; i++) {
|
|
709
|
+
var coord = squareCoordsShuffle[i];
|
|
710
|
+
var x = pixel.x+coord[0];
|
|
711
|
+
var y = pixel.y+coord[1];
|
|
712
|
+
if (!isEmpty(x,y,true)) {
|
|
713
|
+
var newPixel = pixelMap[x][y];
|
|
714
|
+
if (newPixel.element === "pipe") {
|
|
715
|
+
var nextStage;
|
|
716
|
+
switch (pixel.stage) {
|
|
717
|
+
|
|
718
|
+
}
|
|
719
|
+
if (pixel.con && !newPixel.con && newPixel.stage === nextStage) { //transfer to jacent pipe
|
|
720
|
+
newPixel.con = pixel.con;
|
|
721
|
+
newPixel.con.x = newPixel.x;
|
|
722
|
+
newPixel.con.y = newPixel.y;
|
|
723
|
+
pixel.con = null;
|
|
724
|
+
moved = true;
|
|
725
|
+
break;
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
else if (!pixel.con && elements[newPixel.element].movable && newPixel.element == filterTypeVar) { //suck up pixel
|
|
729
|
+
pixel.con = newPixel;
|
|
730
|
+
deletePixel(newPixel.x,newPixel.y);
|
|
731
|
+
pixel.con.x = pixel.x;
|
|
732
|
+
pixel.con.y = pixel.y;
|
|
733
|
+
pixel.con.del;
|
|
734
|
+
moved = true;
|
|
735
|
+
break;
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
if (pixel.con && !moved) { // move to same stage if none other
|
|
740
|
+
for (var i = 0; i < squareCoordsShuffle.length; i++) {
|
|
741
|
+
var coord = squareCoordsShuffle[i];
|
|
742
|
+
var x = pixel.x+coord[0];
|
|
743
|
+
var y = pixel.y+coord[1];
|
|
744
|
+
if (isEmpty(x,y)) {
|
|
745
|
+
delete pixel.con.del;
|
|
746
|
+
pixel.con.x = x;
|
|
747
|
+
pixel.con.y = y;
|
|
748
|
+
pixelMap[x][y] = pixel.con;
|
|
749
|
+
currentPixels.push(pixel.con);
|
|
750
|
+
pixel.con = null;
|
|
751
|
+
break;
|
|
752
|
+
}
|
|
753
|
+
if (!isEmpty(x,y,true) && pixelMap[x][y].element === "pipe") {
|
|
754
|
+
var newPixel = pixelMap[x][y];
|
|
755
|
+
if (pixel.con && !newPixel.con && newPixel.stage === pixel.stage) {
|
|
756
|
+
newPixel.con = pixel.con;
|
|
757
|
+
newPixel.con.x = newPixel.x;
|
|
758
|
+
newPixel.con.y = newPixel.y;
|
|
759
|
+
pixel.con = null;
|
|
760
|
+
break;
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
doDefaults(pixel);
|
|
767
|
+
},
|
|
768
|
+
category: "machines",
|
|
769
|
+
movable: false,
|
|
770
|
+
canContain: true,
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
filterTypeVar2 = 0;
|
|
774
|
+
elements.Destructive_Filter = {
|
|
775
|
+
color: "#3c6c85",
|
|
776
|
+
desc: "A filter that destroys anything that isn't allowed to get through",
|
|
777
|
+
onSelect: function() {
|
|
778
|
+
var answer4 = prompt("Please input the desired element of this filter.The the desired element will not get destroyed but everything else will.",(filterTypeVar||undefined));
|
|
779
|
+
if (!answer4) { return }
|
|
780
|
+
filterTypeVar2 = answer4;
|
|
781
|
+
},
|
|
782
|
+
tick: function(pixel) {
|
|
783
|
+
if (pixel.start === pixelTicks) {
|
|
784
|
+
pixel.filterType = filterTypeVar2
|
|
785
|
+
}
|
|
786
|
+
if (1 === 2) {
|
|
787
|
+
for (var i = 0; i < squareCoords.length; i++) {
|
|
788
|
+
var coord = squareCoords[i];
|
|
789
|
+
var x = pixel.x+coord[0];
|
|
790
|
+
var y = pixel.y+coord[1];
|
|
791
|
+
if (!isEmpty(x,y,true)) {
|
|
792
|
+
// createPixel("brick",x,y);
|
|
793
|
+
// pixelMap[x][y].color = pixelColorPick(pixel,"#808080");
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
// pixel.stage = 1;
|
|
797
|
+
}
|
|
798
|
+
else if (1 === 2) { //uninitialized
|
|
799
|
+
for (var i = 0; i < adjacentCoords.length; i++) {
|
|
800
|
+
var coord = adjacentCoords[i];
|
|
801
|
+
var x = pixel.x+coord[0];
|
|
802
|
+
var y = pixel.y+coord[1];
|
|
803
|
+
if (isEmpty(x,y)) {
|
|
804
|
+
// pixel.stage = 2; //blue
|
|
805
|
+
// pixel.color = pixelColorPick(pixel,"#000036");
|
|
806
|
+
break;
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
else if (1 === 1) { //initialized
|
|
811
|
+
for (var i = 0; i < squareCoords.length; i++) {
|
|
812
|
+
var coord = squareCoords[i];
|
|
813
|
+
var x = pixel.x+coord[0];
|
|
814
|
+
var y = pixel.y+coord[1];
|
|
815
|
+
if (!isEmpty(x,y,true) && listPipes.includes(pixelMap[x][y].element)) {
|
|
816
|
+
var newPixel = pixelMap[x][y];
|
|
817
|
+
if (newPixel.stage === 1) {
|
|
818
|
+
var newColor;
|
|
819
|
+
switch (pixel.stage) {
|
|
820
|
+
// case 2: newPixel.stage = 3; newColor = "#003600"; break; //green
|
|
821
|
+
// case 3: newPixel.stage = 4; newColor = "#360000"; break; //red
|
|
822
|
+
// case 4: newPixel.stage = 2; newColor = "#000036"; break; //blue
|
|
823
|
+
}
|
|
824
|
+
// newPixel.color = pixelColorPick(newPixel,newColor);
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
var moved = false;
|
|
829
|
+
shuffleArray(squareCoordsShuffle);
|
|
830
|
+
for (var i = 0; i < squareCoordsShuffle.length; i++) {
|
|
831
|
+
var coord = squareCoordsShuffle[i];
|
|
832
|
+
var x = pixel.x+coord[0];
|
|
833
|
+
var y = pixel.y+coord[1];
|
|
834
|
+
if (!isEmpty(x,y,true)) {
|
|
835
|
+
var newPixel = pixelMap[x][y];
|
|
836
|
+
if (listPipes.includes(newPixel.element)) {
|
|
837
|
+
var nextStage;
|
|
838
|
+
switch (pixel.stage) {
|
|
839
|
+
// case 2: nextStage = 4; break; //green
|
|
840
|
+
// case 3: nextStage = 2; break; //red
|
|
841
|
+
// case 4: nextStage = 3; break; //blue
|
|
842
|
+
}
|
|
843
|
+
if (pixel.con && !newPixel.con) { //transfer to adjacent pipe
|
|
844
|
+
newPixel.con = pixel.con;
|
|
845
|
+
newPixel.con.x = newPixel.x;
|
|
846
|
+
newPixel.con.y = newPixel.y;
|
|
847
|
+
pixel.con = null;
|
|
848
|
+
moved = true;
|
|
849
|
+
break;
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
else if (!pixel.con ) { //suck up pixel
|
|
853
|
+
if (newPixel.element == pixel.filterType) {
|
|
854
|
+
|
|
855
|
+
pixel.con = newPixel;
|
|
856
|
+
|
|
857
|
+
deletePixel(newPixel.x,newPixel.y);
|
|
858
|
+
pixel.con.x = pixel.x;
|
|
859
|
+
pixel.con.y = pixel.y;
|
|
860
|
+
pixel.con.del;
|
|
861
|
+
moved = true;
|
|
862
|
+
break;
|
|
863
|
+
} else if (!(newPixel.element == pixel.filterType) && !(newPixel.element == pixel.element)) {
|
|
864
|
+
deletePixel(newPixel.x,newPixel.y);
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
if (pixel.con && !moved) { // move to same stage if none other
|
|
872
|
+
for (var i = 0; i < squareCoordsShuffle.length; i++) {
|
|
873
|
+
var coord = squareCoordsShuffle[i];
|
|
874
|
+
var x = pixel.x+coord[0];
|
|
875
|
+
var y = pixel.y+coord[1];
|
|
876
|
+
if (isEmpty(x,y)) {
|
|
877
|
+
delete pixel.con.del;
|
|
878
|
+
pixel.con.x = x;
|
|
879
|
+
pixel.con.y = y;
|
|
880
|
+
pixelMap[x][y] = pixel.con;
|
|
881
|
+
currentPixels.push(pixel.con);
|
|
882
|
+
pixel.con = null;
|
|
883
|
+
break;
|
|
884
|
+
}
|
|
885
|
+
if (!isEmpty(x,y,true) && listPipes.includes(pixelMap[x][y].element)) {
|
|
886
|
+
var newPixel = pixelMap[x][y];
|
|
887
|
+
if (pixel.con && !newPixel.con) {
|
|
888
|
+
newPixel.con = pixel.con;
|
|
889
|
+
newPixel.con.x = newPixel.x;
|
|
890
|
+
newPixel.con.y = newPixel.y;
|
|
891
|
+
pixel.con = null;
|
|
892
|
+
break;
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
doDefaults(pixel);
|
|
899
|
+
},
|
|
900
|
+
category: "machines",
|
|
901
|
+
movable: false,
|
|
902
|
+
canContain: true,
|
|
903
|
+
noMix: true,
|
|
904
|
+
insulate: true,
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
// going to fix the sucking up solids problem soon!!
|
|
910
|
+
doNotEF = ["e_grinder","grinder","filter", "battery", "wire", "cloner", "sensor", "heater","cooler", "Ajustable-E-Heater", "E-Cooler", "E-Freezer", "E-Heater", "E-SuperHeater", "E-SlowCloner", "ewall", "titanium", "tungsten", "steel", "insulation","SteamTurbine","solar_panel"];
|
|
911
|
+
|
|
912
|
+
elements.grinder = {
|
|
913
|
+
color: "#55565c",
|
|
914
|
+
ignore: ["e_grinder","grinder"],
|
|
915
|
+
desc: "Grinds things",
|
|
916
|
+
tick: function(pixel) {
|
|
917
|
+
|
|
918
|
+
if (1 === 2) {
|
|
919
|
+
for (var i = 0; i < squareCoords.length; i++) {
|
|
920
|
+
var coord = squareCoords[i];
|
|
921
|
+
var x = pixel.x+coord[0];
|
|
922
|
+
var y = pixel.y+coord[1];
|
|
923
|
+
if (!isEmpty(x,y,true)) {
|
|
924
|
+
// createPixel("brick",x,y);
|
|
925
|
+
// pixelMap[x][y].color = pixelColorPick(pixel,"#808080");
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
// pixel.stage = 1;
|
|
929
|
+
}
|
|
930
|
+
else if (1 === 2) { //uninitialized
|
|
931
|
+
for (var i = 0; i < adjacentCoords.length; i++) {
|
|
932
|
+
var coord = adjacentCoords[i];
|
|
933
|
+
var x = pixel.x+coord[0];
|
|
934
|
+
var y = pixel.y+coord[1];
|
|
935
|
+
if (isEmpty(x,y)) {
|
|
936
|
+
// pixel.stage = 2; //blue
|
|
937
|
+
// pixel.color = pixelColorPick(pixel,"#000036");
|
|
938
|
+
break;
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
else if (1 === 1) { //initialized
|
|
943
|
+
for (var i = 0; i < squareCoords.length; i++) {
|
|
944
|
+
var coord = squareCoords[i];
|
|
945
|
+
var x = pixel.x+coord[0];
|
|
946
|
+
var y = pixel.y+coord[1];
|
|
947
|
+
if (!isEmpty(x,y,true) && listPipes.includes(pixelMap[x][y].element)) {
|
|
948
|
+
var newPixel = pixelMap[x][y];
|
|
949
|
+
if (newPixel.stage === 1) {
|
|
950
|
+
var newColor;
|
|
951
|
+
switch (pixel.stage) {
|
|
952
|
+
// case 2: newPixel.stage = 3; newColor = "#003600"; break; //green
|
|
953
|
+
// case 3: newPixel.stage = 4; newColor = "#360000"; break; //red
|
|
954
|
+
// case 4: newPixel.stage = 2; newColor = "#000036"; break; //blue
|
|
955
|
+
}
|
|
956
|
+
// newPixel.color = pixelColorPick(newPixel,newColor);
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
var moved = false;
|
|
961
|
+
shuffleArray(squareCoordsShuffle);
|
|
962
|
+
for (var i = 0; i < squareCoordsShuffle.length; i++) {
|
|
963
|
+
var coord = squareCoordsShuffle[i];
|
|
964
|
+
var x = pixel.x+coord[0];
|
|
965
|
+
var y = pixel.y+coord[1];
|
|
966
|
+
if (!isEmpty(x,y,true)) {
|
|
967
|
+
var newPixel = pixelMap[x][y];
|
|
968
|
+
if (listPipes.includes(newPixel.element)) {
|
|
969
|
+
var nextStage;
|
|
970
|
+
switch (pixel.stage) {
|
|
971
|
+
// case 2: nextStage = 4; break; //green
|
|
972
|
+
// case 3: nextStage = 2; break; //red
|
|
973
|
+
// case 4: nextStage = 3; break; //blue
|
|
974
|
+
}
|
|
975
|
+
if (pixel.con && !newPixel.con) { //transfer to adjacent pipe
|
|
976
|
+
newPixel.con = pixel.con;
|
|
977
|
+
newPixel.con.x = newPixel.x;
|
|
978
|
+
newPixel.con.y = newPixel.y;
|
|
979
|
+
pixel.con = null;
|
|
980
|
+
moved = true;
|
|
981
|
+
break;
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
else if (!pixel.con && !doNotEF.includes(newPixel.element)) { //suck up pixel
|
|
985
|
+
// (!pixel.con && !(newPixel.element === "e_grinder") && pixel.charge > 0 && !(newPixel.element.movable))
|
|
986
|
+
// (!pixel.con && !(newPixel.element === "grinder") && !(newPixel.element === "e_grinder") && !(newPixel.element === "filter") && (newPixel.element.movable))
|
|
987
|
+
//!(newPixel.element === "grinder") && !(newPixel.element === "e_grinder")
|
|
988
|
+
pixel.con = newPixel;
|
|
989
|
+
breakPixel(pixel.con);
|
|
990
|
+
deletePixel(newPixel.x,newPixel.y);
|
|
991
|
+
pixel.con.x = pixel.x;
|
|
992
|
+
pixel.con.y = pixel.y;
|
|
993
|
+
pixel.con.del;
|
|
994
|
+
moved = true;
|
|
995
|
+
break;
|
|
996
|
+
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
if (pixel.con && !moved) { // move to same stage if none other
|
|
1001
|
+
for (var i = 0; i < squareCoordsShuffle.length; i++) {
|
|
1002
|
+
var coord = squareCoordsShuffle[i];
|
|
1003
|
+
var x = pixel.x+coord[0];
|
|
1004
|
+
var y = pixel.y+coord[1];
|
|
1005
|
+
if (isEmpty(x,y)) {
|
|
1006
|
+
delete pixel.con.del;
|
|
1007
|
+
pixel.con.x = x;
|
|
1008
|
+
pixel.con.y = y;
|
|
1009
|
+
pixelMap[x][y] = pixel.con;
|
|
1010
|
+
currentPixels.push(pixel.con);
|
|
1011
|
+
pixel.con = null;
|
|
1012
|
+
break;
|
|
1013
|
+
}
|
|
1014
|
+
if (!isEmpty(x,y,true) && listPipes.includes(pixelMap[x][y].element)) {
|
|
1015
|
+
var newPixel = pixelMap[x][y];
|
|
1016
|
+
if (pixel.con && !newPixel.con) {
|
|
1017
|
+
newPixel.con = pixel.con;
|
|
1018
|
+
newPixel.con.x = newPixel.x;
|
|
1019
|
+
newPixel.con.y = newPixel.y;
|
|
1020
|
+
pixel.con = null;
|
|
1021
|
+
break;
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
doDefaults(pixel);
|
|
1028
|
+
},
|
|
1029
|
+
category: "machines",
|
|
1030
|
+
movable: false,
|
|
1031
|
+
canContain: true,
|
|
1032
|
+
noMix: true,
|
|
1033
|
+
insulate: true,
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
//elements.battery.movable: false
|
|
1037
|
+
|
|
1038
|
+
elements.e_grinder = {
|
|
1039
|
+
color: "#55565c",
|
|
1040
|
+
ignore: ["e_grinder","grinder"],
|
|
1041
|
+
conduct: 1,
|
|
1042
|
+
desc: "Grinds things,needs power to work",
|
|
1043
|
+
tick: function(pixel) {
|
|
1044
|
+
|
|
1045
|
+
if (1 === 2) {
|
|
1046
|
+
for (var i = 0; i < squareCoords.length; i++) {
|
|
1047
|
+
var coord = squareCoords[i];
|
|
1048
|
+
var x = pixel.x+coord[0];
|
|
1049
|
+
var y = pixel.y+coord[1];
|
|
1050
|
+
if (!isEmpty(x,y,true)) {
|
|
1051
|
+
// createPixel("brick",x,y);
|
|
1052
|
+
// pixelMap[x][y].color = pixelColorPick(pixel,"#808080");
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
// pixel.stage = 1;
|
|
1056
|
+
}
|
|
1057
|
+
else if (1 === 2) { //uninitialized
|
|
1058
|
+
for (var i = 0; i < adjacentCoords.length; i++) {
|
|
1059
|
+
var coord = adjacentCoords[i];
|
|
1060
|
+
var x = pixel.x+coord[0];
|
|
1061
|
+
var y = pixel.y+coord[1];
|
|
1062
|
+
if (isEmpty(x,y)) {
|
|
1063
|
+
// pixel.stage = 2; //blue
|
|
1064
|
+
// pixel.color = pixelColorPick(pixel,"#000036");
|
|
1065
|
+
break;
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
else if (1 === 1) { //initialized
|
|
1070
|
+
for (var i = 0; i < squareCoords.length; i++) {
|
|
1071
|
+
var coord = squareCoords[i];
|
|
1072
|
+
var x = pixel.x+coord[0];
|
|
1073
|
+
var y = pixel.y+coord[1];
|
|
1074
|
+
if (!isEmpty(x,y,true) && listPipes.includes(pixelMap[x][y].element)) {
|
|
1075
|
+
var newPixel = pixelMap[x][y];
|
|
1076
|
+
if (newPixel.stage === 1) {
|
|
1077
|
+
var newColor;
|
|
1078
|
+
switch (pixel.stage) {
|
|
1079
|
+
// case 2: newPixel.stage = 3; newColor = "#003600"; break; //green
|
|
1080
|
+
// case 3: newPixel.stage = 4; newColor = "#360000"; break; //red
|
|
1081
|
+
// case 4: newPixel.stage = 2; newColor = "#000036"; break; //blue
|
|
1082
|
+
}
|
|
1083
|
+
// newPixel.color = pixelColorPick(newPixel,newColor);
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
var moved = false;
|
|
1088
|
+
shuffleArray(squareCoordsShuffle);
|
|
1089
|
+
for (var i = 0; i < squareCoordsShuffle.length; i++) {
|
|
1090
|
+
var coord = squareCoordsShuffle[i];
|
|
1091
|
+
var x = pixel.x+coord[0];
|
|
1092
|
+
var y = pixel.y+coord[1];
|
|
1093
|
+
if (!isEmpty(x,y,true)) {
|
|
1094
|
+
var newPixel = pixelMap[x][y];
|
|
1095
|
+
if (listPipes.includes(newPixel.element)) {
|
|
1096
|
+
var nextStage;
|
|
1097
|
+
switch (pixel.stage) {
|
|
1098
|
+
// case 2: nextStage = 4; break; //green
|
|
1099
|
+
// case 3: nextStage = 2; break; //red
|
|
1100
|
+
// case 4: nextStage = 3; break; //blue
|
|
1101
|
+
}
|
|
1102
|
+
if (pixel.con && !newPixel.con) { //transfer to adjacent pipe
|
|
1103
|
+
newPixel.con = pixel.con;
|
|
1104
|
+
newPixel.con.x = newPixel.x;
|
|
1105
|
+
newPixel.con.y = newPixel.y;
|
|
1106
|
+
pixel.con = null;
|
|
1107
|
+
moved = true;
|
|
1108
|
+
break;
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
else if (!pixel.con && !doNotEF.includes(newPixel.element) && pixel.charge > 0 ) { //suck up pixel
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
pixel.con = newPixel;
|
|
1115
|
+
breakPixel(pixel.con);
|
|
1116
|
+
deletePixel(newPixel.x,newPixel.y);
|
|
1117
|
+
pixel.con.x = pixel.x;
|
|
1118
|
+
pixel.con.y = pixel.y;
|
|
1119
|
+
pixel.con.del;
|
|
1120
|
+
moved = true;
|
|
1121
|
+
break;
|
|
1122
|
+
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
if (pixel.con && !moved) { // move to same stage if none other
|
|
1127
|
+
for (var i = 0; i < squareCoordsShuffle.length; i++) {
|
|
1128
|
+
var coord = squareCoordsShuffle[i];
|
|
1129
|
+
var x = pixel.x+coord[0];
|
|
1130
|
+
var y = pixel.y+coord[1];
|
|
1131
|
+
if (isEmpty(x,y)) {
|
|
1132
|
+
delete pixel.con.del;
|
|
1133
|
+
pixel.con.x = x;
|
|
1134
|
+
pixel.con.y = y;
|
|
1135
|
+
pixelMap[x][y] = pixel.con;
|
|
1136
|
+
currentPixels.push(pixel.con);
|
|
1137
|
+
pixel.con = null;
|
|
1138
|
+
break;
|
|
1139
|
+
}
|
|
1140
|
+
if (!isEmpty(x,y,true) && listPipes.includes(pixelMap[x][y].element)) {
|
|
1141
|
+
var newPixel = pixelMap[x][y];
|
|
1142
|
+
if (pixel.con && !newPixel.con) {
|
|
1143
|
+
newPixel.con = pixel.con;
|
|
1144
|
+
newPixel.con.x = newPixel.x;
|
|
1145
|
+
newPixel.con.y = newPixel.y;
|
|
1146
|
+
pixel.con = null;
|
|
1147
|
+
break;
|
|
1148
|
+
}
|
|
1149
|
+
}
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
doDefaults(pixel);
|
|
1154
|
+
},
|
|
1155
|
+
category: "machines",
|
|
1156
|
+
movable: false,
|
|
1157
|
+
canContain: true,
|
|
1158
|
+
noMix: true,
|
|
1159
|
+
insulate: true,
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
|
|
1164
|
+
elements.quickSand = {
|
|
1165
|
+
color: elements.sand.color,
|
|
1166
|
+
category: "land",
|
|
1167
|
+
state: "liquid",
|
|
1168
|
+
behavior : behaviors.POWDER, //did this as a joke to see if it works lol
|
|
1169
|
+
density: 500,
|
|
1170
|
+
conduct: 0.02,
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
elements.Acid_Bomb = {
|
|
1174
|
+
color: "#524c41",
|
|
1175
|
+
category: "weapons",
|
|
1176
|
+
state: "solid",
|
|
1177
|
+
density: 1300,
|
|
1178
|
+
ignore: "Acid_Bomb",
|
|
1179
|
+
excludeRandom: true,
|
|
1180
|
+
behavior: behaviors.POWDER,
|
|
1181
|
+
behavior: [
|
|
1182
|
+
"XX|XX|XX",
|
|
1183
|
+
"XX|XX|XX",
|
|
1184
|
+
"M2|M1 AND EX:15>acid,acid_gas,acid_gas|M2",
|
|
1185
|
+
],
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
|
|
1189
|
+
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
elements.E_Spout = {
|
|
1193
|
+
name: "E-Spout",
|
|
1194
|
+
color: "#606378",
|
|
1195
|
+
behavior: behaviors.WALL,
|
|
1196
|
+
behaviorOn: [
|
|
1197
|
+
"XX|CR:water|XX",
|
|
1198
|
+
"CR:water|XX|CR:water",
|
|
1199
|
+
"XX|CR:water|XX",
|
|
1200
|
+
],
|
|
1201
|
+
category:"special",
|
|
1202
|
+
tempHigh: 1455.5,
|
|
1203
|
+
stateHigh: "molten_steel",
|
|
1204
|
+
conduct: 1,
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
|
|
1208
|
+
elements.DestroyableWire = {
|
|
1209
|
+
color: "#4d0a03",
|
|
1210
|
+
behavior: behaviors.WALL,
|
|
1211
|
+
category: "machines",
|
|
1212
|
+
insulate: true,
|
|
1213
|
+
conduct: 1,
|
|
1214
|
+
breakInto : "metal_scrap",
|
|
1215
|
+
noMix: true,
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
|
|
1219
|
+
elements.pusherRight = {
|
|
1220
|
+
behavior: behaviors.WALL,
|
|
1221
|
+
ignore: "pushTest",
|
|
1222
|
+
tick: function(pixel) {
|
|
1223
|
+
|
|
1224
|
+
for (var i = 0; i < adjacentCoords.length; i++) {
|
|
1225
|
+
var coords = adjacentCoords[i];
|
|
1226
|
+
var x = pixel.x + coords[0];
|
|
1227
|
+
var y = pixel.y + coords[1];
|
|
1228
|
+
if (!isEmpty(x,y,true)) {
|
|
1229
|
+
let sensed = pixelMap[x][y];
|
|
1230
|
+
if (!(sensed.element == "pusherRight") ) {
|
|
1231
|
+
|
|
1232
|
+
|
|
1233
|
+
var newX = sensed.x + 1;
|
|
1234
|
+
var newY = sensed.y ;
|
|
1235
|
+
|
|
1236
|
+
tryMove(sensed,newX,newY);
|
|
1237
|
+
//break;
|
|
1238
|
+
}
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
doDefaults(pixel);
|
|
1242
|
+
},
|
|
1243
|
+
conduct: 1,
|
|
1244
|
+
movable: true,
|
|
1245
|
+
category:"machines",
|
|
1246
|
+
darkText: true,
|
|
1247
|
+
hardness: 1,
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
elements.pusherLeft = {
|
|
1253
|
+
behavior: behaviors.WALL,
|
|
1254
|
+
ignore: "pushTest",
|
|
1255
|
+
tick: function(pixel) {
|
|
1256
|
+
|
|
1257
|
+
for (var i = 0; i < adjacentCoords.length; i++) {
|
|
1258
|
+
var coords = adjacentCoords[i];
|
|
1259
|
+
var x = pixel.x + coords[0];
|
|
1260
|
+
var y = pixel.y + coords[1];
|
|
1261
|
+
if (!isEmpty(x,y,true)) {
|
|
1262
|
+
let sensed = pixelMap[x][y];
|
|
1263
|
+
if (!(sensed.element == "pusherLeft") ) {
|
|
1264
|
+
|
|
1265
|
+
|
|
1266
|
+
var newX = sensed.x - 1;
|
|
1267
|
+
var newY = sensed.y ;
|
|
1268
|
+
|
|
1269
|
+
tryMove(sensed,newX,newY);
|
|
1270
|
+
//break;
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
}
|
|
1274
|
+
doDefaults(pixel);
|
|
1275
|
+
},
|
|
1276
|
+
conduct: 1,
|
|
1277
|
+
movable: true,
|
|
1278
|
+
category:"machines",
|
|
1279
|
+
darkText: true,
|
|
1280
|
+
hardness: 1,
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
elements.de_leadifyer = {
|
|
1286
|
+
color: "#ff0000",
|
|
1287
|
+
tool: function(pixel) {
|
|
1288
|
+
if (pixel.element == "lead") {
|
|
1289
|
+
deletePixel(pixel.x,pixel.y);
|
|
1290
|
+
}
|
|
1291
|
+
},
|
|
1292
|
+
category: "tools",
|
|
1293
|
+
};
|
|
1294
|
+
elements.NewWater = {
|
|
1295
|
+
color: elements.water.color,
|
|
1296
|
+
behavior : behaviors.LIQUID,
|
|
1297
|
+
category: "test",
|
|
1298
|
+
state: "liquid",
|
|
1299
|
+
tick:function(pixel) {
|
|
1300
|
+
if (pixel.temp < 20) {
|
|
1301
|
+
pixel.color = "#317d7d";
|
|
1302
|
+
}
|
|
1303
|
+
else if (pixel.temp == 20 ) {
|
|
1304
|
+
pixel.color = elements.water.color;
|
|
1305
|
+
}
|
|
1306
|
+
else if (pixel.temp > 20 && pixel.temp < 30) {
|
|
1307
|
+
pixel.color = "#eb8634";
|
|
1308
|
+
}
|
|
1309
|
+
else if (pixel.temp > 30) {
|
|
1310
|
+
pixel.color = "#eb4034";
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
},
|
|
1314
|
+
// make it work like normal water
|
|
1315
|
+
tempHigh: 100,
|
|
1316
|
+
stateHigh: "steam",
|
|
1317
|
+
tempLow: 0,
|
|
1318
|
+
stateLow: "ice",
|
|
1319
|
+
|
|
1320
|
+
heatCapacity: 4.184,
|
|
1321
|
+
reactions: {
|
|
1322
|
+
"dirt": { // React with (water reacts with dirt to make mud)
|
|
1323
|
+
elem1: null, // First element transforms into; in this case, water deletes itself
|
|
1324
|
+
elem2: "mud", // Second element transforms into; in this case, dirt turns to mud
|
|
1325
|
+
},
|
|
1326
|
+
"sand": { elem1: null, elem2: "wet_sand" },
|
|
1327
|
+
"clay_soil": { elem1: null, elem2: "clay" },
|
|
1328
|
+
"salt": { elem1: "salt_water", elem2: null, temp1:-20 },
|
|
1329
|
+
"sugar": { elem1: "sugar_water", elem2: null },
|
|
1330
|
+
"honey": { elem1: "sugar_water" },
|
|
1331
|
+
"caramel": { elem1: "sugar_water" },
|
|
1332
|
+
"molasses": { elem1: "sugar_water" },
|
|
1333
|
+
"dust": { elem1: "dirty_water", elem2: null },
|
|
1334
|
+
"ash": { elem1: "dirty_water", elem2: null },
|
|
1335
|
+
"cyanide": { elem1: "dirty_water", elem2: null },
|
|
1336
|
+
"cyanide_gas": { elem1: "dirty_water", elem2: null },
|
|
1337
|
+
"carbon_dioxide": { elem1: "seltzer", elem2: null, oneway:true },
|
|
1338
|
+
"sulfur": { elem1: "dirty_water", elem2: null },
|
|
1339
|
+
"rat": { elem1: "dirty_water", chance:0.005 },
|
|
1340
|
+
"plague": { elem1: "dirty_water", elem2: null },
|
|
1341
|
+
"rust": { elem1: "dirty_water", chance:0.005 },
|
|
1342
|
+
"lead": { elem1: "dirty_water", chance:0.005 },
|
|
1343
|
+
"solder": { elem1: "dirty_water", chance:0.005 },
|
|
1344
|
+
"fallout": { elem1: "dirty_water", chance:0.25 },
|
|
1345
|
+
"radiation": { elem1: "dirty_water", chance:0.25 },
|
|
1346
|
+
"uranium": { elem1: "dirty_water", chance:0.25 },
|
|
1347
|
+
"rotten_meat": { elem1: "dirty_water", chance:0.25 },
|
|
1348
|
+
"rotten_cheese": { elem1: "dirty_water", chance:0.25 },
|
|
1349
|
+
"cancer": { elem1: "dirty_water", chance:0.25 },
|
|
1350
|
+
"oil": { elem1: "dirty_water", chance:0.005 },
|
|
1351
|
+
"dioxin": { elem1: "dirty_water", chance:0.1 },
|
|
1352
|
+
"quicklime": { elem1: "slaked_lime", elem2: "slaked_lime", temp2:100, temp1:100, chance:0.05 },
|
|
1353
|
+
"rock": { elem2: "wet_sand", chance: 0.00035 },
|
|
1354
|
+
"limestone": { elem2: "wet_sand", chance: 0.00035 },
|
|
1355
|
+
"tuff": { elem2: "wet_sand", color2:"#7a6b5c", chance: 0.00035 },
|
|
1356
|
+
"ruins": { elem2: "rock", chance: 0.00035 },
|
|
1357
|
+
"mudstone": { elem2: "mud", chance: 0.00035 },
|
|
1358
|
+
"methane": { elem1:"primordial_soup", elem2:"primordial_soup", tempMin:60, charged:true },
|
|
1359
|
+
"ammonia": { elem1:"primordial_soup", elem2:"primordial_soup", tempMin:60, charged:true },
|
|
1360
|
+
"fly": { elem2:"dead_bug", chance:0.1, oneway:true },
|
|
1361
|
+
"firefly": { elem2:"dead_bug", chance:0.1, oneway:true },
|
|
1362
|
+
"bee": { elem2:"dead_bug", chance:0.05, oneway:true },
|
|
1363
|
+
"stink_bug": { elem2:"dead_bug", chance:0.1, oneway:true },
|
|
1364
|
+
"cured_meat": { elem1:"salt_water", elem2:"meat" },
|
|
1365
|
+
// electrolysis:
|
|
1366
|
+
"aluminum": { elem1:["hydrogen","hydrogen","oxygen"], charged:true, chance:0.0025 },
|
|
1367
|
+
"zinc": { elem1:["hydrogen","hydrogen","oxygen"], charged:true, chance:0.015 },
|
|
1368
|
+
"steel": { elem1:["hydrogen","hydrogen","oxygen"], charged:true, chance:0.0125 },
|
|
1369
|
+
"iron": { elem1:["hydrogen","hydrogen","oxygen"], charged:true, chance:0.0125 },
|
|
1370
|
+
"tin": { elem1:["hydrogen","hydrogen","oxygen"], charged:true, chance:0.01 },
|
|
1371
|
+
"brass": { elem1:["hydrogen","hydrogen","oxygen"], charged:true, chance:0.001 },
|
|
1372
|
+
"bronze": { elem1:["hydrogen","hydrogen","oxygen"], charged:true, chance:0.001 },
|
|
1373
|
+
"copper": { elem1:["hydrogen","hydrogen","oxygen"], charged:true, chance:0.0075 },
|
|
1374
|
+
"silver": { elem1:["hydrogen","hydrogen","oxygen"], charged:true, chance:0.0075 },
|
|
1375
|
+
"gold": { elem1:["hydrogen","hydrogen","oxygen"], charged:true, chance:0.0075 },
|
|
1376
|
+
},
|
|
1377
|
+
state: "liquid",
|
|
1378
|
+
density: 997,
|
|
1379
|
+
conduct: 0.02,
|
|
1380
|
+
stain: -0.5,
|
|
1381
|
+
extinguish: true
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
elements.test1 = {
|
|
1385
|
+
//seed: true,
|
|
1386
|
+
maxSize: 1,
|
|
1387
|
+
behavior: behaviors.WALL,
|
|
1388
|
+
properties : {
|
|
1389
|
+
//min: 10,
|
|
1390
|
+
//max: 40,
|
|
1391
|
+
Curheight : 1,
|
|
1392
|
+
height : 40, //Math.floor(Math.random() * (max - min + 1)) + min,
|
|
1393
|
+
age: 0,
|
|
1394
|
+
|
|
1395
|
+
},
|
|
1396
|
+
category:"test",
|
|
1397
|
+
tick:function(pixel) {
|
|
1398
|
+
if(isEmpty(pixel.x+1,pixel.y) && pixel.Curheight < pixel.height){
|
|
1399
|
+
createPixel("steel",pixel.x+1,pixel.y, );
|
|
1400
|
+
}
|
|
1401
|
+
if(isEmpty(pixel.x-1,pixel.y) && pixel.Curheight < pixel.height){
|
|
1402
|
+
createPixel("steel",pixel.x-1,pixel.y, );
|
|
1403
|
+
}
|
|
1404
|
+
if(isEmpty(pixel.x+2,pixel.y) && pixel.Curheight < pixel.height){
|
|
1405
|
+
createPixel("steel",pixel.x+2,pixel.y, );
|
|
1406
|
+
}
|
|
1407
|
+
if(isEmpty(pixel.x-2,pixel.y) && pixel.Curheight < pixel.height){
|
|
1408
|
+
createPixel("steel",pixel.x-2,pixel.y, );
|
|
1409
|
+
}
|
|
1410
|
+
|
|
1411
|
+
|
|
1412
|
+
|
|
1413
|
+
|
|
1414
|
+
if(isEmpty(pixel.x,pixel.y-39) ) {
|
|
1415
|
+
//var built
|
|
1416
|
+
createPixel("concrete",pixel.x,pixel.y-40, );
|
|
1417
|
+
}
|
|
1418
|
+
if(isEmpty(pixel.x-1,pixel.y-39) ) {
|
|
1419
|
+
createPixel("concrete",pixel.x-1,pixel.y-40, );
|
|
1420
|
+
}
|
|
1421
|
+
if(isEmpty(pixel.x+1,pixel.y-39 )) {
|
|
1422
|
+
createPixel("concrete",pixel.x+1,pixel.y-40, );
|
|
1423
|
+
}
|
|
1424
|
+
for (let i = pixel.Curheight; i < pixel.height; i++) {
|
|
1425
|
+
if(isEmpty(pixel.x,pixel.y-i) && pixel.Curheight < pixel.height){
|
|
1426
|
+
|
|
1427
|
+
|
|
1428
|
+
if(isEmpty(pixel.x-2,pixel.y-i) ) {
|
|
1429
|
+
createPixel("concrete",pixel.x-2,pixel.y-i, );
|
|
1430
|
+
}
|
|
1431
|
+
if(isEmpty(pixel.x+2,pixel.y-i) ) {
|
|
1432
|
+
createPixel("concrete",pixel.x+2,pixel.y-i, );
|
|
1433
|
+
}
|
|
1434
|
+
i+1
|
|
1435
|
+
pixel.Curheight +1;
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
|
|
1439
|
+
|
|
1440
|
+
|
|
1441
|
+
|
|
1442
|
+
|
|
1443
|
+
|
|
1444
|
+
|
|
1445
|
+
if(pixel.age > 100) {
|
|
1446
|
+
changePixel(pixel,"steel");
|
|
1447
|
+
}
|
|
1448
|
+
pixel.age++
|
|
1449
|
+
doDefaults(pixel);
|
|
1450
|
+
|
|
1451
|
+
}
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
|
|
1455
|
+
elements.test2 = {
|
|
1456
|
+
//seed: true,
|
|
1457
|
+
maxSize: 1,
|
|
1458
|
+
behavior: behaviors.WALL,
|
|
1459
|
+
properties : {
|
|
1460
|
+
//min: 10,
|
|
1461
|
+
//max: 40,
|
|
1462
|
+
baseLimit : 18,
|
|
1463
|
+
base:1,
|
|
1464
|
+
|
|
1465
|
+
Curheight : 1,
|
|
1466
|
+
height : 18, //Math.floor(Math.random() * (max - min + 1)) + min,
|
|
1467
|
+
age: 0,
|
|
1468
|
+
|
|
1469
|
+
},
|
|
1470
|
+
category:"test",
|
|
1471
|
+
tick:function(pixel) {
|
|
1472
|
+
//base
|
|
1473
|
+
if(isEmpty(pixel.x-i,pixel.y) ) {
|
|
1474
|
+
createPixel("steel",pixel.x-18,pixel.y, );
|
|
1475
|
+
}
|
|
1476
|
+
for (let i = pixel.base; i < pixel.baseLimit; i++) {
|
|
1477
|
+
|
|
1478
|
+
|
|
1479
|
+
|
|
1480
|
+
if(isEmpty(pixel.x-i,pixel.y) ) {
|
|
1481
|
+
createPixel("steel",pixel.x-i,pixel.y, );
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
i+1
|
|
1485
|
+
pixel.base +1;
|
|
1486
|
+
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
for (let i = pixel.Curheight; i < pixel.height; i++) {
|
|
1490
|
+
|
|
1491
|
+
|
|
1492
|
+
|
|
1493
|
+
if(isEmpty(pixel.x,pixel.y-i) ) {
|
|
1494
|
+
createPixel("steel",pixel.x,pixel.y-i, );
|
|
1495
|
+
}
|
|
1496
|
+
if(isEmpty(pixel.x-18,pixel.y-i) ) {
|
|
1497
|
+
createPixel("steel",pixel.x-18,pixel.y-i, );
|
|
1498
|
+
}
|
|
1499
|
+
if(isEmpty(pixel.x-i,pixel.y-17) ) {
|
|
1500
|
+
createPixel("steel",pixel.x-i,pixel.y-17);
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
i+1
|
|
1504
|
+
pixel.Curheight +1;
|
|
1505
|
+
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
|
|
1509
|
+
if(pixel.age > 100) {
|
|
1510
|
+
changePixel(pixel,"steel");
|
|
1511
|
+
}
|
|
1512
|
+
pixel.age++
|
|
1513
|
+
doDefaults(pixel);
|
|
1514
|
+
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
|
|
1518
|
+
|
|
1519
|
+
|
|
1520
|
+
tarY = null;
|
|
1521
|
+
tarX = null;
|
|
1522
|
+
|
|
1523
|
+
elements.guided_missile = {
|
|
1524
|
+
maxSize: 1,
|
|
1525
|
+
behavior: behaviors.WALL,
|
|
1526
|
+
|
|
1527
|
+
onSelect: function(pixel){
|
|
1528
|
+
|
|
1529
|
+
tarX = prompt("enter x");
|
|
1530
|
+
tarY = prompt("enter y");
|
|
1531
|
+
|
|
1532
|
+
},
|
|
1533
|
+
properties: {
|
|
1534
|
+
luanched : false,
|
|
1535
|
+
speed :2,
|
|
1536
|
+
AtY : false,
|
|
1537
|
+
},
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
tick: function(pixel) {
|
|
1541
|
+
|
|
1542
|
+
if(pixel.temp >= 100) {
|
|
1543
|
+
|
|
1544
|
+
pixel.luanched = true;
|
|
1545
|
+
pixel.clone = "fire";
|
|
1546
|
+
var newX = pixel.x ;
|
|
1547
|
+
var newY = pixel.y - pixel.speed;
|
|
1548
|
+
|
|
1549
|
+
|
|
1550
|
+
if (!(pixel.y == tarY) && pixel.y > tarY ) {
|
|
1551
|
+
if((!tarY-pixel.y === 1) || (!tarY-pixel.y === -1)) {
|
|
1552
|
+
let test = createPixel("fire",pixel.x,pixel.y+3);
|
|
1553
|
+
if(isEmpty(newX,newY)) {
|
|
1554
|
+
tryMove(pixel,newX,newY,);
|
|
1555
|
+
} else {
|
|
1556
|
+
explodeAt(pixel.x, pixel.y, 13, ["fire","fire","plasma","plasma","plasma","plasma"]);
|
|
1557
|
+
|
|
1558
|
+
deletePixel(pixel.x,pixel.y);
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
pixel.AtY = true;
|
|
1562
|
+
} else {
|
|
1563
|
+
pixel.speed = 1;
|
|
1564
|
+
let test = createPixel("fire",pixel.x,pixel.y+3);
|
|
1565
|
+
if(isEmpty(newX,newY)) {
|
|
1566
|
+
tryMove(pixel,newX,newY,);
|
|
1567
|
+
} else {
|
|
1568
|
+
explodeAt(pixel.x, pixel.y, 13, ["fire","fire","plasma","plasma","plasma","plasma"]);
|
|
1569
|
+
|
|
1570
|
+
deletePixel(pixel.x,pixel.y);
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
//pixel.AtY = true;
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
}
|
|
1577
|
+
else if(!(pixel.y == tarY) && pixel.y < tarY ){
|
|
1578
|
+
if((!tarY-pixel.y === 1) || (!tarY-pixel.y === -1)) {
|
|
1579
|
+
let test = createPixel("fire",pixel.x,pixel.y-3);
|
|
1580
|
+
if(isEmpty(pixel.x,pixel.y+pixel.speed)) {
|
|
1581
|
+
tryMove(pixel,pixel.x,pixel.y + pixel.speed,);
|
|
1582
|
+
} else {
|
|
1583
|
+
explodeAt(pixel.x, pixel.y, 13, ["fire","fire","plasma","plasma","plasma","plasma"]);
|
|
1584
|
+
|
|
1585
|
+
deletePixel(pixel.x,pixel.y);
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
pixel.AtY = true;
|
|
1589
|
+
} else {
|
|
1590
|
+
pixel.speed = 1;
|
|
1591
|
+
let test = createPixel("fire",pixel.x,pixel.y-3);
|
|
1592
|
+
if(isEmpty(pixel.x,pixel.y+pixel.speed)) {
|
|
1593
|
+
tryMove(pixel,pixel.x,pixel.y - pixel.speed,);
|
|
1594
|
+
} else {
|
|
1595
|
+
explodeAt(pixel.x, pixel.y, 13, ["fire","fire","plasma","plasma","plasma","plasma"]);
|
|
1596
|
+
|
|
1597
|
+
deletePixel(pixel.x,pixel.y);
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
//pixel.AtY = true;
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
|
|
1604
|
+
}
|
|
1605
|
+
else if(pixel.AtY = true) {
|
|
1606
|
+
if(pixel.x > tarX) {
|
|
1607
|
+
pixel.speed = 2;
|
|
1608
|
+
let test = createPixel("fire",pixel.x,pixel.y);
|
|
1609
|
+
if(isEmpty(pixel.x-1,pixel.y)) {
|
|
1610
|
+
tryMove(pixel,pixel.x-pixel.speed,pixel.y,test);
|
|
1611
|
+
} else {
|
|
1612
|
+
explodeAt(pixel.x, pixel.y, 13, ["fire","fire","plasma","plasma","plasma","plasma"]);
|
|
1613
|
+
|
|
1614
|
+
deletePixel(pixel.x,pixel.y);
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
}
|
|
1618
|
+
else if(pixel.x < tarX) {
|
|
1619
|
+
pixel.speed = 2;
|
|
1620
|
+
let test = createPixel("fire",pixel.x,pixel.y);
|
|
1621
|
+
if(isEmpty(pixel.x+2,pixel.y)) {
|
|
1622
|
+
tryMove(pixel,pixel.x+pixel.speed,pixel.y,test );
|
|
1623
|
+
} else {
|
|
1624
|
+
explodeAt(pixel.x, pixel.y, 13, ["fire","fire","plasma","plasma","plasma","plasma"]);
|
|
1625
|
+
|
|
1626
|
+
deletePixel(pixel.x,pixel.y);
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
|
|
1630
|
+
}
|
|
1631
|
+
else if (pixel.x == tarX){
|
|
1632
|
+
explodeAt(pixel.x, pixel.y, 13, ["fire","fire","plasma","plasma","plasma","plasma"]);
|
|
1633
|
+
|
|
1634
|
+
deletePixel(pixel.x,pixel.y);
|
|
1635
|
+
}
|
|
1636
|
+
if(tarX-pixel.x == 1 || tarX-pixel.x == -1) {
|
|
1637
|
+
explodeAt(pixel.x, pixel.y, 13, ["fire","fire","plasma","plasma","plasma","plasma"]);
|
|
1638
|
+
deletePixel(pixel.x,pixel.y);
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
|
|
1644
|
+
|
|
1645
|
+
|
|
1646
|
+
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
|
+
|
|
1650
|
+
|
|
1651
|
+
|
|
1652
|
+
}
|
|
1653
|
+
},
|
|
1654
|
+
conduct: 1,
|
|
1655
|
+
movable: true,
|
|
1656
|
+
category:"test",
|
|
1657
|
+
darkText: true,
|
|
1658
|
+
hardness: 1,
|
|
1659
|
+
|
|
1660
|
+
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
|
|
1664
|
+
elements.room_temp.category = "tools"
|
|
1665
|
+
elements.uncharge.category = "tools"
|
|
1666
|
+
elements.unburn.category = "tools"
|
|
1667
|
+
|
|
1668
|
+
|
|
1669
|
+
textures.Reniforced_Titanuim = {
|
|
1670
|
+
REINFORCEDTITANIUM: [
|
|
1671
|
+
"GiGgggGiGGg",
|
|
1672
|
+
"gggGGGGgggg",
|
|
1673
|
+
"iiiiiiiiiii",
|
|
1674
|
+
"GgGGggggGGg",
|
|
1675
|
+
"GggGGgggGGg",
|
|
1676
|
+
"igGGGgggggi",
|
|
1677
|
+
"GggggggGGGG",
|
|
1678
|
+
"GggGGgggggg",
|
|
1679
|
+
"Ggggggggggg",
|
|
1680
|
+
"ggggggGGggg",
|
|
1681
|
+
"Ggggggggggg",
|
|
1682
|
+
"iiiiiiiiiii",],
|
|
1683
|
+
|
|
1684
|
+
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
elements.Reniforced_Titanuim = {
|
|
1688
|
+
color: "#787878",
|
|
1689
|
+
colorPattern: textures.Reniforced_Titanuim.REINFORCEDTITANIUM,
|
|
1690
|
+
colorKey: {
|
|
1691
|
+
"g": "#787878",
|
|
1692
|
+
"G": "#606060",
|
|
1693
|
+
"i": "#332f2f"},
|
|
1694
|
+
behavior: behaviors.WALL,
|
|
1695
|
+
|
|
1696
|
+
tempHigh: 4000,
|
|
1697
|
+
stateHigh : "molten_titanium",
|
|
1698
|
+
category: "solids",
|
|
1699
|
+
state: "solid",
|
|
1700
|
+
density: 5000,
|
|
1701
|
+
hardness:1,
|
|
1702
|
+
noMix: true
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
|
|
1706
|
+
|
|
1707
|
+
elements.Missile_Up = {
|
|
1708
|
+
|
|
1709
|
+
maxSize: 1,
|
|
1710
|
+
|
|
1711
|
+
properties: {
|
|
1712
|
+
luanched : false,
|
|
1713
|
+
},
|
|
1714
|
+
|
|
1715
|
+
|
|
1716
|
+
|
|
1717
|
+
tick: function(pixel) {
|
|
1718
|
+
if(pixel.temp >= 100) {
|
|
1719
|
+
pixel.luanched = true;
|
|
1720
|
+
if(isEmpty(pixel.x,pixel.y-1) ) {
|
|
1721
|
+
let exguast = createPixel("fire",pixel.x,pixel.y + 3)
|
|
1722
|
+
tryMove(pixel,pixel.x,pixel.y-2,);
|
|
1723
|
+
} else if(!isEmpty(pixel.x, pixel.y-1)) {
|
|
1724
|
+
|
|
1725
|
+
explodeAt(pixel.x,pixel.y, 13 ,["fire","plasma","plasma","plasma"]);
|
|
1726
|
+
deletePixel(pixel.x,pixel.y)
|
|
1727
|
+
if(!(pixelMap[pixel.x][pixel.y-1] == "Missile_Down") || !(pixelMap[pixel.x][pixel.y-1] == "fire") ) {
|
|
1728
|
+
|
|
1729
|
+
explodeAt(pixel.x,pixel.y, 13 ,["fire","plasma","plasma","plasma"]);
|
|
1730
|
+
deletePixel(pixel.x,pixel.y)
|
|
1731
|
+
|
|
1732
|
+
}
|
|
1733
|
+
}
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
|
|
1737
|
+
},
|
|
1738
|
+
conduct: 1,
|
|
1739
|
+
movable: true,
|
|
1740
|
+
category:"weapons",
|
|
1741
|
+
darkText: true,
|
|
1742
|
+
hardness: 1,
|
|
1743
|
+
|
|
1744
|
+
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
elements.Missile_Down = {
|
|
1748
|
+
|
|
1749
|
+
maxSize: 1,
|
|
1750
|
+
|
|
1751
|
+
properties: {
|
|
1752
|
+
luanched : false,
|
|
1753
|
+
},
|
|
1754
|
+
|
|
1755
|
+
|
|
1756
|
+
tick: function(pixel) {
|
|
1757
|
+
if(pixel.temp >= 100) {
|
|
1758
|
+
pixel.luanched = true;
|
|
1759
|
+
if(isEmpty(pixel.x,pixel.y+2) ) {
|
|
1760
|
+
let exguast = createPixel("fire",pixel.x,pixel.y - 3)
|
|
1761
|
+
tryMove(pixel,pixel.x,pixel.y+2,);
|
|
1762
|
+
} else if(!isEmpty(pixel.x, pixel.y+1)) {
|
|
1763
|
+
|
|
1764
|
+
explodeAt(pixel.x,pixel.y, 13 ,["fire","plasma","plasma","plasma"]);
|
|
1765
|
+
deletePixel(pixel.x,pixel.y)
|
|
1766
|
+
if(!(pixelMap[pixel.x][pixel.y+1] == "Missile_Down") || !(pixelMap[pixel.x][pixel.y-1] == "fire") ) {
|
|
1767
|
+
|
|
1768
|
+
explodeAt(pixel.x,pixel.y, 13 ,["fire","plasma","plasma","plasma"]);
|
|
1769
|
+
deletePixel(pixel.x,pixel.y)
|
|
1770
|
+
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
|
|
1776
|
+
},
|
|
1777
|
+
conduct: 1,
|
|
1778
|
+
movable: true,
|
|
1779
|
+
category:"weapons",
|
|
1780
|
+
darkText: true,
|
|
1781
|
+
hardness: 1,
|
|
1782
|
+
|
|
1783
|
+
|
|
1784
|
+
}
|
|
1785
|
+
elements.Missile_Left = {
|
|
1786
|
+
|
|
1787
|
+
maxSize: 1,
|
|
1788
|
+
|
|
1789
|
+
properties: {
|
|
1790
|
+
luanched : false,
|
|
1791
|
+
},
|
|
1792
|
+
|
|
1793
|
+
|
|
1794
|
+
|
|
1795
|
+
tick: function(pixel) {
|
|
1796
|
+
if(pixel.temp >= 100) {
|
|
1797
|
+
pixel.luanched = true;
|
|
1798
|
+
if(isEmpty(pixel.x-1,pixel.y) ) {
|
|
1799
|
+
let exguast = createPixel("fire",pixel.x+3,pixel.y)
|
|
1800
|
+
tryMove(pixel,pixel.x-2,pixel.y);
|
|
1801
|
+
} else if( !isEmpty(pixel.x-1, pixel.y) && !isEmpty(pixel.x-2, pixel.y) && !outOfBounds(pixel.x-1,pixel.y) && !outOfBounds(pixel.x-2,pixel.y) ) {
|
|
1802
|
+
|
|
1803
|
+
explodeAt(pixel.x,pixel.y, 13 ,["fire","plasma","plasma","plasma"]);
|
|
1804
|
+
deletePixel(pixel.x,pixel.y)
|
|
1805
|
+
if(!(pixelMap[pixel.x-1][pixel.y] == "Missile_Down") || !(pixelMap[pixel.x][pixel.y-1] == "fire") ) {
|
|
1806
|
+
|
|
1807
|
+
explodeAt(pixel.x,pixel.y, 13 ,["fire","plasma","plasma","plasma"]);
|
|
1808
|
+
deletePixel(pixel.x,pixel.y)
|
|
1809
|
+
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1814
|
+
|
|
1815
|
+
},
|
|
1816
|
+
conduct: 1,
|
|
1817
|
+
movable: true,
|
|
1818
|
+
category:"weapons",
|
|
1819
|
+
darkText: true,
|
|
1820
|
+
hardness: 1,
|
|
1821
|
+
|
|
1822
|
+
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
|
|
1826
|
+
elements.Missile_Right = {
|
|
1827
|
+
|
|
1828
|
+
maxSize: 1,
|
|
1829
|
+
|
|
1830
|
+
properties: {
|
|
1831
|
+
luanched : false,
|
|
1832
|
+
},
|
|
1833
|
+
|
|
1834
|
+
|
|
1835
|
+
|
|
1836
|
+
tick: function(pixel) {
|
|
1837
|
+
if(pixel.temp >= 100) {
|
|
1838
|
+
pixel.luanched = true;
|
|
1839
|
+
if(isEmpty(pixel.x+1,pixel.y) ) {
|
|
1840
|
+
let exguast = createPixel("fire",pixel.x-3,pixel.y)
|
|
1841
|
+
tryMove(pixel,pixel.x+2,pixel.y);
|
|
1842
|
+
} else if( !isEmpty(pixel.x+1, pixel.y) && !isEmpty(pixel.x+2, pixel.y) && !outOfBounds(pixel.x+1,pixel.y) && !outOfBounds(pixel.x+2,pixel.y) ) {
|
|
1843
|
+
|
|
1844
|
+
explodeAt(pixel.x,pixel.y, 13 ,["fire","plasma","plasma","plasma"]);
|
|
1845
|
+
deletePixel(pixel.x,pixel.y)
|
|
1846
|
+
if(!(pixelMap[pixel.x+1][pixel.y] == "Missile_Down") || !(pixelMap[pixel.x][pixel.y+1] == "fire") ) {
|
|
1847
|
+
|
|
1848
|
+
explodeAt(pixel.x,pixel.y, 13 ,["fire","plasma","plasma","plasma"]);
|
|
1849
|
+
deletePixel(pixel.x,pixel.y)
|
|
1850
|
+
|
|
1851
|
+
}
|
|
1852
|
+
}
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
|
|
1856
|
+
},
|
|
1857
|
+
conduct: 1,
|
|
1858
|
+
movable: true,
|
|
1859
|
+
category:"weapons",
|
|
1860
|
+
darkText: true,
|
|
1861
|
+
hardness: 1,
|
|
1862
|
+
|
|
1863
|
+
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
elements.pancho = {
|
|
1867
|
+
tempHigh: 300,
|
|
1868
|
+
stateHigh: "steam",
|
|
1869
|
+
color: ["#bd8e0d","#0ec930","#ff0000","#fcf800"],
|
|
1870
|
+
singleColor: true,
|
|
1871
|
+
behavior: behaviors.STURDYPOWDER,
|
|
1872
|
+
category: "food",
|
|
1873
|
+
state: "liquid"
|
|
1874
|
+
};
|
|
1875
|
+
|
|
1876
|
+
|
|
1877
|
+
//imma finnish rest later
|
|
1878
|
+
elements.pesticide = {
|
|
1879
|
+
category: "test",
|
|
1880
|
+
state: "liquid",
|
|
1881
|
+
color: elements.plant.color,
|
|
1882
|
+
behavior:behaviors.LIQUID,
|
|
1883
|
+
reactions : {
|
|
1884
|
+
"plant": { elem1: "dead_plant" },
|
|
1885
|
+
"algae": { elem1: "dead_plant" },
|
|
1886
|
+
"cactus": { elem1: "dead_plant" },
|
|
1887
|
+
"hive": { elem1: "dead_plant" },
|
|
1888
|
+
"sapling": { elem1: "dead_plant" },
|
|
1889
|
+
"pinecone": { elem1: "dead_plant" },
|
|
1890
|
+
"evergreen": { elem1: "dead_plant" },
|
|
1891
|
+
"hyphae": { elem1: "dead_plant" },
|
|
1892
|
+
"petal": { elem1: "dead_plant" },
|
|
1893
|
+
"pistil": { elem1: "dead_plant" },
|
|
1894
|
+
"tree_branch": { elem1: "wood" },
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
}
|
|
1898
|
+
|
|
1899
|
+
elements.uranium_particles = {
|
|
1900
|
+
color: ["#599e61","#364d3c","#494d4a","#6c8a42","#798d65","#b5e089"],
|
|
1901
|
+
tick: behaviors.BOUNCY,
|
|
1902
|
+
reactions: {
|
|
1903
|
+
"uranium_particles": { elem1:null, elem2:"supernova", chance:0.000001}
|
|
1904
|
+
},
|
|
1905
|
+
category: "???????",
|
|
1906
|
+
|
|
1907
|
+
|
|
1908
|
+
}
|
|
1909
|
+
ignoreGate = ["wall", "wire", "battery"];
|
|
1910
|
+
elements.air_filter = {
|
|
1911
|
+
|
|
1912
|
+
|
|
1913
|
+
color: "#414c4f",
|
|
1914
|
+
|
|
1915
|
+
tick: function(pixel) {
|
|
1916
|
+
pixel.stage = 2
|
|
1917
|
+
if (!pixel.stage && pixelTicks-pixel.start > 60) {
|
|
1918
|
+
for (var i = 0; i < squareCoords.length; i++) {
|
|
1919
|
+
var coord = squareCoords[i];
|
|
1920
|
+
var x = pixel.x+coord[0];
|
|
1921
|
+
var y = pixel.y+coord[1];
|
|
1922
|
+
|
|
1923
|
+
}
|
|
1924
|
+
pixel.stage = 2;
|
|
1925
|
+
}
|
|
1926
|
+
else if (pixel.stage === 1 && pixelTicks-pixel.start > 70) { //uninitialized
|
|
1927
|
+
for (var i = 0; i < adjacentCoords.length; i++) {
|
|
1928
|
+
var coord = adjacentCoords[i];
|
|
1929
|
+
var x = pixel.x+coord[0];
|
|
1930
|
+
var y = pixel.y+coord[1];
|
|
1931
|
+
pixel.stage = 2;
|
|
1932
|
+
|
|
1933
|
+
}
|
|
1934
|
+
}
|
|
1935
|
+
else if (pixel.stage > 1 && pixelTicks % 3 === pixel.stage-2) { //initialized
|
|
1936
|
+
for (var i = 0; i < squareCoords.length; i++) {
|
|
1937
|
+
var coord = squareCoords[i];
|
|
1938
|
+
var x = pixel.x+coord[0];
|
|
1939
|
+
var y = pixel.y+coord[1];
|
|
1940
|
+
if (!isEmpty(x,y,true) && pixelMap[x][y].element === "pipe") {
|
|
1941
|
+
var newPixel = pixelMap[x][y];
|
|
1942
|
+
if (newPixel.stage === 1) {
|
|
1943
|
+
var newColor;
|
|
1944
|
+
switch (pixel.stage) {
|
|
1945
|
+
|
|
1946
|
+
}
|
|
1947
|
+
newPixel.color = pixelColorPick(newPixel,newColor);
|
|
1948
|
+
}
|
|
1949
|
+
}
|
|
1950
|
+
}
|
|
1951
|
+
var moved = false;
|
|
1952
|
+
shuffleArray(squareCoordsShuffle);
|
|
1953
|
+
for (var i = 0; i < squareCoordsShuffle.length; i++) {
|
|
1954
|
+
var coord = squareCoordsShuffle[i];
|
|
1955
|
+
var x = pixel.x+coord[0];
|
|
1956
|
+
var y = pixel.y+coord[1];
|
|
1957
|
+
if (!isEmpty(x,y,true)) {
|
|
1958
|
+
var newPixel = pixelMap[x][y];
|
|
1959
|
+
if (newPixel.element === "pipe") {
|
|
1960
|
+
var nextStage;
|
|
1961
|
+
switch (pixel.stage) {
|
|
1962
|
+
|
|
1963
|
+
}
|
|
1964
|
+
if (pixel.con && !newPixel.con && newPixel.stage === nextStage) { //transfer to jacent pipe
|
|
1965
|
+
newPixel.con = pixel.con;
|
|
1966
|
+
newPixel.con.x = newPixel.x;
|
|
1967
|
+
newPixel.con.y = newPixel.y;
|
|
1968
|
+
pixel.con = null;
|
|
1969
|
+
moved = true;
|
|
1970
|
+
break;
|
|
1971
|
+
}
|
|
1972
|
+
}
|
|
1973
|
+
else if (!pixel.con && (newPixel.element == "smoke" || newPixel.element == "carbon_dioxide" || newPixel.element == "smog" || newPixel.element == "rad_steam" || newPixel.element == "oxygen" )) { //suck up pixel
|
|
1974
|
+
changePixel(newPixel,"oxygen");
|
|
1975
|
+
pixel.con = newPixel;
|
|
1976
|
+
deletePixel(newPixel.x,newPixel.y);
|
|
1977
|
+
pixel.con.x = pixel.x;
|
|
1978
|
+
pixel.con.y = pixel.y;
|
|
1979
|
+
pixel.con.del;
|
|
1980
|
+
moved = true;
|
|
1981
|
+
break;
|
|
1982
|
+
}
|
|
1983
|
+
}
|
|
1984
|
+
}
|
|
1985
|
+
if (pixel.con && !moved) { // move to same stage if none other
|
|
1986
|
+
for (var i = 0; i < squareCoordsShuffle.length; i++) {
|
|
1987
|
+
var coord = squareCoordsShuffle[i];
|
|
1988
|
+
var x = pixel.x+coord[0];
|
|
1989
|
+
var y = pixel.y+coord[1];
|
|
1990
|
+
if (isEmpty(x,y)) {
|
|
1991
|
+
delete pixel.con.del;
|
|
1992
|
+
pixel.con.x = x;
|
|
1993
|
+
pixel.con.y = y;
|
|
1994
|
+
pixelMap[x][y] = pixel.con;
|
|
1995
|
+
currentPixels.push(pixel.con);
|
|
1996
|
+
pixel.con = null;
|
|
1997
|
+
break;
|
|
1998
|
+
}
|
|
1999
|
+
if (!isEmpty(x,y,true) && pixelMap[x][y].element === "pipe") {
|
|
2000
|
+
var newPixel = pixelMap[x][y];
|
|
2001
|
+
if (pixel.con && !newPixel.con && newPixel.stage === pixel.stage) {
|
|
2002
|
+
newPixel.con = pixel.con;
|
|
2003
|
+
newPixel.con.x = newPixel.x;
|
|
2004
|
+
newPixel.con.y = newPixel.y;
|
|
2005
|
+
pixel.con = null;
|
|
2006
|
+
break;
|
|
2007
|
+
}
|
|
2008
|
+
}
|
|
2009
|
+
}
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
doDefaults(pixel);
|
|
2013
|
+
},
|
|
2014
|
+
category: "machines",
|
|
2015
|
+
movable: false,
|
|
2016
|
+
canContain: true,
|
|
2017
|
+
|
|
2018
|
+
}
|
|
2019
|
+
|
|
2020
|
+
function checkPixels(pixel, upOrDown) {
|
|
2021
|
+
var change = null;
|
|
2022
|
+
|
|
2023
|
+
var x = pixel.x;
|
|
2024
|
+
var y = pixel.y;
|
|
2025
|
+
|
|
2026
|
+
for (let i = 0; i < 7; i++) {
|
|
2027
|
+
if (upOrDown == true) {
|
|
2028
|
+
if (!isEmpty(x, y - i)) {
|
|
2029
|
+
var sensed = pixelMap[x][pixel.y - i];
|
|
2030
|
+
if (!(sensed.element == pixel.element)) {
|
|
2031
|
+
// if (sensed.element.category === "solids") {
|
|
2032
|
+
tryMove(sensed, sensed.x, sensed.y - 1);
|
|
2033
|
+
// }
|
|
2034
|
+
}
|
|
2035
|
+
}
|
|
2036
|
+
} else if (upOrDown == false) {
|
|
2037
|
+
if (!isEmpty(x, y + i)) {
|
|
2038
|
+
var sensed = pixelMap[x][pixel.y + i];
|
|
2039
|
+
if (!(sensed.element == pixel.element)) {
|
|
2040
|
+
// if (sensed.element.category === "solids") {
|
|
2041
|
+
tryMove(sensed, sensed.x, sensed.y + 1);
|
|
2042
|
+
// }
|
|
2043
|
+
}
|
|
2044
|
+
}
|
|
2045
|
+
}
|
|
2046
|
+
}
|
|
2047
|
+
}
|
|
2048
|
+
function checkPixels2(pixel, BringupOrDown) {
|
|
2049
|
+
var change = null;
|
|
2050
|
+
|
|
2051
|
+
var x = pixel.x;
|
|
2052
|
+
var y = pixel.y;
|
|
2053
|
+
|
|
2054
|
+
for (let i = 0; i < 7; i++) {
|
|
2055
|
+
if (BringupOrDown == true) {
|
|
2056
|
+
if (!isEmpty(x, y - i)) {
|
|
2057
|
+
var sensed = pixelMap[x][pixel.y - i];
|
|
2058
|
+
if (!(sensed.element == pixel.element)) {
|
|
2059
|
+
// if (sensed.element.category === "solids") {
|
|
2060
|
+
tryMove(sensed, sensed.x, sensed.y + 1);
|
|
2061
|
+
// }
|
|
2062
|
+
}
|
|
2063
|
+
}
|
|
2064
|
+
} else if (BringupOrDown == false) {
|
|
2065
|
+
if (!isEmpty(x, y + i)) {
|
|
2066
|
+
var sensed = pixelMap[x][pixel.y + i];
|
|
2067
|
+
if (!(sensed.element == pixel.element)) {
|
|
2068
|
+
// if (sensed.element.category === "solids") {
|
|
2069
|
+
tryMove(sensed, sensed.x, sensed.y - 1);
|
|
2070
|
+
// }
|
|
2071
|
+
}
|
|
2072
|
+
}
|
|
2073
|
+
}
|
|
2074
|
+
}
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
|
|
2078
|
+
|
|
2079
|
+
elements.Repel_Up_Magnet = {
|
|
2080
|
+
color: "#595656",
|
|
2081
|
+
behavior: behaviors.WALL,
|
|
2082
|
+
singleColor: true,
|
|
2083
|
+
category: "machines",
|
|
2084
|
+
state: "solid",
|
|
2085
|
+
|
|
2086
|
+
tick: function(pixel){
|
|
2087
|
+
checkPixels(pixel,true)
|
|
2088
|
+
}
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2091
|
+
elements.Repel_Down_Magnet = {
|
|
2092
|
+
color: "#595656",
|
|
2093
|
+
singleColor: true,
|
|
2094
|
+
category: "machines",
|
|
2095
|
+
state: "solid",
|
|
2096
|
+
behavior: behaviors.WALL,
|
|
2097
|
+
|
|
2098
|
+
tick: function(pixel){
|
|
2099
|
+
checkPixels(pixel,false)
|
|
2100
|
+
}
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
elements.Magnet_Pull_Down = {
|
|
2104
|
+
color: "#595656",
|
|
2105
|
+
singleColor: true,
|
|
2106
|
+
category: "machines",
|
|
2107
|
+
state: "solid",
|
|
2108
|
+
behavior: behaviors.WALL,
|
|
2109
|
+
|
|
2110
|
+
tick: function(pixel){
|
|
2111
|
+
checkPixels2(pixel,true)
|
|
2112
|
+
}
|
|
2113
|
+
}
|
|
2114
|
+
|
|
2115
|
+
elements.Magnet_Pull_Up = {
|
|
2116
|
+
color: "#595656",
|
|
2117
|
+
singleColor: true,
|
|
2118
|
+
category: "machines",
|
|
2119
|
+
state: "solid",
|
|
2120
|
+
behavior: behaviors.WALL,
|
|
2121
|
+
|
|
2122
|
+
tick: function(pixel){
|
|
2123
|
+
checkPixels2(pixel,false)
|
|
2124
|
+
}
|
|
2125
|
+
}
|
|
2126
|
+
|
|
2127
|
+
elements.Nucler_Fusion = {
|
|
2128
|
+
color: "#595656",
|
|
2129
|
+
maxSize: 1,
|
|
2130
|
+
behavior: behaviors.WALL,
|
|
2131
|
+
tick: function(pixel) {
|
|
2132
|
+
if(pixel.start) {
|
|
2133
|
+
explodeAt(pixel.x, pixel.y, 13, ["fire","fire","plasma","plasma","plasma","plasma"]);
|
|
2134
|
+
}
|
|
2135
|
+
}
|
|
2136
|
+
}
|
|
2137
|
+
|
|
2138
|
+
|
|
2139
|
+
|
|
2140
|
+
|
|
2141
|
+
|
|
2142
|
+
SelectedX = null;
|
|
2143
|
+
SelectedY = null;
|
|
2144
|
+
elements.WireLessPower = {
|
|
2145
|
+
color: "#595656",
|
|
2146
|
+
singleColor: true,
|
|
2147
|
+
category: "machines",
|
|
2148
|
+
state: "solid",
|
|
2149
|
+
behavior: behaviors.WALL,
|
|
2150
|
+
conduct : 1,
|
|
2151
|
+
onSelect: function() {
|
|
2152
|
+
var answer4 = prompt("X pos",(SelectedX||undefined));
|
|
2153
|
+
if (!answer4) { return }
|
|
2154
|
+
SelectedX = answer4;
|
|
2155
|
+
var answer5 = prompt("Y pos",(SelectedY||undefined));
|
|
2156
|
+
if (!answer5) { return }
|
|
2157
|
+
SelectedY = answer5;
|
|
2158
|
+
},
|
|
2159
|
+
|
|
2160
|
+
tick: function(pixel){
|
|
2161
|
+
if (pixel.start === pixelTicks) {
|
|
2162
|
+
pixel.SelX = SelectedX;
|
|
2163
|
+
pixel.SelY = SelectedY;
|
|
2164
|
+
pixel.placed = false;
|
|
2165
|
+
|
|
2166
|
+
}
|
|
2167
|
+
if(isEmpty(pixel.SelX,pixel.SelY) && pixel.placed == false){
|
|
2168
|
+
createPixel("wire",pixel.SelX,pixel.SelY);
|
|
2169
|
+
pixel.placed = true;
|
|
2170
|
+
}
|
|
2171
|
+
if(pixel.chargeCD) {
|
|
2172
|
+
if (!isEmpty(pixel.SelX,pixel.SelY)) {
|
|
2173
|
+
var sensed = pixelMap[pixel.SelX][pixel.SelY];
|
|
2174
|
+
if(!sensed) {return}
|
|
2175
|
+
if (!sensed.chargeCD && !sensed.charge) sensed.charge = 1;
|
|
2176
|
+
}
|
|
2177
|
+
}
|
|
2178
|
+
|
|
2179
|
+
}
|
|
2180
|
+
}
|
|
2181
|
+
|
|
2182
|
+
|
|
2183
|
+
|
|
2184
|
+
// elements.E_Gate = {
|
|
2185
|
+
|
|
2186
|
+
// name: "E-Gate",
|
|
2187
|
+
// color: "#414c4f",
|
|
2188
|
+
// conduct : 1,
|
|
2189
|
+
// tick: function(pixel) {
|
|
2190
|
+
// pixel.stage = 2
|
|
2191
|
+
// if (!pixel.stage && pixelTicks-pixel.start > 60) {
|
|
2192
|
+
// for (var i = 0; i < squareCoords.length; i++) {
|
|
2193
|
+
// var coord = squareCoords[i];
|
|
2194
|
+
// var x = pixel.x+coord[0];
|
|
2195
|
+
// var y = pixel.y+coord[1];
|
|
2196
|
+
|
|
2197
|
+
// }
|
|
2198
|
+
// pixel.stage = 2;
|
|
2199
|
+
// }
|
|
2200
|
+
// else if (pixel.stage === 1 && pixelTicks-pixel.start > 70) { //uninitialized
|
|
2201
|
+
// for (var i = 0; i < adjacentCoords.length; i++) {
|
|
2202
|
+
// var coord = adjacentCoords[i];
|
|
2203
|
+
// var x = pixel.x+coord[0];
|
|
2204
|
+
// var y = pixel.y+coord[1];
|
|
2205
|
+
// pixel.stage = 2;
|
|
2206
|
+
|
|
2207
|
+
// }
|
|
2208
|
+
// }
|
|
2209
|
+
// else if (pixel.stage > 1 && pixelTicks % 3 === pixel.stage-2) { //initialized
|
|
2210
|
+
// for (var i = 0; i < squareCoords.length; i++) {
|
|
2211
|
+
// var coord = squareCoords[i];
|
|
2212
|
+
// var x = pixel.x+coord[0];
|
|
2213
|
+
// var y = pixel.y+coord[1];
|
|
2214
|
+
// if (!isEmpty(x,y,true) && pixelMap[x][y].element === "pipe") {
|
|
2215
|
+
// var newPixel = pixelMap[x][y];
|
|
2216
|
+
// if (newPixel.stage === 1) {
|
|
2217
|
+
// var newColor;
|
|
2218
|
+
// switch (pixel.stage) {
|
|
2219
|
+
|
|
2220
|
+
// }
|
|
2221
|
+
// newPixel.color = pixelColorPick(newPixel,newColor);
|
|
2222
|
+
// }
|
|
2223
|
+
// }
|
|
2224
|
+
// }
|
|
2225
|
+
// var moved = false;
|
|
2226
|
+
// shuffleArray(squareCoordsShuffle);
|
|
2227
|
+
// for (var i = 0; i < squareCoordsShuffle.length; i++) {
|
|
2228
|
+
// var coord = squareCoordsShuffle[i];
|
|
2229
|
+
// var x = pixel.x+coord[0];
|
|
2230
|
+
// var y = pixel.y+coord[1];
|
|
2231
|
+
// if (!isEmpty(x,y,true)) {
|
|
2232
|
+
// var newPixel = pixelMap[x][y];
|
|
2233
|
+
// if (newPixel.element === "pipe") {
|
|
2234
|
+
// var nextStage;
|
|
2235
|
+
// switch (pixel.stage) {
|
|
2236
|
+
|
|
2237
|
+
// }
|
|
2238
|
+
// if (pixel.con && !newPixel.con && newPixel.stage === nextStage) { //transfer to jacent pipe
|
|
2239
|
+
// newPixel.con = pixel.con;
|
|
2240
|
+
// newPixel.con.x = newPixel.x;
|
|
2241
|
+
// newPixel.con.y = newPixel.y;
|
|
2242
|
+
// pixel.con = null;
|
|
2243
|
+
// moved = true;
|
|
2244
|
+
// break;
|
|
2245
|
+
// }
|
|
2246
|
+
// }
|
|
2247
|
+
// else if (!pixel.con && pixel.chargeCD & !(newPixel.element == pixel.element)&& !(ignoreGate.includes(newPixel.element))) { //suck up pixel
|
|
2248
|
+
// pixel.con = newPixel;
|
|
2249
|
+
// deletePixel(newPixel.x,newPixel.y);
|
|
2250
|
+
// pixel.con.x = pixel.x;
|
|
2251
|
+
// pixel.con.y = pixel.y;
|
|
2252
|
+
// pixel.con.del;
|
|
2253
|
+
// moved = true;
|
|
2254
|
+
// break;
|
|
2255
|
+
// }
|
|
2256
|
+
// }
|
|
2257
|
+
// }
|
|
2258
|
+
// if (pixel.con && !moved) { // move to same stage if none other
|
|
2259
|
+
// for (var i = 0; i < squareCoordsShuffle.length; i++) {
|
|
2260
|
+
// var coord = squareCoordsShuffle[i];
|
|
2261
|
+
// var x = pixel.x+coord[0];
|
|
2262
|
+
// var y = pixel.y+coord[1];
|
|
2263
|
+
// if (isEmpty(x,y)) {
|
|
2264
|
+
// delete pixel.con.del;
|
|
2265
|
+
// pixel.con.x = x;
|
|
2266
|
+
// pixel.con.y = y;
|
|
2267
|
+
// pixelMap[x][y] = pixel.con;
|
|
2268
|
+
// currentPixels.push(pixel.con);
|
|
2269
|
+
// pixel.con = null;
|
|
2270
|
+
// break;
|
|
2271
|
+
// }
|
|
2272
|
+
// if (!isEmpty(x,y,true) && pixelMap[x][y].element === "pipe") {
|
|
2273
|
+
// var newPixel = pixelMap[x][y];
|
|
2274
|
+
// if (pixel.con && !newPixel.con && newPixel.stage === pixel.stage) {
|
|
2275
|
+
// newPixel.con = pixel.con;
|
|
2276
|
+
// newPixel.con.x = newPixel.x;
|
|
2277
|
+
// newPixel.con.y = newPixel.y;
|
|
2278
|
+
// pixel.con = null;
|
|
2279
|
+
// break;
|
|
2280
|
+
// }
|
|
2281
|
+
// }
|
|
2282
|
+
// }
|
|
2283
|
+
// }
|
|
2284
|
+
// }
|
|
2285
|
+
// doDefaults(pixel);
|
|
2286
|
+
// },
|
|
2287
|
+
// category: "machines",
|
|
2288
|
+
// movable: false,
|
|
2289
|
+
// canContain: true,
|
|
2290
|
+
|
|
2291
|
+
// }
|
|
2292
|
+
|
|
2293
|
+
// RangeSelected = null;
|
|
2294
|
+
// elements.fan = {
|
|
2295
|
+
// color: "#595656",
|
|
2296
|
+
// category: "machines",
|
|
2297
|
+
// state: "solid",
|
|
2298
|
+
// conduct : 1,
|
|
2299
|
+
// behavior : behaviors.WALL,
|
|
2300
|
+
// onSelect: function() {
|
|
2301
|
+
// var answer4 = prompt("Enter a range for how far the fan blows.",(RangeSelected||undefined));
|
|
2302
|
+
// if (!answer4) { return }
|
|
2303
|
+
// RangeSelected = answer4;
|
|
2304
|
+
// },
|
|
2305
|
+
// tick: function(pixel){
|
|
2306
|
+
// if (pixel.start === pixelTicks) {
|
|
2307
|
+
// pixel.RangeBlow = RangeSelected
|
|
2308
|
+
// }
|
|
2309
|
+
// for (let i = 0; i < pixel.RangeBlow; i++) {
|
|
2310
|
+
// if (!isEmpty(pixel.x+1, pixel.y)) {
|
|
2311
|
+
// var sensed = pixelMap[pixel.x+1][pixel.y];
|
|
2312
|
+
// if (!sensed) {return}
|
|
2313
|
+
// if (!(sensed.element == pixel.element)) {
|
|
2314
|
+
// if (elements[sensed.element].category == "gases" || elements[sensed.element].category == "powders") {
|
|
2315
|
+
|
|
2316
|
+
// tryMove(sensed, sensed.x+1, sensed.y );
|
|
2317
|
+
// }
|
|
2318
|
+
// }
|
|
2319
|
+
// }
|
|
2320
|
+
// }
|
|
2321
|
+
// },
|
|
2322
|
+
|
|
2323
|
+
// }
|
|
2324
|
+
|
|
2325
|
+
// elements.test_Element = {
|
|
2326
|
+
// color: "#595656",
|
|
2327
|
+
// singleColor: true,
|
|
2328
|
+
// category: "test",
|
|
2329
|
+
// state: "solid",
|
|
2330
|
+
// behavior : [
|
|
2331
|
+
// ["XX","DL","XX"],
|
|
2332
|
+
// ["DL","XX","DL"],
|
|
2333
|
+
// ["M2","M1 AND DL","M2"]
|
|
2334
|
+
// ],
|
|
2335
|
+
// tick: function(pixel) {},
|
|
2336
|
+
// conduct : 1,
|
|
2337
|
+
|
|
2338
|
+
// }
|