"invincible" priv

cheapie
Member
 
Posts: 315
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.
-- This account is no longer active --
My mods have moved to: https://cheapiesystems.com/git
 

twoelk
Member
 
Posts: 1353
Joined: Fri Apr 19, 2013 16:19
Location: northern Germany
GitHub: twoelk
IRC: twoelk
In-game: twoelk

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: 2671
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
Location: Skaaro

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
Moderator
 
Posts: 3847
Joined: Wed Aug 24, 2011 09:44
Location: Germany
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Feb 28, 2014 06:25

Novacain wrote:sets armour to 0

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
Location: Skaaro

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
Moderator
 
Posts: 3847
Joined: Wed Aug 24, 2011 09:44
Location: Germany
GitHub: sfan5
IRC: sfan5

by sfan5 » Fri Feb 28, 2014 17:49

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

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
Location: Skaaro

by Novacain » Fri Feb 28, 2014 18:18

what about:
Code: Select all
armor_level = 0
EXTERMINATE!!!
My Tronrealm modpack
My tronblocks mod
 

User avatar
sfan5
Moderator
 
Posts: 3847
Joined: Wed Aug 24, 2011 09:44
Location: Germany
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 Feature Discussion



Who is online

Users browsing this forum: No registered users and 15 guests