[Solved] How to keep inventory items on death?

Post Reply
markodon
Member
Posts: 39
Joined: Fri Apr 06, 2018 14:25
In-game: mark

[Solved] How to keep inventory items on death?

by markodon » Post

What is name of mod when you dead you keed inventory items.
Last edited by markodon on Fri Apr 13, 2018 22:07, edited 1 time in total.

User avatar
Krock
Developer
Posts: 4650
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: dead inventory

by Krock » Post

bones

0. Close all Minetest processes
1. Open your "minetest.conf" file inside the Minetest directory (if Windows: use Nodepad++ or Wordpad)
2. Add the line "bones_mode = keep" to the file
4. Save the file, close the editor and start Minetest
5. ???
6. Profit

EDIT: Could you please change the title to "[Solved] How to keep inventory items on death?" or similar? Hopefully this topic can be found easier with that change, so I don't have to re-write all over again as soon the next person asks.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

markodon
Member
Posts: 39
Joined: Fri Apr 06, 2018 14:25
In-game: mark

Re: [Solved] How to keep inventory items on death?

by markodon » Post

Ok thanks i changed title.

markodon
Member
Posts: 39
Joined: Fri Apr 06, 2018 14:25
In-game: mark

Re: [Solved] How to keep inventory items on death?

by markodon » Post

thats not working they just spawn when you died , not in inventory

User avatar
Krock
Developer
Posts: 4650
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: [Solved] How to keep inventory items on death?

by Krock » Post

markodon wrote:they just spawn when you died , not in inventory
Just to make sure: "bones" is already installed by default. If you downloaded another mod with the same name, then please disable it in your world (possibly outdated). If that was not the issue, please
use paste the contents of your minetest.conf file into

Code: Select all

[/[size=100]code[/size]] tags or into a [url=https://pastebin.com/]paste[/url] [url=http://dpaste.com/]service[/url]. I tested this mode locally and it worked correctly.

Also: [url=https://github.com/minetest/minetest_game/blob/master/mods/bones/init.lua#L189-L193]Code reference[/url] for the "keep" behaviour
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

markodon
Member
Posts: 39
Joined: Fri Apr 06, 2018 14:25
In-game: mark

Re: [Solved] How to keep inventory items on death?

by markodon » Post

ahh i see now i was downloaded mods from other source, now i see its on default. Thx.

User avatar
bosapara
Member
Posts: 637
Joined: Fri Apr 07, 2017 08:49

Re: [Solved] How to keep inventory items on death?

by bosapara » Post

Can player keep only 1 thing from his inventory after death, an example some tool, Is it possible?

User avatar
Krock
Developer
Posts: 4650
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: [Solved] How to keep inventory items on death?

by Krock » Post

Currently not possible with the bones mod; it will simply handle all inventory contents. Consider tweaking the bones mod a little or implementing it properly as a PR for MTG or into new mod.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
bosapara
Member
Posts: 637
Joined: Fri Apr 07, 2017 08:49

Re: [Solved] How to keep inventory items on death?

by bosapara » Post

Krock wrote:Currently not possible with the bones mod; it will simply handle all inventory contents. Consider tweaking the bones mod a little or implementing it properly as a PR for MTG or into new mod.
About default bones its clear, mainly I asked about possibility at minetest.
This idea can be useful for some enchanted tools.

Post Reply

Who is online

Users browsing this forum: TPH and 9 guests