[Mod] invisibility Potion [0.5]

User avatar
TenPlus1
Member
 
Posts: 2419
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

[Mod] invisibility Potion [0.5]

by TenPlus1 » Tue Jun 07, 2016 15:43

This mod lets you craft an invisibility potion using 1x of each sapling (tree, jungle, pine, aspen, acacia, bush, acacia bush), 1x Red Mushroom and 1x Glass Bottle.

Use potion to hide yourself AND nametag (0.4.15+ only) for 3 minutes.

Server admin can use the '/vanish <name>' command to hide/unhide players or themselves by leaving it blank, and Yes... I am in the picture below :)

Image

Depends: default, vessels

Source: https://notabug.org/TenPlus1/invisibility

Download: https://notabug.org/TenPlus1/invisibility/archive/master.zip

License: MIT
Last edited by TenPlus1 on Thu Jun 07, 2018 10:48, edited 5 times in total.
 

User avatar
DS-minetest
Member
 
Posts: 1022
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

Re: [MOD] invisibility Potion [0.1]

by DS-minetest » Tue Jun 07, 2016 16:46

TenPlus1 wrote:you mash one sweet Nyan Cat into a dirty Glass Bottle and drink it. or something like this

O_O
now i dont want to be a nyan cat anymore
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

User avatar
azekill_DIABLO
Member
 
Posts: 7460
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
TenPlus1
Member
 
Posts: 2419
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [MOD] invisibility Potion [0.1]

by TenPlus1 » Tue Jun 07, 2016 19:01

I'm open to suggestions for alternative craft recipe's :)
 

User avatar
xeranas
Member
 
Posts: 152
Joined: Fri Feb 05, 2016 11:06
 

User avatar
azekill_DIABLO
Member
 
Posts: 7460
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] invisibility Potion [0.1]

by azekill_DIABLO » Wed Jun 08, 2016 10:13

i think nyan cat rainbow would be better, less expensive...
Diamond would also be cool!
 

User avatar
ErrorNull
Member
 
Posts: 199
Joined: Thu Mar 03, 2016 00:43

Re: [Mod] invisibility Potion [0.1]

by ErrorNull » Wed Jun 08, 2016 15:03

love the invisibility potion. i too would like to see if mobs can be updated to not attack playerr if invisible. but, if player successfully punches mob, player will cancel invisibility.
 

User avatar
DS-minetest
Member
 
Posts: 1022
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

Re: [Mod] invisibility Potion [0.1]

by DS-minetest » Wed Jun 08, 2016 18:25

yeah, put some nc rainbow into bottle and water it down, a giraffe can eat rainbow, so why not
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

Minetest Sam
Member
 
Posts: 90
Joined: Sat Nov 14, 2015 09:26
 

User avatar
burli
Member
 
Posts: 1608
Joined: Fri Apr 10, 2015 13:18

Re: [Mod] invisibility Potion [0.1]

by burli » Thu Jun 09, 2016 09:48

xeranas wrote:I guess mobs would still attack player?

I guess they will, because the api did not know the invisibility.

But I think about mobs they can hear the player walking or can smell him. Invisibility wouldn't help, except the player stands still or wields a flower ;-)
 

User avatar
TenPlus1
Member
 
Posts: 2419
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] invisibility Potion [0.2]

by TenPlus1 » Thu Jun 09, 2016 10:05

Updated to 0.2:

- Changed crafting recipe to 1x glass bottle and 1x nyan cat rainbow
- Added 10 second warning before becoming visible again
- Added error checking
 

Minetest Sam
Member
 
Posts: 90
Joined: Sat Nov 14, 2015 09:26

Re: [Mod] invisibility Potion [0.2]

by Minetest Sam » Thu Jun 09, 2016 11:08

11, can you make it splash and add support with Mobs redo so maybe it can also make mobs invisible?
 

User avatar
TenPlus1
Member
 
Posts: 2419
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] invisibility Potion [0.2]

by TenPlus1 » Thu Jun 09, 2016 12:26

You don't break bottle so no splash required, it's drank and an empty bottle returned... Mobs Redo has been updated already to work with invisibile players :)
 

