dangOreus

by Mylon

The flOre is lava. Dig yOre way out through this divOrese and dangOreus field! Will you Coke on the limited space and submit to the cOreruption Ore will you transfOrem it into an majestic Orechestra? Also known as "Dangerous" or "Danger Ores".

Scenarios
6 days ago
0.15 - 2.0
10.2K
Environment Mining

i Modding: Some way to detect when dangOreous destroys a building?

6 years ago

I'd like to write a companion mod that punishes the player for carelessly building on the ore. I need some way to hook into when a building is killed specifically because of dangOreous.

I think by looking around you can do something like:

script.raise_event(defines.events.script_raised_destroy, {mod="dangoreous", entity=event.created_entity});

to emit a custom event that other mods can trap. Would you be willing to add something like this please?

New response