mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Allow multiple 'wherein' nodes in oredef
This commit is contained in:
@@ -149,9 +149,9 @@ enum OreType {
|
||||
class Ore {
|
||||
public:
|
||||
std::string ore_name;
|
||||
std::string wherein_name;
|
||||
std::vector<std::string> wherein_names;
|
||||
content_t ore;
|
||||
content_t wherein; // the node to be replaced
|
||||
std::vector<content_t> wherein; // the node to be replaced
|
||||
u32 clust_scarcity; // ore cluster has a 1-in-clust_scarcity chance of appearing at a node
|
||||
s16 clust_num_ores; // how many ore nodes are in a chunk
|
||||
s16 clust_size; // how large (in nodes) a chunk of ore is
|
||||
@@ -165,7 +165,6 @@ public:
|
||||
|
||||
Ore() {
|
||||
ore = CONTENT_IGNORE;
|
||||
wherein = CONTENT_IGNORE;
|
||||
np = NULL;
|
||||
noise = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user