Because of the limitations of BYOND's bitwise operators (which affect both the old and new implementations of num2hex()), you cannot use numbers larger than 2^16 with that proc.
Manual port of https://github.com/PolarisSS13/Polaris/pull/430.
Collection of Security changes:
New heavy vest sprites, replacing the old toggle system.
New helmet sprites.
Heavy vests reduced to 2 pockets.
Regular vests have no pockets.
Holobadge sprite change and badge addition for HoS/Warden.
Teargas Grenades, replace flashbangs in vendor and officer lockers,
flashbangs located in armory and with warden.
Detective 1911 starts with flash magazine, has one rubber magazine in
locker.
Rubber bullet damage halved to reduce frequency of bone breakage and IB.
Flash bullet buffed to cause small halloss.
Armory loadout changed to static 4 e-guns, 4 laser guns, 2 ion rifles, 2
shotguns starting loaded with beanbags, 4 Mk 58s loaded with flash
rounds.
Tactical armor removed, still available in cargo.
Sub-Armory restored to warden access only, officer access storage rack
added.
Now with Changelog.
Threads and Polls located here:
http://baystation12.net/forums/threads/discussion-poll-security-energy-weapons-antag-projectile-weapons.932/http://baystation12.net/forums/threads/discussion-poll-detective-weapon.865/http://baystation12.net/forums/threads/discussion-armory.792/http://baystation12.net/forums/threads/discussion-security-vest-and-helmet.790/
Quick Fix
modified: code/datums/supplypacks.dm
modified: code/game/machinery/vending.dm
modified: code/game/objects/items/devices/uplink_items.dm
modified: code/game/objects/items/weapons/grenades/chem_grenade.dm
modified: code/game/objects/items/weapons/storage/boxes.dm
modified: code/game/objects/structures/crates_lockers/closets/secure/security.dm
modified: code/modules/clothing/suits/armor.dm
modified: code/modules/clothing/suits/storage.dm
modified: code/modules/clothing/under/accessories/badges.dm
modified: code/modules/projectiles/guns/projectile/pistol.dm
modified: code/modules/projectiles/projectile/bullets.dm
modified: code/modules/projectiles/projectile/energy.dm
modified: code/modules/random_map/drop/drop_types.dm
new file: html/changelogs/Raptor1628-Dev.yml
modified: icons/mob/belt.dmi
modified: icons/mob/head.dmi
modified: icons/mob/suit.dmi
modified: icons/mob/ties.dmi
modified: icons/obj/clothing/hats.dmi
modified: icons/obj/clothing/suits.dmi
modified: icons/obj/clothing/ties.dmi
modified: maps/exodus-1.dmm
modified: maps/exodus-2.dmm
Ensures station bound synthetics will not be able to utilize Syndicate/Heist equipment/vessels, as well as the opposite for potential syndicate synths.
Generalizes opening drink containers, makes beer and ale bottles a subtype of bottle instead of can
Adjusts bottle smashing, duration, damage, and reliability.