From e144b2b30080a5907c614f884f052e2c2a516b8d Mon Sep 17 00:00:00 2001 From: Duane Date: Sun, 12 Jun 2016 05:49:10 -0500 Subject: [PATCH] More interesting radioactive texture. --- deco_caves.lua | 2 +- decogen.lua | 4 +--- textures/fun_caves_radioactive_ore.png | Bin 0 -> 424 bytes textures/image_credits.txt | 1 + 4 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 textures/fun_caves_radioactive_ore.png diff --git a/deco_caves.lua b/deco_caves.lua index 7ef2b03..a532d08 100644 --- a/deco_caves.lua +++ b/deco_caves.lua @@ -227,7 +227,7 @@ newnode = fun_caves.clone_node("fun_caves:stone_with_salt") -- salt, radioactive ore newnode.description = "Salt With Radioactive Ore" -newnode.tiles = {"caverealms_salty2.png^[colorize:#004000:250"} +newnode.tiles = {"fun_caves_radioactive_ore.png"} newnode.light_source = 4 minetest.register_node("fun_caves:radioactive_ore", newnode) diff --git a/decogen.lua b/decogen.lua index 4119e98..a03f53c 100644 --- a/decogen.lua +++ b/decogen.lua @@ -92,15 +92,13 @@ fun_caves.decogen = function(minp, maxp, data, p2data, area, node, heightmap, bi if y > fluid_compression then biome_val = biome_val / max(1, log(y - fluid_compression)) end - ------------------- - --biome_val = -0.75 - ------------------- for _, bi in pairs(fun_caves.cave_biomes) do if biome_val >= bi.biome_val_low and biome_val < bi.biome_val_high then biome = bi end end + --biome = fun_caves.cave_biomes['salt'] if not biome then print(("* Error in biome selection: %s"):format(biome_val)) diff --git a/textures/fun_caves_radioactive_ore.png b/textures/fun_caves_radioactive_ore.png new file mode 100644 index 0000000000000000000000000000000000000000..88302f3a350889722037a2a662160b603e32ea42 GIT binary patch literal 424 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt_f1s;*b z3=G`DAk4@xYmNj^kiEpy*OmPN8;3Z%cGib&@(c`&rk*a2Ar_~5Cp-Ev8}hiuJ0&n{ zhcvbvY2y@URI%V}zVf-m&^+<-?37zwrjHmB)O51Mg;%(k&9wOV{rmrU1wSS8f5b^@ z{E7ShXvwpf7$@oTXZalN1i!V{-p=rIPWRH)5j9IC)0>&^i*l}VWMc{t&J2F zj}L$6mW*R&42u>1D!MmcPBOa1c7ZW+!cWc3>Ap3L*RK6%fA4?lh>Yaf|5LXzemM48 z=7xprDkfLQcUM21E&CwjyY;gF{Ikx5Vrl>7E1zat|L(^b literal 0 HcmV?d00001 diff --git a/textures/image_credits.txt b/textures/image_credits.txt index 4d7e8ce..bdb0998 100644 --- a/textures/image_credits.txt +++ b/textures/image_credits.txt @@ -5,3 +5,4 @@ Original meteorite: MeteoriteKid (cc-by-sa 3), https://en.wikipedia.org/wiki/Fil Original tanzanite: Chromalys (cc-by-sa 4), https://en.wikipedia.org/wiki/File:Trichroic_Tanzanite_Gem_-_blue,_violet_%26_purple.jpg Original aquamarine: Diamondexpert (cc-by-sa 2.5), https://commons.wikimedia.org/wiki/File:Gems_aquamarine.jpg Original garnet: von de Wela49 (cc-by-sa 3), https://en.wikipedia.org/wiki/File:Garnet_cut.JPG +Modified radioactive ore: everamzah