I've made an improvment to the mod caverealms. All the blocks now work with the mods- moreblocks (circular saw)- stairs- columniaand preserve their glowing and transparency.I've tested it on my own solo world without issue.

in the following comments I distinguish the mod "stairs" (with quotes) from the stair-shaped node stair (without quotes), as i write mods "names" with quotes.

The goal is to register the full blocks provided by this mod in : 1°) the circular saw ('c-saw') provided by the mod "moreblocks\stairsplus"; 2°) the mod "stairs" optionaly as fallback if moreblocks is not present; 3°) the mod "columnia"

Note that it is not possible to register all the blocks in the workbench from "xdecor" because "xdecor" have rules that exclude nodes with some fields (for example 'light_source') from being processed by the workbench.

by this way we can obtain 1°) slopes, microblocks, stairs and all sub-nodes by c-saw; 2°) recipes for stairs and slabs from "stairs"; 3°) the columns blocks by "columnia";

if those mods are installed of course ! (we test that first of all)

Why "stairs" and/or/not c-saw ? ------------------------------------------- c-saw provide more subnodes than "stairs"; c-saw preserve the name of the original mod while "stairs" do not. for example with stairs c-saw register "caverealm:stair_glow_crystal" while "stairs" register "stairs:stair_glow_crystal"; c-saw preserve all the fields from the original blocks, like 'use_texture_alpha' for transparency; "stairs" do not preserve some fields like transparency, so we have to override the nodes created to preserve all the fields;

so you may want to register -or not- with c-saw and/or "stairs" (optionaly as fallback) : see below

WHAT YOU HAVE TO DO : =====================

1°) Edit the depends.txt file of this mod and add (if they are not present) the lines :

moreblocks? stairs? columnia?

to be sure that those mods will be loaded prior to this one and then their registering functions can be call by us

2°) Edit the init.lua of this mod "caverealms" and add the line :

dofile(modpath.."/subnodes.lua")

actualy at line n°19, just after the existing line : dofile(modpath.."/abms.lua") --abm definitions

Our "dofile()" will make this subnodes.lua processed

3°) copy this file subnodes.lua in the directory of the mod "caverealms"

License: as this mod, code WTFPL (the only work i've done is to call the registering functions of the mods moreblocks-circular saw, stairs and columnia) Have fun :) contact : tagacraft@free.fr]]

--[[ the folowing booleans behave to register : 1°) first with c-saw; 2°) if c-saw is not present, with "stairs" as fallback; 3°) not with "stairs", no matter if c-saw was called or not; 4°) with "columnia"

--function to override "stairs" registered nodes to preserve fields not taken in account by "stairs" : local function override_stairs(generic_name, main_node) local fields_to_add = {} local name_prefix = "stairs:" local name_mids = {"stair_","slab_"} local node_name = "" -- retrieve all the fields from the main node : for k,v in pairs(minetest.registered_nodes[main_node]) do -- keep all the field that are not functions because we look only for fields like "light_source", "use_texture_alpha", etc. if type(v)~="function" then fields_to_add[k] = v end end

for key, value in pairs(name_mids) do -- construct the sub_nodes names to override (slab, stair) node_name = name_prefix..value..generic_name -- example: stairs:stair_glow_crystal local node = {} for k,v in pairs(minetest.registered_nodes[node_name]) do node[k] = v end -- clone the node created by "stairs"; for k2add, v2add in pairs(fields_to_add) do if not node[k2add] then node[k2add] = v2add end-- add fields/values from fields_to_add if they not yet exist; end node_name = ":"..node_name minetest.register_node(node_name, node) -- override node end end

local node_name_short= "" local node_name_full = "" local groups={} local images={} local desc="" local desc_slab="" local desc_stair="" local sounds={}

-- retrieve all the fields from the main node : for k,v in pairs(minetest.registered_nodes[main_node]) do -- keep all the field that are not functions because we look only for fields like "light_source", "use_texture_alpha", etc. if type(v)~="function" then fields_to_add[k] = v end end

for key, value in pairs(name_mids) do -- construct each node name to override node_name = name_prefix..value..generic_name -- example: columnia:column_mid_glow_crystal local node = {} for k,v in pairs(minetest.registered_nodes[node_name]) do node[k] = v end -- clone the node created by "columnia"; for k2add, v2add in pairs(fields_to_add) do if not node[k2add] then node[k2add] = v2add end -- add fields/values from fields_to_add if they not yet exist; end node_name = ":"..node_name minetest.register_node(node_name, node) -- override node end end

local node_name_short="" local node_name_full="" local groups={} local images={} local desc=""

cool.I'm now working on a mod that provide an in-game tool to punch a node: then this node will be registered (if suitable) to be automaticaly registered with circular saw, stairs and columnia at the next server restart, no matter what mod it came from.much more usefull : you see a block you would have the derivated slopes, stairs and others microblocks : just punch it and it will be available on next restart :)of course i take a big care to options, checks, consequencies of mod uninstalling, etc.I hope to finish it by a few days. Work in a good progress at this time.

