Skip to content

TurkeyMcMac/area_containers

Repository files navigation

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).

The Esperanto translation is by jolesh.

About

A mod for Minetest that adds nodes which contain areas.

Topics

Resources

License

LGPL-3.0, GPL-3.0 licenses found

Licenses found

LGPL-3.0
COPYING.LESSER
GPL-3.0
COPYING

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages