mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-18 05:12:55 +00:00
* Updated targeting code * Spellcheck and missing code addition * Re-add balance code * Apply suggestions from code review Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com> * Resolve issues from Code Review --------- Co-authored-by: Cody Brittain <cbrittain10@live.com> Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com>
17 lines
532 B
Plaintext
17 lines
532 B
Plaintext
//These are called by the on-screen buttons, adjusting what the victim can and cannot do.
|
|
/client/proc/add_gun_icons()
|
|
if(!mob)
|
|
return TRUE // This can runtime if someone manages to throw a gun out of their hand before the proc is called.
|
|
|
|
screen |= mob.item_use_icon
|
|
screen |= mob.gun_move_icon
|
|
screen |= mob.radio_use_icon
|
|
|
|
/client/proc/remove_gun_icons()
|
|
if(!mob)
|
|
return TRUE // Runtime prevention on N00k agents spawning with SMG
|
|
|
|
screen -= mob.item_use_icon
|
|
screen -= mob.gun_move_icon
|
|
screen -= mob.radio_use_icon
|