forked from PilzAdam/farming_plus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwheat.lua
More file actions
31 lines (27 loc) · 1.12 KB
/
wheat.lua
File metadata and controls
31 lines (27 loc) · 1.12 KB
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
--DEPRECATED
core.register_craftitem('farming_plus:wheat_seed', {
description = 'Wheat Seed (deprecated)',
inventory_image = 'farming_wheat_seed.png',
groups = { not_in_creative_inventory=1 },
on_place = function(itemstack, placer, pointed_thing)
return farming.place_seed(itemstack, placer, pointed_thing, 'farming:seed_wheat')
end
})
core.register_craftitem('farming_plus:wheat', {
description = 'Wheat (deprecated)',
inventory_image = 'farming_wheat.png',
groups = { not_in_creative_inventory=1 },
})
core.register_craft({
output = "farming:wheat",
type = "shapeless",
recipe = { 'farming_plus:wheat' }
})
core.register_alias( 'farming_plus:wheat_1', 'farming:wheat_3' )
core.register_alias( 'farming_plus:wheat_2', 'farming:wheat_3' )
core.register_alias( 'farming_plus:wheat_3', 'farming:wheat_3' )
core.register_alias( 'farming_plus:wheat_4', 'farming:wheat_3' )
core.register_alias( 'farming_plus:wheat_5', 'farming:wheat_3' )
core.register_alias( 'farming_plus:wheat_6', 'farming:wheat_3' )
core.register_alias( 'farming_plus:wheat_7', 'farming:wheat_3' )
core.register_alias( 'farming_plus:wheat_plant', 'farming:wheat_3' )