<commit_before>class SpawnAdditionalLifecycle {
	created(entity, game) {
		if (entity.hasOwnProperty('spawnCharacterOnCreated'))
			for (let name of entity.spawnCharacterOnCreated)
				game.createCharacter(name);

		if (entity.hasOwnProperty('spawnTargetOnCreated'))
			for (let name of entity.spawnTargetOnCreated)
				game.createTarget(entity.id, name);
	}

	hpChanged() {
		
	}

	destroyed() {

	}
}
module.exports = SpawnAdditionalLifecycle;<commit_msg>Fixed linter errors.<commit_after>class SpawnAdditionalLifecycle {
	created(entity, game) {
		if (entity.hasOwnProperty('spawnCharacterOnCreated'))
			for (let name of entity.spawnCharacterOnCreated)
				game.createCharacter(name);

		if (entity.hasOwnProperty('spawnTargetOnCreated'))
			for (let name of entity.spawnTargetOnCreated)
				game.createTarget(entity.id, name);
	}

	hpChanged() {

	}

	destroyed() {

	}
}
module.exports = SpawnAdditionalLifecycle;
{'fraction_non_alphanumeric': 0.11207834602829161, 'fraction_numerical': 0.0, 'mean_word_length': 5.301369863013699, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '399203', 'n_tokens_mistral': 324, 'n_tokens_neox': 287, 'n_words': 51}