User avatar
azekill_DIABLO
Member
 
Posts: 7460
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

Minetest Sam
Member
 
Posts: 90
Joined: Sat Nov 14, 2015 09:26

Re: [Mod] invisibility Potion [0.2]

by Minetest Sam » Sun Jun 12, 2016 15:16

11, I meant that the mobs can also be made invisible so that the player cant see it now here we cant forcefully make a mobs drink that potion.So, we need splash
 

User avatar
DS-minetest
Member
 
Posts: 1022
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

Re: [Mod] invisibility Potion [0.2]

by DS-minetest » Sun Jun 12, 2016 15:29

haha, mix into food, so if the mob eats players...
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

Byakuren
Member
 
Posts: 814
Joined: Tue Apr 14, 2015 01:59
GitHub: raymoo
IRC: Hijiri
In-game: Raymoo + Clownpiece

Re: [Mod] invisibility Potion [0.2]

by Byakuren » Mon Jun 13, 2016 18:45

Can you not add globals apart from the mod-named table? If other modders want to use method syntax to use the invisible function, they can do local invisible = invisibility.invisible at the top of their source file. But you don't even use method syntax for your own invocations, so I don't see the point of doing this, except maybe the save the one extra line of
Code: Select all
local invisible = function(player, toggle)
  ...
end

invisibility.invisible = invisible
Every time a mod API is left undocumented, a koala dies.
 

User avatar
TailsTheFoxDoes MT
Member
 
Posts: 415
Joined: Mon Jan 18, 2016 20:50
Location: Mobius
In-game: TailsTheFox

Re: [Mod] invisibility Potion [0.2]

by TailsTheFoxDoes MT » Tue Jun 14, 2016 19:21

I think the Nyan Cat is a bit expensive, plus, the potion only lasts five minutes? Could you make it so after it wears off you have to wait ten minutes or five before becoming invisible again?
I'm the TailsTMM of minetest, in other words, i rock.
BRAAAAAZZZZAAAA!!!!!!!!!!!!!!!!!!!!!!!!!!!
BTW it means TailsTheMeseMinecart, but that isn't my name, it's just a way of saying that i basically do the same thing Dantdm does but i do it with minetest And you problably can't see the invisible ink.
My mods:
My first mod:tails_boss

Mob_pack now has voice acting! Do you want YOUR VOICE included? Look in my posts for the thread!
 

User avatar
DS-minetest
Member
 
Posts: 1022
Joined: Thu Jun 19, 2014 19:49
Location: in front of my pc (which is at home)
GitHub: DS-Minetest
In-game: DS

Re: [Mod] invisibility Potion [0.2]

by DS-minetest » Wed Jun 15, 2016 16:48

maybe add a magic cloak for admins
Do not call me -minetest.
Call me DS or DS-minetest.
I am German, so you don't have to pm me English if you are also German.
The background is a lie.
 

User avatar
TenPlus1
Member
 
Posts: 2419
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] invisibility Potion [0.4]

by TenPlus1 » Sat Jun 24, 2017 12:31

Updated to Version 0.4:

- Potion duration reduced to 3 minutes.
- Crafting recipe changed now that Nyan Cats no longer in default game.

Recipe: 1x of each sapling (tree, jungle, pine, aspen, acacia, bush, acacia bush), 1x Red Mushroom and 1x Glass Bottle.
 

User avatar
TenPlus1
Member
 
Posts: 2419
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] invisibility Potion [0.5]

by TenPlus1 » Mon Oct 09, 2017 13:08

Updated to version 0.5:

- Using newer functions, requires Minetest 0.4.16 to run.
 

User avatar
azekill_DIABLO
Member
 
Posts: 7460
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] invisibility Potion [0.5]

by azekill_DIABLO » Mon Oct 09, 2017 16:59

TenPlus1 wrote:Updated to version 0.5:

- Using newer functions, requires Minetest 0.4.16 to run.

is that third time i see this post ? :D
 


Return to Mod Releases



Who is online

Users browsing this forum: Google [Bot] and 6 guests