[Mod]Oxygenerators and more!! [5.0][oxygenerators]

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

[Mod]Oxygenerators and more!! [5.0][oxygenerators]

by ManElevation » Post

Heyaii!
this mod gives breath at all times when you are inside its radius, you can see the radius by punching the machine just like in protector mod.

there is a small one with a radius of 5 and a big one with a radius of 26!
This mod is great for water or space bases.

without this you cant live in space!
(oxygenerators and 3d oxygenerators are 2 different mods!)
You can find this mod at DistrictPvp
Oxygenerators:
Image
3d Oxygenerators (2 different mods)
Image
Oxygenerators in space!
Image
Mover:
Image
+ Spoiler
Dependencies: default
License: MIT
For more info read README.md

Where this mod is used (did i miss you?):
  • DistrictPvP
  • BlazeCraft
  • Chippy's Survival Server
if you have basic_machines replace this code from the oxygenerator/init.lua at the end (without this the mods are incompatible)

Code: Select all

-- Space! 
local function is_populated(pos)
    if minetest.find_node_near(pos, 5, {"oxygenerator:oxygenerator_small"}) ~= nil or
        minetest.find_node_near(pos, 26, {"oxygeneratorbig:oxygenerator_big"}) ~=nil then
        return true
    else
        return false
    end
end

space_timer=0

minetest.register_globalstep(function(dtime)
    space_timer=space_timer + dtime;
    if space_timer>1 then
        space_timer=0
        for _,player in ipairs(minetest.get_connected_players()) do
            local pos=player:get_pos()
            if pos.y>=1100 then
                    player:set_sky({r=0, g=0, b=0},"skybox",{"sky_pos_y.png","sky_neg_y.png","sky_pos_z.png","sky_neg_z.png","sky_neg_x.png","sky_pos_x.png"})
                    if not is_populated(pos) then
                        local hp = player:get_hp()
                       local privs = minetest.get_player_privs(player:get_player_name());
                        if hp>0 and not privs.oxygenerator then
                            player:set_hp(hp-1)
                    end
                end
            end
        end
    end
end)
Github 5.2:https://github.com/ManElevation/oxygenerators5.2
Download:https://github.com/ManElevation/oxygene ... master.zip
+ Spoiler
Last edited by ManElevation on Sat Dec 01, 2018 21:48, edited 36 times in total.
My Public Mods! Discord: Rottweiler Games#3368

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod] Oxygenerator [oxygenerator]

by ManElevation » Post

Update!
now there is a Indrustial Oxygenerator (bigoxygenerator) witch has a radius of 26!

Coming soon!:
  • space! - space images
  • not been able to breath in space like in water (space starts at y:1100)
Last edited by ManElevation on Sun Jul 22, 2018 21:34, edited 2 times in total.
My Public Mods! Discord: Rottweiler Games#3368

Natechip
Member
Posts: 19
Joined: Sat Jun 10, 2017 19:33
GitHub: NatechipMT
IRC: Natechip Natechip_ Natechip__
In-game: Natechip 2totwo Chippy

Re: [Mod] Oxygenerator [oxygenerator]

by Natechip » Post

ManElevation wrote:Update!
now there is a Indrustial Oxygenerator (bigoxygenerator) witch has a radius of 26!
Comming soon:
space!
not been able to breath in space like in water (y:1100)
space images
Awesome sauce!
Discord: Nathan11#1777 (DM me there) GitHub: https://github.com/NatechipMT

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod] Oxygenerators [oxygenerators]

by ManElevation » Post

Added 3d oxygenerators:
oxygenerators and 3d oxygenerators are 2 different mods!
Image
My Public Mods! Discord: Rottweiler Games#3368

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod] Oxygenerators [oxygenerators]

by ManElevation » Post

Update!
now you cant live in space without being in the oxygenerator radius!
Image
All thanks to GreenDiamond and AiTechEye

Coming soon!:
  • new textures for oxygenerators!
  • oxygenerator hud indicator!
  • Another oxygenerators that are locked so only the owner and the players on the list can get breath, this ones will be expensive, just like chest and protected chest!
Edit: particles also coming soon!
Last edited by ManElevation on Thu Jul 26, 2018 13:52, edited 1 time in total.
My Public Mods! Discord: Rottweiler Games#3368

Natechip
Member
Posts: 19
Joined: Sat Jun 10, 2017 19:33
GitHub: NatechipMT
IRC: Natechip Natechip_ Natechip__
In-game: Natechip 2totwo Chippy

