Skip to content
Snippets Groups Projects
Commit b021ec46 authored by Milan's avatar Milan
Browse files

add first bottle textures, add lightsource to nodes

parent 0ee762fc
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@ minetest.register_node("magical_potion:medicine_small", {
stack_max = 1,
is_ground_content = false,
walkable = false,
light_source = 14,
selection_box = {
type = "fixed",
fixed = {-0.25, -0.5, -0.25, 0.25, 0.4, 0.25}
......@@ -34,6 +35,7 @@ minetest.register_node("magical_potion:medicine_big", {
stack_max = 1,
is_ground_content = false,
walkable = false,
light_source = 14,
selection_box = {
type = "fixed",
fixed = {-0.25, -0.5, -0.25, 0.25, 0.4, 0.25}
......@@ -61,6 +63,7 @@ minetest.register_node("magical_potion:medicine_huge", {
stack_max = 1,
is_ground_content = false,
walkable = false,
light_source = 14,
selection_box = {
type = "fixed",
fixed = {-0.25, -0.5, -0.25, 0.25, 0.4, 0.25}
......@@ -88,6 +91,7 @@ minetest.register_node("magical_potion:fly_small", {
stack_max = 1,
is_ground_content = false,
walkable = false,
light_source = 14,
selection_box = {
type = "fixed",
fixed = {-0.25, -0.5, -0.25, 0.25, 0.4, 0.25}
......@@ -114,6 +118,7 @@ minetest.register_node("magical_potion:fly_big", {
stack_max = 1,
is_ground_content = false,
walkable = false,
light_source = 14,
selection_box = {
type = "fixed",
fixed = {-0.25, -0.5, -0.25, 0.25, 0.4, 0.25}
......@@ -140,6 +145,7 @@ minetest.register_node("magical_potion:fly_huge", {
stack_max = 1,
is_ground_content = false,
walkable = false,
light_source = 14,
selection_box = {
type = "fixed",
fixed = {-0.25, -0.5, -0.25, 0.25, 0.4, 0.25}
......@@ -166,6 +172,7 @@ minetest.register_node("magical_potion:speed", {
stack_max = 1,
is_ground_content = false,
walkable = false,
light_source = 14,
selection_box = {
type = "fixed",
fixed = {-0.25, -0.5, -0.25, 0.25, 0.4, 0.25}
......
......@@ -16,7 +16,7 @@ false,
false)
playereffects.register_effect_type("speed_bottle", "High speed", "pep_speedplus.png", {"speed"},
playereffects.register_effect_type("speed_bottle", "High speed", "bottle_speed.png", {"speed"},
function(player)
player:set_physics_override({speed=2})
end,
......
textures/fly_bottle_big.png

2.4 KiB

textures/fly_bottle_huge.png

1.67 KiB

textures/fly_bottle_small.png

2.44 KiB

textures/medicine_bottle_big.png

2.39 KiB

textures/medicine_bottle_huge.png

3.59 KiB

textures/medicine_bottle_small.png

2.44 KiB

textures/speed_bottle.png

1.66 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment