All Projects → younggam → multi-lib

younggam / multi-lib

Licence: GPL-3.0 License
Mindustry library mod that contains multicrafter scripts

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to multi-lib

Ohno-Missiles
With the new ballistic missile, you can nuke the enemies with various missile silos.
Stars: ✭ 90 (+210.34%)
Mutual labels:  mod, mindustry, mindustry-mod
prog-mats-js
Adds a bunch of scripted stuff. The name definitely isn't synonyms of Advance Content.
Stars: ✭ 35 (+20.69%)
Mutual labels:  mod, mindustry, mindustry-mod
mindustry-extended
A content extension mod for the game Mindustry.
Stars: ✭ 55 (+89.66%)
Mutual labels:  mod, mindustry, mindustry-mod
lead ind
Mindustry mod - new drills, liquids and more
Stars: ✭ 48 (+65.52%)
Mutual labels:  mod, mindustry, mindustry-mod
The-End-Is-Nigh
A mod for expanding end game Mindustry .
Stars: ✭ 19 (-34.48%)
Mutual labels:  mod, mindustry, mindustry-mod
prog-mats-java
A java Mindustry mod. Just me making random stuff.
Stars: ✭ 59 (+103.45%)
Mutual labels:  mod, mindustry, mindustry-mod
Opore-Mod
On steam: https://steamcommunity.com/sharedfiles/filedetails/?id=1903525208
Stars: ✭ 29 (+0%)
Mutual labels:  mod, mindustry, mindustry-mod
HackerTools
HackerTools :: A simple mod for Mindustry that adds some "hacker" things.
Stars: ✭ 30 (+3.45%)
Mutual labels:  mod, mindustry, mindustry-mod
Gravillaso
Mod on Mindustry V7 | GRavillaso by NiTiS & NickName73
Stars: ✭ 31 (+6.9%)
Mutual labels:  mod, mindustry, mindustry-mod
AutoUpdater
AutoUpdater :: Automatic Mindustry updater mod.
Stars: ✭ 12 (-58.62%)
Mutual labels:  mod, mindustry, mindustry-mod
testing-utilities-js
Just some small utilities for sandbox/modding
Stars: ✭ 18 (-37.93%)
Mutual labels:  mod, mindustry, mindustry-mod
MindustryClassicified
MindustryClassicified :: A Mindustry mod to return the graphics to 3.5
Stars: ✭ 15 (-48.28%)
Mutual labels:  mod, mindustry, mindustry-mod
ExampleMod
You can use multiple lib to enjoy optional additional content, so if you like, press F8 to download recommended modes, and enjoy additional content.
Stars: ✭ 44 (+51.72%)
Mutual labels:  mindustry, mindustry-mod
Manufacry-kt
Manufacturing based mod for Mindustry
Stars: ✭ 13 (-55.17%)
Mutual labels:  mindustry, mindustry-mod
dimension-shard
A Mindustry Mod that Keep balance with the original game, contains some interesting mechanics, such as skills, another transportation systems or other things.
Stars: ✭ 24 (-17.24%)
Mutual labels:  mindustry, mindustry-mod
reVision
The other way around
Stars: ✭ 119 (+310.34%)
Mutual labels:  mindustry, mindustry-mod
The-Biggest-Mod
This repository created for mindustry mod.
Stars: ✭ 28 (-3.45%)
Mutual labels:  mindustry, mindustry-mod
Esoterum
Mindustry java mod that adds a redstone-like wire-based logic system, tailored for making circuits.
Stars: ✭ 35 (+20.69%)
Mutual labels:  mindustry, mindustry-mod
Sapphirium
This mod adds a lot of additional content.
Stars: ✭ 33 (+13.79%)
Mutual labels:  mindustry, mindustry-mod
DustryX
More more content for you
Stars: ✭ 24 (-17.24%)
Mutual labels:  mindustry, mindustry-mod

multi-lib

Mindustry library mode that contains multicrafter scripts Support over Mindustry 6.0 version.

What you can do with this library

  1. Set multiple recipes in your crafter
  2. Every input, output, craftTime can be differed
  3. Selection table for which recipe to be enabled
  4. Crafter can act as power generator according to recipe settings
  5. Extensible block and entity function

notice

I serve militery because of korean duty. This mod won't be updated well. As crafter-related things aren't change much in mindustry, this mod won't be oudated fastly

How to use

you must add dependencies:["multi-lib"] in mod.json in your mode

example code

const multiLib=require("multi-lib/library");
//you can use GenericSmelter instead GenericCrafter
//also GenericSmelter.SmelterBuild instead GenericCrafter.GenericCrafterBuild
//                                                                           ▼this has to be same with .json file name
//
const multi=multiLib.MultiCrafter(GenericCrafter,GenericCrafter.GenericCrafterBuild,"multi",[
    /*default form for each recipes. You can change values.
    {
        input:{
            items:[],     Modded Item:  "mod-name-item-name/amount", Vanilla Item: "item-name/amount"
            liquids:[],   Modded Liquid:  "mod-name-liquid-name/amount",  Vanilla liquid: "liquid-name/amount"
            power:0,
        },
        output:{
            items:[],
            liquids:[],
            power:0,
        },
        craftTime:80,
    },*/
    {//1  you can skip recipe properties
        output:{
            power:5.25
        },
        craftTime:12
    },
    {//2
        input:{
            items:["coal/1","sand/1"],
            liquids:["water/5"],
            power:1
        },
        output:{
            items:["thorium/1","surge-alloy/2"],
            liquids:["slag/5"],
        },
        craftTime:60
    },
    {//3
        input:{
            items:["pyratite/1","blast-compound/1"],
            liquids:["water/5"],
            power:1
        },
        output:{
            items:["scrap/1","plastanium/2","spore-pod/2"],
            liquids:["oil/5"],
        },
        craftTime:72
    },
    {//4
        input:{
            items:["sand/1"],
        },
        output:{
            items:["silicon/1"],
        },
        craftTime:30
    },
],{
    /*you can customize block here. ex) load()*/
},
/*this is Object constructor. This way is much better than literal way{a:123}
you can replace this with {} if you don't want to modify entity*/
function Extra(){
    /*you can use customUpdate=function(){}. this function excuted before update()
    also this.draw=function(){}
    you can customize entity here.
    ex)
    this._myProp=0;
    this.getMyProp=function(){
        return this._myProp;
    };
    this.setMyProp=function(a){
        this._myProp=a;
    };*/
});
/*
YOU MUST NOT MODIFY VALUE OF THESE
configurable
outputsPower
hasItems
hasLiquids
hasPower
*/
//using example without .json file. I don't recommand this way because you can't use mod item as requirements.
multi.localizedName="multi";
multi.description="multi";
multi.itemCapacity= 30;
multi.liquidCapacity= 20;
multi.size= 4;
multi.health= 100;
multi.craftEffect= Fx.pulverizeMedium;
multi.updateEffect=Fx.none;
/*true: dump items and liquids of output according to button
false: dump items and liquids of output unconditionally*/
multi.dumpToggle=false;
multi.requirements(Category.crafting,ItemStack.with(Items.copper,75));

ScreenShots

제목 없음64 제목 없음44 제목 없음43 제목 없음42 제목 없음41 제목 없음40 제목 없음39 제목 없음234

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].