void main() { object oPC = GetPCSpeaker(); object oDatabase = GetItemPossessedBy(oPC, "database"); SetLocalInt(oDatabase, "ItemCraftedType1", 1); }