[Rseding91] [0.17.59] Setting cliffs indestrucible does not stop cliff explosives
-
- Long Handed Inserter
- Posts: 52
- Joined: Mon Aug 27, 2018 12:46 pm
- Contact:
[Rseding91] [0.17.59] Setting cliffs indestrucible does not stop cliff explosives
Indestructible and unminable cliffs can still be destroyed with cliff explosives
Re: [Rseding91] [0.17.59] Setting cliffs indestrucible does not stop cliff explosives
I can "fix" this but the fix isn't so clear. If a specific cliff is indestructible does that mean that it can't change shape if the cliff next to it is destroyed? Because technically that alters the cliff.
The indestructible flag was added for entities that have health and could be damaged - cliffs don't support either concept.
I almost want to say that the flag simply doesn't apply to cliffs.
Do you have some use-case that could convince me otherwise?
The indestructible flag was added for entities that have health and could be damaged - cliffs don't support either concept.
I almost want to say that the flag simply doesn't apply to cliffs.
Do you have some use-case that could convince me otherwise?
If you want to get ahold of me I'm almost always on Discord.
Re: [Rseding91] [0.17.59] Setting cliffs indestrucible does not stop cliff explosives
How about a map where you want the player to never be able to ever remove certain cliffs?Rseding91 wrote: ↑Wed Aug 14, 2019 2:56 am I can "fix" this but the fix isn't so clear. If a specific cliff is indestructible does that mean that it can't change shape if the cliff next to it is destroyed? Because technically that alters the cliff.
The indestructible flag was added for entities that have health and could be damaged - cliffs don't support either concept.
I almost want to say that the flag simply doesn't apply to cliffs.
Do you have some use-case that could convince me otherwise?
But moreover if there's an 'indestructible' flag I would expect it to make a thing indestructible by any means (other than the editor or scripting), regardless if it 'has health'.
Re: [Rseding91] [0.17.59] Setting cliffs indestrucible does not stop cliff explosives
But how should it work if a single cliff is marked and the edge letting it exist is blown up? Cliffs don't support existing without at least 1 edge so the "indestructible" cliff ends up removed by blowing up the neighbor.TOGoS wrote: ↑Wed Aug 14, 2019 7:32 pm How about a map where you want the player to never be able to ever remove certain cliffs?
But moreover if there's an 'indestructible' flag I would expect it to make a thing indestructible by any means (other than the editor or scripting), regardless if it 'has health'.
If you want to get ahold of me I'm almost always on Discord.
Re: [Rseding91] [0.17.59] Setting cliffs indestrucible does not stop cliff explosives
If making a cliff truly indestructible requires making at least one of its neighbours indestructible too, I don't see how that could be called wrong, maybe just a bit surprising to the uninitiated.
Re: [Rseding91] [0.17.59] Setting cliffs indestrucible does not stop cliff explosives
Hmm, yeah, it'll take a little bit of work so that the correction logic takes that into account, but I also think that's the correct solution. You can't destroy the neighbors of an indestructible cliff segment.
Re: [Rseding91] [0.17.59] Setting cliffs indestrucible does not stop cliff explosives
I would be OK with that. It's simple enough that it won't have a performance impact on the normal "all cliffs can be blown up" logic.
If you want to get ahold of me I'm almost always on Discord.
Re: [Rseding91] [0.17.59] Setting cliffs indestrucible does not stop cliff explosives
Hunh. I was thinking the even-easier-to-implement route: you have to light two adjacent cliff sections' flags to make them truly indestructible because reasons. Perhaps not the most popular view.