Locked container 'OnDeath' script to break fragile items when bashed open.
Uses the BASE_ITEM_TYPE_ code of each item in the containers inventory.
Add additional codes as required. Currently belts, boots, cloaks, and medium miscellaneous items have a 50% chance of being ruined. Anything not included in the list will survive unscathed (such as weapons or armour).
10 - A Masterpiece, Genuinely Groundbreaking 9 - Outstanding, a Must Have 8 - Excellent, Recommended to Anyone 7 - Very Good, Deserves a Look 6 - Good, Qualified Recommendation 5 - Fair, Solid yet Unremarkable 4 - Some Merit, Requires Improvements 3 - Poor Execution, Potential Unrealized 2 - Very Little Appeal 1 - Not Recommended to Anyone