Fixes phoron showing up in non-romanovich asteroids. (#13679)

This commit is contained in:
Alberyk
2022-04-28 19:00:29 +02:00
committed by GitHub
parent 12ef811a2f
commit 73522740f3
11 changed files with 242 additions and 116 deletions
+36 -4
View File
@@ -474,6 +474,18 @@ var/list/mineral_can_smooth_with = list(
/turf/simulated/mineral/random
name = "mineral deposit"
var/mineralSpawnChanceList = list(
ORE_URANIUM = 2,
ORE_PLATINUM = 2,
ORE_IRON = 8,
ORE_COAL = 8,
ORE_DIAMOND = 1,
ORE_GOLD = 2,
ORE_SILVER = 2
)
var/mineralChance = 55
/turf/simulated/mineral/random/phoron
mineralSpawnChanceList = list(
ORE_URANIUM = 2,
ORE_PLATINUM = 2,
ORE_IRON = 8,
@@ -483,7 +495,6 @@ var/list/mineral_can_smooth_with = list(
ORE_SILVER = 2,
ORE_PHORON = 5
)
var/mineralChance = 55
/turf/simulated/mineral/random/Initialize()
if(prob(mineralChance) && !mineral)
@@ -502,12 +513,34 @@ var/list/mineral_can_smooth_with = list(
ORE_COAL = 2,
ORE_DIAMOND = 1,
ORE_GOLD = 2,
ORE_SILVER = 2,
ORE_PHORON = 3
ORE_SILVER = 2
)
mineralChance = 55
/turf/simulated/mineral/random/high_chance/phoron
mineralSpawnChanceList = list(
ORE_URANIUM = 2,
ORE_PLATINUM = 2,
ORE_IRON = 2,
ORE_COAL = 2,
ORE_DIAMOND = 1,
ORE_GOLD = 2,
ORE_SILVER = 2
)
/turf/simulated/mineral/random/higher_chance
mineralSpawnChanceList = list(
ORE_URANIUM = 3,
ORE_PLATINUM = 3,
ORE_IRON = 1,
ORE_COAL = 1,
ORE_DIAMOND = 1,
ORE_GOLD = 3,
ORE_SILVER = 3
)
mineralChance = 75
/turf/simulated/mineral/random/higher_chance/phoron
mineralSpawnChanceList = list(
ORE_URANIUM = 3,
ORE_PLATINUM = 3,
@@ -518,7 +551,6 @@ var/list/mineral_can_smooth_with = list(
ORE_SILVER = 3,
ORE_PHORON = 2
)
mineralChance = 75
/turf/simulated/mineral/attack_hand(var/mob/user)
add_fingerprint(user)