forked from mtcontrib/farming
add new melon textures (thanks 7eventy7)
This commit is contained in:
parent
f1d52b4aef
commit
4b033fed83
@ -74,14 +74,19 @@ minetest.register_node("farming:melon_7", table.copy(def))
|
|||||||
-- stage 8 (final)
|
-- stage 8 (final)
|
||||||
def.drawtype = "nodebox"
|
def.drawtype = "nodebox"
|
||||||
def.description = S("Melon")
|
def.description = S("Melon")
|
||||||
def.tiles = {"farming_melon_top.png", "farming_melon_top.png", "farming_melon_side.png"}
|
def.tiles = {
|
||||||
|
"farming_melon_top.png", "farming_melon_bottom.png", "farming_melon_side.png"
|
||||||
|
}
|
||||||
def.selection_box = {-.5, -.5, -.5, .5, .5, .5}
|
def.selection_box = {-.5, -.5, -.5, .5, .5, .5}
|
||||||
def.walkable = true
|
def.walkable = true
|
||||||
|
def.buildable_to = false
|
||||||
|
def.paramtype2 = "facedir"
|
||||||
def.groups = {
|
def.groups = {
|
||||||
food_melon = 1, snappy = 2, oddly_breakable_by_hand = 1,
|
food_melon = 1, snappy = 2, oddly_breakable_by_hand = 1,
|
||||||
flammable = 2, plant = 1
|
flammable = 2, plant = 1
|
||||||
}
|
}
|
||||||
def.drop = "farming:melon_8"
|
def.drop = "farming:melon_8"
|
||||||
|
def.on_place = minetest.rotate_node
|
||||||
minetest.register_node("farming:melon_8", table.copy(def))
|
minetest.register_node("farming:melon_8", table.copy(def))
|
||||||
|
|
||||||
-- add to registered_plants
|
-- add to registered_plants
|
||||||
|
@ -63,6 +63,11 @@ Created by VanessaE (License: CC BY 3.0):
|
|||||||
farming_cotton_7.png
|
farming_cotton_7.png
|
||||||
farming_cotton_8.png
|
farming_cotton_8.png
|
||||||
|
|
||||||
|
Created by 7eventy7 (https://www.planetminecraft.com/member/7eventy7/)
|
||||||
|
farming_melon_top.png
|
||||||
|
farming_melon_side.png
|
||||||
|
farming_melon_bottom.png
|
||||||
|
|
||||||
Created by Doc (License: CC BY 3.0):
|
Created by Doc (License: CC BY 3.0):
|
||||||
farming_cucumber.png
|
farming_cucumber.png
|
||||||
farming_cucumber_1.png
|
farming_cucumber_1.png
|
||||||
|
BIN
textures/farming_melon_bottom.png
Normal file
BIN
textures/farming_melon_bottom.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 172 B |
Binary file not shown.
Before Width: | Height: | Size: 270 B After Width: | Height: | Size: 179 B |
Binary file not shown.
Before Width: | Height: | Size: 272 B After Width: | Height: | Size: 193 B |
Loading…
Reference in New Issue
Block a user