Page 1 of 1

["cliff"].cliff_explosive" would also set required explosive capsule to remove

Posted: Mon Dec 30, 2024 12:07 pm
by Fishbus
Heya,

There's a value in cliff prototypes called cliff_explosive which relates to the cliff explosive capsule item that a robot needs to pickup in order to destroy the cliff

I was hoping it would also mean that only that capsule could destroy that cliff. As well as changing the ItemID to a list of ItemIDs as well.

my example
data.raw["cliff"]["cliff"].cliff_explosive = { "cliff-explosives-light", "cliff-explosives" , "cliff-explosives-heavy" }
data.raw["cliff"]["cliff-fulgora"].cliff_explosive = { "cliff-explosives" , "cliff-explosives-heavy" }
data.raw["cliff"]["cliff-gleba"].cliff_explosive ={ "cliff-explosives", "cliff-explosives-heavy" }
data.raw["cliff"]["cliff-vulcanus"].cliff_explosive = { "cliff-explosives-heavy" }

This would give a progression to destroying cliff, using different explosive types.

Cheers!