[Mod] invisibility Potion [0.5]

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

[Mod] invisibility Potion [0.5]

by TenPlus1 » Post

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/invisibili ... 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: 1141
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: DS-minetest
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [MOD] invisibility Potion [0.1]

by DS-minetest » Post

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
Note that I've recently renamed myself on github and co. to "Desour". (I'm bad at naming things.)
Feel free to call me DS.

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

Re: [MOD] invisibility Potion [0.1]

by azekill_DIABLO » Post

HEy tenPlus1, where r u?!?Bonk!Aeh...Hello.

+1

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

Re: [MOD] invisibility Potion [0.1]

by TenPlus1 » Post

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

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

Re: [Mod] invisibility Potion [0.1]

by xeranas » Post

I guess mobs would still attack player?

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

Re: [Mod] invisibility Potion [0.1]

by azekill_DIABLO » Post

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

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

Re: [Mod] invisibility Potion [0.1]

by ErrorNull » Post

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.
My Villagers Mod: [villagers]

User avatar
DS-minetest
Member
Posts: 1141
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: DS-minetest
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Mod] invisibility Potion [0.1]

by DS-minetest » Post

yeah, put some nc rainbow into bottle and water it down, a giraffe can eat rainbow, so why not
Note that I've recently renamed myself on github and co. to "Desour". (I'm bad at naming things.)
Feel free to call me DS.

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

Re: [Mod] invisibility Potion [0.1]

by Minetest Sam » Post

+1 Good Job 11!

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

Re: [Mod] invisibility Potion [0.1]

by burli » Post

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: 2866
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] invisibility Potion [0.2]

by TenPlus1 » Post

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: 98
Joined: Sat Nov 14, 2015 09:26

Re: [Mod] invisibility Potion [0.2]

by Minetest Sam » Post

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: 2866
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] invisibility Potion [0.2]

by TenPlus1 » Post

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: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] invisibility Potion [0.2]

by azekill_DIABLO » Post

hey tenplus1 can i also call you 11?it's easier to remenber :)

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

Re: [Mod] invisibility Potion [0.2]

by Minetest Sam » Post

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: 1141
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: DS-minetest
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Mod] invisibility Potion [0.2]

by DS-minetest » Post

haha, mix into food, so if the mob eats players...
Note that I've recently renamed myself on github and co. to "Desour". (I'm bad at naming things.)
Feel free to call me DS.

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

Re: [Mod] invisibility Potion [0.2]

by Byakuren » Post

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
In-game: TailsTheFox
Location: Mobius

Re: [Mod] invisibility Potion [0.2]

by TailsTheFoxDoes MT » Post

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: 1141
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: DS-minetest
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [Mod] invisibility Potion [0.2]

by DS-minetest » Post

maybe add a magic cloak for admins
Note that I've recently renamed myself on github and co. to "Desour". (I'm bad at naming things.)
Feel free to call me DS.

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

Re: [Mod] invisibility Potion [0.4]

by TenPlus1 » Post

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: 2866
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: [Mod] invisibility Potion [0.5]

by TenPlus1 » Post

Updated to version 0.5:

- Using newer functions, requires Minetest 0.4.16 to run.

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

Re: [Mod] invisibility Potion [0.5]

by azekill_DIABLO » Post

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

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests