From 3dc49300ed541a529f4e956831e5e56306573221 Mon Sep 17 00:00:00 2001 From: Bas Date: Fri, 25 Jan 2013 22:54:40 +0100 Subject: [PATCH] Updated readme --- README.md | 20 -------------------- init.lua | 10 ---------- readme.txt | 29 +++++++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 30 deletions(-) delete mode 100644 README.md create mode 100644 readme.txt diff --git a/README.md b/README.md deleted file mode 100644 index a63a16d..0000000 --- a/README.md +++ /dev/null @@ -1,20 +0,0 @@ -Vines 1.5 -===== -Vines and ropebox - -Changelog -==== -2.0 -* Root vines -* Bottom vines - -1.5 -* Added side vines -* Uses plant_lib api -* Original vines do not spawn anymore but are still there. - -1.0 -* Vines spawn beneath leave nodes -* Has rotten and non rotten vines - - diff --git a/init.lua b/init.lua index c934201..663c906 100644 --- a/init.lua +++ b/init.lua @@ -1,10 +1,3 @@ ---Vines Mod for minetest adds vines to trees and dirt with grass nodes, ---Also adds spawning API made for things that grow on the side of nodes signlike(param2) and things that grow downward. - ---BY: Bas080 ---DESCRIPTION: Vines for minetest ---Licence: WTFPL - local mod_name = "vines" local average_height = 12 @@ -93,10 +86,7 @@ minetest.register_node("vines:side", { local walldir = n.param2 local down=-1 - print("Placed") - while math.random(0,average_height) > 1.0 do - print("One") local pt = {x = p.x, y= p.y+down, z=p.z} local nt = minetest.env:get_node(pt) if nt.name == "air" then diff --git a/readme.txt b/readme.txt new file mode 100644 index 0000000..873e529 --- /dev/null +++ b/readme.txt @@ -0,0 +1,29 @@ + __ __ ___ __ _ _______ _______ +| | | || | | | | || || | +| |_| || | | |_| || ___|| _____| +| || | | || |___ | |_____ +| || | | _ || ___||_____ | + | | | | | | | || |___ _____| | + |___| |___| |_| |__||_______||_______| + +BY: bas080 +DESCRIPTION: Vines and ropebox +VERSION: 1.5 +LICENCE: WTFPL +FORUM: http://forum.minetest.net/viewtopic.php?id=2344 + +Changelog + +2.0 +* Root vines +* Bottom vines + +1.5 +* Added side vines +* Uses plant_lib api +* Original vines do not spawn anymore but are still there. + +1.0 +* Vines spawn beneath leave nodes +* Has rotten and non rotten vines +* Ropebox with craft