Q. creative/survival/ctf... modes

User avatar
aristotle
Member
 
Posts: 65
Joined: Wed Mar 14, 2018 23:40
GitHub: askotos
IRC: aristotle_
In-game: aristotle

Q. creative/survival/ctf... modes

by aristotle » Mon Aug 27, 2018 07:46

Some info that matters when you are in survival mode does not in creative (i.e. death, health): is there a way to distinguish the current mode?

A setting such as the game_mode one the creative mod looks for at initialization in minetest.conf?
I was thinking at hurting myself and then check for damage but that would not be nice for someone in survival... :P
Happy builds & explorations!
 

User avatar
Lone_Wolf
Member
 
Posts: 2186
Joined: Sun Apr 09, 2017 05:50
Location: Hopefully very far from yours, snoop :P
GitHub: LoneWolfHT
IRC: Lone_Wolf
In-game: Lone_Wolf

Re: Q. creative/survival/ctf... modes

by Lone_Wolf » Mon Aug 27, 2018 15:40

There is no way I know of to do this. If damage is disabled your hp hearts won't show though
 

User avatar
aristotle
Member
 
Posts: 65
Joined: Wed Mar 14, 2018 23:40
GitHub: askotos
IRC: aristotle_
In-game: aristotle

Re: Q. creative/survival/ctf... modes

by aristotle » Mon Aug 27, 2018 18:44

Lone_Wolf wrote:...If damage is disabled your hp hearts won't show though

I will go looking for that. Thank you.
In the meantime I have read about the 'immortal' group, but I have to learn more about it and try a few checks before betting on it so your suggestion can be definitely of help.
Happy builds & explorations!
 


Return to Client-side modding



Who is online

Users browsing this forum: No registered users and 1 guest