RimWorld

RimWorld

Not enough ratings
Allow Bridges on Lava
3
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.6
File Size
Posted
Updated
152.016 KB
Jul 22 @ 11:51am
Jul 24 @ 8:13am
3 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Allow Bridges on Lava

Description
I'm a broke college student, so I will somewhat shamelessly leave a link to Buy Me A Coffee[buymeacoffee.com] here if you feel like throwing me a buck or two. Absolutely don't expect anything from anyone though.

Note: This currently allows all bridges on lava. Wooden bridges WILL burn. I figured I'd give the flexibility for people to use what they want. I can post a version for heavy bridges only or make a custom type if anyone wants that.

This is a very simple mod. I quite literally just used ChatGPT to write the outline because I'm a bit rusty on XML, then I used the XML Patch Helper which is an awesome utility to confirm the xpath was correct. I also used a modding guide I found here to write the About XML file.

I'm a computer science student and have a bit of experience coding, but this could seriously be done by anyone. I'll post a picture of the code in the images. If you think you can make a mod, you probably can. Even if it is simple.
12 Comments
Echo  [author] Nov 9 @ 8:33pm 
I will probably at some point try to improve the actual way this is written and add other options. I've been busy enough I forgot this existed so I have no idea when that'll be but I'll try when I get a chance at some point.
BlackFranky Sep 20 @ 10:06am 
You could add your additional ideas as options. To make this super easy you could use the XML Extensions mod.
Alexander Zagirov Aug 29 @ 4:26pm 
@Echo actually this kind of patch is bad. First of all, original lava def have Inherit="false" set for <affordances> tag to prevent inheritance of properties for this node from parent defs, and your patch removes it. Secondary the <affordances> tag is actually a list. So, it’s best to use a PatchOperationAdd to add a <li>Bridgeable<li/> inside of it to prevent compatibility issues with other mods just in case.
Squishyjellyfish Aug 15 @ 4:09am 
if you have a time can you make heavy bridges version like you mentioned. makes more sense :)
Bassie Aug 7 @ 4:01pm 
Thanks so much!
Echo  [author] Aug 2 @ 7:40am 
@swaggy don't see why not, I added it mid save and it doesn't really edit much.
kasket Aug 1 @ 3:58pm 
do you think this could be added mid save
Paradox Jul 27 @ 12:40am 
Such a little patch, but it adds so many possibilities
Echo  [author] Jul 22 @ 1:19pm 
No problem. I made it cause I started a mechanitor run on a lava lake and instantly thought I wanted to make a base there lol.
Latex Santa Jul 22 @ 1:08pm 
Legit useful for a Mordor-type run. Thanks!