tagada wrote:cool.I'm now working on a mod that provide an in-game tool to punch a node: then this node will be registered (if suitable) to be automaticaly registered with circular saw, stairs and columnia at the next server restart, no matter what mod it came from.much more usefull : you see a block you would have the derivated slopes, stairs and others microblocks : just punch it and it will be available on next restart :)of course i take a big care to options, checks, consequencies of mod uninstalling, etc.I hope to finish it by a few days. Work in a good progress at this time.

That sounds interesting. We will check it out. Do you plan to use a new priv for the tool or only server priv owner will be able to use it ?

at this time any player can punch a node;to avoid server overload with click-spamming, each click show a formspec to summarize the checks executed and what you can obtain from what you have clicked, while the mod precalculated which blocks will be created. Then the player can confirm or cancel the whole work to be done on next restart. The mod is not intended at this time to restart the server automaticaly, it is to the Admin to do it. Perhaps a right-click (with admin priv) to preview what is to be done, allow it or not, then force restart.perhaps also an option to force the mod to wait for Admin's check before processing... if the admin is not too far too often, causing players to wait an unknown amout of time to benefit from the choiced new block :)

tagada wrote:at this time any player can punch a node;to avoid server overload with click-spamming, each click show a formspec to summarize the checks executed and what you can obtain from what you have clicked, while the mod precalculated which blocks will be created. Then the player can confirm or cancel the whole work to be done on next restart.

I would suggest to only made it available with a special priv. You will burden a lot of work to admins, specialy on servers with usually more players online than I have. Admins have to filter out which clicks have been serious and which requests have been just fake or not knowing what he is doing.With a priv I can give the possibility to players I already trust, or if I am a lazy admin I can just make the priv available to each new player who joins in.

If i understand well, as admin you expect to can designate, trought special priv, some player to allow the work to be done on next restart, or with some option to automatically do the work asked.Ok, I will do that.Perhaps i had not been suficiently accurate :At this step of my work, if the player punch a node that is not suitable to be registered by circular saw, stairs or columnia, the player is warned by a formspec that explain the reason why the node is not suitable : not a node, an entity, a mesh, already registered, forbidden block (for example, you arbitrary decide that nyancat is specialy exclude from being processed just because you are the admin and you decide to put this block in forbidden list while it is technicaly possible) etc.So the admin (or a special privilegied player) is not informed about nothing as there is nothing to be done.pictures of that :

On the other way, if the block punched pass the exam of rules, the player is warned with a form that summarize what should be done (with the option of approval from acredited player) so the player can confirm (or cancel) that he realy want to ask (not to do) for that work to be done.

As i progress, i discover a very big amount of possibilities that grow a simple mod to a great big project (if i done it, it will be my first mod in any game) so i'd better stay simple : i think to make a first version with basic behaviours, then perhaps think to a next version with more accurate possibilities.

So for this time i keep in mind that server's admin will be glad to- decide if yes or not a certain block technicaly proccessable into stairs, slope, etc will be proccessed or not;- decide to delegate this responsability to a specialy acredited player or to automate the process;

For the moment I must make a break for few days in programming, so the work is in stand by probably for a week... (nothing bad, just IRL :) )glad to have admin's point of view.thanks.

tagada wrote:If i understand well, as admin you expect to can designate, trought special priv, some player to allow the work to be done on next restart, or with some option to automatically do the work asked.Ok, I will do that.

Not exactly :) You said you made a tool with which you can punch nodes to add to circular saw.I would suggest that the tool is only useable if you own a special priv. For people withoutthat priv the tool does not even exists.

tagada wrote:Perhaps i had not been suficiently accurate :

I understood your plans with the formspec :)

tagada wrote:So for this time i keep in mind that server's admin will be glad to- decide if yes or not a certain block technicaly proccessable into stairs, slope, etc will be proccessed or not;- decide to delegate this responsability to a specialy acredited player or to automate the process;

For the moment I must make a break for few days in programming, so the work is in stand by probably for a week... (nothing bad, just IRL :) )glad to have admin's point of view.thanks.

interaction on this server seems to have slowed. Would it be possible to download this world/map before it disappears altogether ,[ like so many others!] I'm sure that the world is backed up somewhere. BTW - This was a great experience, best mine-test server by far. PS: hoping all involved are healthy and not sick. -- It is easy to imagine the many hours of work that went in to this project. -- May God Bless!

me60 wrote:interaction on this server seems to have slowed. Would it be possible to download this world/map before it disappears altogether ,[ like so many others!] I'm sure that the world is backed up somewhere. BTW - This was a great experience, best mine-test server by far. PS: hoping all involved are healthy and not sick. -- It is easy to imagine the many hours of work that went in to this project. -- May God Bless!

Do not worry, Jungle will not disappear. Sometimes it gets quiet on some servers and crowded on others.Jungle was never meant to be crowded, but to give a place for serious players.

the two servers Jungle and LillyInTheValley are again a step close.After enabling the chat servers wide, done via IRC, I startet a new mod today.

Interkom

This mod enables multi server communikation. It is wip and for the moment it startswith a new command "/interkom" available to everyone with interact.

Using the command will show you which servers are online and the players on each of them.

I will add more features in the future like sending mails and messages and maybe even exchangebasic stuff with players on any of the connected servers. If someone has any ideas, feel free to post them hereor ingame. This is only the beginning and mod will develop over time.

One wiki suggests zinc is between +2 and -300 (I'm not on right now so I can't put up links)I didnt find zinc until below -600.

Cant find clay anywhere, need a compressor to "make" clay from artificial clay, but no fuel running compressor,(only LV MV and HV) and you need clay to make the power tools... can't make one without the other, need the other to make the one... argh! Similarly, can't make rubber without dust, can't make LV mv hv grinder without rubber, the fuel grinder isnt buildable? (same with brass), similarly fuel alloy furnace needs brick, but need clay to make brick.. again the issue...

Thanks for your time,Dustin - aka Hoff - aka csisdustin

PS:would luv to add to the wiki...

and for more brainiac ideas:I read you can use a "public" tools, but can't find the locations.. It's only like my first week.. but I'm hoping I can help simplify the tech tree for others as well.. (-- update, walk 2 rooms from spawn.. found it.. doh!!)That map crashes my viewer!

With that said, I've got a 16x16 farm running pretty great with bamboo growing like a weed! -btw: is there a fast tool for cutting bamboo?What does the tar knife do?luv the sickle!already have a gold lock box..I hate that lemonade is made from paint.. but like the strawberry lemonade!I can only make the spicy hamburger out of tofu, no animals in the building sector?Can we add an egg supplement? (?cornstarch?, water and algea?)we have an egg group (class?) but only one type of egg?Now that canada's legalizing weed, I luv the possibilities in here with both types! haha

Luv the options, got millions more running around in my head..but how can you say my tummy is getting sick of the same food after only 4 times??

One wiki suggests zinc is between +2 and -300 (I'm not on right now so I can't put up links)I didnt find zinc until below -600.

Cant find clay anywhere, need a compressor to "make" clay from artificial clay, but no fuel running compressor,(only LV MV and HV) and you need clay to make the power tools... can't make one without the other, need the other to make the one... argh! Similarly, can't make rubber without dust, can't make LV mv hv grinder without rubber, the fuel grinder isnt buildable? (same with brass), similarly fuel alloy furnace needs brick, but need clay to make brick.. again the issue...

clay you find underwater, search near default:sand or even below it sometimes.clay can also be found in "TheMall" adminstore. Go there by poi.Use treetap in nodebreaker to get rubber. No need to grind something. Cook saplings maybe.

Hoffscore wrote:and for more brainiac ideas:I read you can use a "public" tools, but can't find the locations.. It's only like my first week.. but I'm hoping I can help simplify the tech tree for others as well.. (-- update, walk 2 rooms from spawn.. found it.. doh!!)That map crashes my viewer!

crashes on android are frequent. Too many mods and media I guess for Android ram ?

Hoffscore wrote:With that said, I've got a 16x16 farm running pretty great with bamboo growing like a weed! -btw: is there a fast tool for cutting bamboo?What does the tar knife do?luv the sickle!already have a gold lock box..I hate that lemonade is made from paint.. but like the strawberry lemonade!I can only make the spicy hamburger out of tofu, no animals in the building sector?Can we add an egg supplement? (?cornstarch?, water and algea?)we have an egg group (class?) but only one type of egg?Now that canada's legalizing weed, I luv the possibilities in here with both types! haha

bamboo and tar knife I must look myself, do not know right now.mobs you find in hunting area only. Unless you tame and bring them to your place.there used to be two types of eggs, but the old eggs are not produced anymore :) That group is only for compability reasons. Maybe an egg supplement is not a bad idea.

Hoffscore wrote:Luv the options, got millions more running around in my head..but how can you say my tummy is getting sick of the same food after only 4 times??

Jungle climate is very hot and humid making everybodys stomach too sensible for eatingor drinking the same thing more often than 4 times in a row.

clay you find underwater, search near default:sand or even below it sometimes.clay can also be found in "TheMall" adminstore. Go there by poi.Use treetap in nodebreaker to get rubber. No need to grind something. Cook saplings maybe.

did read it, but basic grinder not available (only lv and higher)brass recipe missing? can make it with grinder & alloy..treetap makes latex, need coal dust to make rubber...didnt find saplings tech to make rubber, just glue

Gundul wrote:crashes on android are frequent. Too many mods and media I guess for Android ram ?

runnining on pc - win 7(12 gig ram), and the photo viewer died trying to open the jungle map,the game runs fine...

I so still luv the sickle! cuts down some trees, hardly gets damaged

csisdustin wrote:we have an egg group (class?) but only one type of egg? without hunter area, no eggs.Can we please add an egg supplement? (?cornstarch?, water and algea?)

bamboo growing like weed is very useful for me - cooking mostly..still unsure of tar knife staying away from mobs for now, liking the veggie friendly recipies.. but only one hamburger without egg..(need for mayo)

Didnt even think about the Jungle climate, you are so right!Thanks for the prompt reply Gundul