SpacemanDMM
SpacemanDMM copied to clipboard
[Feature Request] VAR_PROTECTED_SET
The ability to protect a var from setting only would be incredibly useful. For example, health values should never be directly written to by procs that aren't explicitly made for that like heal_damage(), but being able to read from health values outside of /mob is incredibly important. Our only options currently is just not protecting it and hoping nothing slips by maintainers, or using VAR_PROTECTED and having a getter proc, which is needless overhead.