empserver/tests/bridgefall/easy-off/02-1
Markus Armbruster 4824648978 bridgefall: Fix loss of bridge support with EASY_BRIDGES off
With EASY_BRIDGES off, bridge spans need to be next to a bridge tower
or a bridge head that is at least 20% efficient to remain standing.

When a bridge tower or head gets damaged below 20%, adjacent spans may
lose support.  Bug: they don't fall when they're next to another
bridge head below 20%.

Has always been broken.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2014-02-16 12:00:18 +01:00

24 lines
705 B
Text

|| loss of support, EASY_BRIDGES off
| regesignate head
| span 3,1 falls because its only support is gone
| the other spans still have support
desi 1,1 -
| trigger a bulletin as a separator
fire se 2,0 8,2
| now span 2,2 falls, because both its heads are gone
desi 3,3 -
desi 1,1 #
| head damaged below 20%
| span 1,3 falls, because its other head is redesignated
fire se 2,0 -1,3
| tower falls
| span -2,2 falls, because its other head is damaged
fire se 2,0 -3,1
| trigger a bulletin as a separator
fire se 2,0 8,2
| head damaged
| span -1,-1 falls, because its only support is gone
| span 0,2 falls, because its other head is damaged
fire se 2,0 1,1
| trigger a bulletin as a separator
fire se 2,0 8,2