1
0
Disbranĉigi 0
Ĉi tiu deponejo arĥiviĝis je 2024-01-28. Vi povas vidi kaj elŝuti dosierojn, sed ne povas puŝi nek raporti problemojn nek tirpeti.
minetest_ocd3/mods/flowers/init.lua.diff

136 lines
5.0 KiB
Diff
Raw Normal View History

2018-03-18 17:37:28 -05:00
27a28,55
> -- And now for the tulips mod
>
> minetest.register_alias("tulips:white_seeds", "flowers:dandelion_white")
> minetest.register_alias("tulips:white_sprout", "flowers:dandelion_white")
> minetest.register_alias("tulips:white", "flowers:dandelion_white")
> minetest.register_alias("tulips:grey_seeds", "flowers:dandelion_white")
> minetest.register_alias("tulips:grey_sprout", "flowers:dandelion_white")
> minetest.register_alias("tulips:grey", "flowers:dandelion_white")
> minetest.register_alias("tulips:black_seeds", "flowers:rose")
> minetest.register_alias("tulips:black_sprout", "flowers:rose")
> minetest.register_alias("tulips:black", "flowers:rose")
> minetest.register_alias("tulips:red_seeds", "flowers:rose")
> minetest.register_alias("tulips:red_sprout", "flowers:rose")
> minetest.register_alias("tulips:red", "flowers:rose")
> minetest.register_alias("tulips:yellow_seeds", "flowers:dandelion_yellow")
> minetest.register_alias("tulips:yellow_sprout", "flowers:dandelion_yellow")
> minetest.register_alias("tulips:yellow", "flowers:dandelion_yellow")
> minetest.register_alias("tulips:green_seeds", "flowers:tulip")
> minetest.register_alias("tulips:green_sprout", "flowers:tulip")
> minetest.register_alias("tulips:green", "flowers:tulip")
> minetest.register_alias("tulips:cyan_seeds", "flowers:geranium")
> minetest.register_alias("tulips:cyan_sprout", "flowers:geranium")
> minetest.register_alias("tulips:cyan", "flowers:geranium")
> minetest.register_alias("tulips:blue_seeds", "flowers:geranium")
> minetest.register_alias("tulips:blue_sprout", "flowers:geranium")
> minetest.register_alias("tulips:magenta_seeds", "flowers:viola")
> minetest.register_alias("tulips:magenta_sprout", "flowers:viola")
> minetest.register_alias("tulips:magenta", "flowers:viola")
46a75,85
> drawtype = "nodebox",
> node_box = {
> type = "fixed",
> fixed = {
> {-0.5/5, -2.5/5, -0.5/5, 0.5/5, 0.5/5, 0.5/5},
> {-1.5/5, -0.5/5, -1.5/5, -0.5/5, 1.5/5, -0.5/5},
> {0.5/5, -0.5/5, -1.5/5, 1.5/5, 1.5/5, -0.5/5},
> {0.5/5, -0.5/5, 0.5/5, 1.5/5, 1.5/5, 1.5/5},
> {-1.5/5, -0.5/5, 0.5/5, -0.5/5, 1.5/5, 1.5/5},
> }
> },
62c101
< "Rose",
---
> "Red Rose",
75c114
< {-2 / 16, -0.5, -2 / 16, 2 / 16, 4 / 16, 2 / 16},
---
> {-4 / 16, -0.5, -4 / 16, 4 / 16, -2 / 16, 4 / 16},
92c131
< "White dandelion",
---
> "White Dandelion",
203a243,318
> minetest.register_node("flowers:mushroom_jade", {
> description = "Jade Mushroom",
> tiles = {"flowers_mushroom_jade.png"},
> inventory_image = "flowers_mushroom_jade.png",
> wield_image = "flowers_mushroom_jade.png",
> drawtype = "plantlike",
> paramtype = "light",
> sunlight_propagates = true,
> walkable = false,
> buildable_to = true,
> groups = {snappy = 3, attached_node = 1, flammable = 1},
> sounds = default.node_sound_leaves_defaults(),
> on_use = minetest.item_eat(3),
> selection_box = {
> type = "fixed",
> fixed = {-3 / 16, -0.5, -3 / 16, 3 / 16, -2 / 16, 3 / 16},
> }
> })
>
> minetest.register_node("flowers:mushroom_french", {
> description = "French Mushroom",
> tiles = {"flowers_mushroom_french.png"},
> inventory_image = "flowers_mushroom_french.png",
> wield_image = "flowers_mushroom_french.png",
> drawtype = "plantlike",
> paramtype = "light",
> sunlight_propagates = true,
> walkable = false,
> buildable_to = true,
> groups = {snappy = 3, attached_node = 1, flammable = 1},
> sounds = default.node_sound_leaves_defaults(),
> on_use = minetest.item_eat(1),
> selection_box = {
> type = "fixed",
> fixed = {-3 / 16, -0.5, -3 / 16, 3 / 16, -2 / 16, 3 / 16},
> }
> })
>
> minetest.register_node("flowers:mushroom_lemon", {
> description = "Lemon Mushroom",
> tiles = {"flowers_mushroom_lemon.png"},
> inventory_image = "flowers_mushroom_lemon.png",
> wield_image = "flowers_mushroom_lemon.png",
> drawtype = "plantlike",
> paramtype = "light",
> sunlight_propagates = true,
> walkable = false,
> buildable_to = true,
> groups = {snappy = 3, attached_node = 1, flammable = 1},
> sounds = default.node_sound_leaves_defaults(),
> on_use = minetest.item_eat(0),
> selection_box = {
> type = "fixed",
> fixed = {-3 / 16, -0.5, -3 / 16, 3 / 16, -2 / 16, 3 / 16},
> }
> })
>
> minetest.register_node("flowers:mushroom_sleepy", {
> description = "Sleepy Mushroom",
> tiles = {"flowers_mushroom_sleepy.png"},
> inventory_image = "flowers_mushroom_sleepy.png",
> wield_image = "flowers_mushroom_sleepy.png",
> drawtype = "plantlike",
> paramtype = "light",
> sunlight_propagates = true,
> walkable = false,
> buildable_to = true,
> groups = {snappy = 3, attached_node = 1, flammable = 1},
> sounds = default.node_sound_leaves_defaults(),
> on_use = minetest.item_eat(-18),
> selection_box = {
> type = "fixed",
> fixed = {-3 / 16, -0.5, -3 / 16, 3 / 16, -2 / 16, 3 / 16},
> }
> })
>
209c324,325
< nodenames = {"flowers:mushroom_brown", "flowers:mushroom_red"},
---
> nodenames = {"flowers:mushroom_brown", "flowers:mushroom_red", "flowers:mushroom_jade",
> "flowers:mushroom_french", "flowers:mushroom_lemon", "flowers:mushroom_sleepy"},