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

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated Mining

Introduces mines, workstations for renewable resources.

Join the Discord Thread!

Features

  • v0.0.7 Added French
  • v0.0.6 Added stone blocks
  • v0.0.5 Added new ores, flint, and new stone types
  • v0.0.4 Added clay, sand, and dirt excavation
  • v0.0.4 Created QOL wrapper (with mod compatibility support, see below)

Issues

  • v0.0.7 Updated for game version 0.5
  • v0.0.61 Fixed game crashing when multi-selecting unbuilt mines
  • v0.0.6 Fixed recipes that didn't use the correct skills
  • v0.0.5 Fixed game crashing when multi-selecting mines
  • 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

Releases

No releases published

Packages

No packages published

Languages