Ludeon Forums

RimWorld => Mods => Help => Topic started by: Klitri on May 09, 2014, 04:48:45 PM

Title: Can I make terrain do damage to pawns?
Post by: Klitri on May 09, 2014, 04:48:45 PM
Hello, I just have one question. Is it possible for me to have a terrain do damage to a pawn when it walks over said terrain? How would I go about doing that if it is possible? Thank you.
Title: Re: Can I make terrain do damage to pawns?
Post by: Tynan on May 09, 2014, 05:55:45 PM
You would have to write code since this isn't in the base game.

You could make a global manager that watches pawns and damages them if they're on X terrain. This is probably the most compatible way. You would do it by extending MapComponent.