// Function from file: backpack.dm public override bool content_can_dump(dynamic dest_object = null, Mob user = null) { if (this.Adjacent(user)) { if (Map13.GetDistance(user, dest_object) < 8) { if (((Ent_Static)dest_object).storage_contents_dump_act(this, user)) { if (Lang13.Bool(this.alt_sound) && Rand13.PercentChance(1)) { GlobalFuncs.playsound(this, this.alt_sound, 40, 1); } else { GlobalFuncs.playsound(this, this.pshoom, 40, 1); } user.Beam(dest_object, "rped_upgrade", "icons/effects/effects.dmi", 5); return(true); } } user.WriteMsg("The " + this.name + " buzzes."); GlobalFuncs.playsound(this, "sound/machines/buzz-sigh.ogg", 50, 0); } return(false); }