Giter VIP home page Giter VIP logo

area_containers's Introduction

area_containers

The outside and inside of an area container

ContentDB

This is a mod for Minetest. It implements an "area container," that is, a node that holds an area in which you can walk around and build stuff. The structures in the container can communicate with the outside using Mesecons and/or Digilines*. Items can pass in and out through tubes from the Pipeworks mod.

* Digilines can only be used if the "mesecons" mod is also enabled.

Locking

Area containers can be locked. To do so, first craft a lock. Then punch a container with the lock (you must be either the one who built the container or one able to bypass protection.)

If a container is unowned and you can bypass protection, you can claim it by locking it.

To let other people in, first craft a blank key. Then punch your container with the key, binding the key to the container. Other people can enter the container while holding the key. The container contents themselves are not protected in any way.

You can unlock your container by punching it with your bare hand. You must remove the lock before breaking the container. All keys to the container will continue to work even if you uninstall and reinstall the lock.

Caveats

  • Due to an unfortunate technical limitation, area containers cannot be moved by pistons.
  • This mod does not load the insides of containers without players in them. If you need this feature, you can use the world anchor node from Technic.
  • While a container is not diggable until you empty it of nodes and objects, other mods may let you pick it up in order to move it. Doing so will probably lead to loss of the contents.
  • Only up to 65535 containers may exist at any one time.

Licenses

Source code

The source code of this project is licensed under the LGPL v3 (or later,) as stated in the source code files themselves.

Images and other files not otherwise licensed

These files are licensed under a CC BY-SA 3.0 license.

They are also under the same copyright as the source files:

Copyright © 2021 Jude Melton-Houghton

Attribution

As detailed at the top of misc.lua, some of the code in misc.lua is adapted from the Minetest project itself.

The translations for French, German, Spanish, and Welsh are by David Houghton (dfhoughton).

area_containers's People

Contributors

turkeymcmac avatar dfhoughton avatar

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.