void main() { object oPC = GetLastUsedBy(); SetLocalInt(oPC,"tri_HasUsedCrystal", 1); }