-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ore blocks for sandstone and desert stone (#1373)
* Added More Ores Adds ores for sandstone and desert stone * Update mod.conf --------- Co-authored-by: LandarVargan <[email protected]>
- Loading branch information
1 parent
7c2898e
commit 08024e9
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
local orenames = {"Coal", "Iron", "Mese", "Diamond"} | ||
local orenamestech = {"coal", "iron", "mese", "diamond"} | ||
local stonenamestech = {"sandstone", "desert_stone"} | ||
local stonenames = {"Sandstone ", "Desert "} | ||
local dropnames = {"coal_lump", "iron_lump", "mese_crystal", "diamond"} | ||
local crackylevels = {3, 2, 1, 1} | ||
|
||
for k, orenametech in pairs(orenamestech) do | ||
for k2, stonenametech in pairs(stonenamestech) do | ||
minetest.register_node("more_ore:" .. stonenametech .. "_with_" .. orenametech, { | ||
description = stonenames[k2] .. orenames[k] .. " Ore", | ||
tiles = {"default_" .. stonenametech .. ".png^default_mineral_" .. orenametech .. ".png"}, | ||
groups = {cracky = crackylevels[k]}, | ||
drop = "default:" .. dropnames[k], | ||
}) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
name = more_ore | ||
description = sandstone and desert ores for CTF |