[Mod] vacuum [git] [0.1] [vacuum]

BuckarooBanzay
Member
 
Posts: 62
Joined: Tue Apr 24, 2018 05:58
Location: Switzerland
GitHub: thomasrudin-mt
In-game: BuckarooBanzai

[Mod] vacuum [git] [0.1] [vacuum]

by BuckarooBanzay » Tue May 29, 2018 09:30

Vacuum mod for minetest


Releases

Version 0.1:

Goes along great with the jumpdrive mod:
https://forum.minetest.net/viewtopic.php?f=9&t=20073

Or the spacesuit:
https://git.rudin.io/minetest/spacesuit

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 airtank or similar would help to survive in space: https://github.com/minetest-mods/airtanks


Air can be pumped in to any closed structure with an airpump (vacuum:airpump). The airpump works in impulse mode, so if you have your airthight structure you can flush it with air (or mesecon signal)

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 (execute pump on signal)
  • Technic rechargeable (HV)

Mesecon Protip: Use mesecon-detector to detect vacuum and auto-close areas with sticky pistons (airlock)

License

Code: LGPL 2.1
Textures: CC0

Screenshots

Airpump:

Image


Hole in the structure:

Image


Hole from outside:

Image

Mesecon/technic:

Image
Last edited by BuckarooBanzay on Thu Jul 19, 2018 08:19, edited 3 times in total.
 

User avatar
false_chicken
Member
 
Posts: 51
Joined: Wed Feb 04, 2015 23:41
Location: Florida, USA
GitHub: falsechicken
In-game: false_chicken

Re: [Mod] vacuum [git] [vacuum]

by false_chicken » Tue May 29, 2018 10:13

This works really well. I built an airlock using mesecons with sticky pistons and it worked exactly as I expected.
DISCLAIMER: I am probably wrong.
 

User avatar
paramat
Developer
 
Posts: 3179
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat
 

BuckarooBanzay
Member
 
Posts: 62
Joined: Tue Apr 24, 2018 05:58
Location: Switzerland
GitHub: thomasrudin-mt
In-game: BuckarooBanzai

Re: [Mod] vacuum [git] [vacuum]

by BuckarooBanzay » Sun Jun 03, 2018 19:19

Yes, i did my research :)
I also looked into the code from mars-survive but the solutions were pretty integrated.

This aims to be a modular, standalone solution for vacuum/space based survival

Did you have time to test it, i'm open for feedback...

paramat wrote:Nice, i did something similar in my moonrealm mod https://github.com/paramat/moonrealm
 

User avatar
paramat
Developer
 
Posts: 3179
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat

Re: [Mod] vacuum [git] [vacuum]

by paramat » Sun Jun 03, 2018 22:56

Not yet, i can see how it works and in some ways it is better than my approach and i can learn from it.
 

BuckarooBanzay
Member
 
Posts: 62
Joined: Tue Apr 24, 2018 05:58
Location: Switzerland
GitHub: thomasrudin-mt
In-game: BuckarooBanzai
 

User avatar
Festus1965
Member
 
Posts: 296
Joined: Sun Jan 03, 2016 11:58
Location: Thailand - Chiang Mai (+5-6h to MEZ)
In-game: Thomas Explorer

Re: [Mod] vacuum [git] [0.1] [vacuum]

by Festus1965 » Fri Jun 15, 2018 16:34

I am interested ... as a solution for the space area.

I think about make all area over 25000 nodes to vacuum items, even without the pump, but would need the other direction to get my spaceship with air to breath ... could even build a real air lock gate to get in or out ... here with hazemat or get a problem.

yes I could use WorldEdit then and set, as using the mod and activate the vacuum item, all areas over 25000 in vacuum.

Yes nice, I like that Idea from the base,
even maybe build safety rooms on the surface, where no one should go in and keep it airfree (vacuum).

What is happening when i open then a normal door between vacuum and air ?
(yes nothing yet ... i guess both items stand on there position)

But maybe some further ideas.

Go on, you get a plus already ! i check it out next.
 


Return to Mod Releases



Who is online

Users browsing this forum: casio33, Dan2018 and 3 guests