Mod/nirmod.js
< Mod(Redirected from Mods/nirmod.js)
Jump to navigation
Jump to search
nirmod.js is a Sandboxels mod created by TheEgglet. It is a generic mod that adds a few overall elements. It is slightly themed on Nirmoll. Nirmod currently adds 11 elements, 3 of which are hidden.
Additions
Hidden elements
Technical
Nirmod uses a different, class-based way to create elements:
const Em = new Type("emerald"); Em.setColor(["#30e389", "#3ac98c", "#b3ffd6", "#5fd9c5"]); Em.behavior = bb.POWDER; Em.category = cat.POWDERS; Em.state = state.SOLID; Em.density = 2750; Em.Add();
In Nirmod element pages, you can see an element identifier: Nirme (Ni). This is the two-letter (or three-letter in case of state elements) ID used in the mod's source code to shorten element creation.