[Mod] Rockweed - The Cave Growable & Space Filler [rockweed]

User avatar
lister
Member
 
Posts: 55
Joined: Mon Apr 11, 2016 23:14

[Mod] Rockweed - The Cave Growable & Space Filler [rockweed]

by lister » Thu Oct 26, 2017 20:02

license

code: gpl v3+
textures: cc-by-sa v4+

dependencies

default

description

rockweed is a kind of petrified plant that thrives in caves. it is aware of other mods, but has no hard dependencies. players can craft the first seeds out of saplings and mese, and then cultivate the plant in a normal way.

what sets this plant apart from the usual trees is that it has no trunk of its own, using instead the surrounding rock. depending on its immediate surroundings, the seed will either grow into one of the useful formations, like a tree, a wall, or a bridge, or will wander around randomly, sprouting flowers and things like that.

full documentation is supplied with the code: https://gitlab.com/retsil/rockweed

download

check out the stable branch:
Code: Select all
git clone https://gitlab.com/retsil/rockweed.git

download the tarball: https://gitlab.com/retsil/rockweed/-/archive/master/rockweed-master.tar.gz

peruse the development branch: https://gitlab.com/retsil/rockweed/tree/dev

a screenshot with some trees and a spire is attached.
Attachments
rockweed-granite-trunk.jpg
granite-based rockweed formations
(191.29 KiB) Not downloaded yet
Last edited by lister on Wed Jun 13, 2018 05:40, edited 2 times in total.
 

Chem871
Member
 
Posts: 868
Joined: Sat Aug 19, 2017 21:49
Location: SCP-2935
GitHub: Chemguy99
In-game: Nyx Serris

