Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
magical_potion
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Illuna-Minetest
magical_potion
Commits
8c6d3efd
Commit
8c6d3efd
authored
7 years ago
by
Milan
Browse files
Options
Downloads
Patches
Plain Diff
update immortal bottle node and texture
parent
beea920c
Branches
master
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bottles.lua
+5
-5
5 additions, 5 deletions
bottles.lua
textures/immortal_bottle.png
+0
-0
0 additions, 0 deletions
textures/immortal_bottle.png
with
5 additions
and
5 deletions
bottles.lua
+
5
−
5
View file @
8c6d3efd
...
...
@@ -184,10 +184,10 @@ minetest.register_node("magical_potion:speed", {
})
minetest
.
register_node
(
"magical_potion:immortal"
,
{
description
=
"
Small b
ottle of immortal"
,
description
=
"
B
ottle of immortal"
,
drawtype
=
"plantlike"
,
tiles
=
{
"immortal_bottle
_small
.png"
},
wield_image
=
"immortal_bottle
_small
.png"
,
tiles
=
{
"immortal_bottle.png"
},
wield_image
=
"immortal_bottle.png"
,
paramtype
=
"light"
,
is_ground_content
=
false
,
walkable
=
false
,
...
...
@@ -198,9 +198,9 @@ minetest.register_node("magical_potion:immortal", {
},
groups
=
{
vessel
=
1
,
dig_immediate
=
3
,
attached_node
=
1
,
potion
=
1
},
sounds
=
default
.
node_sound_glass_defaults
(),
inventory_image
=
"immortal_bottle
_small
.png"
,
inventory_image
=
"immortal_bottle.png"
,
on_use
=
function
(
itemstack
,
player
)
playereffects
.
apply_effect_type
(
"immortal_bottle"
,
5
,
player
)
playereffects
.
apply_effect_type
(
"immortal_bottle"
,
120
,
player
)
if
minetest
.
get_modpath
(
"vessels"
)
then
player
:
get_inventory
():
add_item
(
"main"
,
"vessels:glass_bottle"
)
end
...
...
This diff is collapsed.
Click to expand it.
textures/immortal_bottle.png
0 → 100644
+
0
−
0
View file @
8c6d3efd
1.76 KiB
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment