<commit_before>-- craft items

minetest.register_craftitem("mushroom:spore1",{
	description = "Unidentified Mushroom Spore",
	inventory_image = "mushroom_spore.png",
	wield_image = "mushroom_spore.png",
})

minetest.register_craftitem("mushroom:spore2",{
	description = "Unidentified Mushroom Spore",
	inventory_image = "mushroom_spore.png",
	wield_image = "mushroom_spore.png",
})

minetest.register_craftitem("mushroom:identifier",{
	description = "Mushroom Spore Identifier/Spore Extractor",
	inventory_image = "mushroom_identifier.png",
	wield_image = "mushroom_identifier.png",
})

minetest.register_craftitem("mushroom:brown_essence",{
	description = "Healthy Brown Mushroom Essence",
	inventory_image = "mushroom_essence.png",
	wield_image = "mushroom_essence.png",
	on_use = minetest.item_eat(5), --notre modif de gain de faim
})

minetest.register_craftitem("mushroom:poison",{
	description = "Red Mushroom Poison",
	inventory_image = "mushroom_poison.png",
	wield_image = "mushroom_poison.png",
	on_use = minetest.item_eat(-10),
})
<commit_msg>Add "vessel" group to mushroom potions<commit_after>-- craft items

minetest.register_craftitem("mushroom:spore1",{
	description = "Unidentified Mushroom Spore",
	inventory_image = "mushroom_spore.png",
	wield_image = "mushroom_spore.png",
})

minetest.register_craftitem("mushroom:spore2",{
	description = "Unidentified Mushroom Spore",
	inventory_image = "mushroom_spore.png",
	wield_image = "mushroom_spore.png",
})

minetest.register_craftitem("mushroom:identifier",{
	description = "Mushroom Spore Identifier/Spore Extractor",
	inventory_image = "mushroom_identifier.png",
	wield_image = "mushroom_identifier.png",
})

minetest.register_craftitem("mushroom:brown_essence",{
	description = "Healthy Brown Mushroom Essence",
	inventory_image = "mushroom_essence.png",
	wield_image = "mushroom_essence.png",
	on_use = minetest.item_eat(5), --notre modif de gain de faim
	groups = {vessel=1},
})

minetest.register_craftitem("mushroom:poison",{
	description = "Red Mushroom Poison",
	inventory_image = "mushroom_poison.png",
	wield_image = "mushroom_poison.png",
	on_use = minetest.item_eat(-10),
	groups = {vessel=1},
})

{'fraction_non_alphanumeric': 0.12861736334405144, 'fraction_numerical': 0.005512172714745062, 'mean_word_length': 7.126865671641791, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6261556', 'n_tokens_mistral': 848, 'n_tokens_neox': 821, 'n_words': 129}