Re: [Mod] Oxygenerators [oxygenerators]

by Natechip » Post

awesome man!
Discord: Nathan11#1777 (DM me there) GitHub: https://github.com/NatechipMT

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod] Oxygenerators [oxygenerators]

by ManElevation » Post

Update 2.0!
Things done!:
  • New textures!
  • Added Particles!
  • Fixed all known bugs!
Image
Coming soon!:
  • oxygenerator hud indicator!
  • Protected Oxygenerator: right click to open formspec were u can add people so they get breath would work like protectors but isted of not letting people build it would not give players breath
Any ideas for future updates?
My Public Mods! Discord: Rottweiler Games#3368

Natechip
Member
Posts: 19
Joined: Sat Jun 10, 2017 19:33
GitHub: NatechipMT
IRC: Natechip Natechip_ Natechip__
In-game: Natechip 2totwo Chippy

Re: [Mod] Oxygenerators [oxygenerators]

by Natechip » Post

ManElevation wrote:Update 2.0!
Things done!:
  • New textures!
  • Added Particles!
  • Fixed all known bugs!
Image
Coming soon!:
  • oxygenerator hud indicator!
  • Protected Oxygenerator: right click to open formspec were u can add people so they get breath would work like protectors but isted of not letting people build it would not give players breath
Any ideas for future updates?
new textures are awesome buddy :D
Discord: Nathan11#1777 (DM me there) GitHub: https://github.com/NatechipMT

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod] Oxygenerators [oxygenerators]

by ManElevation » Post

Natechip wrote:new textures are awesome buddy :D
haha thx, found a few textures with good licenses and re worked them alot
My Public Mods! Discord: Rottweiler Games#3368

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod] Oxygenerators [oxygenerators]

by ManElevation » Post

Small update!
fixed a few bugs i found, havent found any more.
and i added again the oxygenerator priv as it was removed on 2.0 because of a few bugs, all fixed now.

The oxygenator priv allows the player to be able to breath in space without the need of an oxygenerator
My Public Mods! Discord: Rottweiler Games#3368

MyJail
New member
Posts: 2
Joined: Sun Aug 12, 2018 16:33
IRC: zking
In-game: zking

Re: [Mod] Oxygenerator [oxygenerator]

by MyJail » Post

ManElevation wrote:Update!
now there is a Indrustial Oxygenerator (bigoxygenerator) witch has a radius of 26!

Coming soon!:
  • space! - space images
  • not been able to breath in space like in water (space starts at y:1100)
That's cool!i loved it

MyJail
New member
Posts: 2
Joined: Sun Aug 12, 2018 16:33
IRC: zking
In-game: zking

Re: [Mod] Oxygenerators [oxygenerators]

by MyJail » Post

It is actually more than cool, the best oxygenator!!

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod] Oxygenerators [oxygenerators]

by ManElevation » Post

Image
My Public Mods! Discord: Rottweiler Games#3368

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod] Oxygenerators [oxygenerators]

by ManElevation » Post

Update 3.0!
Things done!:
  • new crafts
  • added a air tank: works like an apple but insted of giving health it gives breath!
  • fixed the skybox problem!
Image
Image
Image
Coming soon!:
  • oxygenerator hud indicator!
  • Another oxygenerators that are locked so only the owner and the players on the list can get breath, this ones will be expensive, just like chest and protected chest!
Any ideas for other machines?
Edit: new feature for oxygenerators comming soon, they will need fuel to work
My Public Mods! Discord: Rottweiler Games#3368

_Zee_
New member
Posts: 4
Joined: Thu Aug 10, 2017 20:52
IRC: Zee
In-game: Zee
Location: USA

Re: [Mod] Oxygenerators [oxygenerators]

by _Zee_ » Post

+1
I like the addition of the tanks. Now space isn't just be a pretty place to go. Always appreciate challenges.

Edit: For an idea, space is a cold place to be. Maybe a temperature regulator?

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod] Oxygenerators [oxygenerators]

by ManElevation » Post

_Zee_ wrote:+1
I like the addition of the tanks. Now space isn't just be a pretty place to go. Always appreciate challenges.

Edit: For an idea, space is a cold place to be. Maybe a temperature regulator?
thx for the suggestion but i dont really like the idea
My Public Mods! Discord: Rottweiler Games#3368

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod]Oxygenerators in Space! [3.0][oxygenerators]

by ManElevation » Post

