mirror of
https://github.com/minetest-mods/ropes.git
synced 2024-11-24 16:33:48 +01:00
Updated readme
This commit is contained in:
parent
43c72f5e8f
commit
3dc49300ed
20
README.md
20
README.md
@ -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
|
|
||||||
|
|
||||||
|
|
10
init.lua
10
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 mod_name = "vines"
|
||||||
local average_height = 12
|
local average_height = 12
|
||||||
|
|
||||||
@ -93,10 +86,7 @@ minetest.register_node("vines:side", {
|
|||||||
local walldir = n.param2
|
local walldir = n.param2
|
||||||
local down=-1
|
local down=-1
|
||||||
|
|
||||||
print("Placed")
|
|
||||||
|
|
||||||
while math.random(0,average_height) > 1.0 do
|
while math.random(0,average_height) > 1.0 do
|
||||||
print("One")
|
|
||||||
local pt = {x = p.x, y= p.y+down, z=p.z}
|
local pt = {x = p.x, y= p.y+down, z=p.z}
|
||||||
local nt = minetest.env:get_node(pt)
|
local nt = minetest.env:get_node(pt)
|
||||||
if nt.name == "air" then
|
if nt.name == "air" then
|
||||||
|
29
readme.txt
Normal file
29
readme.txt
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user