Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

Special location mx_roadblock. Map generation error

Open IdleSol opened this issue 1 year ago • 0 comments

Describe the bug

This location mimics the destroyed sections of barricades. For this purpose, sand and canvas bags are spawned:

https://github.com/CleverRaven/Cataclysm-DDA/blob/9e4e759b5d1f28c14e99ae8fce849007d21d66f6/data/json/mapgen/map_extras/roadblock.json#L161-L162

But some time ago, changes were made to the sandbags. And the sand barricade began to be deconstructed (and smashed) into plastic sandbags.

https://github.com/CleverRaven/Cataclysm-DDA/blob/9e4e759b5d1f28c14e99ae8fce849007d21d66f6/data/json/furniture_and_terrain/furniture-barriers.json#L187-L197 https://github.com/CleverRaven/Cataclysm-DDA/blob/de4ec39f57b1be19b9975e42971671b609c37bf9/data/json/itemgroups/supplies.json#L56-L59

Therefore, it is necessary to replace bag_canvas with bag_durasack

Attach save file

n/a

Steps to reproduce

n/a

Expected behavior

n/a

Screenshots

No response

Versions and configuration

master

Additional context

No response

IdleSol avatar May 24 '24 12:05 IdleSol