Skip to content

Commit

Permalink
Make Orc Medicine glass similar to alcohol. Relates to #1836
Browse files Browse the repository at this point in the history
  • Loading branch information
alek13 committed Dec 14, 2024
1 parent 481688b commit 34e8b14
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions mods/lord/Blocks/lottfarming/orc_food.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,14 @@ minetest.register_craft({
}
})

minetest.register_craftitem("lottfarming:orc_medicine", {
description = S("Orc medicine"),
inventory_image = "lottfarming_orc_medicine.png",
minetest.register_node("lottfarming:orc_medicine", {
description = S("Orc medicine"),
inventory_image = '(empty_16x16.png^[lowpart:50:lottfarming_orc_medicine.png)^vessels_drinking_glass_inv.png',
drawtype = 'plantlike',
paramtype = 'light',
tiles = { 'lottfarming_orc_medicine.png^(vessels_drinking_glass.png^[opacity:160)^[opacity:240' },
use_texture_alpha = 'blend',
visual_scale = 0.8,
on_use = function(itemstack, user, pointed_thing)
user:set_hp(20)
local name = user:get_player_name()
Expand Down
Binary file modified mods/lord/Blocks/lottfarming/textures/lottfarming_orc_medicine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 34e8b14

Please sign in to comment.