Another great game with a lot of this is The Legend of Zelda: Breath of the Wild.
Its chemistry engine which allows "elements" (heat, wind, electricity, magnetism,...) and material properties (combustible, magnetic, metallic,...) to react without any specific scripts per item.
This leads to cases such as when I chopped down an apple tree with an enchanted fire sword. The sword made the tall grass catch fire. This created an updraft. Wood from the tree caught fire and turned into a fireplace (with a prompt to sit and wait by the fire). The apples turned into baked apples from the heat.
Its chemistry engine which allows "elements" (heat, wind, electricity, magnetism,...) and material properties (combustible, magnetic, metallic,...) to react without any specific scripts per item.
This leads to cases such as when I chopped down an apple tree with an enchanted fire sword. The sword made the tall grass catch fire. This created an updraft. Wood from the tree caught fire and turned into a fireplace (with a prompt to sit and wait by the fire). The apples turned into baked apples from the heat.