Page 1 of 1

[Mod] invisibility Potion [0.5]

Posted: Tue Jun 07, 2016 15:43
by TenPlus1
screenshot.png
screenshot.png (24.94 KiB) Viewed 1563 times
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 :)

Depends: default, vessels

ContentDB: https://content.minetest.net/packages/T ... visibility

License: MIT

Re: [MOD] invisibility Potion [0.1]

Posted: Tue Jun 07, 2016 16:46
by Desour
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

Re: [MOD] invisibility Potion [0.1]

Posted: Tue Jun 07, 2016 17:09
by azekill_DIABLO
HEy tenPlus1, where r u?!?Bonk!Aeh...Hello.

+1

Re: [MOD] invisibility Potion [0.1]

Posted: Tue Jun 07, 2016 19:01
by TenPlus1
I'm open to suggestions for alternative craft recipe's :)

Re: [Mod] invisibility Potion [0.1]

Posted: Tue Jun 07, 2016 20:59
by xeranas
I guess mobs would still attack player?

Re: [Mod] invisibility Potion [0.1]

Posted: Wed Jun 08, 2016 10:13
by azekill_DIABLO
i think nyan cat rainbow would be better, less expensive...
Diamond would also be cool!

Re: [Mod] invisibility Potion [0.1]

Posted: Wed Jun 08, 2016 15:03
by ErrorNull
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.

Re: [Mod] invisibility Potion [0.1]

Posted: Wed Jun 08, 2016 18:25
by Desour
yeah, put some nc rainbow into bottle and water it down, a giraffe can eat rainbow, so why not

Re: [Mod] invisibility Potion [0.1]

Posted: Thu Jun 09, 2016 09:39
by Minetest Sam
+1 Good Job 11!

Re: [Mod] invisibility Potion [0.1]

Posted: Thu Jun 09, 2016 09:48
by burli
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 ;-)

Re: [Mod] invisibility Potion [0.2]

Posted: Thu Jun 09, 2016 10:05
by TenPlus1
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

Re: [Mod] invisibility Potion [0.2]

Posted: Thu Jun 09, 2016 11:08
by Minetest Sam
11, can you make it splash and add support with Mobs redo so maybe it can also make mobs invisible?

Re: [Mod] invisibility Potion [0.2]

Posted: Thu Jun 09, 2016 12:26
by TenPlus1
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 :)

Re: [Mod] invisibility Potion [0.2]

Posted: Thu Jun 09, 2016 15:22
by azekill_DIABLO
hey tenplus1 can i also call you 11?it's easier to remenber :)

Re: [Mod] invisibility Potion [0.2]

Posted: Sun Jun 12, 2016 15:16
by Minetest Sam
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

Re: [Mod] invisibility Potion [0.2]

Posted: Sun Jun 12, 2016 15:29
by Desour
haha, mix into food, so if the mob eats players...

Re: [Mod] invisibility Potion [0.2]

Posted: Mon Jun 13, 2016 18:45
by Byakuren
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

Re: [Mod] invisibility Potion [0.2]

Posted: Tue Jun 14, 2016 19:21
by TailsTheFoxDoes MT
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?

Re: [Mod] invisibility Potion [0.2]

Posted: Wed Jun 15, 2016 16:48
by Desour
maybe add a magic cloak for admins

Re: [Mod] invisibility Potion [0.4]

Posted: Sat Jun 24, 2017 12:31
by TenPlus1
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.

Re: [Mod] invisibility Potion [0.5]

Posted: Mon Oct 09, 2017 13:08
by TenPlus1
Updated to version 0.5:

- Using newer functions, requires Minetest 0.4.16 to run.

Re: [Mod] invisibility Potion [0.5]

Posted: Mon Oct 09, 2017 16:59
by azekill_DIABLO
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

Re: [Mod] invisibility Potion [0.5]

Posted: Sun Sep 11, 2022 02:09
by kristovish
I am using this mod on my server. I kept it because it worked. but yesterday I used it to disappear for a while. But it does not work. the name tag did disappear but it didn't make me invisible. in fact it's weird since sometimes it works making me invisible but not the defined time only a few seconds. other times it just hides the name from me and other times it just doesn't do anything. What can be? It does not generate errors of any kind

Re: [Mod] invisibility Potion [0.5]

Posted: Sun Sep 11, 2022 05:40
by TenPlus1
@kristovish - What version of minetest are you using, and what mods are active ?

Re: [Mod] invisibility Potion [0.5]

Posted: Sun Sep 11, 2022 07:50
by kristovish
TenPlus1 wrote:
Sun Sep 11, 2022 05:40
@kristovish - What version of minetest are you using, and what mods are active ?
the server is running on multicraft 2.0.2. but personally I play from 5.6 on minetest. and my server have a huge list of mods. I think it will be difficult to discover why it does not work at all. The whole server works without problems, even the potion, only it doesn't make me completely invisible, as I mentioned a while ago.

what is the line of code that makes you invisible? maybe that way I. can find out if it's another mod that interferes and discover what is really happening