mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Better spot density
This commit is contained in:
parent
87f4efd65b
commit
3592b5e7bb
BIN
assets/world/structure/natural/shipwreck.vox
(Stored with Git LFS)
BIN
assets/world/structure/natural/shipwreck.vox
(Stored with Git LFS)
Binary file not shown.
@ -77,7 +77,7 @@ impl Spot {
|
||||
Self::generate_spots(
|
||||
Spot::WitchHouse,
|
||||
world,
|
||||
2.0,
|
||||
1.0,
|
||||
|g, c| {
|
||||
g < 0.25
|
||||
&& !c.near_cliffs()
|
||||
@ -94,7 +94,7 @@ impl Spot {
|
||||
Self::generate_spots(
|
||||
Spot::DwarvenGrave,
|
||||
world,
|
||||
2.0,
|
||||
1.0,
|
||||
|g, c| {
|
||||
g < 0.25
|
||||
&& !c.near_cliffs()
|
||||
@ -108,7 +108,7 @@ impl Spot {
|
||||
Self::generate_spots(
|
||||
Spot::SaurokAltar,
|
||||
world,
|
||||
2.0,
|
||||
1.0,
|
||||
|g, c| {
|
||||
g < 0.25
|
||||
&& !c.near_cliffs()
|
||||
@ -122,7 +122,7 @@ impl Spot {
|
||||
Self::generate_spots(
|
||||
Spot::RockCircle,
|
||||
world,
|
||||
2.0,
|
||||
0.5,
|
||||
|g, c| {
|
||||
g < 0.1
|
||||
&& !c.near_cliffs()
|
||||
@ -135,7 +135,7 @@ impl Spot {
|
||||
Self::generate_spots(
|
||||
Spot::MyrmidonTemple,
|
||||
world,
|
||||
3.0,
|
||||
1.0,
|
||||
|g, c| {
|
||||
g < 0.1
|
||||
&& !c.near_cliffs()
|
||||
@ -149,7 +149,7 @@ impl Spot {
|
||||
Self::generate_spots(
|
||||
Spot::GnarlingTotem,
|
||||
world,
|
||||
2.0,
|
||||
1.0,
|
||||
|g, c| {
|
||||
g < 0.25
|
||||
&& !c.near_cliffs()
|
||||
@ -165,7 +165,7 @@ impl Spot {
|
||||
Self::generate_spots(
|
||||
Spot::LionRock,
|
||||
world,
|
||||
1.0,
|
||||
1.5,
|
||||
|g, c| {
|
||||
g < 0.25
|
||||
&& !c.near_cliffs()
|
||||
@ -207,7 +207,7 @@ impl Spot {
|
||||
Self::generate_spots(
|
||||
Spot::AirshipCrash,
|
||||
world,
|
||||
1.0,
|
||||
0.5,
|
||||
|g, c| {
|
||||
g < 0.25
|
||||
&& !c.near_cliffs()
|
||||
@ -235,7 +235,7 @@ impl Spot {
|
||||
Self::generate_spots(
|
||||
Spot::Shipwreck,
|
||||
world,
|
||||
4.0,
|
||||
2.0,
|
||||
|g, c| {
|
||||
g < 0.25 && c.is_underwater() && c.sites.is_empty() && c.water_alt > c.alt + 30.0
|
||||
},
|
||||
|
@ -2067,7 +2067,7 @@ impl WorldSim {
|
||||
temp: chunk.temp,
|
||||
near_water: if chunk.river.is_lake()
|
||||
|| chunk.river.near_river()
|
||||
|| chunk.alt < CONFIG.sea_level + 3.0
|
||||
|| chunk.alt < CONFIG.sea_level + 6.0
|
||||
{
|
||||
1.0
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user