forked from TheOnlyJoeEnderman/Too_Many_Stones
Compare commits
No commits in common. "master" and "main" have entirely different histories.
Binary file not shown.
After Width: | Height: | Size: 1.1 MiB |
70
LICENSE.txt
70
LICENSE.txt
|
@ -49,45 +49,6 @@ The above copyright notice and this permission notice shall be included in all c
|
|||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
|
||||
License of turquoise ore texture
|
||||
--------------------------------
|
||||
|
||||
Attribution 3.0 Unported (CC BY 3.0)
|
||||
|
||||
Copyright (C) 2009 cmusounddesign
|
||||
Copyright (C) 2010 Tomlija
|
||||
Copyright (C) 2010 lsprice
|
||||
Copyright (C) 2014 sonictechtonic
|
||||
Copyright (C) 2015 yadronoff
|
||||
Copyright (C) 2007 HerbertBoland
|
||||
Copyright (C) 2006 AGFX
|
||||
|
||||
You are free to:
|
||||
Share — copy and redistribute the material in any medium or format.
|
||||
Adapt — remix, transform, and build upon the material for any purpose, even commercially.
|
||||
The licensor cannot revoke these freedoms as long as you follow the license terms.
|
||||
|
||||
Under the following terms:
|
||||
|
||||
Attribution — You must give appropriate credit, provide a link to the license, and
|
||||
indicate if changes were made. You may do so in any reasonable manner, but not in any way
|
||||
that suggests the licensor endorses you or your use.
|
||||
|
||||
No additional restrictions — You may not apply legal terms or technological measures that
|
||||
legally restrict others from doing anything the license permits.
|
||||
|
||||
Notices:
|
||||
|
||||
You do not have to comply with the license for elements of the material in the public
|
||||
domain or where your use is permitted by an applicable exception or limitation.
|
||||
No warranties are given. The license may not give you all of the permissions necessary
|
||||
for your intended use. For example, other rights such as publicity, privacy, or moral
|
||||
rights may limit how you use the material.
|
||||
|
||||
For more details:
|
||||
http://creativecommons.org/licenses/by/3.0/
|
||||
|
||||
|
||||
License of geode generation
|
||||
---------------------------
|
||||
|
||||
|
@ -102,3 +63,34 @@ License of geodes_lib geode generation and nodes_crystal functionality
|
|||
(C) alerikaisattera
|
||||
|
||||
LGPL-3.0
|
||||
|
||||
|
||||
License of all node sounds
|
||||
--------------------------
|
||||
|
||||
(C) OpenGameArt.Org
|
||||
|
||||
CC0
|
||||
|
||||
(C) freesound.org
|
||||
|
||||
CC0
|
||||
|
||||
(C) JoeEnderman
|
||||
|
||||
CC0
|
||||
|
||||
All sounds from Minetest Game:
|
||||
|
||||
(C) various minetest contributors
|
||||
|
||||
(CC BY-SA 3.0)
|
||||
|
||||
CC0
|
||||
|
||||
License of humidity and neat based stone placement code
|
||||
-------------------------------------------------------
|
||||
|
||||
(C) EmptyStar
|
||||
|
||||
LGPL 2.1 only
|
||||
|
|
40
README.md
40
README.md
|
@ -1,21 +1,39 @@
|
|||
# Too Many Stones
|
||||
|
||||
This mod is in a quite functional state, but not a polished state. It currently features 55 stone types (7 of which glow) that all spawn in the world, cobble for most of them, and bricks, cracked brick, and blocks for all stone types. If your game supplies stairs, you will have access to stairs and slabs. If your game has walls, then you will also get walls for most stone types. If you have the either "geodes" or "geodes_lib" installed, you will get several geodes as well. The placement of the stones in the mapgen is nearing finalization. Crystals are renewable now as well. More stones may be added, and you can put a feature request on ContentDB or the repo for new ones. I probably won't add any boring stones though.
|
||||
A Minetest mod that adds as many stones as I can make good textures for. TMS has support for nearly all Minetest subgames including Fogblox, Hades Revisited, Nodecore, and Mineclone2. It currently features 88 stone types (7 of which glow), cobble for most of them, and bricks, cracked bricks, and blocks for all stone types. There are optional features that each require different mods to add: Stairs and Slabs require stairs, Walls require walls, and geodes require either geode mod. More stones may be added, and you can put a feature request on ContentDB or the repo for new ones. I will prioritize stones that are unique. Japanese, Spanish, Portuguese, German, French and Russian translations by me and ChatGPT. So, sorry for bad grammar in advance.
|
||||
|
||||
## Done:
|
||||
##### Blue Agate-(blue and white)
|
||||
##### Gray Agate-(light gray and white)
|
||||
##### Green Agate-(light green)
|
||||
##### Moss Agate-(olive and white)
|
||||
##### Orange Agate-(orange and white)
|
||||
##### Purple Agate-(indigo and lavender)
|
||||
##### Red Agate-(red and white)
|
||||
##### Amazonite-(light green)
|
||||
##### Amber-(dark orange)
|
||||
##### Amethyst-(dark purple)
|
||||
##### Ammolite-(rainbow)
|
||||
##### Andesite-(dark gray)
|
||||
##### Black Moonstone-(black)
|
||||
##### Black Opal-(black to green)
|
||||
##### Basalt-(dark greenish grey)
|
||||
##### Columnar Basalt-(reddish light gray)
|
||||
##### Grey Calcite-(light grey)
|
||||
##### Calcite-(light grey)
|
||||
##### Orange Calcite-(orange)
|
||||
##### Carnotite-(mustard yellow)
|
||||
##### Celestine-(sky blue)
|
||||
##### Chalcanthite-(neon blue)
|
||||
##### Chrysoprase-(apple green)
|
||||
##### Citrine-(dark yellow)
|
||||
##### Covellite-(dark cobalt blue)
|
||||
##### Crocoite-(bright orange)
|
||||
##### Diorite-(white)
|
||||
##### Erythrite-(dark purpley red)
|
||||
##### Eudialite-(dark red)
|
||||
##### Fluorite-(blueish lavender)
|
||||
##### Fire Opal-(orange)
|
||||
##### Gabbro-(dark grey)
|
||||
##### Galena-(silver)
|
||||
##### Glow Apatite-(light purple)
|
||||
|
@ -32,33 +50,51 @@ This mod is in a quite functional state, but not a polished state. It currently
|
|||
##### Pink Granite-(pale pink)
|
||||
##### Red Granite-(red)
|
||||
##### White Granite-(white)
|
||||
##### Yellow Granite-(dark yellow)
|
||||
##### Heliodor-(yellow)
|
||||
##### Howlite-(white)
|
||||
##### Ilvaite-(black)
|
||||
##### Jade-(dark green) was Greenstone
|
||||
##### Red Jasper-(red)
|
||||
##### Kyanite-(light blue)
|
||||
##### Lapis Lazuli-(blue with gold streaks)
|
||||
##### Lepidolite-(pink)
|
||||
##### Blue Limestone-(blue grey)
|
||||
##### White Limestone-(yellow grey)
|
||||
##### Marble-(white)
|
||||
##### Moonstone-(sky blue)
|
||||
##### Morion Quartz-(black)
|
||||
##### Mudstone-(brown)
|
||||
##### Picture Jasper-(tan)
|
||||
##### Prasiolite-(glass bottle green)
|
||||
##### Opal-(white to blue)
|
||||
##### Pumice-(grey)
|
||||
##### Pyrite-(bright yellow)
|
||||
##### Quartz-(white)
|
||||
##### Rhodonite-(hot pink)
|
||||
##### Rose Quartz-(pink)
|
||||
##### Scoria-(red)
|
||||
##### Serpentine-(dark green)
|
||||
##### Shale-(dark greenish grey)
|
||||
##### Slate-(dark grey)
|
||||
##### Smokey Quartz-(dark tan)
|
||||
##### Soapstone-(black with white streaks)
|
||||
##### Sodalite-(dark blue) was Bluestone
|
||||
##### Sugilite-(purple)
|
||||
##### Green Tourmaline-(green)
|
||||
##### Paraiba Tourmaline-(pale turquoise)
|
||||
##### Pink Tourmaline-(dark pink)
|
||||
##### Travertine-(light tan)
|
||||
##### Yellow Travertine-(yellow)
|
||||
##### Beige Tuff-(beige)
|
||||
##### Grey Tuff-(dirty gray)
|
||||
##### Red Tuff-(orange)
|
||||
##### Turquoise-(light blue)
|
||||
##### Vivianite-(dark green)
|
||||
|
||||
## To Do:
|
||||
##### Find and add ore mods to optional depends
|
||||
##### Crystal Sounds
|
||||
|
||||
# Credits:
|
||||
#
|
||||
##### Based on code from Minetest game, all walls mod, and geodes mod. Textures created by JoeEnderman with Stable Diffusion (rough versions), Krita (Agates and other complicated textures), Gimp (cleaning up from the others), Planet Minecraft (block and brick variants), Blockbench (cobblestones, granites, and cracked bricks), Libresprite is now my main tool. From V0.2.2+: Many textures have been cleaned up or made using Libresprite. Code rebase with help from Mineclone2 and Minebase. All node sounds are CC0 except where they are from minetest game in which case they are (CC BY-SA 3.0). The ones not from MTG (break glass 1 and 2), (all break node hard), (all dig cracky), (glass footstep 1-3), (hard_footstep 1-3), (place node hard3) are sourced from opengameart.org, freesound.org, and myself. Some are a combination of both. Jasper Boerstra is the biggest influence on my texture style, and I hope it shows. I love what he did for most Minecraft textures. AwesomeDragon97 gave me the idea to use mapgen_stone instead of each game's individual stone types. Thank you to EmptyStar for continuing to support TMS and help me with development. And thanks to backdaniel for help with translations and bugfixing.
|
||||
|
|
105
changelog.txt
105
changelog.txt
|
@ -58,3 +58,108 @@ V0.2.4
|
|||
Added Prasiolite
|
||||
Added Quartz
|
||||
|
||||
V0.3.0
|
||||
Default is now optional
|
||||
Stair and Slab names can now be translated into other languages
|
||||
Hades Revisted is now a mapgen supported game and can spawn Geodes with geodes_lib only
|
||||
Turquoise ore no longer uses default textures from MTG, TMS supplies them
|
||||
TMS now uses its own sound library
|
||||
Crystals and polished Crystals now make crystalline sounds
|
||||
French now supported by TMS
|
||||
|
||||
V0.3.1
|
||||
Cave Game is now supported with mapgen and optional geodes
|
||||
Fogblox is now supported with mapgen and optional geodes
|
||||
Minebase is now supported with mapgen and optional geodes
|
||||
Nodecore is now supported with mapgen and optional geodes
|
||||
Fixed the no sound bug from 0.3.0 by registering sounds for nodes that don't exist and including sound files for them
|
||||
|
||||
V0.3.2
|
||||
Added Blue Agate
|
||||
Added Gray Agate
|
||||
Added Green Agate
|
||||
Added Moss Agate
|
||||
Added Orange Agate
|
||||
Added Purple Agate
|
||||
Added Red Agate
|
||||
Added Basalt
|
||||
Added Columnar Basalt
|
||||
Added more geodes (mostly agate) and removed slate as a geode shell for realism
|
||||
Each Geode mod now supplies a vastly different experience, geodes does not supply budding blocks, but has full agate geodes, geodes_lib supplies geodes in every game I made mapgen for and has budding blocks
|
||||
|
||||
V0.3.3
|
||||
Fixed a bug where several stones still required default for no reason
|
||||
All games that use mapgen_stone are now supported: i.e. Anything that actually has mapgen and not a premade map or otherwise has no terrain
|
||||
Removed several uneeded files
|
||||
|
||||
V0.3.4
|
||||
Added Fire Opal
|
||||
Redo Black Opal, remove its transparency as it was ugly
|
||||
Crystals now pop off of broken blocks
|
||||
Add Covellite Cobblestone
|
||||
Add Andesite
|
||||
Add Beige tuff
|
||||
Add Grey Tuff
|
||||
Add Red Tuff
|
||||
Add Howlite Cobble
|
||||
Add Glass Batch
|
||||
Redo Mapgen to spread stones better
|
||||
Add Slate Tiles
|
||||
|
||||
V0.3.5
|
||||
Added Black Moonstone
|
||||
Added Fluorite
|
||||
Added Yellow Granite
|
||||
Added Morion Quartz
|
||||
Added Yellow Travertine
|
||||
|
||||
V0.3.6
|
||||
Fixed Travertine bug
|
||||
Added Howlite Cobblestone
|
||||
|
||||
V0.3.7
|
||||
Added Ammolite
|
||||
|
||||
V0.3.8
|
||||
Added Diorite
|
||||
Added Picture Jasper
|
||||
Added Basalt Tile
|
||||
|
||||
V0.3.9
|
||||
Added Shale
|
||||
Fix Yellow Travertine not tiling
|
||||
|
||||
V0.4.0
|
||||
Updated Textures to take less space without affecting looks
|
||||
Changed Turquoise ore to be my own MIT texture instead of the default ore overlay
|
||||
Updated some old cobblestones to match my current skill level
|
||||
Updated all translations to finally include all blocks and items
|
||||
Added Spanish Translation
|
||||
Fixed a bug where all granite cobblestones were caleed dark grey interally
|
||||
Added German Translation
|
||||
|
||||
V0.4.1/0.9.0
|
||||
Added Portuguese Translation
|
||||
Added Japanese Translation
|
||||
Fixed a bug where Turquoise ore was considered a normal useable stone block
|
||||
Fixed Turquoise drop rate not being random
|
||||
Fix stray pixel on travertine brick
|
||||
Fixed Schlammstein accidentally being called Schluffstein
|
||||
Removed Crystal shards as they were simply placeholders for the normal crystals
|
||||
Fixed TMS stones being persistent in instances they should not: i.e. not being carved out by mods which add their own cave gen
|
||||
Minor bugfixes and code cleaning
|
||||
|
||||
V0.4.2/1.0.0
|
||||
Added Grey Calcite
|
||||
Added Orange Calcite
|
||||
Added Chalcanthite
|
||||
Added Red Jasper
|
||||
Added Lepidolite
|
||||
Added Moonstone
|
||||
Added Rhodonite
|
||||
Added Green Tourmaline
|
||||
Added Paraiba Tourmaline
|
||||
Added Pink Tourmaline
|
||||
Minor bugfixing
|
||||
Fixed Carnotite Textures to match my newer quality
|
||||
A few texture updates, mainly cracked bricks
|
||||
|
|
1385
crafting.lua
1385
crafting.lua
File diff suppressed because it is too large
Load Diff
|
@ -1 +0,0 @@
|
|||
based on code from Minetest game, all walls mod, and geodes mod. Textures created by JoeEnderman with Stable Diffusion (rough versions), Gimp (cleaning up from the others), Planet Minecraft (block and brick variants), and Blockbench (cobblestones, granites, and cracked bricks). From V0.2.2+: Many textures have been cleaned up or made using Libresprite. It may replace all but Gimp in future TMS releases.
|
|
@ -0,0 +1,96 @@
|
|||
-- mods/too_many_stones/flowstones.lua
|
||||
|
||||
-- support for MT game translation.
|
||||
local S = minetest.get_translator("too_many_stones")
|
||||
|
||||
function too_many_stones.register_flowstone(stone_name, description, texture1, texture2, texture3, texture4, groups)
|
||||
-- Attempt to deserialize the provided groups string
|
||||
local node_groups = groups
|
||||
|
||||
-- Check if deserialization failed and use a default group table if so
|
||||
if not node_groups then
|
||||
node_groups = {cracky = 3, attached_node = 1, grey_stone = 1, stone = 1, flowstone = 1}
|
||||
end
|
||||
|
||||
-- Register 8 flowstone nodes
|
||||
for i = 1, 8 do
|
||||
local node_name = "too_many_stones:" .. stone_name .. "_flowstone_" .. i
|
||||
local node_description = S(description .. " Pointed Flowstone")
|
||||
local node_texture
|
||||
|
||||
-- Assign textures for each variant
|
||||
if i <= 4 then
|
||||
-- First four use the provided textures
|
||||
node_texture = "tms_" .. stone_name .. "_flowstone_" .. i .. ".png"
|
||||
else
|
||||
-- Last four use mirrored textures of the first four
|
||||
local mirrored_index = i - 4
|
||||
node_texture = "tms_" .. stone_name .. "_flowstone_" .. mirrored_index .. ".png^[transformFY"
|
||||
end
|
||||
|
||||
minetest.register_node(node_name, {
|
||||
description = node_description,
|
||||
drawtype = "plantlike",
|
||||
tiles = {node_texture},
|
||||
use_texture_alpha = "clip",
|
||||
sunlight_propagates = true,
|
||||
paramtype = "light",
|
||||
groups = node_groups,
|
||||
drop = "too_many_stones:" .. stone_name .. "_flowstone_8",
|
||||
sounds = too_many_stones.node_sound_stone_defaults(),
|
||||
is_ground_content = false,
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
-- Register Flowstones:
|
||||
too_many_stones.register_flowstone(
|
||||
"limestone_blue",
|
||||
"Blue Limestone",
|
||||
"tms_limestone_blue_flowstone_1.png",
|
||||
"tms_limestone_blue_flowstone_2.png",
|
||||
"tms_limestone_blue_flowstone_3.png",
|
||||
"tms_limestone_blue_flowstone_4.png",
|
||||
{limestone = 1, cracky = 3, attached_node = 1, grey_stone = 1, stone = 1, flowstone = 1}
|
||||
)
|
||||
|
||||
too_many_stones.register_flowstone(
|
||||
"limestone_white",
|
||||
"White Limestone",
|
||||
"tms_limestone_white_flowstone_1.png",
|
||||
"tms_limestone_white_flowstone_2.png",
|
||||
"tms_limestone_white_flowstone_3.png",
|
||||
"tms_limestone_white_flowstone_4.png",
|
||||
{limestone = 1, cracky = 3, attached_node = 1, white_stone = 1, stone = 1, flowstone = 1}
|
||||
)
|
||||
|
||||
too_many_stones.register_flowstone(
|
||||
"travertine",
|
||||
"Travertine",
|
||||
"tms_travertine_flowstone_1.png",
|
||||
"tms_travertine_flowstone_2.png",
|
||||
"tms_travertine_flowstone_3.png",
|
||||
"tms_travertine_flowstone_4.png",
|
||||
{limestone = 1, cracky = 3, attached_node = 1, yellow_stone = 1, stone = 1, flowstone = 1}
|
||||
)
|
||||
|
||||
|
||||
too_many_stones.register_flowstone(
|
||||
"travertine_yellow",
|
||||
"Yellow Travertine",
|
||||
"tms_travertine_yellow_flowstone_1.png",
|
||||
"tms_travertine_yellow_flowstone_2.png",
|
||||
"tms_travertine_yellow_flowstone_3.png",
|
||||
"tms_travertine_yellow_flowstone_4.png",
|
||||
{limestone = 1, cracky = 3, attached_node = 1, yellow_stone = 1, stone = 1, flowstone = 1}
|
||||
)
|
||||
|
||||
too_many_stones.register_flowstone(
|
||||
"geyserite",
|
||||
"Geyserite",
|
||||
"tms_geyserite_flowstone_1.png",
|
||||
"tms_geyserite_flowstone_2.png",
|
||||
"tms_geyserite_flowstone_3.png",
|
||||
"tms_geyserite_flowstone_4.png",
|
||||
{limestone = 1, cracky = 3, attached_node = 1, grey_stone = 1, stone = 1, flowstone = 1}
|
||||
)
|
48
geodes.lua
48
geodes.lua
|
@ -1,33 +1,61 @@
|
|||
if minetest.get_modpath("geodes") ~= nil then
|
||||
if minetest.get_modpath("geodes") and minetest.get_modpath("default") ~= nil then
|
||||
|
||||
geodes.register_geode("too_many_stones:limestone_white", "too_many_stones:calcite_grey", "too_many_stones:agate_blue", "too_many_stones:agate_blue", "too_many_stones:agate_blue")
|
||||
|
||||
geodes.register_geode("too_many_stones:pumice", "too_many_stones:calcite_grey", "too_many_stones:agate_gray", "too_many_stones:agate_gray", "too_many_stones:agate_gray")
|
||||
|
||||
geodes.register_geode("too_many_stones:basalt", "too_many_stones:calcite", "too_many_stones:agate_green", "too_many_stones:agate_green", "too_many_stones:agate_green")
|
||||
|
||||
geodes.register_geode("too_many_stones:mudstone", "too_many_stones:calcite", "too_many_stones:agate_moss", "too_many_stones:agate_moss", "too_many_stones:agate_moss")
|
||||
|
||||
geodes.register_geode("too_many_stones:limestone_blue", "too_many_stones:calcite_orange", "too_many_stones:agate_orange", "too_many_stones:agate_orange", "too_many_stones:agate_orange")
|
||||
|
||||
geodes.register_geode("too_many_stones:gabbro", "too_many_stones:calcite_grey", "too_many_stones:agate_purple", "too_many_stones:agate_purple", "too_many_stones:agate_purple")
|
||||
|
||||
geodes.register_geode("too_many_stones:limestone_white", "too_many_stones:calcite", "too_many_stones:agate_red", "too_many_stones:agate_red", "too_many_stones:agate_red")
|
||||
|
||||
geodes.register_geode("too_many_stones:travertine", "too_many_stones:calcite", "too_many_stones:black_opal", "too_many_stones:black_opal")
|
||||
|
||||
geodes.register_geode("too_many_stones:basalt", "too_many_stones:calcite", "too_many_stones:fire_opal", "too_many_stones:fire_opal")
|
||||
|
||||
geodes.register_geode("too_many_stones:mudstone", "too_many_stones:calcite", "too_many_stones:amazonite", "too_many_stones:amazonite_crystal")
|
||||
|
||||
geodes.register_geode("too_many_stones:gabbro", "too_many_stones:calcite", "too_many_stones:amethyst", "too_many_stones:amethyst_crystal")
|
||||
geodes.register_geode("too_many_stones:gabbro", "too_many_stones:calcite_grey", "too_many_stones:amethyst", "too_many_stones:amethyst_crystal")
|
||||
|
||||
geodes.register_geode("too_many_stones:slate", "too_many_stones:calcite", "too_many_stones:citrine", "too_many_stones:citrine_crystal")
|
||||
geodes.register_geode("too_many_stones:basalt", "too_many_stones:calcite_grey", "too_many_stones:chalcanthite", "too_many_stones:chalcanthite_crystal")
|
||||
|
||||
geodes.register_geode("too_many_stones:mudstone", "too_many_stones:calcite", "too_many_stones:crocoite", "too_many_stones:crocoite_crystal")
|
||||
geodes.register_geode("too_many_stones:basalt", "too_many_stones:calcite", "too_many_stones:citrine", "too_many_stones:citrine_crystal")
|
||||
|
||||
geodes.register_geode("too_many_stones:basalt", "too_many_stones:calcite_orange", "too_many_stones:crocoite", "too_many_stones:crocoite_crystal")
|
||||
|
||||
geodes.register_geode("too_many_stones:mudstone", "too_many_stones:calcite", "too_many_stones:eudialite", "too_many_stones:eudialite_crystal")
|
||||
|
||||
geodes.register_geode("too_many_stones:mudstone", "too_many_stones:calcite", "too_many_stones:kyanite", "too_many_stones:kyanite_crystal")
|
||||
|
||||
geodes.register_geode("too_many_stones:limestone_white", "too_many_stones:calcite_grey", "too_many_stones:moonstone", "too_many_stones:moonstone_crystal")
|
||||
|
||||
geodes.register_geode("too_many_stones:travertine", "too_many_stones:calcite", "too_many_stones:rose_quartz", "too_many_stones:rose_quartz_crystal")
|
||||
|
||||
geodes.register_geode("too_many_stones:serpentine", "too_many_stones:calcite", "too_many_stones:smokey_quartz", "too_many_stones:smokey_quartz_crystal")
|
||||
|
||||
geodes.register_geode("too_many_stones:travertine", "too_many_stones:calcite", "too_many_stones:vivianite", "too_many_stones:vivianite_crystal")
|
||||
geodes.register_geode("too_many_stones:serpentine", "too_many_stones:calcite_grey", "too_many_stones:tourmaline_green", "too_many_stones:tourmaline_green_crystal")
|
||||
|
||||
geodes.register_geode("too_many_stones:travertine", "too_many_stones:calcite", "too_many_stones:opal", "too_many_stones:opal")
|
||||
geodes.register_geode("too_many_stones:granite_pink", "too_many_stones:calcite_grey", "too_many_stones:tourmaline_paraiba", "too_many_stones:tourmaline_paraiba_crystal")
|
||||
|
||||
geodes.register_geode("too_many_stones:serpentine", "too_many_stones:calcite", "too_many_stones:tourmaline_pink", "too_many_stones:tourmaline_pink_crystal")
|
||||
|
||||
geodes.register_geode("too_many_stones:travertine", "too_many_stones:calcite_grey", "too_many_stones:vivianite", "too_many_stones:vivianite_crystal")
|
||||
|
||||
geodes.register_geode("too_many_stones:travertine", "too_many_stones:calcite_grey", "too_many_stones:opal", "too_many_stones:opal")
|
||||
|
||||
geodes.register_geode("too_many_stones:serpentine", "too_many_stones:calcite", "too_many_stones:heliodor", "too_many_stones:heliodor_crystal")
|
||||
|
||||
geodes.register_geode("too_many_stones:travertine", "too_many_stones:calcite", "too_many_stones:black_opal", "too_many_stones:black_opal")
|
||||
geodes.register_geode("too_many_stones:pumice", "too_many_stones:calcite_grey", "too_many_stones:celestine", "too_many_stones:celestine_crystal")
|
||||
|
||||
geodes.register_geode("too_many_stones:pumice", "too_many_stones:calcite", "too_many_stones:celestine", "too_many_stones:celestine_crystal")
|
||||
geodes.register_geode("too_many_stones:pumice", "too_many_stones:calcite_grey", "too_many_stones:quartz", "too_many_stones:quartz_crystal")
|
||||
|
||||
geodes.register_geode("too_many_stones:pumice", "too_many_stones:calcite", "too_many_stones:quartz", "too_many_stones:quartz_crystal")
|
||||
geodes.register_geode("too_many_stones:limestone_white", "too_many_stones:calcite_grey", "too_many_stones:prasiolite", "too_many_stones:prasiolite_crystal")
|
||||
|
||||
geodes.register_geode("too_many_stones:limestone_white", "too_many_stones:calcite", "too_many_stones:prasiolite", "too_many_stones:prasiolite_crystal")
|
||||
geodes.register_geode("too_many_stones:travertine_yellow", "too_many_stones:calcite_grey", "too_many_stones:morion_quartz", "too_many_stones:morion_quartz_crystal")
|
||||
|
||||
end
|
||||
|
|
440
geodes_lib.lua
440
geodes_lib.lua
|
@ -1,150 +1,108 @@
|
|||
|
||||
-- Geodes for most games
|
||||
|
||||
if minetest.get_modpath("geodes_lib") ~= nil then
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "default:stone",
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:amazonite",
|
||||
core_alt = "too_many_stones:amazonite_budding",
|
||||
core = "too_many_stones:agate_blue",
|
||||
core_alt = "too_many_stones:agate_blue",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:limestone_white", "too_many_stones:calcite_grey"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:agate_gray",
|
||||
core_alt = "too_many_stones:agate_gray",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:pumice", "too_many_stones:calcite_grey"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:agate_green",
|
||||
core_alt = "too_many_stones:agate_green",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:basalt", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:agate_moss",
|
||||
core_alt = "too_many_stones:agate_moss",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:mudstone", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "default:stone",
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:amethyst",
|
||||
core_alt = "too_many_stones:amethyst_budding",
|
||||
core = "too_many_stones:agate_orange",
|
||||
core_alt = "too_many_stones:agate_orange",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:gabbro", "too_many_stones:calcite"},
|
||||
shell = {"too_many_stones:limestone_blue", "too_many_stones:calcite_orange"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "default:stone",
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:citrine",
|
||||
core_alt = "too_many_stones:citrine_budding",
|
||||
core = "too_many_stones:agate_purple",
|
||||
core_alt = "too_many_stones:agate_purple",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:slate", "too_many_stones:calcite"},
|
||||
shell = {"too_many_stones:gabbro", "too_many_stones:calcite_grey"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "default:stone",
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:crocoite",
|
||||
core_alt = "too_many_stones:crocoite_budding",
|
||||
core = "too_many_stones:agate_red",
|
||||
core_alt = "too_many_stones:agate_red",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:gabbro", "too_many_stones:calcite"},
|
||||
shell = {"too_many_stones:limestone_white", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "default:stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:eudialite",
|
||||
core_alt = "too_many_stones:eudialite_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:mudstone", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "default:stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:kyanite",
|
||||
core_alt = "too_many_stones:kyanite_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:mudstone", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "default:stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:rose_quartz",
|
||||
core_alt = "too_many_stones:rose_quartz_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:travertine", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "default:stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:smokey_quartz",
|
||||
core_alt = "too_many_stones:smokey_quartz_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:serpentine", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "default:stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:vivianite",
|
||||
core_alt = "too_many_stones:vivianite_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:travertine", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "default:stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:opal",
|
||||
core_alt = "too_many_stones:opal",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:travertine", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "default:stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:heliodor",
|
||||
core_alt = "too_many_stones:heliodor_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:serpentine", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "default:stone",
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
|
@ -154,45 +112,301 @@ geodes_lib:register_geode({
|
|||
shell = {"too_many_stones:travertine", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "default:stone",
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:fire_opal",
|
||||
core_alt = "too_many_stones:fire_opal",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:basalt", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:amazonite",
|
||||
core_alt = "too_many_stones:amazonite_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:mudstone", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:amethyst",
|
||||
core_alt = "too_many_stones:amethyst_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:gabbro", "too_many_stones:calcite_grey"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:chalcanthite",
|
||||
core_alt = "too_many_stones:chalcanthite_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:basalt", "too_many_stones:calcite_grey"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:citrine",
|
||||
core_alt = "too_many_stones:citrine_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:basalt", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:crocoite",
|
||||
core_alt = "too_many_stones:crocoite_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:basalt", "too_many_stones:calcite_orange"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:eudialite",
|
||||
core_alt = "too_many_stones:eudialite_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:mudstone", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:kyanite",
|
||||
core_alt = "too_many_stones:kyanite_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:mudstone", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:moonstone",
|
||||
core_alt = "too_many_stones:moonstone_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:limestone_white", "too_many_stones:calcite_grey"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:rose_quartz",
|
||||
core_alt = "too_many_stones:rose_quartz_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:travertine", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:smokey_quartz",
|
||||
core_alt = "too_many_stones:smokey_quartz_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:serpentine", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:tourmaline_green",
|
||||
core_alt = "too_many_stones:tourmaline_green_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:serpentine", "too_many_stones:calcite_grey"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:tourmaline_paraiba",
|
||||
core_alt = "too_many_stones:tourmaline_paraiba_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:granite_pink", "too_many_stones:calcite_grey"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:tourmaline_pink",
|
||||
core_alt = "too_many_stones:tourmaline_pink_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:serpentine", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:vivianite",
|
||||
core_alt = "too_many_stones:vivianite_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:travertine", "too_many_stones:calcite_grey"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:opal",
|
||||
core_alt = "too_many_stones:opal",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:travertine", "too_many_stones:calcite_grey"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:heliodor",
|
||||
core_alt = "too_many_stones:heliodor_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:serpentine", "too_many_stones:calcite"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:celestine",
|
||||
core_alt = "too_many_stones:celestine_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:pumice", "too_many_stones:calcite"},
|
||||
shell = {"too_many_stones:pumice", "too_many_stones:calcite_grey"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "default:stone",
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:quartz",
|
||||
core_alt = "too_many_stones:quartz_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:pumice", "too_many_stones:calcite"},
|
||||
shell = {"too_many_stones:pumice", "too_many_stones:calcite_grey"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "default:stone",
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:prasiolite",
|
||||
core_alt = "too_many_stones:prasiolite_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:limestone_white", "too_many_stones:calcite"},
|
||||
shell = {"too_many_stones:limestone_white", "too_many_stones:calcite_grey"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
geodes_lib:register_geode({
|
||||
wherein = "mapgen_stone",
|
||||
y_min = -31000,
|
||||
y_max = -10,
|
||||
scarcity = 80,
|
||||
core = "too_many_stones:morion_quartz",
|
||||
core_alt = "too_many_stones:morion_quartz_budding",
|
||||
core_alt_chance = 100,
|
||||
shell = {"too_many_stones:travertine_yellow", "too_many_stones:calcite_grey"},
|
||||
radius_min = 2,
|
||||
radius_max = 10,
|
||||
generation_chance = 10,
|
||||
})
|
||||
|
||||
end
|
||||
|
|
32
init.lua
32
init.lua
|
@ -1,27 +1,23 @@
|
|||
-- Minetest 5.0 mod: too many stones
|
||||
-- Minetest 5.3 mod: too many stones
|
||||
-- See README.txt for licensing and other information.
|
||||
|
||||
-- Load support for MT game translation.
|
||||
local S = minetest.get_translator("too_many_stones")
|
||||
|
||||
-- Definitions made by this mod that other mods can use too
|
||||
too_many_stones = {}
|
||||
|
||||
default.LIGHT_MAX = 14
|
||||
default.get_translator = S
|
||||
local S = minetest.get_translator("too_many_stones")
|
||||
|
||||
-- Load files
|
||||
local default_path = minetest.get_modpath("too_many_stones")
|
||||
|
||||
dofile(default_path.."/nodes.lua")
|
||||
dofile(default_path.."/crafting.lua")
|
||||
dofile(default_path.."/mapgen.lua")
|
||||
dofile(default_path.."/mapgen_secondary.lua")
|
||||
dofile(default_path.."/wall.lua")
|
||||
dofile(default_path.."/stairs.lua")
|
||||
dofile(default_path.."/geodes.lua")
|
||||
dofile(default_path.."/geodes_lib.lua")
|
||||
dofile(default_path.."/nodes_glowing.lua")
|
||||
dofile(default_path.."/nodes_crystal.lua")
|
||||
-- dofile(default_path.."/nodes_ore.lua")
|
||||
-- dofile(default_path.."/mapgen_ore.lua")
|
||||
|
||||
dofile(minetest.get_modpath("too_many_stones") .. "/sounds.lua")
|
||||
dofile(minetest.get_modpath("too_many_stones") .. "/nodes.lua")
|
||||
dofile(minetest.get_modpath("too_many_stones") .. "/crafting.lua")
|
||||
dofile(minetest.get_modpath("too_many_stones") .. "/mapgen.lua")
|
||||
dofile(minetest.get_modpath("too_many_stones") .. "/wall.lua")
|
||||
dofile(minetest.get_modpath("too_many_stones") .. "/stairs.lua")
|
||||
dofile(minetest.get_modpath("too_many_stones") .. "/geodes.lua")
|
||||
dofile(minetest.get_modpath("too_many_stones") .. "/geodes_lib.lua")
|
||||
dofile(minetest.get_modpath("too_many_stones") .. "/nodes_glowing.lua")
|
||||
dofile(minetest.get_modpath("too_many_stones") .. "/nodes_crystal.lua")
|
||||
--dofile(minetest.get_modpath("too_many_stones") .. "/flowstones.lua")
|
||||
|
|
1422
locale/template.txt
1422
locale/template.txt
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
7261
mapgen.lua
7261
mapgen.lua
File diff suppressed because it is too large
Load Diff
2414
mapgen_ore.lua
2414
mapgen_ore.lua
File diff suppressed because it is too large
Load Diff
|
@ -1,172 +0,0 @@
|
|||
-- Amber
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "too_many_stones:amber_budding",
|
||||
wherein = "too_many_stones:amber",
|
||||
clust_scarcity = 8 * 8 * 8,
|
||||
clust_num_ores = 9,
|
||||
clust_size = 3,
|
||||
y_max = 31000,
|
||||
y_min = -100,
|
||||
})
|
||||
|
||||
-- Black Opal
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "blob",
|
||||
ore = "too_many_stones:black_opal",
|
||||
wherein = {"too_many_stones:gabbro"},
|
||||
clust_scarcity = 64 * 64 * 64,
|
||||
clust_size = 14,
|
||||
y_max = 31000,
|
||||
y_min = -31000,
|
||||
noise_threshold = 0.0,
|
||||
noise_params = {
|
||||
offset = 0.5,
|
||||
scale = 0.2,
|
||||
spread = {x = 5, y = 5, z = 5},
|
||||
octaves = 1,
|
||||
persist = 0.0
|
||||
},
|
||||
})
|
||||
|
||||
-- Chrysoprase
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "blob",
|
||||
ore = "too_many_stones:chrysoprase",
|
||||
wherein = {"default:stone", "too_many_stones:serpentine"},
|
||||
clust_scarcity = 64 * 64 * 64,
|
||||
clust_size = 14,
|
||||
y_max = 31000,
|
||||
y_min = -1000,
|
||||
noise_threshold = 0.0,
|
||||
noise_params = {
|
||||
offset = 0.5,
|
||||
scale = 0.2,
|
||||
spread = {x = 5, y = 5, z = 5},
|
||||
octaves = 1,
|
||||
persist = 0.0
|
||||
},
|
||||
})
|
||||
|
||||
-- Covellite
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "blob",
|
||||
ore = "too_many_stones:covellite",
|
||||
wherein = {"too_many_stones:mudtsone", "too_many_stones:galena", "too_many_stones:serpentine"},
|
||||
clust_scarcity = 64 * 64 * 64,
|
||||
clust_size = 14,
|
||||
y_max = 31000,
|
||||
y_min = -31000,
|
||||
noise_threshold = 0.0,
|
||||
noise_params = {
|
||||
offset = 0.5,
|
||||
scale = 0.2,
|
||||
spread = {x = 5, y = 5, z = 5},
|
||||
octaves = 1,
|
||||
persist = 0.0
|
||||
},
|
||||
})
|
||||
|
||||
-- Crocoite
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "blob",
|
||||
ore = "too_many_stones:crocoite",
|
||||
wherein = {"too_many_stones:carnotite", "too_many_stones:granite_black"},
|
||||
clust_scarcity = 64 * 64 * 64,
|
||||
clust_size = 14,
|
||||
y_max = 31000,
|
||||
y_min = -31000,
|
||||
noise_threshold = 0.0,
|
||||
noise_params = {
|
||||
offset = 0.5,
|
||||
scale = 0.2,
|
||||
spread = {x = 5, y = 5, z = 5},
|
||||
octaves = 1,
|
||||
persist = 0.0
|
||||
},
|
||||
})
|
||||
|
||||
-- Erythrite
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "blob",
|
||||
ore = "too_many_stones:erythrite",
|
||||
wherein = {"too_many_stones:scoria", "too_many_stones:galena"},
|
||||
clust_scarcity = 64 * 64 * 64,
|
||||
clust_size = 14,
|
||||
y_max = 31000,
|
||||
y_min = -31000,
|
||||
noise_threshold = 0.0,
|
||||
noise_params = {
|
||||
offset = 0.5,
|
||||
scale = 0.2,
|
||||
spread = {x = 5, y = 5, z = 5},
|
||||
octaves = 1,
|
||||
persist = 0.0
|
||||
},
|
||||
})
|
||||
|
||||
-- Jade
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "blob",
|
||||
ore = "too_many_stones:jade",
|
||||
wherein = {"default:stone", "too_many_stones:serpentine"},
|
||||
clust_scarcity = 64 * 64 * 64,
|
||||
clust_size = 14,
|
||||
y_max = 31000,
|
||||
y_min = -31000,
|
||||
noise_threshold = 0.0,
|
||||
noise_params = {
|
||||
offset = 0.5,
|
||||
scale = 0.2,
|
||||
spread = {x = 5, y = 5, z = 5},
|
||||
octaves = 1,
|
||||
persist = 0.0
|
||||
},
|
||||
})
|
||||
|
||||
-- Opal
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "blob",
|
||||
ore = "too_many_stones:opal",
|
||||
wherein = {"too_many_stones:amazonite"},
|
||||
clust_scarcity = 64 * 64 * 64,
|
||||
clust_size = 7,
|
||||
y_max = 31000,
|
||||
y_min = -31000,
|
||||
noise_threshold = 0.0,
|
||||
noise_params = {
|
||||
offset = 0.5,
|
||||
scale = 0.2,
|
||||
spread = {x = 5, y = 5, z = 5},
|
||||
octaves = 1,
|
||||
persist = 0.0
|
||||
},
|
||||
})
|
||||
|
||||
-- Pyrite
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "blob",
|
||||
ore = "too_many_stones:pyrite",
|
||||
wherein = {"too_many_stones:mudtsone", "too_many_stones:sodalite", "too_many_stones:lapis_lazuli"},
|
||||
clust_scarcity = 48 * 48 * 48,
|
||||
clust_size = 7,
|
||||
y_max = 31000,
|
||||
y_min = -31000,
|
||||
noise_threshold = 0.0,
|
||||
noise_params = {
|
||||
offset = 0.5,
|
||||
scale = 0.2,
|
||||
spread = {x = 5, y = 5, z = 5},
|
||||
octaves = 1,
|
||||
persist = 0.0
|
||||
},
|
||||
})
|
7
mod.conf
7
mod.conf
|
@ -1,6 +1,7 @@
|
|||
name = too_many_stones
|
||||
description = Adds several new stone types to Minetest Game or any game that supplies default. V6 terrain is unsupported. Stairs, slabs, and walls will be available only if your game supplies stairs and walls or you install the mods to your game. Geodes are added if you have "geodes" or "geodes_lib" mod. Some blocks can be dyed to make others if you have dye.
|
||||
depends = default
|
||||
optional_depends = stairs, walls, geodes, moreores, geodes_lib, dye
|
||||
description = Adds several new stone types to nearly any Minetest Game and mapgen to any game that uses mapgen_stone. V6 terrain may be buggy, but is supported. Stairs, slabs, and walls will be available only if your game supplies stairs and walls or you install the mods to your game. Geodes are added if you have "geodes" or "geodes_lib" mod. Some blocks can be dyed to make others if you have dye.
|
||||
optional_depends = stairs, walls, geodes, moreores, geodes_lib, dye, default, lottmapgen, base_earth
|
||||
min_minetest_version = 5.3
|
||||
title = Too Many Stones
|
||||
author = JoeEnderman
|
||||
release = 20938
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
-- mods/too_many_stones/nodes_crystal.lua
|
||||
|
||||
-- support for MT game translation.
|
||||
local S = default.get_translator
|
||||
local S = minetest.get_translator("too_many_stones")
|
||||
|
||||
local all_directions = {
|
||||
vector.new(1, 0, 0),
|
||||
|
@ -33,7 +33,7 @@ minetest.register_abm({
|
|||
})
|
||||
|
||||
minetest.register_node("too_many_stones:amazonite_crystal", {
|
||||
description = "Amazonite Crystal",
|
||||
description = S("Amazonite Crystal"),
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {"tms_amazonite_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
|
@ -46,9 +46,8 @@ minetest.register_node("too_many_stones:amazonite_crystal", {
|
|||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3},
|
||||
drop = "too_many_stones:amazonite_shards",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:amazonite_budding", {
|
||||
|
@ -59,15 +58,10 @@ minetest.register_node("too_many_stones:amazonite_budding", {
|
|||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("too_many_stones:amazonite_shards", {
|
||||
description = "Amazonite Shards",
|
||||
inventory_image = "tms_amazonite_shards.png",
|
||||
})
|
||||
|
||||
-- Amber
|
||||
|
||||
minetest.register_abm({
|
||||
|
@ -89,7 +83,7 @@ minetest.register_abm({
|
|||
})
|
||||
|
||||
minetest.register_node("too_many_stones:amber_crystal", {
|
||||
description = "Amber Crystal",
|
||||
description = S("Amber Crystal"),
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {"tms_amber_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
|
@ -102,9 +96,8 @@ minetest.register_node("too_many_stones:amber_crystal", {
|
|||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3},
|
||||
drop = "too_many_stones:amber_shards",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:amber_budding", {
|
||||
|
@ -115,15 +108,10 @@ minetest.register_node("too_many_stones:amber_budding", {
|
|||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("too_many_stones:amber_shards", {
|
||||
description = "Amber Shards",
|
||||
inventory_image = "tms_amber_shards.png",
|
||||
})
|
||||
|
||||
-- Amethyst
|
||||
|
||||
minetest.register_abm({
|
||||
|
@ -145,7 +133,7 @@ minetest.register_abm({
|
|||
})
|
||||
|
||||
minetest.register_node("too_many_stones:amethyst_crystal", {
|
||||
description = "Amethyst Crystal",
|
||||
description = S("Amethyst Crystal"),
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {"tms_amethyst_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
|
@ -158,9 +146,8 @@ minetest.register_node("too_many_stones:amethyst_crystal", {
|
|||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3},
|
||||
drop = "too_many_stones:amethyst_shards",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:amethyst_budding", {
|
||||
|
@ -171,15 +158,10 @@ minetest.register_node("too_many_stones:amethyst_budding", {
|
|||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("too_many_stones:amethyst_shards", {
|
||||
description = "Amethyst Shards",
|
||||
inventory_image = "tms_amethyst_shards.png",
|
||||
})
|
||||
|
||||
-- Celestine
|
||||
|
||||
minetest.register_abm({
|
||||
|
@ -201,7 +183,7 @@ minetest.register_abm({
|
|||
})
|
||||
|
||||
minetest.register_node("too_many_stones:celestine_crystal", {
|
||||
description = "Celestine Crystal",
|
||||
description = S("Celestine Crystal"),
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {"tms_celestine_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
|
@ -214,9 +196,8 @@ minetest.register_node("too_many_stones:celestine_crystal", {
|
|||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3},
|
||||
drop = "too_many_stones:celestine_shards",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:celestine_budding", {
|
||||
|
@ -227,13 +208,53 @@ minetest.register_node("too_many_stones:celestine_budding", {
|
|||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("too_many_stones:celestine_shards", {
|
||||
description = "Celestine Shards",
|
||||
inventory_image = "tms_celestine_shards.png",
|
||||
-- Chalcanthite
|
||||
|
||||
minetest.register_abm({
|
||||
label = "TMS Chalcanthite Crystal growth",
|
||||
nodenames = "too_many_stones:chalcanthite_budding",
|
||||
interval = 10,
|
||||
chance = 1,
|
||||
action = function(pos)
|
||||
local check_pos = vector.add(all_directions[math.random(1, #all_directions)], pos)
|
||||
local check_node = minetest.get_node(check_pos)
|
||||
local check_node_name = check_node.name
|
||||
local param2 = minetest.dir_to_wallmounted(vector.subtract(pos, check_pos))
|
||||
local new_node
|
||||
if check_node_name == "air" then
|
||||
new_node = "too_many_stones:chalcanthite_crystal"
|
||||
else return end
|
||||
minetest.swap_node(check_pos, {name = new_node, param2 = param2})
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:chalcanthite_crystal", {
|
||||
description = S("Chalcanthite Crystal"),
|
||||
tiles = {"tms_chalcanthite_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
sunlight_propagates = true,
|
||||
light_source = 6,
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:chalcanthite_budding", {
|
||||
description = S("Budding Chalcanthite"),
|
||||
tiles = {"tms_chalcanthite_budding.png"},
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
-- Citrine
|
||||
|
@ -257,7 +278,7 @@ minetest.register_abm({
|
|||
})
|
||||
|
||||
minetest.register_node("too_many_stones:citrine_crystal", {
|
||||
description = "Citrine Crystal",
|
||||
description = S("Citrine Crystal"),
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {"tms_citrine_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
|
@ -270,9 +291,8 @@ minetest.register_node("too_many_stones:citrine_crystal", {
|
|||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3},
|
||||
drop = "too_many_stones:citrine_shards",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:citrine_budding", {
|
||||
|
@ -283,15 +303,10 @@ minetest.register_node("too_many_stones:citrine_budding", {
|
|||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("too_many_stones:citrine_shards", {
|
||||
description = "Citrine Shards",
|
||||
inventory_image = "tms_citrine_shards.png",
|
||||
})
|
||||
|
||||
-- Crocoite
|
||||
|
||||
minetest.register_abm({
|
||||
|
@ -313,7 +328,7 @@ minetest.register_abm({
|
|||
})
|
||||
|
||||
minetest.register_node("too_many_stones:crocoite_crystal", {
|
||||
description = "Crocoite Crystal",
|
||||
description = S("Crocoite Crystal"),
|
||||
tiles = {"tms_crocoite_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
sunlight_propagates = true,
|
||||
|
@ -325,9 +340,8 @@ minetest.register_node("too_many_stones:crocoite_crystal", {
|
|||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3},
|
||||
drop = "too_many_stones:crocoite_shards",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:crocoite_budding", {
|
||||
|
@ -338,15 +352,10 @@ minetest.register_node("too_many_stones:crocoite_budding", {
|
|||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("too_many_stones:crocoite_shards", {
|
||||
description = "Crocoite Shards",
|
||||
inventory_image = "tms_crocoite_shards.png",
|
||||
})
|
||||
|
||||
-- Eudialite
|
||||
|
||||
minetest.register_abm({
|
||||
|
@ -368,7 +377,7 @@ minetest.register_abm({
|
|||
})
|
||||
|
||||
minetest.register_node("too_many_stones:eudialite_crystal", {
|
||||
description = "Eudialite Crystal",
|
||||
description = S("Eudialite Crystal"),
|
||||
tiles = {"tms_eudialite_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
sunlight_propagates = true,
|
||||
|
@ -380,9 +389,8 @@ minetest.register_node("too_many_stones:eudialite_crystal", {
|
|||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3},
|
||||
drop = "too_many_stones:eudialite_shards",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:eudialite_budding", {
|
||||
|
@ -392,15 +400,10 @@ minetest.register_node("too_many_stones:eudialite_budding", {
|
|||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("too_many_stones:eudialite_shards", {
|
||||
description = "Eudialite Shards",
|
||||
inventory_image = "tms_eudialite_shards.png",
|
||||
})
|
||||
|
||||
-- Heliodor
|
||||
|
||||
minetest.register_abm({
|
||||
|
@ -422,7 +425,7 @@ minetest.register_abm({
|
|||
})
|
||||
|
||||
minetest.register_node("too_many_stones:heliodor_crystal", {
|
||||
description = "Heliodor Crystal",
|
||||
description = S("Heliodor Crystal"),
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {"tms_heliodor_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
|
@ -435,9 +438,8 @@ minetest.register_node("too_many_stones:heliodor_crystal", {
|
|||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3},
|
||||
drop = "too_many_stones:heliodor_shards",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:heliodor_budding", {
|
||||
|
@ -448,15 +450,10 @@ minetest.register_node("too_many_stones:heliodor_budding", {
|
|||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("too_many_stones:heliodor_shards", {
|
||||
description = "Heliodor Shards",
|
||||
inventory_image = "tms_heliodor_shards.png",
|
||||
})
|
||||
|
||||
-- Kyanite
|
||||
|
||||
minetest.register_abm({
|
||||
|
@ -478,7 +475,7 @@ minetest.register_abm({
|
|||
})
|
||||
|
||||
minetest.register_node("too_many_stones:kyanite_crystal", {
|
||||
description = "Kyanite Crystal",
|
||||
description = S("Kyanite Crystal"),
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {"tms_kyanite_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
|
@ -491,9 +488,8 @@ minetest.register_node("too_many_stones:kyanite_crystal", {
|
|||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3},
|
||||
drop = "too_many_stones:kyanite_shards",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:kyanite_budding", {
|
||||
|
@ -504,15 +500,10 @@ minetest.register_node("too_many_stones:kyanite_budding", {
|
|||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("too_many_stones:kyanite_shards", {
|
||||
description = "Kyanite Shards",
|
||||
inventory_image = "tms_kyanite_shards.png",
|
||||
})
|
||||
|
||||
-- Prasiolite
|
||||
|
||||
minetest.register_abm({
|
||||
|
@ -534,7 +525,7 @@ minetest.register_abm({
|
|||
})
|
||||
|
||||
minetest.register_node("too_many_stones:prasiolite_crystal", {
|
||||
description = "Prasiolite Crystal",
|
||||
description = S("Prasiolite Crystal"),
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {"tms_prasiolite_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
|
@ -547,9 +538,8 @@ minetest.register_node("too_many_stones:prasiolite_crystal", {
|
|||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3},
|
||||
drop = "too_many_stones:prasiolite_shards",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:prasiolite_budding", {
|
||||
|
@ -560,13 +550,108 @@ minetest.register_node("too_many_stones:prasiolite_budding", {
|
|||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("too_many_stones:prasiolite_shards", {
|
||||
description = "Prasiolite Shards",
|
||||
inventory_image = "tms_prasiolite_shards.png",
|
||||
-- Moonstone
|
||||
|
||||
minetest.register_abm({
|
||||
label = "TMS Moonstone Crystal growth",
|
||||
nodenames = "too_many_stones:moonstone_budding",
|
||||
interval = 10,
|
||||
chance = 1,
|
||||
action = function(pos)
|
||||
local check_pos = vector.add(all_directions[math.random(1, #all_directions)], pos)
|
||||
local check_node = minetest.get_node(check_pos)
|
||||
local check_node_name = check_node.name
|
||||
local param2 = minetest.dir_to_wallmounted(vector.subtract(pos, check_pos))
|
||||
local new_node
|
||||
if check_node_name == "air" then
|
||||
new_node = "too_many_stones:moonstone_crystal"
|
||||
else return end
|
||||
minetest.swap_node(check_pos, {name = new_node, param2 = param2})
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:moonstone_crystal", {
|
||||
description = S("Moonstone Crystal"),
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {"tms_moonstone_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
sunlight_propagates = true,
|
||||
light_source = 6,
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:moonstone_budding", {
|
||||
description = S("Budding Moonstone"),
|
||||
use_texture_alpha = "blend",
|
||||
drawtype = "glasslike",
|
||||
tiles = {"tms_moonstone_budding.png"},
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
-- Morion Quartz
|
||||
|
||||
minetest.register_abm({
|
||||
label = "TMS Morion Quartz Crystal growth",
|
||||
nodenames = "too_many_stones:morion_quartz_budding",
|
||||
interval = 10,
|
||||
chance = 1,
|
||||
action = function(pos)
|
||||
local check_pos = vector.add(all_directions[math.random(1, #all_directions)], pos)
|
||||
local check_node = minetest.get_node(check_pos)
|
||||
local check_node_name = check_node.name
|
||||
local param2 = minetest.dir_to_wallmounted(vector.subtract(pos, check_pos))
|
||||
local new_node
|
||||
if check_node_name == "air" then
|
||||
new_node = "too_many_stones:morion_quartz_crystal"
|
||||
else return end
|
||||
minetest.swap_node(check_pos, {name = new_node, param2 = param2})
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:morion_quartz_crystal", {
|
||||
description = S("Morion Quartz Crystal"),
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {"tms_morion_quartz_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
sunlight_propagates = true,
|
||||
light_source = 6,
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:morion_quartz_budding", {
|
||||
description = S("Budding Morion Quartz"),
|
||||
use_texture_alpha = "blend",
|
||||
drawtype = "glasslike",
|
||||
tiles = {"tms_morion_quartz_budding.png"},
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
-- Quartz
|
||||
|
@ -590,7 +675,7 @@ minetest.register_abm({
|
|||
})
|
||||
|
||||
minetest.register_node("too_many_stones:quartz_crystal", {
|
||||
description = "Quartz Crystal",
|
||||
description = S("Quartz Crystal"),
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {"tms_quartz_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
|
@ -603,9 +688,8 @@ minetest.register_node("too_many_stones:quartz_crystal", {
|
|||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3},
|
||||
drop = "too_many_stones:quartz_shards",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:quartz_budding", {
|
||||
|
@ -616,15 +700,10 @@ minetest.register_node("too_many_stones:quartz_budding", {
|
|||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("too_many_stones:quartz_shards", {
|
||||
description = "Quartz Shards",
|
||||
inventory_image = "tms_quartz_shards.png",
|
||||
})
|
||||
|
||||
-- Rose Quartz
|
||||
|
||||
minetest.register_abm({
|
||||
|
@ -646,7 +725,7 @@ minetest.register_abm({
|
|||
})
|
||||
|
||||
minetest.register_node("too_many_stones:rose_quartz_crystal", {
|
||||
description = "Rose Quartz Crystal",
|
||||
description = S("Rose Quartz Crystal"),
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {"tms_rose_quartz_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
|
@ -659,9 +738,8 @@ minetest.register_node("too_many_stones:rose_quartz_crystal", {
|
|||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3},
|
||||
drop = "too_many_stones:rose_quartz_shards",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:rose_quartz_budding", {
|
||||
|
@ -672,15 +750,10 @@ minetest.register_node("too_many_stones:rose_quartz_budding", {
|
|||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("too_many_stones:rose_quartz_shards", {
|
||||
description = "Rose Quartz Shards",
|
||||
inventory_image = "tms_rose_quartz_shards.png",
|
||||
})
|
||||
|
||||
-- Smokey Quartz
|
||||
|
||||
minetest.register_abm({
|
||||
|
@ -702,7 +775,7 @@ minetest.register_abm({
|
|||
})
|
||||
|
||||
minetest.register_node("too_many_stones:smokey_quartz_crystal", {
|
||||
description = "Smokey Quartz Crystal",
|
||||
description = S("Smokey Quartz Crystal"),
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {"tms_smokey_quartz_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
|
@ -715,9 +788,8 @@ minetest.register_node("too_many_stones:smokey_quartz_crystal", {
|
|||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3},
|
||||
drop = "too_many_stones:smokey_quartz_shards",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:smokey_quartz_budding", {
|
||||
|
@ -728,13 +800,158 @@ minetest.register_node("too_many_stones:smokey_quartz_budding", {
|
|||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("too_many_stones:smokey_quartz_shards", {
|
||||
description = "Smokey Quartz Shards",
|
||||
inventory_image = "tms_smokey_quartz_shards.png",
|
||||
-- Green Tourmaline
|
||||
|
||||
minetest.register_abm({
|
||||
label = "TMS Green Tourmaline Crystal growth",
|
||||
nodenames = "too_many_stones:tourmaline_green_budding",
|
||||
interval = 10,
|
||||
chance = 1,
|
||||
action = function(pos)
|
||||
local check_pos = vector.add(all_directions[math.random(1, #all_directions)], pos)
|
||||
local check_node = minetest.get_node(check_pos)
|
||||
local check_node_name = check_node.name
|
||||
local param2 = minetest.dir_to_wallmounted(vector.subtract(pos, check_pos))
|
||||
local new_node
|
||||
if check_node_name == "air" then
|
||||
new_node = "too_many_stones:tourmaline_green_crystal"
|
||||
else return end
|
||||
minetest.swap_node(check_pos, {name = new_node, param2 = param2})
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:tourmaline_green_crystal", {
|
||||
description = S("Green Tourmaline Crystal"),
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {"tms_tourmaline_green_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
sunlight_propagates = true,
|
||||
light_source = 6,
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:tourmaline_green_budding", {
|
||||
description = S("Budding Green Tourmaline"),
|
||||
use_texture_alpha = "blend",
|
||||
drawtype = "glasslike",
|
||||
tiles = {"tms_tourmaline_green_budding.png"},
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
-- Paraiba Tourmaline
|
||||
|
||||
minetest.register_abm({
|
||||
label = "TMS Paraiba Tourmaline Crystal growth",
|
||||
nodenames = "too_many_stones:tourmaline_paraiba_budding",
|
||||
interval = 10,
|
||||
chance = 1,
|
||||
action = function(pos)
|
||||
local check_pos = vector.add(all_directions[math.random(1, #all_directions)], pos)
|
||||
local check_node = minetest.get_node(check_pos)
|
||||
local check_node_name = check_node.name
|
||||
local param2 = minetest.dir_to_wallmounted(vector.subtract(pos, check_pos))
|
||||
local new_node
|
||||
if check_node_name == "air" then
|
||||
new_node = "too_many_stones:tourmaline_paraiba_crystal"
|
||||
else return end
|
||||
minetest.swap_node(check_pos, {name = new_node, param2 = param2})
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:tourmaline_paraiba_crystal", {
|
||||
description = S("Paraiba Tourmaline Crystal"),
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {"tms_tourmaline_paraiba_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
sunlight_propagates = true,
|
||||
light_source = 6,
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:tourmaline_paraiba_budding", {
|
||||
description = S("Budding Paraiba Tourmaline"),
|
||||
use_texture_alpha = "blend",
|
||||
drawtype = "glasslike",
|
||||
tiles = {"tms_tourmaline_paraiba_budding.png"},
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
-- Pink Tourmaline
|
||||
|
||||
minetest.register_abm({
|
||||
label = "TMS Pink Tourmaline Crystal growth",
|
||||
nodenames = "too_many_stones:tourmaline_pink_budding",
|
||||
interval = 10,
|
||||
chance = 1,
|
||||
action = function(pos)
|
||||
local check_pos = vector.add(all_directions[math.random(1, #all_directions)], pos)
|
||||
local check_node = minetest.get_node(check_pos)
|
||||
local check_node_name = check_node.name
|
||||
local param2 = minetest.dir_to_wallmounted(vector.subtract(pos, check_pos))
|
||||
local new_node
|
||||
if check_node_name == "air" then
|
||||
new_node = "too_many_stones:tourmaline_pink_crystal"
|
||||
else return end
|
||||
minetest.swap_node(check_pos, {name = new_node, param2 = param2})
|
||||
end,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:tourmaline_pink_crystal", {
|
||||
description = S("Pink Tourmaline Crystal"),
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {"tms_tourmaline_pink_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
sunlight_propagates = true,
|
||||
light_source = 6,
|
||||
paramtype = "light",
|
||||
paramtype2 = "wallmounted",
|
||||
walkable = false,
|
||||
selection_box = {
|
||||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:tourmaline_pink_budding", {
|
||||
description = S("Budding Pink Tourmaline"),
|
||||
use_texture_alpha = "blend",
|
||||
drawtype = "glasslike",
|
||||
tiles = {"tms_tourmaline_pink_budding.png"},
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
-- Vivianite
|
||||
|
@ -758,7 +975,7 @@ minetest.register_abm({
|
|||
})
|
||||
|
||||
minetest.register_node("too_many_stones:vivianite_crystal", {
|
||||
description = "Vivianite Crystal",
|
||||
description = S("Vivianite Crystal"),
|
||||
use_texture_alpha = "blend",
|
||||
tiles = {"tms_vivianite_crystal.png"},
|
||||
drawtype = "plantlike",
|
||||
|
@ -771,9 +988,8 @@ minetest.register_node("too_many_stones:vivianite_crystal", {
|
|||
type = "fixed",
|
||||
fixed = {-5/16, -8/16, -5/16, 5/16, 4/16, 5/16},
|
||||
},
|
||||
groups = {cracky = 3},
|
||||
drop = "too_many_stones:vivianite_shards",
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
groups = {cracky = 3, attached_node = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:vivianite_budding", {
|
||||
|
@ -784,11 +1000,6 @@ minetest.register_node("too_many_stones:vivianite_budding", {
|
|||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
paramtype = "light",
|
||||
})
|
||||
|
||||
minetest.register_craftitem("too_many_stones:vivianite_shards", {
|
||||
description = "Vivianite Shards",
|
||||
inventory_image = "tms_vivianite_shards.png",
|
||||
})
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
-- mods/too_many_stones/nodes_glowing.lua
|
||||
|
||||
-- support for MT game translation.
|
||||
local S = default.get_translator
|
||||
local S = minetest.get_translator("too_many_stones")
|
||||
|
||||
|
||||
|
||||
|
@ -28,11 +28,11 @@ minetest.register_node("too_many_stones:glow_apatite", {
|
|||
tiles = {"tms_glow_apatite.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
is_ground_content = true,
|
||||
groups = {glow_stone = 1, violet_stone = 1, cracky = 3, stone = 1},
|
||||
drop = "too_many_stones:glow_apatite_cobble",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_apatite_block", {
|
||||
|
@ -42,9 +42,9 @@ minetest.register_node("too_many_stones:glow_apatite_block", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, violet_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_apatite_cobble", {
|
||||
|
@ -54,9 +54,9 @@ minetest.register_node("too_many_stones:glow_apatite_cobble", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, violet_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_apatite_brick", {
|
||||
|
@ -66,9 +66,9 @@ minetest.register_node("too_many_stones:glow_apatite_brick", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, violet_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_apatite_cracked_brick", {
|
||||
|
@ -78,9 +78,9 @@ minetest.register_node("too_many_stones:glow_apatite_cracked_brick", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, violet_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
--Glow Calcite
|
||||
minetest.register_node("too_many_stones:glow_calcite", {
|
||||
|
@ -89,11 +89,11 @@ minetest.register_node("too_many_stones:glow_calcite", {
|
|||
tiles = {"tms_glow_calcite.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
is_ground_content = true,
|
||||
groups = {glow_stone = 1, red_stone = 1, cracky = 3, stone = 1},
|
||||
drop = "too_many_stones:glow_calcite_cobble",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_calcite_block", {
|
||||
|
@ -103,9 +103,9 @@ minetest.register_node("too_many_stones:glow_calcite_block", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, red_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_calcite_cobble", {
|
||||
|
@ -115,9 +115,9 @@ minetest.register_node("too_many_stones:glow_calcite_cobble", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, red_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_calcite_brick", {
|
||||
|
@ -127,9 +127,9 @@ minetest.register_node("too_many_stones:glow_calcite_brick", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, red_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_calcite_cracked_brick", {
|
||||
|
@ -139,9 +139,9 @@ minetest.register_node("too_many_stones:glow_calcite_cracked_brick", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, red_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
--Glow Eserite
|
||||
minetest.register_node("too_many_stones:glow_esperite", {
|
||||
|
@ -150,11 +150,11 @@ minetest.register_node("too_many_stones:glow_esperite", {
|
|||
tiles = {"tms_glow_esperite.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
is_ground_content = true,
|
||||
groups = {glow_stone = 1, yellow_stone = 1, cracky = 3, stone = 1},
|
||||
drop = "too_many_stones:glow_esperite_cobble",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_esperite_block", {
|
||||
|
@ -164,9 +164,9 @@ minetest.register_node("too_many_stones:glow_esperite_block", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, yellow_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_esperite_cobble", {
|
||||
|
@ -176,9 +176,9 @@ minetest.register_node("too_many_stones:glow_esperite_cobble", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, yellow_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_esperite_brick", {
|
||||
|
@ -188,9 +188,9 @@ minetest.register_node("too_many_stones:glow_esperite_brick", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, yellow_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_esperite_cracked_brick", {
|
||||
|
@ -200,9 +200,9 @@ minetest.register_node("too_many_stones:glow_esperite_cracked_brick", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, yellow_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
--Glow Fluorite
|
||||
minetest.register_node("too_many_stones:glow_fluorite", {
|
||||
|
@ -211,11 +211,11 @@ minetest.register_node("too_many_stones:glow_fluorite", {
|
|||
tiles = {"tms_glow_fluorite.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
is_ground_content = true,
|
||||
groups = {glow_stone = 1, blue_stone = 1, cracky = 3, stone = 1},
|
||||
drop = "too_many_stones:glow_fluorite_cobble",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_fluorite_block", {
|
||||
|
@ -225,9 +225,9 @@ minetest.register_node("too_many_stones:glow_fluorite_block", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, blue_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_fluorite_cobble", {
|
||||
|
@ -237,9 +237,9 @@ minetest.register_node("too_many_stones:glow_fluorite_cobble", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, blue_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_fluorite_brick", {
|
||||
|
@ -249,9 +249,9 @@ minetest.register_node("too_many_stones:glow_fluorite_brick", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, blue_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_fluorite_cracked_brick", {
|
||||
|
@ -261,9 +261,9 @@ minetest.register_node("too_many_stones:glow_fluorite_cracked_brick", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, blue_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
--Glow Selenite
|
||||
minetest.register_node("too_many_stones:glow_selenite", {
|
||||
|
@ -272,11 +272,11 @@ minetest.register_node("too_many_stones:glow_selenite", {
|
|||
tiles = {"tms_glow_selenite.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
is_ground_content = true,
|
||||
groups = {glow_stone = 1, cyan_stone = 1, cracky = 3, stone = 1},
|
||||
drop = "too_many_stones:glow_selenite_cobble",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_selenite_block", {
|
||||
|
@ -286,9 +286,9 @@ minetest.register_node("too_many_stones:glow_selenite_block", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, cyan_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_selenite_cobble", {
|
||||
|
@ -298,9 +298,9 @@ minetest.register_node("too_many_stones:glow_selenite_cobble", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, cyan_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_selenite_brick", {
|
||||
|
@ -310,9 +310,9 @@ minetest.register_node("too_many_stones:glow_selenite_brick", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, cyan_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_selenite_cracked_brick", {
|
||||
|
@ -322,9 +322,9 @@ minetest.register_node("too_many_stones:glow_selenite_cracked_brick", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, cyan_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
--Glow Sodalite
|
||||
minetest.register_node("too_many_stones:glow_sodalite", {
|
||||
|
@ -333,11 +333,11 @@ minetest.register_node("too_many_stones:glow_sodalite", {
|
|||
tiles = {"tms_glow_sodalite.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
is_ground_content = true,
|
||||
groups = {glow_stone = 1, orange_stone = 1, cracky = 3, stone = 1},
|
||||
drop = "too_many_stones:glow_sodalite_cobble",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_sodalite_block", {
|
||||
|
@ -347,9 +347,9 @@ minetest.register_node("too_many_stones:glow_sodalite_block", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, orange_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_sodalite_cobble", {
|
||||
|
@ -359,9 +359,9 @@ minetest.register_node("too_many_stones:glow_sodalite_cobble", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, orange_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_sodalite_brick", {
|
||||
|
@ -371,9 +371,9 @@ minetest.register_node("too_many_stones:glow_sodalite_brick", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, orange_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_sodalite_cracked_brick", {
|
||||
|
@ -383,9 +383,9 @@ minetest.register_node("too_many_stones:glow_sodalite_cracked_brick", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, orange_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
--Glow Willemite
|
||||
minetest.register_node("too_many_stones:glow_willemite", {
|
||||
|
@ -394,11 +394,11 @@ minetest.register_node("too_many_stones:glow_willemite", {
|
|||
tiles = {"tms_glow_willemite.png"},
|
||||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
is_ground_content = true,
|
||||
groups = {glow_stone = 1, green_stone = 1, cracky = 3, stone = 1},
|
||||
drop = "too_many_stones:glow_willemite_cobble",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_willemite_block", {
|
||||
|
@ -408,9 +408,9 @@ minetest.register_node("too_many_stones:glow_willemite_block", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, green_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_willemite_cobble", {
|
||||
|
@ -420,9 +420,9 @@ minetest.register_node("too_many_stones:glow_willemite_cobble", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, green_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_willemite_brick", {
|
||||
|
@ -432,9 +432,9 @@ minetest.register_node("too_many_stones:glow_willemite_brick", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, green_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:glow_willemite_cracked_brick", {
|
||||
|
@ -444,9 +444,9 @@ minetest.register_node("too_many_stones:glow_willemite_cracked_brick", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {cracky = 3, stone = 1},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {glow_stone = 1, green_stone = 1, cracky = 3, stone = 1},
|
||||
sounds = too_many_stones.node_sound_glass_defaults(),
|
||||
light_source = minetest.LIGHT_MAX,
|
||||
})
|
||||
|
||||
--
|
||||
|
@ -666,11 +666,10 @@ minetest.register_craft({
|
|||
--
|
||||
-- Mapgen
|
||||
--
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "too_many_stones:glow_apatite",
|
||||
wherein = "default:stone",
|
||||
wherein = "mapgen_stone",
|
||||
clust_scarcity = 48 * 48 * 48,
|
||||
clust_num_ores = 20,
|
||||
clust_size = 5,
|
||||
|
@ -681,7 +680,7 @@ minetest.register_craft({
|
|||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "too_many_stones:glow_calcite",
|
||||
wherein = "default:stone",
|
||||
wherein = "mapgen_stone",
|
||||
clust_scarcity = 48 * 48 * 48,
|
||||
clust_num_ores = 20,
|
||||
clust_size = 5,
|
||||
|
@ -692,7 +691,7 @@ minetest.register_craft({
|
|||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "too_many_stones:glow_esperite",
|
||||
wherein = "default:stone",
|
||||
wherein = "mapgen_stone",
|
||||
clust_scarcity = 48 * 48 * 48,
|
||||
clust_num_ores = 20,
|
||||
clust_size = 5,
|
||||
|
@ -703,7 +702,7 @@ minetest.register_craft({
|
|||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "too_many_stones:glow_fluorite",
|
||||
wherein = "default:stone",
|
||||
wherein = "mapgen_stone",
|
||||
clust_scarcity = 48 * 48 * 48,
|
||||
clust_num_ores = 20,
|
||||
clust_size = 5,
|
||||
|
@ -714,7 +713,7 @@ minetest.register_craft({
|
|||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "too_many_stones:glow_selenite",
|
||||
wherein = "default:stone",
|
||||
wherein = "mapgen_stone",
|
||||
clust_scarcity = 48 * 48 * 48,
|
||||
clust_num_ores = 20,
|
||||
clust_size = 5,
|
||||
|
@ -725,7 +724,7 @@ minetest.register_craft({
|
|||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "too_many_stones:glow_sodalite",
|
||||
wherein = "default:stone",
|
||||
wherein = "mapgen_stone",
|
||||
clust_scarcity = 48 * 48 * 48,
|
||||
clust_num_ores = 20,
|
||||
clust_size = 5,
|
||||
|
@ -736,10 +735,94 @@ minetest.register_craft({
|
|||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "too_many_stones:glow_willemite",
|
||||
wherein = "default:stone",
|
||||
wherein = "mapgen_stone",
|
||||
clust_scarcity = 48 * 48 * 48,
|
||||
clust_num_ores = 20,
|
||||
clust_size = 5,
|
||||
y_max = -1000,
|
||||
y_min = -31000,
|
||||
})
|
||||
|
||||
if minetest.get_modpath("mcl_mapgen_core") ~= nil then
|
||||
|
||||
--
|
||||
-- Mapgen MineClone
|
||||
--
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "too_many_stones:glow_apatite",
|
||||
wherein = "mapgen_stone",
|
||||
clust_scarcity = 48 * 48 * 48,
|
||||
clust_num_ores = 20,
|
||||
clust_size = 5,
|
||||
y_max = -40,
|
||||
y_min = -64,
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "too_many_stones:glow_calcite",
|
||||
wherein = "mapgen_stone",
|
||||
clust_scarcity = 48 * 48 * 48,
|
||||
clust_num_ores = 20,
|
||||
clust_size = 5,
|
||||
y_max = -40,
|
||||
y_min = -64,
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "too_many_stones:glow_esperite",
|
||||
wherein = "mapgen_stone",
|
||||
clust_scarcity = 48 * 48 * 48,
|
||||
clust_num_ores = 20,
|
||||
clust_size = 5,
|
||||
y_max = -40,
|
||||
y_min = -64,
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "too_many_stones:glow_fluorite",
|
||||
wherein = "mapgen_stone",
|
||||
clust_scarcity = 48 * 48 * 48,
|
||||
clust_num_ores = 20,
|
||||
clust_size = 5,
|
||||
y_max = -40,
|
||||
y_min = -64,
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "too_many_stones:glow_selenite",
|
||||
wherein = "mapgen_stone",
|
||||
clust_scarcity = 48 * 48 * 48,
|
||||
clust_num_ores = 20,
|
||||
clust_size = 5,
|
||||
y_max = -40,
|
||||
y_min = -64,
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "too_many_stones:glow_sodalite",
|
||||
wherein = "mapgen_stone",
|
||||
clust_scarcity = 48 * 48 * 48,
|
||||
clust_num_ores = 20,
|
||||
clust_size = 5,
|
||||
y_max = -40,
|
||||
y_min = -64,
|
||||
})
|
||||
|
||||
minetest.register_ore({
|
||||
ore_type = "scatter",
|
||||
ore = "too_many_stones:glow_willemite",
|
||||
wherein = "mapgen_stone",
|
||||
clust_scarcity = 48 * 48 * 48,
|
||||
clust_num_ores = 20,
|
||||
clust_size = 5,
|
||||
y_max = -40,
|
||||
y_min = -64,
|
||||
})
|
||||
|
||||
end
|
||||
|
|
982
nodes_ore.lua
982
nodes_ore.lua
|
@ -1,982 +0,0 @@
|
|||
-- mods/too_many_stones/nodes_ore.lua
|
||||
|
||||
-- support for MT game translation.
|
||||
local S = default.get_translator
|
||||
|
||||
|
||||
|
||||
--[[ Index:
|
||||
|
||||
|
||||
|
||||
--]]
|
||||
|
||||
-- Amazonite
|
||||
minetest.register_node("too_many_stones:amazonite_with_coal", {
|
||||
description = S("Coal Ore"),
|
||||
tiles = {"tms_amazonite.png^default_mineral_coal.png"},
|
||||
groups = {cracky = 3},
|
||||
drop = "default:coal_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:amazonite_with_iron", {
|
||||
description = S("Iron Ore"),
|
||||
tiles = {"tms_amazonite.png^default_mineral_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:iron_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:amazonite_with_copper", {
|
||||
description = S("Copper Ore"),
|
||||
tiles = {"tms_amazonite.png^default_mineral_copper.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:copper_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:amazonite_with_tin", {
|
||||
description = S("Tin Ore"),
|
||||
tiles = {"tms_amazonite.png^default_mineral_tin.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:tin_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:amazonite_with_mese", {
|
||||
description = S("Mese Ore"),
|
||||
tiles = {"tms_amazonite.png^default_mineral_mese.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:mese_crystal",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:amazonite_with_gold", {
|
||||
description = S("Gold Ore"),
|
||||
tiles = {"tms_amazonite.png^default_mineral_gold.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:gold_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:amazonite_with_diamond", {
|
||||
description = S("Diamond Ore"),
|
||||
tiles = {"tms_amazonite.png^default_mineral_diamond.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:diamond",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
-- Bluestone
|
||||
minetest.register_node("too_many_stones:bluestone_with_coal", {
|
||||
description = S("Coal Ore"),
|
||||
tiles = {"tms_bluestone.png^default_mineral_coal.png"},
|
||||
groups = {cracky = 3},
|
||||
drop = "default:coal_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:bluestone_with_iron", {
|
||||
description = S("Iron Ore"),
|
||||
tiles = {"tms_bluestone.png^default_mineral_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:iron_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:bluestone_with_copper", {
|
||||
description = S("Copper Ore"),
|
||||
tiles = {"tms_bluestone.png^default_mineral_copper.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:copper_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:bluestone_with_tin", {
|
||||
description = S("Tin Ore"),
|
||||
tiles = {"tms_bluestone.png^default_mineral_tin.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:tin_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:bluestone_with_mese", {
|
||||
description = S("Mese Ore"),
|
||||
tiles = {"tms_bluestone.png^default_mineral_mese.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:mese_crystal",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:bluestone_with_gold", {
|
||||
description = S("Gold Ore"),
|
||||
tiles = {"tms_bluestone.png^default_mineral_gold.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:gold_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:bluestone_with_diamond", {
|
||||
description = S("Diamond Ore"),
|
||||
tiles = {"tms_bluestone.png^default_mineral_diamond.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:diamond",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
-- Calcite
|
||||
minetest.register_node("too_many_stones:calcite_with_coal", {
|
||||
description = S("Coal Ore"),
|
||||
tiles = {"tms_calcite.png^default_mineral_coal.png"},
|
||||
groups = {cracky = 3},
|
||||
drop = "default:coal_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:calcite_with_iron", {
|
||||
description = S("Iron Ore"),
|
||||
tiles = {"tms_calcite.png^default_mineral_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:iron_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:calcite_with_copper", {
|
||||
description = S("Copper Ore"),
|
||||
tiles = {"tms_calcite.png^default_mineral_copper.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:copper_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:calcite_with_tin", {
|
||||
description = S("Tin Ore"),
|
||||
tiles = {"tms_calcite.png^default_mineral_tin.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:tin_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:calcite_with_mese", {
|
||||
description = S("Mese Ore"),
|
||||
tiles = {"tms_calcite.png^default_mineral_mese.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:mese_crystal",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:calcite_with_gold", {
|
||||
description = S("Gold Ore"),
|
||||
tiles = {"tms_calcite.png^default_mineral_gold.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:gold_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:calcite_with_diamond", {
|
||||
description = S("Diamond Ore"),
|
||||
tiles = {"tms_calcite.png^default_mineral_diamond.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:diamond",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
-- Carnotite
|
||||
minetest.register_node("too_many_stones:carnotite_with_coal", {
|
||||
description = S("Coal Ore"),
|
||||
tiles = {"tms_carnotite.png^default_mineral_coal.png"},
|
||||
groups = {cracky = 3},
|
||||
drop = "default:coal_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:carnotite_with_iron", {
|
||||
description = S("Iron Ore"),
|
||||
tiles = {"tms_carnotite.png^default_mineral_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:iron_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:carnotite_with_copper", {
|
||||
description = S("Copper Ore"),
|
||||
tiles = {"tms_carnotite.png^default_mineral_copper.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:copper_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:carnotite_with_tin", {
|
||||
description = S("Tin Ore"),
|
||||
tiles = {"tms_carnotite.png^default_mineral_tin.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:tin_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:carnotite_with_mese", {
|
||||
description = S("Mese Ore"),
|
||||
tiles = {"tms_carnotite.png^default_mineral_mese.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:mese_crystal",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:carnotite_with_gold", {
|
||||
description = S("Gold Ore"),
|
||||
tiles = {"tms_carnotite.png^default_mineral_gold.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:gold_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:carnotite_with_diamond", {
|
||||
description = S("Diamond Ore"),
|
||||
tiles = {"tms_carnotite.png^default_mineral_diamond.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:diamond",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
-- Blue Granite
|
||||
minetest.register_node("too_many_stones:granite_blue_with_coal", {
|
||||
description = S("Coal Ore"),
|
||||
tiles = {"tms_granite_blue.png^default_mineral_coal.png"},
|
||||
groups = {cracky = 3},
|
||||
drop = "default:coal_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:granite_blue_with_iron", {
|
||||
description = S("Iron Ore"),
|
||||
tiles = {"tms_granite_blue.png^default_mineral_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:iron_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:granite_blue_with_copper", {
|
||||
description = S("Copper Ore"),
|
||||
tiles = {"tms_granite_blue.png^default_mineral_copper.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:copper_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:granite_blue_with_tin", {
|
||||
description = S("Tin Ore"),
|
||||
tiles = {"tms_granite_blue.png^default_mineral_tin.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:tin_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:granite_blue_with_mese", {
|
||||
description = S("Mese Ore"),
|
||||
tiles = {"tms_granite_blue.png^default_mineral_mese.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:mese_crystal",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:granite_blue_with_gold", {
|
||||
description = S("Gold Ore"),
|
||||
tiles = {"tms_granite_blue.png^default_mineral_gold.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:gold_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:granite_blue_with_diamond", {
|
||||
description = S("Diamond Ore"),
|
||||
tiles = {"tms_granite_blue.png^default_mineral_diamond.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:diamond",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
-- Green Granite
|
||||
minetest.register_node("too_many_stones:granite_green_with_coal", {
|
||||
description = S("Coal Ore"),
|
||||
tiles = {"tms_granite_green.png^default_mineral_coal.png"},
|
||||
groups = {cracky = 3},
|
||||
drop = "default:coal_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:granite_green_with_iron", {
|
||||
description = S("Iron Ore"),
|
||||
tiles = {"tms_granite_green.png^default_mineral_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:iron_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:granite_green_with_copper", {
|
||||
description = S("Copper Ore"),
|
||||
tiles = {"tms_granite_green.png^default_mineral_copper.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:copper_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:granite_green_with_tin", {
|
||||
description = S("Tin Ore"),
|
||||
tiles = {"tms_granite_green.png^default_mineral_tin.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:tin_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:granite_green_with_mese", {
|
||||
description = S("Mese Ore"),
|
||||
tiles = {"tms_granite_green.png^default_mineral_mese.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:mese_crystal",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:granite_green_with_gold", {
|
||||
description = S("Gold Ore"),
|
||||
tiles = {"tms_granite_green.png^default_mineral_gold.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:gold_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:granite_green_with_diamond", {
|
||||
description = S("Diamond Ore"),
|
||||
tiles = {"tms_granite_green.png^default_mineral_diamond.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:diamond",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
-- Red Granite
|
||||
minetest.register_node("too_many_stones:granite_red_with_coal", {
|
||||
description = S("Coal Ore"),
|
||||
tiles = {"tms_granite_red.png^default_mineral_coal.png"},
|
||||
groups = {cracky = 3},
|
||||
drop = "default:coal_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:granite_red_with_iron", {
|
||||
description = S("Iron Ore"),
|
||||
tiles = {"tms_granite_red.png^default_mineral_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:iron_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:granite_red_with_copper", {
|
||||
description = S("Copper Ore"),
|
||||
tiles = {"tms_granite_red.png^default_mineral_copper.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:copper_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:granite_red_with_tin", {
|
||||
description = S("Tin Ore"),
|
||||
tiles = {"tms_granite_red.png^default_mineral_tin.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:tin_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:granite_red_with_mese", {
|
||||
description = S("Mese Ore"),
|
||||
tiles = {"tms_granite_red.png^default_mineral_mese.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:mese_crystal",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:granite_red_with_gold", {
|
||||
description = S("Gold Ore"),
|
||||
tiles = {"tms_granite_red.png^default_mineral_gold.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:gold_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:granite_red_with_diamond", {
|
||||
description = S("Diamond Ore"),
|
||||
tiles = {"tms_granite_red.png^default_mineral_diamond.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:diamond",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
--Greenstone
|
||||
minetest.register_node("too_many_stones:greenstone_with_coal", {
|
||||
description = S("Coal Ore"),
|
||||
tiles = {"tms_greenstone.png^default_mineral_coal.png"},
|
||||
groups = {cracky = 3},
|
||||
drop = "default:coal_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:greenstone_with_iron", {
|
||||
description = S("Iron Ore"),
|
||||
tiles = {"tms_greenstone.png^default_mineral_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:iron_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:greenstone_with_copper", {
|
||||
description = S("Copper Ore"),
|
||||
tiles = {"tms_greenstone.png^default_mineral_copper.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:copper_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:greenstone_with_tin", {
|
||||
description = S("Tin Ore"),
|
||||
tiles = {"tms_greenstone.png^default_mineral_tin.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:tin_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:greenstone_with_mese", {
|
||||
description = S("Mese Ore"),
|
||||
tiles = {"tms_greenstone.png^default_mineral_mese.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:mese_crystal",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:greenstone_with_gold", {
|
||||
description = S("Gold Ore"),
|
||||
tiles = {"tms_greenstone.png^default_mineral_gold.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:gold_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:greenstone_with_diamond", {
|
||||
description = S("Diamond Ore"),
|
||||
tiles = {"tms_greenstone.png^default_mineral_diamond.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:diamond",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
-- Ilvaite
|
||||
minetest.register_node("too_many_stones:ilvaite_with_coal", {
|
||||
description = S("Coal Ore"),
|
||||
tiles = {"tms_ilvaite.png^default_mineral_coal.png"},
|
||||
groups = {cracky = 3},
|
||||
drop = "default:coal_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:ilvaite_with_iron", {
|
||||
description = S("Iron Ore"),
|
||||
tiles = {"tms_ilvaite.png^default_mineral_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:iron_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:ilvaite_with_copper", {
|
||||
description = S("Copper Ore"),
|
||||
tiles = {"tms_ilvaite.png^default_mineral_copper.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:copper_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:ilvaite_with_tin", {
|
||||
description = S("Tin Ore"),
|
||||
tiles = {"tms_ilvaite.png^default_mineral_tin.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:tin_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:ilvaite_with_mese", {
|
||||
description = S("Mese Ore"),
|
||||
tiles = {"tms_ilvaite.png^default_mineral_mese.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:mese_crystal",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:ilvaite_with_gold", {
|
||||
description = S("Gold Ore"),
|
||||
tiles = {"tms_ilvaite.png^default_mineral_gold.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:gold_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:ilvaite_with_diamond", {
|
||||
description = S("Diamond Ore"),
|
||||
tiles = {"tms_ilvaite.png^default_mineral_diamond.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:diamond",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
-- Kyanite
|
||||
minetest.register_node("too_many_stones:kyanite_with_coal", {
|
||||
description = S("Coal Ore"),
|
||||
tiles = {"tms_kyanite.png^default_mineral_coal.png"},
|
||||
groups = {cracky = 3},
|
||||
drop = "default:coal_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:kyanite_with_iron", {
|
||||
description = S("Iron Ore"),
|
||||
tiles = {"tms_kyanite.png^default_mineral_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:iron_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:kyanite_with_copper", {
|
||||
description = S("Copper Ore"),
|
||||
tiles = {"tms_kyanite.png^default_mineral_copper.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:copper_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:kyanite_with_tin", {
|
||||
description = S("Tin Ore"),
|
||||
tiles = {"tms_kyanite.png^default_mineral_tin.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:tin_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:kyanite_with_mese", {
|
||||
description = S("Mese Ore"),
|
||||
tiles = {"tms_kyanite.png^default_mineral_mese.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:mese_crystal",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:kyanite_with_gold", {
|
||||
description = S("Gold Ore"),
|
||||
tiles = {"tms_kyanite.png^default_mineral_gold.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:gold_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:kyanite_with_diamond", {
|
||||
description = S("Diamond Ore"),
|
||||
tiles = {"tms_kyanite.png^default_mineral_diamond.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:diamond",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
-- Blue Limestone
|
||||
minetest.register_node("too_many_stones:limestone_blue_with_coal", {
|
||||
description = S("Coal Ore"),
|
||||
tiles = {"tms_limestone_blue.png^default_mineral_coal.png"},
|
||||
groups = {cracky = 3},
|
||||
drop = "default:coal_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:limestone_blue_with_iron", {
|
||||
description = S("Iron Ore"),
|
||||
tiles = {"tms_limestone_blue.png^default_mineral_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:iron_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:limestone_blue_with_copper", {
|
||||
description = S("Copper Ore"),
|
||||
tiles = {"tms_limestone_blue.png^default_mineral_copper.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:copper_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:limestone_blue_with_tin", {
|
||||
description = S("Tin Ore"),
|
||||
tiles = {"tms_limestone_blue.png^default_mineral_tin.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:tin_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:limestone_blue_with_mese", {
|
||||
description = S("Mese Ore"),
|
||||
tiles = {"tms_limestone_blue.png^default_mineral_mese.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:mese_crystal",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:limestone_blue_with_gold", {
|
||||
description = S("Gold Ore"),
|
||||
tiles = {"tms_limestone_blue.png^default_mineral_gold.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:gold_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:limestone_blue_with_diamond", {
|
||||
description = S("Diamond Ore"),
|
||||
tiles = {"tms_limestone_blue.png^default_mineral_diamond.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:diamond",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
-- White Limestone
|
||||
minetest.register_node("too_many_stones:limestone_white_with_coal", {
|
||||
description = S("Coal Ore"),
|
||||
tiles = {"tms_limestone_white.png^default_mineral_coal.png"},
|
||||
groups = {cracky = 3},
|
||||
drop = "default:coal_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:limestone_white_with_iron", {
|
||||
description = S("Iron Ore"),
|
||||
tiles = {"tms_limestone_white.png^default_mineral_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:iron_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:limestone_white_with_copper", {
|
||||
description = S("Copper Ore"),
|
||||
tiles = {"tms_limestone_white.png^default_mineral_copper.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:copper_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:limestone_white_with_tin", {
|
||||
description = S("Tin Ore"),
|
||||
tiles = {"tms_limestone_white.png^default_mineral_tin.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:tin_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:limestone_white_with_mese", {
|
||||
description = S("Mese Ore"),
|
||||
tiles = {"tms_limestone_white.png^default_mineral_mese.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:mese_crystal",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:limestone_white_with_gold", {
|
||||
description = S("Gold Ore"),
|
||||
tiles = {"tms_limestone_white.png^default_mineral_gold.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:gold_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:limestone_white_with_diamond", {
|
||||
description = S("Diamond Ore"),
|
||||
tiles = {"tms_limestone_white.png^default_mineral_diamond.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:diamond",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
-- Marble
|
||||
minetest.register_node("too_many_stones:marble_with_coal", {
|
||||
description = S("Coal Ore"),
|
||||
tiles = {"tms_marble.png^default_mineral_coal.png"},
|
||||
groups = {cracky = 3},
|
||||
drop = "default:coal_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:marble_with_iron", {
|
||||
description = S("Iron Ore"),
|
||||
tiles = {"tms_marble.png^default_mineral_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:iron_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:marble_with_copper", {
|
||||
description = S("Copper Ore"),
|
||||
tiles = {"tms_marble.png^default_mineral_copper.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:copper_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:marble_with_tin", {
|
||||
description = S("Tin Ore"),
|
||||
tiles = {"tms_marble.png^default_mineral_tin.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:tin_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:marble_with_mese", {
|
||||
description = S("Mese Ore"),
|
||||
tiles = {"tms_marble.png^default_mineral_mese.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:mese_crystal",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:marble_with_gold", {
|
||||
description = S("Gold Ore"),
|
||||
tiles = {"tms_marble.png^default_mineral_gold.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:gold_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:marble_with_diamond", {
|
||||
description = S("Diamond Ore"),
|
||||
tiles = {"tms_marble.png^default_mineral_diamond.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:diamond",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
-- Rose Quartz
|
||||
minetest.register_node("too_many_stones:rose_quartz_with_coal", {
|
||||
description = S("Coal Ore"),
|
||||
tiles = {"tms_rose_quartz.png^default_mineral_coal.png"},
|
||||
groups = {cracky = 3},
|
||||
drop = "default:coal_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:rose_quartz_with_iron", {
|
||||
description = S("Iron Ore"),
|
||||
tiles = {"tms_rose_quartz.png^default_mineral_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:iron_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:rose_quartz_with_copper", {
|
||||
description = S("Copper Ore"),
|
||||
tiles = {"tms_rose_quartz.png^default_mineral_copper.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:copper_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:rose_quartz_with_tin", {
|
||||
description = S("Tin Ore"),
|
||||
tiles = {"tms_rose_quartz.png^default_mineral_tin.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:tin_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:rose_quartz_with_mese", {
|
||||
description = S("Mese Ore"),
|
||||
tiles = {"tms_rose_quartz.png^default_mineral_mese.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:mese_crystal",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:rose_quartz_with_gold", {
|
||||
description = S("Gold Ore"),
|
||||
tiles = {"tms_rose_quartz.png^default_mineral_gold.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:gold_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:rose_quartz_with_diamond", {
|
||||
description = S("Diamond Ore"),
|
||||
tiles = {"tms_rose_quartz.png^default_mineral_diamond.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:diamond",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
-- Scoria
|
||||
minetest.register_node("too_many_stones:scoria_with_coal", {
|
||||
description = S("Coal Ore"),
|
||||
tiles = {"tms_scoria.png^default_mineral_coal.png"},
|
||||
groups = {cracky = 3},
|
||||
drop = "default:coal_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:scoria_with_iron", {
|
||||
description = S("Iron Ore"),
|
||||
tiles = {"tms_scoria.png^default_mineral_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:iron_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:scoria_with_copper", {
|
||||
description = S("Copper Ore"),
|
||||
tiles = {"tms_scoria.png^default_mineral_copper.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:copper_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:scoria_with_tin", {
|
||||
description = S("Tin Ore"),
|
||||
tiles = {"tms_scoria.png^default_mineral_tin.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:tin_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:scoria_with_mese", {
|
||||
description = S("Mese Ore"),
|
||||
tiles = {"tms_scoria.png^default_mineral_mese.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:mese_crystal",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:scoria_with_gold", {
|
||||
description = S("Gold Ore"),
|
||||
tiles = {"tms_scoria.png^default_mineral_gold.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:gold_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:scoria_with_diamond", {
|
||||
description = S("Diamond Ore"),
|
||||
tiles = {"tms_scoria.png^default_mineral_diamond.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:diamond",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
-- Slate
|
||||
minetest.register_node("too_many_stones:slate_with_coal", {
|
||||
description = S("Coal Ore"),
|
||||
tiles = {"tms_slate.png^default_mineral_coal.png"},
|
||||
groups = {cracky = 3},
|
||||
drop = "default:coal_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:slate_with_iron", {
|
||||
description = S("Iron Ore"),
|
||||
tiles = {"tms_slate.png^default_mineral_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:iron_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:slate_with_copper", {
|
||||
description = S("Copper Ore"),
|
||||
tiles = {"tms_slate.png^default_mineral_copper.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:copper_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:slate_with_tin", {
|
||||
description = S("Tin Ore"),
|
||||
tiles = {"tms_slate.png^default_mineral_tin.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:tin_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:slate_with_mese", {
|
||||
description = S("Mese Ore"),
|
||||
tiles = {"tms_slate.png^default_mineral_mese.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:mese_crystal",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:slate_with_gold", {
|
||||
description = S("Gold Ore"),
|
||||
tiles = {"tms_slate.png^default_mineral_gold.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:gold_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:slate_with_diamond", {
|
||||
description = S("Diamond Ore"),
|
||||
tiles = {"tms_slate.png^default_mineral_diamond.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:diamond",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
-- Sugilite
|
||||
minetest.register_node("too_many_stones:sugilite_with_coal", {
|
||||
description = S("Coal Ore"),
|
||||
tiles = {"tms_sugilite.png^default_mineral_coal.png"},
|
||||
groups = {cracky = 3},
|
||||
drop = "default:coal_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:sugilite_with_iron", {
|
||||
description = S("Iron Ore"),
|
||||
tiles = {"tms_sugilite.png^default_mineral_iron.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:iron_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:sugilite_with_copper", {
|
||||
description = S("Copper Ore"),
|
||||
tiles = {"tms_sugilite.png^default_mineral_copper.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:copper_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:sugilite_with_tin", {
|
||||
description = S("Tin Ore"),
|
||||
tiles = {"tms_sugilite.png^default_mineral_tin.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:tin_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:sugilite_with_mese", {
|
||||
description = S("Mese Ore"),
|
||||
tiles = {"tms_sugilite.png^default_mineral_mese.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:mese_crystal",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:sugilite_with_gold", {
|
||||
description = S("Gold Ore"),
|
||||
tiles = {"tms_sugilite.png^default_mineral_gold.png"},
|
||||
groups = {cracky = 2},
|
||||
drop = "default:gold_lump",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("too_many_stones:sugilite_with_diamond", {
|
||||
description = S("Diamond Ore"),
|
||||
tiles = {"tms_sugilite.png^default_mineral_diamond.png"},
|
||||
groups = {cracky = 1},
|
||||
drop = "default:diamond",
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
})
|
||||
|
|
@ -0,0 +1,150 @@
|
|||
--
|
||||
-- Sounds
|
||||
--
|
||||
|
||||
function too_many_stones.node_sound_defaults(table)
|
||||
table = table or {}
|
||||
table.footstep = table.footstep or
|
||||
{name = "", gain = 1.0}
|
||||
table.dug = table.dug or
|
||||
{name = "tms_dug_node", gain = 0.25}
|
||||
table.place = table.place or
|
||||
{name = "tms_place_node_hard", gain = 1.0}
|
||||
return table
|
||||
end
|
||||
|
||||
function too_many_stones.node_sound_stone_defaults(table)
|
||||
table = table or {}
|
||||
table.footstep = table.footstep or
|
||||
{name = "tms_hard_footstep", gain = 0.2}
|
||||
table.dig = table.dig or
|
||||
{name = "tms_dig_cracky", gain = 0.4}
|
||||
table.dug = table.dug or
|
||||
{name = "tms_break_node_hard", gain = 10.0}
|
||||
too_many_stones.node_sound_defaults(table)
|
||||
return table
|
||||
end
|
||||
|
||||
function too_many_stones.node_sound_dirt_defaults(table)
|
||||
table = table or {}
|
||||
table.footstep = table.footstep or
|
||||
{name = "tms_dirt_footstep", gain = 0.25}
|
||||
table.dig = table.dig or
|
||||
{name = "tms_dig_crumbly", gain = 0.4}
|
||||
table.dug = table.dug or
|
||||
{name = "tms_dirt_footstep", gain = 1.0}
|
||||
table.place = table.place or
|
||||
{name = "tms_place_node", gain = 1.0}
|
||||
too_many_stones.node_sound_defaults(table)
|
||||
return table
|
||||
end
|
||||
|
||||
function too_many_stones.node_sound_sand_defaults(table)
|
||||
table = table or {}
|
||||
table.footstep = table.footstep or
|
||||
{name = "tms_sand_footstep", gain = 0.05}
|
||||
table.dug = table.dug or
|
||||
{name = "tms_sand_footstep", gain = 0.15}
|
||||
table.place = table.place or
|
||||
{name = "tms_place_node", gain = 1.0}
|
||||
too_many_stones.node_sound_defaults(table)
|
||||
return table
|
||||
end
|
||||
|
||||
function too_many_stones.node_sound_gravel_defaults(table)
|
||||
table = table or {}
|
||||
table.footstep = table.footstep or
|
||||
{name = "tms_gravel_footstep", gain = 0.25}
|
||||
table.dig = table.dig or
|
||||
{name = "tms_gravel_dig", gain = 0.35}
|
||||
table.dug = table.dug or
|
||||
{name = "tms_gravel_dug", gain = 1.0}
|
||||
table.place = table.place or
|
||||
{name = "tms_place_node", gain = 1.0}
|
||||
too_many_stones.node_sound_defaults(table)
|
||||
return table
|
||||
end
|
||||
|
||||
function too_many_stones.node_sound_wood_defaults(table)
|
||||
table = table or {}
|
||||
table.footstep = table.footstep or
|
||||
{name = "tms_wood_footstep", gain = 0.15}
|
||||
table.dig = table.dig or
|
||||
{name = "tms_dig_choppy", gain = 0.4}
|
||||
table.dug = table.dug or
|
||||
{name = "tms_wood_footstep", gain = 1.0}
|
||||
too_many_stones.node_sound_defaults(table)
|
||||
return table
|
||||
end
|
||||
|
||||
function too_many_stones.node_sound_leaves_defaults(table)
|
||||
table = table or {}
|
||||
table.footstep = table.footstep or
|
||||
{name = "tms_grass_footstep", gain = 0.45}
|
||||
table.dug = table.dug or
|
||||
{name = "tms_grass_footstep", gain = 0.7}
|
||||
table.place = table.place or
|
||||
{name = "tms_place_node", gain = 1.0}
|
||||
too_many_stones.node_sound_defaults(table)
|
||||
return table
|
||||
end
|
||||
|
||||
function too_many_stones.node_sound_glass_defaults(table)
|
||||
table = table or {}
|
||||
table.footstep = table.footstep or
|
||||
{name = "tms_glass_footstep", gain = 0.3}
|
||||
table.dig = table.dig or
|
||||
{name = "tms_glass_footstep", gain = 0.5}
|
||||
table.dug = table.dug or
|
||||
{name = "tms_break_glass", gain = 1.0}
|
||||
too_many_stones.node_sound_defaults(table)
|
||||
return table
|
||||
end
|
||||
|
||||
function too_many_stones.node_sound_ice_defaults(table)
|
||||
table = table or {}
|
||||
table.footstep = table.footstep or
|
||||
{name = "tms_ice_footstep", gain = 0.15}
|
||||
table.dig = table.dig or
|
||||
{name = "tms_ice_dig", gain = 0.5}
|
||||
table.dug = table.dug or
|
||||
{name = "tms_ice_dug", gain = 0.5}
|
||||
too_many_stones.node_sound_defaults(table)
|
||||
return table
|
||||
end
|
||||
|
||||
function too_many_stones.node_sound_metal_defaults(table)
|
||||
table = table or {}
|
||||
table.footstep = table.footstep or
|
||||
{name = "tms_metal_footstep", gain = 0.2}
|
||||
table.dig = table.dig or
|
||||
{name = "tms_dig_metal", gain = 0.5}
|
||||
table.dug = table.dug or
|
||||
{name = "tms_dug_metal", gain = 0.5}
|
||||
table.place = table.place or
|
||||
{name = "tms_place_node_metal", gain = 0.5}
|
||||
too_many_stones.node_sound_defaults(table)
|
||||
return table
|
||||
end
|
||||
|
||||
function too_many_stones.node_sound_water_defaults(table)
|
||||
table = table or {}
|
||||
table.footstep = table.footstep or
|
||||
{name = "tms_water_footstep", gain = 0.2}
|
||||
too_many_stones.node_sound_defaults(table)
|
||||
return table
|
||||
end
|
||||
|
||||
function too_many_stones.node_sound_snow_defaults(table)
|
||||
table = table or {}
|
||||
table.footstep = table.footstep or
|
||||
{name = "tms_snow_footstep", gain = 0.2}
|
||||
table.dig = table.dig or
|
||||
{name = "tms_snow_footstep", gain = 0.3}
|
||||
table.dug = table.dug or
|
||||
{name = "tms_snow_footstep", gain = 0.3}
|
||||
table.place = table.place or
|
||||
{name = "tms_place_node", gain = 1.0}
|
||||
too_many_stones.node_sound_defaults(table)
|
||||
return table
|
||||
end
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
3610
stairs.lua
3610
stairs.lua
File diff suppressed because it is too large
Load Diff
Binary file not shown.
After Width: | Height: | Size: 478 B |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue