//fill up... public Magazine(int x, int y, int z, String name, String desc, char displaychar, double weight, int cap, int count, Caliber cal, AmmoModifier mod) : base(x,y,z,name,desc,displaychar, weight) { Capacity = cap; Count = count; Caliber = cal; Modifier = mod; }
//attachments, weapon xp, ... public Firearm(int x, int y, int z, String name, String desc, char displaychar, double weight, Caliber cal, GunType type, List<FireMode> modes, int mag_cap) : base(x,y,z,name,desc,displaychar, weight, EquipmentSlot.Ranged) { caliber = cal; this.type = type; this.modes = new List<FireMode>(modes); this.mode = modes[0]; MagazineCapacity = mag_cap; }