Don wrote:Are you doing that with generate_ore?
I tried to get sheet to do that but couldn't.
Sokomine wrote:... The speed gain ought to be significant as you can skip reading and writing back voxelmanip data. Of course that process might already be so fast that it's hard to notice. But it does sum up if other mods do the same. ...
DARKAGE: total time : 1.899217 seconds
DARKAGE: total time without vm exchange: 0.008576 seconds
DARKAGE: total savings : 1.890641 seconds
blert2112 wrote:IF my math is correct those results are huge! 0.45% of the time was spent working out the nodes, the other 99.55% of the time was transferring VoxelManip data.? Such results make me doubt my math.
minetest.register_node( "darkage:cobble_with_plaster", {
description = "Cobble with Plaster",
inventory_image = "darkage_chalk.png^([combine:16x16:0,4=default_cobble.png)",
tiles = { "default_cobble.png^([combine:16x16:0,12=darkage_chalk.png)", "darkage_chalk.png^([combine:16x16:0,4=default_cobble.png)", "default_cobble.png^([combine:16x16:12,0=darkage_chalk.png)^[transformFX", "default_cobble.png^([combine:16x16:12,0=darkage_chalk.png)", "default_cobble.png", "darkage_chalk.png" },
is_ground_content = false,
sunlight_propagates = false,
paramtype2 = "facedir",
drop = "default:cobble",
groups = {cracky=3},
sounds = default.node_sound_stone_defaults()
})
darkage = {}
darkage_creative = 0
darkage.register_reinforced = function( basename, texture, description, craft_from )
local group_def = {cracky=3, choppy=2, oddly_breakable_by_hand=1, not_in_creative_inventory = darkage_creative};
minetest.register_node("darkage:reinforced_"..basename, {
description = description.." Reinforced",
inventory_image = texture.."^darkage_reinforced_top.png",
tile_images = {texture.."^darkage_reinforced_top.png", texture.."^darkage_reinforced_top.png", "("..texture.."^[transformFY)^(darkage_reinforced_side.png)", texture.."^[transformFX^(darkage_reinforced_side.png)^[transformFX", texture.."^darkage_reinforced_side.png^(darkage_reinforced_side.png^[transformFX)", texture.."^darkage_reinforced_side.png^(darkage_reinforced_side.png^[transformFX)" },
groups = group_def,
paramtype = "light",
paramtype2 = "facedir",
})
--crafting--
minetest.register_craft({
output = "darkage:reinforced_"..basename.." 4",
recipe = { { "default:stick", "", "default:stick" },
{"", craft_from , ""},
{ "default:stick", "", "default:stick" },
} });
end
--Default mod
darkage.register_reinforced( 'clay', 'default_clay.png', 'Clay', 'default:clay' );
darkage.register_reinforced( 'cobble', 'default_cobble.png', 'Cobble Stone', 'default:cobble' );
darkage.register_reinforced( 'stone', 'default_stone.png', 'Stone', 'default:stone' );
darkage.register_reinforced( 'wood', 'default_wood.png', 'Wood Planks', 'default:wood' );
--Darkage mod
darkage.register_reinforced( 'adobe', 'darkage_adobe.png', 'Adobe', 'darkage:adobe' );
darkage.register_reinforced( 'chalk', 'darkage_chalk.png', 'Chalk', 'darkage:chalk' );
darkage.register_reinforced( 'mud', 'darkage_mud_up.png', 'Dried Mud', 'darkage:mud' );
Napiophelios wrote:yes can you add group = {stick=1} to iron stick :)
Napiophelios wrote:I think there is a problem with serpentine settings in the reg-fix mapgen.
whenever I get to -200 I get an error.
I changed maxY from -350 to -250 and the unhandled exception does not happen again.
It says maxY>minY.....sorry I accidentally deleted my log file
Users browsing this forum: No registered users and 8 guests