mt-mods / vacuum

minetest vacuum mod
Other
2 stars 7 forks source link
minetest mod space vacuum

Minetest vacuum

luacheck

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:

Compatibility

Optional dependencies:

Tested mods:

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

Attributions