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

User avatar
lister
Member
 
Posts: 79
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: 882
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: 79
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: 79
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: 7466
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
lister
Member
 
Posts: 79
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: 7466
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO
 

User avatar
lister
Member
 
Posts: 79
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: 79
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: 5594
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: 79
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: 79
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: 79
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: 79
Joined: Mon Apr 11, 2016 23:14
 

User avatar
lister
Member
 
Posts: 79
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: 79
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)
 

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

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

by lister » Wed Dec 19, 2018 02:29

the dev branch now features 3 privs to help admis control who can dupe what

Code: Select all
priv             allows                              what can be duped

rockweed         planting seeds & growing patterns   common trunks
rockweed3d       arming 3d-copier for shallow copy   anything buildable
rockweed3dmeta   arming 3d-copier for deep copy      any chest + contents
 

User avatar
Mantar
Member
 
Posts: 60
Joined: Thu Oct 05, 2017 18:46

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

by Mantar » Wed Dec 19, 2018 19:59

I gotta say, a 3d copier function seems like feature creep for a cave vegetation mod.
 

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

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

by lister » Wed Dec 19, 2018 21:59

not arguing here, just musing about the balance

Mantar wrote:I gotta say, a 3d copier function seems like feature creep for a cave vegetation mod.


hehehehehehehe you would think so, right? but actually it's an integral feature having to do with gamer safety. may be it's just a russian in me (we've been duping items since diablo i), but if i can't dupe, and have to build the second mining drill mk3 from scratch, what with unstackable batteries and all, then i would rather have you slice my wrists right now.

seriously though, this is a very good feature, and it has nowhere to creep except backwards, meaning that we will keep working on duping balance issues. now that we got privs rolling, there's basically no 3d-copier, except for admins. but now we also got the situation where an admin can give the 3d-copy privs to people for a limited amount of time, which is kind of like a really slow super-nerfed give. Duping once takes like 15 minutes, and one has to be nearby for them to work, and if that's still too much, one can also meddle with chances and/or meta duping.

for example, one of the most precious things one can dupe without meta is like a rare ore. one can find a stone with mithril node, say, build a copier next to it, and then mine unlimited mithril. think about it: this is about as much trouble (if not more!) as just walking down the same cave looking for another mithril ore. other use cases are things like high-end technic machines, and again, once you have the materials, is there a machine that would take 15 minutes to build? so the 3d-copier with deep copy disabled is more like a fancy autocrafter for lazy people, which by the way takes a whole damn building.
 


Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 5 guests