From 66b40b644298fd3590d586595f92928e68a160d8 Mon Sep 17 00:00:00 2001 From: Saveliy Skresanov Date: Tue, 5 Aug 2025 22:05:46 +0700 Subject: [PATCH] Add a BASE + CAUS = SLTW reaction. --- src/simulation/elements/BASE.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/simulation/elements/BASE.cpp b/src/simulation/elements/BASE.cpp index 98d72cc5a..7cffbff25 100644 --- a/src/simulation/elements/BASE.cpp +++ b/src/simulation/elements/BASE.cpp @@ -134,6 +134,12 @@ static int update(UPDATE_FUNC_ARGS) sim->part_change_type(i, x, y, PT_SLTW); sim->part_change_type(ID(r), x+rx, y+ry, PT_SLTW); return 1; + } //Base neutralizes CAUS + else if (rt == PT_CAUS && parts[i].life >= parts[ID(r)].life) + { + sim->part_change_type(i, x, y, PT_SLTW); + sim->kill_part(ID(r)); + return 1; } //BASE + OIL = SOAP else if (parts[i].life >= 70 && rt == PT_OIL) {