Soapy Water & Edible Soap (#20364)
* soap reagent and soapy water * make soapy water recognizable * Fix tile cleaning bug CleanDecalsReaction was able to take more than the reactVolume it was given. * make soapy water an evaporating reagent * Tile reactions when mopping * Fix indescribably soap flavor * Adjust soap flavours Soap and soapy water now taste clean and syndie soap tastes like punishment. * Better soap numbers & DeleteOnSolutionEmpty * Changed TrashOnEmpty to TrashOnSolutionEmpty * Last TrashOnSolutionEmpty change * Fix merged code not compiling * Requested changes.
This commit is contained in:
@@ -44,11 +44,11 @@ public sealed partial class CleanDecalsReaction : ITileReaction
|
||||
if (!decal.Decal.Cleanable)
|
||||
continue;
|
||||
|
||||
if (amount + CleanCost > reactVolume)
|
||||
break;
|
||||
|
||||
decalSystem.RemoveDecal(tile.GridUid, decal.Index, decalGrid);
|
||||
amount += CleanCost;
|
||||
|
||||
if (amount > reactVolume)
|
||||
break;
|
||||
}
|
||||
|
||||
return amount;
|
||||
|
||||
Reference in New Issue
Block a user