I am trying to make my sterile walls create a sterile effect but I cant seem to find how the floors create the effect. I didn't see a way for the floors to do it via XML on the wiki, so ive been trying to find the source code for the sterile floors but I'm not having any luck.
Anyone know where exactly the source code for sterile floors are or even just walls....? I thought id fine Building_Wall but that apparently does not exist.
Closest thing I have found is
public class RoomStatWorker_Cleanliness : RoomStatWorker
but still not sure how to effect this.
So looking at how that function takes room cleanliness into account;
thing.GetStatValue(StatDefOf.Cleanliness, true);
It seems I need to make my walls have this
StatDefOf.Cleanliness
Anyone know of a tutorial or some examples of how I apply this to my walls?
Anyone know where exactly the source code for sterile floors are or even just walls....? I thought id fine Building_Wall but that apparently does not exist.
Closest thing I have found is
public class RoomStatWorker_Cleanliness : RoomStatWorker
but still not sure how to effect this.
So looking at how that function takes room cleanliness into account;
thing.GetStatValue(StatDefOf.Cleanliness, true);
It seems I need to make my walls have this
StatDefOf.Cleanliness
Anyone know of a tutorial or some examples of how I apply this to my walls?