Space Station 13 - Modules - TypesDefine Details

code/__DEFINES/rust_g.dm

/proc/rustg_get_versionGets the version of rust_g
rustg_dbp_generateThis proc generates a grid of perlin-like noise
rustg_git_revparseReturns the git hash of the given revision, ex. "HEAD".
/proc/rustg_git_commit_dateReturns the date of the given revision using the provided format. Defaults to returning %F which is YYYY-MM-DD.
/proc/rustg_git_commit_date_headReturns the formatted datetime string of HEAD using the provided format. Defaults to returning %F which is YYYY-MM-DD. This is different to rustg_git_commit_date because it only needs the logs directory.

Define Details

rustg_dbp_generate

This proc generates a grid of perlin-like noise

Returns a single string that goes row by row, with values of 1 representing an turned on cell, and a value of 0 representing a turned off cell.

Arguments:

rustg_git_revparse

Returns the git hash of the given revision, ex. "HEAD".