Ration Factory

Optimized version of rations factory by Dr. ExT.

By Dr. ExT

Modules

PLUGIN plugin

Commands

Registers the superadmin command /FactoryBigDispenserAdd of the Ration Factory plugin, which spawns a cw_bigfactorydispenser for empty ration packets or empty crates where the player is looking.
Registers the superadmin command /FactoryDispenserAdd of the Ration Factory plugin, which spawns a cw_factorydispenser for Breen's Water or citizen supplements where the player is looking.
Registers the superadmin command /FactoryRationDispenserAdd of the Ration Factory plugin, which spawns a cw_factoryrationdispenser where the player is looking.

Entities

Shared definition of the cw_bigfactorydispenser entity of the Ration Factory plugin, with the networked spawn type and GetSpawnType.
Shared definition of the cw_factorydispenser entity of the Ration Factory plugin, with the networked spawn type and GetSpawnType.
Ration entity
Shared definition of the cw_emptycrate entity of the Ration Factory plugin, with the networked ration count and full flag and IsFull.
Ration entity
Shared definition of the cw_emptyration entity of the Ration Factory plugin, with the networked water, supplements and full flags and IsFull.
Shared definition of the cw_factoryrationdispenser entity of the Ration Factory plugin, with the networked ration timer, flash timer, lock state and ration count, and IsLocked and GetRationCount.