mod
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tuedel 2180c792b4 Add group:flow_through to leaky nodes 1 year ago
.github/workflows workflow 2 years ago
screenshots first screenshots 3 years ago
sounds added sounds and fixed airpump chargin on ground 3 years ago
textures new textures from ManElevation (attributed) 3 years ago
util separate physics parts into files / add settings for mapgen and physics 1 year ago
.luacheckrc luacheck 2 years ago
airbottle.lua fix #8 3 years ago
airpump.lua add empty bottles after flush 2 years ago
airpump_abm.lua modules 2 years ago
airpump_functions.lua add empty bottles after flush 2 years ago
common.lua separate physics parts into files / add settings for mapgen and physics 1 year ago
compat.lua cleanup/compat 2 years ago
depends.txt digilines command 2 years ago
digilines.lua digilines command 2 years ago
dignode.lua dignode / abm 3 years ago
init.lua separate physics parts into files / add settings for mapgen and physics 1 year ago
license.txt license 3 years ago
mapgen.lua default to no-vacuum if one corner is not in space 1 year ago
physics_drop.lua separate physics parts into files / add settings for mapgen and physics 1 year ago
physics_leakage.lua Add group:flow_through to leaky nodes 1 year ago
physics_plants.lua separate physics parts into files / add settings for mapgen and physics 1 year ago
physics_propagation.lua rewrite vacuum propagation 1 year ago
physics_soil.lua separate physics parts into files / add settings for mapgen and physics 1 year ago
physics_sublimation.lua separate physics parts into files / add settings for mapgen and physics 1 year ago
readme.md separate physics parts into files / add settings for mapgen and physics 1 year ago
spacesuit.lua spacesuit repair recipe 2 years ago
vacuum.lua re-enable light 2 years ago

readme.md

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). A 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)
  • Digilines
  • Pipeworks
  • Spacesuit

Tested mods:

  • digtron
  • technic (quarry, solar)

Digilines

The airpump can be operated with the digilines mod:

-- flush room
digiline_send("airpump", { command="flush" })

-- enable pump
digiline_send("airpump", { command="enable" })

-- disable pump
digiline_send("airpump", { command="disable" })

Contributors

Settings

  • vacuum.disable_physics if set, disables all abm-physics
  • vacuum.disable_mapgen if set, disables the vacuum mapgen
  • vacuum.debug enable debug mode (cobblestone gets placed on leaks)

Attributions