

To separate plant from stage number e.g.: Require seeds which are found inside normal and jungle grass.Ĭrops grow by adding your new plant to the groupĪnd numbering the stages with sufix from _1 to as many stages as you like,īut the underscore MUST be used only once in the node name On tilled soil so no seeds are required, original wheat and cotton will
#Minetest seed code for empty world mod
Require seeds like wheat and cotton are found when digging in long grasses.įarming Redo is a featured version of the built-in farming mod in minetestĪnd comes with wheat, cotton, carrot, cucumber, potato and tomato to start out It also includes many new foodsĪnd crops which can be planted directly onto tilled soil without seeds. Players to grow crops even when they are not nearby. This mod replaces the default farming mod with a fully compatible API that allows Original wheat and cotton will require seeds which are found inside normal and jungle grass. It also features that foods can be planted on tilled soil so no seeds are required, Potato and tomato to start out with which spawn throughout the map. This mod must be named farming a simplified version of the built-in farming mod in minetestīut improved with more foods, it comes with wheat, cotton, carrot, cucumber, Seeds made with register_plant function are placed in world and germinate into stage_1 of crop.Īdd random seed for each registered decoration, tidy codeĪdded farming_stage_lengh setting to determine speed of crop growth Junglegrass drops rice seed instead of rice food Stairs no longer dependency, will use only when found Re-add rice seeds and recipe to dry into edible riceĪdd spanish translation (thx mckaygerhard), add trellis setting to registered_crops (thx nixnoxus) * added asparagus spinach eggplant for new textures, Sugar Cube * add strawberries if ethereal mod not active, * add trellis setting to registered_crops and fix pea and soy crop names * add spanish translation (thx mckaygerhard), add Esperanto translation * tweak soil types to work better with older 0.4.x clients * localize math.random for cocoa generation * add ginger, recipe for yellow dye using onion * check for old wheat/cotton seeds and grow to stage_1 via abm * junglegrass drops rice seed instead of rice food * re-add rice seeds and recipe to dry into edible rice
#Minetest seed code for empty world update
* Add ABM labels and update info into README Tweak wet soil > dry soil behaviour to run better * return to default wet soil behaviour (within 3 nodes all axis) New coffee crop textures, new pumpkin & jack o' lantern textures, * change melon textures, complaints they looked too similar to minecraftĪlso new sugar cube texture puff how stupid are thos from contendb, In fact that's the whole reason minetest.get_perlin seems to exist.Mckaygerhard 08c3a9b37b Merge sync upstream 'master' of. minetest.get_perlin was supposed to allow modders to combine their own noise-params with the world-seed (presumably the same way the engine does it). My understanding is that the engine loads the noise-params from map_meta.txt and then combines them with the world seed. But apparently the documentation uses the world active simply to mean the config with the highest priority. I would consider active noise-params to be the actual numbers that is actually used by the C++ mapgen. However, minetest.get_mapgen_setting_noiseparams actually does NOT return active noise-params.

The quoted documentation led me to believe that minetest.get_mapgen_setting would return a noise-param group as a table serialized to string, rather than nil. Setting `name` exists and is a valid NoiseParams. * Same as above, but returns the value as a NoiseParams table if the * `minetest.get_mapgen_setting_noiseparams(name)` * Gets the *active* mapgen setting (or nil if none exists) in stringįormat with the following order of precedence: If you need the active noise params -> minetest.get_mapgen_setting_noiseparams(key) If you need the inactive noise params from nf -> use ttings:get_np_group(key) Returns original table from map_meta.txt. Noise params are groups, hence they cannot be read out by get_mapgen_setting which only returns strings or nil on error. Though I cannot explain the origin of the get_perlin calculation issues. It's probably okay if this never gets fixed. This would require increasing the total size of a seed to 9 bytes (yuck) The seed value should be used, essentially a 1-bit version code, but Seeds ever starts getting used, existing worlds will break due to aĭifferent hash outcome and no way to differentiate between versions.Ī solution could be to add a new bit to designate that the top half of We are losing half our entropy by doing this, but it is necessary to
