Skip to content

Instantly share code, notes, and snippets.

@mrtopf mrtopf/baseconfig.zs
Created Nov 16, 2016

Embed
What would you like to do?
Example BASE config file in config/ACRONYM/BASE/
import com.acronym.base.IMaterialType;
var bs = mods.base.Materials.getOrRegister("Bullshit", 20, 875321, false);
var bsblock = mods.base.Materials.getOrRegister("Bullshit Block", 25, 875321, false);
var bsingot = mods.base.Materials.getOrRegister("Bullshit Ingot", 21, 875321, false);
var bsdust = mods.base.Materials.getOrRegister("Bullshit Dust", 22, 875321, false);
var bsnugget = mods.base.Materials.getOrRegister("Bullshit Nugget", 23, 875321, false);
var bsgear = mods.base.Materials.getOrRegister("Bullshit Gear", 24, 875321, false);
var bsplate = mods.base.Materials.getOrRegister("Bullshit Plate", 0, 875321, false);
bs.registerOre(3,5,"pickaxe", 3);
bsblock.registerBlock(3,7,"pickaxe", 3);
bsingot.registerIngot();
bsdust.registerDust();
bsnugget.registerNugget();
bsgear.registerGear();
bsplate.registerPlate();
# import com.acronym.base.IMaterialType;
# var type = mods.base.Materials.getOrRegister("name", metaNum, int color, Should It Glow True/False);
# type.registerNugget();
# type.registerIngot();
# type.registerDust();
# type.registerGear();
# type.registerPlate();
# type.registerOre(float, float, "toolString", Int);
# type.registerBlock(float, float, "toolString", Int);
# hardness, resistance, toolclass, tooltier
@mrtopf

This comment has been minimized.

Copy link
Owner Author

commented Nov 16, 2016

Result: http://prnt.sc/d7wqq0

(plate missing for some reason)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.