Mods in den Spieleordner reingeschoben. So richtig tief.
This commit is contained in:
parent
b4b6c08f4f
commit
f7bc25a670
1674 changed files with 56056 additions and 530 deletions
|
@ -93,12 +93,6 @@ minetest.register_node("farming:cotton_5", table.copy(def))
|
|||
-- stage 6
|
||||
|
||||
def.tiles = {"farming_cotton_6.png"}
|
||||
def.drop = {
|
||||
items = {
|
||||
{items = {"farming:cotton"}, rarity = 1},
|
||||
{items = {"farming:cotton"}, rarity = 2}
|
||||
}
|
||||
}
|
||||
minetest.register_node("farming:cotton_6", table.copy(def))
|
||||
|
||||
-- stage 7
|
||||
|
@ -106,10 +100,8 @@ minetest.register_node("farming:cotton_6", table.copy(def))
|
|||
def.tiles = {"farming_cotton_7.png"}
|
||||
def.drop = {
|
||||
items = {
|
||||
{items = {"farming:cotton"}, rarity = 1},
|
||||
{items = {"farming:cotton"}, rarity = 2},
|
||||
{items = {"farming:seed_cotton"}, rarity = 1},
|
||||
{items = {"farming:seed_cotton"}, rarity = 2}
|
||||
{items = {"farming:seed_cotton"}, rarity = 1}
|
||||
}
|
||||
}
|
||||
minetest.register_node("farming:cotton_7", table.copy(def))
|
||||
|
@ -171,4 +163,37 @@ minetest.register_node("farming:cotton_wild", {
|
|||
})
|
||||
|
||||
-- mapgen
|
||||
farming.register_decoration("cotton",8)
|
||||
|
||||
local spawn_on = {
|
||||
"default:dry_dirt_with_dry_grass", "default:dirt_with_dry_grass",
|
||||
"mcl_core:dirt_with_grass"
|
||||
}
|
||||
|
||||
if farming.mapgen == "v6" then
|
||||
spawn_on = {"default:dirt_with_grass"}
|
||||
end
|
||||
|
||||
minetest.register_decoration({
|
||||
name = "farming:cotton_wild",
|
||||
deco_type = "simple",
|
||||
place_on = spawn_on,
|
||||
sidelen = 16,
|
||||
noise_params = {
|
||||
offset = 0,
|
||||
scale = farming.cotton,
|
||||
spread = {x = 100, y = 100, z = 100},
|
||||
seed = 4242,
|
||||
octaves = 3,
|
||||
persist = 0.6
|
||||
},
|
||||
y_min = 1, y_max = 120,
|
||||
decoration = "farming:cotton_wild"
|
||||
})
|
||||
|
||||
--[[ Cotton using api
|
||||
farming.register_plant("farming:cotton", {
|
||||
description = "Cotton seed",
|
||||
inventory_image = "farming_cotton_seed.png",
|
||||
groups = {flammable = 2},
|
||||
steps = 8,
|
||||
})]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue