"invincible" priv

cheapie
Member
 
Posts: 304
Joined: Mon May 14, 2012 00:59
GitHub: cheapie
IRC: cheapie
In-game: cheapie

"invincible" priv

by cheapie » Wed Feb 26, 2014 21:41

It's already possible to disable damage on a server-wide basis, but it would be nice to have an "invincible" priv that could be given to certain users, so that, for example, server admins could easily fix lava spills.
Signature antivirus (Linux only): "grep -iv -- Signature\ virus" (minus the quotes, of course)
Signature goes in stdin, viruses are removed, and cleaned signature comes out on stdout.
 

twoelk
Member
 
Posts: 1092
Joined: Fri Apr 19, 2013 16:19

by twoelk » Thu Feb 27, 2014 01:40

maybe diamond armour?

... as in this other voxel based game
Last edited by twoelk on Thu Feb 27, 2014 01:41, edited 1 time in total.
 

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

by TenPlus1 » Thu Feb 27, 2014 09:04

Lava damage can be fixed easily without the need for invincibility...
 

User avatar
Novacain
Member
 
Posts: 285
Joined: Sat Aug 31, 2013 01:03

by Novacain » Thu Feb 27, 2014 23:39

wouldn't be too hard. simply add a priv that, when enabled, sets armor to 0. then nothing would hurt, except lava and drowning.
Last edited by Novacain on Fri Feb 28, 2014 17:30, edited 1 time in total.
EXTERMINATE!!!
My Tronrealm modpack
My tronblocks mod
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Feb 28, 2014 06:25

Novacain wrote:sets armour to 0

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
local armour = 0

I don't think that'll work.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
Novacain
Member
 
Posts: 285
Joined: Sat Aug 31, 2013 01:03

by Novacain » Fri Feb 28, 2014 17:30

fine, armor. but I still think armour looks cooler :P
EXTERMINATE!!!
My Tronrealm modpack
My tronblocks mod
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Feb 28, 2014 17:49

Novacain wrote:fine, armor. but I still think armour looks cooler :P

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
local armor = 0

will not do anything either.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
Novacain
Member
 
Posts: 285
Joined: Sat Aug 31, 2013 01:03

by Novacain » Fri Feb 28, 2014 18:18

what about:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
armor_level = 0
EXTERMINATE!!!
My Tronrealm modpack
My tronblocks mod
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Feb 28, 2014 18:54

You don't get it, do you?
Setting a variable in Lua without using any Minetest-related functions is not going to do anything.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 9 guests

cron