Slightly Saner Mining Tables

Post about your finished mods here.
Post Reply
User avatar
Song
Fleet Admiral
Fleet Admiral
Posts: 2801
Joined: Mon Aug 17, 2009 4:27 am

So someone came into IRC and wanted to see if anyone could make ores actually show up after 1.5's new mining table completely destroyed mining. So I had a go. Here's the result (Xelerus has broken down under the weight of time itself, so I can't upload it there. Copy past the code into a notepad/np++ document and save it as an XML, then pop it in extensions as you would any other mod). Then start a new game and enjoy shooting rocks a lot.

Note that I made this in 10 minutes and only tested it in Eridani. It's not supposed to be good. It's just better than the default system because I looked at what values the ores are before dictating the values of ore that would show up in the game (yeah, that's one of the problems with vanilla). You've been warned.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>

<!DOCTYPE TranscendenceExtension

[
<!ENTITY	exSlightlySanerMiningTable	"0xDC4EABCD">
]>

<TranscendenceExtension
	name="Slightly Saner Mining Table"
	Credits="Shrike"
	UNID="&exSlightlySanerMiningTable;"
	release="1"
	apiVersion="26">
<ItemTable unid="&tbAsteroidOre;">
		<LocationCriteriaTable>
			<Group criteria="*metallicComp"
				     levelValue="
				  		500,      800,      1250,      2500,      5000,
					   10000,     20000,     40000,    65000,     80000,
					  100000,   128000,   256000,   512000,   1000000,
					2000000,  4100000,  8200000, 16400000,	32800000"
					>
				<RandomItem criteria="* +ore; -notStandard; +metallicComp;" levelFrequency="systemLevel:uuucc|c|ccurr" />
			</Group>
			<Group criteria="*organicComp"
				      levelValue="
				  		500,      800,      1250,      2500,      5000,
					   10000,     20000,     40000,    65000,     80000,
					  100000,   128000,   256000,   512000,   1000000,
					2000000,  4100000,  8200000, 16400000,	32800000"
					>
				<RandomItem criteria="* +ore; -notStandard; +organicComp;" levelFrequency="systemLevel:uuucc|c|ccurr" />
			</Group>
			<Group criteria="*rockyComp"
				     levelValue="
				  		500,      800,      1250,      2500,      5000,
					   10000,     20000,     40000,    65000,     80000,
					  100000,   128000,   256000,   512000,   1000000,
					2000000,  4100000,  8200000, 16400000,	32800000"
					>
				<RandomItem criteria="* +ore; -notStandard; +rockyComp;" levelFrequency="systemLevel:uuucc|c|ccurr" />
			</Group>
			<Group criteria="*waterComp"
				     levelValue="
				  		500,      800,      1250,      2500,      5000,
					   10000,     20000,     40000,    65000,     80000,
					  100000,   128000,   256000,   512000,   1000000,
					2000000,  4100000,  8200000, 16400000,	32800000"
					>
				<RandomItem criteria="* +ore; -notStandard; +waterComp;" levelFrequency="systemLevel:uuucc|c|ccurr" />
			</Group>
		</LocationCriteriaTable>
	</ItemTable>
	
	</TranscendenceExtension>
Note: This is for 1.6b2. If you're running the 1.5 stable, change the line about apiversion from "26" to "24". Or "22".

Features:

-Ores are more common early on (IE: More asteroids have ore...slightly)
-You'll get more ore in the earlier systems (and later on!) (IE: When an asteroid does have ore, it will have more of it)
-May create a Monty Haul Campaign
-100% chance of clashing with any future large mining overhauls. But since they're likely to actually...you know...spend more than 10 minutes on this....go use one of those when they come out.
-Implements cunning balance mechanic to discourage excessive mining. I call it "the vanilla mining system".

Enjoy.
Mischievous local moderator. She/Her pronouns.
FourFire
Militia Captain
Militia Captain
Posts: 567
Joined: Sun Aug 12, 2012 5:56 pm

What do you mean by xelerus being broken?
(func(Admin Response)= true){
if(admin func(amiable) = true)
Create func(Helpful Posts)
else func(Keep Calm and Post derisive topics)}
User avatar
Song
Fleet Admiral
Fleet Admiral
Posts: 2801
Joined: Mon Aug 17, 2009 4:27 am

FourFire wrote:What do you mean by xelerus being broken?
Xelerus refused to upload the XML. Dunno if it's broken for others, but I can't upload anything. It's using ancient coding that has either collapsed under its own weight, or doesn't run in my browser any more.
Mischievous local moderator. She/Her pronouns.
Post Reply