<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#vars_and_functions|Vars and Functions]] ===== :destroyed ===== === Description === Special function that is automatically called on the final invocation of the core after its destruction. === Examples === # When Destroyed, emit a bunch of Creeper and #choose 5 units and fire spores at them. :destroyed CurrentCoords 1000 AddCreeper 5 0 do CurrentCoords RandUnitCoords 1 20 CreateSpore loop