byond - Modules - TypesProc Details

tech

Procs

on_unlockCalled when a tech is unlocked. Usually, benefits can be applied here however, the purchase can still be cancelled by returning FALSE

Proc Details

on_unlock

Called when a tech is unlocked. Usually, benefits can be applied here however, the purchase can still be cancelled by returning FALSE

If you sleep in this proc, you must call can_unlock after the sleep ends to make sure you can still purchase the tech in question