Update 4.0!
Things done!:
  • New generator that generates fuel for the oxygenator! (requesting a generator texture)
  • Small oxygenerator now needs fuel to run (the big one doesn't).
  • Indrustial oxygenerator craft is now disabled.
  • Admin oxygenerator that doesn't need fuel
  • Air tanks don't give breath anymore when used on hand
Fuel that is generated by the generator:
Image
Oxygenerator now needs fuel to run
Image
Generator.... Please someone make me a better texture
Image
Coming soon!:
  • oxygenerator hud indicator!
  • Flygenerator: you could only fly in its radius
  • Healthgenerator: gives health in its radius (craft will be disabled as default)
  • pump: takes water out of places (this might be a different mod)
Any ideas for future updates?
Last edited by ManElevation on Sun Sep 16, 2018 16:05, edited 1 time in total.
My Public Mods! Discord: Rottweiler Games#3368

User avatar
bosapara
Member
Posts: 574
Joined: Fri Apr 07, 2017 08:49
GitHub: bosapara
Contact:

Re: [Mod]Oxygenerators in Space! [4.0][oxygenerators]

by bosapara » Post

add this

Code: Select all

paramtype = "light",
to

Code: Select all

minetest.register_node("oxygenerator:oxygenerator_small_active",
or selecting will be with black color instead red

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod]Oxygenerators in Space! [4.0][oxygenerators]

by ManElevation » Post

bosapara wrote:add this

Code: Select all

paramtype = "light",
to

Code: Select all

minetest.register_node("oxygenerator:oxygenerator_small_active",
or selecting will be with black color instead red
alright thank you.
My Public Mods! Discord: Rottweiler Games#3368

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod]Oxygenerators in Space! [4.0][oxygenerators]

by ManElevation » Post

Move exciting machines coming soon!
Image
hud in screenshot? viewtopic.php?f=9&t=20381
My Public Mods! Discord: Rottweiler Games#3368

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod]Oxygenerators and more!! [4.0][oxygenerators]

by ManElevation » Post

Update 4.2!
Things done!:
  • New generator texture by ManElevation
  • Indrustial oxygenerator is now removed you can still download it in 4.0 or earlier
Image
Coming soon!:
  • oxygenerator hud indicator! (this will be done after the fly and health generators)
  • Flygenerator: you could only fly in its radius (almost done!)
  • Healthgenerator: gives health in its radius (craft will be disabled as default) (probably coming out next update)
Any ideas for future updates?
My Public Mods! Discord: Rottweiler Games#3368

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod]Oxygenerators and more!! [4.2][oxygenerators]

by ManElevation » Post

Update 5.0!
Things done!:
  • New hp generator added: gives full health every diamond (diamonds are use as fuel)
need inv formspec ideas for the hp generator!
Image
Coming soon!:
  • oxygenerator hud indicator! (this will be done after the fly and health generators)
  • Flygenerator: you could only fly in its radius (almost done!)
Any ideas for future updates?
My Public Mods! Discord: Rottweiler Games#3368

User avatar
BuckarooBanzay
Member
Posts: 367
Joined: Tue Apr 24, 2018 05:58
GitHub: BuckarooBanzay
IRC: BuckarooBanzai
In-game: BuckarooBanzai

Re: [Mod]Oxygenerators and more!! [4.2][oxygenerators]

by BuckarooBanzay » Post

ManElevation wrote:Update 5.0!
Things done!:
  • New hp generator added: gives full health every diamond (diamonds are use as fuel)
need inv formspec ideas for the hp generator!
Image
Coming soon!:
  • oxygenerator hud indicator! (this will be done after the fly and health generators)
  • Flygenerator: you could only fly in its radius (almost done!)
Any ideas for future updates?
Nice textures :)
The HP-Generator looks like the swiss flag, is that intentional?

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod]Oxygenerators and more!! [4.2][oxygenerators]

by ManElevation » Post

BuckarooBanzay wrote: Nice textures :)
The HP-Generator looks like the swiss flag, is that intentional?
no, it's not intentional dint realized that it looks like the Swiss flag, might tweak the texture a bit.

thanks for letting me know
My Public Mods! Discord: Rottweiler Games#3368

User avatar
ManElevation
Member
Posts: 896
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation
Location: Madrid,Spain

Re: [Mod]Oxygenerators and more!! [5.0][oxygenerators]

by ManElevation » Post

News!
  • new mover coming today or tomorrow: the mover just works like pipes it moves items from one inv to the other, will be used to make a fully automatic oxygenerator, but it can be used for chests and other blocks too!
Image
My Public Mods! Discord: Rottweiler Games#3368

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 5 guests