I'm trying to work on a mod idea, and I need destructible ice walls.
First, I tried the ice wall tiles, but this did not seem to work. I thought it would, because the ice walls in the frozen level event can be destroyed pretty easily. I did some digging and I think there's supposed to be a global flag somewhere for these tiles to be destroyed, so I pursued other options.
I tried copying the "register_cell "crate_ammo"" bit from the cells.lua and then making the color bright blue. However, this did not work at all, as hitting these cells point blank with a shotgun did not destroy them.
Next, I looked at milibase.lua in the source code, and found that one should really only have to call "['%'] = "crate_ammo"" to place crate cells, so I tried that. It may work on 0.9.9.7, but not in 0.9.9.8, even though the military base works just fine lol
I tried calling an ammo crate just like in the milibase.lua, but still, even with a plasma shotgun right up next to it, I can't destroy the crate.
What is possibly going on?