Merge pull request #631 from JustAGenericUsername/main

smasher and mixer from nousersthings deprecated
This commit is contained in:
slweeb 2024-05-15 20:30:53 -04:00 committed by GitHub
commit 80751c9616
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 18 additions and 2 deletions

View File

@ -287,6 +287,7 @@
<tr><td>elem3.js</td><td>Adds all elements and combinations from Elemental 3 [Very Large]</td><td>Sophie</td></tr>
<tr><td>fools+.js</td><td>improves and makes fools.js EXTREMELY annoying.</td><td>SquareScreamYT</td></tr>
<tr><td>funny elements 2022-11-15.js</td><td>Adds a few curated randomly-generated elements</td><td>Alice</td></tr>
<tr><td>funnynames.js</td><td>Adds various ways to mess with the names of elements</td><td>nousernamefound</td></tr>
<tr><td>funny_solid.js</td><td>Adds feces</td><td>Alice</td></tr>
<tr><td>haseulite.js</td><td>Adds Loona-related materials with various properties</td><td>Alice</td></tr>
<tr><td>lactose_intolerance_and_celiac.js</td><td>Makes humans explode on contact with milk, wheat, bread, or toast</td><td>Nubo318</td></tr>

View File

@ -1722,7 +1722,7 @@ elements.pn_explosion = {
elements.smasher = {
color: "#606060",
behavior: behaviors.WALL,
category: "machines",
category: "deprecated",
tick: function(pixel){
for (var i = 0; i < squareCoords.length; i++) {
var coord = squareCoords[i];
@ -1735,11 +1735,13 @@ elements.smasher = {
}
},
movable: false,
hidden: true
},
/*
elements.mixer = {
color: "#F0F0F0",
behavior: behaviors.WALL,
category: "machines",
category: "deprecated",
tick: function(pixel){
pixel.mixList = [];
for (var i = 0; i < squareCoords.length; i++) {
@ -1767,7 +1769,9 @@ elements.mixer = {
},
movable: false,
noMix: true,
hidden: true,
},
*/
elements.invisiblesupport = {
color: "#000000",
behavior: behaviors.WALL,
@ -2898,4 +2902,15 @@ elements.specific_ray_emitter = {
}
},
insulate: true,
}
elements.run_some_code = {
color: "#68b2cf",
category: "tools",
canPlace: false,
onSelect: function(){
let code = prompt("Enter code to run")
if (code){
eval(code)
}
}
}