Code Monkey home page Code Monkey logo

Comments (6)

MarcelloNicoletti avatar MarcelloNicoletti commented on August 27, 2024

It could compare each slot in its inventory to the first and if there is a mis-match it could spit out that slot, which would require the first slot to be occupied so a minor rewrite of the code to make sure the first slot is filled. I don't know what kind of slow downs this might cause. Maybe it should only do the full inventory check at first execution and when it has to mine a block.

from shape-builder.

Keridos avatar Keridos commented on August 27, 2024

Well easiest way would be to instadrop all material mined.

from shape-builder.

Keridos avatar Keridos commented on August 27, 2024

another idea: check for refuel after a block was placed
instead of doing it before it places. would ensure that no dig command is issued before

from shape-builder.

MarcelloNicoletti avatar MarcelloNicoletti commented on August 27, 2024

placing a block uses fuel?

from shape-builder.

Keridos avatar Keridos commented on August 27, 2024

no, wanted to say check for resources. i fixed the issue just by comparing the currently selected block vs slot 1, and 1 item is being left on each stack to ensure that it can be compared. wrong items are automatically ejected.

from shape-builder.

MarcelloNicoletti avatar MarcelloNicoletti commented on August 27, 2024

ok

from shape-builder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.