mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-07-21 03:52:54 +01:00
Construction Tweaks and Fixes (#2253)
* Fixes reinforced Walls construction when having one sheet left in the stack * Amends Windoors - Assemblies are now made with two sheets of either normal or reinforced glass sheets, for normal and secure windoors respecting. - Assemblies can now be named with a pen, just like airlocks. - Windoor assemblies now get placed like windows, and windows take windoor assemblies into account when placed. - Decapitalises windoor assembly names. - Shattering windoors will make them drop exactly what they were made of now. - Prying emagged windoors will no longer make them shatter on top of returning to an assembly. - Cleans up a lot of code and gets its own update_icon() proc. * Amends airlocks - Fixes airlocks occasionally not updating their icon correctly. - Fixes airlocks causing sparks on spawn as if they were damaged. - Fixes airlock not being anchored after being turned into an assembly. - Decapitalises airlock names. * Windows that get unanchored by force will now correctly have the rotate verb. * Adds changelog entry
This commit is contained in:
@@ -161,6 +161,7 @@
|
||||
if(reinf) tforce *= 0.25
|
||||
if(health - tforce <= 7 && !reinf)
|
||||
anchored = 0
|
||||
update_verbs()
|
||||
update_nearby_icons()
|
||||
step(src, get_dir(AM, src))
|
||||
take_damage(tforce)
|
||||
|
||||
Reference in New Issue
Block a user