projects
/
oweals
/
minetest_game.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c521cb0
)
Alias string to cotton
author
cupofinsane
<cupofinsane@users.noreply.github.com>
Wed, 9 Jul 2014 18:40:18 +0000
(
00:40
+0600)
committer
BlockMen
<nmuelll@web.de>
Sun, 13 Jul 2014 18:04:14 +0000
(20:04 +0200)
Cotton plants used to drop strings, now they drop farming:cotton. Some mods (namely, throwing) still use farming:string, therefore we need farming:string to be equal farming:cotton.
mods/farming/init.lua
patch
|
blob
|
history
diff --git
a/mods/farming/init.lua
b/mods/farming/init.lua
index 4f65d5dd9a272ee5c175f077344530d53c0a577c..9245470fdba2f4b889ce254c45fdbb3761a4a45a 100644
(file)
--- a/
mods/farming/init.lua
+++ b/
mods/farming/init.lua
@@
-50,10
+50,7
@@
farming.register_plant("farming:cotton", {
fertility = {"grassland", "desert"}
})
-minetest.register_craftitem("farming:string", {
- description = "String",
- inventory_image = "farming_cotton.png",
-})
+minetest.register_alias("farming:string", "farming:cotton")
minetest.register_craft({
output = "wool:white",