"invincible" priv

Post Reply
User avatar
cheapie
Member
Posts: 316
Joined: Mon May 14, 2012 00:59
GitHub: cheapie
IRC: cheapie
In-game: cheapie

"invincible" priv

by cheapie » Post

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: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

by twoelk » Post

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: 3721
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

by TenPlus1 » Post

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 » Post

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

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

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 » Post

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

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

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 » Post

what about:

Code: Select all

armor_level = 0
EXTERMINATE!!!
My Tronrealm modpack
My tronblocks mod

sfan5
Moderator
Posts: 4095
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

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)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests