Skip to content

Instantly share code, notes, and snippets.

View liamerkulskole-dev's full-sized avatar

liamerkulskole-dev

  • Joined Apr 30, 2026
View GitHub Profile
// Mod: Ultimate Expansion Pack
// Adds Better Humans, Super Bees, Plasma, Dark Matter, and varied items.
// 1. Better Humans & Life
elements.human_advanced = {
color: ["#e0ac69", "#8d5524", "#c68642", "#f1c27d", "#ffdbac"],
behavior: behaviors.POWDER,
reactions: {
"water": { elem1: null, elem2: "human_advanced", chance: 0.01 },
"food": { elem1: null, elem2: "human_advanced", chance: 0.1 },
// Sandboxels Physics Toggle Mod - Reset Button Version
(function() {
// 1. The function that changes the physics
function applyGlobalPhysics(type) {
for (const name in elements) {
const el = elements[name];
if (type === "gravity") {
el.movable = true;
el.behavior = behaviors.POWDER;
} else if (type === "solid") {
// Sandboxels Physics Toggle Mod - V2
(function() {
function setGlobalPhysics(type) {
for (const name in elements) {
const el = elements[name];
if (type === "gravity") {
el.movable = true;
el.behavior = behaviors.POWDER;
} else {
el.movable = false;
// Sandboxels Physics Toggle Mod
function setGlobalPhysics(type) {
for (const name in elements) {
const el = elements[name];
if (type === "gravity") {
el.movable = true;
el.behavior = behaviors.POWDER;
} else {
el.movable = false;
el.behavior = behaviors.WALL;
// Sandboxels Physics Changer Mod
// Places buttons directly in the element category menu
function applyGlobalPhysics(mode) {
for (const name in elements) {
const el = elements[name];
if (el.excludeFromPhysicsMod) continue; // Skip elements we don't want to break
if (mode === "gravity") {
el.movable = true;