<commit_before>-- UPDATE common SET com_script='item.id_293_throwing_spear' WHERE com_itemid IN (293);

require("base.lookat")

module("item.id_293_throwing_spear", package.seeall)

function LookAtItem(User, Item)
	
	local customText = base.lookat.GetItemDescription(User,Item,2,false,false);
	if Item.data > 2^30 then
		world:itemInform( User, Item, customText );
	else
		world:itemInform( User, Item, User:getPlayerLanguage()==0 and
			world:getItemName(Item.id,0) or
			world:getItemName(Item.id,1) );
	end
end
<commit_msg>fixed lookat and exchanged old data<commit_after>-- UPDATE common SET com_script='item.id_293_throwing_spear' WHERE com_itemid IN (293);

require("base.lookat")

module("item.id_293_throwing_spear", package.seeall)

function LookAtItem(User, Item)
	
	local customText = base.lookat.GetItemDescription(User,Item,base.lookat.WOOD,false,false);
	if Item:getData("spearData") > 2^30 then
		world:itemInform( User, Item, customText );
	else
		world:itemInform( User, Item, base.lookat.GenerateLookAt(User, Item, base.lookat.WOOD));
	end
end

{'fraction_non_alphanumeric': 0.12523540489642185, 'fraction_numerical': 0.026365348399246705, 'mean_word_length': 6.485915492957746, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5819394', 'n_tokens_mistral': 409, 'n_tokens_neox': 378, 'n_words': 77}