Re: [Mod] Rockweed - The Cave Growable & Space Filler [rockw

by Chem871 » Thu Oct 26, 2017 20:42

Nodes.lua and trunks.lua are both empty.
What is SCP-055 again? I forgot.
 

User avatar
lister
Member
 
Posts: 55
Joined: Mon Apr 11, 2016 23:14

Re: [Mod] Rockweed - The Cave Growable & Space Filler [rockw

by lister » Thu Oct 26, 2017 22:25

Chem871, we are unable to replicate the bug you are reporting. both git clone command & master zip link provide us with correct (nonempty) files.
 

User avatar
lister
Member
 
Posts: 55
Joined: Mon Apr 11, 2016 23:14

Re: [Mod] Rockweed - The Cave Growable & Space Filler [rockw

by lister » Sun Oct 29, 2017 23:21

https://github.com/retsil2/rockweed/rel ... g/v--12.34

this master branch update contains a non-critical crystal bug fix (was incorrectly rejecting bases not on the trunk whitelist), torches pattern (yet to be documented), and balance tune-up (more glowies)
 

User avatar
azekill_DIABLO
Member
 
Posts: 7460
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
lister
Member
 
Posts: 55
Joined: Mon Apr 11, 2016 23:14

Re: [Mod] Rockweed - The Cave Growable & Space Filler [rockw

by lister » Fri Nov 03, 2017 04:12

azekill_DIABLO wrote:what about 16pix textures?


forthcoming. and by the way, we would like to put out a call for art submissions for another texture, which is not hemp-related. we were thinking just general steam-punk theme, or something else related to growing rock & the physics they call quantum. please do at least 256x256, cc0 or gpl v3.
 

User avatar
azekill_DIABLO
Member
 
Posts: 7460
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
lister
Member
 
Posts: 55
Joined: Mon Apr 11, 2016 23:14

update

by lister » Sat Nov 04, 2017 07:32

https://github.com/retsil2/rockweed
https://github.com/retsil2/rockweed/releases/tag/v-1

this master branch update contains new patterns: hanging floor and 3d-copier, while torches get a complete rewrite & the docs. config file changed & sourced from the mod dir & then the world dir for greater flexibility. 16x16 textures added and made the default.
 

User avatar
lister
Member
 
Posts: 55
Joined: Mon Apr 11, 2016 23:14

Re: [Mod] Rockweed - The Cave Growable & Space Filler [rockw

by lister » Mon Apr 02, 2018 16:52

hi! we have another question about the minetest.get_node(pos), and especially versus minetest.get_voxel_manip() approach.

it looks as though minetest.get_node(pos) doesn't work quite right when the node pos is outside of the forceloaded region (like if there is no player close enough to the pos), at least when we call it from an abm. is this a known behavior? can it be fixed by using minetest.get_voxel_manip()?
 

User avatar
rubenwardy
Moderator
 
Posts: 5544
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Mod] Rockweed - The Cave Growable & Space Filler [rockw

by rubenwardy » Mon Apr 02, 2018 21:08

You can't read from unloaded areas, so you need to load it. An LVM is probably the best way to do that, although you can also use emergeblocks which is asynchronous

This is explained in more detail here: https://rubenwardy.com/minetest_modding ... nment.html
There's also a chapter on using voxel manipulators
 

User avatar
lister
Member
 
Posts: 55
Joined: Mon Apr 11, 2016 23:14

Re: [Mod] Rockweed - The Cave Growable & Space Filler [rockw

by lister » Mon Apr 02, 2018 21:38

rubenwardy wrote:You can't read from unloaded areas, so you need to load it. An LVM is probably the best way to do that, although you can also use emergeblocks which is asynchronous


oh this is fantastic, it explains everything. we figured out something was wrong because the 3d-copier would jam when we were far away, and we somehow figured to check the position, and sure enough, it was sitting right on the block edge :)

https://github.com/retsil2/rockweed/issues/1
 

User avatar
lister
Member
 
Posts: 55
Joined: Mon Apr 11, 2016 23:14

Re: [Mod] Rockweed - The Cave Growable & Space Filler [rockw

by lister » Thu May 03, 2018 01:43

quick update on the dev branch: the 3d-copier is fixed, and it now copies full meta, allowing to duplicate containers with arbitrary contents. we are still testing it for the balance, and rewriting code here and there in order to take care of the rockweed trunk meta, which should allow to duplicate things like colored trunks, as well as preserve the orientation.

a random question for minetest gurus: what is the easiest way to access the node's inventory and erase all items except for the stack in the first slot? also, how about setting the stack count in the first inventory slot to 1?
 

User avatar
lister
Member
 
Posts: 55
Joined: Mon Apr 11, 2016 23:14

Re: [Mod] Rockweed - The Cave Growable & Space Filler [rockw

by lister » Tue May 15, 2018 02:15

yo yo yo :|)

the dev branch rewrite is complete, and pushed out for testing

the biggest change is almost everything goes through the voxel array now, and so all growth should happen correctly even in unloaded blocks

torches are gone, and will be replaced by something more useful for lighting up narrow caves

the floor pattern changed the trunk suggestion

the 3d-copier now copies chest contents by default, allowing players to dupe pretty much anything. this behavior is intended to re-balance the farming of really annoying, hard-to-build items, so that they only need to be made from scratch once.
 

User avatar
lister
Member
 
Posts: 55
Joined: Mon Apr 11, 2016 23:14
 

User avatar
lister
Member
 
Posts: 55
Joined: Mon Apr 11, 2016 23:14

Re: [Mod] Rockweed - The Cave Growable & Space Filler [rockw

by lister » Fri Nov 02, 2018 18:12

v2 master branch release brings numerous logic and balance improvements.

* trunk list expanded
* torches pattern replaced by starburst pattern
* flex wall pattern added
* floor trunk suggestion moved
* chaos star replaced all other star types
* 3d-copier dupes container contents by default
* voxel arrays insure correct behavior across block boundaries

~ happy digging @ hightime ~
 

User avatar
lister
Member
 
Posts: 55
Joined: Mon Apr 11, 2016 23:14

Re: [Mod] Rockweed - The Cave Growable & Space Filler [rockw

by lister » Wed Dec 05, 2018 06:07

v6 master branch release brings a few non-critical bug fixes and more balance tinkering

(the best version so far)
 


Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 5 guests