Skip to content

coil0/vacuum

 
 

Repository files navigation

Minetest vacuum

Vacuum implementation and blocks for pumping and detection of vacuum and air

Operation

The space/vacuum starts at 1000 blocks in the y axis (hardcoded in init.lua)

The mod defines an airlike vacuum:vacuum block which suffocates the player (with drowning=1). An spacesuit or similar would help to survive in space.

Air can be pumped in to any closed structure with an airpump (vacuum:airpump). the airpump needs air-bottles to work in vaccum. Air-bottles can be filled with an airpump on the ground. Just place empty steel bottles in an airpump on the ground, enable it and it produces an airbottle every few seconds.

Vacuum propagation

The vacuum sucks air out of every structure if there are leaky nodes (doors, wool, wood, etc; defined in abm.lua)

A vacuum node in a pressurized area can suck out the whole structure.

Other nodes in space

Vacuum exposure on nodes:

  • Dirt converts to gravel
  • All plants convert to dry shrubs
  • Leaves disappear
  • Water evaporates
  • Torches and ladders drop (to prevent air bubbles/cheating)

Compatibility

Optional dependencies:

  • Mesecon interaction (enable/disable airpump)
  • Pipeworks

Tested mods:

  • digtron
  • technic (quarry, solar)

Crafting

TODO

Screenshots

Air pump:

Hole in the structure (leaking air):

Hole from outside:

Attributions

History

Version 0.1

  • Initial release

About

minetest vacuum mod

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 100.0%