void main() { int nIncrement = GetLocalInt(GetModule(), "LockingTimber"); int nTimeSet = nIncrement + 1; SetLocalInt(GetModule(), "LockingTimber", nTimeSet); }