<commit_before>'use strict';

/**
 * Displays a list of passive abilities for the player.
 * @author <NAME>
 */
Commands.add('passives', function (player, params) {
  var builder = new StringBuilder();

  var k = 0;
  player.getPassives().forEach(function (passive) {
    builder.append(format("%-18s  ", passive));
    if ((++k) % 4 == 0) builder.append("\n\r");
  });

  if (builder.length() > 0) {
    player.sendln("Passive Abilities:", builder.toString());
  } else {
    player.sendln("You have no passive abilities.");
  }
});<commit_msg>Update passives command to use passive label.<commit_after>'use strict';

/**
 * Displays a list of passive abilities for the player.
 * @author <NAME>
 */
Commands.add('passives', function (player, params) {
  var builder = new StringBuilder();

  var k = 0;
  player.getPassives().forEach(function (passive) {
    builder.append(format("%-18s  ", passive.getLabel()));
    if ((++k) % 4 == 0) builder.append("\n\r");
  });

  if (builder.length() > 0) {
    player.sendln("Passive Abilities:", builder.toString());
  } else {
    player.sendln("You have no passive abilities.");
  }
});
{'fraction_non_alphanumeric': 0.18358340688437777, 'fraction_numerical': 0.01059135039717564, 'mean_word_length': 3.7447698744769875, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4873713', 'n_tokens_mistral': 369, 'n_tokens_neox': 354, 'n_words': 96}