mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-31 12:26:58 +01:00
Co-authored-by: VM_USER <VM_USER> Co-authored-by: silicons <no@you.cat> Co-authored-by: Felix <58342752+TheLordME@users.noreply.github.com>
20 lines
505 B
Plaintext
20 lines
505 B
Plaintext
/**
|
|
* job experience system
|
|
*/
|
|
|
|
//! wip
|
|
|
|
/**
|
|
* immediate check for if someone has jexp bypass
|
|
*
|
|
* may return incorrect answer if datbase hasn't loaded; use has_jexp_bypass_blocking() to ensure it's loaded.
|
|
*/
|
|
/client/proc/has_jexp_bypass()
|
|
SHOULD_NOT_SLEEP(TRUE)
|
|
return !!(admin_datums[ckey] || (player.player_flags & PLAYER_FLAG_JEXP_EXEMPT))
|
|
|
|
/client/proc/has_jexp_bypass_blocking()
|
|
player.block_on_available()
|
|
return !!(admin_datums[ckey] || (player.player_flags & PLAYER_FLAG_JEXP_EXEMPT))
|
|
|