// Function from file: ert.dm public override void post_equip(Mob H = null, int?visualsOnly = null) { visualsOnly = visualsOnly ?? GlobalVars.FALSE; Obj_Item_Device_Pda pda = null; Obj_Item_Weapon_Card_Id W = null; if (Lang13.Bool(visualsOnly)) { return; } pda = ((dynamic)H).r_store; pda.owner = H.real_name; pda.ownjob = "Centcom Official"; pda.update_label(); W = ((dynamic)H).wear_id; W.icon_state = "centcom"; W.access = GlobalFuncs.get_centcom_access("Centcom Official"); W.access += GlobalVars.access_weapons; W.assignment = "Centcom Official"; W.registered_name = H.real_name; W.update_label(); return; }
// Function from file: standard.dm public override void post_equip(Mob H = null, int?visualsOnly = null) { visualsOnly = visualsOnly ?? GlobalVars.FALSE; Obj_Item_Clothing_Under U = null; dynamic sec_briefcase = null; Obj_Item briefcase_item = null; int? i = null; Obj_Item_Device_Pda pda = null; Obj_Item_Weapon_Card_Id W = null; U = ((dynamic)H).w_uniform; U.attachTie(new Obj_Item_Clothing_Tie_Waistcoat(H)); if (Lang13.Bool(visualsOnly)) { return; } sec_briefcase = H.l_hand; foreach (dynamic _a in Lang13.Enumerate(sec_briefcase, typeof(Obj_Item))) { briefcase_item = _a; GlobalFuncs.qdel(briefcase_item); } i = null; i = 3; while ((i ?? 0) > 0) { ((Obj_Item_Weapon_Storage)sec_briefcase).handle_item_insertion(new Obj_Item_Stack_Spacecash_C1000(), true); i--; } ((Obj_Item_Weapon_Storage)sec_briefcase).handle_item_insertion(new Obj_Item_Weapon_Gun_Energy_KineticAccelerator_Crossbow(), true); ((Obj_Item_Weapon_Storage)sec_briefcase).handle_item_insertion(new Obj_Item_Weapon_Gun_Projectile_Revolver_Mateba(), true); ((Obj_Item_Weapon_Storage)sec_briefcase).handle_item_insertion(new Obj_Item_AmmoBox_A357(), true); ((Obj_Item_Weapon_Storage)sec_briefcase).handle_item_insertion(new Obj_Item_Weapon_C4(), true); pda = ((dynamic)H).belt; pda.owner = H.real_name; pda.ownjob = "Reaper"; pda.update_label(); W = ((dynamic)H).wear_id; W.access = GlobalFuncs.get_all_accesses(); W.assignment = "Reaper"; W.registered_name = H.real_name; W.update_label(H.real_name); return; }