Grille Code : The Grillening
Created by: dylanstrategie
Fixing shit, one .dm at a time. In a few years' time, I should be getting to the end of it
- Bumped grille health to 20 (from heavens knows how much, but apparently 17)
- Brute damage to grilles is no longer a 0.1 but a 0.5 factor. Significantly decrease human damage from 3 to 1 (bashing grilles with your foot is no longer the fastest way beyond wirecutters of destroying it)
- Add a basic examine system to inform the player about the anchor and broken status of the grille
- Fix an old bug allowing players to get rods out of nothing by laying grilles, breaking them, and wirecutting the broken grille
- Add a map entity to be used to create fully functional broken grilles, this replaces old modified variable grilles (hence the update to maps)
- Hitting a grille to break it (aka not screwdriver or wirecutters) will now always work, even if the grille is electrified. It won't spare you from a little juice though
- Added cult grilles with sprites (basically a recolor, but it fits). They act as both a grille and a window (they block air unlike normal grilles, or at least they're supposed to). Otherwise, they act 100 % as grilles but with a different name, description and double the health (and yes they still drop regular rods, Nar'Sie, enough said)
- Changed grille sprite. It looks pretty fine and sticks with the function of grilles (they're not just a mess of rods thrown in to fill window bays, they're supposed to be a support matrice like a real-life fence). Possibility for a relativewall method if anyone ever gets down to it to cut down the borders in grille alignments