mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-01 05:19:53 +01:00
b1029a24f8
- all cells in the game are now small, medium, large - super, hyper capacity cells, device, and weapon cells are all removed - cells now have standardized variants, some of which are printable by R&D - energy weapons rebalanced - **advanced energy guns and stun revolvers removed** - use the new modular weapon system and microfission cells. --------- Co-authored-by: silicons <silicons@silicons.dev>
26 lines
695 B
Plaintext
26 lines
695 B
Plaintext
//* This file is explicitly licensed under the MIT license. *//
|
|
//* Copyright (c) 2024 Citadel Station Developers *//
|
|
|
|
//* Stealthmin *//
|
|
|
|
/**
|
|
* get effective ckey for render, respecting stealth keys
|
|
*/
|
|
/client/proc/get_public_key()
|
|
return holder?.fakekey || deadmin_holder?.fakekey || key
|
|
|
|
/**
|
|
* gets effective ckey & stealth key for render
|
|
*/
|
|
/client/proc/get_revealed_key()
|
|
if(!(holder?.fakekey || deadmin_holder?.fakekey))
|
|
return key
|
|
var/fake_ckey = holder?.fakekey || deadmin_holder?.fakekey || "INVALID-KEY"
|
|
return "[fake_ckey]/([key])"
|
|
|
|
/**
|
|
* should we be under stealthmin
|
|
*/
|
|
/client/proc/is_under_stealthmin()
|
|
return !!(holder?.fakekey || deadmin_holder?.fakekey)
|