Files
fulpstation/code/__HELPERS/auxtools.dm
Pepsilawn 450295354b Updates the Fulpstation codebase to the 01/08/2022 version of the tgstation repository (#755)
* Automatic changelog compile [ci skip]

* Update readme.md

* Automatic changelog compile [ci skip]

* what

* Wow

* Foiled by my very own grep check

* dont tell anyone i forgot to update basemaps

* The gags vendor updatepath script is broken

* can be untg-edited later just want to see TGU running soon

* Revert "can be untg-edited later just want to see TGU running soon"

This reverts commit c14b2be919.

* I like this better

* test

* i am sleep deprived

* Humanoid screenshot tests 4 backpack resprite

* infils have backpacks too apparently

* makes bloodsuckers not cooldown anymore

* removes more cooldowns

* fixes some bugs

Co-authored-by: Changelogs <action@github.com>
Co-authored-by: JohnFulpWillard <53777086+JohnFulpWillard@users.noreply.github.com>
2022-08-05 02:26:53 -04:00

13 lines
481 B
Plaintext

/// Macro for getting the auxtools library file
#define AUXLUA (world.system_type == MS_WINDOWS ? "auxlua.dll" : __detect_auxtools("auxlua"))
/proc/__detect_auxtools(library)
if(IsAdminAdvancedProcCall())
return
if (fexists("./lib[library].so"))
return "./lib[library].so"
else if (fexists("[world.GetConfig("env", "HOME")]/.byond/bin/lib[library].so"))
return "[world.GetConfig("env", "HOME")]/.byond/bin/lib[library].so"
else
CRASH("Could not find lib[library].so")