New opendream pragmas (#20260)

Enabled new opendream pragmas
Fixed some runtime access check operators (`:`) around the codebase (not
all, some are unfixable as they're used in macros)

No player facing changes (hopefully)
This commit is contained in:
Fluffy
2024-12-29 11:12:09 +00:00
committed by GitHub
parent f55072cc42
commit 1ba0b35838
60 changed files with 324 additions and 813 deletions
+6 -2
View File
@@ -304,8 +304,12 @@
if (light_angle)
var/ndir
if (istype(top_atom, /mob) && top_atom:facing_dir)
ndir = top_atom:facing_dir
if(istype(top_atom, /mob) && top_atom:facing_dir)
var/mob/mob = top_atom
if(mob.facing_dir)
ndir = mob.facing_dir
else
ndir = top_atom.dir
else
ndir = top_atom.dir