summaryrefslogtreecommitdiff
path: root/misc_overrides/init.lua
blob: c3dd0a57b989946d3ce413b0b41f3e3820bb86fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
-- This file just makes some tweaks to the various default plants and some
-- non-default ones that depend on biome_lib, to make them wave if the
-- appropriate shader is enabled.  This code is temporary and will be trimmed 
-- down as the mods supplying those objects are updated.

-- default stuff

for i = 1, 5 do 
	minetest.override_item("default:grass_"..i, { waving = 1 })
end

minetest.override_item("default:junglegrass", { waving = 1 })

-- farming, farming_plus 

for i = 1, 8 do
	minetest.override_item("farming:wheat_"..i, { waving = 1 })
	minetest.override_item("farming:cotton_"..i, { waving = 1 })
end

minetest.override_item("farming:weed", { waving = 1 })

-- Undergrowth modpack

minetest.override_item("youngtrees:youngtree_top", { waving = 1 })

-- Ferns mod

for i = 1, 3 do
	minetest.override_item("ferns:fern_0"..i, { waving = 1 })
end

minetest.override_item("ferns:tree_fern_leaves", { waving = 1 })

-- Dryplants mod

minetest.override_item("dryplants:reedmace_height_2", { waving = 1 })
minetest.override_item("dryplants:reedmace_height_3", { waving = 1 })
minetest.override_item("dryplants:reedmace_height_3_spikes", { waving = 1 })
minetest.override_item("dryplants:juncus", { waving = 1 })
minetest.override_item("dryplants:juncus_02", { waving = 1 })

-- Farming plus

minetest.override_item("farming_plus:banana_leaves", { waving = 1 })
minetest.override_item("farming_plus:cocoa_leaves", { waving = 1 })