<commit_before>--[[
Illarion Server

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
details.

You should have received a copy of the GNU Affero General Public License along
with this program.  If not, see <http://www.gnu.org/licenses/>.
]]
--Teleporters in the Salavesh Dungeon
--<NAME>

local common = require("base.common")

local M = {}

function M.MoveToField( User )

	if User:getType() ~= Character.player then
		return
	end

    if User.pos == position(466,798,-6) then --To the beginning of level.
	    world:gfx(41,User.pos);
	    world:makeSound(13,User.pos);
        User:warp(position(466,740,-6));
	    world:gfx(41,User.pos);
	    world:makeSound(13,User.pos);
	elseif User.pos == position(503, 780, -6) then -- Wind 1 - 
		common.InformNLS(User,"Eine heftige Böhe reißt dich um und wirbelt dich durch die Luft.","Strong winds lift you off your feet and send you flying through the air."); --sending a message
	    world:gfx(7,User.pos);
	    world:makeSound(27,User.pos);
        User:warp(position(483,777,-6));
	    world:gfx(7,User.pos);
	    world:makeSound(27,User.pos);
	elseif User.pos == position(510, 776, -6) then -- Wind 2
		common.InformNLS(User,"Eine heftige Böhe reißt dich um und wirbelt dich durch die Luft.","Strong winds lift you off your feet and send you flying through the air."); --sending a message
		world:gfx(7,User.pos);
	    world:makeSound(27,User.pos);
        User:warp(position(511,788,-6));
        world:gfx(7,User.pos);
        world:makeSound(27,User.pos);
	elseif User.pos == position(517, 778, -6) then -- Wind 3
		common.InformNLS(User,"Eine heftige Böhe reißt dich um und wirbelt dich durch die Luft.","Strong winds lift you off your feet and send you flying through the air."); --sending a message
		world:gfx(7,User.pos);
	    world:makeSound(27,User.pos);
        User:warp(position(542, 772, -6));
        world:gfx(7,User.pos);
        world:makeSound(27,User.pos);
	elseif User.pos == position(512, 786, -6) then -- Wind 4
		common.InformNLS(User,"Eine heftige Böhe reißt dich um und wirbelt dich durch die Luft.","Strong winds lift you off your feet and send you flying through the air."); --sending a message
		world:gfx(7,User.pos);
	    world:makeSound(27,User.pos);
        User:warp(position(528, 785, -6));
        world:gfx(7,User.pos);
        world:makeSound(27,User.pos);
	elseif User.pos == position(502, 732, -6) then -- End of Lava Trap
		world:gfx(41,User.pos);
	    world:makeSound(13,User.pos);
        User:warp(position(425,785. -9));
        world:gfx(41,User.pos);
        world:makeSound(13,User.pos);
	elseif User.pos == position(481, 843, -9) then -- To mud pit from skull room.<commit_msg>Akaltut teleport lua spell adj<commit_after>--[[
Illarion Server

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
details.

You should have received a copy of the GNU Affero General Public License along
with this program.  If not, see <http://www.gnu.org/licenses/>.
]]
--Teleporters in the Salavesh Dungeon
--<NAME>

local common = require("base.common")

local M = {}

function M.MoveToField( User )

	if User:getType() ~= Character.player then
		return
	end

    if User.pos == position(466,798,-6) then --To the beginning of level.
	    world:gfx(41,User.pos);
	    world:makeSound(13,User.pos);
        User:warp(position(466,740,-6));
	    world:gfx(41,User.pos);
	    world:makeSound(13,User.pos);
	elseif User.pos == position(503, 780, -6) then -- Wind 1 - 
		common.InformNLS(User,"Eine heftige Böe reißt dich um und wirbelt dich durch die Luft.","Strong winds lift you off your feet and send you flying through the air."); --sending a message
	    world:gfx(7,User.pos);
	    world:makeSound(27,User.pos);
        User:warp(position(483,777,-6));
	    world:gfx(7,User.pos);
	    world:makeSound(27,User.pos);
	elseif User.pos == position(510, 776, -6) then -- Wind 2
		common.InformNLS(User,"Eine heftige Böe reißt dich um und wirbelt dich durch die Luft.","Strong winds lift you off your feet and send you flying through the air."); --sending a message
		world:gfx(7,User.pos);
	    world:makeSound(27,User.pos);
        User:warp(position(511,788,-6));
        world:gfx(7,User.pos);
        world:makeSound(27,User.pos);
	elseif User.pos == position(517, 778, -6) then -- Wind 3
		common.InformNLS(User,"Eine heftige Böe reißt dich um und wirbelt dich durch die Luft.","Strong winds lift you off your feet and send you flying through the air."); --sending a message
		world:gfx(7,User.pos);
	    world:makeSound(27,User.pos);
        User:warp(position(542, 772, -6));
        world:gfx(7,User.pos);
        world:makeSound(27,User.pos);
	elseif User.pos == position(512, 786, -6) then -- Wind 4
		common.InformNLS(User,"Eine heftige Böe reißt dich um und wirbelt dich durch die Luft.","Strong winds lift you off your feet and send you flying through the air."); --sending a message
		world:gfx(7,User.pos);
	    world:makeSound(27,User.pos);
        User:warp(position(528, 785, -6));
        world:gfx(7,User.pos);
        world:makeSound(27,User.pos);
	elseif User.pos == position(502, 732, -6) then -- End of Lava Trap
		world:gfx(41,User.pos);
	    world:makeSound(13,User.pos);
        User:warp(position(425,785. -9));
        world:gfx(41,User.pos);
        world:makeSound(13,User.pos);
	elseif User.pos == position(481, 843, -9) then -- To mud pit from skull room.
{'fraction_non_alphanumeric': 0.1230126866870082, 'fraction_numerical': 0.043680745142123015, 'mean_word_length': 3.6304832713754647, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3290912', 'n_tokens_mistral': 2213, 'n_tokens_neox': 2040, 'n_words': 673}