<commit_before>-- UPDATE common SET com_script='item.id_1266_stone' WHERE com_itemid = 1266;
--Quest 112: The Ghost Oak, NPC Madoquar

require("base.common")
module("item.id_1266_stone", package.seeall)

function SkipStone
	User:talkLanguage(Character.say,Player.german,"#me wirft ein Steinchen ins Wasser.");
    User:talkLanguage(Character.say,Player.english,"#me throws a pebble into the water.");
    world:gfx(1,Item.pos);
    world:makeSound(9,Item.pos);
    world:erase(Item,1);
end;

function MoveItemAfterMove(User, SourceItem, TargetItem)
	if (TargetItem:GroundType()==6) then
	SkipStone(Item.pos);
	else 
	return false
end

function GetGroundType(TileID)
if (TileID == 4) then -- field
        return GroundType.field;
    elseif (TileID == 6) then -- water<commit_msg>testing, won't work probably but anyway<commit_after>-- UPDATE common SET com_script='item.id_1266_stone' WHERE com_itemid = 1266;
--Quest 112: The Ghost Oak, NPC Madoquar

require("base.common")
module("item.id_1266_stone", package.seeall)

function SkipStone(Item)
	User:talkLanguage(Character.say,Player.german,"#me wirft ein Steinchen ins Wasser.");
    User:talkLanguage(Character.say,Player.english,"#me throws a pebble into the water.");
    world:gfx(1,Item.pos);
    world:makeSound(9,Item.pos);
    world:erase(Item,1);
end;

function MoveItemAfterMove(User, SourceItem, TargetItem)
	if (TargetItem:GroundType()==6) then
	SkipStone(Item.pos);
	else 
	return false
end

function GetGroundType(TileID)
if (TileID == 4) then -- field
        return GroundType.field;
    elseif (TileID == 6) then -- water
{'fraction_non_alphanumeric': 0.12814070351758794, 'fraction_numerical': 0.026381909547738693, 'mean_word_length': 5.126923076923077, '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': '4000649', 'n_tokens_mistral': 570, 'n_tokens_neox': 540, 'n_words': 130}