From 125b801913c25e66713c7e42791d7674e2d5e0ea Mon Sep 17 00:00:00 2001 From: OldCoder Date: Sun, 4 Sep 2022 22:00:34 -0700 Subject: [PATCH] Imported from trollstream "ContentDB" --- mud/LICENSE.txt | 20 +++ mud/README.txt | 240 ++++++++++++++++++++++++++++ mud/biome.lua | 33 ++++ mud/init.lua | 90 +++++++++++ mud/mod.conf | 4 + mud/textures/mud.png | Bin 0 -> 362 bytes mud/textures/mud_brick.png | Bin 0 -> 381 bytes mud/textures/polished_mud_brick.png | Bin 0 -> 380 bytes 8 files changed, 387 insertions(+) create mode 100644 mud/LICENSE.txt create mode 100644 mud/README.txt create mode 100644 mud/biome.lua create mode 100644 mud/init.lua create mode 100644 mud/mod.conf create mode 100644 mud/textures/mud.png create mode 100644 mud/textures/mud_brick.png create mode 100644 mud/textures/polished_mud_brick.png diff --git a/mud/LICENSE.txt b/mud/LICENSE.txt new file mode 100644 index 0000000..dd43a07 --- /dev/null +++ b/mud/LICENSE.txt @@ -0,0 +1,20 @@ +License of source code +---------------------- + +Copyright (c) 2021 block_plyer. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +textures mud_mud.png blocky_player CC-BY-SA +code blocky_player CC-BY-SA + +For more details: +http://creativecommons.org/licenses/by-sa/3.0/ diff --git a/mud/README.txt b/mud/README.txt new file mode 100644 index 0000000..db07680 --- /dev/null +++ b/mud/README.txt @@ -0,0 +1,240 @@ +Textures +-------- +Cisoun's texture pack (CC BY-SA 3.0): + default_jungletree.png + default_lava.png + default_leaves.png + default_sapling.png + default_bush_sapling.png + default_stone.png + default_tree.png + default_tree_top.png + default_water.png + +RealBadAngel's animated water (CC BY-SA 3.0): + default_water_source_animated.png + default_water_flowing_animated.png + +VanessaE (CC BY-SA 3.0): + default_torch_animated.png + default_torch_on_ceiling_animated.png + default_torch_on_floor_animated.png + default_torch_on_floor.png + default_desert_sand.png + default_desert_stone.png + default_sand.png + default_mese_crystal.png + default_mese_crystal_fragment.png + +Calinou (CC BY-SA 3.0): + default_brick.png + default_papyrus.png + default_mineral_copper.png + +PilzAdam (CC BY-SA 3.0): + default_jungleleaves.png + default_junglesapling.png + default_obsidian_glass.png + default_obsidian_shard.png + default_mineral_gold.png + +jojoa1997 (CC BY-SA 3.0): + default_obsidian.png + +InfinityProject (CC BY-SA 3.0): + default_mineral_diamond.png + +Splizard (CC BY-SA 3.0): + default_pine_sapling.png + default_pine_needles.png + +Zeg9 (CC BY-SA 3.0): + default_coal_block.png + +paramat (CC BY-SA 3.0): + wieldhand.png -- Copied from character.png by Jordach (CC BY-SA 3.0) + default_pinetree.png + default_pinetree_top.png + default_pinewood.png + default_acacia_leaves.png + default_acacia_leaves_simple.png + default_acacia_sapling.png + default_acacia_bush_sapling.png + default_pine_bush_sapling.png + default_acacia_tree.png + default_acacia_tree_top.png + default_acacia_wood.png + default_acacia_bush_stem.png + default_bush_stem.png + default_pine_bush_stem.png + default_junglewood.png + default_jungletree_top.png + default_sandstone_brick.png + default_obsidian_brick.png + default_stone_brick.png + default_desert_stone_brick.png + default_sandstone_block.png + default_obsidian_block.png + default_stone_block.png + default_desert_stone_block.png + default_river_water.png + default_river_water_source_animated.png + default_river_water_flowing_animated.png + default_dry_grass.png + default_dry_grass_side.png + default_dry_grass_*.png + default_grass_side.png -- Derived from a texture by TumeniNodes (CC-BY-SA 3.0) + default_mese_block.png + default_silver_sand.png + default_mese_post_light_side.png + default_mese_post_light_side_dark.png + default_mese_post_light_top.png + default_silver_sandstone.png -- Derived from a texture by GreenXenith (CC-BY-SA 3.0) + default_silver_sandstone_brick.png -- Derived from a texture by GreenXenith (CC-BY-SA 3.0) + default_silver_sandstone_block.png -- Derived from a texture by GreenXenith (CC-BY-SA 3.0) + default_bookshelf_slot.png -- Derived from a texture by Gambit (CC-BY-SA 3.0) + default_marram_grass_*.png -- Derived from textures by TumeniNodes (CC-BY-SA 3.0) + default_emergent_jungle_sapling.png + default_permafrost.png -- Derived from a texture by Neuromancer (CC BY-SA 3.0) + default_stones.png -- Derived from a texture by sofar (CC0 1.0) + default_stones_side.png -- Derived from a texture by sofar (CC0 1.0) + default_moss.png + default_moss_side.png + default_fence_rail_acacia_wood + default_fence_rail_aspen_wood -- Derived from a texture by sofar (CC BY-SA 3.0) + default_fence_rail_junglewood + default_fence_rail_pine_wood + default_fence_rail_wood -- Derived from a texture by BlockMen (CC BY-SA 3.0) + gui_hotbar.png + gui_hotbar_selected.png + +TumeniNodes (CC BY-SA 3.0): + default_desert_cobble.png -- Derived from a texture by brunob.santos (CC BY-SA 3.0) + default_coniferous_litter.png + default_coniferous_litter_side.png + default_grass.png + default_dry_dirt.png + +BlockMen (CC BY-SA 3.0): + default_aspen_leaves.png -- Derived from Sofar's texture + default_wood.png + default_clay_brick.png + default_iron_ingot.png + default_gold_ingot.png + default_tool_steelsword.png + default_diamond.png + default_tool_*.png + default_lava_source_animated.png + default_lava_flowing_animated.png + default_stick.png + default_chest_front.png + default_chest_lock.png + default_chest_side.png + default_chest_top.png + default_mineral_mese.png + default_meselamp.png + gui_formbg.png + gui_furnace_arrow_bg.png + gui_furnace_arrow_fg.png + gui_hb_bg.png + +sofar (CC BY-SA 3.0): + default_aspen_sapling + default_aspen_tree + default_aspen_tree_top, derived from default_pine_tree_top (by paramat) + default_aspen_wood, derived from default_pine_wood (by paramat) + default_chest_inside + +sofar (CC0 1.0): + default_gravel.png -- Derived from Gambit's PixelBOX texture pack light gravel + +Neuromancer (CC BY-SA 3.0): + default_cobble.png, based on texture by Brane praefect + default_mossycobble.png, based on texture by Brane praefect + default_furnace_*.png + +Gambit (CC BY-SA 3.0): + default_bronze_ingot.png + default_copper_ingot.png + default_copper_lump.png + default_iron_lump.png + default_gold_lump.png + default_clay_lump.png + default_coal.png + default_grass_*.png + default_paper.png + default_diamond_block.png + default_ladder_steel.png + default_sign_wall_wood.png + default_flint.png + default_snow.png + default_snow_side.png + default_snowball.png + default_key.png + default_key_skeleton.png + default_book.png + +asl97 (CC BY-SA 3.0): + default_ice.png + +Pithydon (CC BY-SA 3.0) + default_coral_brown.png + default_coral_orange.png + default_coral_skeleton.png + +Ferk (CC0 1.0): + default_item_smoke.png + +npx (CC BY-SA 3.0): + default_rainforest_litter.png + default_rainforest_litter_side.png + +kaeza (CC-BY-SA 3.0): + default_desert_sandstone.png + default_desert_sandstone_brick.png + default_desert_sandstone_block.png + +kilbith (CC BY-SA 3.0): + default_steel_block.png + default_copper_block.png + default_bronze_block.png + default_gold_block.png + default_tin_block.png + default_mineral_tin.png + default_tin_ingot.png + default_tin_lump.png + +tobyplowy (CC BY-SA 3.0): + default_kelp.png + +CloudyProton (CC BY-SA 3.0): + default_book_written.png, based on default_book.png by Gambit + +Mossmanikin (CC BY-SA 3.0): + default_fern_*.png + +random-geek (CC BY-SA 3.0): + default_blueberries.png + default_blueberry_overlay.png + default_blueberry_bush_leaves.png, derived from default_bush_leaves (by paramat) + default_blueberry_bush_sapling.png + default_dirt.png -- Derived from a texture by Neuromancer (CC BY-SA 3.0) + +Krock (CC0 1.0): + default_glass.png + default_glass_detail.png + +Topywo (CC BY-SA 3.0) + default_coral_cyan.png + default_coral_green.png + default_coral_pink.png + +Extex101 (CC BY-SA 3.0) + default_large_cactus_seedling.png + default_dry_shrub.png -- Derived from the original texture by celeron55 + +An0n3m0us (CC BY-SA 3.0): + heart.png -- Derived from a texture by KevDoy (CC BY-SA 3.0) + bubble.png -- Derived from a texture by BlockMen (CC BY-SA 3.0) +Stus' (CC BY-SA 3.0): +3D Armor textures \ No newline at end of file diff --git a/mud/biome.lua b/mud/biome.lua new file mode 100644 index 0000000..9e07e2b --- /dev/null +++ b/mud/biome.lua @@ -0,0 +1,33 @@ + +minetest.register_biome({ + name = "Mud Biome", + node_top = 'mud:mud', + depth_top = 3, + node_filler = 'default:dirt', + depth_filler = 4, + node_stone = 'default:stone', + y_max = 1300, + y_min = -1300, + vertical_blend = 10, + heat_point = 20, + humidity_point = 70, +}) + +minetest.register_ore({ + ore_type = "blob", + ore = "mud:mud", + wherein = {"default:sand"}, + clust_scarcity = 16 * 16 * 16, + clust_size = 5, + y_max = 0, + y_min = -15, + noise_threshold = 0.0, + noise_params = { + offset = 0.5, + scale = 0.2, + spread = {x = 5, y = 5, z = 5}, + seed = -316, + octaves = 1, + persist = 0.0 + }, + }) \ No newline at end of file diff --git a/mud/init.lua b/mud/init.lua new file mode 100644 index 0000000..a39e809 --- /dev/null +++ b/mud/init.lua @@ -0,0 +1,90 @@ +--Blocky_Player +--Please leave a review on ContentDB + +minetest.register_node("mud:mud", { + description = "Mud", + tiles = {"mud.png"}, + groups = {crumbly = 3, soil = 1}, + sounds = default.node_sound_dirt_defaults(), +}) + +minetest.register_node("mud:mud_brick", { + description = "Mud Brick", + tiles = {"mud_brick.png"}, + groups = {cracky = 3}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_craft({ + output = "mud:mud_brick 4", + recipe = { + {"mud:mud", "mud:mud"}, + {"mud:mud", "mud:mud"}, + } +}) + +minetest.register_node("mud:polished_mud_brick", { + description = "Polished Mud Brick", + tiles = {"polished_mud_brick.png"}, + groups = {cracky = 3}, + sounds = default.node_sound_stone_defaults(), +}) + +minetest.register_craft({ + output = "mud:polished_mud_brick 4", + recipe = { + {"mud:mud_brick", "mud:mud_brick"}, + {"mud:mud_brick", "mud:mud_brick"}, + } +}) + +minetest.register_node("mud:wet_mud", { + description = "Wet Mud", + tiles = {"mud.png"}, + is_ground_content = false, + walkable = false, + groups = {crumbly = 3, soil = 1, falling_node = 1, sand = 1, water = 3, liquid = 3, cools_lava = 1}, + sounds = default.node_sound_dirt_defaults(), +}) + +minetest.register_node("mud:wet_mud_brick", { + description = "Wet Mud brick", + tiles = {"mud_brick.png"}, + is_ground_content = false, + walkable = false, + groups = {crumbly = 3, water = 3, liquid = 3, cools_lava = 1}, + sounds = default.node_sound_dirt_defaults(), +}) + +minetest.register_craft({ + output = "mud:wet_mud 4", + recipe = { + {"mud:mud", "bucket:bucket_water"}, + {"bucket:bucket_water", "mud:mud"}, + } +}) + +minetest.register_craft({ + output = "mud:wet_mud_brick 4", + recipe = { + {"mud:mud_brick", "bucket:bucket_water"}, + {"bucket:bucket_water", "mud:mud_brick"}, + } +}) + +minetest.register_node("mud:wet_polished_mud_brick", { + description = "Wet Polsihed Mud brick" + tiles = {"polished_brick.png"}, + is_ground_content = false, + walkable = false, + groups = {crumbly = 3, water = 3, liquid = 3, cools_lava = 1}, + sounds = default.node_sounds_dirt_defaults(), +}) + +minetest.register_craft({ + output = "mud:wet_polished_mud_brick 4", + recipe = { + {"mud:polished_mud_brick", "bucket:bucket_water"}, + {"bucket:bucket_water", "mud:polished_mud_brick"}, + } +}) diff --git a/mud/mod.conf b/mud/mod.conf new file mode 100644 index 0000000..b2654ab --- /dev/null +++ b/mud/mod.conf @@ -0,0 +1,4 @@ +name = mud +depends = default +optional_depends = +description = Adds mud to the game. diff --git a/mud/textures/mud.png b/mud/textures/mud.png new file mode 100644 index 0000000000000000000000000000000000000000..4c3241eef4a7e4b1ea33a772459e68b19b509c2a GIT binary patch literal 362 zcmV-w0hRuVP)Px$BuPX;R5(w4Q_)VtFc7ZHS3lGXLEJQI_@P(a`oAc ztMB7z;>yg#&Sz^@NBv0I`v@EMMFhc3aG+Cy21Azq6MuVsB z0q9Tm0NSr`Doc#(lp4ST<1S0`uTUGsJwN11CK=#uzqer+G64@jjox|h3qWR?IM1^X zq^4Q#Yjf8e)b!DaDX(33_bR@(@L+2?Qs}dA#{eF5Ar#JYIs(R&Vr8s(7Go@5q5dZx zP4VJP5c)CK_Vq;gtor#3;hHs=>Nt47nP~o8rhq`-T(jq07*qo IM6N<$f;Z@#>i_@% literal 0 HcmV?d00001 diff --git a/mud/textures/mud_brick.png b/mud/textures/mud_brick.png new file mode 100644 index 0000000000000000000000000000000000000000..b6dcd5c9cfc8dc17acbf2556e426c5970fac9dab GIT binary patch literal 381 zcmV-@0fPRCP)Px$H%UZ6R5(walTS;-KoG@uXrZ;Of>0F9tw*VcGzG7IiJtt-r3ZWPkkV5E9;-B_ z*gx{Nyk#aaBIcCr&iv-hn~6NnW+(U0XEC2U0U%qg+*PmVF>ht*_J>12UW)klk5j$Q z=Vo&Tyr!vZw^}~%w%ZNK*>)S=qkg}3ZU9YP5R7}R4BrO83apC6Y66lF$C&HEpx%P6 zg#PIb&fkl|cwqn_GeFDMtx*xx79vjWN28j(?M^4;?RPt4kG{JZ4$mz#8ThhXx`*-j z*DaAGjy<3%8*<@toFooo)(>M5BTtiw2hc2Slm`4XPM9o@(`jfyj}1npd2SSND^ZN2 z3@vbEO$w@e!j_Bz9#Y9yS$Y%G^*St--VGGPx$Hc3Q5R5(walR<03KoEszqeLu%6s3oH^C%V!5&BC!`J2T4 z+kNX!Vx%;;ot^#W&6|l@E*6IV`K?zgQViJcc2t(7#l&$;m+SS0G>)%St;|=JIe^yG zZnbPeQ4~Hgaxo5+0TgioXzBuBz8A`fNB~d)bbeTU042zI?)B;|h)TwIZ#W)B5mDfU z0I&iigtEidpa^OQ{XVJ5cw8G}yVLRSE_p8O3GZHp!`~K~4E)$^=xsWExFsr05(}ux zX1VNglBTrPTB>m4;@OJfMb@?Q@1OOVu=8-iSPh$oc$iWjz)j_sXq?~ ak@o{a&cUdRAF^-&0000