Skip to content

Introduces mines, a workstation for renewable resources.

Notifications You must be signed in to change notification settings

earmuffins/automated-mining

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated Mining

Introduces a workstation for renewable resources.

Join the Discord Thread!

v0.0.71

  • Updated for game version 0.6.1

v0.0.7

  • Updated for game version 0.5
  • Added French

v0.0.61

  • Fixed game crashing when multi-selecting unbuilt mines

v0.0.6

  • Added stone blocks
  • Fixed recipes that didn't use the correct skills

v0.0.5

  • Added new ores, flint, and new stone types
  • Fixed game crashing when multi-selecting mines

v0.0.4

  • Added clay, sand, and dirt excavation
  • Created QOL wrapper (with mod compatibility support, see below)

Known Issues:

  • Ladder and mineshaft disappear once a mine is constructed

Mod Support

Adding your own resources is recommended in your craftable.lua shadow:

function mod:onload(craftable)
    local super_load = craftable.load
    craftable.load = function(craftable_, gameObject, flora)
        super_load(craftable_, gameObject, flora)

        local am = gameObject.automatedMining
        if am then
            am:addMineResource("mithrilOre", {
                name = "Mithril Ore",
                summary = "Usually only obtainable by raiding dwarven foundries or befriending old hobbits.",
            })
        end

        -- Do your thing down here
    end
end

About

Introduces mines, a workstation for renewable resources.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages