repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
Ninjistix/darkstar
scripts/zones/QuBia_Arena/mobs/Death_Clan_Destroyer.lua
5
1663
----------------------------------- -- Area: QuBia_Arena -- MOB: Death Clan Destroyer ----------------------------------- require("scripts/zones/QuBia_Arena/MobIDs"); require("scripts/globals/status"); function onMobInitialize(mob) mob:setMobMod(MOBMOD_HP_STANDBACK, 60); end; function allHeirMobsDead(player) local inst = player:getBattlefield():getBattlefieldNumber(); local instOffset = HEIR_TO_THE_LIGHT_OFFSET + (14 * (inst-1)); for i = instOffset + 3, instOffset + 13 do if (not GetMobByID(i):isDead()) then return false; end end return true; end; function onMobFight(mob,target) local inst = mob:getBattlefield():getBattlefieldNumber(); local instOffset = HEIR_TO_THE_LIGHT_OFFSET + (14 * (inst-1)); mob:setMP(9999); -- queue curaga II on any sleeping ally for i = instOffset + 3, instOffset + 12 do if (GetMobByID(i):getCurrentAction() == ACTION_SLEEP) then if (mob:actionQueueEmpty()) then if (mob:getLocalVar("cooldown") == 0) then mob:castSpell(8, GetMobByID(i)); mob:setLocalVar("cooldown", 20); end else mob:setLocalVar("cooldown",20); end end end if (mob:getLocalVar("cooldown") > 0) then mob:setLocalVar("cooldown", mob:getLocalVar("cooldown") - 1); end end; function onMobDeath(mob, player, isKiller) if (allHeirMobsDead(player)) then player:release(); -- prevents event collision if player kills multiple remaining mobs with an AOE move/spell player:startEvent(32004,0,0,4); end end;
gpl-3.0
premake/premake-4.x
src/actions/make/make_cpp.lua
3
9915
-- -- make_cpp.lua -- Generate a C/C++ project makefile. -- Copyright (c) 2002-2013 Jason Perkins and the Premake project -- premake.make.cpp = { } local cpp = premake.make.cpp local make = premake.make function premake.make_cpp(prj) -- create a shortcut to the compiler interface local cc = premake.gettool(prj) -- build a list of supported target platforms that also includes a generic build local platforms = premake.filterplatforms(prj.solution, cc.platforms, "Native") premake.gmake_cpp_header(prj, cc, platforms) for _, platform in ipairs(platforms) do for cfg in premake.eachconfig(prj, platform) do premake.gmake_cpp_config(cfg, cc) end end -- list intermediate files _p('OBJECTS := \\') for _, file in ipairs(prj.files) do if path.iscppfile(file) then _p('\t$(OBJDIR)/%s.o \\', _MAKE.esc(path.getbasename(file))) end end _p('') _p('RESOURCES := \\') for _, file in ipairs(prj.files) do if path.isresourcefile(file) then _p('\t$(OBJDIR)/%s.res \\', _MAKE.esc(path.getbasename(file))) end end _p('') -- identify the shell type _p('SHELLTYPE := msdos') _p('ifeq (,$(ComSpec)$(COMSPEC))') _p(' SHELLTYPE := posix') _p('endif') _p('ifeq (/bin,$(findstring /bin,$(SHELL)))') _p(' SHELLTYPE := posix') _p('endif') _p('') -- main build rule(s) _p('.PHONY: clean prebuild prelink') _p('') if os.is("MacOSX") and prj.kind == "WindowedApp" then _p('all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET) $(dir $(TARGETDIR))PkgInfo $(dir $(TARGETDIR))Info.plist') else _p('all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)') end _p('\t@:') _p('') -- target build rule _p('$(TARGET): $(GCH) $(OBJECTS) $(LDDEPS) $(RESOURCES)') _p('\t@echo Linking %s', prj.name) _p('\t$(SILENT) $(LINKCMD)') _p('\t$(POSTBUILDCMDS)') _p('') -- Create destination directories. Can't use $@ for this because it loses the -- escaping, causing issues with spaces and parenthesis _p('$(TARGETDIR):') premake.make_mkdirrule("$(TARGETDIR)") _p('$(OBJDIR):') premake.make_mkdirrule("$(OBJDIR)") -- Mac OS X specific targets if os.is("MacOSX") and prj.kind == "WindowedApp" then _p('$(dir $(TARGETDIR))PkgInfo:') _p('$(dir $(TARGETDIR))Info.plist:') _p('') end -- clean target _p('clean:') _p('\t@echo Cleaning %s', prj.name) _p('ifeq (posix,$(SHELLTYPE))') _p('\t$(SILENT) rm -f $(TARGET)') _p('\t$(SILENT) rm -rf $(OBJDIR)') _p('else') _p('\t$(SILENT) if exist $(subst /,\\\\,$(TARGET)) del $(subst /,\\\\,$(TARGET))') _p('\t$(SILENT) if exist $(subst /,\\\\,$(OBJDIR)) rmdir /s /q $(subst /,\\\\,$(OBJDIR))') _p('endif') _p('') -- custom build step targets _p('prebuild:') _p('\t$(PREBUILDCMDS)') _p('') _p('prelink:') _p('\t$(PRELINKCMDS)') _p('') -- precompiler header rule cpp.pchrules(prj) -- per-file build rules cpp.fileRules(prj) -- include the dependencies, built by GCC (with the -MMD flag) _p('-include $(OBJECTS:%%.o=%%.d)') _p('ifneq (,$(PCH))') _p(' -include $(OBJDIR)/$(notdir $(PCH)).d') _p('endif') end -- -- Write the makefile header -- function premake.gmake_cpp_header(prj, cc, platforms) _p('# %s project makefile autogenerated by Premake', premake.action.current().shortname) -- set up the environment _p('ifndef config') _p(' config=%s', _MAKE.esc(premake.getconfigname(prj.solution.configurations[1], platforms[1], true))) _p('endif') _p('') _p('ifndef verbose') _p(' SILENT = @') _p('endif') _p('') _p('CC = %s', cc.cc) _p('CXX = %s', cc.cxx) _p('AR = %s', cc.ar) _p('') _p('ifndef RESCOMP') _p(' ifdef WINDRES') _p(' RESCOMP = $(WINDRES)') _p(' else') _p(' RESCOMP = windres') _p(' endif') _p('endif') _p('') end -- -- Write a block of configuration settings. -- function premake.gmake_cpp_config(cfg, cc) _p('ifeq ($(config),%s)', _MAKE.esc(cfg.shortname)) -- if this platform requires a special compiler or linker, list it here cpp.platformtools(cfg, cc) _p(' OBJDIR = %s', _MAKE.esc(cfg.objectsdir)) _p(' TARGETDIR = %s', _MAKE.esc(cfg.buildtarget.directory)) _p(' TARGET = $(TARGETDIR)/%s', _MAKE.esc(cfg.buildtarget.name)) _p(' DEFINES +=%s', make.list(cc.getdefines(cfg.defines))) _p(' INCLUDES +=%s', make.list(cc.getincludedirs(cfg.includedirs))) -- set up precompiled headers cpp.pchconfig(cfg) -- CPPFLAGS, CFLAGS, CXXFLAGS, and RESFLAGS cpp.flags(cfg, cc) -- write out libraries, linker flags, and the link command cpp.linker(cfg, cc) _p(' define PREBUILDCMDS') if #cfg.prebuildcommands > 0 then _p('\t@echo Running pre-build commands') _p('\t%s', table.implode(cfg.prebuildcommands, "", "", "\n\t")) end _p(' endef') _p(' define PRELINKCMDS') if #cfg.prelinkcommands > 0 then _p('\t@echo Running pre-link commands') _p('\t%s', table.implode(cfg.prelinkcommands, "", "", "\n\t")) end _p(' endef') _p(' define POSTBUILDCMDS') if #cfg.postbuildcommands > 0 then _p('\t@echo Running post-build commands') _p('\t%s', table.implode(cfg.postbuildcommands, "", "", "\n\t")) end _p(' endef') -- write out config-level makesettings blocks make.settings(cfg, cc) _p('endif') _p('') end -- -- Platform support -- function cpp.platformtools(cfg, cc) local platform = cc.platforms[cfg.platform] if platform.cc then _p(' CC = %s', platform.cc) end if platform.cxx then _p(' CXX = %s', platform.cxx) end if platform.ar then _p(' AR = %s', platform.ar) end end -- -- Configurations -- function cpp.flags(cfg, cc) if cfg.pchheader and not cfg.flags.NoPCH then _p(' FORCE_INCLUDE += -include $(OBJDIR)/$(notdir $(PCH))') end _p(' ALL_CPPFLAGS += $(CPPFLAGS) %s $(DEFINES) $(INCLUDES)', table.concat(cc.getcppflags(cfg), " ")) _p(' ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS)%s', make.list(table.join(cc.getcflags(cfg), cfg.buildoptions))) _p(' ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS)%s', make.list(cc.getcxxflags(cfg))) _p(' ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)%s', make.list(table.join(cc.getdefines(cfg.resdefines), cc.getincludedirs(cfg.resincludedirs), cfg.resoptions))) end -- -- Linker settings, including the libraries to link, the linker flags, -- and the linker command. -- function cpp.linker(cfg, cc) -- Patch #3401184 changed the order _p(' ALL_LDFLAGS += $(LDFLAGS)%s', make.list(table.join(cc.getlibdirflags(cfg), cc.getldflags(cfg), cfg.linkoptions))) _p(' LDDEPS +=%s', make.list(_MAKE.esc(premake.getlinks(cfg, "siblings", "fullpath")))) _p(' LIBS += $(LDDEPS)%s', make.list(cc.getlinkflags(cfg))) if cfg.kind == "StaticLib" then if cfg.platform:startswith("Universal") then _p(' LINKCMD = libtool -o $(TARGET) $(OBJECTS)') else _p(' LINKCMD = $(AR) -rcs $(TARGET) $(OBJECTS)') end else -- this was $(TARGET) $(LDFLAGS) $(OBJECTS) -- but had trouble linking to certain static libs; $(OBJECTS) moved up -- $(LDFLAGS) moved to end (http://sourceforge.net/p/premake/patches/107/) -- $(LIBS) moved to end (http://sourceforge.net/p/premake/bugs/279/) local tool = iif(cfg.language == "C", "CC", "CXX") _p(' LINKCMD = $(%s) -o $(TARGET) $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)', tool) end end -- -- Precompiled header support -- function cpp.pchconfig(cfg) -- If there is no header, or if PCH has been disabled, I can early out if not cfg.pchheader or cfg.flags.NoPCH then return end -- Visual Studio requires the PCH header to be specified in the same way -- it appears in the #include statements used in the source code; the PCH -- source actual handles the compilation of the header. GCC compiles the -- header file directly, and needs the file's actual file system path in -- order to locate it. -- To maximize the compatibility between the two approaches, see if I can -- locate the specified PCH header on one of the include file search paths -- and, if so, adjust the path automatically so the user doesn't have -- add a conditional configuration to the project script. local pch = cfg.pchheader for _, incdir in ipairs(cfg.includedirs) do -- convert this back to an absolute path for os.isfile() local abspath = path.getabsolute(path.join(cfg.project.location, incdir)) local testname = path.join(abspath, pch) if os.isfile(testname) then pch = path.getrelative(cfg.location, testname) break end end _p(' PCH = %s', _MAKE.esc(pch)) _p(' GCH = $(OBJDIR)/$(notdir $(PCH)).gch') end function cpp.pchrules(prj) _p('ifneq (,$(PCH))') _p('.NOTPARALLEL: $(GCH) $(PCH)') _p('$(GCH): $(PCH)') _p('\t@echo $(notdir $<)') local cmd = iif(prj.language == "C", "$(CC) -x c-header $(ALL_CFLAGS)", "$(CXX) -x c++-header $(ALL_CXXFLAGS)") _p('\t$(SILENT) %s -MMD -MP $(DEFINES) $(INCLUDES) -o "$@" -MF "$(@:%%.gch=%%.d)" -c "$<"', cmd) _p('endif') _p('') end -- -- Build command for a single file. -- function cpp.fileRules(prj) for _, file in ipairs(prj.files or {}) do if path.iscppfile(file) then _p('$(OBJDIR)/%s.o: %s', _MAKE.esc(path.getbasename(file)), _MAKE.esc(file)) _p('\t@echo $(notdir $<)') cpp.buildcommand(path.iscfile(file), "o") _p('') elseif (path.getextension(file) == ".rc") then _p('$(OBJDIR)/%s.res: %s', _MAKE.esc(path.getbasename(file)), _MAKE.esc(file)) _p('\t@echo $(notdir $<)') _p('\t$(SILENT) $(RESCOMP) $< -O coff -o "$@" $(ALL_RESFLAGS)') _p('') end end end function cpp.buildcommand(iscfile, objext) local flags = iif(iscfile, '$(CC) $(ALL_CFLAGS)', '$(CXX) $(ALL_CXXFLAGS)') _p('\t$(SILENT) %s $(FORCE_INCLUDE) -o "$@" -MF "$(@:%%.%s=%%.d)" -c "$<"', flags, objext) end
bsd-3-clause
Ninjistix/darkstar
scripts/globals/items/serving_of_menemen_+1.lua
3
1180
----------------------------------------- -- ID: 5587 -- Item: serving_of_menemen_+1 -- Food Effect: 4Hrs, All Races ----------------------------------------- -- HP 35 -- MP 35 -- Agility 2 -- Intelligence -2 -- HP recovered while healing 2 -- MP recovered while healing 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- function onItemCheck(target) local result = 0; if (target:hasStatusEffect(EFFECT_FOOD) == true or target:hasStatusEffect(EFFECT_FIELD_SUPPORT_FOOD) == true) then result = 246; end return result; end; function onItemUse(target) target:addStatusEffect(EFFECT_FOOD,0,0,14400,5587); end; function onEffectGain(target, effect) target:addMod(MOD_HP, 35); target:addMod(MOD_MP, 35); target:addMod(MOD_AGI, 2); target:addMod(MOD_INT, -2); target:addMod(MOD_HPHEAL, 2); target:addMod(MOD_MPHEAL, 2); end; function onEffectLose(target, effect) target:delMod(MOD_HP, 35); target:delMod(MOD_MP, 35); target:delMod(MOD_AGI, 2); target:delMod(MOD_INT, -2); target:delMod(MOD_HPHEAL, 2); target:delMod(MOD_MPHEAL, 2); end;
gpl-3.0
dinodeck/ninety_nine_days_of_dev
006_magic_menu/code/GameOverState.lua
6
2213
GameOverState = {} GameOverState.__index = GameOverState function GameOverState:Create(stack, world, won) local this = { mWorld = world, mStack = stack, mWon = false, } if won == true then this.mWon = true end setmetatable(this, self) if not this.mWon then this.mShowContinue = Save:DoesExist() local data = {} if this.mShowContinue then table.insert(data, "Continue") end table.insert(data, "New Game") this.mMenu = Selection:Create { data = data, spacingY = 36, OnSelection = function(...) this:OnSelect(...) end, } this.mMenu:SetPosition(-this.mMenu:GetWidth(), 0) end return this end function GameOverState:Enter() CaptionStyles["title"].color:SetW(1) if self.mWon then CaptionStyles["subtitle"].color:SetW(1) end end function GameOverState:Exit() end function GameOverState:Update(dt) end function GameOverState:HandleInput() if not self.mWon then self.mMenu:HandleInput() end end function GameOverState:Render(renderer) renderer:DrawRect2d(System.ScreenTopLeft(), System.ScreenBottomRight(), Vector.Create(0,0,0,1)) if self.mWon then CaptionStyles["title"]:Render(renderer, "The End") CaptionStyles["subtitle"]:Render(renderer, "Want to find out what happens next? Write it!") else CaptionStyles["title"]:Render(renderer, "Game Over") renderer:AlignText("left", "center") self.mMenu:Render(renderer) end end function GameOverState:OnSelect(index, data) -- reset text gRenderer:SetFont(CaptionStyles["default"].font) gRenderer:ScaleText(CaptionStyles["default"].scale) if not self.mShowContinue then index = index + 1 end if index == 1 then Save:Load() elseif index == 2 then local storyboard = SetupNewGame() gGame.Stack:Push(storyboard) storyboard:Update(0) end end
mit
dinodeck/ninety_nine_days_of_dev
005_bitmap_text/code/GameOverState.lua
6
2213
GameOverState = {} GameOverState.__index = GameOverState function GameOverState:Create(stack, world, won) local this = { mWorld = world, mStack = stack, mWon = false, } if won == true then this.mWon = true end setmetatable(this, self) if not this.mWon then this.mShowContinue = Save:DoesExist() local data = {} if this.mShowContinue then table.insert(data, "Continue") end table.insert(data, "New Game") this.mMenu = Selection:Create { data = data, spacingY = 36, OnSelection = function(...) this:OnSelect(...) end, } this.mMenu:SetPosition(-this.mMenu:GetWidth(), 0) end return this end function GameOverState:Enter() CaptionStyles["title"].color:SetW(1) if self.mWon then CaptionStyles["subtitle"].color:SetW(1) end end function GameOverState:Exit() end function GameOverState:Update(dt) end function GameOverState:HandleInput() if not self.mWon then self.mMenu:HandleInput() end end function GameOverState:Render(renderer) renderer:DrawRect2d(System.ScreenTopLeft(), System.ScreenBottomRight(), Vector.Create(0,0,0,1)) if self.mWon then CaptionStyles["title"]:Render(renderer, "The End") CaptionStyles["subtitle"]:Render(renderer, "Want to find out what happens next? Write it!") else CaptionStyles["title"]:Render(renderer, "Game Over") renderer:AlignText("left", "center") self.mMenu:Render(renderer) end end function GameOverState:OnSelect(index, data) -- reset text gRenderer:SetFont(CaptionStyles["default"].font) gRenderer:ScaleText(CaptionStyles["default"].scale) if not self.mShowContinue then index = index + 1 end if index == 1 then Save:Load() elseif index == 2 then local storyboard = SetupNewGame() gGame.Stack:Push(storyboard) storyboard:Update(0) end end
mit
istarIQ/Source
inrealm.lua
30
36636
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin1(msg) then local group_creator = msg.from.print_name create_group_chat (group_creator, group_name, ok_cb, false) return 'Group [ '..string.gsub(group_name, '_', ' ')..' ] has been created.' end end local function create_realm(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin1(msg) then local group_creator = msg.from.print_name create_group_chat (group_creator, group_name, ok_cb, false) return 'Realm [ '..string.gsub(group_name, '_', ' ')..' ] has been created.' end end local function killchat(cb_extra, success, result) local receiver = cb_extra.receiver local chat_id = "chat#id"..result.peer_id local chatname = result.print_name for k,v in pairs(result.members) do kick_user_any(v.peer_id, result.peer_id) end end local function killrealm(cb_extra, success, result) local receiver = cb_extra.receiver local chat_id = "chat#id"..result.peer_id local chatname = result.print_name for k,v in pairs(result.members) do kick_user_any(v.peer_id, result.peer_id) end end local function get_group_type(msg) local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)] then if not data[tostring(msg.to.id)]['group_type'] then if msg.to.type == 'chat' and not is_realm(msg) then data[tostring(msg.to.id)]['group_type'] = 'Group' save_data(_config.moderation.data, data) elseif msg.to.type == 'channel' then data[tostring(msg.to.id)]['group_type'] = 'SuperGroup' save_data(_config.moderation.data, data) end end local group_type = data[tostring(msg.to.id)]['group_type'] return group_type else return 'Chat type not found.' end end local function callbackres(extra, success, result) --vardump(result) local user = result.peer_id local name = string.gsub(result.print_name, "_", " ") local chat = 'chat#id'..extra.chatid local channel = 'channel#id'..extra.chatid send_large_msg(chat, user..'\n'..name) send_large_msg(channel, user..'\n'..name) return user end local function set_description(msg, data, target, about) if not is_admin1(msg) then return "For admins only!" end local data_cat = 'description' data[tostring(target)][data_cat] = about save_data(_config.moderation.data, data) return 'Set group description to:\n'..about end local function set_rules(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local data_cat = 'rules' data[tostring(target)][data_cat] = rules save_data(_config.moderation.data, data) return 'Set group rules to:\n'..rules end -- lock/unlock group name. bot automatically change group name when locked local function lock_group_name(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['settings']['lock_name'] = 'yes' save_data(_config.moderation.data, data) rename_chat('chat#id'..target, group_name_set, ok_cb, false) return 'Group name has been locked' end end local function unlock_group_name(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'no' then return 'Group name is already unlocked' else data[tostring(target)]['settings']['lock_name'] = 'no' save_data(_config.moderation.data, data) return 'Group name has been unlocked' end end --lock/unlock group member. bot automatically kick new added user when locked local function lock_group_member(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_member_lock = data[tostring(target)]['settings']['lock_member'] if group_member_lock == 'yes' then return 'Group members are already locked' else data[tostring(target)]['settings']['lock_member'] = 'yes' save_data(_config.moderation.data, data) end return 'Group members has been locked' end local function unlock_group_member(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_member_lock = data[tostring(target)]['settings']['lock_member'] if group_member_lock == 'no' then return 'Group members are not locked' else data[tostring(target)]['settings']['lock_member'] = 'no' save_data(_config.moderation.data, data) return 'Group members has been unlocked' end end --lock/unlock group photo. bot automatically keep group photo when locked local function lock_group_photo(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_photo_lock = data[tostring(target)]['settings']['lock_photo'] if group_photo_lock == 'yes' then return 'Group photo is already locked' else data[tostring(target)]['settings']['set_photo'] = 'waiting' save_data(_config.moderation.data, data) end return 'Please send me the group photo now' end local function unlock_group_photo(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_photo_lock = data[tostring(target)]['settings']['lock_photo'] if group_photo_lock == 'no' then return 'Group photo is not locked' else data[tostring(target)]['settings']['lock_photo'] = 'no' save_data(_config.moderation.data, data) return 'Group photo has been unlocked' end end local function lock_group_flood(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_flood_lock = data[tostring(target)]['settings']['flood'] if group_flood_lock == 'yes' then return 'Group flood is locked' else data[tostring(target)]['settings']['flood'] = 'yes' save_data(_config.moderation.data, data) return 'Group flood has been locked' end end local function unlock_group_flood(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_flood_lock = data[tostring(target)]['settings']['flood'] if group_flood_lock == 'no' then return 'Group flood is not locked' else data[tostring(target)]['settings']['flood'] = 'no' save_data(_config.moderation.data, data) return 'Group flood has been unlocked' end end local function lock_group_arabic(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_arabic_lock = data[tostring(target)]['settings']['lock_arabic'] if group_arabic_lock == 'yes' then return 'Arabic is already locked' else data[tostring(target)]['settings']['lock_arabic'] = 'yes' save_data(_config.moderation.data, data) return 'Arabic has been locked' end end local function unlock_group_arabic(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_arabic_lock = data[tostring(target)]['settings']['lock_arabic'] if group_arabic_lock == 'no' then return 'Arabic/Persian is already unlocked' else data[tostring(target)]['settings']['lock_arabic'] = 'no' save_data(_config.moderation.data, data) return 'Arabic/Persian has been unlocked' end end local function lock_group_rtl(msg, data, target) if not is_momod(msg) then return end local group_rtl_lock = data[tostring(target)]['settings']['lock_rtl'] if group_rtl_lock == 'yes' then return 'RTL char. in names is already locked' else data[tostring(target)]['settings']['lock_rtl'] = 'yes' save_data(_config.moderation.data, data) return 'RTL char. in names has been locked' end end local function unlock_group_rtl(msg, data, target) if not is_momod(msg) then return end local group_rtl_lock = data[tostring(target)]['settings']['lock_rtl'] if group_rtl_lock == 'no' then return 'RTL char. in names is already unlocked' else data[tostring(target)]['settings']['lock_rtl'] = 'no' save_data(_config.moderation.data, data) return 'RTL char. in names has been unlocked' end end local function lock_group_links(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_link_lock = data[tostring(target)]['settings']['lock_link'] if group_link_lock == 'yes' then return 'Link posting is already locked' else data[tostring(target)]['settings']['lock_link'] = 'yes' save_data(_config.moderation.data, data) return 'Link posting has been locked' end end local function unlock_group_links(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_link_lock = data[tostring(target)]['settings']['lock_link'] if group_link_lock == 'no' then return 'Link posting is not locked' else data[tostring(target)]['settings']['lock_link'] = 'no' save_data(_config.moderation.data, data) return 'Link posting has been unlocked' end end local function lock_group_spam(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_spam_lock = data[tostring(target)]['settings']['lock_spam'] if group_spam_lock == 'yes' then return 'SuperGroup spam is already locked' else data[tostring(target)]['settings']['lock_spam'] = 'yes' save_data(_config.moderation.data, data) return 'SuperGroup spam has been locked' end end local function unlock_group_spam(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_spam_lock = data[tostring(target)]['settings']['lock_spam'] if group_spam_lock == 'no' then return 'SuperGroup spam is not locked' else data[tostring(target)]['settings']['lock_spam'] = 'no' save_data(_config.moderation.data, data) return 'SuperGroup spam has been unlocked' end end local function lock_group_rtl(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_rtl_lock = data[tostring(target)]['settings']['lock_rtl'] if group_rtl_lock == 'yes' then return 'RTL char. in names is already locked' else data[tostring(target)]['settings']['lock_rtl'] = 'yes' save_data(_config.moderation.data, data) return 'RTL char. in names has been locked' end end local function unlock_group_rtl(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_rtl_lock = data[tostring(target)]['settings']['lock_rtl'] if group_rtl_lock == 'no' then return 'RTL char. in names is already unlocked' else data[tostring(target)]['settings']['lock_rtl'] = 'no' save_data(_config.moderation.data, data) return 'RTL char. in names has been unlocked' end end local function lock_group_sticker(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_sticker_lock = data[tostring(target)]['settings']['lock_sticker'] if group_sticker_lock == 'yes' then return 'Sticker posting is already locked' else data[tostring(target)]['settings']['lock_sticker'] = 'yes' save_data(_config.moderation.data, data) return 'Sticker posting has been locked' end end local function unlock_group_sticker(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_sticker_lock = data[tostring(target)]['settings']['lock_sticker'] if group_sticker_lock == 'no' then return 'Sticker posting is already unlocked' else data[tostring(target)]['settings']['lock_sticker'] = 'no' save_data(_config.moderation.data, data) return 'Sticker posting has been unlocked' end end local function set_public_membermod(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_public_lock = data[tostring(target)]['settings']['public'] if group_public_lock == 'yes' then return 'Group is already public' else data[tostring(target)]['settings']['public'] = 'yes' save_data(_config.moderation.data, data) end return 'SuperGroup is now: public' end local function unset_public_membermod(msg, data, target) if not is_admin1(msg) then return "For admins only!" end local group_public_lock = data[tostring(target)]['settings']['public'] if group_public_lock == 'no' then return 'Group is not public' else data[tostring(target)]['settings']['public'] = 'no' save_data(_config.moderation.data, data) return 'SuperGroup is now: not public' end end -- show group settings local function show_group_settings(msg, data, target) local data = load_data(_config.moderation.data, data) if not is_admin1(msg) then return "For admins only!" end if data[tostring(target)]['settings'] then if not data[tostring(target)]['settings']['public'] then data[tostring(target)]['settings']['public'] = 'no' end end local settings = data[tostring(target)]['settings'] local text = "Group settings for "..target..":\nLock group name : "..settings.lock_name.."\nLock group photo : "..settings.lock_photo.."\nLock group member : "..settings.lock_member.."\nPublic: "..settings.public end -- show SuperGroup settings local function show_super_group_settings(msg, data, target) local data = load_data(_config.moderation.data, data) if not is_admin1(msg) then return "For admins only!" end if data[tostring(msg.to.id)]['settings'] then if not data[tostring(msg.to.id)]['settings']['public'] then data[tostring(msg.to.id)]['settings']['public'] = 'no' end end if data[tostring(target)]['settings'] then if not data[tostring(target)]['settings']['lock_rtl'] then data[tostring(target)]['settings']['lock_rtl'] = 'no' end end if data[tostring(target)]['settings'] then if not data[tostring(target)]['settings']['lock_member'] then data[tostring(target)]['settings']['lock_member'] = 'no' end end local settings = data[tostring(target)]['settings'] local text = "SuperGroup settings for "..target..":\nLock links : "..settings.lock_link.."\nLock flood: "..settings.flood.."\nLock spam: "..settings.lock_spam.."\nLock Arabic: "..settings.lock_arabic.."\nLock Member: "..settings.lock_member.."\nLock RTL: "..settings.lock_rtl.."\nLock sticker: "..settings.lock_sticker.."\nPublic: "..settings.public.."\nStrict settings: "..settings.strict return text end local function returnids(cb_extra, success, result) local i = 1 local receiver = cb_extra.receiver local chat_id = "chat#id"..result.peer_id local chatname = result.print_name local text = 'Users in '..string.gsub(chatname,"_"," ")..' (ID: '..result.peer_id..'):\n\n' for k,v in pairs(result.members) do if v.print_name then local username = "" text = text ..i..' - '.. string.gsub(v.print_name,"_"," ") .. " [" .. v.peer_id .. "] \n\n" i = i + 1 end end local file = io.open("./groups/lists/"..result.peer_id.."memberlist.txt", "w") file:write(text) file:flush() file:close() end local function cb_user_info(cb_extra, success, result) local receiver = cb_extra.receiver if result.first_name then first_name = result.first_name:gsub("_", " ") else first_name = "None" end if result.last_name then last_name = result.last_name:gsub("_", " ") else last_name = "None" end if result.username then username = "@"..result.username else username = "@[none]" end text = "User Info:\n\nID: "..result.peer_id.."\nFirst: "..first_name.."\nLast: "..last_name.."\nUsername: "..username send_large_msg(receiver, text) end local function admin_promote(msg, admin_id) if not is_sudo(msg) then return "Access denied!" end local admins = 'admins' if not data[tostring(admins)] then data[tostring(admins)] = {} save_data(_config.moderation.data, data) end if data[tostring(admins)][tostring(admin_id)] then return admin_id..' is already an admin.' end data[tostring(admins)][tostring(admin_id)] = admin_id save_data(_config.moderation.data, data) return admin_id..' has been promoted as admin.' end local function admin_demote(msg, admin_id) if not is_sudo(msg) then return "Access denied!" end local data = load_data(_config.moderation.data) local admins = 'admins' if not data[tostring(admins)] then data[tostring(admins)] = {} save_data(_config.moderation.data, data) end if not data[tostring(admins)][tostring(admin_id)] then return admin_id..' is not an admin.' end data[tostring(admins)][tostring(admin_id)] = nil save_data(_config.moderation.data, data) return admin_id..' has been demoted from admin.' end local function admin_list(msg) local data = load_data(_config.moderation.data) local admins = 'admins' if not data[tostring(admins)] then data[tostring(admins)] = {} save_data(_config.moderation.data, data) end local message = 'List of global admins:\n' for k,v in pairs(data[tostring(admins)]) do message = message .. '- (at)' .. v .. ' [' .. k .. '] ' ..'\n' end return message end local function groups_list(msg) local data = load_data(_config.moderation.data) local groups = 'groups' if not data[tostring(groups)] then return 'No groups at the moment' end local message = 'List of groups:\n' for k,v in pairs(data[tostring(groups)]) do if data[tostring(v)] then if data[tostring(v)]['settings'] then local settings = data[tostring(v)]['settings'] for m,n in pairs(settings) do if m == 'set_name' then name = n end end local group_owner = "No owner" if data[tostring(v)]['set_owner'] then group_owner = tostring(data[tostring(v)]['set_owner']) end local group_link = "No link" if data[tostring(v)]['settings']['set_link'] then group_link = data[tostring(v)]['settings']['set_link'] end message = message .. '- '.. name .. ' (' .. v .. ') ['..group_owner..'] \n {'..group_link.."}\n" end end end local file = io.open("./groups/lists/groups.txt", "w") file:write(message) file:flush() file:close() return message end local function realms_list(msg) local data = load_data(_config.moderation.data) local realms = 'realms' if not data[tostring(realms)] then return 'No Realms at the moment' end local message = 'List of Realms:\n' for k,v in pairs(data[tostring(realms)]) do local settings = data[tostring(v)]['settings'] for m,n in pairs(settings) do if m == 'set_name' then name = n end end local group_owner = "No owner" if data[tostring(v)]['admins_in'] then group_owner = tostring(data[tostring(v)]['admins_in']) end local group_link = "No link" if data[tostring(v)]['settings']['set_link'] then group_link = data[tostring(v)]['settings']['set_link'] end message = message .. '- '.. name .. ' (' .. v .. ') ['..group_owner..'] \n {'..group_link.."}\n" end local file = io.open("./groups/lists/realms.txt", "w") file:write(message) file:flush() file:close() return message end local function admin_user_promote(receiver, member_username, member_id) local data = load_data(_config.moderation.data) if not data['admins'] then data['admins'] = {} save_data(_config.moderation.data, data) end if data['admins'][tostring(member_id)] then return send_large_msg(receiver, '@'..member_username..' is already an admin.') end data['admins'][tostring(member_id)] = member_username save_data(_config.moderation.data, data) return send_large_msg(receiver, '@'..member_username..' has been promoted as admin.') end local function admin_user_demote(receiver, member_username, member_id) local data = load_data(_config.moderation.data) if not data['admins'] then data['admins'] = {} save_data(_config.moderation.data, data) end if not data['admins'][tostring(member_id)] then send_large_msg(receiver, "@"..member_username..' is not an admin.') return end data['admins'][tostring(member_id)] = nil save_data(_config.moderation.data, data) send_large_msg(receiver, 'Admin @'..member_username..' has been demoted.') end local function username_id(cb_extra, success, result) local mod_cmd = cb_extra.mod_cmd local receiver = cb_extra.receiver local member = cb_extra.member local text = 'No user @'..member..' in this group.' for k,v in pairs(result.members) do vusername = v.username if vusername == member then member_username = member member_id = v.peer_id if mod_cmd == 'addadmin' then return admin_user_promote(receiver, member_username, member_id) elseif mod_cmd == 'removeadmin' then return admin_user_demote(receiver, member_username, member_id) end end end send_large_msg(receiver, text) end local function res_user_support(cb_extra, success, result) local receiver = cb_extra.receiver local get_cmd = cb_extra.get_cmd local support_id = result.peer_id if get_cmd == 'addsupport' then support_add(support_id) send_large_msg(receiver, "User ["..support_id.."] has been added to the support team") elseif get_cmd == 'removesupport' then support_remove(support_id) send_large_msg(receiver, "User ["..support_id.."] has been removed from the support team") end end local function set_log_group(target, data) if not is_admin1(msg) then return end local log_group = data[tostring(target)]['log_group'] if log_group == 'yes' then return 'Log group is already set' else data[tostring(target)]['log_group'] = 'yes' save_data(_config.moderation.data, data) return 'Log group has been set' end end local function unset_log_group(msg) if not is_admin1(msg) then return end local log_group = data[tostring(target)]['log_group'] if log_group == 'no' then return 'Log group is not set' else data[tostring(target)]['log_group'] = 'no' save_data(_config.moderation.data, data) return 'log group has been disabled' end end local function help() local help_text = tostring(_config.help_text_realm) return help_text end function run(msg, matches) local name_log = user_print_name(msg.from) if matches[1] == 'log' and is_owner(msg) then local receiver = get_receiver(msg) savelog(msg.to.id, "log file created by owner/support/admin") send_document(receiver,"./groups/logs/"..msg.to.id.."log.txt", ok_cb, false) end if matches[1] == 'who' and msg.to.type == 'chat' and is_momod(msg) then local name = user_print_name(msg.from) savelog(msg.to.id, name.." ["..msg.from.id.."] requested member list ") local receiver = get_receiver(msg) chat_info(receiver, returnids, {receiver=receiver}) local file = io.open("./groups/lists/"..msg.to.id.."memberlist.txt", "r") text = file:read("*a") send_large_msg(receiver,text) file:close() end if matches[1] == 'wholist' and is_momod(msg) then local name = user_print_name(msg.from) savelog(msg.to.id, name.." ["..msg.from.id.."] requested member list in a file") local receiver = get_receiver(msg) chat_info(receiver, returnids, {receiver=receiver}) send_document("chat#id"..msg.to.id,"./groups/lists/"..msg.to.id.."memberlist.txt", ok_cb, false) end if matches[1] == 'whois' and is_momod(msg) then local receiver = get_receiver(msg) local user_id = "user#id"..matches[2] user_info(user_id, cb_user_info, {receiver = receiver}) end if not is_sudo(msg) and not is_realm(msg) and is_admin1(msg) then return end if matches[1] == 'اصنع مجموعه' and matches[2] then if not is_momod(msg) then return end if not is_sudo(msg) or is_admin1(msg) and is_realm(msg) then return "You cant create groups!" end group_name = matches[2] group_type = 'group' return create_group(msg) end --[[ Experimental if matches[1] == 'createsuper' and matches[2] then if not is_sudo(msg) or is_admin1(msg) and is_realm(msg) then return "You cant create groups!" end group_name = matches[2] group_type = 'super_group' return create_group(msg) end]] if matches[1] == 'createrealm' and matches[2] then if not is_sudo(msg) or not is_admin1(msg) and is_realm(msg) then return "You cant create groups!" end group_name = matches[2] group_type = 'realm' return create_realm(msg) end local data = load_data(_config.moderation.data) local receiver = get_receiver(msg) if matches[1] == 'setabout' and matches[2] == 'group' and is_realm(msg) then local target = matches[3] local about = matches[4] return set_description(msg, data, target, about) end if matches[1] == 'setabout' and matches[2] == 'sgroup'and is_realm(msg) then local channel = 'channel#id'..matches[3] local about_text = matches[4] local data_cat = 'description' local target = matches[3] channel_set_about(channel, about_text, ok_cb, false) data[tostring(target)][data_cat] = about_text save_data(_config.moderation.data, data) return "Description has been set for ["..matches[2]..']' end if matches[1] == 'setrules' then rules = matches[3] local target = matches[2] return set_rules(msg, data, target) end if matches[1] == 'lock' then local target = matches[2] if matches[3] == 'name' then return lock_group_name(msg, data, target) end if matches[3] == 'member' then return lock_group_member(msg, data, target) end if matches[3] == 'photo' then return lock_group_photo(msg, data, target) end if matches[3] == 'flood' then return lock_group_flood(msg, data, target) end if matches[2] == 'arabic' then return lock_group_arabic(msg, data, target) end if matches[3] == 'links' then return lock_group_links(msg, data, target) end if matches[3] == 'spam' then return lock_group_spam(msg, data, target) end if matches[3] == 'rtl' then return unlock_group_rtl(msg, data, target) end if matches[3] == 'sticker' then return lock_group_sticker(msg, data, target) end end if matches[1] == 'unlock' then local target = matches[2] if matches[3] == 'name' then return unlock_group_name(msg, data, target) end if matches[3] == 'member' then return unlock_group_member(msg, data, target) end if matches[3] == 'photo' then return unlock_group_photo(msg, data, target) end if matches[3] == 'flood' then return unlock_group_flood(msg, data, target) end if matches[3] == 'arabic' then return unlock_group_arabic(msg, data, target) end if matches[3] == 'links' then return unlock_group_links(msg, data, target) end if matches[3] == 'spam' then return unlock_group_spam(msg, data, target) end if matches[3] == 'rtl' then return unlock_group_rtl(msg, data, target) end if matches[3] == 'sticker' then return unlock_group_sticker(msg, data, target) end end if matches[1] == 'settings' and matches[2] == 'group' and data[tostring(matches[3])]['settings'] then local target = matches[3] text = show_group_settingsmod(msg, target) return text.."\nID: "..target.."\n" end if matches[1] == 'settings' and matches[2] == 'sgroup' and data[tostring(matches[3])]['settings'] then local target = matches[3] text = show_supergroup_settingsmod(msg, target) return text.."\nID: "..target.."\n" end if matches[1] == 'setname' and is_realm(msg) then local settings = data[tostring(matches[2])]['settings'] local new_name = string.gsub(matches[2], '_', ' ') data[tostring(msg.to.id)]['settings']['set_name'] = new_name save_data(_config.moderation.data, data) local group_name_set = data[tostring(msg.to.id)]['settings']['set_name'] local to_rename = 'chat#id'..msg.to.id rename_chat(to_rename, group_name_set, ok_cb, false) savelog(msg.to.id, "Realm { "..msg.to.print_name.." } name changed to [ "..new_name.." ] by "..name_log.." ["..msg.from.id.."]") end if matches[1] == 'setgpname' and is_admin1(msg) then local new_name = string.gsub(matches[3], '_', ' ') data[tostring(matches[2])]['settings']['set_name'] = new_name save_data(_config.moderation.data, data) local group_name_set = data[tostring(matches[2])]['settings']['set_name'] local chat_to_rename = 'chat#id'..matches[2] local channel_to_rename = 'channel#id'..matches[2] rename_chat(to_rename, group_name_set, ok_cb, false) rename_channel(channel_to_rename, group_name_set, ok_cb, false) savelog(matches[3], "Group { "..group_name_set.." } name changed to [ "..new_name.." ] by "..name_log.." ["..msg.from.id.."]") end if matches[1] == 'help' and is_realm(msg) then savelog(msg.to.id, name_log.." ["..msg.from.id.."] Used /help") return help() end --[[if matches[1] == 'set' then if matches[2] == 'loggroup' and is_sudo(msg) then local target = msg.to.peer_id savelog(msg.to.peer_id, name_log.." ["..msg.from.id.."] set as log group") return set_log_group(target, data) end end if matches[1] == 'rem' then if matches[2] == 'loggroup' and is_sudo(msg) then local target = msg.to.id savelog(msg.to.id, name_log.." ["..msg.from.id.."] set as log group") return unset_log_group(target, data) end end]] if matches[1] == 'kill' and matches[2] == 'chat' and matches[3] then if not is_admin1(msg) then return end if is_realm(msg) then local receiver = 'chat#id'..matches[3] return modrem(msg), print("Closing Group: "..receiver), chat_info(receiver, killchat, {receiver=receiver}) else return 'Error: Group '..matches[3]..' not found' end end if matches[1] == 'kill' and matches[2] == 'realm' and matches[3] then if not is_admin1(msg) then return end if is_realm(msg) then local receiver = 'chat#id'..matches[3] return realmrem(msg), print("Closing realm: "..receiver), chat_info(receiver, killrealm, {receiver=receiver}) else return 'Error: Realm '..matches[3]..' not found' end end if matches[1] == 'rem' and matches[2] then -- Group configuration removal data[tostring(matches[2])] = nil save_data(_config.moderation.data, data) local groups = 'groups' if not data[tostring(groups)] then data[tostring(groups)] = nil save_data(_config.moderation.data, data) end data[tostring(groups)][tostring(matches[2])] = nil save_data(_config.moderation.data, data) send_large_msg(receiver, 'Chat '..matches[2]..' removed') end if matches[1] == 'chat_add_user' then if not msg.service then return end local user = 'user#id'..msg.action.user.id local chat = 'chat#id'..msg.to.id if not is_admin1(msg) and is_realm(msg) then chat_del_user(chat, user, ok_cb, true) end end if matches[1] == 'addadmin' then if not is_sudo(msg) then-- Sudo only return end if string.match(matches[2], '^%d+$') then local admin_id = matches[2] print("user "..admin_id.." has been promoted as admin") return admin_promote(msg, admin_id) else local member = string.gsub(matches[2], "@", "") local mod_cmd = "addadmin" chat_info(receiver, username_id, {mod_cmd= mod_cmd, receiver=receiver, member=member}) end end if matches[1] == 'removeadmin' then if not is_sudo(msg) then-- Sudo only return end if string.match(matches[2], '^%d+$') then local admin_id = matches[2] print("user "..admin_id.." has been demoted") return admin_demote(msg, admin_id) else local member = string.gsub(matches[2], "@", "") local mod_cmd = "removeadmin" chat_info(receiver, username_id, {mod_cmd= mod_cmd, receiver=receiver, member=member}) end end if matches[1] == 'support' and matches[2] then if string.match(matches[2], '^%d+$') then local support_id = matches[2] print("User "..support_id.." has been added to the support team") support_add(support_id) return "User ["..support_id.."] has been added to the support team" else local member = string.gsub(matches[2], "@", "") local receiver = get_receiver(msg) local get_cmd = "addsupport" resolve_username(member, res_user_support, {get_cmd = get_cmd, receiver = receiver}) end end if matches[1] == '-support' then if string.match(matches[2], '^%d+$') then local support_id = matches[2] print("User "..support_id.." has been removed from the support team") support_remove(support_id) return "User ["..support_id.."] has been removed from the support team" else local member = string.gsub(matches[2], "@", "") local receiver = get_receiver(msg) local get_cmd = "removesupport" resolve_username(member, res_user_support, {get_cmd = get_cmd, receiver = receiver}) end end if matches[1] == 'type'then local group_type = get_group_type(msg) return group_type end if matches[1] == 'list' then if matches[2] == 'admins' then return admin_list(msg) end -- if matches[2] == 'support' and not matches[2] then -- return support_list() -- end end if matches[1] == 'list' and matches[2] == 'groups' then if msg.to.type == 'chat' or msg.to.type == 'channel' then groups_list(msg) send_document("chat#id"..msg.to.id, "./groups/lists/groups.txt", ok_cb, false) send_document("channel#id"..msg.to.id, "./groups/lists/groups.txt", ok_cb, false) return "Group list created" --group_list(msg) elseif msg.to.type == 'user' then groups_list(msg) send_document("user#id"..msg.from.id, "./groups/lists/groups.txt", ok_cb, false) return "Group list created" --group_list(msg) end end if matches[1] == 'list' and matches[2] == 'realms' then if msg.to.type == 'chat' or msg.to.type == 'channel' then realms_list(msg) send_document("chat#id"..msg.to.id, "./groups/lists/realms.txt", ok_cb, false) send_document("channel#id"..msg.to.id, "./groups/lists/realms.txt", ok_cb, false) return "Realms list created" --realms_list(msg) elseif msg.to.type == 'user' then realms_list(msg) send_document("user#id"..msg.from.id, "./groups/lists/realms.txt", ok_cb, false) return "Realms list created" --realms_list(msg) end end if matches[1] == 'res' and is_momod(msg) then local cbres_extra = { chatid = msg.to.id } local username = matches[2] local username = username:gsub("@","") savelog(msg.to.id, name_log.." ["..msg.from.id.."] Used /res "..username) return resolve_username(username, callbackres, cbres_extra) end end return { patterns = { "^[#!/](اصنع مجموعه) (.*)$", "^[#!/](createsuper) (.*)$", "^[#!/](createrealm) (.*)$", "^[#!/](setabout) (%d+) (.*)$", "^[#!/](setrules) (%d+) (.*)$", "^[#!/](setname) (.*)$", "^[#!/](setgpname) (%d+) (.*)$", "^[#!/](setname) (%d+) (.*)$", "^[#!/](lock) (%d+) (.*)$", "^[#!/](unlock) (%d+) (.*)$", "^[#!/](mute) (%d+)$", "^[#!/](unmute) (%d+)$", "^[#!/](settings) (.*) (%d+)$", "^[#!/](wholist)$", "^[#!/](who)$", "^[#!/]([Ww]hois) (.*)", "^[#!/](type)$", "^[#!/](kill) (chat) (%d+)$", "^[#!/](kill) (realm) (%d+)$", "^[#!/](rem) (%d+)$", "^[#!/](addadmin) (.*)$", -- sudoers only "^[#!/](removeadmin) (.*)$", -- sudoers only "[#!/ ](support)$", "^[#!/](support) (.*)$", "^[#!/](-support) (.*)$", "^[#!/](list) (.*)$", "^[#!/](log)$", "^[#!/](help)$", "^!!tgservice (.+)$", }, run = run } end
gpl-2.0
Ninjistix/darkstar
scripts/zones/Fort_Karugo-Narugo_[S]/npcs/Rotih_Moalghett.lua
5
1051
---------------------------------- -- Area: Fort Karugo Narugo [S] -- NPC: Rotih_Moalghett -- Type: Quest -- @zone 96 -- !pos 280 -20 85 -- ----------------------------------- package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"); require("scripts/globals/quests"); ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc) if (player:getQuestStatus(CRYSTAL_WAR, THE_TIGRESS_STRIKES) == QUEST_ACCEPTED) then if (player:getVar("TigressStrikesProg") == 1) then player:startEvent(101); else player:startEvent(104); end end end; function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end; function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); if (csid == 102) then player:setVar("TigressStrikesProg",1); end end;
gpl-3.0
futufeld/steering-fields
scenarios/ambulate/scenario.lua
1
1991
local TableUtils = require('utils.class') local Vector2 = require('geometry.vector2') local DiskObstacle = require('geometry.disk') local SegSeqObstacle = require('geometry.segseq') local Obstacle = require('core.obstacle') local Vehicle = require('core.vehicle') local Seek = require('steering.seek') local Space = require('core.space') local World = require('core.world') local Pedestrian = require('scenarios.ambulate.pedestrian') -- Construct the environment. local width = 800 local height = 600 local space = Space.Toroidal(width, height) local world = World(width, height) -- Construct a corridor and add it to the environment. local min_x = -world.width * 0.5 local max_x = world.width * 0.5 local half_width = 75 local pts = {Vector2(-min_x, 0), Vector2(-max_x, 0)} local wall1 = SegSeqObstacle(pts) world:add_obstacle(Obstacle(space, 'segseq', Vector2(0, half_width), wall1)) local wall2 = SegSeqObstacle(pts) world:add_obstacle(Obstacle(space, 'segseq', Vector2(0, -half_width), wall2)) -- Create pedestrians. local disk = DiskObstacle(5) local num_pedestrians = 40 local gap = (max_x - min_x) / num_pedestrians for i = 0, num_pedestrians, 1 do -- Determine a position for the pedestrian. local offset = math.random(-100, 100) / 100 local position = Vector2(min_x + i * gap, offset * 0.8 * half_width) -- Configure pedestrian based on its direction of motion. local point = nil local tag = nil if math.random() < 0.5 then point = Vector2(10000, 0) tag = 'character1' else point = Vector2(-10000, 0) tag = 'character2' end -- Create pedestrian's vehicle. local speed = 20 + 10 * math.random() local vehicle = Vehicle(space, tag, position, disk, speed, speed) -- Create pedestrian. local pedestrian = Pedestrian(vehicle, 5, point) pedestrian.steering = Seek(point) world:add_character(pedestrian) end return world
mit
Ninjistix/darkstar
scripts/zones/Bastok_Mines/npcs/Pavvke.lua
5
1838
----------------------------------- -- Area: Bastok Mines -- NPC: Pavvke -- Starts Quests: Fallen Comrades (100%) ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); require("scripts/zones/Bastok_Mines/TextIDs"); ----------------------------------- function onTrade(player,npc,trade) count = trade:getItemCount(); SilverTag = trade:hasItemQty(13116,1); Fallen = player:getQuestStatus(BASTOK,FALLEN_COMRADES); if (Fallen == 1 and SilverTag == true and count == 1) then player:tradeComplete(); player:startEvent(91); elseif (Fallen == 2 and SilverTag == true and count == 1) then player:tradeComplete(); player:startEvent(92); end end; function onTrigger(player,npc) Fallen = player:getQuestStatus(BASTOK,FALLEN_COMRADES); pLevel = player:getMainLvl(player); pFame = player:getFameLevel(BASTOK); if (Fallen == 0 and pLevel >= 12 and pFame >= 2) then player:startEvent(90); else player:startEvent(75); end end; function onEventUpdate(player,csid,option) -- printf("CSID2: %u",csid); -- printf("RESULT2: %u",option); end; function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); if (csid == 90) then player:addQuest(BASTOK,FALLEN_COMRADES); elseif (csid == 91) then player:completeQuest(BASTOK,FALLEN_COMRADES); player:addFame(BASTOK,120); player:addGil(GIL_RATE*550); player:messageSpecial(GIL_OBTAINED,GIL_RATE*550); elseif (csid == 92) then player:addFame(BASTOK,8); player:addGil(GIL_RATE*550); player:messageSpecial(GIL_OBTAINED,GIL_RATE*550); end end;
gpl-3.0
chroteus/clay
lib/middleclass.lua
10
5996
local middleclass = { _VERSION = 'middleclass v3.0.0', _DESCRIPTION = 'Object Orientation for Lua', _LICENSE = [[ MIT LICENSE Copyright (c) 2011 Enrique García Cota Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ]] } local function _setClassDictionariesMetatables(aClass) local dict = aClass.__instanceDict dict.__index = dict local super = aClass.super if super then local superStatic = super.static setmetatable(dict, super.__instanceDict) setmetatable(aClass.static, { __index = function(_,k) return dict[k] or superStatic[k] end }) else setmetatable(aClass.static, { __index = function(_,k) return dict[k] end }) end end local function _setClassMetatable(aClass) setmetatable(aClass, { __tostring = function() return "class " .. aClass.name end, __index = aClass.static, __newindex = aClass.__instanceDict, __call = function(self, ...) return self:new(...) end }) end local function _createClass(name, super) local aClass = { name = name, super = super, static = {}, __mixins = {}, __instanceDict={} } aClass.subclasses = setmetatable({}, {__mode = "k"}) _setClassDictionariesMetatables(aClass) _setClassMetatable(aClass) return aClass end local function _createLookupMetamethod(aClass, name) return function(...) local method = aClass.super[name] assert( type(method)=='function', tostring(aClass) .. " doesn't implement metamethod '" .. name .. "'" ) return method(...) end end local function _setClassMetamethods(aClass) for _,m in ipairs(aClass.__metamethods) do aClass[m]= _createLookupMetamethod(aClass, m) end end local function _setDefaultInitializeMethod(aClass, super) aClass.initialize = function(instance, ...) return super.initialize(instance, ...) end end local function _includeMixin(aClass, mixin) assert(type(mixin)=='table', "mixin must be a table") for name,method in pairs(mixin) do if name ~= "included" and name ~= "static" then aClass[name] = method end end if mixin.static then for name,method in pairs(mixin.static) do aClass.static[name] = method end end if type(mixin.included)=="function" then mixin:included(aClass) end aClass.__mixins[mixin] = true end local Object = _createClass("Object", nil) Object.static.__metamethods = { '__add', '__call', '__concat', '__div', '__le', '__lt', '__mod', '__mul', '__pow', '__sub', '__tostring', '__unm' } function Object.static:allocate() assert(type(self) == 'table', "Make sure that you are using 'Class:allocate' instead of 'Class.allocate'") return setmetatable({ class = self }, self.__instanceDict) end function Object.static:new(...) local instance = self:allocate() instance:initialize(...) return instance end function Object.static:subclass(name) assert(type(self) == 'table', "Make sure that you are using 'Class:subclass' instead of 'Class.subclass'") assert(type(name) == "string", "You must provide a name(string) for your class") local subclass = _createClass(name, self) _setClassMetamethods(subclass) _setDefaultInitializeMethod(subclass, self) self.subclasses[subclass] = true self:subclassed(subclass) return subclass end function Object.static:subclassed(other) end function Object.static:isSubclassOf(other) return type(other) == 'table' and type(self) == 'table' and type(self.super) == 'table' and ( self.super == other or type(self.super.isSubclassOf) == 'function' and self.super:isSubclassOf(other) ) end function Object.static:include( ... ) assert(type(self) == 'table', "Make sure you that you are using 'Class:include' instead of 'Class.include'") for _,mixin in ipairs({...}) do _includeMixin(self, mixin) end return self end function Object.static:includes(mixin) return type(mixin) == 'table' and type(self) == 'table' and type(self.__mixins) == 'table' and ( self.__mixins[mixin] or type(self.super) == 'table' and type(self.super.includes) == 'function' and self.super:includes(mixin) ) end function Object:initialize() end function Object:__tostring() return "instance of " .. tostring(self.class) end function Object:isInstanceOf(aClass) return type(self) == 'table' and type(self.class) == 'table' and type(aClass) == 'table' and ( aClass == self.class or type(aClass.isSubclassOf) == 'function' and self.class:isSubclassOf(aClass) ) end function middleclass.class(name, super, ...) super = super or Object return super:subclass(name, ...) end middleclass.Object = Object setmetatable(middleclass, { __call = function(_, ...) return middleclass.class(...) end }) return middleclass
gpl-2.0
Ninjistix/darkstar
scripts/globals/items/chocobiscuit.lua
3
1226
----------------------------------------- -- ID: 5934 -- Item: Chocobiscuit -- Food Effect: 3Min, All Races ----------------------------------------- -- Magic Regen While Healing 3 -- Charisma 3 -- Evasion 2 -- Aquan Killer 10 -- Silence Resist 10 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- function onItemCheck(target) local result = 0; if (target:hasStatusEffect(EFFECT_FOOD) == true or target:hasStatusEffect(EFFECT_FIELD_SUPPORT_FOOD) == true) then result = 246; end return result; end; function onItemUse(target) target:addStatusEffect(EFFECT_FOOD,0,0,180,5934); end; ----------------------------------------- -- onEffectGain Action ----------------------------------------- function onEffectGain(target,effect) target:addMod(MOD_MPHEAL, 3); target:addMod(MOD_CHR, 3); target:addMod(MOD_EVA, 2); target:addMod(MOD_AQUAN_KILLER, 10); target:addMod(MOD_SILENCERES, 10); end; function onEffectLose(target, effect) target:delMod(MOD_MPHEAL, 3); target:delMod(MOD_CHR, 3); target:delMod(MOD_EVA, 2); target:delMod(MOD_AQUAN_KILLER, 10); target:delMod(MOD_SILENCERES, 10); end;
gpl-3.0
TRex22/hawkthorne-journey
src/flyin.lua
1
3084
local app = require 'app' local Gamestate = require 'vendor/gamestate' local window = require 'window' local fonts = require 'fonts' local TunnelParticles = require "tunnelparticles" local flyin = Gamestate.new() local sound = require 'vendor/TEsound' local Timer = require 'vendor/timer' local Character = require 'character' function flyin:init( ) TunnelParticles:init() end function flyin:enter( prev ) self.flying = {} self.characterorder = {} for i,c in pairs(Character.characters) do if c.name ~= Character.name then table.insert(self.characterorder, c.name) end end self.characterorder = table.shuffle( self.characterorder, 5 ) table.insert( self.characterorder, Character.name ) local time = 0 for _,name in pairs( self.characterorder ) do Timer.add(time, function() table.insert( self.flying, { n = name, c = name == Character.name and Character.costume or Character:findRelatedCostume(name), x = window.width / 2, y = window.height / 2, t = math.random( ( math.pi * 2 ) * 10000 ) / 10000, r = n == Character.name and 0 or ( math.random( 4 ) - 1 ) * ( math.pi / 2 ), s = 0.1, show = true }) end) time = time + 0.4 end end function flyin:draw() TunnelParticles.draw() love.graphics.circle( 'fill', window.width / 2, window.height / 2, 30 ) --draw in reverse order, so the older ones get drawn on top of the newer ones for i = #flyin.flying, 1, -1 do local v = flyin.flying[i] if v.show then love.graphics.setColor( 255, 255, 255, 255 ) Character.characters[v.n].animations.flyin:draw( Character:getSheet(v.n,v.c), v.x, v.y, v.r - ( v.r % ( math.pi / 2 ) ), math.min(v.s,5), math.min(v.s,5), 22, 32 ) -- black mask while coming out of 'tunnel' if v.s <= 1 then love.graphics.setColor( 0, 0, 0, 255 * ( 1 - v.s ) ) Character.characters[v.n].animations.flyin:draw( Character:getSheet(v.n,v.c), v.x, v.y, v.r - ( v.r % ( math.pi / 2 ) ), math.min(v.s,5), math.min(v.s,5), 22, 32 ) end end end end function flyin:startGame(dt) local gamesave = app.gamesaves:active() local point = gamesave:get('savepoint', {level='studyroom', name='main'}) Gamestate.switch(point.level, point.name) end function flyin:keypressed(button) Timer.clear() self:startGame() end function flyin:update(dt) TunnelParticles.update(dt) for k,v in pairs(flyin.flying) do if v.n ~= Character.name then v.x = v.x + ( math.cos( v.t ) * dt * v.s * 90 ) v.y = v.y + ( math.sin( v.t ) * dt * v.s * 90 ) end v.s = v.s + dt * 4 v.r = v.r + dt * 5 if v.s >= 6 then v.show = false end end if not flyin.flying[ #flyin.flying ].show then Timer.clear() self:startGame() end end return flyin
mit
ccyphers/kong
kong/plugins/http-log/handler.lua
1
3736
local basic_serializer = require "kong.plugins.log-serializers.basic" local BasePlugin = require "kong.plugins.base_plugin" local cjson = require "cjson" local url = require "socket.url" local HttpLogHandler = BasePlugin:extend() HttpLogHandler.PRIORITY = 1 local HTTP = "http" local HTTPS = "https" -- Generates the raw http message. -- @param `method` http method to be used to send data -- @param `content_type` the type to set in the header -- @param `parsed_url` contains the host details -- @param `body` Body of the message as a string (must be encoded according to the `content_type` parameter) -- @return raw http message local function generate_post_payload(method, content_type, parsed_url, body) local url if parsed_url.query then url = parsed_url.path .. "?".. parsed_url.query else url = parsed_url.path end return string.format( "%s %s HTTP/1.1\r\nHost: %s\r\nConnection: Keep-Alive\r\nContent-Type: %s\r\nContent-Length: %s\r\n\r\n%s", method:upper(), url, parsed_url.host, content_type, #body, body) end -- Parse host url. -- @param `url` host url -- @return `parsed_url` a table with host details like domain name, port, path etc local function parse_url(host_url) local parsed_url = url.parse(host_url) if not parsed_url.port then if parsed_url.scheme == HTTP then parsed_url.port = 80 elseif parsed_url.scheme == HTTPS then parsed_url.port = 443 end end if not parsed_url.path then parsed_url.path = "/" end return parsed_url end -- Log to a Http end point. -- This basically is structured as a timer callback. -- @param `premature` see openresty ngx.timer.at function -- @param `conf` plugin configuration table, holds http endpoint details -- @param `body` raw http body to be logged -- @param `name` the plugin name (used for logging purposes in case of errors etc.) local function log(premature, conf, body, name) if premature then return end name = "["..name.."] " local ok, err local parsed_url = parse_url(conf.http_endpoint) local host = parsed_url.host local port = tonumber(parsed_url.port) local sock = ngx.socket.tcp() sock:settimeout(conf.timeout) ok, err = sock:connect(host, port) if not ok then ngx.log(ngx.ERR, name.."failed to connect to "..host..":"..tostring(port)..": ", err) return end if parsed_url.scheme == HTTPS then local _, err = sock:sslhandshake(true, host, false) if err then ngx.log(ngx.ERR, name.."failed to do SSL handshake with "..host..":"..tostring(port)..": ", err) end end ok, err = sock:send(generate_post_payload(conf.method, conf.content_type, parsed_url, body)) if not ok then ngx.log(ngx.ERR, name.."failed to send data to "..host..":"..tostring(port)..": ", err) end ok, err = sock:setkeepalive(conf.keepalive) if not ok then ngx.log(ngx.ERR, name.."failed to keepalive to "..host..":"..tostring(port)..": ", err) return end end -- Only provide `name` when deriving from this class. Not when initializing an instance. function HttpLogHandler:new(name) HttpLogHandler.super.new(self, name or "http-log") end -- serializes context data into an html message body. -- @param `ngx` The context table for the request being logged -- @param `conf` plugin configuration table, holds http endpoint details -- @return html body as string function HttpLogHandler:serialize(ngx, conf) return cjson.encode(basic_serializer.serialize(ngx)) end function HttpLogHandler:log(conf) HttpLogHandler.super.log(self) local ok, err = ngx.timer.at(0, log, conf, self:serialize(ngx, conf), self._name) if not ok then ngx.log(ngx.ERR, "["..self._name.."] failed to create timer: ", err) end end return HttpLogHandler
apache-2.0
Ninjistix/darkstar
scripts/zones/Windurst_Waters/npcs/Upih_Khachla.lua
5
1876
----------------------------------- -- Area: Windurst Waters -- NPC: Upih Khachla -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/events/harvest_festivals") require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Windurst_Waters/TextIDs"); ----------------------------------- function onTrade(player,npc,trade) onHalloweenTrade(player,trade,npc); end; function onTrigger(player,npc) player:showText(npc,UPIHKHACHLA_SHOP_DIALOG); stock = { 0x43A1, 1107,1, --Grenade 0x1010, 837,1, --Potion 0x03B7, 108,1, --Wijnruit 0x027C, 119,2, --Chamomile 0x1037, 736,2, --Echo Drops 0x1020, 4445,2, --Ether 0x1034, 290,3, --Antidote 0x0764, 3960,3, --Desalinator 0x026E, 44,3, --Dried Marjoram 0x1036, 2387,3, --Eye Drops 0x025D, 180,3, --Pickaxe 0x0765, 3960,3, --Salinator 0x03FC, 276,3, --Sickle 0x04D9, 354,3 --Twinkle Powder } rank = getNationRank(NATION_WINDURST); if (rank ~= 1) then table.insert(stock,0x03fe); --Thief's Tools table.insert(stock,3643); table.insert(stock,3); end if (rank == 3) then table.insert(stock,0x03ff); --Living Key table.insert(stock,5520); table.insert(stock,3); end showNationShop(player, NATION_WINDURST, stock); end; function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end; function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end;
gpl-3.0
johnsoch/cuberite
Server/Plugins/APIDump/Hooks/OnSpawnedMonster.lua
44
1024
return { HOOK_SPAWNED_MONSTER = { CalledWhen = "After a monster is spawned in the world", DefaultFnName = "OnSpawnedMonster", -- also used as pagename Desc = [[ This hook is called after the server spawns a {{cMonster|monster}}. This is an information-only callback, the monster is already spawned by the time it is called. After this hook is called, the {{OnSpawnedEntity|HOOK_SPAWNED_ENTITY}} is called for the monster entity.</p> <p> See also the {{OnSpawningMonster|HOOK_SPAWNING_MONSTER}} hook for a similar hook called before the monster is spawned. ]], Params = { { Name = "World", Type = "{{cWorld}}", Notes = "The world in which the monster has spawned" }, { Name = "Monster", Type = "{{cMonster}} descendant", Notes = "The monster that has spawned" }, }, Returns = [[ If the function returns false or no value, the next plugin's callback is called. If the function returns true, no other callback is called for this event. ]], }, -- HOOK_SPAWNED_MONSTER }
apache-2.0
neofob/sile
languages/lv.lua
3
119171
SILE.hyphenator.languages["lv"] = {} SILE.hyphenator.languages["lv"].patterns = { "d4z", "d4ž", "a2i", "a2u", "i2e", "e2i", "u2i", "i2u", "o2i", "o2u", "e2u", ".vi1s2a.", ".vi1s2ā.", ".vi1s2i.", ".vi1s2os.", ".vi1s2u.", ".vi1s2iem.", "o1pī", "ū1rē", "i1ta", "ū1ga", "ē1žu", "ū1to", "ā1ni", "i1rē", "i1čo", "ā1bu", "o1mī", "o1kā", "o1či", "ā1lo", "e1čū", "o1ļā", "e1la", "i1šo", "o1bi", "ē1cē", "ā1ru", "o1si", "u1no", "e1hā", "ā1nē", "e1bū", "i1ru", "o1sū", "a1ča", "ā1ča", "o1rē", "i1ke", "o1ra", "u1te", "i1zo", "i1gi", "ē1ma", "ū1ķe", "ū1ca", "o1dē", "a1nā", "ā1ge", "e1či", "ū1bē", "ē1tā", "ā1fi", "i1zi", "o1lī", "e1še", "e1gā", "i1fo", "a1ņo", "u1to", "ī1zē", "ū1gu", "ā1ša", "i1ķi", "ū1nē", "ī1ma", "ā1te", "ē1kē", "ū1mā", "u1zu", "o1sā", "ē1bu", "ī1ga", "e1di", "ī1te", "a1ļī", "e1tē", "i1že", "o1fo", "ā1pu", "o1hu", "ē1do", "o1du", "ā1ma", "ū1mi", "e1re", "i1ha", "i1be", "e1lu", "ā1ja", "ū1ta", "a1šū", "a1da", "ē1cī", "i1bu", "a1pī", "u1ņā", "e1zu", "ū1no", "e1nī", "i1no", "e1mā", "ē1ļa", "ū1pā", "ā1be", "ā1mo", "ī1ja", "e1ji", "ī1re", "e1ce", "ī1ri", "ī1tī", "ū1ni", "ī1žī", "i1ži", "a1fī", "a1be", "e1šā", "e1ķo", "e1pū", "e1ļī", "u1ģi", "ē1tī", "a1ci", "e1jē", "a1zī", "o1lē", "u1ga", "ī1ci", "a1ke", "e1ho", "i1nū", "ū1šī", "e1si", "e1bo", "o1ģē", "u1ņi", "u1sē", "ē1bā", "o1ša", "ū1ro", "ē1ce", "i1zī", "i1ve", "o1ļu", "i1dī", "o1ku", "e1vē", "a1ri", "u1sā", "i1pā", "i1dē", "o1pū", "ī1vī", "a1me", "ē1ze", "ī1bē", "u1ķe", "a1bē", "a1ja", "ā1ļo", "a1jē", "e1fe", "o1pu", "o1to", "ē1vē", "a1ki", "o1mā", "o1lo", "a1lo", "ē1ķi", "e1šē", "ū1dī", "ū1cā", "o1zo", "o1gū", "o1gā", "ī1tē", "e1zē", "ī1le", "e1gī", "ī1na", "o1me", "e1po", "e1fu", "a1ģe", "u1rū", "u1ri", "ū1jo", "e1dē", "a1ļa", "a1žā", "ī1ļa", "ē1ne", "a1zū", "ā1vē", "e1so", "o1mi", "o1šo", "ē1sī", "ē1ļu", "e1ga", "i1pē", "e1vu", "o1ru", "ē1ju", "u1či", "ā1va", "a1hu", "ī1sē", "e1ķa", "i1rā", "a1čā", "ī1ki", "i1ti", "u1cu", "i1žu", "ā1jo", "u1ki", "u1mu", "o1ķī", "e1ma", "ī1ļo", "ē1de", "o1čo", "ā1ču", "i1ņa", "u1ļa", "u1mā", "o1he", "i1lī", "a1de", "o1fa", "ē1ro", "o1sī", "ā1ri", "ū1ti", "o1bē", "a1jā", "ū1zu", "ā1vī", "e1ļe", "o1ņa", "ī1de", "ī1še", "a1kū", "ū1ja", "o1dī", "e1ži", "e1ri", "ī1gā", "e1ki", "u1ze", "u1ma", "i1vī", "ē1pī", "u1lu", "e1ti", "o1čā", "a1ķi", "ū1zē", "a1ļo", "i1či", "o1ke", "a1ģu", "i1vē", "u1ču", "u1ca", "u1vu", "o1ļa", "i1ri", "o1ņo", "u1co", "a1rā", "o1jā", "ī1bi", "e1čī", "ē1rē", "e1kā", "i1pi", "a1ka", "ā1vu", "ū1ža", "e1mī", "e1vī", "o1gi", "a1pē", "ū1zā", "i1cē", "e1va", "o1nī", "ī1ru", "e1pā", "a1ce", "ē1kā", "o1ja", "a1hē", "a1bo", "ū1mu", "ī1ve", "i1nā", "i1fi", "o1va", "u1žu", "e1ģi", "ē1nī", "i1li", "i1ņo", "u1la", "ī1ģe", "e1ca", "a1tā", "ū1zi", "a1bū", "ē1pē", "ī1su", "ī1pā", "ī1zu", "ū1di", "e1lo", "ā1mā", "e1ci", "a1ža", "ē1to", "e1rū", "ā1la", "u1ķu", "o1ģī", "ā1pa", "e1lū", "e1sī", "e1bē", "i1co", "i1ķē", "a1šo", "ū1ku", "u1šā", "o1di", "a1ņa", "ī1pa", "o1pi", "a1žē", "a1si", "a1ha", "u1šo", "ē1mā", "ī1mo", "ā1žo", "ū1lu", "e1žū", "o1ķi", "ā1vā", "a1žo", "i1zā", "a1ku", "o1zi", "o1dā", "e1cu", "ī1no", "e1zi", "e1jū", "ā1ņo", "i1ce", "ū1lē", "a1žī", "o1mē", "i1bī", "o1re", "e1zū", "ū1ra", "a1gi", "i1lē", "ī1bā", "ū1šu", "e1bi", "i1gū", "ū1ķi", "ē1va", "ā1to", "u1ce", "a1pū", "ā1gi", "i1ķe", "ā1kā", "e1ķī", "ē1ža", "u1ve", "u1vo", "ē1no", "o1bu", "a1tī", "e1fi", "e1ļo", "ū1ži", "a1tū", "ī1ti", "ī1la", "i1ho", "ē1gi", "i1fū", "a1tē", "ā1ķi", "a1mi", "e1ra", "u1ja", "e1me", "ī1bu", "i1pu", "o1la", "a1ķī", "u1šu", "o1ža", "a1rū", "ū1ļa", "e1ču", "ī1lo", "o1nu", "ā1jē", "a1dā", "u1rē", "u1rī", "ē1žo", "i1mā", "a1zo", "o1žu", "ē1da", "ī1co", "ū1zī", "ā1sa", "ē1šu", "ū1po", "i1si", "u1zē", "ū1ri", "u1zī", "ū1gā", "e1pu", "ā1du", "e1cē", "ē1ji", "i1bi", "ē1rā", "i1ļi", "u1nu", "i1ki", "a1mū", "ī1ni", "ā1fe", "ē1ca", "ā1ņi", "u1go", "a1nu", "e1nē", "u1ku", "ā1ži", "ē1go", "e1če", "ē1za", "ā1čā", "i1ģe", "ī1go", "a1go", "e1bī", "i1ze", "e1šū", "o1kē", "o1pē", "i1na", "ā1ra", "ā1jī", "o1za", "e1zā", "a1lā", "e1ņē", "a1je", "ē1si", "ā1bo", "u1gā", "i1sē", "u1ši", "u1bī", "a1vā", "e1ko", "ā1šu", "ā1ģē", "i1mo", "e1ļā", "i1tē", "u1ļā", "a1ņē", "u1na", "ī1vo", "ū1me", "a1hī", "ū1ka", "ā1mī", "ā1lī", "ū1tu", "e1je", "ī1vā", "a1ba", "ī1dā", "ū1ko", "ū1cē", "ā1nī", "a1ļē", "u1ju", "ā1žā", "ū1mo", "i1ge", "ā1pā", "e1lā", "i1ķī", "a1sē", "e1ni", "a1ma", "a1tu", "i1kū", "a1bi", "i1jī", "ī1ķu", "e1fā", "u1ta", "ē1dē", "a1gā", "i1lā", "i1ņi", "e1ļa", "ē1ti", "ā1bi", "a1ši", "a1lī", "i1ja", "e1mu", "o1hē", "u1jā", "ū1ša", "i1sā", "u1po", "ā1cā", "a1se", "o1ņe", "u1fo", "ā1sū", "ā1bū", "o1co", "o1ķē", "ā1ļa", "e1že", "u1tī", "ī1ku", "u1ķa", "u1zi", "e1do", "i1so", "o1fi", "ē1sā", "i1pī", "ī1ši", "a1dī", "ā1ti", "u1ņo", "u1pa", "o1ka", "o1cī", "i1pe", "ī1mā", "ā1pē", "ā1pī", "ū1pē", "o1bū", "e1ķē", "a1mē", "ā1rū", "o1de", "i1ķa", "o1šī", "ī1gu", "u1bi", "ā1ka", "ā1nu", "u1ži", "u1so", "ē1ka", "ā1le", "ē1pe", "u1ļī", "ī1me", "u1dī", "i1žā", "i1du", "ē1ra", "o1vo", "o1fā", "o1so", "ā1ļā", "e1dā", "ā1gu", "o1bo", "e1hī", "ā1ģi", "ā1čo", "a1dē", "u1di", "ī1se", "ē1sē", "ā1nā", "a1nī", "ū1rā", "o1hi", "o1šā", "i1lū", "ē1lē", "i1te", "u1še", "ī1tu", "u1ģo", "e1ši", "ū1ba", "e1ņa", "u1si", "ē1zo", "ū1kā", "i1gu", "ū1da", "i1sū", "o1bī", "a1mo", "ē1gā", "ā1ve", "u1bē", "e1ņo", "ē1vo", "ī1mī", "u1ļu", "ā1tu", "i1cī", "u1fa", "ā1tā", "ē1gu", "o1ga", "i1mi", "i1fē", "i1ļe", "ā1co", "u1žī", "i1zē", "i1vu", "a1ju", "i1ca", "ī1ču", "ū1re", "ē1bi", "e1ro", "i1fā", "a1he", "u1mo", "i1jo", "e1bu", "ī1ro", "a1te", "ī1ģi", "ā1di", "i1bū", "u1ļi", "u1le", "a1na", "e1tā", "e1bā", "o1tū", "ū1ze", "ā1fu", "ī1be", "a1pā", "u1de", "i1dū", "e1ve", "ī1di", "a1vo", "u1lā", "e1pi", "u1dē", "ē1dā", "o1jo", "i1žo", "ī1ķe", "o1nā", "e1mū", "ā1zā", "a1ro", "ī1rā", "a1že", "u1je", "a1ti", "ū1cī", "i1tī", "ī1vi", "ī1jo", "e1co", "i1tū", "i1bo", "ū1pe", "e1tū", "o1pā", "ē1se", "a1ļā", "ā1ji", "a1čo", "e1za", "ā1mē", "a1žū", "e1šo", "ī1ļu", "ū1jā", "o1su", "e1ja", "o1ta", "e1lī", "o1ze", "ī1vē", "o1vā", "a1vī", "i1kī", "ā1zī", "u1ha", "ī1pē", "i1de", "o1nē", "ū1bī", "ē1tu", "a1ži", "ā1žu", "o1ņā", "o1ļo", "i1ņē", "u1ci", "ī1ca", "ū1sa", "e1rī", "i1bē", "e1ne", "a1šī", "u1gi", "ī1mu", "a1zā", "i1lo", "ī1cē", "u1lī", "e1čo", "a1bu", "i1nī", "ā1dā", "ā1tē", "ā1ko", "ī1šu", "o1ģi", "a1ta", "i1la", "a1va", "a1še", "a1hi", "a1ca", "e1be", "e1žē", "a1su", "ī1dī", "o1da", "e1ģo", "e1ņu", "e1pa", "ī1jā", "e1sā", "a1ņi", "ū1so", "ī1nu", "i1vo", "ū1lo", "ī1nē", "ē1mī", "ū1cu", "o1žē", "ē1jā", "ī1cā", "a1ču", "o1zū", "a1lu", "ā1lu", "o1ņu", "a1vu", "i1tu", "i1ķu", "i1ķo", "i1ko", "a1fa", "ī1pi", "i1go", "i1me", "a1fi", "e1sū", "ī1ju", "o1pe", "a1sī", "a1nē", "ū1že", "ē1ve", "i1po", "o1zē", "a1ne", "e1sa", "a1lē", "ē1ša", "ū1gi", "ē1lā", "i1mū", "u1vā", "ū1mī", "ū1mē", "u1ro", "ā1po", "o1ju", "i1fu", "i1jē", "i1ga", "ū1tā", "ē1lu", "ū1sā", "a1gū", "ā1bā", "a1la", "o1ri", "ē1šo", "ū1ņa", "o1fē", "e1li", "ē1ko", "u1va", "ī1šo", "a1zi", "e1dī", "i1da", "i1šī", "i1hī", "i1ne", "i1šu", "ē1ku", "e1ņā", "o1na", "ī1ža", "o1ča", "ā1fa", "o1tē", "ī1dē", "o1tā", "i1hi", "ē1mu", "ī1so", "e1cā", "ā1zi", "ī1cī", "u1šē", "o1no", "ā1ņe", "u1bu", "ū1gē", "o1ve", "a1ģī", "i1lu", "i1pa", "e1ka", "ā1ci", "u1ķī", "o1sa", "o1go", "i1nu", "ī1žo", "i1sī", "o1fī", "a1pu", "a1du", "ī1ļi", "o1ba", "i1fa", "e1mi", "o1cu", "u1ža", "ā1mi", "a1ķā", "i1ču", "o1žū", "ī1kā", "ā1ķe", "u1ģē", "e1da", "ē1dī", "ī1čo", "ū1pa", "ā1de", "o1ma", "i1dā", "ē1ņo", "ū1žu", "o1ko", "a1vē", "ā1zē", "ā1sā", "ī1do", "u1cā", "ī1ļā", "u1du", "e1ju", "ā1si", "o1vē", "i1ša", "u1fe", "o1ji", "ē1re", "ū1ļī", "u1ņa", "ā1ca", "a1šu", "ū1nu", "ū1le", "e1ķi", "ā1tī", "o1ge", "i1vā", "ū1za", "ē1nā", "ū1ma", "ā1ķu", "e1lē", "ā1sē", "ā1li", "ī1ne", "i1mī", "ā1pi", "a1mā", "a1žu", "i1ju", "ē1vu", "u1nā", "ū1ru", "e1vi", "a1pa", "i1bā", "o1cē", "ā1lē", "e1ku", "u1lē", "i1se", "e1vā", "ē1jē", "e1pī", "ē1ci", "o1ši", "a1hā", "a1kā", "u1ji", "ū1rī", "ī1sā", "i1ro", "o1rā", "ū1ki", "o1ro", "e1ru", "o1kū", "ē1su", "a1ņā", "ū1tī", "ā1ba", "e1ņe", "e1nu", "ē1te", "ā1vo", "a1sa", "e1nū", "ū1žī", "o1že", "ū1do", "ē1jī", "ī1vu", "o1vi", "u1ba", "ā1na", "ī1mē", "a1ji", "u1ti", "e1mo", "a1ra", "e1hi", "o1te", "u1bo", "e1su", "i1fī", "ē1pi", "i1ģi", "ī1ņu", "ū1lī", "ā1ro", "o1zā", "a1vi", "o1ni", "ī1za", "o1do", "ī1zā", "o1gē", "u1zū", "u1li", "u1da", "a1či", "e1ta", "i1ra", "ā1ķa", "a1jū", "ī1ba", "a1cē", "u1ra", "i1kā", "i1zu", "ē1nu", "a1šā", "e1to", "u1gē", "ū1pī", "a1ho", "ā1je", "ī1ķa", "a1ve", "o1šu", "u1čo", "ī1mi", "u1sī", "a1dū", "e1cū", "ī1rī", "u1ko", "ā1ķī", "ā1zu", "ā1mu", "ī1sa", "ā1ņu", "u1ka", "i1ba", "ū1vi", "ē1ga", "ē1ģe", "a1rī", "u1ša", "u1cī", "a1co", "ī1cu", "o1vu", "i1je", "u1do", "o1cā", "ā1vi", "i1jā", "a1ze", "a1mu", "o1ņi", "e1ža", "o1čī", "i1ča", "i1mē", "ā1cī", "ē1la", "e1dū", "ū1nī", "ī1po", "ē1ļi", "ī1nā", "ū1be", "u1se", "ū1ci", "ī1ņā", "ī1ke", "ā1cē", "ē1sa", "ē1li", "a1ģā", "u1pe", "ā1ku", "a1bī", "u1pu", "o1ca", "u1ne", "ī1ļī", "u1mi", "e1du", "i1ļu", "u1pā", "ī1ņa", "ī1pu", "u1be", "o1ču", "o1šē", "ū1šo", "ē1me", "a1ķa", "u1zo", "ē1zā", "ū1ce", "e1tī", "o1ķu", "ē1jo", "u1tū", "ā1cu", "i1vi", "e1žā", "a1jo", "e1jo", "ū1bi", "u1nī", "ā1ļu", "e1zo", "i1ma", "u1vē", "o1jū", "o1ha", "ū1pu", "e1ša", "a1ru", "a1li", "u1mī", "ū1ve", "ā1pe", "i1cu", "ū1nā", "ī1sī", "e1pe", "ī1zī", "i1rī", "ī1pe", "o1po", "ā1rē", "a1ņe", "ī1gi", "e1žī", "ī1lu", "i1su", "ī1tā", "a1no", "ī1ži", "a1sū", "a1ko", "i1žē", "u1jo", "i1va", "ī1ji", "a1fe", "o1pa", "e1rē", "e1šī", "ē1cu", "i1šā", "ū1žā", "e1ģe", "ē1cā", "a1po", "i1tā", "ā1ne", "ī1va", "e1se", "ī1ra", "o1gu", "ū1de", "u1dā", "i1di", "u1rā", "ē1nē", "a1to", "e1fī", "a1so", "e1ze", "ē1le", "o1mu", "ī1ta", "e1ļu", "a1zē", "ē1ķē", "o1ģe", "e1na", "ū1vē", "ē1du", "u1žo", "i1nē", "ī1si", "i1ka", "ī1fe", "e1no", "i1le", "e1pē", "e1ģē", "ā1go", "i1ni", "e1ča", "a1čī", "ē1be", "a1ša", "e1gi", "i1mu", "ē1bē", "a1čū", "ī1šā", "a1bā", "ī1du", "o1ci", "ē1bo", "ā1ki", "o1mo", "ē1lo", "o1lā", "o1le", "a1gī", "u1kā", "ē1vi", "ī1lē", "u1čē", "ē1mo", "a1cī", "u1ča", "ī1to", "a1fē", "u1ķi", "e1fa", "ī1ša", "o1bā", "a1ļi", "ī1da", "a1mī", "i1gā", "a1ģē", "e1cī", "ā1ta", "i1re", "ā1me", "ū1dē", "a1re", "ī1li", "a1ga", "o1tu", "u1pī", "e1ha", "ā1ķē", "e1tu", "i1ģē", "e1kē", "ā1bē", "o1čū", "a1zu", "ū1sē", "ū1ne", "ā1ga", "ū1vo", "o1ho", "ē1ļā", "o1rī", "ū1ju", "o1fu", "ū1ji", "o1lū", "ā1do", "i1to", "u1bā", "u1ge", "u1cē", "a1le", "u1ķē", "ī1ce", "a1ķu", "ā1ze", "e1šu", "ē1ja", "a1vū", "i1ņā", "ē1na", "o1ne", "ā1dē", "ā1ģa", "u1su", "u1sa", "ē1di", "ū1su", "e1fo", "ē1ni", "ī1pī", "i1ku", "ē1pa", "ē1po", "ī1zi", "i1ļa", "i1ši", "ē1lī", "ā1no", "a1jī", "ā1gā", "o1zī", "ā1dī", "o1ļi", "ā1rā", "ē1zi", "ū1pi", "ē1ge", "o1mū", "i1kē", "e1gū", "u1gu", "i1zū", "a1gu", "a1lū", "i1cā", "ū1lā", "o1ķe", "o1se", "ē1vā", "ē1ru", "a1fo", "e1sē", "ā1re", "ā1lā", "e1ļi", "a1ņu", "e1jā", "ā1ža", "ē1zu", "e1ņi", "u1pi", "ē1mē", "o1ņē", "o1ti", "u1pē", "e1zī", "u1fi", "e1ķe", "ā1jā", "u1vī", "ī1ņi", "u1žā", "ū1li", "e1de", "o1be", "ē1zī", "e1hu", "e1he", "ī1lā", "u1tē", "e1nā", "a1sā", "ā1se", "ē1ļo", "a1ģi", "ī1ze", "o1je", "ū1te", "e1kū", "o1li", "ā1ce", "o1vī", "i1ci", "ā1so", "e1ge", "i1še", "a1ni", "i1do", "ā1lū", "o1žā", "o1še", "o1zu", "a1cu", "e1mē", "e1gu", "ē1ta", "a1do", "e1ba", "ē1ģi", "e1žo", "ā1gū", "a1za", "ū1la", "ū1ķī", "a1pi", "ī1nī", "ū1šā", "i1šē", "o1ļe", "ē1mi", "u1zā", "i1ķā", "ī1ko", "o1dū", "ī1ķi", "a1ķē", "ā1su", "ī1lī", "e1čā", "ē1ļe", "u1za", "o1ži", "o1fe", "ū1tē", "o1ki", "ā1za", "e1le", "ē1bī", "a1di", "o1sē", "ī1žu", "ī1bo", "u1me", "a1rē", "i1ļo", "ū1si", "ā1sī", "u1ni", "ī1ka", "ā1ļi", "o1tī", "ā1šo", "u1tu", "e1žu", "i1ža", "o1lu", "ē1rī", "ā1ju", "u1šī", "a1ķe", "ē1so", "ā1da", "ē1ba", "ē1ri", "o1ce", "ē1ki", "i1ļā", "a1pe", "o1šū", "u1ļo", "ī1zo", "ē1rū", "e1go", "e1te", "i1za", "e1vo", "u1vi", "i1fe", "i1ņu", "ā1zo", "ē1zē", "o1jē", "u1re", "ā1ņa", "ē1pā", "o1žo", "u1nē", "u1ņu", "ū1du", "a1ļu", "u1mē", "ē1pu", "u1lo", "i1ji", "ā1rī", "ī1rē", "e1rā", "u1ru", "a1cā", "o1rū", "ū1na", "u1ģe", "ū1dā", "u1tā", "i1sa", "at1tu", "eg1rū", "ak1so", "it1de", "eb1lā", "et1vī", "or1bi", "al1ša", "ap1dū", "ak1na", "um1ci", "aš1le", "ēr1ķe", "en1ku", "il1ki", "ēr1ku", "at1nā", "at1ģē", "us1pē", "os1vī", "os1ci", "an1ra", "en1pa", "ej1dē", "až1vī", "as1bu", "īs1ga", "iņ1di", "en1to", "uj1me", "or1ki", "el1zo", "ot1nē", "es1ko", "uz1gu", "ak1ti", "īr1ni", "iz1hi", "il1pu", "es1ma", "āt1vi", "ag1rē", "on1zē", "īb1tu", "ap1do", "īt1vī", "ul1sā", "īk1lī", "ur1so", "ok1tē", "ēb1tu", "īs1la", "et1ve", "al1mo", "op1ša", "en1ce", "im1nī", "uš1ķa", "ek1ti", "iz1cī", "er1di", "ur1fa", "an1tā", "er1ba", "as1pe", "al1su", "ip1so", "al1cī", "at1de", "aņ1ra", "ēk1šu", "īg1li", "om1ni", "oņ1ka", "as1le", "at1ņi", "id1rī", "un1ve", "al1kū", "in1da", "ār1ba", "īs1žu", "al1ka", "up1jī", "ur1gu", "at1sī", "īg1mā", "āl1ti", "al1va", "uļ1ku", "ok1rē", "er1gi", "uz1ļo", "ak1šē", "īm1re", "iz1te", "āt1vē", "ēg1ni", "īg1ru", "il1cē", "ir1mu", "ar1ku", "ot1zi", "ub1na", "an1če", "om1bī", "ēg1si", "el1le", "av1ru", "il1nu", "ēs1te", "ur1kā", "ik1ro", "ep1nu", "ur1vē", "oņ1lu", "it1ma", "il1ja", "ēj1tē", "an1ga", "eš1pa", "āl1ce", "ob1rī", "ur1vi", "up1ri", "ēz1tā", "iz1čo", "ap1ša", "uz1ru", "ut1rē", "ar1to", "ež1nī", "aš1ļu", "aļ1ce", "al1ne", "is1sī", "ib1šo", "uz1nu", "ut1ņu", "ul1de", "ār1ho", "am1pū", "ēl1gu", "um1vi", "ik1to", "ēr1ze", "ož1va", "ez1nī", "am1lī", "ak1se", "el1ko", "ep1si", "āj1tu", "um1zā", "at1ja", "al1ķī", "az1dā", "or1to", "ec1he", "at1cī", "en1ko", "ūs1ki", "īg1sa", "ef1ri", "ār1sa", "im1po", "īt1rī", "ed1vi", "id1sē", "ā1džā", "up1la", "ēc1te", "es1pu", "uk1šo", "āp1ni", "ā1dži", "ak1la", "en1na", "as1ka", "ām1di", "ag1li", "og1rā", "ag1dā", "oz1vi", "an1ku", "īk1nē", "us1mū", "er1ma", "āb1ša", "in1tu", "ob1ti", "ap1cu", "es1vā", "ac1ti", "ur1pu", "ar1kī", "el1la", "it1ta", "am1le", "ik1se", "ēk1ti", "ar1sa", "is1mu", "ut1ķe", "ār1vī", "u1dži", "et1nā", "id1ka", "āl1se", "ur1na", "ār1zo", "uz1li", "ān1ka", "as1ve", "ab1la", "aņ1ķe", "ēb1tā", "el1vā", "al1žu", "at1pū", "at1go", "ēr1la", "e1dzi", "iz1dē", "ab1se", "at1žē", "ir1ca", "ēr1su", "uļ1ma", "el1pe", "ej1ve", "ap1ve", "īg1rā", "el1po", "ed1lo", "it1mo", "ep1nā", "uk1tu", "at1šo", "ap1šā", "ār1čo", "ak1sē", "ek1tē", "om1pe", "ul1go", "um1dī", "ec1si", "ēd1vi", "um1mā", "iz1mo", "ok1zā", "āp1ro", "āl1ko", "āl1vē", "ed1po", "īl1zi", "of1rē", "ēj1lo", "ap1sū", "ip1šo", "is1pu", "in1fe", "ep1ra", "at1ša", "or1ga", "on1gā", "ak1šu", "at1jo", "es1pa", "uz1ša", "ār1su", "uz1be", "ik1sī", "en1ša", "ok1te", "ok1bu", "ur1ša", "or1ģe", "īn1ta", "ap1ģi", "iz1zu", "im1tī", "ap1te", "on1nā", "us1jū", "ur1no", "ab1ti", "en1jū", "op1so", "eņ1no", "ur1ka", "an1šo", "ol1le", "ūs1mo", "ās1tā", "ek1tī", "uz1sī", "iš1ķā", "um1pā", "is1po", "ob1lē", "ap1za", "ek1do", "ez1mē", "ēd1la", "uš1ka", "of1ri", "en1hī", "āf1ri", "uk1nu", "iz1do", "ej1ga", "ul1ri", "iz1fi", "ir1na", "is1ka", "ār1do", "en1šo", "ož1ma", "ēs1tī", "at1sā", "um1la", "oš1pa", "eb1to", "ez1ņi", "ej1ka", "iv1žu", "uņ1ģu", "ik1na", "il1ko", "ol1mu", "im1si", "ap1ta", "os1tu", "us1tī", "at1ko", "ar1ci", "iļ1do", "un1či", "oš1si", "en1zā", "ir1zo", "i1džā", "uz1ba", "er1vē", "ip1ni", "il1zu", "in1pū", "or1hi", "iv1de", "os1mē", "uz1pū", "ām1pi", "os1tū", "az1bē", "al1de", "on1de", "uz1ce", "em1ba", "ēr1ļu", "at1nē", "ār1tū", "ur1cu", "ir1ku", "āv1da", "īp1ri", "op1rā", "ej1ni", "am1dī", "ak1va", "ek1pi", "up1ve", "ūt1ma", "un1tā", "aš1ma", "āv1ja", "um1ti", "ūz1mā", "im1te", "ev1rē", "on1ti", "ig1za", "iz1gū", "up1rā", "id1pū", "ār1cī", "ār1lī", "el1lē", "us1ga", "ez1da", "ap1cē", "ej1la", "ag1da", "uz1va", "op1sē", "āģ1ve", "el1to", "ēz1kū", "eš1vi", "uz1vī", "ī1dze", "is1mē", "ef1rī", "ab1ša", "up1ma", "ār1nī", "aš1va", "ab1ri", "ob1tā", "ik1sā", "is1mī", "ag1ša", "ūr1ka", "āņ1mu", "ev1ni", "or1da", "em1ze", "āj1lo", "at1rū", "al1re", "il1cī", "ār1mi", "et1ma", "um1da", "ob1le", "āp1tu", "el1pā", "iz1ķe", "ez1tu", "al1tī", "ap1rū", "iz1ta", "em1ža", "ar1gi", "ēv1re", "as1kā", "až1kā", "eg1ta", "al1gā", "ap1le", "ap1ro", "īv1ni", "op1ka", "ik1vi", "il1tī", "ur1pī", "ir1kī", "iņ1ne", "iz1da", "op1re", "ēl1ni", "is1nu", "ar1cē", "ed1sē", "ul1ka", "ās1ma", "op1ba", "os1fē", "ak1le", "eļ1mū", "ēb1šu", "aš1ra", "uļ1pu", "oķ1vā", "ār1šo", "am1di", "ār1žu", "ed1pu", "ed1ve", "en1re", "ūk1li", "uš1pi", "ep1ta", "al1ve", "ad1ma", "ez1ce", "ēg1tā", "ud1rī", "im1bi", "ek1ra", "iv1jū", "ez1bi", "iz1me", "uļ1tī", "if1rē", "ap1ku", "id1ni", "og1rē", "ēj1de", "op1ko", "iz1tī", "un1ci", "īt1ka", "ēj1nī", "ēr1pē", "oš1ļa", "at1zu", "īv1ga", "os1na", "og1ga", "es1lu", "āt1ko", "az1va", "em1zi", "as1ke", "an1si", "iz1mi", "er1vā", "ep1sē", "al1sā", "us1cū", "ul1sa", "en1ta", "or1vē", "ek1tā", "uz1žo", "an1ma", "i1dzī", "ij1ku", "id1la", "ēp1ta", "ēļ1ko", "ur1ti", "ap1nī", "ot1re", "eš1ņu", "un1de", "ār1vē", "uz1ģī", "er1mū", "o1džu", "oš1ni", "ij1kā", "al1lo", "ig1lo", "er1rī", "em1pu", "ug1ļo", "ūš1do", "ip1ša", "ūs1tā", "oš1ba", "al1lē", "eš1da", "uļ1ļā", "ār1sū", "in1de", "em1to", "ās1tu", "ol1fi", "or1mā", "iv1pu", "aš1la", "ec1ho", "ār1za", "ar1ka", "ub1sī", "ap1zi", "ēp1to", "āk1tu", "er1te", "ur1zu", "īm1ka", "on1ju", "ap1go", "us1lo", "or1na", "og1no", "am1dā", "ār1ta", "ēl1ne", "er1cā", "im1na", "uz1zā", "ār1no", "aj1ci", "ip1tā", "it1ļu", "ag1ri", "ār1bū", "os1po", "ēņ1da", "an1kū", "om1bē", "ār1ve", "aļ1ģe", "im1ti", "al1ti", "īņ1ni", "in1na", "ep1la", "uz1di", "iž1me", "al1tē", "in1si", "ed1ma", "or1tu", "em1ta", "ug1si", "er1be", "us1ra", "il1mu", "ār1ga", "eb1lo", "īr1rū", "īt1re", "al1la", "et1vi", "el1di", "ār1ži", "iz1ca", "ad1da", "ēn1mī", "ut1sa", "ol1po", "ez1ra", "ir1šā", "eg1šo", "ud1pu", "ud1lē", "uk1sē", "on1vu", "em1pā", "ēk1bē", "ār1dē", "en1zū", "āj1re", "at1lo", "ez1ni", "et1ka", "iv1ji", "in1ku", "or1bī", "ok1ti", "al1si", "ur1zī", "ūn1ga", "ēr1pa", "am1bi", "at1ro", "ēr1bu", "iz1ķē", "ip1sē", "uz1či", "ir1du", "uh1tā", "er1bā", "ik1ga", "īš1ķi", "iz1rū", "it1da", "ok1ņu", "ēg1ta", "ir1lo", "an1ka", "in1dī", "es1vī", "op1ma", "um1sī", "on1pa", "em1pī", "ūk1ko", "el1tī", "uz1me", "er1vī", "ūz1na", "eg1ru", "it1ga", "us1du", "īt1ņu", "ep1lā", "ur1va", "um1zī", "īd1lī", "o1dži", "ār1bu", "ak1tā", "er1ta", "ēr1no", "ēr1pā", "um1bi", "en1ca", "oņ1cū", "ēj1mu", "at1pī", "ēr1gā", "ip1re", "ār1vi", "aļ1ķo", "et1ni", "ir1gū", "āp1ne", "ir1su", "āt1me", "eb1tu", "in1cē", "aš1ķe", "ip1ro", "om1da", "ep1tī", "ef1ra", "ū1dza", "ēt1ku", "ub1li", "az1be", "ūs1ka", "us1pa", "ar1su", "uf1li", "ūr1vī", "īs1za", "af1rē", "uz1ņa", "e1dža", "iz1bē", "ūt1di", "en1nī", "eļ1ķē", "es1ku", "az1da", "īg1ra", "iz1gā", "ar1ķī", "er1šu", "ud1ka", "ed1ri", "op1ra", "ap1li", "ap1dī", "ed1la", "an1rī", "en1tī", "āb1šo", "an1cū", "ēj1da", "es1tī", "er1ko", "ūg1ta", "el1zu", "in1ne", "er1bi", "ig1me", "ež1ni", "ad1mi", "aj1ni", "el1li", "ik1šu", "āl1pu", "ar1ga", "et1ta", "īc1še", "uz1zu", "om1bū", "un1ku", "īb1ni", "ar1ža", "ēt1ni", "is1tu", "un1ze", "aš1di", "it1ni", "en1zē", "en1ģe", "er1pe", "uz1zū", "ul1si", "ur1ca", "ap1fa", "is1no", "iz1ķī", "us1vi", "in1ho", "og1ļu", "ūs1nu", "er1ga", "ir1ze", "ēl1re", "ēs1li", "em1ma", "if1ra", "at1mē", "ur1rā", "at1ho", "ob1ju", "op1ro", "ip1li", "ec1mā", "er1mī", "ak1mu", "es1sa", "īk1lo", "u1džē", "ur1fi", "id1ko", "ār1ņu", "uņ1ģa", "īk1li", "iņ1ķe", "as1kē", "il1de", "ār1kū", "ul1bo", "ez1no", "en1mē", "ab1ro", "uz1gū", "ek1ņu", "ož1ņā", "at1ku", "uk1sa", "uk1lo", "ar1do", "ak1tu", "ār1du", "ik1ci", "al1du", "en1pe", "al1vī", "un1ti", "ul1le", "os1cē", "ec1sa", "īk1ti", "ār1dā", "ēb1ju", "ap1ču", "ub1rā", "iv1pa", "os1ma", "oš1ķe", "aš1pu", "um1pē", "ēp1tā", "ek1si", "īk1ļu", "uļ1ķī", "ūš1ka", "al1pe", "īg1nā", "uz1pā", "āt1rā", "īg1nu", "ik1lu", "āb1tā", "um1ji", "ab1so", "og1le", "ir1te", "īb1tā", "il1do", "em1zē", "ar1ģe", "ot1ve", "ap1gū", "id1vā", "ār1de", "āt1ne", "ēt1sa", "ad1do", "en1ja", "er1na", "ēk1li", "iļ1ņa", "uš1ki", "iz1nē", "oz1va", "ez1go", "us1bā", "ut1ri", "ur1lu", "ib1re", "ej1te", "ok1ho", "en1zu", "eb1rā", "em1tā", "ed1mā", "ah1ti", "em1ti", "um1sā", "az1tu", "ur1sī", "in1go", "ār1di", "ap1ņo", "īs1cī", "al1bi", "as1ni", "ek1se", "al1li", "uk1na", "al1nē", "iz1mē", "er1ce", "ūs1mu", "al1tā", "ul1fā", "ēk1lo", "az1ga", "er1zā", "ir1gu", "ig1rī", "en1dē", "eč1tu", "ep1ļa", "ēk1ta", "uz1dē", "ur1su", "īc1ku", "it1bi", "āk1kā", "āp1tā", "eļ1ce", "ed1rā", "ib1rā", "er1mi", "āb1rī", "iļ1ķi", "or1mē", "em1pi", "os1vā", "as1zo", "af1rā", "ež1pā", "ūs1nē", "ān1ve", "eļ1ķi", "oš1ga", "il1žu", "en1va", "īt1ra", "ak1ri", "up1tu", "ad1ka", "eļ1zī", "ir1nē", "ec1ve", "or1mu", "iz1mī", "īš1ļa", "ab1ve", "er1ri", "ū1dze", "ūz1ni", "in1ka", "īķ1sa", "ud1pe", "us1mē", "iz1rī", "on1rā", "aņ1kā", "at1ze", "āl1re", "em1ja", "im1sē", "īk1lu", "ek1va", "at1bī", "is1lā", "os1pī", "ār1jā", "as1mā", "ol1nī", "īg1ti", "em1po", "īg1tā", "ed1va", "ar1da", "or1po", "us1ni", "al1lā", "os1ti", "eg1da", "uz1bā", "ūt1rī", "ag1ni", "iņ1dē", "iz1zo", "is1me", "at1bi", "az1ti", "og1ra", "en1la", "at1do", "ap1zī", "am1ga", "us1ti", "oš1ķi", "is1tā", "at1la", "ēj1ti", "e1džā", "ec1ka", "or1ķo", "iz1pū", "uļ1zi", "er1de", "uk1ļu", "eh1ni", "ēg1to", "ēl1si", "ēc1nā", "ap1pā", "āl1no", "ar1hā", "at1gu", "ob1ļa", "ap1bo", "uļ1ķi", "uk1lē", "es1bi", "ar1žo", "iv1co", "el1mi", "ēr1ci", "ik1mē", "ap1da", "uz1ķī", "im1pu", "īk1la", "ag1ru", "iz1dī", "er1ņa", "at1ņu", "or1pi", "ēp1ni", "ūt1ņu", "eš1ta", "ar1ta", "un1ga", "oš1ļi", "eņ1ģi", "an1tē", "at1si", "or1te", "iz1rā", "ol1vi", "iv1cī", "aš1ko", "ām1ri", "āz1tu", "ek1sī", "ūk1tu", "ēk1ļu", "ir1sā", "el1ku", "ek1su", "aš1ļi", "iļ1ņu", "iz1si", "ir1gi", "at1ha", "ar1tu", "em1bu", "āt1sa", "ek1ļū", "en1tā", "iz1šu", "as1po", "ir1ta", "ab1re", "it1le", "ūk1pi", "uņ1ne", "aš1vi", "ām1pa", "ār1sē", "ok1si", "og1pa", "ut1rī", "in1ji", "ig1no", "iž1ļa", "ēb1ni", "uk1ma", "ēp1šu", "ol1vē", "ēz1ta", "am1kā", "ed1fo", "āp1ra", "ir1ce", "ul1li", "as1no", "ēt1ra", "on1ta", "ur1ņi", "ur1bi", "iz1cē", "us1ki", "eb1ša", "ož1me", "an1gī", "āv1ji", "ip1si", "ur1nē", "ak1ša", "eņ1ku", "ab1li", "il1vī", "is1kē", "om1pā", "ir1mī", "ip1lī", "ēn1mā", "ēr1šā", "āk1da", "el1nā", "ul1pe", "iš1ļo", "ēj1pu", "āl1lī", "ud1ko", "er1vi", "ak1tē", "īs1ka", "ag1tā", "ī1dzī", "at1vu", "ar1mē", "ar1sē", "eb1lē", "od1kā", "ūr1vi", "ot1ņu", "en1da", "az1du", "āt1nā", "oņ1me", "āl1ba", "eb1šo", "uz1mā", "an1zī", "ag1lī", "ot1bu", "il1po", "ēr1ķa", "ur1cā", "ej1bo", "az1ze", "iz1žo", "op1ļā", "īg1šu", "ēs1lu", "at1mā", "eg1lo", "īt1ri", "ir1tu", "ek1sā", "ik1ta", "eg1lu", "ur1vā", "un1bē", "uz1mū", "ež1zi", "eg1tā", "or1ma", "ob1ga", "av1ko", "el1ba", "ā1dzi", "at1ģi", "āg1ne", "ēr1za", "ed1rū", "iz1hu", "aš1ņa", "āb1si", "uz1ni", "et1pi", "āz1vā", "u1dzi", "en1tē", "āt1re", "ūv1no", "um1su", "iz1ci", "at1ra", "uz1ri", "or1ta", "āk1lu", "ik1po", "āš1ķi", "ār1pe", "ap1ķī", "uz1bū", "uz1pē", "uz1si", "ir1ža", "an1gā", "ap1šū", "i1dze", "at1ju", "at1fo", "is1ne", "ez1rē", "as1gā", "al1gu", "as1ti", "ūš1ko", "es1tā", "al1jē", "in1ša", "ab1le", "i1dža", "ēp1ja", "eb1ļa", "ub1le", "ab1tu", "ād1mi", "iņ1ķo", "ā1dža", "ek1li", "un1li", "ek1mē", "ok1lī", "ēr1pi", "ēr1pu", "iļ1la", "ep1ka", "em1li", "ez1na", "id1ma", "až1ne", "ir1re", "ēt1di", "am1zo", "ūr1fo", "ež1ga", "im1to", "ūp1nī", "at1du", "im1tā", "ūg1šo", "en1si", "al1ge", "al1dē", "eļ1ļa", "ap1vī", "ār1cu", "ež1ģa", "iš1re", "ār1ne", "ul1je", "ar1mī", "oš1ka", "īn1va", "ēr1ma", "ok1nu", "om1ra", "ap1jā", "us1ce", "un1mā", "ek1ši", "ob1lā", "ēr1sā", "et1ne", "uz1de", "il1bo", "it1pā", "ar1tē", "ed1ko", "ol1vī", "ot1rī", "us1se", "ēt1ti", "iž1ļu", "īz1de", "en1sā", "is1la", "ik1te", "ob1to", "ag1lā", "it1ko", "ep1ci", "āg1ti", "ūs1le", "ek1lu", "us1mā", "ār1ze", "īs1tu", "ar1kū", "ir1de", "ed1jū", "or1fī", "ēt1li", "ūs1mā", "el1no", "id1ru", "ij1ko", "er1ve", "ec1la", "aš1mo", "em1zo", "uz1bē", "er1fo", "eš1ķū", "ak1lī", "el1lu", "ib1li", "ek1nu", "ir1ņu", "aš1nā", "ēl1ga", "em1nī", "iz1vi", "us1te", "is1ha", "on1jo", "az1ka", "ās1ta", "aš1ta", "iz1vē", "er1nē", "uļ1va", "ab1lē", "an1žu", "oņ1ve", "il1bu", "em1pa", "ob1se", "em1jo", "īv1su", "er1co", "ur1to", "ēg1vā", "in1ci", "ak1ļū", "uz1šu", "eņ1la", "ūg1šu", "āg1tu", "ūg1ti", "īt1va", "er1ka", "ol1šū", "iz1ču", "us1ke", "ur1bē", "āp1ri", "ak1ļa", "ūs1kā", "os1va", "er1ze", "ēt1nī", "āj1ku", "en1žo", "uļ1ve", "is1ķe", "īg1si", "ur1me", "ur1bī", "on1hī", "an1di", "āj1mā", "ep1ļē", "aš1ņu", "or1vi", "ad1vo", "az1gu", "uz1lū", "it1pi", "ak1šo", "ap1si", "ās1to", "in1te", "am1sa", "ap1šo", "iz1vo", "uz1ve", "uļ1ņe", "uz1fo", "uv1sa", "uņ1ķa", "uz1ta", "ug1ļu", "ek1lī", "ok1se", "ok1vi", "až1ņa", "oņ1sa", "ab1hā", "iņ1ci", "ug1šā", "ek1rū", "ij1pa", "ok1ve", "ap1he", "ut1bo", "el1zā", "or1di", "an1go", "iņ1zi", "ek1mī", "ap1bē", "on1gi", "aļ1me", "ab1ru", "ig1ti", "ur1be", "u1dže", "ek1vi", "ur1ze", "ūm1va", "um1mu", "aļ1bu", "āt1ņu", "om1re", "ug1le", "ez1ta", "am1bu", "at1cē", "ēp1ju", "ez1sa", "at1ni", "an1me", "uz1no", "ār1lē", "ul1kā", "ar1pu", "iz1ru", "an1ži", "eņ1ķē", "od1ni", "is1na", "em1zā", "ār1se", "at1ri", "it1ru", "uš1čo", "il1ve", "al1ta", "oš1vī", "ēr1po", "il1pi", "ap1pē", "is1ķē", "ēr1sa", "ār1ku", "oļ1še", "uz1pi", "av1ro", "og1rū", "īg1ņa", "ī1dzā", "il1ze", "ez1ve", "ūr1te", "on1dā", "up1da", "iz1nā", "im1di", "ul1gi", "az1mē", "ā1dze", "as1lē", "ok1ļa", "ak1ce", "ūn1ve", "ek1lo", "ok1tā", "ap1jo", "ēr1gu", "il1nā", "iz1he", "uļ1ņē", "īt1ru", "īd1se", "ak1rē", "āt1ro", "at1da", "iz1žā", "ol1tē", "ūt1sa", "as1ku", "īn1bū", "īv1si", "or1no", "ot1ce", "ol1de", "ab1pa", "ēr1pe", "oņ1ko", "ok1na", "ev1ze", "us1ri", "ip1ti", "eķ1tu", "op1ta", "īs1ra", "er1zē", "of1rā", "ur1dē", "ot1ka", "is1zi", "ēk1mī", "iz1ne", "ag1rī", "on1si", "ir1pē", "er1ni", "ās1vi", "an1za", "ēl1gā", "ap1du", "ek1lā", "ār1ņa", "um1pa", "an1fa", "ār1pa", "uļ1so", "ar1pe", "eš1ļa", "ēr1vi", "ef1rā", "og1la", "it1pē", "in1je", "ut1ma", "ig1nu", "ēr1te", "az1gā", "āl1de", "ār1zi", "on1fe", "on1ma", "ib1ta", "at1žu", "it1lī", "it1ra", "ok1be", "is1žē", "ēz1ma", "ār1ti", "er1ru", "az1ja", "ēg1le", "an1ni", "az1lē", "uk1ni", "at1lī", "eņ1ma", "ik1vī", "ap1be", "ar1ne", "ip1ta", "ap1žu", "az1pu", "ak1ra", "ul1ve", "is1pē", "ež1sa", "iv1ma", "ār1šu", "ek1na", "os1la", "ik1tē", "ēs1la", "es1la", "at1ki", "iz1lu", "ur1le", "īd1ni", "it1se", "ej1ma", "iņ1si", "ār1lā", "us1va", "us1ci", "if1te", "el1ta", "uz1ga", "ak1tū", "or1ve", "iz1ce", "oš1kā", "ēt1ru", "ad1rē", "et1ņu", "ik1šo", "oz1ma", "ir1ti", "uz1da", "ūm1de", "el1tē", "ēz1ti", "it1rē", "aņ1ve", "ap1zā", "at1ga", "up1de", "ās1na", "ap1tu", "āp1ņu", "in1tē", "ās1ne", "ap1re", "ir1ka", "uz1tī", "uz1go", "at1ļā", "ad1rū", "ir1zi", "īv1mā", "er1sa", "in1ti", "āb1ju", "iv1si", "ep1jo", "e1dzē", "el1si", "ij1žu", "an1du", "iz1tā", "il1lā", "ul1bā", "is1cī", "ag1vi", "āj1rū", "os1lo", "īk1lā", "āb1to", "al1nu", "āt1ki", "eņ1ķī", "ol1kū", "un1pi", "ec1re", "uz1ču", "ul1dā", "en1ro", "ir1di", "en1ču", "ul1jo", "ul1ce", "az1vē", "ap1jē", "āl1zī", "ūš1ļo", "og1ve", "ag1si", "on1su", "og1ca", "ol1gu", "ār1zā", "ig1li", "iš1sa", "ot1ru", "al1vā", "am1tī", "ās1te", "ud1rā", "ēt1ko", "uz1jē", "āl1gu", "et1me", "ed1ra", "at1cū", "ol1zā", "uz1žā", "ul1gā", "ok1ļu", "īv1ze", "at1ve", "en1gu", "um1du", "o1dzī", "up1jo", "ap1di", "ur1rū", "īv1mū", "ūk1to", "iz1ņu", "uz1šā", "uļ1bū", "ez1pi", "in1vā", "al1ja", "in1ve", "iz1bu", "ap1šu", "us1ze", "ob1rā", "ēk1me", "il1le", "ēz1to", "īk1de", "ēj1lu", "ar1zo", "ec1me", "ar1za", "ol1bu", "ēj1pe", "ul1te", "īd1pa", "al1ki", "en1zo", "iv1ka", "āl1te", "ok1no", "a1dze", "it1va", "ār1jū", "un1go", "iz1ko", "u1džo", "up1ti", "on1li", "iz1čā", "il1gā", "er1gu", "iz1za", "in1gi", "ū1dzo", "ur1ni", "um1bē", "ed1mu", "ēk1tu", "ār1so", "id1lu", "ar1me", "ir1ši", "ik1ša", "ej1za", "ap1ha", "īv1lī", "as1ga", "eg1šu", "iz1bā", "ev1ju", "ap1ce", "ar1di", "em1ju", "am1bo", "iņ1ma", "et1si", "āk1tī", "is1da", "id1pu", "iz1le", "et1no", "ul1da", "ur1tā", "em1ga", "ēr1ša", "or1mi", "ak1kā", "iz1mā", "ab1vē", "ok1pi", "ir1bē", "īg1tu", "ir1sī", "eņ1ci", "iz1sā", "uz1he", "eļ1ķe", "eb1kā", "in1če", "ar1mo", "ēp1šo", "eb1rū", "on1cū", "er1pa", "īg1na", "us1ta", "ār1rū", "is1lī", "ēg1li", "eš1re", "uz1hu", "ak1re", "īn1da", "el1de", "um1ja", "ak1nē", "ob1tu", "ek1to", "ēr1bē", "ir1ci", "ih1ti", "ov1nu", "al1be", "aļ1da", "ot1rā", "ēr1ķē", "ud1ma", "āv1ju", "ik1li", "ar1du", "uk1su", "ak1sī", "us1le", "āt1bū", "ug1ša", "ag1mā", "ēr1tā", "uz1nā", "uz1čī", "ēs1tu", "iv1tū", "un1ko", "er1mē", "or1ci", "un1ka", "īt1ci", "ūk1ni", "ār1gā", "oz1ta", "is1pi", "ef1ko", "āš1ņa", "ig1ni", "ur1cī", "aņ1ķī", "ec1ti", "il1tu", "ul1su", "an1jo", "ek1vā", "al1po", "uk1tī", "āj1ni", "ām1ja", "ēr1li", "ah1tu", "at1vē", "il1nē", "an1ke", "as1ci", "er1je", "es1nī", "id1gu", "ān1va", "us1fi", "ār1si", "ēd1va", "ul1vā", "el1ni", "eš1ma", "un1la", "al1ma", "un1du", "an1ho", "ul1šu", "el1mu", "al1žī", "el1rū", "ul1ci", "ar1ģi", "at1vo", "ēr1bi", "il1vē", "us1me", "at1li", "uz1mu", "av1da", "ēg1tu", "uz1ļu", "eg1vī", "ēb1to", "ad1ju", "ir1mo", "or1fē", "el1nī", "iž1ļi", "em1de", "ap1pa", "ūg1ša", "ul1bu", "ēr1mu", "as1vi", "eb1ļā", "as1pi", "ir1sū", "uz1vē", "ās1nī", "ur1zā", "ir1bo", "īk1da", "it1nī", "ar1pa", "el1do", "ēr1le", "or1fi", "ēt1la", "aļ1ļi", "am1bā", "āš1ņā", "us1jo", "eļ1ni", "eļ1nī", "us1ja", "in1gu", "ig1nī", "ed1ru", "uj1bi", "os1te", "em1va", "ar1lo", "ig1lu", "ak1lā", "un1ba", "iz1bū", "am1ze", "is1ti", "it1ne", "uz1sā", "ep1lē", "iz1bī", "ār1nē", "eg1la", "iz1du", "ēg1dē", "ān1za", "es1lo", "im1de", "at1hi", "ar1ķi", "iņ1ve", "ēr1zē", "uz1lā", "ir1vi", "ār1ru", "oš1ļu", "at1te", "at1žā", "un1su", "on1tā", "od1la", "ār1ģe", "ēs1lo", "al1kā", "aš1pa", "ūz1ne", "ār1čā", "ur1je", "uļ1ķa", "ak1ņā", "īr1fa", "es1kū", "ār1ši", "ar1ba", "ār1ša", "ir1dī", "id1nī", "uk1da", "uz1žu", "ār1va", "ot1ra", "am1do", "iz1ģi", "ep1lī", "em1si", "āl1ta", "in1su", "ol1ni", "ub1ļu", "iz1ņe", "ap1ča", "el1za", "ob1jā", "uk1tē", "ap1mā", "al1ri", "ot1za", "ir1dā", "av1ni", "ūr1mu", "it1mi", "og1ļū", "er1za", "ek1lē", "ūg1te", "it1mē", "oš1ņa", "āk1le", "aļ1čū", "ān1lī", "e1dzā", "um1be", "et1rī", "ek1sa", "al1le", "uļ1ka", "iv1ni", "ēd1mē", "il1dī", "ul1ti", "ot1le", "at1gā", "iņ1sē", "at1ca", "aļ1rā", "ab1su", "īn1bu", "ip1rī", "uz1ra", "uļ1de", "em1ko", "at1čo", "op1vē", "a1džu", "uz1ķi", "ir1ma", "ur1bo", "iz1pe", "em1tu", "āč1sū", "um1šo", "ap1ķē", "āl1sa", "as1fa", "ož1ņa", "em1dī", "ūz1da", "el1pi", "ir1sa", "āz1mo", "ed1ro", "il1si", "īk1na", "uz1cu", "os1pu", "ag1šo", "iv1va", "īd1vi", "iņ1ro", "ār1ču", "id1ne", "eg1pu", "um1ko", "uš1ķo", "ār1ka", "īļ1bā", "ak1ve", "ez1gi", "or1la", "aš1pā", "īg1va", "ir1šī", "iļ1li", "ēr1sī", "um1ši", "īm1ju", "ub1je", "ep1li", "at1po", "āl1ma", "am1bī", "iņ1ķi", "āj1ra", "as1tū", "eš1tū", "en1te", "īv1ma", "et1nī", "āb1pu", "os1ku", "is1tē", "ok1ļi", "iz1rē", "iz1ži", "el1nu", "iz1pā", "ul1tā", "oļ1ko", "ēv1vā", "os1lā", "or1tī", "āb1tī", "af1ro", "ēl1zī", "āl1ru", "an1šu", "us1tā", "or1do", "er1ci", "īs1ri", "ēd1ra", "im1da", "ar1be", "il1ku", "iz1mū", "it1rā", "up1ša", "uz1sū", "us1ru", "ir1do", "ur1ga", "ek1re", "al1nā", "ok1ni", "ek1šu", "ob1rē", "ir1žo", "ār1dī", "eļ1ma", "aš1ci", "il1pa", "ū1dzu", "ek1ša", "ār1mo", "il1gi", "uš1ņa", "el1mū", "ās1ka", "ēk1ša", "or1ķi", "ār1nu", "az1ru", "ās1tī", "im1šo", "um1ze", "īv1so", "ūt1nī", "ap1fo", "ag1šu", "il1ma", "īc1ga", "ēr1tu", "es1mi", "ūs1mī", "īs1ti", "ej1vi", "uz1na", "on1na", "id1ro", "el1mē", "os1pe", "op1lu", "ēc1ka", "ar1pā", "up1ci", "ūs1ma", "ag1re", "ūž1ņa", "ol1ga", "an1ta", "un1di", "al1ko", "ul1lā", "ir1ko", "ī1dzo", "os1vi", "es1lē", "us1ma", "ec1mo", "iz1ve", "az1ra", "āl1cu", "id1rā", "an1ža", "oņ1zī", "um1tā", "af1ra", "um1vā", "ār1rā", "ab1vī", "ū1dzī", "i1dži", "ēg1šu", "in1ža", "ed1ņe", "ec1tū", "or1ne", "eg1ma", "āp1ja", "ār1šī", "ep1re", "is1ve", "ol1fe", "op1ci", "as1te", "ār1šū", "ež1ku", "iņ1tū", "es1te", "ek1ta", "ēl1cu", "ār1na", "us1jē", "il1te", "āv1ra", "āv1ce", "aļ1va", "um1ni", "ak1ni", "ār1rē", "et1ri", "u1dzī", "on1tu", "up1le", "am1bē", "in1to", "ād1nī", "in1ta", "ol1ma", "īk1bu", "an1žā", "āb1ma", "ur1ķī", "ak1vi", "at1nu", "is1bi", "ol1ve", "og1ne", "īv1bi", "ok1lu", "ār1čī", "ug1ti", "īn1ra", "ig1to", "uļ1ģi", "ār1ma", "um1jī", "ē1dze", "ap1rē", "is1nā", "ūp1ko", "un1si", "il1tā", "ap1ņu", "ol1be", "os1mi", "ig1la", "īl1ni", "or1bū", "ip1ru", "ak1cī", "eņ1ķa", "ez1gī", "oņ1sā", "āz1ni", "ān1pā", "us1pu", "ād1ne", "us1po", "īn1de", "āk1ba", "ā1džu", "ur1sē", "at1ba", "āp1ti", "ūv1vi", "ah1tā", "ut1nē", "em1be", "ap1na", "ul1pa", "ob1je", "āk1ļa", "ib1ti", "os1ve", "ud1vi", "en1pā", "āv1ni", "iz1vā", "eg1ro", "op1si", "ap1pu", "am1ni", "at1ta", "ak1li", "es1ne", "uv1ju", "ar1rī", "i1dzu", "es1rē", "ob1lo", "es1li", "og1ma", "uš1ko", "an1zā", "ig1tu", "an1be", "im1pē", "ic1sa", "eb1ka", "uz1zī", "oš1ma", "at1nī", "am1dē", "uļ1ba", "ār1mu", "up1jā", "ār1he", "es1mē", "er1ha", "ēl1di", "ih1re", "op1ja", "il1go", "uv1ve", "ul1pu", "il1du", "aš1mi", "āl1ve", "ār1lu", "ez1pu", "at1so", "īs1ca", "ek1ni", "ēg1nā", "ūt1ro", "ap1ķe", "ab1pu", "iz1nu", "iz1ņē", "ēk1ne", "ež1jo", "es1po", "ās1no", "ūv1ni", "aļ1sa", "aļ1ķī", "ē1dzo", "ip1no", "ap1vā", "īk1tā", "ār1čū", "uz1ze", "uz1nī", "on1du", "ap1hu", "ez1nā", "uk1ļi", "ul1bi", "ad1pē", "at1pē", "ēr1zu", "uz1čā", "ēs1to", "aš1gā", "āt1no", "en1vē", "is1be", "et1rū", "āk1ta", "uk1tū", "ij1ni", "ug1šu", "us1ķi", "ij1ve", "el1šu", "ul1vē", "ēt1rī", "ag1ļē", "es1pe", "ēr1šo", "ak1rā", "eļ1pa", "ec1rī", "ez1lo", "ēk1lu", "el1va", "ār1ķi", "eļ1po", "am1pa", "ūt1ni", "iš1zi", "id1mē", "uz1dū", "ēk1la", "iņ1ta", "ol1tā", "īk1ša", "īt1nē", "iļ1jū", "it1tū", "is1pa", "ap1sā", "iz1so", "ež1ģī", "ud1ri", "oņ1nā", "am1lū", "iz1pē", "ak1vā", "al1te", "ad1ri", "ak1ga", "ār1bā", "ap1rī", "or1bē", "af1ti", "uz1du", "at1ši", "ug1tu", "iv1zi", "an1se", "eg1to", "ūd1rā", "os1lē", "ār1ri", "el1ga", "ēr1de", "ir1tē", "em1ļa", "us1na", "im1do", "āt1ve", "ur1ma", "ur1ģi", "īg1ni", "īd1ko", "ūd1ra", "iz1vī", "ed1rī", "at1jā", "il1mo", "e1dza", "ēk1to", "ār1ģē", "iļ1ņi", "iz1bo", "as1ro", "um1zo", "or1pu", "ar1kā", "ik1ko", "ap1ca", "īs1ba", "as1vā", "at1mo", "uz1pu", "ēn1ga", "am1ba", "uk1ši", "ag1to", "iz1zi", "uz1tu", "ul1ni", "er1lī", "eš1ķē", "en1zi", "at1zo", "ir1ša", "ez1si", "us1so", "am1fī", "ig1tā", "e1dzu", "ap1kā", "ār1ro", "es1vi", "ag1la", "ir1mē", "ad1ve", "it1di", "um1no", "ap1lā", "in1ga", "op1šo", "a1džā", "er1po", "uz1bī", "un1ra", "uk1ta", "ar1ve", "īn1sa", "ap1vi", "ēr1ce", "og1lū", "aš1li", "aš1po", "e1džu", "ap1mu", "ag1lu", "or1be", "am1ne", "ol1di", "iņ1ģe", "it1na", "eļ1ņu", "uz1lu", "ās1me", "ār1sī", "ur1ku", "ur1pe", "ep1na", "ut1na", "ac1da", "uz1le", "ik1ka", "ar1fi", "ab1si", "er1zī", "ār1ļu", "ap1ja", "ul1tu", "is1di", "an1ge", "ar1lī", "ug1tā", "on1so", "ud1kā", "eļ1ko", "iš1ķī", "um1po", "ik1ļa", "ūg1tu", "ār1gi", "ēr1ni", "et1va", "ap1lo", "ēr1ķī", "iz1tu", "īv1la", "is1ju", "od1ba", "az1ro", "ūs1di", "up1tū", "ūs1nī", "eļ1lo", "ap1bī", "um1ta", "īs1tī", "eb1rī", "uš1ķē", "ep1tū", "eb1lī", "or1že", "up1ra", "ēt1ma", "ak1ro", "ir1la", "at1či", "og1lu", "ūs1ku", "ut1rā", "il1no", "ec1de", "an1bā", "az1vi", "ān1ga", "ēj1ce", "eļ1ve", "er1zi", "el1sa", "īk1ta", "īt1rā", "ār1fe", "um1ka", "ir1si", "ag1ļi", "ip1ka", "ak1šā", "ar1ki", "ek1ļā", "ar1bā", "ed1da", "os1le", "iv1ja", "iv1kā", "ūk1šo", "uļ1vē", "ēk1tā", "oš1ņu", "og1de", "ok1ļo", "ul1dē", "ik1sa", "am1pē", "ūs1no", "um1to", "us1ču", "od1ka", "as1lo", "op1mī", "up1to", "oļ1ti", "ū1dzi", "īr1ma", "os1kā", "al1dī", "ok1va", "el1tu", "ap1pi", "is1ca", "os1ce", "āl1vi", "ir1mi", "uš1ķi", "oz1tā", "is1te", "ig1ša", "at1rā", "ar1žu", "os1kū", "im1ša", "ār1to", "um1bo", "an1sa", "aļ1ļa", "ēk1di", "āj1ka", "ak1tī", "ar1tī", "os1tā", "eg1re", "im1sa", "ul1sī", "ag1me", "il1lē", "on1ce", "iz1jā", "iž1ci", "or1ku", "az1no", "im1pā", "of1se", "op1ļē", "āl1ka", "ēs1ti", "oņ1de", "er1la", "ār1ņē", "uz1ku", "ab1pi", "ar1na", "em1ša", "er1ku", "im1pe", "in1tī", "es1mī", "īv1do", "uz1mo", "uš1mi", "ak1lē", "aļ1la", "up1lā", "ok1ta", "ūv1me", "em1žē", "āl1rū", "is1pā", "ar1le", "eš1va", "eņ1rā", "ad1ne", "on1ku", "īs1si", "ab1da", "il1lu", "ar1va", "an1ko", "ez1bē", "ež1li", "il1ga", "at1tā", "iz1kū", "ar1nu", "ir1mā", "ad1je", "ik1ra", "an1bu", "op1ri", "ik1vā", "ek1šē", "ap1ru", "uz1ņi", "iz1be", "at1vi", "it1ro", "ur1tē", "en1po", "ap1jū", "iz1ģī", "ol1rā", "ar1go", "ah1lo", "im1pa", "ī1dzi", "us1lu", "ir1žu", "at1cu", "am1vi", "ag1ti", "im1ju", "ep1ļā", "ec1ga", "on1di", "ān1kā", "is1fu", "at1ņē", "āņ1ti", "at1čū", "az1pa", "ik1pa", "ov1bo", "ad1si", "er1lū", "ir1bā", "um1tu", "uj1ko", "ež1vī", "ab1lo", "ūk1la", "os1pa", "ul1to", "ap1žē", "āv1ma", "ez1zo", "eg1mā", "ap1to", "iz1ku", "os1lu", "or1vā", "ok1rī", "os1to", "al1di", "is1lu", "ē1dzi", "āt1li", "aļ1li", "an1ču", "eb1la", "eņ1ķo", "ak1rū", "en1ri", "ez1be", "ēr1nē", "eļ1ņā", "ab1rū", "un1sa", "iz1zī", "až1da", "ūv1so", "aš1ķī", "it1kā", "ap1bu", "ē1dzē", "a1džo", "īb1šu", "us1lā", "ad1re", "ej1le", "ek1ro", "at1su", "ap1ļu", "ež1ci", "er1ra", "ez1vē", "aļ1ko", "og1re", "ur1ja", "er1zu", "ār1me", "av1tī", "on1tē", "at1fi", "ir1bi", "ob1li", "uz1jū", "aš1ļa", "āb1ra", "ur1bā", "ap1nu", "al1ģi", "an1vī", "on1dē", "ep1tē", "ez1de", "um1de", "up1ju", "īg1te", "od1de", "ok1sā", "at1jē", "ār1zu", "um1di", "eš1di", "eļ1mo", "iz1de", "in1gā", "ač1gā", "ip1se", "iš1ķē", "ūn1ze", "āk1to", "eš1vī", "ēņ1ve", "ap1la", "oņ1ni", "im1ni", "ut1ro", "et1de", "ep1pa", "aš1re", "up1ja", "us1pi", "uj1la", "āt1ti", "op1le", "an1nu", "ēj1mā", "as1lā", "am1mi", "az1dē", "am1po", "īk1pi", "ūk1tā", "ār1go", "ap1ma", "uf1ra", "īg1ta", "ad1ca", "ār1ķē", "ek1vo", "am1te", "iz1zā", "ar1ke", "ēr1mā", "en1dā", "eg1lī", "at1ci", "ur1ci", "āg1la", "af1ri", "īk1ze", "er1cu", "ad1va", "el1ci", "ep1no", "ag1ne", "ār1zī", "eg1rā", "eš1ķī", "an1ti", "iļ1dā", "ud1mu", "āl1li", "ub1ve", "uz1pe", "uš1ķu", "eļ1tē", "or1čē", "og1pu", "eg1nē", "op1la", "al1dū", "ef1rē", "īt1ni", "ek1nā", "āz1be", "er1ti", "er1no", "os1fo", "ēr1ga", "at1ka", "er1go", "or1ķe", "er1mo", "un1da", "an1žo", "ez1mi", "ef1pa", "ek1rī", "ūp1li", "eļ1te", "ār1tā", "ot1ri", "ud1li", "us1zā", "as1tē", "iv1da", "is1ko", "il1za", "īg1to", "uz1bu", "er1tē", "ap1su", "es1zi", "u1džu", "uk1li", "iz1lū", "it1ti", "īk1kā", "es1pī", "uz1vu", "ūž1di", "ūs1li", "āl1po", "ok1re", "āk1ļi", "īž1me", "eš1ķa", "at1ķe", "āt1rī", "iņ1ši", "ap1ga", "um1jā", "īm1ja", "ez1ro", "iz1jē", "es1sū", "eš1vā", "og1ri", "ār1lo", "al1so", "iz1lī", "is1kā", "ep1ti", "eg1bi", "ār1la", "ar1vo", "ēp1si", "ār1gū", "eļ1ga", "uz1kū", "iļ1le", "o1dze", "an1sē", "at1no", "ok1ma", "al1sa", "ek1ri", "ep1le", "en1rī", "eš1de", "ez1jū", "ik1sē", "al1gi", "ep1ro", "īv1ci", "id1po", "oņ1pi", "od1ra", "ej1pu", "ir1go", "el1ma", "in1se", "et1sa", "īb1ša", "aļ1ķa", "ol1la", "at1rī", "at1dē", "īļ1si", "ār1ņo", "ur1mi", "ep1lo", "āg1šo", "ec1to", "ob1ve", "up1tā", "āt1ra", "os1ko", "al1zi", "el1du", "iz1vu", "ār1pi", "at1šā", "ul1tū", "il1dē", "ap1mī", "ar1lē", "er1tā", "us1mu", "is1hu", "oņ1si", "āz1ve", "īp1ne", "āz1to", "iš1ma", "ol1vā", "em1zī", "āl1be", "al1šo", "us1ko", "es1ga", "in1fa", "āj1vi", "at1di", "at1ži", "ap1bā", "ah1ta", "ēr1nā", "el1me", "īs1le", "iz1ja", "ēb1ti", "es1ka", "ul1be", "ep1ri", "ež1zī", "ot1vē", "as1la", "at1ru", "er1mā", "ed1re", "ēj1ma", "av1ci", "ak1do", "us1nē", "eš1ga", "ap1cī", "āt1zī", "as1pa", "āk1ša", "es1ta", "ib1lo", "er1ģi", "ēr1mī", "eļ1di", "at1lā", "ak1te", "aš1vī", "og1li", "al1ga", "aš1kī", "ār1fi", "es1to", "ūt1pa", "on1ko", "ār1ci", "ām1ju", "el1ce", "īs1tā", "ec1ni", "al1ku", "at1hu", "er1fe", "ār1mē", "ēr1mū", "ul1di", "on1ga", "ār1pē", "ar1pē", "ās1nā", "am1fi", "āt1pe", "an1co", "oš1ņo", "eļ1ņi", "aš1no", "īr1na", "āk1šo", "et1ko", "ig1ma", "an1te", "an1ba", "e1dzī", "ek1šo", "um1bu", "ir1gā", "om1le", "ūm1ve", "al1na", "iz1va", "og1lā", "ūk1ta", "il1so", "uz1ma", "il1ša", "oš1ķū", "at1zī", "ās1mo", "ēr1na", "ūž1ņo", "um1nī", "eg1vi", "al1tū", "on1se", "iz1ža", "ek1te", "ep1lū", "ep1se", "os1tī", "as1ta", "ār1be", "iz1ša", "oš1ķo", "āg1ri", "īv1ku", "āt1na", "aš1ķi", "ēr1dē", "ir1tā", "ak1sa", "as1to", "az1jū", "un1me", "ap1pū", "ep1to", "ur1ve", "en1ma", "ēc1na", "eņ1ķu", "ār1le", "um1zi", "uz1cē", "ez1pa", "os1ka", "ab1rī", "er1ģē", "et1ra", "īt1na", "ap1čī", "ok1ri", "eš1pe", "iž1ma", "is1ša", "āz1ģe", "on1dī", "ep1tā", "am1zi", "īg1lo", "iv1re", "at1lu", "āl1ci", "ez1vā", "iz1ti", "al1mā", "ug1li", "il1bi", "iļ1ķu", "aš1ņā", "iv1ba", "ik1ši", "īk1me", "ap1kū", "un1gi", "uk1nā", "al1vo", "up1lo", "oz1vē", "ēj1ka", "ap1rā", "ad1li", "uz1ju", "el1pa", "en1li", "at1ču", "īk1bū", "at1dā", "up1ta", "iļ1ņo", "ar1pī", "ak1vē", "ēc1ga", "eb1ne", "af1li", "ol1ka", "ez1fo", "in1ki", "an1gi", "ak1lo", "up1si", "ej1va", "ag1tu", "ek1ļo", "iž1vī", "as1zi", "ir1lī", "en1du", "uz1tā", "if1lo", "eļ1ļo", "ob1lī", "um1sū", "on1ci", "an1de", "es1lī", "ēb1si", "ib1tā", "il1da", "uķ1ko", "uk1ša", "āj1pe", "ej1bu", "ūv1ka", "ar1fa", "oz1ve", "īk1rā", "up1mā", "ūs1to", "ir1nī", "ag1lo", "oņ1ra", "iz1sū", "īg1ce", "an1dū", "iņ1vī", "e1džo", "ār1da", "īn1mā", "ār1ju", "er1vo", "ar1se", "i1dzē", "iļ1pi", "it1pu", "ur1sa", "id1da", "iš1ko", "eš1ķo", "ār1po", "ev1kā", "īk1rū", "os1ri", "ik1no", "ār1tu", "ur1ko", "oz1tu", "om1pi", "ar1šē", "on1nu", "uņ1ģi", "ur1šu", "ab1rē", "īr1kū", "en1cē", "em1je", "ap1va", "av1ļa", "aļ1bi", "uz1hi", "in1ča", "on1fu", "ār1sā", "oš1mī", "uz1rī", "il1ka", "un1tē", "as1mi", "iz1ga", "ār1mā", "āk1tā", "ik1lo", "im1pi", "or1pa", "aš1ro", "um1mē", "īn1te", "ež1rū", "ab1sa", "uz1mē", "a1dza", "as1sa", "un1gā", "ag1mī", "eš1mī", "eg1ša", "ak1ru", "ēt1ri", "or1se", "us1no", "it1mā", "uz1po", "in1čo", "iz1su", "is1to", "uk1vi", "ir1to", "um1ju", "uļ1sū", "in1dā", "um1tē", "ar1šo", "īk1ko", "er1me", "uk1si", "īv1pi", "ēr1mē", "as1tī", "in1kā", "en1za", "al1bu", "or1ģi", "a1dzī", "en1sa", "īs1ta", "eļ1de", "ū1dzē", "uk1tā", "ec1vi", "ūk1le", "ap1čo", "ēd1ni", "ān1ce", "if1tu", "īk1di", "āl1va", "ap1gu", "en1de", "ar1de", "ap1mū", "on1te", "es1da", "ud1ci", "at1se", "ūp1ni", "in1ha", "ap1de", "al1ci", "ir1pu", "um1va", "ok1tu", "ug1lī", "aņ1da", "ep1ša", "el1su", "īk1si", "eņ1ģe", "aļ1fi", "er1si", "op1ju", "od1le", "īt1pa", "ak1nā", "ap1nē", "ar1dī", "ek1zē", "at1zi", "āt1ka", "āl1mē", "em1za", "um1pu", "ap1žo", "ēj1sū", "en1le", "iz1lē", "er1zo", "um1dā", "ur1žu", "eh1no", "ab1ka", "īs1vē", "īb1šo", "as1se", "ul1lē", "ir1ki", "at1ča", "uļ1ķe", "āz1ma", "ip1nu", "ar1nī", "īg1lī", "ad1ra", "ez1ti", "īk1ra", "ūr1zi", "ap1vu", "ib1la", "īt1kā", "iļ1da", "ēl1ko", "ob1la", "o1dza", "ep1nī", "es1ri", "up1ji", "eļ1ku", "ik1ve", "es1vē", "er1lo", "um1do", "ik1lā", "em1žo", "is1so", "om1ju", "ij1ka", "en1ni", "āz1ne", "īv1di", "if1to", "un1je", "er1da", "en1kā", "ūt1ra", "en1ge", "āp1ji", "oņ1kā", "al1vi", "ēr1zā", "en1ga", "īr1ku", "ar1te", "up1rī", "or1ti", "ar1ķē", "el1lī", "iš1la", "an1no", "ec1pi", "ēk1šo", "an1da", "āp1šu", "iļ1ru", "ež1lī", "ed1rē", "ed1ka", "at1kū", "īb1si", "ež1ņa", "am1va", "un1dī", "ār1nā", "al1me", "uļ1ze", "es1tē", "āj1ba", "āp1šo", "ap1po", "en1zī", "er1sī", "ig1ro", "at1bu", "um1sē", "el1cē", "ās1ni", "ar1pū", "od1ve", "oz1ga", "in1do", "uz1mi", "un1mē", "uz1ka", "ig1ne", "et1pa", "ol1si", "ab1ra", "on1to", "os1kī", "aš1ķa", "iz1se", "īn1pi", "eb1ru", "es1nu", "ūt1ru", "ik1ri", "as1lu", "iz1la", "uz1ci", "at1tē", "on1da", "āp1ša", "ēp1ne", "or1ce", "ep1rā", "ūr1mā", "ež1vā", "up1jē", "eh1lo", "īg1ņā", "us1li", "ec1tē", "āt1mā", "ak1nu", "u1dzē", "ez1ne", "ar1dē", "ēk1da", "et1nē", "ež1ro", "ir1kū", "ap1lū", "īs1tē", "us1ba", "ēj1zo", "ī1dzu", "at1le", "ēg1na", "ep1tu", "i1dza", "af1ta", "ep1de", "īļ1ve", "od1ro", "um1šā", "en1se", "eņ1ra", "as1tu", "at1pu", "eļ1da", "āb1ba", "iš1ķa", "āg1ša", "il1bā", "ūš1tu", "ud1sa", "at1ģe", "um1šu", "aš1mā", "en1so", "eg1ba", "am1re", "ud1ro", "ov1na", "ik1re", "ār1rī", "ār1ni", "ež1ra", "i1dzo", "īs1to", "an1še", "ar1ju", "iz1ģē", "az1dū", "ēr1me", "oņ1ga", "ēr1tē", "id1mo", "īs1fi", "at1mī", "al1se", "il1ha", "ep1ja", "il1ce", "of1ra", "um1pi", "uz1rē", "aš1ņo", "el1ža", "ap1ņē", "ar1bu", "iņ1re", "ij1pu", "er1žo", "ol1ta", "ez1va", "aļ1ķi", "il1nī", "ag1no", "ul1lī", "ib1ri", "āt1ri", "um1pī", "ūg1tā", "is1fē", "ak1su", "al1to", "el1žu", "ap1ģē", "iv1ga", "al1za", "aļ1dē", "ēr1si", "ār1ņi", "et1rā", "aļ1ņi", "um1zu", "ūg1si", "az1mā", "in1ko", "īg1ri", "il1šu", "er1va", "uz1tū", "ec1cī", "īs1li", "a1dži", "u1dzā", "am1žu", "uz1fi", "iz1nī", "ir1dē", "ev1ga", "iz1ča", "iz1pu", "up1šu", "iz1gu", "in1ce", "uz1dī", "āb1šu", "or1ba", "i1dzā", "a1dzo", "es1tu", "āz1ti", "el1mā", "ap1vo", "ub1lē", "aš1ķē", "īs1vi", "en1jo", "as1ki", "ik1tī", "ok1le", "ur1ķu", "in1gī", "ek1ļu", "uz1to", "uk1le", "ir1bu", "āg1to", "uz1ne", "as1ko", "ek1rē", "ur1do", "ob1ta", "ār1jo", "uk1no", "ot1lī", "ur1te", "uz1re", "at1ma", "at1žo", "ēd1ne", "at1na", "us1ka", "al1vu", "ib1šu", "iz1dū", "ug1ko", "uz1vo", "at1zā", "eg1zī", "ūš1ga", "il1ni", "uz1ro", "el1pu", "ūg1to", "os1mā", "ul1ma", "as1ma", "al1ni", "ut1ra", "ug1šē", "at1sē", "in1fo", "eļ1bū", "uz1jā", "ēt1va", "ēk1ba", "ik1di", "īg1le", "op1ne", "ur1vī", "ār1dū", "ir1cē", "ēr1sē", "as1ja", "es1mo", "il1ci", "az1li", "em1šu", "ap1lu", "er1nā", "ot1rū", "uz1čo", "as1dē", "os1mo", "aļ1ga", "un1te", "at1ne", "om1ba", "ok1ra", "en1vā", "ap1sē", "an1dē", "ol1dē", "ap1ļa", "ek1sē", "ad1so", "iz1po", "uz1lī", "īk1ne", "ud1ra", "uz1ko", "ur1ta", "ep1šo", "ud1mi", "ār1ki", "eļ1vi", "ūk1ti", "īg1ro", "iņ1ti", "ur1du", "eg1tu", "ār1bo", "es1mu", "ar1ce", "os1ki", "iz1tē", "ev1mā", "ān1ko", "er1ge", "ē1dzī", "en1ba", "īv1ba", "ot1mu", "ēb1ta", "īn1rū", "ūk1ņa", "op1jo", "is1lo", "ob1ru", "ur1li", "ēs1le", "ur1lā", "ēj1rā", "ul1ko", "āg1tā", "iv1ku", "ām1ga", "o1dzē", "ī1dzē", "ir1za", "ip1rā", "at1tū", "iv1vi", "op1lū", "āp1si", "em1me", "ap1žā", "ār1mū", "ik1šā", "il1ba", "an1ze", "on1do", "il1he", "ek1ļa", "el1nē", "āk1re", "uk1se", "ēr1so", "ef1re", "ūt1rā", "ip1tu", "am1pā", "ak1ņu", "at1me", "ūr1ma", "ik1tā", "am1pu", "az1de", "en1ki", "iv1mo", "ar1ge", "īb1ti", "uj1ma", "os1ta", "as1na", "ēs1ma", "om1bo", "eb1rē", "er1ža", "āt1nu", "ež1ko", "uz1tē", "up1ni", "ig1nā", "an1na", "az1ku", "on1tī", "ar1sī", "ek1tū", "eņ1me", "os1vē", "ak1šī", "at1rē", "er1bu", "eļ1ņa", "og1ro", "īt1lī", "ij1ro", "ūk1si", "ār1žā", "ap1dā", "uz1pa", "ek1ļi", "iz1tū", "aš1ķo", "im1ta", "ik1nā", "at1jū", "ēg1no", "ā1dzē", "em1te", "er1ģe", "āš1ņi", "eļ1ta", "ap1lī", "ul1la", "uz1bi", "īt1di", "ud1bā", "en1tu", "un1ne", "uk1so", "īv1ti", "ol1je", "ed1li", "iz1ni", "ēr1šu", "eb1si", "ēv1ze", "uz1za", "er1ne", "om1pa", "ec1kā", "in1sa", "uz1ža", "ūs1ta", "ap1ļā", "ūv1ga", "iv1ri", "aļ1ba", "ob1ša", "ir1zī", "aš1mē", "āt1ru", "az1sa", "iš1ķi", "ok1nā", "or1mo", "iļ1ļa", "iņ1ru", "uz1gā", "uz1vā", "it1ri", "om1de", "is1cē", "is1mi", "op1ga", "at1čī", "ar1nē", "uz1ho", "at1bā", "ir1ži", "el1fi", "ir1ne", "ar1dā", "uz1fa", "ap1ki", "ur1dā", "āl1ze", "ār1li", "or1bu", "ap1ti", "um1ga", "ek1ņa", "al1pi", "us1fa", "ār1vo", "uz1ģi", "e1dži", "ig1nē", "uz1te", "ot1va", "ag1ļu", "os1pā", "īk1ņā", "īk1šu", "e1dze", "iš1jā", "ek1ve", "at1ļa", "āl1si", "or1zā", "ul1lo", "ab1va", "aņ1ķi", "ār1ķe", "ur1vo", "ap1ze", "em1ni", "oš1ņā", "ūž1za", "ēr1cē", "ap1hi", "ek1nī", "uz1ņe", "in1tā", "un1cē", "ib1lā", "īr1ga", "is1ku", "uz1zo", "ug1ši", "am1zā", "as1me", "un1dā", "ak1sā", "it1ļa", "ur1nī", "uz1ņē", "ēz1tu", "ab1tā", "ār1šā", "us1sa", "īg1šo", "eņ1ca", "op1lo", "āp1to", "el1mī", "eč1zi", "eg1ku", "al1pē", "ik1rī", "al1vē", "it1ļo", "em1mē", "iz1ba", "is1dā", "īd1mē", "en1ve", "ap1ju", "ol1ko", "ag1le", "ap1tē", "āt1nī", "āv1va", "et1so", "an1hi", "eš1kā", "ir1šu", "es1lā", "os1me", "is1tī", "ur1ne", "et1nu", "ap1mi", "ūz1ma", "or1mī", "as1za", "an1cē", "es1ni", "al1fa", "ēr1bo", "ur1ģe", "āg1si", "is1de", "īs1sa", "at1mi", "ēš1ļa", "ūg1da", "ūs1nā", "ār1ra", "un1kā", "ok1li", "ē1dzū", "ēg1nu", "al1bo", "op1da", "et1ķī", "ur1pi", "ār1pu", "ok1sī", "it1ļi", "ap1sa", "ip1ci", "ar1ša", "av1ma", "ec1vā", "iv1do", "ūs1ti", "at1dī", "ār1žē", "am1na", "ak1ļā", "iņ1me", "uz1ha", "ar1mi", "eļ1ļi", "ēp1tu", "of1to", "ag1rā", "il1zī", "ēg1šo", "il1sē", "is1ba", "ap1ko", "ug1šo", "ot1mā", "iž1ni", "ār1tē", "at1šu", "ep1šu", "uz1ģē", "ag1lū", "up1lu", "ām1gā", "ar1šī", "it1ve", "ak1ma", "už1pu", "uk1te", "uz1lo", "ik1ce", "eļ1rī", "et1na", "āl1ra", "oz1ti", "iz1ze", "ap1zo", "ir1nā", "ad1le", "ēt1ho", "ad1mo", "un1ta", "a1dzi", "az1ko", "āl1pa", "uz1nē", "ug1ma", "en1di", "iz1šū", "ag1rū", "īr1ra", "as1pē", "ok1ce", "en1cī", "il1mā", "op1su", "al1šu", "of1li", "ev1ma", "ab1ļā", "a1dzē", "ud1ru", "ir1zā", "od1bi", "ol1dā", "ap1ci", "il1dā", "ok1pe", "an1ki", "as1vī", "od1ru", "ur1pā", "āj1ga", "ēr1da", "ep1ju", "iz1re", "iņ1ka", "ār1mī", "at1lē", "ir1sē", "iš1ļa", "ēg1ša", "āš1ņu", "ar1gā", "av1la", "aļ1ni", "iz1fo", "il1la", "er1mu", "up1šo", "is1ma", "āl1sā", "ap1ļē", "ur1dī", "as1tā", "ul1tē", "es1cē", "ud1lī", "on1ve", "uz1ģe", "ek1me", "āš1ņo", "ek1la", "āl1ga", "iz1di", "on1vo", "er1tī", "on1ja", "uļ1žo", "ār1fo", "ak1rī", "ev1bi", "ij1ci", "eš1ra", "um1jo", "az1me", "im1šu", "aš1da", "or1tē", "uz1rā", "ār1vu", "al1ba", "in1ge", "ab1na", "an1ci", "īs1lā", "il1šā", "am1za", "al1jo", "ek1le", "im1dā", "iņ1de", "oļ1va", "iž1ra", "am1mē", "ok1rā", "er1le", "ok1vē", "ok1rū", "uz1ķē", "eb1ti", "āv1la", "a1dža", "iz1ļu", "on1ka", "uz1do", "ār1ķī", "ē1dzā", "an1nā", "āģ1zo", "uz1ča", "īt1bi", "am1da", "at1kā", "ēj1ko", "ul1du", "op1lā", "uk1šā", "ik1nu", "oh1ro", "at1ti", "eļ1dā", "it1li", "uļ1ļa", "ūs1mi", "at1he", "at1to", "ec1pa", "aņ1pa", "om1bu", "ig1tī", "ap1me", "er1so", "an1tu", "on1fi", "aš1ni", "īv1ja", "oņ1ma", "il1rū", "ap1pe", "em1di", "ār1pī", "er1žu", "it1rī", "al1tu", "iz1kā", "an1gu", "im1tu", "an1va", "īn1dā", "el1ti", "ap1sī", "ēr1be", "ez1ga", "ēt1ki", "us1tē", "īn1ko", "el1ze", "ab1lī", "ar1tā", "aš1ķū", "en1vi", "il1fa", "ik1ti", "eg1ri", "et1vā", "us1mi", "um1te", "eb1jo", "eļ1ģi", "ar1ha", "al1mi", "ig1lā", "ek1vē", "is1le", "eg1rē", "el1tā", "ap1ģe", "iz1ri", "er1to", "ug1to", "el1lo", "ār1lū", "el1sī", "el1fī", "oņ1da", "in1du", "eg1si", "ub1ļo", "un1zē", "ar1bī", "iz1ju", "ap1nā", "at1ce", "ej1da", "am1vī", "eņ1ķi", "oš1ļā", "ij1me", "ob1ra", "e1dže", "ap1pī", "am1pi", "īķ1ma", "op1te", "uz1cī", "oņ1te", "at1vā", "ap1ņi", "uk1lā", "ir1so", "ak1me", "ip1lo", "ik1ca", "ap1fi", "oj1ne", "iz1pa", "ok1to", "ok1ci", "en1mu", "ip1nī", "ol1za", "ār1ģi", "āk1ļu", "ēr1to", "āl1šā", "ef1le", "as1li", "ar1so", "as1mī", "at1re", "īs1co", "ar1nā", "ug1ta", "is1ta", "eg1ļu", "ām1ni", "ēg1ti", "eļ1ri", "o1dzi", "op1lē", "ip1nā", "oš1ķē", "ap1bū", "im1nā", "ir1gē", "īg1vā", "ēr1nu", "āk1si", "el1mo", "iz1ņi", "ap1mē", "al1pa", "ol1ti", "un1vē", "os1mī", "āk1li", "as1pā", "ēr1ķu", "ul1tī", "ij1ti", "im1fa", "ūs1ni", "um1ba", "um1me", "al1dā", "us1to", "iž1ce", "it1cī", "or1ņa", "ad1rī", "ur1ba", "us1vā", "u1dze", "oš1da", "ok1mī", "ež1ģi", "ef1li", "ir1kā", "uk1ti", "uz1dā", "ēr1ģe", "īg1tē", "ūs1te", "is1vi", "il1ti", "eš1ļā", "ik1me", "or1de", "od1va", "ur1zi", "iz1či", "uk1nī", "az1ma", "uz1ja", "āb1jo", "at1fa", "ev1ri", "iz1jo", "īs1pa", "u1dža", "od1ko", "eb1ro", "is1li", "at1mu", "at1sa", "ub1ri", "ab1me", "ēļ1ni", "ār1hu", "ik1tu", "ok1sa", "em1dē", "ab1lā", "um1sa", "og1lē", "āg1ta", "ez1li", "ob1ļā", "ad1pa", "ig1na", "or1sā", "ir1da", "an1sī", "am1mu", "ul1do", "ār1či", "uz1vi", "ol1ho", "em1zu", "ut1ni", "el1šo", "uļ1vi", "īk1šo", "is1lē", "uz1sa", "ir1gī", "ež1va", "īb1ne", "īd1la", "it1vi", "ēk1ve", "is1sa", "em1pe", "ēj1sa", "id1ra", "ol1da", "il1ca", "uv1re", "ār1tī", "ar1bū", "ap1mo", "il1ža", "a1dzu", "ap1se", "ub1lā", "as1pī", "er1tu", "īc1ni", "ip1ra", "og1lo", "ib1lu", "el1na", "uļ1ni", "ak1si", "an1ši", "ēr1zi", "er1ke", "am1ka", "on1za", "ār1bē", "ud1ni", "ak1ha", "us1mo", "ār1ņe", "at1dū", "iz1žu", "ām1ma", "aj1mu", "uz1čū", "aņ1ģi", "iz1ho", "ēj1ni", "ir1ni", "ek1tu", "ās1ku", "el1žo", "iz1ģe", "ēr1ķi", "ēr1se", "īr1sē", "iz1na", "ob1ro", "al1go", "um1si", "op1ļa", "ur1tu", "or1tā", "ul1cē", "iš1ķo", "ad1ro", "it1če", "il1vi", "uz1se", "oh1lo", "od1ne", "iļ1ra", "īg1no", "ap1ni", "oz1ni", "il1me", "ur1da", "āt1do", "ar1he", "in1tū", "ul1fī", "us1gu", "ul1cī", "al1bā", "ib1ra", "ir1ga", "ul1gu", "ān1ri", "il1gu", "ab1pe", "op1to", "il1zi", "is1ķi", "uv1cī", "ap1tā", "až1re", "iz1pī", "ud1be", "ek1ne", "ab1ļa", "iz1ki", "ar1mā", "iļ1ķe", "ok1ro", "ig1šu", "at1bo", "ār1pū", "īb1ta", "uz1kā", "iz1bi", "um1ma", "or1ko", "an1vā", "es1le", "is1ci", "op1mē", "ām1pu", "ir1ba", "os1tē", "ig1rē", "ok1da", "īk1le", "el1te", "ek1ru", "ok1mā", "ob1ja", "ar1gu", "iz1ķi", "or1gā", "ij1jū", "is1mā", "ūk1nē", "al1ce", "ēs1tā", "ur1la", "īv1bē", "ar1bo", "až1vi", "iz1li", "om1fi", "ar1ni", "ār1cē", "uņ1ni", "ir1pā", "uk1šu", "in1fu", "op1ļo", "on1mē", "ēš1la", "ūm1ju", "on1me", "is1ja", "āl1da", "āj1pu", "el1zi", "ēr1ko", "īs1tū", "āb1ta", "it1re", "ēr1ta", "ik1ne", "aņ1ģē", "es1na", "uš1ķī", "ēk1sū", "āp1jo", "ār1ja", "op1li", "ib1rē", "oš1ķa", "ag1ta", "ob1jo", "ok1lē", "ul1ku", "ip1te", "ar1cī", "ār1te", "īg1ša", "uz1ki", "ās1la", "et1ro", "ās1ti", "ar1ti", "iz1sa", "āk1zi", "uz1sē", "em1šo", "ok1so", "et1ze", "ar1žī", "oš1vi", "ap1ri", "ad1ru", "u1dzo", "āp1nē", "at1za", "ūr1li", "iv1la", "or1va", "ūv1be", "ep1ni", "eņ1sā", "ūr1vē", "āz1tā", "ēb1šo", "ev1lū", "ib1kā", "īt1da", "um1ša", "ug1sa", "ik1da", "ak1lu", "ēr1ļa", "os1mu", "īņ1la", "if1rā", "oņ1tū", "eg1ne", "is1mo", "uz1šū", "on1tū", "ob1šo", "in1va", "eg1lū", "ir1pi", "u1dza", "us1la", "ūs1pu", "ib1to", "iz1sē", "ap1čū", "ok1lā", "uv1mu", "īk1sa", "āķ1ve", "iz1mu", "uz1mī", "uļ1ķo", "ar1hī", "ēl1me", "īg1me", "ag1ve", "ur1vu", "ār1ha", "ed1ni", "āt1se", "at1ņa", "at1sū", "ūk1šu", "ol1me", "ūz1mē", "ip1to", "at1tī", "ēs1ta", "us1ve", "iņ1pu", "ol1va", "in1ši", "āp1ta", "ar1ko", "ēk1si", "el1zī", "er1nu", "az1pi", "ār1bī", "uk1la", "ek1ņi", "er1ro", "ēt1bi", "al1da", "is1pe", "īk1mu", "ēc1pu", "in1dē", "ūr1ve", "es1tū", "ēr1mi", "ez1ko", "ār1ko", "āl1lē", "ep1te", "ār1re", "an1ce", "od1ku", "ig1ru", "īk1tu", "ēž1ve", "ap1no", "ul1ga", "el1ve", "at1ņe", "ār1pā", "op1bu", "iv1ti", "iz1dā", "ig1ra", "ij1va", "ēr1di", "iz1lo", "uz1bo", "ās1nu", "el1ņa", "us1ne", "ev1ge", "ab1di", "uz1jo", "ār1kā", "eb1re", "ir1nu", "op1tā", "il1li", "uz1pī", "āj1do", "ēg1tī", "ul1re", "eļ1ķī", "ej1nī", "av1ļu", "aļ1ņu", "ūs1ga", "im1fo", "ab1ta", "ut1ne", "iš1ķu", "ez1nu", "or1sē", "ep1ļu", "ūt1si", "ik1le", "is1ga", "oz1to", "op1ti", "ur1šo", "il1kā", "im1du", "ēr1ba", "iz1no", "ar1je", "am1du", "ul1lu", "ot1ni", "eš1si", "at1pa", "ab1to", "ip1zā", "ūs1tī", "at1mū", "ī1dza", "im1bo", "op1tu", "ak1ta", "es1ve", "īk1ma", "ūk1ša", "in1di", "uz1ži", "iz1čī", "ad1vi", "am1šā", "iņ1ņa", "ār1ce", "ēd1ma", "ik1ni", "ap1tī", "ap1zu", "ep1sī", "am1pe", "uz1lē", "iņ1ģi", "uņ1ķi", "ur1pa", "eb1ra", "eš1me", "āt1ni", "or1me", "uč1ka", "ar1vi", "en1gā", "ar1ši", "uz1la", "es1kā", "uk1ņī", "ap1gā", "er1vu", "es1nā", "ir1šo", "iz1sī", "at1gū", "ar1ma", "ef1ro", "eš1ķi", "on1nī", "ap1ho", "ez1zi", "oņ1re", "ur1nu", "am1be", "ek1no", "is1jē", "āž1ni", "ag1lē", "ek1ci", "el1da", "es1pi", "ož1vī", "oņ1mā", "il1pā", "ok1la", "as1lī", "en1ze", "ām1vi", "ir1be", "ik1lī", "e1dzo", "uz1ti", "ul1ta", "ār1gu", "an1so", "ik1si", "eņ1ze", "iv1ju", "ag1nā", "ār1bi", "ib1ša", "or1fo", "ūr1zā", "ap1ņa", "ap1ji", "ēr1lī", "u1dzu", "en1rā", "iņ1pa", "at1ķī", "ār1vā", "ap1ļo", "ār1ca", "ek1šā", "ēr1ka", "īz1da", "us1di", "īk1to", "op1sa", "iv1ko", "āb1ti", "il1jo", "iz1ra", "ir1se", "uļ1pa", "iz1ņa", "ār1fa", "os1li", "ez1ma", "ar1si", "oš1ta", "eh1ro", "až1di", "er1sā", "ep1sa", "el1je", "āt1ce", "ek1lū", "an1dā", "ig1rā", "is1za", "ok1ru", "eš1ļi", "āj1mu", "ot1rē", "el1ka", "ur1čū", "eb1šu", "uz1žū", "eg1ve", "uz1ņu", "ob1ri", "ap1bi", "iž1ga", "av1va", "ūs1na", "ēj1ra", "iņ1ni", "eg1tī", "uš1pa", "ag1ma", "ur1ķē", "on1go", "ēr1ne", "īž1ni", "ir1ģe", "as1kū", "ēr1cī", "el1ša", "ēr1nī", "āk1ti", "es1mā", "ap1dē", "īn1me", "ig1šo", "es1ki", "ot1ne", "ab1rā", "ab1te", "ib1rī", "ir1po", "az1do", "en1sī", "az1nī", "er1bo", "al1bī", "ib1lē", "aš1ha", "es1va", "et1ru", "ez1jē", "id1ga", "il1tē", "on1ki", "il1na", "ur1go", "oņ1pa", "ur1lī", "od1pi", "īb1to", "iņ1va", "ad1ni", "ev1ka", "ar1la", "āb1tu", "at1vī", "er1su", "us1ku", "iv1vē", "iņ1za", "or1nī", "an1do", "ūt1ne", "om1bi", "an1to", "el1dē", "uļ1sē", "el1jē", "il1ča", "ās1lē", "as1pu", "uz1su", "uš1ku", "om1po", "ul1bē", "ēc1mē", "eņ1ko", "īv1zā", "eg1le", "is1ce", "is1ni", "od1rā", "om1na", "ul1mi", "āk1ļo", "ig1mu", "ir1me", "eg1ra", "eb1ta", "al1mu", "is1ki", "in1jo", "īn1vi", "ef1lā", "ēj1ca", "ar1hi", "ul1ba", "om1ja", "an1kā", "am1bū", "op1tē", "ol1lo", "am1mā", "at1ķi", "ad1hē", "ot1ma", "em1lī", "āl1le", "as1mē", "ūr1ga", "ik1la", "um1so", "an1dī", "us1lī", "ūr1ta", "in1že", "ip1ri", "ej1se", "ul1ki", "eg1bu", "il1šo", "at1pe", "at1čā", "ap1lē", "eg1lā", "īs1re", "ēr1ve", "ek1ca", "ap1so", "ēr1mo", "āz1ta", "or1tū", "āk1šu", "em1ci", "ok1ne", "ēd1nī", "es1ti", "il1pe", "ip1na", "ik1va", "os1lī", "iz1šā", "od1ri", "ob1rū", "un1va", "eb1ku", "il1to", "ir1tī", "uk1ro", "iz1cu", "āž1ra", "ur1di", "eb1ju", "ul1so", "īs1lo", "ēj1čū", "in1fi", "ur1za", "il1va", "iz1fa", "al1do", "ib1si", "ēr1bā", "os1ni", "oš1re", "im1ba", "ig1si", "ūr1fi", "ec1pu", "ak1to", "el1so", "ek1rā", "īs1va", "aš1mī", "en1ti", "en1pu", "eb1ri", "am1ma", "es1me", "ūn1vi", "ak1ci", "ēp1ša", "eš1ni", "el1vi", "ov1ka", "ēz1do", "iz1lā", "en1tū", "en1su", "ur1nā", "ot1ro", "ob1re", "ep1žo", "at1ķē", "ēp1ti", "en1ci", "at1bē", "uk1to", "āg1šu", "il1mē", "ār1žo", "is1va", "ēt1ce", "un1ro", "eg1me", "on1bū", "ah1ro", "ād1re", "or1ni", "uģ1ni", "uz1so", "uz1rū", "īs1kā", "īs1pu", "ar1šu", "ar1sā", "el1bu", "il1ta", "ur1ķi", "ak1ne", "ap1vē", "ār1ča", "av1ve", "os1pē", "aļ1ra", "eš1ķe", "ur1zo", "as1va", "uk1či", "ar1pi", "uk1ra", "ur1mē", "ez1se", "al1pī", "um1za", "īs1de", "aļ1ru", "uk1ko", "eb1le", "ul1ju", "āt1ze", "at1bū", "ez1vi", "at1šū", "ag1ra", "āt1kā", "īs1te", "iz1jū", "eš1ņo", "ur1co", "ar1bi", "ūs1tu", "it1ka", "en1sē", "eš1ņa", "ag1ro", "aļ1si", "id1ri", "it1no", "ež1ma", "os1pi", "ev1ti", "ēk1pi", "ap1tū", "us1mī", "el1hi", "iz1ha", "eš1ļu", "ām1vā", "un1gu", "ā1dzī", "āl1nī", "eb1li", "od1re", "āk1la", "ab1zi", "af1ni", "ād1ni", "ig1ri", "ek1ga", "uļ1mu", "on1va", "īv1ko", "um1ra", "at1pā", "ub1ļa", "er1nī", "ug1ļi", "aš1ke", "ēr1tī", "ap1ba", "od1jo", "ok1ļū", "us1tu", "uz1ķe", "ih1ta", "iņ1ga", "ēp1jo", "un1ce", "il1ši", "īt1ne", "oš1ķī", "ig1ta", "ol1lī", "ūk1ga", "es1pē", "et1bo", "ez1di", "ap1ķi", "uz1ca", "ig1mā", "or1ķa", "ez1to", "āp1ju", "ēk1nī", "at1ļu", "es1sē", "ir1pa", "ap1ra", "up1li", "ul1dī", "ē1dza", "ek1so", "ol1zī", "ēr1co", "or1ka", "ad1ja", "en1ra", "ez1ba", "iz1go", "en1hā", "ez1ka", "et1re", "ah1ve", "il1pī", "ep1lu", "eg1ti", "im1fā", "ih1nī", "ēr1dī", "ap1čā", "ēj1vi", "an1tī", "eņ1tu", "ut1ru", "ēj1tā", "ur1bu", "ur1de", "es1no", "am1pī", "un1vā", "iž1ku", "uk1lu", "un1bū", "un1tu", "is1nī", "ub1ļi", "ap1či", "ūd1ri", "en1lī", "es1pā", "iz1čū", "ob1ji", "ez1tā", "em1žu", "op1lī", "ab1lu", "od1rī", "āj1sa", "uk1ci", "an1žē", "ūt1ri", "un1dē", "eg1gā", "ur1pū", "il1di", "iķ1ve", "eņ1ka", "an1tū", "āv1vi", "īt1ro", "iz1ro", "āl1di", "i1dzi", "ad1rā", "ap1ne", "at1va", "iz1ma", "ūv1ko", "ūt1nē", "až1va", "ān1sa", "uz1zi", "as1vē", "et1vē", "iļ1bu", "aš1vā", "ap1ka", "iz1pi", "er1ša", "ed1na", "im1dē", "ag1nē", "āj1bu", "ād1ve", "eb1tā", "us1pū", "īt1sa", "ap1ži", "ūr1ni", "og1ļa", "āt1nē", "el1vē", "et1la", "og1ru", "iz1ka", "al1sī", "ir1zu", "om1fo", "eļ1jū", "il1bī", "il1sa", "uņ1ģī", "ej1sa", "or1nē", "am1ta", "ul1šo", "or1pē", "em1du", "ur1lo", "at1be", "ur1si", "ēr1ti", "er1šo", "at1pi", "or1lo", "ev1na", "ec1ri", "ol1ba", "iņ1kā", "ār1hi", "os1fā", "at1lū", "og1ni", "aš1sa", "eg1li", "ij1de", "eļ1mā", "il1nsa", "ir1pti", "iz1šķo", "ēl1mju", "uz1glā", "ap1slā", "op1ska", "ek1špē", "al1tru", "iz1smē", "ēr1kta", "us1kri", "il1bsi", "ul1gri", "ap1sku", "at1frē", "is1pru", "at1fri", "um1pja", "ār1brā", "os1tga", "as1pre", "ār1sve", "ūm1tve", "ār1brī", "uz1fra", "iz1dru", "ēr1ptu", "un1dzā", "ut1ska", "īk1šķo", "āb1sti", "iz1hlo", "ēr1šļo", "ap1gro", "at1šmī", "un1spu", "es1tro", "ap1blē", "et1rka", "us1gri", "at1plā", "on1ste", "ap1šķī", "el1dze", "ab1sce", "at1kļa", "iz1prā", "ug1šde", "on1fli", "at1stu", "im1šte", "ir1kta", "ar1bnī", "er1dzī", "en1dro", "ok1snī", "uk1šķa", "eš1bļo", "īt1ņmē", "et1rde", "ir1mbā", "az1gru", "in1grā", "uk1ska", "ap1spo", "āg1sti", "ug1špa", "al1kva", "ez1tne", "an1gli", "udz1ba", "ūk1sli", "at1sma", "ap1fra", "iķ1skā", "uz1sma", "īp1sla", "il1stu", "iz1gra", "os1krē", "am1sti", "uz1pre", "ez1gla", "īdz1jū", "us1trā", "iz1pla", "iļ1krā", "ēr1zka", "ap1pro", "ir1sno", "ir1smo", "ir1mme", "er1dze", "ān1prā", "ap1bru", "ēg1sto", "as1bra", "ek1šne", "ēr1bšo", "edž1li", "as1tru", "un1dra", "āl1pro", "ār1grē", "ēr1stā", "ar1pta", "īk1stu", "ez1spē", "am1skā", "ir1kļo", "on1gru", "iz1šta", "āļ1dzi", "āl1štā", "īs1pro", "ur1dzu", "ir1stī", "ār1šļa", "uz1gru", "el1pšu", "al1frī", "ek1šga", "ir1mdī", "ek1sku", "iz1spu", "uz1plū", "āk1sla", "iz1dre", "in1ssū", "uz1gle", "om1pre", "ār1gti", "udz1cī", "iš1brū", "uz1kru", "uz1sli", "uz1klā", "at1ble", "īdz1ni", "iz1smī", "ār1sni", "īs1spa", "iz1pre", "īg1sko", "iz1žva", "ir1gti", "ēr1bta", "īt1pra", "at1gla", "as1dzi", "ap1skū", "uk1šķe", "at1dzī", "uz1šta", "uk1lva", "at1dzē", "ār1šma", "es1prā", "iz1blo", "al1sti", "at1zvi", "in1dzo", "uz1krē", "at1kvē", "an1brū", "ur1ksi", "uz1stī", "op1sta", "in1sti", "on1sti", "uz1pli", "at1kve", "as1krē", "in1sda", "an1smi", "ap1stu", "us1tpu", "uz1kņu", "ār1blo", "on1gli", "ar1pli", "ap1šļa", "us1kre", "āk1šķu", "al1vja", "iz1sni", "ap1pla", "uz1brā", "iz1brē", "eš1stū", "iz1svā", "ēr1kša", "ug1sta", "at1blo", "ap1švi", "il1dno", "iz1glū", "ir1sdi", "im1pro", "ār1tre", "iz1bri", "āl1bra", "at1bri", "uk1stē", "iz1brū", "at1plē", "il1bšo", "ur1dza", "ik1lpa", "āt1rra", "uk1sti", "ur1kša", "en1džo", "ār1svā", "ap1krā", "īk1šķi", "at1rre", "iņ1zva", "at1žvī", "ār1blī", "ēr1sta", "ār1smi", "iz1šmī", "ug1šna", "iz1skā", "uz1trī", "ap1svī", "is1prā", "ek1sta", "at1sla", "at1trū", "āk1slī", "uz1kna", "il1dvi", "ār1dzi", "uz1šņu", "is1tre", "iz1svi", "ap1dri", "el1dmē", "ul1gto", "an1tzi", "is1kvī", "uz1kļū", "ār1šņo", "uz1frē", "ib1sto", "ig1sta", "in1ktī", "ir1sni", "en1sne", "em1pjo", "ēr1btu", "īn1skā", "ēk1šņo", "ik1smē", "es1trī", "at1šķū", "at1pla", "in1gto", "ot1rdi", "al1cvi", "um1bri", "uz1švi", "is1glī", "an1džū", "ap1sle", "uz1pļē", "ap1šķe", "iz1ble", "ap1šņa", "ir1mre", "en1tra", "ār1tra", "ul1snē", "iz1spa", "ep1sti", "ūt1sga", "āg1sto", "īb1sta", "ap1pļā", "at1kle", "il1gtu", "iz1spi", "am1tra", "an1fra", "uz1frā", "ēr1nva", "uz1stū", "ūk1sto", "at1šma", "um1šzi", "ug1stā", "at1špa", "il1kti", "īp1sle", "iz1tri", "os1tro", "el1pšo", "av1sta", "ak1tda", "ik1snu", "iz1stū", "ok1tri", "ap1gve", "op1spē", "iz1pra", "el1ptā", "es1tra", "iz1kni", "ān1spē", "os1kva", "ol1ste", "ul1dzo", "ek1šzo", "uz1ste", "uz1brī", "in1skā", "ār1švī", "il1nvē", "ūv1pro", "iz1šļu", "ev1ski", "en1zda", "āt1rda", "ēk1šķu", "ig1sto", "ēr1kšu", "ēr1ktā", "iz1skū", "an1kre", "iz1pro", "il1spi", "al1kto", "ok1zvē", "ap1zva", "ār1zvē", "un1tni", "ak1sti", "as1tri", "īb1spē", "os1mve", "en1sžu", "el1nru", "er1csa", "uz1zvi", "al1vtu", "at1dzi", "um1krū", "ot1frī", "ap1klī", "an1sko", "el1dko", "an1tkā", "ap1gla", "īk1šņa", "ār1gve", "il1dba", "es1tma", "uz1sti", "at1drū", "ul1pto", "uk1smi", "as1trē", "er1tro", "īb1sti", "id1spa", "at1trā", "ar1pna", "at1sta", "ek1trī", "at1šņo", "at1zve", "ig1zda", "ir1mpa", "ak1tni", "ir1kšo", "ār1plo", "ār1prā", "il1nti", "om1sva", "ēr1bja", "il1trā", "al1kta", "iz1dza", "iz1šma", "at1dza", "iz1kri", "ol1skā", "en1tni", "et1sti", "at1tru", "iz1špa", "ur1kne", "īg1zna", "ul1sva", "an1tza", "ār1tņu", "īn1krū", "uz1šņo", "ek1tkā", "at1plū", "il1kni", "uz1žņa", "ur1sli", "iz1tre", "ap1stī", "or1dda", "ur1gra", "at1glā", "ās1tni", "uz1žmi", "at1dze", "āl1sti", "ēr1slī", "el1nze", "āk1ste", "op1pla", "at1prā", "up1sto", "em1plā", "ib1stī", "up1sti", "ār1špa", "ēj1pla", "ār1hlo", "ap1frē", "il1kto", "al1dzi", "on1tri", "ar1gsē", "iz1frē", "ap1bro", "ul1tne", "im1stī", "ug1špē", "em1pta", "at1grū", "as1tma", "īk1ste", "iņ1krū", "il1kšu", "ek1ska", "is1tvi", "ār1dro", "iz1tro", "us1smē", "el1zta", "ēr1psi", "āk1sme", "ēs1tne", "ār1grū", "ok1gri", "up1stē", "ok1sko", "et1rro", "un1dze", "ap1trī", "uk1šķu", "in1sri", "en1tri", "āj1dzī", "ap1fri", "et1rpa", "uz1klu", "ik1sme", "ār1dra", "iz1kvi", "ēr1pto", "at1plī", "od1pra", "at1glu", "ap1fli", "uz1gri", "at1krī", "īk1stē", "oš1prā", "an1frē", "ap1sva", "il1bta", "ek1smē", "ār1šru", "us1tmā", "īk1smī", "al1dķi", "os1trī", "in1ssē", "al1tga", "ir1mkā", "ap1zvi", "ūg1sto", "em1pli", "uz1ble", "on1spe", "at1spā", "ār1sko", "ap1trā", "ek1šli", "āl1skā", "iv1pro", "ar1krē", "iz1tra", "uz1tri", "uk1ste", "ir1klī", "ap1kna", "er1spē", "ik1šķa", "ak1šķo", "ur1gšo", "al1dga", "ap1kla", "ap1svē", "in1tri", "im1tga", "in1šķi", "ēr1bka", "ēr1sti", "at1ska", "āb1sle", "ap1slī", "iz1slā", "an1gļu", "ir1msā", "ēr1pša", "or1tlī", "iz1dri", "un1kta", "el1dzī", "em1ztu", "en1ksi", "ār1kna", "un1kto", "ap1klu", "at1tra", "at1brā", "at1žva", "an1kro", "ap1sme", "ūg1sti", "ar1tmā", "in1gti", "ār1sti", "ik1stē", "om1bve", "ap1sko", "ār1ple", "īk1smi", "ug1sne", "ap1krē", "en1skā", "en1szī", "āk1sne", "es1pre", "ēr1ķti", "āl1sma", "īr1ska", "at1slī", "us1krē", "us1ska", "el1pta", "en1kto", "ar1bga", "ār1tru", "eņ1krū", "en1trē", "ār1spu", "en1spu", "al1ktā", "ik1sti", "em1zti", "āt1stā", "al1kci", "ap1kļū", "el1nsi", "ēr1nru", "ir1dza", "ār1klī", "at1tre", "il1dma", "īk1pla", "ap1sni", "el1kme", "el1nbā", "ak1smē", "āb1sto", "un1drā", "uz1glu", "uz1ska", "en1slī", "an1sli", "ēr1sba", "un1dro", "el1zto", "uz1trā", "uz1spā", "ap1dzē", "ap1dru", "in1dze", "ed1gri", "eļ1blā", "an1kci", "os1krū", "iz1spā", "an1krū", "ir1sra", "it1sko", "ir1mso", "un1ktī", "iz1slī", "er1zto", "et1pra", "ur1tra", "al1tme", "iz1slu", "il1gti", "iz1gre", "ek1šķī", "op1sva", "uz1tru", "ar1ppa", "in1dzē", "ab1dzi", "ur1tni", "uz1bri", "ab1stu", "in1gra", "uz1sva", "iz1krē", "ap1dzi", "ug1šte", "um1bru", "at1dro", "ir1sti", "ur1sti", "āl1sko", "at1klu", "en1kšo", "ut1skā", "il1pšu", "ur1gšu", "ar1knā", "ap1knu", "im1bra", "ēk1stu", "iz1knā", "il1bto", "āp1sli", "us1tru", "ak1šņo", "ap1prā", "ir1dzo", "en1krā", "ār1spē", "ar1kro", "iz1dro", "ār1bra", "il1dnī", "el1dba", "al1bri", "uz1brē", "ot1gri", "at1tvē", "ur1sme", "uz1šļa", "ek1šte", "at1šņa", "en1sro", "āk1slo", "an1žsa", "uz1plī", "an1tra", "il1bša", "il1tni", "us1glā", "ur1gti", "īg1stu", "ar1zva", "ol1lmē", "iz1kve", "ar1glī", "in1kru", "ap1kņu", "ir1pšu", "ec1skā", "ar1dzi", "od1ršu", "al1tma", "uz1sle", "eg1spa", "ap1šļi", "ek1šķo", "uz1spo", "ar1kto", "iz1zvi", "uz1šķo", "il1trē", "or1tre", "im1šļa", "iz1blē", "el1gti", "uz1slē", "ār1spo", "al1dka", "uz1bre", "is1tzo", "im1fva", "az1pra", "ap1plī", "aš1kri", "ir1pji", "uz1šļu", "iz1sla", "em1zto", "ur1kri", "al1tna", "er1dzi", "en1kti", "at1pļē", "ēr1slo", "ar1gto", "ūk1šķi", "in1dzu", "es1pļa", "oņ1pri", "uz1bļā", "us1tro", "ij1skā", "ār1fra", "iz1tru", "og1dzi", "ij1spe", "ij1stū", "uk1šķi", "ār1trā", "uz1kla", "ek1sče", "ik1stu", "ar1ppi", "iz1šņu", "oņ1sli", "il1psi", "iz1gro", "ēg1stu", "uz1sku", "ol1stī", "ur1vci", "uz1smī", "ur1zma", "en1sve", "er1spe", "uš1plē", "ur1bšu", "at1stū", "iz1sme", "el1gšu", "ec1sta", "ap1kra", "ek1šda", "il1dde", "el1kņa", "il1dle", "el1psi", "ap1stū", "ap1ple", "uz1ple", "ur1kšo", "ār1dnī", "ēr1pju", "ēk1šķa", "ir1mte", "ug1ļķe", "an1kvē", "il1gta", "īr1šķi", "ap1svā", "ul1lpu", "es1nvē", "uz1gve", "at1pri", "ug1šda", "at1šķo", "iz1plī", "ār1bri", "al1dkā", "udz1ma", "un1ssa", "os1prū", "iļ1ņve", "er1che", "ān1skā", "ab1ska", "ēr1sli", "ār1krī", "al1kšu", "ur1sto", "ūg1sna", "uk1sto", "ir1mcē", "id1sta", "id1slā", "ut1sko", "ir1stā", "ār1pro", "ir1kti", "ār1kre", "ap1glu", "as1tne", "iz1švī", "uz1spu", "al1nrū", "ār1spa", "un1ktā", "āb1slī", "ār1pļē", "ir1bju", "ur1bto", "el1svi", "un1ktū", "ug1šga", "ir1sli", "uz1fri", "ur1bta", "āb1stu", "em1brā", "om1pro", "ez1glā", "ep1sto", "al1kme", "iz1blī", "ar1ksi", "īk1smo", "ār1spe", "ap1krī", "iz1šķē", "ur1tkā", "ēk1lko", "ār1tna", "il1dsa", "al1dni", "el1dce", "on1tru", "iz1sto", "ūp1sto", "ap1žvī", "ap1tri", "od1gru", "ār1gtā", "iz1gve", "el1gsi", "er1nha", "at1švī", "ār1hro", "il1tvā", "uz1sme", "at1sve", "im1tni", "uz1pri", "ēr1sra", "as1krā", "en1ska", "iz1glī", "us1tdē", "ol1tme", "ūr1stu", "um1švi", "at1šļa", "ār1knā", "uz1tre", "ok1šņo", "at1bli", "at1sni", "el1gto", "ek1šķe", "ab1sti", "un1fte", "ap1gri", "ir1ste", "ul1sni", "en1tvi", "am1plu", "am1zda", "ik1stī", "at1knā", "at1skū", "is1tro", "is1trē", "īg1sta", "ir1spu", "am1svē", "ār1bru", "ec1stū", "ul1dza", "il1kšo", "ār1plā", "os1tni", "īk1sna", "uz1sta", "ār1zda", "ār1šķi", "uz1bli", "ek1tro", "ap1grē", "ur1bšo", "ir1slē", "iz1kla", "uz1trū", "uz1tra", "ak1sto", "os1tre", "uz1dri", "ir1sma", "ak1šķē", "ak1tli", "ek1švē", "ās1nku", "el1zti", "er1cba", "ēr1kto", "in1dsē", "al1kša", "um1tra", "ip1sna", "eļ1ska", "ār1šķī", "ap1kri", "ār1šķē", "el1drē", "im1pli", "uļ1dzi", "ir1pta", "ēr1pta", "il1pra", "up1stī", "iz1fra", "us1tre", "ub1krē", "ār1pļā", "in1fra", "il1kta", "ir1mpi", "ap1šņo", "at1sku", "un1dzi", "es1trē", "an1drī", "il1pto", "adz1ni", "ar1pju", "in1gtā", "iz1gru", "ap1šķo", "ēr1skā", "ot1rpi", "or1tfe", "ir1mti", "ik1šķi", "an1tmē", "am1bri", "un1dža", "il1pšo", "as1brā", "el1gšo", "ap1kvi", "ug1sme", "il1pne", "ēt1svi", "ir1kša", "as1sko", "ek1spe", "en1kša", "iz1bre", "em1pti", "ār1gre", "iz1frā", "iv1stā", "ul1šņa", "ār1kro", "as1pra", "il1ktā", "at1sle", "iz1glu", "ik1snā", "ok1šņa", "um1šma", "ār1gru", "ār1sme", "at1sna", "ur1kto", "ik1sna", "uz1svī", "us1slo", "am1pda", "em1ztā", "uz1žva", "is1smi", "ēr1tnī", "ār1gtu", "ār1drū", "īg1sti", "ap1tro", "at1sme", "iz1plē", "ir1tni", "ak1šžo", "il1sku", "ul1bša", "um1spo", "āk1sli", "ap1blo", "ār1dze", "ār1kva", "uk1sne", "āt1rvi", "ap1žva", "am1stu", "an1dra", "ār1gšo", "ek1stē", "ār1slo", "ār1gto", "ek1ļve", "ek1spo", "ār1tsa", "iz1dži", "ar1blā", "ēg1sti", "ar1bdi", "uk1šķī", "il1bšu", "or1pro", "ap1hlo", "iz1trī", "as1trī", "uz1smē", "ār1spā", "is1tri", "ab1klā", "uz1hlo", "uļ1sti", "at1fli", "ut1nko", "iv1krā", "ur1tdi", "ap1glū", "ār1glū", "om1skā", "at1sto", "um1sta", "ap1gle", "al1sma", "el1tra", "er1sto", "el1dvi", "iz1fri", "et1sko", "at1tva", "ār1kle", "āš1kru", "er1tce", "ap1kru", "us1tri", "uz1gla", "ap1ble", "il1sta", "ap1sve", "iz1dzī", "as1tpa", "em1psi", "iz1tvē", "ac1grī", "ēr1dzī", "ul1lci", "iz1šļi", "at1žņa", "ov1smē", "as1ska", "en1tge", "at1plu", "īs1šķi", "ār1dzī", "ēk1šņā", "el1nko", "ār1sku", "āv1sti", "āl1dzi", "ēp1stu", "īv1kla", "im1tmu", "os1pro", "ap1spē", "um1brā", "ul1dzi", "ār1stā", "ur1knē", "er1trū", "el1nba", "ār1bro", "ar1sme", "ok1sne", "il1ška", "at1svē", "ar1vde", "at1slu", "iz1bro", "ēr1ste", "āb1sli", "us1skā", "at1grā", "āp1stu", "ār1brū", "am1stī", "as1tmē", "iz1kņu", "en1kla", "iļ1sli", "um1sto", "ap1bļā", "uz1sna", "ol1klo", "er1tme", "iz1fli", "al1stu", "ap1špa", "ar1sti", "āk1šķi", "ār1dži", "um1bra", "ir1dzu", "al1kjū", "ap1smī", "āb1sta", "iz1kļa", "ul1ptū", "ap1smē", "ār1tnī", "ar1gva", "udz1so", "us1stu", "ap1ste", "ul1zna", "ār1glā", "ār1blā", "ur1ska", "il1stā", "el1nra", "ak1tri", "at1kņu", "eg1sme", "ap1grū", "ēk1šķo", "in1spi", "ik1sta", "am1bli", "ir1dzē", "ēr1ktu", "ur1kni", "el1tni", "iņ1krā", "iņ1kre", "iz1kle", "an1spa", "un1ska", "am1stā", "ēr1pšo", "ār1fli", "ir1mri", "ēr1btā", "at1svi", "ir1spa", "ār1tnā", "ap1šķū", "en1drā", "ek1šni", "at1trī", "ar1kti", "iz1pri", "ig1znē", "on1spi", "ul1kve", "ek1šķu", "āt1sko", "ek1sne", "īs1krā", "iz1klā", "ēj1tve", "ur1kti", "og1ļhi", "or1tme", "aš1plū", "ēj1slē", "am1pla", "ēs1tni", "ur1bsi", "is1tka", "is1dzi", "iz1spe", "ab1sta", "āp1sti", "as1tme", "os1tri", "udz1da", "ur1dzē", "at1šļu", "at1bra", "un1kla", "er1zti", "uz1pļā", "ār1dre", "il1gša", "iz1ple", "iz1žņa", "er1ztā", "el1dše", "ir1knē", "eņ1krā", "ēr1ssi", "al1sno", "ūp1stī", "ir1gsi", "iz1sta", "ir1sse", "uz1spe", "ek1sni", "īg1snē", "in1dzi", "at1kli", "ar1bve", "on1glo", "iv1ska", "il1dni", "ār1kra", "ār1blē", "ar1stā", "ār1sli", "eņ1ķmē", "ēr1bsi", "ik1smī", "āl1sci", "at1dre", "až1brī", "iz1plā", "ir1mve", "uz1gro", "up1jma", "uz1dza", "em1pto", "an1kto", "ež1sta", "ēr1šļu", "ap1brī", "uz1kro", "uz1skū", "uz1krī", "ap1šmī", "uz1kvi", "il1btā", "or1tje", "es1krā", "at1tve", "ul1stu", "ūk1stu", "en1kta", "ēr1stu", "ar1bma", "uk1stu", "ēr1nzi", "uz1slī", "ūk1sti", "at1sva", "ap1pļē", "il1nmi", "ir1snī", "in1dni", "āj1prā", "ar1sbu", "at1spa", "el1nma", "ek1stu", "is1grū", "is1nle", "āk1stī", "uz1stu", "if1šte", "ār1spi", "īk1stā", "ar1ktu", "ur1ktā", "āj1dzi", "ēr1bto", "iz1zva", "at1knu", "at1fra", "en1sra", "al1ctī", "ār1bre", "ar1bni", "ār1tni", "ez1pro", "an1tnī", "ēp1sti", "as1trā", "āp1sto", "īr1sva", "iz1šķa", "ig1stu", "er1tra", "es1tru", "as1grā", "al1sna", "ur1pre", "ur1mjā", "ēn1prā", "at1pro", "ek1ļpa", "ik1lve", "ēr1kšo", "iz1gla", "ap1sna", "in1dza", "ār1gra", "ir1gto", "iz1sna", "an1čki", "ap1tva", "ār1sna", "um1špe", "at1zva", "ig1zdo", "en1sva", "et1rga", "il1gga", "īk1sme", "al1stā", "et1rri", "iz1dzi", "ār1pra", "iz1trū", "ār1pli", "ēk1šķē", "āj1sta", "iz1kro", "ur1kšu", "iž1knā", "or1bci", "em1ptā", "an1scē", "ir1kšu", "al1tdi", "ēk1šņu", "īdz1ši", "ot1rre", "āt1spē", "ēk1mju", "āt1krū", "il1dda", "at1svī", "udz1kā", "ār1trī", "ar1ktā", "āl1ska", "en1sli", "es1pri", "ur1btu", "ug1stī", "uz1plā", "em1zta", "iz1bļā", "īk1sti", "uz1spa", "ār1tve", "an1dce", "el1dse", "uz1kra", "ap1sli", "ir1gta", "uz1slā", "ir1kli", "oņ1plū", "ur1gto", "an1grē", "ūk1sna", "āv1zva", "an1slā", "ek1švā", "ār1žva", "ār1šļu", "ap1frā", "až1skā", "at1pre", "as1tti", "iv1plā", "uz1grē", "ek1šno", "iz1grā", "uz1bra", "es1tpa", "ur1bra", "iz1kļu", "im1sto", "ur1gtu", "om1dzi", "ir1gka", "iz1šķe", "ek1sti", "uk1šga", "ār1sma", "el1tka", "ar1gma", "al1nra", "uļ1krē", "ar1gka", "iz1svē", "ēr1sto", "il1špa", "im1tci", "uk1plē", "el1pti", "is1dra", "er1sme", "ul1snī", "ār1krā", "āt1sma", "ir1stu", "at1pļā", "uk1smu", "an1dtā", "en1kšu", "ar1sko", "ēr1pti", "ēk1lva", "or1skā", "uk1sta", "ep1sta", "ār1tri", "ir1kņi", "ul1stā", "et1rvi", "il1btu", "ār1sla", "at1pli", "el1nsa", "ur1kmē", "uz1bro", "al1dne", "ār1frē", "un1spū", "ek1šķē", "en1pro", "an1dro", "at1bru", "ak1snī", "uz1tvē", "ik1spā", "uz1blī", "ap1šķi", "el1dra", "un1svi", "at1spu", "ār1fri", "ep1stu", "ēr1szā", "īb1sto", "ār1dza", "ār1gli", "el1kne", "ār1tne", "un1prā", "ap1kve", "uz1kni", "ap1dra", "ār1gša", "ār1kvi", "ir1zga", "ek1šgā", "ek1sve", "at1gle", "ār1stī", "es1pro", "al1kma", "iz1klī", "ug1sto", "az1pro", "āj1sla", "en1tne", "ul1sti", "at1kre", "ār1sva", "ār1šķe", "iz1kļū", "ap1slu", "il1zka", "ek1šme", "am1pšo", "ūr1sko", "uz1grā", "es1grā", "ap1šņu", "ir1kļa", "ur1lmē", "el1dfē", "az1dru", "at1rpu", "um1stu", "es1grī", "iz1kna", "as1smē", "ur1spī", "eņ1skā", "ār1slē", "udz1vī", "un1dru", "ar1ska", "eņ1tra", "am1pli", "uz1kli", "ul1gtu", "ēk1brū", "us1dzī", "ap1stā", "ar1kšu", "es1kra", "iz1brā", "ir1sta", "ar1gce", "em1ptu", "ur1ste", "ār1dru", "uz1pļa", "at1glū", "ad1skā", "ov1skā", "ak1stā", "ēr1zga", "ir1mga", "in1gtu", "īdz1te", "ār1drī", "am1bra", "īk1šķu", "ur1gsi", "ab1sci", "on1dri", "il1pju", "āp1jve", "ar1gbū", "ul1gšu", "ār1dva", "ār1tno", "ap1plo", "as1tka", "il1gšo", "iz1ska", "ār1dni", "ap1dva", "īk1snā", "ap1blā", "as1pļa", "ap1kre", "al1pre", "em1pšo", "ap1tru", "ak1stī", "el1sku", "ak1ņve", "ak1špa", "aļ1ska", "ūr1sta", "at1bļā", "in1gve", "at1hlo", "ig1frī", "ok1snē", "ār1gri", "ak1šķi", "āt1sna", "ul1tsi", "as1tni", "ir1sto", "an1sfo", "ek1šla", "ul1tzo", "ob1spi", "os1pri", "el1bri", "ār1žvī", "at1blī", "ot1rti", "il1gsi", "uz1zvē", "in1spe", "ir1ptu", "ag1sva", "iz1kli", "ok1sni", "el1gra", "um1spē", "ūp1sti", "ak1stē", "ur1kta", "an1dri", "ir1pto", "iz1pli", "īv1drē", "ar1pzo", "ur1bti", "ul1šņi", "at1blē", "og1ļra", "iz1sle", "il1pro", "il1gto", "eļ1tra", "iz1slē", "ār1kve", "ur1btā", "ār1frā", "al1tla", "ur1pmā", "ēr1ksi", "al1ksi", "ir1kņo", "in1sra", "em1blē", "ib1sta", "in1sci", "ur1ktu", "iz1šķū", "an1tni", "ām1glā", "ur1zva", "īk1šķē", "up1rla", "il1nga", "il1gla", "ēk1šņa", "en1prā", "uk1špa", "at1pļa", "iz1šķī", "ār1gšu", "ir1gša", "ul1dzē", "an1kku", "ul1tni", "un1dzē", "ap1sma", "er1sti", "el1ztu", "ir1gko", "im1tre", "us1sna", "ūk1šķu", "ik1tni", "at1brē", "as1kra", "an1dža", "am1plī", "ar1kša", "ap1spe", "an1ska", "ih1svē", "od1sli", "ēr1pšu", "ar1gre", "am1sto", "ān1ska", "or1tvī", "at1svā", "uz1šķū", "ūr1sto", "in1sce", "ud1spi", "udz1ga", "al1snā", "āg1stu", "al1tro", "at1šta", "at1kļū", "udz1vi", "ap1slo", "ap1gre", "iz1šņo", "ug1stu", "im1sti", "up1stu", "ur1stī", "os1kra", "ir1ska", "og1ļde", "um1dzi", "in1kvi", "ed1kļū", "ul1tra", "iz1sko", "el1gtā", "ur1gtā", "iz1pļē", "ap1smu", "er1stī", "āt1ršu", "ok1šņu", "ap1šķa", "āt1dzī", "at1tro", "at1brī", "al1sta", "udz1ru", "ar1gtē", "in1sta", "iņ1ķve", "at1kri", "al1snu", "iz1zvē", "iz1klu", "in1hro", "ir1ptā", "as1kvi", "ur1spi", "iz1kvē", "ār1skā", "ir1gtu", "āp1sta", "uz1bru", "ed1krā", "et1sta", "al1vga", "am1pša", "ar1pga", "uz1sla", "at1šķī", "at1dži", "ār1kļū", "ār1šro", "eņ1bra", "īk1gru", "ār1klā", "ak1ņko", "od1prā", "at1klī", "iz1stē", "ār1žņa", "at1tri", "ik1stū", "ek1šzī", "ār1kni", "ār1pre", "ap1klā", "ul1gta", "ēr1pjo", "ār1gsi", "iz1šņa", "iz1gle", "ēr1bjo", "is1stū", "eļ1drā", "ik1ste", "ēr1nga", "ap1tve", "uz1skā", "ap1knā", "ik1snī", "am1ble", "ek1stā", "ol1fga", "em1bri", "uz1spī", "el1dma", "iz1slo", "ar1gkā", "iz1svī", "ūg1kri", "un1kti", "er1pre", "uz1švī", "ap1dzī", "iz1spī", "ek1tda", "ēr1dze", "il1ska", "ār1tnu", "ur1bša", "ap1tra", "ap1dze", "an1ste", "in1ktū", "er1ztu", "as1pru", "en1sca", "uz1svā", "il1dmē", "ik1sni", "ār1brē", "āk1sto", "āk1slu", "ap1bri", "ap1stē", "iz1sti", "ap1pļa", "ār1šta", "īk1sne", "un1tra", "ok1šķi", "ūs1tni", "ok1trī", "iz1glā", "om1ple", "ār1kri", "uv1bra", "īv1stu", "āt1rgā", "ār1pļa", "uz1klī", "uz1slo", "at1gre", "eļ1bri", "as1prā", "ig1žņa", "ēr1glē", "ūr1sti", "īv1sva", "ah1tve", "ūk1sne", "et1rsi", "uz1špa", "an1dze", "um1pra", "er1plē", "iņ1sti", "at1drī", "at1dva", "in1tnī", "in1gvi", "al1šķī", "ap1slē", "id1plē", "il1nva", "uz1glū", "iz1švi", "udz1pu", "or1tli", "in1kri", "ap1pri", "em1dvi", "ār1drā", "as1tro", "ar1dze", "āk1sni", "uz1ski", "as1tva", "um1sve", "ār1gdi", "ik1sto", "os1pre", "at1frā", "el1dre", "il1dva", "ug1prā", "ul1stī", "uz1svi", "ur1tda", "ār1slu", "ūp1stā", "ez1glu", "īļ1knā", "an1cle", "ūp1stu", "ec1svi", "ak1šķe", "ir1dzī", "uz1dze", "āl1spē", "ij1dro", "ār1kla", "im1sli", "ap1bli", "il1sru", "on1skā", "uz1spi", "ul1dze", "ik1šķo", "us1krū", "ek1stī", "ek1šro", "it1bri", "as1pri", "ik1šķu", "or1tku", "at1kni", "is1mju", "im1stu", "ez1prā", "at1sli", "ur1vma", "om1sta", "er1sta", "ot1rpu", "es1pra", "uz1gre", "at1šķē", "ur1dzi", "ūk1ste", "ap1smi", "ār1stu", "an1skā", "ūr1stē", "ur1zmi", "ār1krē", "er1sma", "at1šņu", "od1sko", "im1pre", "al1snē", "ap1dza", "iz1pļa", "il1krū", "at1spe", "uz1krā", "in1tra", "at1šķi", "at1bro", "el1tga", "in1tro", "on1tda", "ak1šķa", "as1tna", "ir1ski", "aļ1stu", "os1kni", "ēr1tni", "ār1trū", "er1zta", "ir1zma", "iz1knu", "ar1gku", "eļ1gle", "iz1dzē", "ap1sti", "os1trā", "uz1šķi", "os1tru", "ir1kļu", "es1brā", "ar1sto", "ap1grā", "us1tme", "iz1ski", "in1sva", "um1sko", "un1kni", "at1kvi", "uk1stī", "ap1pli", "ot1plā", "et1rmo", "el1djo", "ub1sta", "uz1sni", "iz1dze", "ul1gšo", "am1pjo", "uz1dre", "ar1pni", "is1mmī", "al1dzī", "iz1žvī", "ar1bmū", "at1spo", "al1šķi", "uz1kvē", "al1kti", "udz1re", "ār1spī", "iz1kra", "et1rre", "ab1sto", "uz1slu", "ār1plē", "us1ttē", "ur1sta", "iz1gri", "ot1rto", "en1sti", "āv1grū", "ār1tva", "un1slī", "on1gre", "ēk1sne", "ir1kni", "el1dpū", "av1grī", "or1tjē", "īk1smā", "īdz1ju", "es1smē", "iz1spo", "iz1brī", "um1bve", "is1kva", "īg1ļla", "īs1stū", "im1tkā", "ār1gme", "ār1ble", "āč1plē", "ēr1zci", "ēp1sta", "el1drā", "ak1šķu", "al1nga", "uk1šķē", "ir1ktā", "od1ska", "īk1sto", "ir1spe", "ir1pšo", "ēj1spē", "at1hro", "id1smi", "on1tra", "at1gve", "il1dķe", "in1sku", "el1dtī", "ek1šķi", "uz1kre", "ap1zvē", "ār1ska", "ān1sve", "udz1vā", "iz1ste", "uz1pla", "an1cka", "ež1frē", "in1gša", "ap1hro", "in1gtī", "ir1mdi", "ir1mva", "ap1svi", "uz1dzī", "uz1pro", "ēr1sna", "ap1dro", "uz1blo", "al1tva", "ek1šsē", "udz1ve", "ih1stā", "uz1gra", "ēd1dzi", "ar1psi", "ār1dri", "at1klā", "iz1tve", "ār1sle", "ul1gša", "al1tvī", "ēr1ļve", "ir1mzi", "at1dra", "os1pļa", "ir1kto", "el1nga", "ēl1spi", "ap1gru", "ēr1bti", "us1pli", "ik1sma", "ār1slī", "ol1ska", "īt1ska", "ap1dži", "ur1tnī", "uz1dzi", "ār1šmī", "odz1ni", "ar1gda", "at1ski", "uz1dzē", "el1tli", "ov1ski", "el1ztā", "at1blā", "ar1dzī", "is1trā", "as1tra", "en1svī", "on1krē", "ur1gta", "en1tmē", "ār1kru", "un1dri", "ār1gla", "el1pva", "as1pro", "is1pri", "iz1plū", "il1dko", "ār1šļi", "ar1tne", "us1tne", "at1kna", "at1kra", "at1spi", "ēr1ptā", "īk1sta", "in1grī", "ed1spi", "op1stu", "um1šsa", "ap1pre", "ap1trū", "ār1šķa", "at1brū", "um1šķi", "el1stu", "al1sto", "uz1kļa", "al1nze", "at1gru", "on1fro", "at1kla", "ap1brū", "ir1mtē", "īdz1nā", "uz1šmī", "ap1gra", "ak1šze", "ap1blī", "an1kno", "il1skā", "ir1ktu", "ēt1spē", "al1vni", "ar1gri", "uz1kle", "ul1sto", "es1krū", "iz1pļā", "uz1plo", "at1šļi", "ug1šma", "ec1sla", "īg1sto", "uz1blē", "ib1sti", "en1sto", "in1kli", "ir1dzi", "ug1zna", "in1gro", "as1prū", "ež1gra", "iz1kre", "eg1slā", "ām1grā", "ig1znā", "am1fle", "ir1pša", "eg1smi", "uz1šķa", "ap1šķē", "ug1sti", "al1ste", "al1nci", "em1mvi", "īdz1ti", "ik1sno", "ār1svē", "et1rkā", "ul1gtā", "at1spē", "ār1sto", "il1šmā", "et1rti", "ar1dzē", "er1cko", "ar1sta", "ēr1bša", "āj1gle", "am1pja", "uz1dva", "ot1rkā", "ak1šma", "uz1plē", "ak1špu", "ār1bļā", "ir1gtā", "ik1šķē", "uz1zva", "al1stī", "os1kle", "ār1ste", "ug1šžo", "ēr1tne", "iz1dva", "is1tru", "ek1šku", "ap1skā", "ar1gti", "ar1gvi", "uz1smi", "im1pto", "ār1ski", "ār1plū", "uļ1ska", "ib1snī", "iz1šķi", "ap1ski", "un1sbī", "ep1stē", "us1sko", "at1zvē", "at1sti", "el1dzo", "īk1smē", "an1sku", "um1sla", "uz1šma", "ap1žņa", "ek1šze", "uz1kri", "ir1mmā", "an1čka", "ēg1sta", "at1kro", "et1rrā", "uz1knā", "uz1stā", "ap1drī", "ez1glo", "at1ple", "ar1šļa", "ug1šņu", "ār1kli", "ot1rzi", "al1kvī", "is1tra", "ib1stā", "or1dni", "el1dpa", "in1gpo", "ul1sla", "uz1tve", "el1tta", "ap1plē", "uz1šņa", "ār1sta", "os1tbi", "ār1gle", "og1ļrū", "er1stu", "iz1plo", "ūv1bri", "ēl1spu", "iz1sli", "ap1plu", "um1sti", "uk1švā", "us1tra", "uz1dži", "ēr1npa", "el1pjo", "et1kre", "āb1slē", "ik1lķe", "an1spo", "im1tku", "ok1gre", "iļ1ska", "an1tku", "an1sjē", "il1pša", "ūk1snā", "āl1szā", "ol1sto", "us1trē", "ij1krē", "an1flo", "ap1glā", "āl1svi", "at1slo", "ur1bjo", "el1sme", "at1smē", "op1dzī", "ūg1stu", "al1tra", "er1tne", "at1švi", "os1trē", "ez1drā", "ur1gša", "en1spo", "ov1ska", "il1ktu", "es1tre", "iz1dve", "ār1smē", "at1gra", "āg1sta", "ūv1gri", "as1tmā", "in1flā", "oņ1stū", "ār1klu", "el1tne", "ak1sta", "ār1dko", "ār1kvē", "an1tro", "at1kru", "ap1sto", "il1pta", "edz1ni", "is1pro", "īr1gro", "udz1si", "em1bra", "ār1zko", "ul1šņā", "us1sti", "ēk1šķi", "udz1vē", "um1tni", "ar1stu", "ap1kle", "īk1smu", "up1sta", "īk1sma", "ār1zva", "ab1rka", "ēdz1ni", "āb1stā", "ēr1kli", "en1tro", "ār1plī", "il1gšu", "ap1kvē", "as1tre", "ak1ste", "ek1šķa", "āt1rmo", "an1sce", "in1sde", "iz1kru", "ap1šļā", "at1bre", "on1sta", "ēr1zla", "el1gša", "ām1bra", "el1dzi", "uz1dru", "udz1di", "ap1brā", "ar1kta", "eņ1sla", "ar1švi", "iz1smi", "ir1vja", "en1gri", "ar1kšo", "uz1drī", "ul1sta", "ek1sme", "ār1šņa", "ār1zni", "ār1tro", "ap1kli", "ār1svi", "ēr1stē", "īk1stī", "et1rtū", "īdz1ci", "ur1tli", "ek1sto", "im1tsa", "us1brā", "uk1šķo", "ir1zta", "ār1stū", "un1ktu", "ēr1mju", "īk1šķa", "ur1kli", "uz1fli", "ap1plū", "il1dzi", "ap1dre", "az1sva", "ug1ļla", "at1stī", "iz1plu", "uz1tro", "is1sli", "iž1skā", "ir1gšo", "en1ktā", "ār1gta", "iz1bli", "ār1smī", "im1brī", "ār1dzē", "ār1svī", "ek1spa", "īdz1ko", "uz1svē", "at1plo", "or1tla", "ab1prā", "ir1tne", "ūk1slā", "iz1sve", "et1plā", "ir1sva", "il1bti", "uz1brū", "īt1spē", "uz1šķē", "udz1no", "at1slā", "iz1blā", "es1tdi", "us1zvi", "is1kri", "ēl1slē", "ob1sku", "ēk1šņi", "ul1šņu", "on1tro", "il1stī", "iz1bra", "ur1pni", "al1dsē", "im1ttū", "is1spē", "es1tme", "in1gvī", "ug1špu", "ir1dne", "iļ1ņla", "ap1sta", "ik1smi", "ad1grā", "iz1spē", "il1gtā", "iz1sva", "il1nbā", "im1stā", "ak1šve", "uz1pra", "uz1grū", "ār1skū", "iz1bru", "us1tsē", "ug1snē", "ār1dzo", "in1tni", "ig1sti", "er1gtu", "en1tru", "as1krū", "ār1slā", "ap1tvē", "el1sti", "il1sto", "il1dra", "ot1rga", "ur1kņu", "ap1bra", "er1tzā", "at1stā", "er1cli", "ēr1bšu", "uz1stē", "ap1plā", "an1gvi", "uz1šļi", "uz1blā", "ed1rvi", "as1tla", "iz1stu", "ot1spē", "us1pro", "im1tda", "am1krē", "op1pro", "ig1žņo", "at1bļa", "ap1kni", "iz1sma", "iz1grū", "an1dpu", "īv1prā", "ur1stu", "ar1stī", "ig1zne", "ūk1sta", "āj1sko", "ek1ška", "ub1sti", "ur1dze", "iz1hro", "ap1šma", "ap1spa", "ār1stē", "ib1stu", "at1smī", "im1sta", "il1ksi", "ar1ndo", "on1kre", "es1krē", "āl1plā", "uk1sma", "in1gri", "um1pro", "uz1dra", "ār1pla", "ār1plu", "at1ste", "el1gta", "en1gru", "il1tze", "ār1pri", "iz1krī", "at1krē", "es1prū", "is1svē", "ār1švi", "ār1knu", "en1ktu", "ap1tre", "iz1kņū", "ul1gsi", "in1dri", "iz1drī", "ek1ste", "aļ1ķne", "uz1spē", "os1tma", "ug1sni", "at1grē", "al1sni", "ur1nga", "ip1frū", "ēr1sko", "at1stē", "ēr1gli", "ol1fra", "at1gro", "un1kci", "ār1kņu", "iz1sku", "ek1sce", "ap1sla", "at1slē", "ap1šta", "ap1šļu", "es1tri", "uz1plu", "ār1bli", "ār1grā", "uz1sto", "il1tra", "in1gru", "ūk1sni", "en1szā", "os1prā", "āp1jvī", "ār1tnē", "il1ptu", "um1šza", "is1kre", "is1krē", "ul1gti", "um1dzī", "ek1špu", "ur1zni", "uz1dro", "us1tve", "ās1trā", "ūg1sta", "ap1brē", "er1vje", "iz1grē", "ar1gmu", "at1dru", "ap1kļa", "ap1spi", "ap1bre", "el1pto", "ār1tvē", "al1kšo", "uk1sme", "el1dzē", "il1kme", "ēn1skā", "ir1gšu", "il1sti", "ir1dsa", "ir1slī", "at1smi", "ār1šķo", "ar1spa", "al1dse", "uz1knu", "ar1gpo", "iz1šļa", "at1šķa", "ār1šņu", "uz1sve", "an1stē", "ek1trā", "ār1glu", "ur1vju", "oņ1sti", "at1drā", "iļ1pro", "iz1tva", "iz1trā", "ap1spā", "om1pli", "ak1stu", "ap1spu", "ek1tdi", "ok1ste", "er1gra", "am1bre", "uz1bļa", "us1gra", "el1gru", "am1sta", "at1sko", "īb1stu", "ek1tri", "el1mla", "an1sve", "at1skā", "un1dzī", "īk1gra", "ap1ska", "in1dko", "al1ktu", "ul1dzu", "es1trā", "at1spī", "ol1dla", "at1šķe", "eņ1ple", "os1tla", "ik1stā", "ap1švī", "uz1prā", "ap1kro", "ūt1smē", "is1gri", "em1pšu", "iz1bļa", "ir1mno", "ap1spī", "ēr1kti", "al1gme", "ed1svi", "is1bri", "un1sne", "en1svi", "uz1kve", "ār1gro", "er1stā", "uz1šķe", "eļ1krū", "od1rpa", "īv1grā", "et1rba", "un1sku", "ār1tmē", "āb1stī", "il1pjo", "iz1stā", "uz1žvī", "uz1šķī", "is1tko", "os1pra", "el1gtu", "ad1smi", "om1kra", "ut1sva", "il1pti", "ug1pre", "un1kte", "il1gru", "ār1šķū", "ez1gli", "iv1spē", "er1dlo", "āt1ršā", "ēj1grā", "ur1dzo", "en1trā", "ap1bļa", "ēr1tņu", "em1dni", "in1ksa", "āl1šķē", "uz1hro", "iv1sto", "et1rjū", "uļ1glu", "ir1psi", "el1zce", "um1slē", "at1gri", "el1ptu", "uk1stā", "at1pra", "ar1gjo", "uz1tva", "uz1sko", "iz1stī", "el1sto", "ap1pra", "ov1sku", "ar1šru", "ēp1sto", "at1krā", "ir1ksi", "ok1šķe", "iz1šļā", "iz1dra", "il1ptā", "il1dsē", "in1gta", "ūp1sta", "ug1ļko", "ar1džu", "iz1krā", "ul1dzī", "ur1stā", "ārg1sti", "ilg1sto", "akt1spo", "alt1gva", "ark1sta", "ugs1tlē", "uzs1pļa", "ald1skā", "ins1grē", "izs1prū", "ilk1tni", "urb1sti", "ezg1lve", "arp1pro", "irk1sni", "eld1plē", "ird1spu", "ilp1stu", "īns1trā", "ārs1kra", "ird1smi", "eln1svā", "irp1sti", "ārg1stu", "ens1sta", "ugš1sti", "irk1sti", "ilg1sta", "als1tpu", "ārd1dzi", "irm1dzi", "abs1tra", "umš1brū", "arb1spē", "ils1blī", "urs1krū", "izs1pra", "urb1stu", "udz1šķa", "uzs1kra", "aps1pre", "ins1gru", "ens1bla", "ārs1pra", "arg1krā", "ilk1tne", "ens1tru", "ulk1ste", "upj1gra", "unk1šķi", "urk1sta", "aps1krē", "irs1drē", "ērt1sli", "obs1tru", "ērt1ssū", "ast1sko", "ird1ska", "irg1sto", "ord1zni", "aks1tve", "ikt1stē", "uzs1pre", "izs1pro", "ilt1stē", "uzs1prā", "eks1tko", "alk1stī", "īdz1pro", "ens1dro", "irg1stu", "ing1sto", "izs1kra", "ink1stē", "alk1šķi", "ātr1sli", "ild1spa", "āls1tre", "alk1sto", "ubs1trā", "aps1tru", "ērk1šķa", "izs1trī", "ats1krē", "ārs1trī", "alk1stu", "uss1kri", "izs1pre", "ent1lme", "irg1zda", "ilb1sti", "eks1tre", "aps1pra", "ilk1sti", "unt1szi", "uzs1pro", "eks1klu", "iss1pri", "aps1trī", "ulb1sto", "urk1sti", "aps1pro", "aht1klu", "āls1sta", "ens1krā", "ilt1smā", "eks1pre", "uzs1tru", "aps1prā", "etr1kla", "uzs1pri", "īks1tmē", "eld1spē", "apj1dra", "ist1hre", "ids1krē", "irs1plā", "irs1stu", "unk1stē", "ilk1sni", "ink1šķi", "ird1smī", "irs1kre", "īdz1ska", "alk1snā", "īks1tsi", "izs1tru", "ars1tda", "unt1sno", "ēst1gri", "uzs1tre", "urk1sto", "uns1dro", "ulg1sto", "ātr1spi", "ilg1spē", "erc1sko", "ilb1sto", "āls1skā", "ens1krū", "aps1tri", "ilk1tnē", "udr1skā", "urb1jma", "ats1pra", "ird1sli", "izs1trā", "ekš1ņnī", "ind1sta", "aps1kra", "ērk1stu", "iln1bri", "uzs1pra", "udz1pla", "ilb1stu", "izs1kri", "ilk1stu", "irp1sta", "eks1trē", "ugs1tka", "ult1zva", "ātr1gri", "ink1šķo", "urk1šķa", "ulb1sti", "uzs1trā", "aps1trā", "irk1stī", "ulb1stu", "unk1tsi", "ons1trē", "īgt1spē", "ark1stu", "ilk1sto", "ark1šķo", "alt1kvē", "uns1dzē", "irk1stē", "ild1krē", "ink1sli", "urs1trā", "unk1sto", "ilk1stē", "ārg1sto", "akt1sgu", "ert1bri", "ilg1sti", "ērt1svē", "ērs1gri", "aps1trē", "eņs1krā", "amp1stu", "ats1trā", "ilp1sti", "ežs1trā", "erk1šķi", "eln1pla", "urk1sni", "akt1svi", "ens1dzi", "irg1sti", "ark1šķu", "ess1krā", "irk1sto", "unt1sma", "isn1gri", "alk1sne", "ild1pla", "udz1ska", "ārs1tru", "uzs1krū", "ink1šķē", "ērs1svī", "ērk1šķo", "īks1tpi", "ilt1rpa", "ātr1bra", "urk1stu", "ārs1pro", "als1sti", "eks1plo", "amp1sto", "izs1tre", "ang1ste", "irg1sta", "izs1krē", "ātr1spē", "ust1knā", "ark1šķē", "ark1šķi", "ārs1prā", "aps1prū", "ilp1sto", "īgs1trā", "ont1rre", "akt1sde", "ats1tre", "uzs1trī", "aps1pļa", "urk1šķi", "urk1ste", "ink1stu", "ājs1trā", "ats1pļa", "ērk1šķi", "etr1stū", "ink1sta", "ans1kri", "eks1pro", "ald1drā", "ārp1sta", "urb1sta", "unk1šķē", "akt1sda", "akt1spu", "alk1sni", "ārg1sta", "āls1tra", "āls1ste", "irg1zde", "āgs1tvi", "ird1zni", "irt1sku", "ons1trā", "ērk1sta", "ilp1sta", "isn1stū", "elk1sni", "ilt1sko", "ats1prū", "urk1šķu", "ars1tga", "ugs1tro", "ens1šķi", "ing1sti", "ads1krū", "els1tra", "ark1šķa", "ark1sto", "ant1sbe", "ink1šķa", "unk1sti", "ird1sde", "ink1sti", "ans1pla", "ugs1tra", "ats1pre", "irk1šķi", "irp1stu", "ils1dru", "als1tni", "ats1tru", "ins1tru", "anž1dze", "īks1pro", "amp1sti", "ars1tvī", "ugš1stā", "anc1spē", "ark1sti", "unk1sta", "irm1ska", "akt1smī", "ulg1stu", "amp1sta", "eks1trī", "unk1šķo", "urk1stē", "elz1szā", "ārs1tre", "ens1kri", "ink1šķe", "uks1trā", "ink1sto", "ult1spū", "elt1spē", "ats1pri", "ild1spē", "uzs1prū", "eks1tro", "egl1prā", "irp1sto", "alt1kri", "akņ1gra", "ārs1lve", "ārs1pļa", "udz1stū", "urb1sto", "aps1tre", "ugs1tvē", "ekļ1skā", "unk1šķa", "isn1prā", "ats1tri", "ākļ1stā", "udz1krā", "imt1pro", "ing1sta", "eks1plu", "akt1spa", "ilk1sta", "alk1šņa", "ats1prā", "īks1tča", "ent1rti", "ērk1sti", "irg1spē", "ikt1spē", "izs1prā", "akt1smi", "izs1krū", "unk1stu", "ats1krū", "ārs1pri", "unk1šķu", "ult1spē", "unt1sga", "ugs1tsi", "izs1pri", "ārs1krū", "aps1krū", "ārk1sti", "izs1pļa", "ars1tpu", "ērk1ste", "uzs1tri", "ulb1sta", "izs1tri", "ons1tru", "irs1svā", "ats1trī", "ārs1krē", "akt1ssa", "eks1tra", "akt1slo", "urk1šķo", "ing1stu", "ult1kva", "ust1spo", "ītņ1gri", "ežs1krū", "irm1sle", "irk1sta", "urk1šķē", "ort1pre", "ekš1ņla", "iņs1trā", "alk1sta", "irk1stu", "emm1dzi", "irg1zdā", "irm1kla", "aks1tni", "ons1tra", "ink1šķu", "ats1kra", "ind1rve", "akt1sja", "ens1blu", "aļķ1špa", "ult1sva", "ogļ1skā", "ārk1sta", "ulg1sti", "ērk1sto", "ird1sdā", "ugs1tce", "uns1grē", "ult1pla", "irš1krā", "egt1spē", "ārs1tni", "ats1pro", "akt1sla", "ārs1tri", "ilg1stu", "īdz1sva", "uzs1krē", "oks1krū", "ārt1sta", "ilb1sta", "alk1sti", "oks1tro", "ekš1dzi", "ent1rbē", "iln1ska", "irm1šķi", "ārs1trā", "aps1pri", "ons1krē", "ārs1pre", "irk1ste", "ird1slē", "ulg1sta", "akš1svā", "alt1bri", "ārs1prū", ".jā1s2p", ".ne1s2p", ".ie1s2p", ".no1s2p", ".pa1s2p", ".pie1s2p", ".sa1s2p", ".uz1s2p", ".aiz1s2p", ".ap1s2p", ".at1s2p", ".bez1s2p", ".pār1s2p", ".iz1s2p", ".eks1s2p", ".vis1s2p", ".jā1t2r", ".ne1t2r", ".ie1t2r", ".no1t2r", ".pa1t2r", ".pie1t2r", ".sa1t2r", ".uz1t2r", ".aiz1t2r", ".ap1t2r", ".at1t2r", ".bez1t2r", ".pār1t2r", ".iz1t2r", ".eks1t2r", ".vis1t2r", ".jā1s2c", ".ne1s2c", ".ie1s2c", ".no1s2c", ".pa1s2c", ".pie1s2c", ".sa1s2c", ".uz1s2c", ".aiz1s2c", ".ap1s2c", ".at1s2c", ".bez1s2c", ".pār1s2c", ".iz1s2c", ".eks1s2c", ".vis1s2c", ".jā1s2tj", ".ne1s2tj", ".ie1s2tj", ".no1s2tj", ".pa1s2tj", ".pie1s2tj", ".sa1s2tj", ".uz1s2tj", ".aiz1s2tj", ".ap1s2tj", ".at1s2tj", ".bez1s2tj", ".pār1s2tj", ".iz1s2tj", ".eks1s2tj", ".vis1s2tj", ".jā1g2l", ".ne1g2l", ".ie1g2l", ".no1g2l", ".pa1g2l", ".pie1g2l", ".sa1g2l", ".uz1g2l", ".aiz1g2l", ".ap1g2l", ".at1g2l", ".bez1g2l", ".pār1g2l", ".iz1g2l", ".eks1g2l", ".vis1g2l", ".jā1ž2v", ".ne1ž2v", ".ie1ž2v", ".no1ž2v", ".pa1ž2v", ".pie1ž2v", ".sa1ž2v", ".uz1ž2v", ".aiz1ž2v", ".ap1ž2v", ".at1ž2v", ".bez1ž2v", ".pār1ž2v", ".iz1ž2v", ".eks1ž2v", ".vis1ž2v", ".jā1š2ļ", ".ne1š2ļ", ".ie1š2ļ", ".no1š2ļ", ".pa1š2ļ", ".pie1š2ļ", ".sa1š2ļ", ".uz1š2ļ", ".aiz1š2ļ", ".ap1š2ļ", ".at1š2ļ", ".bez1š2ļ", ".pār1š2ļ", ".iz1š2ļ", ".eks1š2ļ", ".vis1š2ļ", ".jā1s2f", ".ne1s2f", ".ie1s2f", ".no1s2f", ".pa1s2f", ".pie1s2f", ".sa1s2f", ".uz1s2f", ".aiz1s2f", ".ap1s2f", ".at1s2f", ".bez1s2f", ".pār1s2f", ".iz1s2f", ".eks1s2f", ".vis1s2f", ".jā1š2t", ".ne1š2t", ".ie1š2t", ".no1š2t", ".pa1š2t", ".pie1š2t", ".sa1š2t", ".uz1š2t", ".aiz1š2t", ".ap1š2t", ".at1š2t", ".bez1š2t", ".pār1š2t", ".iz1š2t", ".eks1š2t", ".vis1š2t", ".jā1s2tr", ".ne1s2tr", ".ie1s2tr", ".no1s2tr", ".pa1s2tr", ".pie1s2tr", ".sa1s2tr", ".uz1s2tr", ".aiz1s2tr", ".ap1s2tr", ".at1s2tr", ".bez1s2tr", ".pār1s2tr", ".iz1s2tr", ".eks1s2tr", ".vis1s2tr", ".jā1b2r", ".ne1b2r", ".ie1b2r", ".no1b2r", ".pa1b2r", ".pie1b2r", ".sa1b2r", ".uz1b2r", ".aiz1b2r", ".ap1b2r", ".at1b2r", ".bez1b2r", ".pār1b2r", ".iz1b2r", ".eks1b2r", ".vis1b2r", ".jā1š2r", ".ne1š2r", ".ie1š2r", ".no1š2r", ".pa1š2r", ".pie1š2r", ".sa1š2r", ".uz1š2r", ".aiz1š2r", ".ap1š2r", ".at1š2r", ".bez1š2r", ".pār1š2r", ".iz1š2r", ".eks1š2r", ".vis1š2r", ".jā1š2v", ".ne1š2v", ".ie1š2v", ".no1š2v", ".pa1š2v", ".pie1š2v", ".sa1š2v", ".uz1š2v", ".aiz1š2v", ".ap1š2v", ".at1š2v", ".bez1š2v", ".pār1š2v", ".iz1š2v", ".eks1š2v", ".vis1š2v", ".jā1s2t", ".ne1s2t", ".ie1s2t", ".no1s2t", ".pa1s2t", ".pie1s2t", ".sa1s2t", ".uz1s2t", ".aiz1s2t", ".ap1s2t", ".at1s2t", ".bez1s2t", ".pār1s2t", ".iz1s2t", ".eks1s2t", ".vis1s2t", ".jā1p2r", ".ne1p2r", ".ie1p2r", ".no1p2r", ".pa1p2r", ".pie1p2r", ".sa1p2r", ".uz1p2r", ".aiz1p2r", ".ap1p2r", ".at1p2r", ".bez1p2r", ".pār1p2r", ".iz1p2r", ".eks1p2r", ".vis1p2r", ".jā1g2ļ", ".ne1g2ļ", ".ie1g2ļ", ".no1g2ļ", ".pa1g2ļ", ".pie1g2ļ", ".sa1g2ļ", ".uz1g2ļ", ".aiz1g2ļ", ".ap1g2ļ", ".at1g2ļ", ".bez1g2ļ", ".pār1g2ļ", ".iz1g2ļ", ".eks1g2ļ", ".vis1g2ļ", ".jā1š2k", ".ne1š2k", ".ie1š2k", ".no1š2k", ".pa1š2k", ".pie1š2k", ".sa1š2k", ".uz1š2k", ".aiz1š2k", ".ap1š2k", ".at1š2k", ".bez1š2k", ".pār1š2k", ".iz1š2k", ".eks1š2k", ".vis1š2k", ".jā1p2s", ".ne1p2s", ".ie1p2s", ".no1p2s", ".pa1p2s", ".pie1p2s", ".sa1p2s", ".uz1p2s", ".aiz1p2s", ".ap1p2s", ".at1p2s", ".bez1p2s", ".pār1p2s", ".iz1p2s", ".eks1p2s", ".vis1p2s", ".jā1k2l", ".ne1k2l", ".ie1k2l", ".no1k2l", ".pa1k2l", ".pie1k2l", ".sa1k2l", ".uz1k2l", ".aiz1k2l", ".ap1k2l", ".at1k2l", ".bez1k2l", ".pār1k2l", ".iz1k2l", ".eks1k2l", ".vis1k2l", ".jā1g2r", ".ne1g2r", ".ie1g2r", ".no1g2r", ".pa1g2r", ".pie1g2r", ".sa1g2r", ".uz1g2r", ".aiz1g2r", ".ap1g2r", ".at1g2r", ".bez1g2r", ".pār1g2r", ".iz1g2r", ".eks1g2r", ".vis1g2r", ".jā1š2ķ", ".ne1š2ķ", ".ie1š2ķ", ".no1š2ķ", ".pa1š2ķ", ".pie1š2ķ", ".sa1š2ķ", ".uz1š2ķ", ".aiz1š2ķ", ".ap1š2ķ", ".at1š2ķ", ".bez1š2ķ", ".pār1š2ķ", ".iz1š2ķ", ".eks1š2ķ", ".vis1š2ķ", ".jā1p2n", ".ne1p2n", ".ie1p2n", ".no1p2n", ".pa1p2n", ".pie1p2n", ".sa1p2n", ".uz1p2n", ".aiz1p2n", ".ap1p2n", ".at1p2n", ".bez1p2n", ".pār1p2n", ".iz1p2n", ".eks1p2n", ".vis1p2n", ".jā1s2v", ".ne1s2v", ".ie1s2v", ".no1s2v", ".pa1s2v", ".pie1s2v", ".sa1s2v", ".uz1s2v", ".aiz1s2v", ".ap1s2v", ".at1s2v", ".bez1s2v", ".pār1s2v", ".iz1s2v", ".eks1s2v", ".vis1s2v", ".jā1s2pr", ".ne1s2pr", ".ie1s2pr", ".no1s2pr", ".pa1s2pr", ".pie1s2pr", ".sa1s2pr", ".uz1s2pr", ".aiz1s2pr", ".ap1s2pr", ".at1s2pr", ".bez1s2pr", ".pār1s2pr", ".iz1s2pr", ".eks1s2pr", ".vis1s2pr", ".jā1d2r", ".ne1d2r", ".ie1d2r", ".no1d2r", ".pa1d2r", ".pie1d2r", ".sa1d2r", ".uz1d2r", ".aiz1d2r", ".ap1d2r", ".at1d2r", ".bez1d2r", ".pār1d2r", ".iz1d2r", ".eks1d2r", ".vis1d2r", ".jā1p2l", ".ne1p2l", ".ie1p2l", ".no1p2l", ".pa1p2l", ".pie1p2l", ".sa1p2l", ".uz1p2l", ".aiz1p2l", ".ap1p2l", ".at1p2l", ".bez1p2l", ".pār1p2l", ".iz1p2l", ".eks1p2l", ".vis1p2l", ".jā1d2v", ".ne1d2v", ".ie1d2v", ".no1d2v", ".pa1d2v", ".pie1d2v", ".sa1d2v", ".uz1d2v", ".aiz1d2v", ".ap1d2v", ".at1d2v", ".bez1d2v", ".pār1d2v", ".iz1d2v", ".eks1d2v", ".vis1d2v", ".jā1š2l", ".ne1š2l", ".ie1š2l", ".no1š2l", ".pa1š2l", ".pie1š2l", ".sa1š2l", ".uz1š2l", ".aiz1š2l", ".ap1š2l", ".at1š2l", ".bez1š2l", ".pār1š2l", ".iz1š2l", ".eks1š2l", ".vis1š2l", ".jā1s2k", ".ne1s2k", ".ie1s2k", ".no1s2k", ".pa1s2k", ".pie1s2k", ".sa1s2k", ".uz1s2k", ".aiz1s2k", ".ap1s2k", ".at1s2k", ".bez1s2k", ".pār1s2k", ".iz1s2k", ".eks1s2k", ".vis1s2k", ".jā1s2kv", ".ne1s2kv", ".ie1s2kv", ".no1s2kv", ".pa1s2kv", ".pie1s2kv", ".sa1s2kv", ".uz1s2kv", ".aiz1s2kv", ".ap1s2kv", ".at1s2kv", ".bez1s2kv", ".pār1s2kv", ".iz1s2kv", ".eks1s2kv", ".vis1s2kv", ".jā1k2v", ".ne1k2v", ".ie1k2v", ".no1k2v", ".pa1k2v", ".pie1k2v", ".sa1k2v", ".uz1k2v", ".aiz1k2v", ".ap1k2v", ".at1k2v", ".bez1k2v", ".pār1k2v", ".iz1k2v", ".eks1k2v", ".vis1k2v", ".jā1z2v", ".ne1z2v", ".ie1z2v", ".no1z2v", ".pa1z2v", ".pie1z2v", ".sa1z2v", ".uz1z2v", ".aiz1z2v", ".ap1z2v", ".at1z2v", ".bez1z2v", ".pār1z2v", ".iz1z2v", ".eks1z2v", ".vis1z2v", ".jā1k2s", ".ne1k2s", ".ie1k2s", ".no1k2s", ".pa1k2s", ".pie1k2s", ".sa1k2s", ".uz1k2s", ".aiz1k2s", ".ap1k2s", ".at1k2s", ".bez1k2s", ".pār1k2s", ".iz1k2s", ".eks1k2s", ".vis1k2s", ".jā1p2t", ".ne1p2t", ".ie1p2t", ".no1p2t", ".pa1p2t", ".pie1p2t", ".sa1p2t", ".uz1p2t", ".aiz1p2t", ".ap1p2t", ".at1p2t", ".bez1p2t", ".pār1p2t", ".iz1p2t", ".eks1p2t", ".vis1p2t", ".jā1z2n", ".ne1z2n", ".ie1z2n", ".no1z2n", ".pa1z2n", ".pie1z2n", ".sa1z2n", ".uz1z2n", ".aiz1z2n", ".ap1z2n", ".at1z2n", ".bez1z2n", ".pār1z2n", ".iz1z2n", ".eks1z2n", ".vis1z2n", ".jā1k2r", ".ne1k2r", ".ie1k2r", ".no1k2r", ".pa1k2r", ".pie1k2r", ".sa1k2r", ".uz1k2r", ".aiz1k2r", ".ap1k2r", ".at1k2r", ".bez1k2r", ".pār1k2r", ".iz1k2r", ".eks1k2r", ".vis1k2r", ".jā1s2kr", ".ne1s2kr", ".ie1s2kr", ".no1s2kr", ".pa1s2kr", ".pie1s2kr", ".sa1s2kr", ".uz1s2kr", ".aiz1s2kr", ".ap1s2kr", ".at1s2kr", ".bez1s2kr", ".pār1s2kr", ".iz1s2kr", ".eks1s2kr", ".vis1s2kr", ".jā1f2r", ".ne1f2r", ".ie1f2r", ".no1f2r", ".pa1f2r", ".pie1f2r", ".sa1f2r", ".uz1f2r", ".aiz1f2r", ".ap1f2r", ".at1f2r", ".bez1f2r", ".pār1f2r", ".iz1f2r", ".eks1f2r", ".vis1f2r", ".jā1s2h", ".ne1s2h", ".ie1s2h", ".no1s2h", ".pa1s2h", ".pie1s2h", ".sa1s2h", ".uz1s2h", ".aiz1s2h", ".ap1s2h", ".at1s2h", ".bez1s2h", ".pār1s2h", ".iz1s2h", ".eks1s2h", ".vis1s2h", ".jā1ž2ņ", ".ne1ž2ņ", ".ie1ž2ņ", ".no1ž2ņ", ".pa1ž2ņ", ".pie1ž2ņ", ".sa1ž2ņ", ".uz1ž2ņ", ".aiz1ž2ņ", ".ap1ž2ņ", ".at1ž2ņ", ".bez1ž2ņ", ".pār1ž2ņ", ".iz1ž2ņ", ".eks1ž2ņ", ".vis1ž2ņ", ".jā1d2d", ".ne1d2d", ".ie1d2d", ".no1d2d", ".pa1d2d", ".pie1d2d", ".sa1d2d", ".uz1d2d", ".aiz1d2d", ".ap1d2d", ".at1d2d", ".bez1d2d", ".pār1d2d", ".iz1d2d", ".eks1d2d", ".vis1d2d", ".jā1š2pr", ".ne1š2pr", ".ie1š2pr", ".no1š2pr", ".pa1š2pr", ".pie1š2pr", ".sa1š2pr", ".uz1š2pr", ".aiz1š2pr", ".ap1š2pr", ".at1š2pr", ".bez1š2pr", ".pār1š2pr", ".iz1š2pr", ".eks1š2pr", ".vis1š2pr", ".jā1v2j", ".ne1v2j", ".ie1v2j", ".no1v2j", ".pa1v2j", ".pie1v2j", ".sa1v2j", ".uz1v2j", ".aiz1v2j", ".ap1v2j", ".at1v2j", ".bez1v2j", ".pār1v2j", ".iz1v2j", ".eks1v2j", ".vis1v2j", ".jā1f2j", ".ne1f2j", ".ie1f2j", ".no1f2j", ".pa1f2j", ".pie1f2j", ".sa1f2j", ".uz1f2j", ".aiz1f2j", ".ap1f2j", ".at1f2j", ".bez1f2j", ".pār1f2j", ".iz1f2j", ".eks1f2j", ".vis1f2j", ".jā1p2j", ".ne1p2j", ".ie1p2j", ".no1p2j", ".pa1p2j", ".pie1p2j", ".sa1p2j", ".uz1p2j", ".aiz1p2j", ".ap1p2j", ".at1p2j", ".bez1p2j", ".pār1p2j", ".iz1p2j", ".eks1p2j", ".vis1p2j", ".jā1b2ļ", ".ne1b2ļ", ".ie1b2ļ", ".no1b2ļ", ".pa1b2ļ", ".pie1b2ļ", ".sa1b2ļ", ".uz1b2ļ", ".aiz1b2ļ", ".ap1b2ļ", ".at1b2ļ", ".bez1b2ļ", ".pār1b2ļ", ".iz1b2ļ", ".eks1b2ļ", ".vis1b2ļ", ".jā1g2n", ".ne1g2n", ".ie1g2n", ".no1g2n", ".pa1g2n", ".pie1g2n", ".sa1g2n", ".uz1g2n", ".aiz1g2n", ".ap1g2n", ".at1g2n", ".bez1g2n", ".pār1g2n", ".iz1g2n", ".eks1g2n", ".vis1g2n", ".jā1h2r", ".ne1h2r", ".ie1h2r", ".no1h2r", ".pa1h2r", ".pie1h2r", ".sa1h2r", ".uz1h2r", ".aiz1h2r", ".ap1h2r", ".at1h2r", ".bez1h2r", ".pār1h2r", ".iz1h2r", ".eks1h2r", ".vis1h2r", ".jā1s2n", ".ne1s2n", ".ie1s2n", ".no1s2n", ".pa1s2n", ".pie1s2n", ".sa1s2n", ".uz1s2n", ".aiz1s2n", ".ap1s2n", ".at1s2n", ".bez1s2n", ".pār1s2n", ".iz1s2n", ".eks1s2n", ".vis1s2n", ".jā1ž2m", ".ne1ž2m", ".ie1ž2m", ".no1ž2m", ".pa1ž2m", ".pie1ž2m", ".sa1ž2m", ".uz1ž2m", ".aiz1ž2m", ".ap1ž2m", ".at1ž2m", ".bez1ž2m", ".pār1ž2m", ".iz1ž2m", ".eks1ž2m", ".vis1ž2m", ".jā1d2ž", ".ne1d2ž", ".ie1d2ž", ".no1d2ž", ".pa1d2ž", ".pie1d2ž", ".sa1d2ž", ".uz1d2ž", ".aiz1d2ž", ".ap1d2ž", ".at1d2ž", ".bez1d2ž", ".pār1d2ž", ".iz1d2ž", ".eks1d2ž", ".vis1d2ž", ".jā1k2c", ".ne1k2c", ".ie1k2c", ".no1k2c", ".pa1k2c", ".pie1k2c", ".sa1k2c", ".uz1k2c", ".aiz1k2c", ".ap1k2c", ".at1k2c", ".bez1k2c", ".pār1k2c", ".iz1k2c", ".eks1k2c", ".vis1k2c", ".jā1k2ņ", ".ne1k2ņ", ".ie1k2ņ", ".no1k2ņ", ".pa1k2ņ", ".pie1k2ņ", ".sa1k2ņ", ".uz1k2ņ", ".aiz1k2ņ", ".ap1k2ņ", ".at1k2ņ", ".bez1k2ņ", ".pār1k2ņ", ".iz1k2ņ", ".eks1k2ņ", ".vis1k2ņ", ".jā1š2m", ".ne1š2m", ".ie1š2m", ".no1š2m", ".pa1š2m", ".pie1š2m", ".sa1š2m", ".uz1š2m", ".aiz1š2m", ".ap1š2m", ".at1š2m", ".bez1š2m", ".pār1š2m", ".iz1š2m", ".eks1š2m", ".vis1š2m", ".jā1g2v", ".ne1g2v", ".ie1g2v", ".no1g2v", ".pa1g2v", ".pie1g2v", ".sa1g2v", ".uz1g2v", ".aiz1g2v", ".ap1g2v", ".at1g2v", ".bez1g2v", ".pār1g2v", ".iz1g2v", ".eks1g2v", ".vis1g2v", ".jā1h2l", ".ne1h2l", ".ie1h2l", ".no1h2l", ".pa1h2l", ".pie1h2l", ".sa1h2l", ".uz1h2l", ".aiz1h2l", ".ap1h2l", ".at1h2l", ".bez1h2l", ".pār1h2l", ".iz1h2l", ".eks1h2l", ".vis1h2l", ".jā1k2ļ", ".ne1k2ļ", ".ie1k2ļ", ".no1k2ļ", ".pa1k2ļ", ".pie1k2ļ", ".sa1k2ļ", ".uz1k2ļ", ".aiz1k2ļ", ".ap1k2ļ", ".at1k2ļ", ".bez1k2ļ", ".pār1k2ļ", ".iz1k2ļ", ".eks1k2ļ", ".vis1k2ļ", ".jā1s2l", ".ne1s2l", ".ie1s2l", ".no1s2l", ".pa1s2l", ".pie1s2l", ".sa1s2l", ".uz1s2l", ".aiz1s2l", ".ap1s2l", ".at1s2l", ".bez1s2l", ".pār1s2l", ".iz1s2l", ".eks1s2l", ".vis1s2l", ".jā1t2v", ".ne1t2v", ".ie1t2v", ".no1t2v", ".pa1t2v", ".pie1t2v", ".sa1t2v", ".uz1t2v", ".aiz1t2v", ".ap1t2v", ".at1t2v", ".bez1t2v", ".pār1t2v", ".iz1t2v", ".eks1t2v", ".vis1t2v", ".jā1š2ņ", ".ne1š2ņ", ".ie1š2ņ", ".no1š2ņ", ".pa1š2ņ", ".pie1š2ņ", ".sa1š2ņ", ".uz1š2ņ", ".aiz1š2ņ", ".ap1š2ņ", ".at1š2ņ", ".bez1š2ņ", ".pār1š2ņ", ".iz1š2ņ", ".eks1š2ņ", ".vis1š2ņ", ".jā1š2p", ".ne1š2p", ".ie1š2p", ".no1š2p", ".pa1š2p", ".pie1š2p", ".sa1š2p", ".uz1š2p", ".aiz1š2p", ".ap1š2p", ".at1š2p", ".bez1š2p", ".pār1š2p", ".iz1š2p", ".eks1š2p", ".vis1š2p", ".jā1d2z", ".ne1d2z", ".ie1d2z", ".no1d2z", ".pa1d2z", ".pie1d2z", ".sa1d2z", ".uz1d2z", ".aiz1d2z", ".ap1d2z", ".at1d2z", ".bez1d2z", ".pār1d2z", ".iz1d2z", ".eks1d2z", ".vis1d2z", ".jā1f2l", ".ne1f2l", ".ie1f2l", ".no1f2l", ".pa1f2l", ".pie1f2l", ".sa1f2l", ".uz1f2l", ".aiz1f2l", ".ap1f2l", ".at1f2l", ".bez1f2l", ".pār1f2l", ".iz1f2l", ".eks1f2l", ".vis1f2l", ".jā1k2n", ".ne1k2n", ".ie1k2n", ".no1k2n", ".pa1k2n", ".pie1k2n", ".sa1k2n", ".uz1k2n", ".aiz1k2n", ".ap1k2n", ".at1k2n", ".bez1k2n", ".pār1k2n", ".iz1k2n", ".eks1k2n", ".vis1k2n", ".jā1p2ļ", ".ne1p2ļ", ".ie1p2ļ", ".no1p2ļ", ".pa1p2ļ", ".pie1p2ļ", ".sa1p2ļ", ".uz1p2ļ", ".aiz1p2ļ", ".ap1p2ļ", ".at1p2ļ", ".bez1p2ļ", ".pār1p2ļ", ".iz1p2ļ", ".eks1p2ļ", ".vis1p2ļ", ".jā1s2pļ", ".ne1s2pļ", ".ie1s2pļ", ".no1s2pļ", ".pa1s2pļ", ".pie1s2pļ", ".sa1s2pļ", ".uz1s2pļ", ".aiz1s2pļ", ".ap1s2pļ", ".at1s2pļ", ".bez1s2pļ", ".pār1s2pļ", ".iz1s2pļ", ".eks1s2pļ", ".vis1s2pļ", ".jā1s2kl", ".ne1s2kl", ".ie1s2kl", ".no1s2kl", ".pa1s2kl", ".pie1s2kl", ".sa1s2kl", ".uz1s2kl", ".aiz1s2kl", ".ap1s2kl", ".at1s2kl", ".bez1s2kl", ".pār1s2kl", ".iz1s2kl", ".eks1s2kl", ".vis1s2kl", ".jā1k2b", ".ne1k2b", ".ie1k2b", ".no1k2b", ".pa1k2b", ".pie1k2b", ".sa1k2b", ".uz1k2b", ".aiz1k2b", ".ap1k2b", ".at1k2b", ".bez1k2b", ".pār1k2b", ".iz1k2b", ".eks1k2b", ".vis1k2b", ".jā1s2m", ".ne1s2m", ".ie1s2m", ".no1s2m", ".pa1s2m", ".pie1s2m", ".sa1s2m", ".uz1s2m", ".aiz1s2m", ".ap1s2m", ".at1s2m", ".bez1s2m", ".pār1s2m", ".iz1s2m", ".eks1s2m", ".vis1s2m", ".jā1m2n", ".ne1m2n", ".ie1m2n", ".no1m2n", ".pa1m2n", ".pie1m2n", ".sa1m2n", ".uz1m2n", ".aiz1m2n", ".ap1m2n", ".at1m2n", ".bez1m2n", ".pār1m2n", ".iz1m2n", ".eks1m2n", ".vis1m2n", ".jā1š2n", ".ne1š2n", ".ie1š2n", ".no1š2n", ".pa1š2n", ".pie1š2n", ".sa1š2n", ".uz1š2n", ".aiz1š2n", ".ap1š2n", ".at1š2n", ".bez1š2n", ".pār1š2n", ".iz1š2n", ".eks1š2n", ".vis1š2n", ".jā1v2r", ".ne1v2r", ".ie1v2r", ".no1v2r", ".pa1v2r", ".pie1v2r", ".sa1v2r", ".uz1v2r", ".aiz1v2r", ".ap1v2r", ".at1v2r", ".bez1v2r", ".pār1v2r", ".iz1v2r", ".eks1v2r", ".vis1v2r", ".jā1b2l", ".ne1b2l", ".ie1b2l", ".no1b2l", ".pa1b2l", ".pie1b2l", ".sa1b2l", ".uz1b2l", ".aiz1b2l", ".ap1b2l", ".at1b2l", ".bez1b2l", ".pār1b2l", ".iz1b2l", ".eks1b2l", ".vis1b2l", "2b3dams.", "2c3dams.", "2č3dams.", "2d3dams.", "2f3dams.", "2g3dams.", "2ģ3dams.", "2h3dams.", "2j3dams.", "2k3dams.", "2ķ3dams.", "2l3dams.", "2ļ3dams.", "2m3dams.", "2n3dams.", "2ņ3dams.", "2p3dams.", "2r3dams.", "2s3dams.", "2š3dams.", "2t3dams.", "2v3dams.", "2z3dams.", "2ž3dams.", "2b3da3ma.", "2c3da3ma.", "2č3da3ma.", "2d3da3ma.", "2f3da3ma.", "2g3da3ma.", "2ģ3da3ma.", "2h3da3ma.", "2j3da3ma.", "2k3da3ma.", "2ķ3da3ma.", "2l3da3ma.", "2ļ3da3ma.", "2m3da3ma.", "2n3da3ma.", "2ņ3da3ma.", "2p3da3ma.", "2r3da3ma.", "2s3da3ma.", "2š3da3ma.", "2t3da3ma.", "2v3da3ma.", "2z3da3ma.", "2ž3da3ma.", "2b3da3mies.", "2c3da3mies.", "2č3da3mies.", "2d3da3mies.", "2f3da3mies.", "2g3da3mies.", "2ģ3da3mies.", "2h3da3mies.", "2j3da3mies.", "2k3da3mies.", "2ķ3da3mies.", "2l3da3mies.", "2ļ3da3mies.", "2m3da3mies.", "2n3da3mies.", "2ņ3da3mies.", "2p3da3mies.", "2r3da3mies.", "2s3da3mies.", "2š3da3mies.", "2t3da3mies.", "2v3da3mies.", "2z3da3mies.", "2ž3da3mies.", "2b3da3mās.", "2c3da3mās.", "2č3da3mās.", "2d3da3mās.", "2f3da3mās.", "2g3da3mās.", "2ģ3da3mās.", "2h3da3mās.", "2j3da3mās.", "2k3da3mās.", "2ķ3da3mās.", "2l3da3mās.", "2ļ3da3mās.", "2m3da3mās.", "2n3da3mās.", "2ņ3da3mās.", "2p3da3mās.", "2r3da3mās.", "2s3da3mās.", "2š3da3mās.", "2t3da3mās.", "2v3da3mās.", "2z3da3mās.", "2ž3da3mās.", "2b3gans.", "2c3gans.", "2č3gans.", "2d3gans.", "2f3gans.", "2g3gans.", "2ģ3gans.", "2h3gans.", "2j3gans.", "2k3gans.", "2ķ3gans.", "2l3gans.", "2ļ3gans.", "2m3gans.", "2n3gans.", "2ņ3gans.", "2p3gans.", "2r3gans.", "2s3gans.", "2š3gans.", "2t3gans.", "2v3gans.", "2z3gans.", "2ž3gans.", "2b3ga3na.", "2c3ga3na.", "2č3ga3na.", "2d3ga3na.", "2f3ga3na.", "2g3ga3na.", "2ģ3ga3na.", "2h3ga3na.", "2j3ga3na.", "2k3ga3na.", "2ķ3ga3na.", "2l3ga3na.", "2ļ3ga3na.", "2m3ga3na.", "2n3ga3na.", "2ņ3ga3na.", "2p3ga3na.", "2r3ga3na.", "2s3ga3na.", "2š3ga3na.", "2t3ga3na.", "2v3ga3na.", "2z3ga3na.", "2ž3ga3na.", "2b3nieks.", "2c3nieks.", "2č3nieks.", "2d3nieks.", "2f3nieks.", "2g3nieks.", "2ģ3nieks.", "2h3nieks.", "2j3nieks.", "2k3nieks.", "2ķ3nieks.", "2l3nieks.", "2ļ3nieks.", "2m3nieks.", "2n3nieks.", "2ņ3nieks.", "2p3nieks.", "2r3nieks.", "2s3nieks.", "2š3nieks.", "2t3nieks.", "2v3nieks.", "2z3nieks.", "2ž3nieks.", "2b3nie3ce.", "2c3nie3ce.", "2č3nie3ce.", "2d3nie3ce.", "2f3nie3ce.", "2g3nie3ce.", "2ģ3nie3ce.", "2h3nie3ce.", "2j3nie3ce.", "2k3nie3ce.", "2ķ3nie3ce.", "2l3nie3ce.", "2ļ3nie3ce.", "2m3nie3ce.", "2n3nie3ce.", "2ņ3nie3ce.", "2p3nie3ce.", "2r3nie3ce.", "2s3nie3ce.", "2š3nie3ce.", "2t3nie3ce.", "2v3nie3ce.", "2z3nie3ce.", "2ž3nie3ce.", "2b3nī3ca.", "2c3nī3ca.", "2č3nī3ca.", "2d3nī3ca.", "2f3nī3ca.", "2g3nī3ca.", "2ģ3nī3ca.", "2h3nī3ca.", "2j3nī3ca.", "2k3nī3ca.", "2ķ3nī3ca.", "2l3nī3ca.", "2ļ3nī3ca.", "2m3nī3ca.", "2n3nī3ca.", "2ņ3nī3ca.", "2p3nī3ca.", "2r3nī3ca.", "2s3nī3ca.", "2š3nī3ca.", "2t3nī3ca.", "2v3nī3ca.", "2z3nī3ca.", "2ž3nī3ca.", "2b3ša3na.", "2c3ša3na.", "2č3ša3na.", "2d3ša3na.", "2f3ša3na.", "2g3ša3na.", "2ģ3ša3na.", "2h3ša3na.", "2j3ša3na.", "2k3ša3na.", "2ķ3ša3na.", "2l3ša3na.", "2ļ3ša3na.", "2m3ša3na.", "2n3ša3na.", "2ņ3ša3na.", "2p3ša3na.", "2r3ša3na.", "2s3ša3na.", "2š3ša3na.", "2t3ša3na.", "2v3ša3na.", "2z3ša3na.", "2ž3ša3na.", "2b3ša3nās.", "2c3ša3nās.", "2č3ša3nās.", "2d3ša3nās.", "2f3ša3nās.", "2g3ša3nās.", "2ģ3ša3nās.", "2h3ša3nās.", "2j3ša3nās.", "2k3ša3nās.", "2ķ3ša3nās.", "2l3ša3nās.", "2ļ3ša3nās.", "2m3ša3nās.", "2n3ša3nās.", "2ņ3ša3nās.", "2p3ša3nās.", "2r3ša3nās.", "2s3ša3nās.", "2š3ša3nās.", "2t3ša3nās.", "2v3ša3nās.", "2z3ša3nās.", "2ž3ša3nās.", "2b3ta3la.", "2c3ta3la.", "2č3ta3la.", "2d3ta3la.", "2f3ta3la.", "2g3ta3la.", "2ģ3ta3la.", "2h3ta3la.", "2j3ta3la.", "2k3ta3la.", "2ķ3ta3la.", "2l3ta3la.", "2ļ3ta3la.", "2m3ta3la.", "2n3ta3la.", "2ņ3ta3la.", "2p3ta3la.", "2r3ta3la.", "2s3ta3la.", "2š3ta3la.", "2t3ta3la.", "2v3ta3la.", "2z3ta3la.", "2ž3ta3la.", "2b3tu3ve.", "2c3tu3ve.", "2č3tu3ve.", "2d3tu3ve.", "2f3tu3ve.", "2g3tu3ve.", "2ģ3tu3ve.", "2h3tu3ve.", "2j3tu3ve.", "2k3tu3ve.", "2ķ3tu3ve.", "2l3tu3ve.", "2ļ3tu3ve.", "2m3tu3ve.", "2n3tu3ve.", "2ņ3tu3ve.", "2p3tu3ve.", "2r3tu3ve.", "2s3tu3ve.", "2š3tu3ve.", "2t3tu3ve.", "2v3tu3ve.", "2z3tu3ve.", "2ž3tu3ve.", ".jā3a2", ".ne3a2", ".ie3a2", ".no3a2", ".pa3a2", ".pie3a2", ".sa3a2", ".uz3a2", ".aiz3a2", ".ap3a2", ".at3a2", ".bez3a2", ".pār3a2", ".iz3a2", ".eks3a2", ".vis3a2", ".jā3ā2", ".ne3ā2", ".ie3ā2", ".no3ā2", ".pa3ā2", ".pie3ā2", ".sa3ā2", ".uz3ā2", ".aiz3ā2", ".ap3ā2", ".at3ā2", ".bez3ā2", ".pār3ā2", ".iz3ā2", ".eks3ā2", ".vis3ā2", ".jā3e2", ".ne3e2", ".ie3e2", ".no3e2", ".pa3e2", ".pie3e2", ".sa3e2", ".uz3e2", ".aiz3e2", ".ap3e2", ".at3e2", ".bez3e2", ".pār3e2", ".iz3e2", ".eks3e2", ".vis3e2", ".jā3ē2", ".ne3ē2", ".ie3ē2", ".no3ē2", ".pa3ē2", ".pie3ē2", ".sa3ē2", ".uz3ē2", ".aiz3ē2", ".ap3ē2", ".at3ē2", ".bez3ē2", ".pār3ē2", ".iz3ē2", ".eks3ē2", ".vis3ē2", ".jā3i2", ".ne3i2", ".ie3i2", ".no3i2", ".pa3i2", ".pie3i2", ".sa3i2", ".uz3i2", ".aiz3i2", ".ap3i2", ".at3i2", ".bez3i2", ".pār3i2", ".iz3i2", ".eks3i2", ".vis3i2", ".jā3ī2", ".ne3ī2", ".ie3ī2", ".no3ī2", ".pa3ī2", ".pie3ī2", ".sa3ī2", ".uz3ī2", ".aiz3ī2", ".ap3ī2", ".at3ī2", ".bez3ī2", ".pār3ī2", ".iz3ī2", ".eks3ī2", ".vis3ī2", ".jā3o2", ".ne3o2", ".ie3o2", ".no3o2", ".pa3o2", ".pie3o2", ".sa3o2", ".uz3o2", ".aiz3o2", ".ap3o2", ".at3o2", ".bez3o2", ".pār3o2", ".iz3o2", ".eks3o2", ".vis3o2", ".jā3u2", ".ne3u2", ".ie3u2", ".no3u2", ".pa3u2", ".pie3u2", ".sa3u2", ".uz3u2", ".aiz3u2", ".ap3u2", ".at3u2", ".bez3u2", ".pār3u2", ".iz3u2", ".eks3u2", ".vis3u2", ".jā3ū2", ".ne3ū2", ".ie3ū2", ".no3ū2", ".pa3ū2", ".pie3ū2", ".sa3ū2", ".uz3ū2", ".aiz3ū2", ".ap3ū2", ".at3ū2", ".bez3ū2", ".pār3ū2", ".iz3ū2", ".eks3ū2", ".vis3ū2", ".jā3ie1", ".jā3iz1", ".jā3no1", ".ne3aiz1", ".ne3ap1", ".ne3ie1", ".ne3at1", ".ne3in1", ".ne3iz1", ".ne3sa", ".ne3uz1", ".priek2š1", "4d5ze1me", ".tur2p1m", "il2k1tie", ".spil2g1t", "mē1ne2š1", "1pa1d2smit", "g2š1gal", "k2š1gal", "tran2s", "1port", "vēs2t1n", "vēs2t1k", "pa2t3stā", "pa2s2t3k", "pa2s2t3m", "pa2s2t2s.", "pa2r2k2s.", "pa2r3ket", "sa2ls.", "sa2lds.", "sa2l2d1", "pir2m1r", "pir2m1k", "pir2m2s1", "ot2r1r2", "ot2r1k2", "ir2k3l", "ir2k3ļ", ".adā2m3", ".ai4z5", "ak3me4ņ3", "apak2š3", "ap1au", "kār2t3n", "aug2s2t3", ".at3e2j", "bal2t3ma", ".vie2n1", }
mit
Ninjistix/darkstar
scripts/zones/Port_San_dOria/npcs/Ceraulian.lua
5
5064
----------------------------------- -- Area: Port San d'Oria -- NPC: Ceraulian -- Involved in Quest: The Holy Crest -- !pos 0 -8 -122 232 ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/globals/quests"); require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/zones/Port_San_dOria/TextIDs"); ----------------------------------- function onTrade(player,npc,trade) if (player:getQuestStatus(SANDORIA,CHASING_QUOTAS) == QUEST_ACCEPTED and player:getVar("ChasingQuotas_Progress") == 0 and trade:getItemCount() == 1 and trade:hasItemQty(12494,1) and trade:getGil() == 0) then -- Trading gold hairpin only player:tradeComplete(); player:startEvent(17); end end; function onTrigger(player,npc) local Quotas_Status = player:getQuestStatus(SANDORIA,CHASING_QUOTAS); local Quotas_Progress = player:getVar("ChasingQuotas_Progress"); local Quotas_No = player:getVar("ChasingQuotas_No"); local Stalker_Status = player:getQuestStatus(SANDORIA,KNIGHT_STALKER); local Stalker_Progress = player:getVar("KnightStalker_Progress"); if (player:getMainLvl() >= ADVANCED_JOB_LEVEL and player:getQuestStatus(SANDORIA,THE_HOLY_CREST) == QUEST_AVAILABLE) then player:startEvent(24); -- Chasing Quotas (DRG AF2) elseif (Quotas_Status == QUEST_AVAILABLE and player:getMainJob() == JOBS.DRG and player:getMainLvl() >= AF1_QUEST_LEVEL and Quotas_No == 0) then player:startEvent(18); -- Long version of quest start elseif (Quotas_No == 1) then player:startEvent(14); -- Short version for those that said no. elseif (Quotas_Status == QUEST_ACCEPTED and Quotas_Progress == 0) then players:startEvent(13); -- Reminder to bring Gold Hairpin elseif (Quotas_Progress == 1) then if (player:getVar("ChasingQuotas_date") > os.time()) then player:startEvent(3); -- Fluff cutscene because you haven't waited a day else player:startEvent(7); -- Boss got mugged end elseif (Quotas_Progress == 2) then player:startEvent(8); -- Go investigate elseif (Quotas_Progress == 3) then player:startEvent(6); -- Earring is a clue, non-required CS elseif (Quotas_Progress == 4 or Quotas_Progress == 5) then player:startEvent(9); -- Fluff text until Ceraulian is necessary again elseif (Quotas_Progress == 6) then player:startEvent(15); -- End of AF2 elseif (Quotas_Status == QUEST_COMPLETED and Stalker_Status == QUEST_AVAILABLE) then player:startEvent(16); -- Fluff text until DRG AF3 -- Knight Stalker (DRG AF3) elseif (Stalker_Status == QUEST_ACCEPTED and Stalker_Progress == 0) then player:startEvent(19); -- Fetch the last Dragoon's helmet elseif (Stalker_Progress == 1) then if (player:hasKeyItem(CHALLENGE_TO_THE_ROYAL_KNIGHTS) == false) then player:startEvent(23); -- Reminder to get helmet else player:startEvent(20); -- Response if you try to turn in the challenge to Ceraulian end elseif (player:getVar("KnightStalker_Option1") == 1) then player:startEvent(22); elseif (Stalker_Status == QUEST_COMPLETED) then player:startEvent(21); else player:startEvent(587); end end; function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end; function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); if (csid == 24) then player:setVar("TheHolyCrest_Event",1); -- Chasing Quotas (DRG AF2) elseif (csid == 18) then if option == 0 then player:setVar("ChasingQuotas_No",1); else player:addQuest(SANDORIA,CHASING_QUOTAS); end elseif (csid == 14 and option == 1) then player:setVar("ChasingQuotas_No",0); player:addQuest(SANDORIA,CHASING_QUOTAS); elseif (csid == 17) then player:setVar("ChasingQuotas_Progress",1); player:setVar("ChasingQuotas_date", getMidnight()); elseif (csid == 7) then player:setVar("ChasingQuotas_Progress",2); player:setVar("ChasingQuotas_date",0); elseif (csid == 15) then if (player:getFreeSlotsCount() < 1) then player:messageSpecial(ITEM_CANNOT_BE_OBTAINED,14227); else player:delKeyItem(RANCHURIOMES_LEGACY); player:addItem(14227); player:messageSpecial(ITEM_OBTAINED,14227); -- Drachen Brais player:addFame(SANDORIA,AF2_FAME); player:completeQuest(SANDORIA,CHASING_QUOTAS); player:setVar("ChasingQuotas_Progress",0); end -- Knight Stalker (DRG AF3) elseif (csid == 19) then player:setVar("KnightStalker_Progress",1); elseif (csid == 22) then player:setVar("KnightStalker_Option1",0); end end;
gpl-3.0
istarIQ/Source
admin.lua
41
9539
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(receiver, 'Photo changed!', ok_cb, false) redis:del("bot:photo") else print('Error downloading: '..msg.id) send_large_msg(receiver, 'Failed, please try again!', ok_cb, false) end end --Function to add log supergroup local function logadd(msg) local data = load_data(_config.moderation.data) local receiver = get_receiver(msg) local GBan_log = 'GBan_log' if not data[tostring(GBan_log)] then data[tostring(GBan_log)] = {} save_data(_config.moderation.data, data) end data[tostring(GBan_log)][tostring(msg.to.id)] = msg.to.peer_id save_data(_config.moderation.data, data) local text = 'Log_SuperGroup has has been set!' reply_msg(msg.id,text,ok_cb,false) return end --Function to remove log supergroup local function logrem(msg) local data = load_data(_config.moderation.data) local receiver = get_receiver(msg) local GBan_log = 'GBan_log' if not data[tostring(GBan_log)] then data[tostring(GBan_log)] = nil save_data(_config.moderation.data, data) end data[tostring(GBan_log)][tostring(msg.to.id)] = nil save_data(_config.moderation.data, data) local text = 'Log_SuperGroup has has been removed!' reply_msg(msg.id,text,ok_cb,false) return end local function parsed_url(link) local parsed_link = URL.parse(link) local parsed_path = URL.parse_path(parsed_link.path) return parsed_path[2] end local function get_contact_list_callback (cb_extra, success, result) local text = " " for k,v in pairs(result) do if v.print_name and v.id and v.phone then text = text..string.gsub(v.print_name , "_" , " ").." ["..v.id.."] = "..v.phone.."\n" end end local file = io.open("contact_list.txt", "w") file:write(text) file:flush() file:close() send_document("user#id"..cb_extra.target,"contact_list.txt", ok_cb, false)--.txt format local file = io.open("contact_list.json", "w") file:write(json:encode_pretty(result)) file:flush() file:close() send_document("user#id"..cb_extra.target,"contact_list.json", ok_cb, false)--json format end local function get_dialog_list_callback(cb_extra, success, result) local text = "" for k,v in pairsByKeys(result) do if v.peer then if v.peer.type == "chat" then text = text.."group{"..v.peer.title.."}["..v.peer.id.."]("..v.peer.members_num..")" else if v.peer.print_name and v.peer.id then text = text.."user{"..v.peer.print_name.."}["..v.peer.id.."]" end if v.peer.username then text = text.."("..v.peer.username..")" end if v.peer.phone then text = text.."'"..v.peer.phone.."'" end end end if v.message then text = text..'\nlast msg >\nmsg id = '..v.message.id if v.message.text then text = text .. "\n text = "..v.message.text end if v.message.action then text = text.."\n"..serpent.block(v.message.action, {comment=false}) end if v.message.from then if v.message.from.print_name then text = text.."\n From > \n"..string.gsub(v.message.from.print_name, "_"," ").."["..v.message.from.id.."]" end if v.message.from.username then text = text.."( "..v.message.from.username.." )" end if v.message.from.phone then text = text.."' "..v.message.from.phone.." '" end end end text = text.."\n\n" end local file = io.open("dialog_list.txt", "w") file:write(text) file:flush() file:close() send_document("user#id"..cb_extra.target,"dialog_list.txt", ok_cb, false)--.txt format local file = io.open("dialog_list.json", "w") file:write(json:encode_pretty(result)) file:flush() file:close() send_document("user#id"..cb_extra.target,"dialog_list.json", ok_cb, false)--json format end -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists( name ) for k,v in pairs(plugins_names()) do if name..'.lua' == v then return true end end return false end local function reload_plugins( ) plugins = {} return load_plugins() end local function run(msg,matches) local receiver = get_receiver(msg) local group = msg.to.id local print_name = user_print_name(msg.from):gsub("‮", "") local name_log = print_name:gsub("_", " ") if not is_admin1(msg) then return end if msg.media then if msg.media.type == 'photo' and redis:get("bot:photo") then if redis:get("bot:photo") == 'waiting' then load_photo(msg.id, set_bot_photo, msg) end end end if matches[1] == "setbotphoto" then redis:set("bot:photo", "waiting") return 'Please send me bot photo now' end if matches[1] == "markread" then if matches[2] == "on" then redis:set("bot:markread", "on") return "Mark read > on" end if matches[2] == "off" then redis:del("bot:markread") return "Mark read > off" end return end if matches[1] == "pm" then send_large_msg("user#id"..matches[2],matches[3]) return "Msg sent" end if matches[1] == "pmblock" then if is_admin2(matches[2]) then return "You can't block admins" end block_user("user#id"..matches[2],ok_cb,false) return "User blocked" end if matches[1] == "pmunblock" then unblock_user("user#id"..matches[2],ok_cb,false) return "User unblocked" end if matches[1] == "import" then--join by group link local hash = parsed_url(matches[2]) import_chat_link(hash,ok_cb,false) end if matches[1] == "contactlist" then if not is_sudo(msg) then-- Sudo only return end get_contact_list(get_contact_list_callback, {target = msg.from.id}) return "I've sent contact list with both json and text format to your private" end if matches[1] == "delcontact" then if not is_sudo(msg) then-- Sudo only return end del_contact("user#id"..matches[2],ok_cb,false) return "User "..matches[2].." removed from contact list" end if matches[1] == "dialoglist" then get_dialog_list(get_dialog_list_callback, {target = msg.from.id}) return "I've sent a group dialog list with both json and text format to your private messages" end if matches[1] == "whois" then user_info("user#id"..matches[2],user_info_callback,{msg=msg}) end if matches[1] == "sync_gbans" then if not is_sudo(msg) then-- Sudo only return end local url = "http://seedteam.org/Teleseed/Global_bans.json" local SEED_gbans = http.request(url) local jdat = json:decode(SEED_gbans) for k,v in pairs(jdat) do redis:hset('user:'..v, 'print_name', k) banall_user(v) print(k, v.." Globally banned") end end if matches[1] == 'reload' then receiver = get_receiver(msg) reload_plugins(true) post_msg(receiver, "Reloaded!", ok_cb, false) return "Reloaded!" end --[[*For Debug* if matches[1] == "vardumpmsg" and is_admin1(msg) then local text = serpent.block(msg, {comment=false}) send_large_msg("channel#id"..msg.to.id, text) end]] if matches[1] == 'updateid' then local data = load_data(_config.moderation.data) local long_id = data[tostring(msg.to.id)]['long_id'] if not long_id then data[tostring(msg.to.id)]['long_id'] = msg.to.peer_id save_data(_config.moderation.data, data) return "Updated ID" end end if matches[1] == 'addlog' and not matches[2] then if is_log_group(msg) then return "Already a Log_SuperGroup" end print("Log_SuperGroup "..msg.to.title.."("..msg.to.id..") added") savelog(msg.to.id, name_log.." ["..msg.from.id.."] added Log_SuperGroup") logadd(msg) end if matches[1] == 'remlog' and not matches[2] then if not is_log_group(msg) then return "Not a Log_SuperGroup" end print("Log_SuperGroup "..msg.to.title.."("..msg.to.id..") removed") savelog(msg.to.id, name_log.." ["..msg.from.id.."] added Log_SuperGroup") logrem(msg) end return end local function pre_process(msg) if not msg.text and msg.media then msg.text = '['..msg.media.type..']' end return msg end return { patterns = { "^[#!/](pm) (%d+) (.*)$", "^[#!/](import) (.*)$", "^[#!/](pmunblock) (%d+)$", "^[#!/](pmblock) (%d+)$", "^[#!/](markread) (on)$", "^[#!/](markread) (off)$", "^[#!/](setbotphoto)$", "^[#!/](contactlist)$", "^[#!/](dialoglist)$", "^[#!/](delcontact) (%d+)$", "^[#/!](reload)$", "^[#/!](updateid)$", "^[#/!](addlog)$", "^[#/!](remlog)$", "%[(photo)%]", }, run = run, pre_process = pre_process } --By @imandaneshi :) --https://github.com/SEEDTEAM/TeleSeed/blob/test/plugins/admin.lua ---Modified by @Rondoozle for supergroups
gpl-2.0
disslove85/NOVA-BOT
plugins/yourgrouplink.lua
6
12767
do --developed by @i9Dev local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if not is_admin(msg) then return "Você não é um Administrador." end local group_creator = msg.from.print_name create_group_chat (group_creator, group_name, ok_cb, false) return 'O grupo '..string.gsub(group_name, '_', ' ')..' foi criado.' end --developed by @i9Dev local function set_description(msg, data) if not is_mod(msg) then return "Apenas moderadores." end local data_cat = 'description' data[tostring(msg.to.id)][data_cat] = deskripsi save_data(_config.moderation.data, data) return 'Descrição do grupo criada:\n\n'..deskripsi end --developed by @i9Dev local function get_description(msg, data) local data_cat = 'description' if not data[tostring(msg.to.id)][data_cat] then return 'O grupo não tem uma descrição.' end local about = data[tostring(msg.to.id)][data_cat] local about = string.gsub(msg.to.print_name, "_", " ")..':\n\n'..about return 'Sobre o '..about end --developed by @i9Dev local function export_chat_link_callback(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local chat_id = cb_extra.chat_id local group_name = cb_extra.group_name if success == 0 then return send_large_msg(receiver, "Não é possível gerar link para este grupo.") end data[tostring(chat_id)]['link'] = result save_data(_config.moderation.data, data) return send_large_msg(receiver,result) end --developed by @i9Dev local function set_rules(msg, data) vardump(data) vardump(msg) if not is_mod(msg) then return "Apenas moderadores." end local data_cat = 'rules' data[tostring(msg.to.id)][data_cat] = rules save_data(_config.moderation.data, data) return 'Regras do grupo criada:\n\n'..rules end local function get_rules(msg, data) local data_cat = 'rules' if not data[tostring(msg.to.id)][data_cat] then return 'O grupo não tem regras.' end local rules = data[tostring(msg.to.id)][data_cat] local rules = string.gsub(msg.to.print_name, '_', ' ')..' Regras:\n\n'..rules return rules end -- lock/unlock group name. bot automatically change group name when locked local function lock_group_name(msg, data) if not is_mod(msg) then return "Apenas moderadores." end local group_name_set = data[tostring(msg.to.id)]['settings']['set_name'] local group_name_lock = data[tostring(msg.to.id)]['settings']['lock_name'] if group_name_lock == 'Sim' then return 'O nome do grupo já está bloqueado.' else data[tostring(msg.to.id)]['settings']['lock_name'] = 'Sim' save_data(_config.moderation.data, data) data[tostring(msg.to.id)]['settings']['set_name'] = string.gsub(msg.to.print_name, '_', ' ') save_data(_config.moderation.data, data) return 'O nome do grupo foi bloqueado.' end end local function unlock_group_name(msg, data) if not is_mod(msg) then return "Apenas moderadores." end local group_name_set = data[tostring(msg.to.id)]['settings']['set_name'] local group_name_lock = data[tostring(msg.to.id)]['settings']['lock_name'] if group_name_lock == 'Nao' then return 'O nome do grupo já está desbloqueado.' else data[tostring(msg.to.id)]['settings']['lock_name'] = 'Nao' save_data(_config.moderation.data, data) return 'O nome do grupo foi desbloqueado.' end end --lock/unlock group member. bot automatically kick new added user when locked local function lock_group_member(msg, data) if not is_mod(msg) then return "Apenas moderadores." end local group_member_lock = data[tostring(msg.to.id)]['settings']['lock_member'] if group_member_lock == 'Sim' then return 'Os membros do grupo já estão bloqueados.' else data[tostring(msg.to.id)]['settings']['lock_member'] = 'Sim' save_data(_config.moderation.data, data) end return 'Os membros do grupo foram bloqueados.' end local function unlock_group_member(msg, data) if not is_mod(msg) then return "Apenas moderadores." end local group_member_lock = data[tostring(msg.to.id)]['settings']['lock_member'] if group_member_lock == 'Nao' then return 'Os membros do grupo não estão bloqueados.' else data[tostring(msg.to.id)]['settings']['lock_member'] = 'Nao' save_data(_config.moderation.data,data) return 'Os membros do grupo foram desbloqueado.' end end --lock/unlock group photo. bot automatically keep group photo when locked local function lock_group_photo(msg, data) if not is_mod(msg) then return "Apenas moderadores." end local group_photo_lock = data[tostring(msg.to.id)]['settings']['lock_photo'] if group_photo_lock == 'Sim' then return 'A imagem do grupo já está bloqueada.' else data[tostring(msg.to.id)]['settings']['set_photo'] = 'waiting' save_data(_config.moderation.data, data) end return 'Por favor me envie a foto do grupo.' end local function unlock_group_photo(msg, data) if not is_mod(msg) then return "Apenas moderadores." end local group_photo_lock = data[tostring(msg.to.id)]['settings']['lock_photo'] if group_photo_lock == 'Nao' then return 'A imagem do grupo ainda não foi bloqueada.' else data[tostring(msg.to.id)]['settings']['lock_photo'] = 'Nao' save_data(_config.moderation.data, data) return 'A imagem do grupo foi desbloqueada.' end end local function set_group_photo(msg, success, result) local data = load_data(_config.moderation.data) local receiver = get_receiver(msg) if success then local file = 'data/photos/chat_photo_'..msg.to.id..'.jpg' print('Baixando imagem em:', result) os.rename(result, file) print('Movendo imagem para:', file) chat_set_photo (receiver, file, ok_cb, false) data[tostring(msg.to.id)]['settings']['set_photo'] = file save_data(_config.moderation.data, data) data[tostring(msg.to.id)]['settings']['lock_photo'] = 'Sim' save_data(_config.moderation.data, data) send_large_msg(receiver, 'Imagem salva!', ok_cb, false) else print('Erro ao baixar imagem: '..msg.id) send_large_msg(receiver, 'Me envie novamente', ok_cb, false) end end -- show group settings local function show_group_settings(msg, data) if not is_mod(msg) then return "Apenas moderadores." end local settings = data[tostring(msg.to.id)]['settings'] local text = "🔧 Configurações do grupo\n\n🔐 Bloquear nome do grupo: "..settings.lock_name.."\n🔐 Bloquear membros do grupo: "..settings.lock_member return text end --lock/unlock spam protection local function lock_group_spam(msg, data) return 'Proteção Anti Flood foi habilitado' end local function unlock_group_spam(msg, data) return 'Proteção Anti Flood foi desabilitado' end local function pre_process(msg) -- media handler if not msg.text and msg.media then msg.text = '['..msg.media.type..']' end --vardump(msg) if msg.action and msg.action.type then local action = msg.action.type local receiver = get_receiver(msg) local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)] then local settings = data[tostring(msg.to.id)]['settings'] if action == 'chat_rename' then local group_name_set = settings.set_name local group_name_lock = settings.lock_name local to_rename = 'chat#id'..msg.to.id if group_name_lock == 'Sim' then if group_name_set ~= tostring(msg.to.print_name) then rename_chat(to_rename, group_name_set, ok_cb, false) end elseif group_name_lock == 'Nao' then return nil end end if action == 'chat_add_user' or action == 'chat_add_user_link' then if msg.action.link_issuer then user_id = 'user#id'..msg.from.id else user_id = 'user#id'..msg.action.user.id end local group_member_lock = settings.lock_member if group_member_lock == 'Sim' and msg.from.id ~= 0 then chat_del_user(receiver, user_id, ok_cb, true) end end if action == 'chat_delete_photo' then local group_photo_lock = settings.lock_photo if group_photo_lock == 'Sim' then chat_set_photo(receiver, settings.set_photo, ok_cb, false) end end if action == 'chat_change_photo' and msg.from.id ~= 0 then local group_photo_lock = settings.lock_photo if group_photo_lock == 'Sim' then chat_set_photo(receiver, settings.set_photo, ok_cb, false) end end return msg end end local hash = 'floodc:'..msg.from.id..':'..msg.to.id redis:incr(hash) return msg end function run(msg, matches) --vardump(msg) -- media handler if msg.media then if msg.media.type == 'document' then print('Document file') end if msg.media.type == 'photo' then print('Photo file') end if msg.media.type == 'video' then print('Video file') endif msg.media.type == 'audio' then print('Audio file') end end -- create group if matches[1] == 'criar' and matches[2] == 'grupo' and matches[3] then group_name = matches[3] return create_group(msg) end if not is_chat_msg(msg) then return "Isso não é um grupo." end local data = load_data(_config.moderation.data) local receiver = get_receiver(msg) if msg.media then if msg.media.type == 'photo' and data[tostring(msg.to.id)]['settings']['set_photo'] == 'waiting' and is_chat_msg(msg) and is_mod(msg) then load_photo(msg.id, set_group_photo, msg) end end if data[tostring(msg.to.id)] then local settings = data[tostring(msg.to.id)]['settings'] -- group {about|rules|settings} if matches[1] == 'config' then return show_group_settings(msg, data) end if matches[1] == 'regras' then return get_rules(msg, data) end if matches[1] == 'sobre' then return get_description(msg, data) end -- group link {get|revoke} if matches[1] == 'link' then if data[tostring(msg.to.id)]['link'] then local link = data[tostring(msg.to.id)]['link'] return send_large_msg(receiver,link) else local chat = 'chat#id'..msg.to.id msgr = export_chat_link('chat#id'..msg.to.id, export_chat_link_callback, {receiver=receiver, data=data, chat_id=msg.to.id}) end if matches[1] == '' and is_mod(msg) then local chat = 'chat#id'..msg.to.id msgr = export_chat_link('chat#id'..msg.to.id, export_chat_link_callback, {receiver=receiver, data=data, chat_id=msg.to.id, group_name=msg.to.print_name}) end end -- Definir {sobre|regras|nome|foto} if matches[1] == 'def' then if matches[2] == 'sobre' then deskripsi = matches[3] return set_description(msg, data) end if matches[2] == 'regras' then rules = matches[3] return set_rules(msg, data) end if matches[2] == 'nome' and is_mod(msg) then local new_name = string.gsub(matches[3], '_', ' ') data[tostring(msg.to.id)]['settings']['set_name'] = new_name save_data(_config.moderation.data, data) local group_name_set = data[tostring(msg.to.id)]['settings']['set_name'] local to_rename = 'chat#id'..msg.to.id rename_chat(to_rename, group_name_set, ok_cb, false) end if matches[2] == 'img' and is_mod(msg) then data[tostring(msg.to.id)]['settings']['set_photo'] = 'waiting' save_data(_config.moderation.data, data) return 'Por favor, me envie a nova foto do grupo.' end end -- group lock {name|member|photo} if matches[1] == 'grupo' and matches[2] == 'bloq' then if matches[3] == 'nome' then return lock_group_name(msg, data) end if matches[3] == 'membros' then return lock_group_member(msg, data) end if matches[3] == 'img' then return lock_group_photo(msg, data) end end -- group unlock {name|member|photo} if matches[1] == 'grupo' and matches[2] == 'desbloq' then if matches[3] == 'nome' then return unlock_group_name(msg, data) end if matches[3] == 'membros' then return unlock_group_member(msg, data) end if matches[3] == 'img' then return unlock_group_photo(msg, data) end end -- if group name is renamed if matches[1] == 'chat_rename' then if not msg.service then return "Você é malandrão" end local group_name_set = settings.set_name local group_name_lock = settings.lock_name local to_rename = 'chat#id'..msg.to.id if group_name_lock == 'Sim' then if group_name_set ~= tostring(msg.to.print_name) then rename_chat(to_rename, group_name_set, ok_cb, false) end elseif group_name_lock == 'Nao' then return nil end end -- if a user added to group if matches[1] == 'chat_add_user' then if not msg.service then return "@Wesley_Henr" end local group_member_lock = settings.lock_member local user = 'user#id'..msg.action.user.id local chat = 'chat#id'..msg.to.id if group_member_lock == 'Sim' then chat_del_user(chat, user, ok_cb, true) elseif group_member_lock == 'Nao' then return nil end end -- if group photo is removed if matches[1] == 'chat_delete_photo' then if not msg.service then return "Meu pai?" end local group_photo_lock = settings.lock_photo if group_photo_lock == 'Sim' then chat_set_photo (receiver, settings.set_photo, ok_cb, false) elseif group_photo_lock == 'Nao' then return nil end end -- if group photo is changed if matches[1] == 'chat_change_photo' andmsg.from.id ~= 0 then if not msg.service then return "Meça suas palavras" end local group_photo_lock = settings.lock_photo if group_photo_lock == 'Sim' then chat_set_photo (receiver, settings.set_photo, ok_cb, false) elseif group_photo_lock == 'Nao' then return nil end end end end return { description = "Gerenciador de Grupos", patterns = { "^!get(link)$", "^!!tgservice (.+)$", }, run = run, hide = true, pre_process = pre_process } end
gpl-2.0
Ninjistix/darkstar
scripts/globals/items/loaf_of_homemade_bread.lua
3
1513
----------------------------------------- -- ID: 5228 -- Item: loaf_of_homemade_bread -- Food Effect: 30Min, All Races ----------------------------------------- -- hMP +1 -- Accuracy +12% (cap 80) -- Attack +10% (cap 40) -- Ranged Accuracy +12% (cap 80) -- Ranged Attack +10% (cap 40) ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- function onItemCheck(target) local result = 0; if (target:hasStatusEffect(EFFECT_FOOD) == true or target:hasStatusEffect(EFFECT_FIELD_SUPPORT_FOOD) == true) then result = 246; end return result; end; function onItemUse(target) target:addStatusEffect(EFFECT_FOOD,0,0,1800,5228); end; function onEffectGain(target, effect) target:addMod(MOD_MPHEAL, 1); target:addMod(MOD_FOOD_ACCP, 12); target:addMod(MOD_FOOD_ACC_CAP, 80); target:addMod(MOD_FOOD_ATTP, 10); target:addMod(MOD_FOOD_ATT_CAP, 40); target:addMod(MOD_FOOD_RACCP, 12); target:addMod(MOD_FOOD_RACC_CAP, 80); target:addMod(MOD_FOOD_RATTP, 10); target:addMod(MOD_FOOD_RATT_CAP, 40); end; function onEffectLose(target, effect) target:delMod(MOD_MPHEAL, 1); target:delMod(MOD_FOOD_ACCP, 12); target:delMod(MOD_FOOD_ACC_CAP, 80); target:delMod(MOD_FOOD_ATTP, 10); target:delMod(MOD_FOOD_ATT_CAP, 40); target:delMod(MOD_FOOD_RACCP, 12); target:delMod(MOD_FOOD_RACC_CAP, 80); target:delMod(MOD_FOOD_RATTP, 10); target:delMod(MOD_FOOD_RATT_CAP, 40); end;
gpl-3.0
Ninjistix/darkstar
scripts/globals/weaponskills/torcleaver.lua
26
1602
----------------------------------- -- Torcleaver -- Skill Level: N/A -- Description: Deals triple damage. Damage varies with TP. Caladbolg: Aftermath. -- Available only when equipped with Caladbolg (85)/(90)/(95) or Espafut +1/+2/+3. -- Aligned with the Light Gorget, Aqua Gorget & Snow Gorget. -- Aligned with the Light Belt, Aqua Belt & Snow Belt. -- Element: None -- Skillchain Properties: Light/Distortion -- Modifiers: VIT:60% -- Damage Multipliers by TP: -- 100%TP 200%TP 300%TP -- 4.75 5.75 6.5 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/settings"); require("scripts/globals/weaponskills"); ----------------------------------- function onUseWeaponSkill(player, target, wsID, tp, primary, action, taChar) local params = {}; params.numHits = 1; params.ftp100 = 4.75; params.ftp200 = 5.75; params.ftp300 = 6.5; params.str_wsc = 0.0; params.dex_wsc = 0.0; params.vit_wsc = 0.6; params.agi_wsc = 0.0; params.int_wsc = 0.0; params.mnd_wsc = 0.0; params.chr_wsc = 0.0; params.crit100 = 0.00; params.crit200 = 0.00; params.crit300 = 0.00; params.canCrit = false; params.acc100 = 0.0; params.acc200= 0.0; params.acc300= 0.0; params.atkmulti = 1; if (USE_ADOULIN_WEAPON_SKILL_CHANGES == true) then params.ftp100 = 4.75; params.ftp200 = 7.5; params.ftp300 = 10; params.vit_wsc = 0.8; end local damage, criticalHit, tpHits, extraHits = doPhysicalWeaponskill(player, target, wsID, tp, primary, action, taChar, params); return tpHits, extraHits, criticalHit, damage; end
gpl-3.0
AlexisBRENON/awesome
spec/awful/util_spec.lua
12
2693
--------------------------------------------------------------------------- -- @author Uli Schlachter -- @copyright 2015 Uli Schlachter --------------------------------------------------------------------------- local util = require("awful.util") local say = require("say") describe("awful.util", function() it("table.keys_filter", function() local t = { "a", 1, function() end, false} assert.is.same(util.table.keys_filter(t, "number", "function"), { 2, 3 }) end) it("table.reverse", function() local t = { "a", "b", c = "c", "d" } assert.is.same(util.table.reverse(t), { "d", "b", "a", c = "c" }) end) describe("table.iterate", function() it("no filter", function() local t = { "a", "b", c = "c", "d" } local f = util.table.iterate(t, function() return true end) assert.is.equal(f(), "a") assert.is.equal(f(), "b") assert.is.equal(f(), "d") assert.is.equal(f(), nil) assert.is.equal(f(), nil) end) it("b filter", function() local t = { "a", "b", c = "c", "d" } local f = util.table.iterate(t, function(i) return i == "b" end) assert.is.equal(f(), "b") assert.is.equal(f(), nil) assert.is.equal(f(), nil) end) it("with offset", function() local t = { "a", "b", c = "c", "d" } local f = util.table.iterate(t, function() return true end, 2) assert.is.equal(f(), "b") assert.is.equal(f(), "d") assert.is.equal(f(), "a") assert.is.equal(f(), nil) assert.is.equal(f(), nil) end) end) describe("quote_pattern", function() it("text", function() assert.is.equal(util.quote_pattern("text"), "text") end) it("do.t", function() assert.is.equal(util.quote_pattern("do.t"), "do%.t") end) it("per%cen[tage", function() assert.is.equal(util.quote_pattern("per%cen[tage"), "per%%cen%[tage") end) end) describe("query_to_pattern", function() it("DownLow", function() assert.is.equal(string.match("DownLow", util.query_to_pattern("downlow")), "DownLow") end) it("%word", function() assert.is.equal(string.match("%word", util.query_to_pattern("%word")), "%word") end) it("Substring of DownLow", function() assert.is.equal(string.match("DownLow", util.query_to_pattern("ownl")), "ownL") end) end) end) -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
gpl-2.0
Ninjistix/darkstar
scripts/globals/items/margherita_pizza.lua
3
1112
----------------------------------------- -- ID: 5695 -- Item: margherita_pizza -- Food Effect: 3 hours, all Races ----------------------------------------- -- HP +30 -- Accuracy +10% (cap 8) -- Attack +10% (cap 10) ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- function onItemCheck(target) local result = 0; if (target:hasStatusEffect(EFFECT_FOOD) == true or target:hasStatusEffect(EFFECT_FIELD_SUPPORT_FOOD) == true) then result = 246; end return result; end; function onItemUse(target) target:addStatusEffect(EFFECT_FOOD,0,0,10800,5695); end; function onEffectGain(target,effect) target:addMod(MOD_HP, 30); target:addMod(MOD_FOOD_ACCP, 10); target:addMod(MOD_FOOD_ACC_CAP, 8); target:addMod(MOD_FOOD_ATTP, 10); target:addMod(MOD_FOOD_ATT_CAP, 10); end; function onEffectLose(target, effect) target:delMod(MOD_HP, 30); target:delMod(MOD_FOOD_ACCP, 10); target:delMod(MOD_FOOD_ACC_CAP, 8); target:delMod(MOD_FOOD_ATTP, 10); target:delMod(MOD_FOOD_ATT_CAP, 10); end;
gpl-3.0
Ninjistix/darkstar
scripts/zones/Sea_Serpent_Grotto/npcs/Treasure_Coffer.lua
5
4638
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: Treasure Coffer -- @zone 176 -- !pos 184 18 -107 ----------------------------------- package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/treasure"); require("scripts/globals/quests"); require("scripts/zones/Sea_Serpent_Grotto/TextIDs"); local TreasureType = "Coffer"; local TreasureLvL = 53; local TreasureMinLvL = 43; function onTrade(player,npc,trade) -- trade:hasItemQty(1059,1); -- Treasure Key -- trade:hasItemQty(1115,1); -- Skeleton Key -- trade:hasItemQty(1023,1); -- Living Key -- trade:hasItemQty(1022,1); -- Thief's Tools local questItemNeeded = 0; -- Player traded a key. if ((trade:hasItemQty(1059,1) or trade:hasItemQty(1115,1) or trade:hasItemQty(1023,1) or trade:hasItemQty(1022,1)) and trade:getItemCount() == 1) then -- IMPORTANT ITEM: AF Keyitems, AF Items, & Map ----------- local mJob = player:getMainJob(); local zone = player:getZoneID(); local AFHandsActivated = player:getVar("BorghertzAlreadyActiveWithJob"); local listAF = getAFbyZone(zone); if (player:hasKeyItem(MAP_OF_THE_SEA_SERPENT_GROTTO) == false) then questItemNeeded = 3; end if (AFHandsActivated == 15 and player:hasKeyItem(OLD_GAUNTLETS) == false) then questItemNeeded = 1; else for nb = 1,#listAF,3 do if (player:getQuestStatus(JEUNO,listAF[nb + 1]) ~= QUEST_AVAILABLE and mJob == listAF[nb] and player:hasItem(listAF[nb + 2]) == false) then questItemNeeded = 2; break end end end -------------------------------------- local pack = openChance(player,npc,trade,TreasureType,TreasureLvL,TreasureMinLvL,questItemNeeded); local success = 0; if (pack[2] ~= nil) then player:messageSpecial(pack[2]); success = pack[1]; else success = pack[1]; end if (success ~= -2) then player:tradeComplete(); if (math.random() <= success) then -- Succeded to open the coffer player:messageSpecial(CHEST_UNLOCKED); if (questItemNeeded == 1) then player:addKeyItem(OLD_GAUNTLETS); player:messageSpecial(KEYITEM_OBTAINED,OLD_GAUNTLETS); -- Old Gauntlets (KI) elseif (questItemNeeded == 2) then for nb = 1,#listAF,3 do if (mJob == listAF[nb]) then player:addItem(listAF[nb + 2]); player:messageSpecial(ITEM_OBTAINED,listAF[nb + 2]); break end end elseif (questItemNeeded == 3) then player:addKeyItem(MAP_OF_THE_SEA_SERPENT_GROTTO); player:messageSpecial(KEYITEM_OBTAINED,MAP_OF_THE_SEA_SERPENT_GROTTO); -- Map of the Sea Serpent Grotto (KI) else player:setVar("["..zone.."]".."Treasure_"..TreasureType,os.time() + math.random(CHEST_MIN_ILLUSION_TIME,CHEST_MAX_ILLUSION_TIME)); local loot = cofferLoot(zone,npc); -- print("loot array: "); -- debug -- print("[1]", loot[1]); -- debug -- print("[2]", loot[2]); -- debug if (loot[1]=="gil") then player:addGil(loot[2]*GIL_RATE); player:messageSpecial(GIL_OBTAINED,loot[2]*GIL_RATE); else -- Item player:addItem(loot[2]); player:messageSpecial(ITEM_OBTAINED,loot[2]); end end UpdateTreasureSpawnPoint(npc:getID()); else player:messageSpecial(CHEST_MIMIC); spawnMimic(zone,npc,player); UpdateTreasureSpawnPoint(npc:getID(), true); end end end end; function onTrigger(player,npc) player:messageSpecial(CHEST_LOCKED,1059); end; function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end; function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end;
gpl-3.0
dinodeck/ninety_nine_days_of_dev
005_bitmap_text/code/CombatActions.lua
2
4683
local function AddAnimEffect(state, entity, def, spf) local x = entity.mX local y = entity.mY + (entity.mHeight * 0.75) local effect = AnimEntityFx:Create(x, y, def, def.frames, spf) state:AddEffect(effect) end local function AddTextNumberEffect(state, entity, num, color) local x = entity.mX local y = entity.mY --local text = string.format("+%d", num) local textEffect = JumpingNumbers:Create(x, y, num, color) --CombatTextFx:Create(x, y, text, color) state:AddEffect(textEffect) end local function StatsCharEntity(state, actor) local stats = actor.mStats local character = state.mActorCharMap[actor] local entity = character.mEntity return stats, character, entity end CombatActions = { ["hp_restore"] = function(state, owner, targets, def) local restoreAmount = def.use.restore or 250 local animEffect = gEntities.fx_restore_hp local restoreColor = Vector.Create(0, 1, 0, 1) for k, v in ipairs(targets) do local stats, character, entity = StatsCharEntity(state, v) local maxHP = stats:Get("hp_max") local nowHP = stats:Get("hp_now") if nowHP > 0 then AddTextNumberEffect(state, entity, restoreAmount, restoreColor) nowHP = math.min(maxHP, nowHP + restoreAmount) stats:Set("hp_now", nowHP) end AddAnimEffect(state, entity, animEffect, 0.1) end end, ['mp_restore'] = function(state, owner, targets, def) local restoreAmount = def.use.restore or 50 local animEffect = gEntities.fx_restore_mp local restoreColor = Vector.Create(130/255, 200/255, 237/255, 1) for k, v in ipairs(targets) do local stats, character, entity = StatsCharEntity(state, v) local maxMP = stats:Get("mp_max") local nowMP = stats:Get("mp_now") local nowHP = stats:Get("hp_now") if nowHP > 0 then AddTextNumberEffect(state, entity, restoreAmount, restoreColor) nowMP = math.min(maxMP, nowMP + restoreAmount) stats:Set("mp_now", nowMP) end AddAnimEffect(state, entity, animEffect, 0.1) end end, ['revive'] = function(state, owner, targets, def) local restoreAmount = def.use.restore or 100 local animEffect = gEntities.fx_revive local restoreColor = Vector.Create(0, 1, 0, 1) for k, v in ipairs(targets) do local stats, character, entity = StatsCharEntity(state, v) local maxHP = stats:Get("hp_max") local nowHP = stats:Get("hp_now") if nowHP == 0 then nowHP = math.min(maxHP, nowHP + restoreAmount) -- the character will get a CETurn event automatically -- assigned next update character.mController:Change(CSStandby.mName) stats:Set("hp_now", nowHP) AddTextNumberEffect(state, entity, restoreAmount, restoreColor) end AddAnimEffect(state, entity, animEffect, 0.1) end end, ['element_spell'] = function(state, owner, targets, def) for k, v in ipairs(targets) do local _, _, entity = StatsCharEntity(state, v) local damage, hitResult = Formula.MagicAttack(state, owner, v, def) if hitResult == HitResult.Hit then state:ApplyDamage(v, damage) end if def.element == "fire" then AddAnimEffect(state, entity, gEntities.fx_fire, 0.06) elseif def.element == "electric" then AddAnimEffect(state, entity, gEntities.fx_electric, 0.12) elseif def.element == "ice" then AddAnimEffect(state, entity, gEntities.fx_ice_1, 0.1) local x = entity.mX local y = entity.mY local spk = gEntities.fx_ice_spark local effect = AnimEntityFx:Create(x, y, spk, spk.frames, 0.12) state:AddEffect(effect) local x2 = x + entity.mWidth * 0.8 local ice2 = gEntities.fx_ice_2 effect = AnimEntityFx:Create(x2, y, ice2, ice2.frames, 0.1) state:AddEffect(effect) local x3 = x - entity.mWidth * 0.8 local y3 = y - entity.mHeight * 0.6 local ice3 = gEntities.fx_ice_3 effect = AnimEntityFx:Create(x3, y3, ice3, ice3.frames, 0.1) state:AddEffect(effect) end end end }
mit
SvenRoederer/openwrt-packages
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/netclass.lua
21
3068
local ubus = require "ubus" -- reference/further reading: -- - node_exporter netclass_linux (upstream metrics): https://github.com/prometheus/node_exporter/blob/master/collector/netclass_linux.go -- - relevant sysfs files: https://github.com/prometheus/procfs/blob/5f46783c017ef6a934fc8cfa6d1a2206db21401b/sysfs/net_class.go#L121 -- - get devices / read files: https://github.com/openwrt/packages/blob/openwrt-21.02/utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/snmp6.lua local function get_devices() -- based on hostapd_stations.lua local u = ubus.connect() local status = u:call("network.device", "status", {}) local devices = {} for dev, dev_table in pairs(status) do table.insert(devices, dev) end return devices end local function load(device, file) -- load a single sysfs file, trim trailing newline, return nil on error local success, data = pcall(function () return string.gsub(get_contents("/sys/class/net/" .. device .. "/" .. file), "\n$", "") end) if success then return data else return nil end end local function file_gauge(name, device, file) local value = load(device, file) if value ~= nil then metric("node_network_" .. name, "gauge", {device = device}, tonumber(value)) end end local function file_counter(name, device, file) local value = load(device, file) if value ~= nil then metric("node_network_" .. name, "counter", {device = device}, tonumber(value)) end end local function get_metric(device) local address = load(device, "address") local broadcast = load(device, "broadcast") local duplex = load(device, "duplex") local operstate = load(device, "operstate") local ifalias = load(device, "ifalias") metric("node_network_info", "gauge", {device = device, address = address, broadcast = broadcast, duplex = duplex, operstate = operstate, ifalias = ifalias}, 1) file_gauge("address_assign_type", device, "addr_assign_type") file_gauge("carrier", device, "carrier") file_counter("carrier_changes_total", device, "carrier_changes") file_counter("carrier_up_changes_total", device, "carrier_up_count") file_counter("carrier_down_changes_total", device, "carrier_down_count") file_gauge("device_id", device, "dev_id") file_gauge("dormant", device, "dormant") file_gauge("flags", device, "flags") file_gauge("iface_id", device, "ifindex") file_gauge("iface_link", device, "iflink") file_gauge("iface_link_mode", device, "link_mode") file_gauge("mtu_bytes", device, "mtu") file_gauge("name_assign_type", device, "name_assign_type") file_gauge("net_dev_group", device, "netdev_group") file_gauge("transmit_queue_length", device, "tx_queue_len") file_gauge("protocol_type", device, "type") local speed = load(device, "speed") if speed ~= nil and tonumber(speed) >= 0 then metric("node_network_speed_bytes", "gauge", {device = device}, tonumber(speed)*1000*1000/8) end end local function scrape() for _, devicename in ipairs(get_devices()) do get_metric(devicename) end end return { scrape = scrape }
gpl-2.0
dinodeck/ninety_nine_days_of_dev
005_bitmap_text/code/combat_events/CEAttack.lua
10
3876
CEAttack = {} CEAttack.__index = CEAttack function CEAttack:Create(state, owner, def, targets) print("Target", target) local this = { mState = state, mOwner = owner, mDef = def, mFinished = false, mSpeed = 0, mCharacter = state.mActorCharMap[owner], mTargets = targets, mIsFinished = false } this.mController = this.mCharacter.mController this.mController:Change(CSRunAnim.mName, {'prone'}) this.mName = string.format("Attack for %s", this.mOwner.mName) setmetatable(this, self) local storyboard = nil if this.mDef.player then this.mAttackAnim = gEntities.slash this.mDefaultTargeter = CombatSelector.WeakestEnemy storyboard = { SOP.RunState(this.mController, CSMove.mName, {dir = 1}), SOP.RunState(this.mController, CSRunAnim.mName, {'attack', false}), SOP.Function(function() this:DoAttack() end), SOP.RunState(this.mController, CSMove.mName, {dir = -1}), SOP.Function(function() this:OnFinish() end) } else this.mAttackAnim = gEntities.claw this.mDefaultTargeter = CombatSelector.RandomAlivePlayer storyboard = { SOP.RunState(this.mController, CSMove.mName, {dir = 1, distance = 8, time = 0.1}), SOP.Function(function() this:DoAttack() end), SOP.RunState(this.mController, CSMove.mName, {dir = -1, distance = 8, time = 0.4}), SOP.Function(function() this:OnFinish() end) } end this.mStoryboard = Storyboard:Create(this.mState.mStack, storyboard) return this end function CEAttack:TimePoints(queue) local speed = self.mOwner.mStats:Get("speed") return queue:SpeedToTimePoints(speed) end function CEAttack:Execute(queue) self.mState.mStack:Push(self.mStoryboard) for i = #self.mTargets, 1, -1 do local v = self.mTargets[i] local hp = v.mStats:Get("hp_now") if hp <= 0 then table.remove(self.mTargets, i) end end if not next(self.mTargets) then -- Find another enemy self.mTargets = self.mDefaultTargeter(self.mState) end end function CEAttack:OnFinish() self.mIsFinished = true end function CEAttack:IsFinished() return self.mIsFinished end function CEAttack:Update() end function CEAttack:DoAttack() for _, target in ipairs(self.mTargets) do self:AttackTarget(target) if not self.mDef.counter then self:CounterTarget(target) end end end -- Decide if the attack is countered. function CEAttack:CounterTarget(target) local countered = Formula.IsCountered(self.mState, self.mOwner, target) if countered then self.mState:ApplyCounter(target, self.mOwner) end end function CEAttack:AttackTarget(target) local damage, hitResult = Formula.MeleeAttack(self.mState, self.mOwner, target) -- hit result lets us know the status of this attack local entity = self.mState.mActorCharMap[target].mEntity if hitResult == HitResult.Miss then self.mState:ApplyMiss(target) return elseif hitResult == HitResult.Dodge then self.mState:ApplyDodge(target) else local isCrit = hitResult == HitResult.Critical self.mState:ApplyDamage(target, damage, isCrit) end local x = entity.mX local y = entity.mY local effect = AnimEntityFx:Create(x, y, self.mAttackAnim, self.mAttackAnim.frames) self.mState:AddEffect(effect) end
mit
dinodeck/ninety_nine_days_of_dev
006_magic_menu/code/combat_events/CEAttack.lua
10
3876
CEAttack = {} CEAttack.__index = CEAttack function CEAttack:Create(state, owner, def, targets) print("Target", target) local this = { mState = state, mOwner = owner, mDef = def, mFinished = false, mSpeed = 0, mCharacter = state.mActorCharMap[owner], mTargets = targets, mIsFinished = false } this.mController = this.mCharacter.mController this.mController:Change(CSRunAnim.mName, {'prone'}) this.mName = string.format("Attack for %s", this.mOwner.mName) setmetatable(this, self) local storyboard = nil if this.mDef.player then this.mAttackAnim = gEntities.slash this.mDefaultTargeter = CombatSelector.WeakestEnemy storyboard = { SOP.RunState(this.mController, CSMove.mName, {dir = 1}), SOP.RunState(this.mController, CSRunAnim.mName, {'attack', false}), SOP.Function(function() this:DoAttack() end), SOP.RunState(this.mController, CSMove.mName, {dir = -1}), SOP.Function(function() this:OnFinish() end) } else this.mAttackAnim = gEntities.claw this.mDefaultTargeter = CombatSelector.RandomAlivePlayer storyboard = { SOP.RunState(this.mController, CSMove.mName, {dir = 1, distance = 8, time = 0.1}), SOP.Function(function() this:DoAttack() end), SOP.RunState(this.mController, CSMove.mName, {dir = -1, distance = 8, time = 0.4}), SOP.Function(function() this:OnFinish() end) } end this.mStoryboard = Storyboard:Create(this.mState.mStack, storyboard) return this end function CEAttack:TimePoints(queue) local speed = self.mOwner.mStats:Get("speed") return queue:SpeedToTimePoints(speed) end function CEAttack:Execute(queue) self.mState.mStack:Push(self.mStoryboard) for i = #self.mTargets, 1, -1 do local v = self.mTargets[i] local hp = v.mStats:Get("hp_now") if hp <= 0 then table.remove(self.mTargets, i) end end if not next(self.mTargets) then -- Find another enemy self.mTargets = self.mDefaultTargeter(self.mState) end end function CEAttack:OnFinish() self.mIsFinished = true end function CEAttack:IsFinished() return self.mIsFinished end function CEAttack:Update() end function CEAttack:DoAttack() for _, target in ipairs(self.mTargets) do self:AttackTarget(target) if not self.mDef.counter then self:CounterTarget(target) end end end -- Decide if the attack is countered. function CEAttack:CounterTarget(target) local countered = Formula.IsCountered(self.mState, self.mOwner, target) if countered then self.mState:ApplyCounter(target, self.mOwner) end end function CEAttack:AttackTarget(target) local damage, hitResult = Formula.MeleeAttack(self.mState, self.mOwner, target) -- hit result lets us know the status of this attack local entity = self.mState.mActorCharMap[target].mEntity if hitResult == HitResult.Miss then self.mState:ApplyMiss(target) return elseif hitResult == HitResult.Dodge then self.mState:ApplyDodge(target) else local isCrit = hitResult == HitResult.Critical self.mState:ApplyDamage(target, damage, isCrit) end local x = entity.mX local y = entity.mY local effect = AnimEntityFx:Create(x, y, self.mAttackAnim, self.mAttackAnim.frames) self.mState:AddEffect(effect) end
mit
Ninjistix/darkstar
scripts/globals/mobskills/sand_pit.lua
4
1714
--------------------------------------------- -- Sand Pit -- Single target bind --------------------------------------------- require("scripts/globals/monstertpmoves"); require("scripts/globals/settings"); require("scripts/globals/status"); --------------------------------------------- function onMobSkillCheck(target,mob,skill) return 0; end; function onMobWeaponSkill(target, mob, skill) local typeEffect = EFFECT_BIND; skill:setMsg(MobStatusEffectMove(mob, target, typeEffect, 1, 0, 30)); if (mob:getPool() == 1318) then -- if the pool ID == Feeler Antlion ID local npcX = mob:getXPos(); local npcY = mob:getYPos(); local npcZ = mob:getZPos(); local spawnId = 0; -- Spawn an Executioner Antlion. There are only 5 in the database. if (not GetMobByID(mob:getID()+1):isSpawned()) then -- if not spawned, set variable to spawn later. spawnId = mob:getID()+1; elseif (not GetMobByID(mob:getID()+2):isSpawned()) then spawnId = mob:getID()+2; elseif (not GetMobByID(mob:getID()+3):isSpawned()) then spawnId = mob:getID()+3; elseif (not GetMobByID(mob:getID()+4):isSpawned()) then spawnId = mob:getID()+4; elseif (not GetMobByID(mob:getID()+5):isSpawned()) then spawnId = mob:getID()+5; else spawnId = 0; -- If they are all up, then don't spawn any more. end; if (spawnId > 0) then local executioner = GetMobByID(spawnId); executioner:setSpawn(npcX-1,npcY-2,npcZ-1); -- Set its spawn location. SpawnMob(spawnId):updateEnmity(target); end; end; return typeEffect; end;
gpl-3.0
Ninjistix/darkstar
scripts/globals/keyitems.lua
2
144259
--------------------------------------------- -- -- KEYITEMS IDS -- --------------------------------------------- ZERUHN_REPORT = 1; PALBOROUGH_MINES_LOGS = 2; BLUE_ACIDITY_TESTER = 3; RED_ACIDITY_TESTER = 4; LETTER_TO_THE_CONSULS_SANDORIA = 5; LETTER_TO_THE_CONSULS_BASTOK = 6; LETTER_TO_THE_CONSULS_WINDURST = 7; AIRSHIP_PASS = 8; AIRSHIP_PASS_FOR_KAZHAM = 9; OVERDUE_BOOK_NOTIFICATIONS = 10; LETTERS_FROM_DOMIEN = 11; C_L_REPORTS = 12; KINDRED_CREST = 13; MAGICITE_OPTISTONE = 14; MAGICITE_AURASTONE = 15; MAGICITE_ORASTONE = 16; FOOD_OFFERINGS = 17; DRINK_OFFERINGS = 18; CLOCK_TOWER_OIL = 19; YAGUDO_TORCH = 20; CREST_OF_DAVOI_KI = 21; LETTERS_TO_ALDO = 22; BOUQUETS_FOR_THE_PIONEERS = 23; OLD_TOOLBOX = 24; NOTES_FROM_HARIGAORIGA = 25; NOTES_FROM_IPUPU = 26; ART_FOR_EVERYONE = 27; CRACKED_MANA_ORBS = 28; KINDRED_REPORT = 29; LETTER_TO_THE_AMBASSADOR = 30; SWORD_OFFERING = 31; SHIELD_OFFERING = 32; DULL_SWORD = 33; DARK_KEY = 34; ADVENTURERS_CERTIFICATE = 35; STARWAY_STAIRWAY_BAUBLE = 36; FIRST_DARK_MANA_ORB = 37; CREATURE_COUNTER_MAGIC_DOLL = 38; OFF_OFFERING = 39; WINDURST_WATERS_SCOOP = 40; WINDURST_WALLS_SCOOP = 41; PORT_WINDURST_SCOOP = 42; WINDURST_WOODS_SCOOP = 43; TEMPLE_KNIGHTS_DAVOI_REPORT = 44; SILVER_BELL = 45; CORUSCANT_ROSARY = 46; BLACK_MATINEE_NECKLACE = 47; DUCAL_GUARDS_LANTERN = 48; DUCAL_GUARDS_LANTERN_LIT = 49; HOLY_CANDLE = 50; SECOND_DARK_MANA_ORB = 51; THIRD_DARK_MANA_ORB = 52; FOURTH_DARK_MANA_ORB = 53; FIFTH_DARK_MANA_ORB = 54; SIXTH_DARK_MANA_ORB = 55; ARCHDUCAL_AUDIENCE_PERMIT = 56; SUPER_SOUP_POT = 57; TWO_OF_SWORDS = 58; FIRST_GLOWING_MANA_ORB = 59; SECOND_GLOWING_MANA_ORB = 60; THIRD_GLOWING_MANA_ORB = 61; FOURTH_GLOWING_MANA_ORB = 62; FIFTH_GLOWING_MANA_ORB = 63; SIXTH_GLOWING_MANA_ORB = 64; RESCUE_TRAINING_CERTIFICATE = 65; CHARM_OF_LIGHT = 66; HIDEOUT_KEY = 67; LAPIS_CORAL = 68; MESSAGE_TO_JEUNO_SANDORIA = 69; MESSAGE_TO_JEUNO_BASTOK = 70; MESSAGE_TO_JEUNO_WINDURST = 71; NEW_FEIYIN_SEAL = 72; BURNT_SEAL = 73; SHADOW_FRAGMENT = 74; RONFAURE_SUPPLIES = 75; ZULKHEIM_SUPPLIES = 76; NORVALLEN_SUPPLIES = 77; GUSTABERG_SUPPLIES = 78; DERFLAND_SUPPLIES = 79; SARUTABARUTA_SUPPLIES = 80; KOLSHUSHU_SUPPLIES = 81; ARAGONEU_SUPPLIES = 82; FAUREGANDI_SUPPLIES = 83; VALDEAUNIA_SUPPLIES = 84; LITELOR_SUPPLIES = 85; KUZOTZ_SUPPLIES = 86; VOLLBOW_SUPPLIES = 87; LAPIS_MONOCLE = 88; DONATION_ENVELOPE = 89; ARAGONEU_PIZZA = 90; LAND_CRAB_BISQUE = 91; MHAURAN_COUSCOUS = 92; ETCHED_RING = 93; TRADERS_SACK = 94; FAKE_MOUSTACHE = 95; GARDENIA_PASS = 96; WEAPONS_ORDER = 97; WEAPONS_RECEIPT = 98; SMALL_BAG = 99; RANPIMONPIS_SPECIAL_STEW = 100; FERRY_TICKET = 101; STAMP_SHEET = 102; LOST_DOCUMENT = 103; EAST_BLOCK_CODE = 104; SOUTH_BLOCK_CODE = 105; NORTH_BLOCK_CODE = 106; LETTER_FROM_ROH_LATTEH = 107; PAINTING_OF_A_WINDMILL = 108; TATTERED_MISSION_ORDERS = 109; MONASTIC_CAVERN_KEY = 110; MOON_CRYSTAL = 111; SOUTHEASTERN_STAR_CHARM = 112; WONDER_MAGIC_SET = 113; UNFINISHED_LETTER = 114; NEW_MODEL_HAT = 115; ANGELICAS_AUTOGRAPH = 116; OLD_TIGERS_FANG = 117; TENSHODO_MEMBERS_CARD = 118; RECEIPT_FOR_THE_PRINCE = 119; MAGIC_TRASH = 120; TENSHODO_APPLICATION_FORM = 121; SHARP_GRAY_STONE = 122; CATHEDRAL_DONATION = 123; QUFIM_SUPPLIES = 124; TATTERED_TEST_SHEET = 125; A_SONG_OF_LOVE = 126; STEAMING_SHEEP_INVITATION = 127; BROKEN_WAND = 128; GULEMONTS_DOCUMENT = 129; OLD_RING = 130; WHITE_ORB = 131; PINK_ORB = 132; RED_ORB = 133; BLOOD_ORB = 134; CURSED_ORB = 135; CRIMSON_ORB = 136; KEY_TO_THE_OZTROJA_MINES = 137; CHOCOBO_LICENSE = 138; CURSEPAPER = 139; CORRUPTED_DIRT = 140; STALACTITE_DEW = 141; SQUIRE_CERTIFICATE = 142; BOOK_OF_TASKS = 143; BOOK_OF_THE_EAST = 144; BOOK_OF_THE_WEST = 145; KNIGHTS_SOUL = 146; COLD_MEDICINE = 147; AMAURAS_FORMULA = 148; OVERDUE_BOOK_NOTIFICATION = 149; SCRIPTURE_OF_WATER = 150; SCRIPTURE_OF_WIND = 151; TAMIS_NOTE = 152; THYME_MOSS = 153; COUGH_MEDICINE = 154; SCROLL_OF_TREASURE = 155; CODE_OF_BEASTMASTERS = 156; ORCISH_HUT_KEY = 157; STAR_CRESTED_SUMMONS = 158; BRUGAIRE_GOODS = 159; SMALL_TEACUP = 160; SUSPICIOUS_ENVELOPE = 161; CARRIER_PIGEON_LETTER = 162; CARMELOS_SONG_SHEET = 163; CURILLAS_BOTTLE_EMPTY = 164; CURILLAS_BOTTLE_FULL = 165; NEUTRALIZER = 166; GOLDSMITHING_ORDER = 167; MYTHRIL_HEARTS = 168; TESTIMONIAL = 169; LETTER_FROM_ZEID = 170; SHANTOTTOS_NEW_SPELL = 171; SHANTOTTOS_EXSPELL = 172; BUCKET_OF_DIVINE_PAINT = 173; LETTER_FROM_VIRNAGE = 174; SPIRIT_INCENSE = 175; GANTINEUXS_LETTER = 176; SEAL_OF_BANISHING = 177; MAGICAL_PATTERN = 178; FEIYIN_MAGIC_TOME = 179; SLUICE_SURVEYOR_MK_I = 180; FOE_FINDER_MK_I = 181; EARTHEN_CHARM = 182; LETTER_FROM_THE_TENSHODO = 183; TENSHODO_ENVELOPE = 184; SIGNED_ENVELOPE = 185; GANG_WHEREABOUTS_NOTE = 186; FIRST_FORGED_ENVELOPE = 187; SECOND_FORGED_ENVELOPE = 188; FIRST_SIGNED_FORGED_ENVELOPE = 189; SECOND_SIGNED_FORGED_ENVELOPE = 190; LETTER_FROM_DALZAKK = 191; SANDORIAN_MARTIAL_ARTS_SCROLL = 192; BOMB_INCENSE = 193; PERCHONDS_ENVELOPE = 194; PORTAL_CHARM = 195; ORCISH_DRIED_FOOD = 196; OLD_POCKET_WATCH = 197; OLD_BOOTS = 198; BALGA_CHAMPION_CERTIFICATE = 199; HOLY_ONES_OATH = 200; CRAWLER_BLOOD = 201; CAT_BURGLARS_NOTE = 202; CHIEFTAINNESS_TWINSTONE_EARRING = 203; NORTHERN_VINE = 204; SOUTHERN_VINE = 205; EASTERN_VINE = 206; WESTERN_VINE = 207; SWORD_GRIP_MATERIAL = 208; YASINS_SWORD = 209; OLD_GAUNTLETS = 210; SHADOW_FLAMES = 211; FIREBLOOM_TREE_WOOD = 212; LETTER_TO_ANGELICA = 213; FINAL_FANTASY = 214; RIPPED_FINAL_FANTASY_PAINTING = 215; FINAL_FANTASY_PART_II = 216; TAMERS_WHISTLE = 217; KNIGHTS_BOOTS = 218; MIQUES_PAINTBRUSH = 219; STRANGE_SHEET_OF_PAPER = 220; KNIGHTS_CONFESSION = 221; ROUND_FRIGICITE = 222; SQUARE_FRIGICITE = 223; TRIANGULAR_FRIGICITE = 224; STAR_RING1 = 225; STAR_RING2 = 226; MOON_RING = 227; MERTAIRES_BRACELET = 228; AQUAFLORA1 = 229; AQUAFLORA2 = 230; AQUAFLORA3 = 231; GUIDING_BELL = 232; ORDELLE_WHETSTONE = 233; LETTER_FROM_THE_DARKSTEEL_FORGE = 234; DARKSTEEL_FORMULA = 235; KOHS_LETTER = 236; ROYAL_KNIGHTS_DAVOI_REPORT = 237; SACRIFICIAL_CHAMBER_KEY = 238; FIRE_FRAGMENT = 239; WATER_FRAGMENT = 240; EARTH_FRAGMENT = 241; WIND_FRAGMENT = 242; LIGHTNING_FRAGMENT = 243; ICE_FRAGMENT = 244; LIGHT_FRAGMENT = 245; DARK_FRAGMENT = 246; PRISMATIC_FRAGMENT = 247; SOUTHWESTERN_STAR_CHARM = 248; HOLY_ONES_INVITATION = 249; OPTISTERY_RING = 250; BLANK_BOOK_OF_THE_GODS = 251; BOOK_OF_THE_GODS = 252; NONBERRYS_KNIFE = 253; SUBLIME_STATUE_OF_THE_GODDESS = 254; RAUTEINOTS_PARCEL = 255; TREASURE_MAP = 256; STRANGELY_SHAPED_CORAL = 257; SEALED_DAGGER = 258; ANGELICAS_LETTER = 259; EMPTY_BARREL = 260; BARREL_OF_OPOOPO_BREW = 261; ELSHIMO_LOWLANDS_SUPPLIES = 262; ELSHIMO_UPLANDS_SUPPLIES = 263; JOKER_CARD = 264; ORASTERY_RING = 265; ALTEPA_MOONPEBBLE = 266; RHINOSTERY_CERTIFICATE = 267; DREAMROSE = 268; ANCIENT_SANDORIAN_BOOK = 269; PIECE_OF_PAPER = 270; INVISIBLE_MAN_STICKER = 271; PAINTBRUSH_OF_SOULS = 272; OLD_RUSTY_KEY = 273; ANCIENT_TABLET_FRAGMENT = 274; STAR_SEEKER = 275; AURASTERY_RING = 276; TABLET_OF_ANCIENT_MAGIC = 277; LETTER_FROM_ALFESAR = 278; MAGIC_DRAINED_STAR_SEEKER = 279; RHINOSTERY_RING = 280; MANUSTERY_RING = 281; GLOVE_OF_PERPETUAL_TWILIGHT = 282; ANCIENT_SANDORIAN_TABLET = 283; CRYSTAL_DOWSER = 284; PIECE_OF_A_BROKEN_KEY1 = 285; PIECE_OF_A_BROKEN_KEY2 = 286; PIECE_OF_A_BROKEN_KEY3 = 287; DROPS_OF_AMNIO = 288; REINFORCED_CERMET = 289; LETTER_FROM_WEREI = 290; TONBERRY_PRIEST_KEY = 291; THESIS_ON_ALCHEMY = 292; OLD_PIECE_OF_WOOD = 293; DRAGON_CURSE_REMEDY = 294; SEALED_IRON_BOX = 295; SEA_SERPENT_STATUE = 296; ALTEPA_POLISHING_STONE = 297; CHALLENGE_TO_THE_ROYAL_KNIGHTS = 298; RANCHURIOMES_LEGACY = 299; RONFAURE_EF_INSIGNIA = 300; ZULKHEIM_EF_INSIGNIA = 301; NORVALLEN_EF_INSIGNIA = 302; GUSTABERG_EF_INSIGNIA = 303; DERFLAND_EF_INSIGNIA = 304; SARUTABARUTA_EF_INSIGNIA = 305; KOLSHUSHU_EF_INSIGNIA = 306; ARAGONEU_EF_INSIGNIA = 307; FAUREGANDI_EF_INSIGNIA = 308; VALDEAUNIA_EF_INSIGNIA = 309; QUFIM_EF_INSIGNIA = 310; LITELOR_EF_INSIGNIA = 311; KUZOTZ_EF_INSIGNIA = 312; VOLLBOW_EF_INSIGNIA = 313; ELSHIMO_LOWLANDS_EF_INSIGNIA = 314; ELSHIMO_UPLANDS_EF_INSIGNIA = 315; KEY_ITEM316 = 316; KEY_ITEM317 = 317; KEY_ITEM318 = 318; KEY_ITEM319 = 319; WHISPER_OF_FLAMES = 320; WHISPER_OF_TREMORS = 321; WHISPER_OF_TIDES = 322; WHISPER_OF_GALES = 323; WHISPER_OF_FROST = 324; WHISPER_OF_STORMS = 325; WHISPER_OF_THE_MOON = 326; WHISPER_OF_DREAMS = 327; TUNING_FORK_OF_FIRE = 328; TUNING_FORK_OF_EARTH = 329; TUNING_FORK_OF_WATER = 330; TUNING_FORK_OF_WIND = 331; TUNING_FORK_OF_ICE = 332; TUNING_FORK_OF_LIGHTNING = 333; MOON_BAUBLE = 334; VIAL_OF_DREAM_INCENSE = 335; ORCISH_CREST = 336; QUADAV_CREST = 337; YAGUDO_CREST = 338; UN_MOMENT = 339; LEPHEMERE = 340; LANCIENNE = 341; CHANSON_DE_LIBERTE = 342; WEAPON_TRAINING_GUIDE = 343; MAP_TO_THE_ANNALS_OF_TRUTH = 344; ANNALS_OF_TRUTH = 345; COMPLETION_CERTIFICATE = 346; DYNAMIS_DEBUGGER = 347; DROPPED_ITEM = 348; WHITE_CARD = 349; RED_CARD = 350; BLACK_CARD = 351; HOLLA_GATE_CRYSTAL = 352; DEM_GATE_CRYSTAL = 353; MEA_GATE_CRYSTAL = 354; VAHZL_GATE_CRYSTAL = 355; YHOATOR_GATE_CRYSTAL = 356; ALTEPA_GATE_CRYSTAL = 357; PROMYVION_HOLLA_SLIVER = 358; PROMYVION_DEM_SLIVER = 359; PROMYVION_MEA_SLIVER = 360; WHISPER_OF_THE_WYRMKING = 361; NOTE_WRITTEN_BY_ESHANTARL = 362; RAINBOW_RESONATOR = 363; FADED_RUBY = 364; TATTERED_MAZE_MONGER_POUCH = 365; CRIMSON_STRATUM_ABYSSITE = 366; CRIMSON_STRATUM_ABYSSITE_II = 367; CRIMSON_STRATUM_ABYSSITE_III = 368; CRIMSON_STRATUM_ABYSSITE_IV = 369; INDIGO_STRATUM_ABYSSITE = 370; INDIGO_STRATUM_ABYSSITE_II = 371; INDIGO_STRATUM_ABYSSITE_III = 372; INDIGO_STRATUM_ABYSSITE_IV = 373; JADE_STRATUM_ABYSSITE = 374; JADE_STRATUM_ABYSSITE_II = 375; JADE_STRATUM_ABYSSITE_III = 376; JADE_STRATUM_ABYSSITE_IV = 377; SHODDY_METAL_CLASP = 378; BUNDLE_OF_SUNDRY_PLANTS = 379; SQUARE_OF_ULTIMATE_CLOTH = 380; PLIABLE_LIZARD_SKIN = 381; SQUARE_OF_LIZARD_LEATHER = 382; MAP_OF_ABDH_ISLE_PURGONORGO = 383; MAP_OF_THE_SAN_DORIA_AREA = 385; MAP_OF_THE_BASTOK_AREA = 386; MAP_OF_THE_WINDURST_AREA = 387; MAP_OF_THE_JEUNO_AREA = 388; MAP_OF_QUFIM_ISLAND = 389; MAP_OF_THE_NORTHLANDS_AREA = 390; MAP_OF_KING_RANPERRES_TOMB = 391; MAP_OF_THE_DANGRUF_WADI = 392; MAP_OF_THE_HORUTOTO_RUINS = 393; MAP_OF_BOSTAUNIEUX_OUBLIETTE = 394; MAP_OF_THE_ZERUHN_MINES = 395; MAP_OF_THE_TORAIMARAI_CANAL = 396; MAP_OF_ORDELLES_CAVES = 397; MAP_OF_THE_GUSGEN_MINES = 398; MAP_OF_THE_MAZE_OF_SHAKHRAMI = 399; MAP_OF_THE_ELDIEME_NECROPOLIS = 400; MAP_OF_THE_CRAWLERS_NEST = 401; MAP_OF_THE_GARLAIGE_CITADEL = 402; MAP_OF_THE_RANGUEMONT_PASS = 403; MAP_OF_GHELSBA = 404; MAP_OF_DAVOI = 405; MAP_OF_THE_PALBOROUGH_MINES = 406; MAP_OF_BEADEAUX = 407; MAP_OF_GIDDEUS = 408; MAP_OF_CASTLE_OZTROJA = 409; MAP_OF_DELKFUTTS_TOWER = 410; MAP_OF_FEIYIN = 411; MAP_OF_CASTLE_ZVAHL = 412; MAP_OF_THE_ELSHIMO_REGIONS = 413; MAP_OF_THE_KUZOTZ_REGION = 414; MAP_OF_THE_LITELOR_REGION = 415; MAP_OF_THE_RUAUN_GARDENS = 416; MAP_OF_NORG = 417; MAP_OF_THE_TEMPLE_OF_UGGALEPIH = 418; MAP_OF_THE_DEN_OF_RANCOR = 419; MAP_OF_THE_KORROLOKA_TUNNEL = 420; MAP_OF_THE_KUFTAL_TUNNEL = 421; MAP_OF_THE_BOYAHDA_TREE = 422; MAP_OF_THE_VELUGANNON_PALACE = 423; MAP_OF_IFRITS_CAULDRON = 424; MAP_OF_THE_QUICKSAND_CAVES = 425; MAP_OF_THE_SEA_SERPENT_GROTTO = 426; MAP_OF_THE_VOLLBOW_REGION = 427; MAP_OF_THE_LABYRINTH_OF_ONZOZO = 428; MAP_OF_CARPENTERS_LANDING = 429; MAP_OF_BIBIKI_BAY = 430; MAP_OF_THE_ULEGUERAND_RANGE = 431; MAP_OF_THE_ATTOHWA_CHASM = 432; MAP_OF_PSOXJA = 433; MAP_OF_OLDTON_MOVALPOLOS = 434; MAP_OF_NEWTON_MOVALPOLOS = 435; MAP_OF_PROMYVION_HOLLA = 436; MAP_OF_PROMYVION_DEM = 437; MAP_OF_PROMYVION_MEA = 438; MAP_OF_PROMYVION_VAHZL = 439; MAP_OF_TAVNAZIA = 440; MAP_OF_THE_AQUEDUCTS = 441; MAP_OF_THE_SACRARIUM = 442; MAP_OF_CAPE_RIVERNE = 443; MAP_OF_ALTAIEU = 444; MAP_OF_HUXZOI = 445; MAP_OF_RUHMET = 446; MAP_OF_DIO_ABDHALJS_GHELSBA = 447; DAZEBREAKER_CHARM = 448; SHINY_EARRING = 449; CARBUNCLES_TEAR = 450; SCRAP_OF_PAPYRUS = 451; CERULEAN_CRYSTAL = 452; HANDFUL_OF_CRYSTAL_SCALES = 453; CHARRED_HELM = 454; SHARD_OF_APATHY = 455; SHARD_OF_ARROGANCE = 456; SHARD_OF_COWARDICE = 457; SHARD_OF_ENVY = 458; SHARD_OF_RAGE = 459; TRICK_BOX = 460; WASHUS_TASTY_WURST = 461; YOMOTSU_FEATHER = 462; YOMOTSU_HIRASAKA = 463; FADED_YOMOTSU_HIRASAKA = 464; SEANCE_STAFF = 465; SMILING_STONE = 466; SCOWLING_STONE = 467; SOMBER_STONE = 468; SPIRITED_STONE = 469; OLD_TRICK_BOX = 470; LARGE_TRICK_BOX = 471; INDIGESTED_STALAGMITE = 472; INDIGESTED_ORE = 473; INDIGESTED_MEAT = 474; LETTER_FROM_ZONPAZIPPA = 475; MOONDROP = 476; MIRACLESALT = 477; ANCIENT_VERSE_OF_ROMAEVE = 478; ANCIENT_VERSE_OF_ALTEPA = 479; ANCIENT_VERSE_OF_UGGALEPIH = 480; FIGURE_OF_LEVIATHAN = 481; FIGURE_OF_GARUDA = 482; FIGURE_OF_TITAN = 483; DARK_MANA_ORB = 484; MOONGATE_PASS = 485; HYDRA_CORPS_COMMAND_SCEPTER = 486; HYDRA_CORPS_EYEGLASS = 487; HYDRA_CORPS_LANTERN = 488; HYDRA_CORPS_TACTICAL_MAP = 489; HYDRA_CORPS_INSIGNIA = 490; HYDRA_CORPS_BATTLE_STANDARD = 491; VIAL_OF_SHROUDED_SAND = 492; DIARY_OF_MUKUNDA = 493; LETTER_TO_THE_BAS_CONFLICT_CMD1 = 494; LETTER_TO_THE_WIN_CONFLICT_CMD1 = 495; LETTER_TO_THE_SAN_CONFLICT_CMD1 = 496; LETTER_TO_THE_WIN_CONFLICT_CMD2 = 497; LETTER_TO_THE_SAN_CONFLICT_CMD2 = 498; LETTER_TO_THE_BAS_CONFLICT_CMD2 = 499; BALLISTA_EARRING = 500; DRAWING_OF_A_MALE_HUME = 501; DRAWING_OF_A_FEMALE_HUME = 502; DRAWING_OF_A_MALE_ELVAAN = 503; DRAWING_OF_A_FEMALE_ELVAAN = 504; DRAWING_OF_A_MALE_TARUTARU = 505; DRAWING_OF_A_FEMALE_TARUTARU = 506; DRAWING_OF_A_MITHRA = 507; DRAWING_OF_A_GALKA = 508; YE_OLDE_MANNEQUIN_CATALOGUE = 509; MANNEQUIN_JOINT_DIAGRAMS = 510; CLAMMING_KIT = 511; MOGHANCEMENT_FIRE = 512; MOGHANCEMENT_ICE = 513; MOGHANCEMENT_WIND = 514; MOGHANCEMENT_EARTH = 515; MOGHANCEMENT_LIGHTNING = 516; MOGHANCEMENT_WATER = 517; MOGHANCEMENT_LIGHT = 518; MOGHANCEMENT_DARK = 519; MOGHANCEMENT_EXPERIENCE = 520; MOGHANCEMENT_GARDENING = 521; MOGHANCEMENT_DESYNTHESIS = 522; MOGHANCEMENT_FISHING = 523; MOGHANCEMENT_WOODWORKING = 524; MOGHANCEMENT_SMITHING = 525; MOGHANCEMENT_GOLDSMITHING = 526; MOGHANCEMENT_CLOTHCRAFT = 527; MOGHANCEMENT_LEATHERCRAFT = 528; MOGHANCEMENT_BONECRAFT = 529; MOGHANCEMENT_ALCHEMY = 530; MOGHANCEMENT_COOKING = 531; MOGHANCEMENT_CONQUEST = 532; MOGHANCEMENT_REGION = 533; MOGHANCEMENT_FISHINGITEMS = 534; MOGHANCEMENT_SAN_CONQUEST = 535; MOGHANCEMENT_BAS_CONQUEST = 536; MOGHANCEMENT_WIN_CONQUEST = 537; MOGHANCEMENT_MONEY = 538; MOGHANCEMENT_CAMPAIGN = 539; MOGHANCEMENT_MONEY_II = 540; MOGHANCEMENT_SKILL_GAINS = 541; MOGHANCEMENT_BOUNTY = 542; MOGLIFICATION_FISHING = 544; MOGLIFICATION_WOODWORKING = 545; MOGLIFICATION_SMITHING = 546; MOGLIFICATION_GOLDSMITHING = 547; MOGLIFICATION_CLOTHCRAFT = 548; MOGLIFICATION_LEATHERCRAFT = 549; MOGLIFICATION_BONECRAFT = 550; MOGLIFICATION_ALCHEMY = 551; MOGLIFICATION_COOKING = 552; MEGA_MOGLIFICATION_FISHING = 553; MEGA_MOGLIFICATION_WOODWORK = 554; MEGA_MOGLIFICATION_SMITHING = 555; MEGA_MOGLIFICATION_GOLDSMITH = 556; MEGA_MOGLIFICATION_CLOTHCRAFT = 557; MEGA_MOGLIFICATION_LEATHRCRFT = 558; MEGA_MOGLIFICATION_BONECRAFT = 559; MEGA_MOGLIFICATION_ALCHEMY = 560; MEGA_MOGLIFICATION_COOKING = 561; MOGLIFICATION_EXPERIENCE_BOOST = 562; MOGLIFICATION_CAPACITY_BOOST = 563; BALLISTA_LICENSE = 576; BALLISTA_INSTAWARP = 577; BALLISTA_INSTAPORT = 578; MYSTERIOUS_AMULET = 579; MYSTERIOUS_AMULET_DRAINED = 580; CRACKED_MIMEO_MIRROR = 581; RELIQUIARIUM_KEY = 582; MIMEO_STONE = 583; MYSTIC_ICE = 584; KEY_ITEM585 = 585; MIMEO_JEWEL = 586; MIMEO_FEATHER = 587; SECOND_MIMEO_FEATHER = 588; THIRD_MIMEO_FEATHER = 589; LIGHT_OF_HOLLA = 590; LIGHT_OF_DEM = 591; LIGHT_OF_MEA = 592; LIGHT_OF_VAHZL = 593; LIGHT_OF_ALTAIEU = 594; BLUE_BRACELET = 595; GREEN_BRACELET = 596; DUSTY_TOME = 597; POINTED_JUG = 598; CRACKED_CLUB = 599; PEELING_HAIRPIN = 600; OLD_NAMETAG = 601; TINY_WRISTLET = 602; WHISPERING_CONCH = 603; PSOXJA_PASS = 604; PIECE_OF_RIPPED_FLOORPLANS = 605; LIMIT_BREAKER = 606; HYPER_ALTIMETER = 607; MOLYBDENUM_BOX = 608; ALABASTER_HAIRPIN = 609; DAWN_TALISMAN = 610; SILVER_COMETS_COLLAR = 611; ENVELOPE_FROM_MONBERAUX = 612; DELKFUTT_RECOGNITION_DEVICE = 613; DEED_TO_PURGONORGO_ISLE = 614; PHOENIX_ARMLET = 615; PHOENIX_PEARL = 616; MANACLIPPER_TICKET = 617; BARGE_TICKET = 618; ALLYOUCANRIDEPASS = 619; TAVNAZIAN_ARCHIPELAGO_SUPPLIES = 620; RIVERNEWORT = 621; TAVNAZIAN_COOKBOOK = 622; WASHUS_FLASK = 623; FLASK_OF_CLAM_WATER = 624; PUNGENT_PROVIDENCE_POT = 625; TORN_OUT_PAGES = 626; TONBERRY_BLACKBOARD = 627; LETTER_FROM_MUCKVIX = 628; LETTER_FROM_MAGRIFFON = 629; PROVIDENCE_POT = 630; CARE_PACKAGE = 631; GLITTERING_FRAGMENT = 632; STOREROOM_KEY = 633; ZEELOZOKS_EARPLUG = 634; POTION_VOUCHER = 635; HIPOTION_VOUCHER = 636; XPOTION_VOUCHER = 637; ETHER_VOUCHER = 638; HIETHER_VOUCHER = 639; SUPER_ETHER_VOUCHER = 640; ELIXER_VOUCHER = 641; REVITALIZER_VOUCHER = 642; BODY_BOOST_VOUCHER = 643; MANA_BOOST_VOUCHER = 644; DRACHENESSENCE_VOUCHER = 645; BARFIRE_OINTMENT_VOUCHER = 646; BARBLIZZARD_OINTMENT_VOUCHER = 647; BARAERO_OINTMENT_VOUCHER = 648; BARSTONE_OINTMENT_VOUCHER = 649; BARTHUNDER_OINTMENT_VOUCHER = 650; BARWATER_OINTMENT_VOUCHER = 651; BARGE_MULTITICKET = 652; MANACLIPPER_MULTITICKET = 653; FIGHTERS_ARMOR_CLAIM_SLIP = 654; TEMPLE_ATTIRE_CLAIM_SLIP = 655; HEALERS_ATTIRE_CLAIM_SLIP = 656; WIZARDS_ATTIRE_CLAIM_SLIP = 657; WARLOCKS_ARMOR_CLAIM_SLIP = 658; ROGUES_ATTIRE_CLAIM_SLIP = 659; GALLANT_ARMOR_CLAIM_SLIP = 660; CHAOS_ARMOR_CLAIM_SLIP = 661; BEAST_ARMOR_CLAIM_SLIP = 662; CHORAL_ATTIRE_CLAIM_SLIP = 663; HUNTERS_ATTIRE_CLAIM_SLIP = 664; MYOCHIN_ARMOR_CLAIM_SLIP = 665; NINJAS_GARB_CLAIM_SLIP = 666; DRACHEN_ARMOR_CLAIM_SLIP = 667; EVOKERS_ATTIRE_CLAIM_SLIP = 668; VESSEL_OF_LIGHT_KI = 669; CENSER_OF_ABANDONMENT = 670; CENSER_OF_ANTIPATHY = 671; CENSER_OF_ANIMUS = 672; CENSER_OF_ACRIMONY = 673; MONARCH_BEARD = 674; ASTRAL_COVENANT = 675; SHAFT_2716_OPERATING_LEVER = 676; ZEPHYR_FAN = 677; MIASMA_FILTER = 678; PARTICULARLY_POIGNANT_PETAL = 679; ANTIQUE_AMULET = 680; CATHEDRAL_MEDALLION = 681; GOLD_BALLISTA_CHEVRON = 682; MYTHRIL_BALLISTA_CHEVRON = 683; SILVER_BALLISTA_CHEVRON = 684; BRONZE_BALLISTA_CHEVRON = 685; BLOODY_BALLISTA_CHEVRON = 686; ORANGE_BALLISTA_CHEVRON = 687; WHITE_BALLISTA_CHEVRON = 688; BLACK_BALLISTA_CHEVRON = 689; RED_BALLISTA_CHEVRON = 690; GREEN_BALLISTA_CHEVRON = 691; SPARKING_BALLISTA_CHEVRON = 692; EBON_BALLISTA_CHEVRON = 693; FURRY_BALLISTA_CHEVRON = 694; BROWN_BALLISTA_CHEVRON = 695; OCHRE_BALLISTA_CHEVRON = 696; JADE_BALLISTA_CHEVRON = 697; TRANSPARENT_BALLISTA_CHEVRON = 698; PURPLE_BALLISTA_CHEVRON = 699; RAINBOW_BALLISTA_CHEVRON = 700; LETTERS_FROM_ULMIA_AND_PRISHE = 701; PETRA_EATER_VOUCHER = 702; CATHOLICON_VOUCHER = 703; RED_OIL = 704; MARBLE_BRIDGE_COASTER = 705; LAMP_LIGHTERS_MEMBERSHIP_CARD = 706; SHAFT_GATE_OPERATING_DIAL = 707; MYSTERIOUS_AMULET = 708; MIRE_INCENSE = 709; BRAND_OF_DAWN = 710; BRAND_OF_TWILIGHT = 711; ORNAMENTED_SCROLL = 712; BETTER_HUMES_AND_MANNEQUINS = 713; PETRA_SHOVEL = 714; CALIGINOUS_BLADE = 715; TEAR_OF_ALTANA = 716; BALLISTA_BAND = 717; SHADED_CRUSE = 718; LETTER_FROM_SHIKAREE_X = 719; MONARCH_LINN_PATROL_PERMIT = 720; LETTER_FROM_SHIKAREE_Y = 721; LETTER_FROM_THE_MITHRAN_TRACKER = 722; COMMUNICATION_FROM_TZEE_XICU = 723; ORCISH_SEEKER_BATS = 724; VAULT_QUIPUS = 725; GOBLIN_RECOMMENDATION_LETTER = 726; COSTUME_KIT = 727; JAR_OF_REVERSION_DUST = 728; REMEDY_VOUCHER = 729; PANACEA_VOUCHER = 730; SMELLING_SALTS_VOUCHER = 731; VITRALLUM = 732; OPALESCENT_STONE = 733; COSMOCLEANSE = 734; OLD_WOMANS_PORTRAIT = 735; GLIMMERING_MICA = 736; MISTROOT = 737; LUNASCENT_LOG = 738; DYNAMIS_VALKURM_SLIVER = 739; DYNAMIS_BUBURIMU_SLIVER = 740; DYNAMIS_QUFIM_SLIVER = 741; DYNAMIS_TAVNAZIA_SLIVER = 742; RED_SENTINEL_BADGE = 743; BLUE_SENTINEL_BADGE = 744; GREEN_SENTINEL_BADGE = 745; WHITE_SENTINEL_BADGE = 746; EYE_OF_FLAMES = 747; EYE_OF_TREMORS = 748; EYE_OF_TIDES = 749; EYE_OF_GALES = 750; EYE_OF_FROST = 751; EYE_OF_STORMS = 752; RED_INVITATION_CARD = 753; BLUE_INVITATION_CARD = 754; GREEN_INVITATION_CARD = 755; WHITE_INVITATION_CARD = 756; HEALING_POWDER_VOUCHER = 757; BRENNER_SHOVEL = 758; BRENNER_BAND = 759; SILVER_SEA_FERRY_TICKET = 760; MOONLIGHT_ORE = 761; LEUJAOAM_ASSAULT_ORDERS = 762; MAMOOL_JA_ASSAULT_ORDERS = 763; LEBROS_ASSAULT_ORDERS = 764; PERIQIA_ASSAULT_ORDERS = 765; ILRUSI_ASSAULT_ORDERS = 766; DKHAAYAS_RESEARCH_JOURNAL = 767; ELECTROCELL = 768; ELECTROPOT = 769; ELECTROLOCOMOTIVE = 770; MARK_OF_ZAHAK = 771; VIAL_OF_LUMINOUS_WATER = 772; IMAGE_RECORDER = 773; CAST_METAL_PLATE = 774; SUPPLIES_PACKAGE = 775; RAINBOW_BERRY = 776; SAPPHIRE_BALLISTA_CHEVRON = 777; CORAL_BALLISTA_CHEVRON = 778; SILK_BALLISTA_CHEVRON = 779; PSC_WILDCAT_BADGE = 780; BOARDING_PERMIT = 781; RUNIC_PORTAL_USE_PERMIT = 782; PFC_WILDCAT_BADGE = 783; SP_WILDCAT_BADGE = 784; RAILLEFALS_LETTER = 785; EPHRAMADIAN_GOLD_COIN = 786; IMPERIAL_ARMY_ID_TAG = 787; RAILLEFALS_NOTE = 788; DARK_RIDER_HOOFPRINT = 789; BAG_OF_GOLD_PIECES = 790; FORGOTTEN_HEXAGUN = 791; PLASMA_OIL = 792; PLASMA_ROCK = 793; LC_WILDCAT_BADGE = 794; C_WILDCAT_BADGE = 795; POT_OF_TSETSEROONS_STEW = 796; ASSAULT_ARMBAND = 797; ANTIQUE_AUTOMATON = 798; RED_BELL = 799; BLUE_BELL = 800; MUSICAL_SCORE_1ST_PAGE = 801; MUSICAL_SCORE_2ND_PAGE = 802; MERROW_HOMUNCULUS = 803; LAMIA_HOMUNCULUS = 804; MUNAHDAS_PACKAGE = 805; WHITE_HANDKERCHIEF = 806; CONFIDENTIAL_IMPERIAL_ORDER = 807; SECRET_IMPERIAL_ORDER = 808; HANDKERCHIEF = 809; DIRTY_HANDKERCHIEF = 810; REPLAY_DEBUGGER = 811; ASTRAL_COMPASS = 812; VIAL_OF_SPECTRAL_SCENT = 813; EMPTY_TEST_TUBE_1 = 814; EMPTY_TEST_TUBE_2 = 815; EMPTY_TEST_TUBE_3 = 816; EMPTY_TEST_TUBE_4 = 817; EMPTY_TEST_TUBE_5 = 818; TEST_TUBE_1 = 819; TEST_TUBE_2 = 820; TEST_TUBE_3 = 821; TEST_TUBE_4 = 822; TEST_TUBE_5 = 823; QUARTZ_TRANSMITTER = 824; S_WILDCAT_BADGE = 825; SM_WILDCAT_BADGE = 826; CS_WILDCAT_BADGE = 827; CHUNK_OF_GLITTERING_ORE = 828; BRAND_OF_THE_SPRINGSERPENT = 829; BRAND_OF_THE_GALESERPENT = 830; BRAND_OF_THE_FLAMESERPENT = 831; BRAND_OF_THE_SKYSERPENT = 832; BRAND_OF_THE_STONESERPENT = 833; MAGUS_ORDER_SLIP = 834; SEALED_IMMORTAL_ENVELOPE = 835; STORY_OF_AN_IMPATIENT_CHOCOBO = 837; STORY_OF_A_CURIOUS_CHOCOBO = 838; STORY_OF_A_WORRISOME_CHOCOBO = 839; STORY_OF_A_YOUTHFUL_CHOCOBO = 840; STORY_OF_A_HAPPY_CHOCOBO = 841; MAMOOL_JA_MANDATE = 842; VALKENGS_MEMORY_CHIP = 843; TOGGLE_SWITCH = 844; LELEROONS_LETTER_GREEN = 845; LELEROONS_LETTER_BLUE = 846; LELEROONS_LETTER_RED = 847; LIFE_FLOAT = 848; WHEEL_LOCK_TRIGGER = 849; STORY_OF_A_DILIGENT_CHOCOBO = 850; PRAIRIE_CHOCOGRAPH = 851; BUSH_CHOCOGRAPH = 852; LETTER_FROM_BERNAHN = 853; REMNANTS_PERMIT = 854; LILAC_RIBBON = 855; COASTAL_CHOCOGRAPH = 856; DUNE_CHOCOGRAPH = 857; JUNGLE_CHOCOGRAPH = 858; DESERT_CHOCOGRAPH = 859; PERIQIA_ASSAULT_AREA_ENTRY_PERMIT = 860; WARRIORS_ARMOR_CLAIM_SLIP = 861; MELEE_ATTIRE_CLAIM_SLIP = 862; CLERICS_ATTIRE_CLAIM_SLIP = 863; SORCERERS_ATTIRE_CLAIM_SLIP = 864; DUELISTS_ARMOR_CLAIM_SLIP = 865; ASSASSINS_ATTIRE_CLAIM_SLIP = 866; VALOR_ARMOR_CLAIM_SLIP = 867; ABYSS_ARMOR_CLAIM_SLIP = 868; MONSTER_ARMOR_CLAIM_SLIP = 869; BARDS_ATTIRE_CLAIM_SLIP = 870; SCOUTS_ATTIRE_CLAIM_SLIP = 871; SAOTOME_ARMOR_CLAIM_SLIP = 872; KOGA_GARB_CLAIM_SLIP = 873; WYRM_ARMOR_CLAIM_SLIP = 874; SUMMONERS_ATTIRE_CLAIM_SLIP = 875; SCOURSHROOM = 876; PERCIPIENT_EYE = 877; NYZUL_ISLE_ASSAULT_ORDERS = 878; RUNIC_DISC = 879; RUNIC_KEY = 880; GYSAHL_MEDAL = 881; ROSSWEISSES_FEATHER = 882; GRIMGERDES_FEATHER = 883; SIEGRUNES_FEATHER = 884; HELMWIGES_FEATHER = 885; SCHWERTLEITES_FEATHER = 886; WALTRAUTES_FEATHER = 887; ORTLINDES_FEATHER = 888; GERHILDES_FEATHER = 889; BRUNHILDES_FEATHER = 890; MARK_OF_THE_EINHERJAR = 891; PHOTOPTICATOR = 892; LUMINIAN_DAGGER = 893; SL_WILDCAT_BADGE = 894; BIYAADAS_LETTER = 895; OFFICER_ACADEMY_MANUAL = 896; ALLIED_COUNCIL_SUMMONS = 897; NYZUL_ISLE_ROUTE = 898; MYTHRIL_MIRROR = 899; FL_WILDCAT_BADGE = 900; CHOCOBO_CIRCUIT_GRANDSTAND_PASS = 908; CAPTAIN_WILDCAT_BADGE = 909; PURE_WHITE_FEATHER = 910; STARDUST_PEBBLE = 911; LEFT_MAP_PIECE = 912; MIDDLE_MAP_PIECE = 913; RIGHT_MAP_PIECE = 914; SEQUINED_BALLISTA_CHEVRON = 915; VELVET_BALLISTA_CHEVRON = 916; BATTLE_RATIONS = 917; CLUMP_OF_ANIMAL_HAIR = 918; XHIFHUT = 919; WARNING_LETTER = 920; RED_RECOMMENDATION_LETTER = 921; BLUE_RECOMMENDATION_LETTER = 922; GREEN_RECOMMENDATION_LETTER = 923; BRONZE_RIBBON_OF_SERVICE = 924; BRASS_RIBBON_OF_SERVICE = 925; ALLIED_RIBBON_OF_BRAVERY = 926; ALLIED_RIBBON_OF_GLORY = 927; BRONZE_STAR = 928; STERLING_STAR = 929; MYTHRIL_STAR = 930; GOLDEN_STAR = 931; COPPER_EMBLEM_OF_SERVICE = 932; IRON_EMBLEM_OF_SERVICE = 933; STEELKNIGHT_EMBLEM = 934; HOLYKNIGHT_EMBLEM = 935; BRASS_WINGS_OF_SERVICE = 936; MYTHRIL_WINGS_OF_SERVICE = 937; WINGS_OF_INTEGRITY = 938; WINGS_OF_HONOR = 939; STARLIGHT_MEDAL = 940; MOONLIGHT_MEDAL = 941; DAWNLIGHT_MEDAL = 942; MEDAL_OF_ALTANA = 943; SLICED_POLE = 944; SUPPLY_ORDER = 945; GRIMOIRE = 946; ZONPAZIPPAS_ALLPURPOSE_PUTTY = 947; SCOOPDEDICATED_LINKPEARL = 948; FIREPOWER_CASE = 949; CHARRED_PROPELLER = 950; PIECE_OF_SHATTERED_LUMBER = 951; OXIDIZED_PLATE = 952; PIECE_OF_KIONITE = 953; RANPIMONPI_SPECIALTY = 954; CULINARY_KNIFE = 955; FIREBLOSSOM = 956; THE_HEALING_HERB = 957; SMALL_STARFRUIT = 958; INKY_BLACK_YAGUDO_FEATHER = 959; CAMPAIGN_SUPPLIES = 960; MINE_SHAFT_KEY = 961; THE_ESSENCE_OF_DANCE = 962; JUGNER_GATE_CRYSTAL = 963; PASHHOW_GATE_CRYSTAL = 964; MERIPHATAUD_GATE_CRYSTAL = 965; VUNKERL_HERB = 966; VUNKERL_HERB_MEMO = 967; EVIL_WARDING_SEAL = 968; ORNATE_PACKAGE = 969; SHEAF_OF_HANDMADE_INCENSE = 970; LEATHERBOUND_BOOK = 971; LYNX_PELT = 972; WYATTS_PROPOSAL = 973; FORT_KEY = 974; ULBRECHTS_SEALED_LETTER = 975; SCHULTS_SEALED_LETTER = 976; UNADDRESSED_SEALED_LETTER = 977; PORTING_MAGIC_TRANSCRIPT = 978; SAMPLE_OF_GRAUBERG_CHERT = 979; DROGAROGAN_BONEMEAL = 980; SLUG_MUCUS = 981; DJINN_EMBER = 982; RAFFLESIA_DREAMSPIT = 983; PEISTE_DUNG = 984; ULBRECHTS_MORTARBOARD = 985; BEASTMEN_CONFEDERATE_CRATE = 986; MILITARY_SCRIP = 987; SILVERMINE_KEY = 988; RED_PRIZE_BALLOON = 989; BLUE_PRIZE_BALLOON = 990; GREEN_PRIZE_BALLOON = 991; TRAVONCES_ESCORT_AWARD = 992; KENS_ESCORT_AWARD = 993; EMPTINESS_INVESTIGATION_NOTE = 994; TIGRIS_STONE = 995; DIAMOND_SEAL = 996; XICUS_ROSARY = 997; MAROON_SEAL = 998; APPLE_GREEN_SEAL = 999; CHARCOAL_GREY_SEAL = 1000; DEEP_PURPLE_SEAL = 1001; CHESTNUT_COLORED_SEAL = 1002; LILAC_COLORED_SEAL = 1003; CERISE_SEAL = 1004; SALMON_COLORED_SEAL = 1005; PURPLISH_GREY_SEAL = 1006; GOLD_COLORED_SEAL = 1007; COPPER_COLORED_SEAL = 1008; BRIGHT_BLUE_SEAL = 1009; PINE_GREEN_SEAL = 1010; AMBER_COLORED_SEAL = 1011; FALLOW_COLORED_SEAL = 1012; TAUPE_COLORED_SEAL = 1013; SIENNA_COLORED_SEAL = 1014; LAVENDER_COLORED_SEAL = 1015; SICKLEMOON_SALT = 1016; SILVER_SEA_SALT = 1017; CYAN_DEEP_SALT = 1018; ORCISH_WARMACHINE_BODY = 1019; PAPAROONS_SEALED_INVITATION = 1020; DATA_ANALYZER_AND_LOGGER_EX = 1021; MAYAKOV_SHOW_TICKET = 1022; SERPENTKING_ZAHAK_RELIEF = 1023; SAKURA_RACING_BADGE = 1024; SERPENTKING_ZAHAK_RELIEF_SHARD = 1025; IMPERIAL_LINEAGE_CHAPTER_I = 1026; IMPERIAL_LINEAGE_CHAPTER_II = 1027; IMPERIAL_LINEAGE_CHAPTER_III = 1028; IMPERIAL_LINEAGE_CHAPTER_IV = 1029; IMPERIAL_LINEAGE_CHAPTER_V = 1030; IMPERIAL_LINEAGE_CHAPTER_VI = 1031; IMPERIAL_LINEAGE_CHAPTER_VII = 1032; IMPERIAL_LINEAGE_CHAPTER_VIII = 1033; THE_WORDS_OF_DONHU_I = 1034; THE_WORDS_OF_DONHU_II = 1035; THE_WORDS_OF_DONHU_III = 1036; THE_WORDS_OF_DONHU_IV = 1037; THE_WORDS_OF_DONHU_V = 1038; THE_WORDS_OF_DONHU_VI = 1039; THE_WORDS_OF_DONHU_VII = 1040; THE_WORDS_OF_DONHU_VIII = 1041; HABALOS_ECLOGUE_VERSE_I = 1042; HABALOS_ECLOGUE_VERSE_II = 1043; HABALOS_ECLOGUE_VERSE_III = 1044; HABALOS_ECLOGUE_VERSE_IV = 1045; HABALOS_ECLOGUE_VERSE_V = 1046; HABALOS_ECLOGUE_VERSE_VI = 1047; HABALOS_ECLOGUE_VERSE_VII = 1048; HABALOS_ECLOGUE_VERSE_VIII = 1049; SIGNAL_FIRECRACKER = 1050; NUMBER_EIGHT_SHELTER_KEY = 1051; TORN_PATCHES_OF_LEATHER = 1052; REPAIRED_HANDBAG = 1053; MIRAGE_ATTIRE_CLAIM_SLIP = 1054; COMMODORE_ATTIRE_CLAIM_SLIP = 1055; PANTIN_ATTIRE_CLAIM_SLIP = 1056; ETOILE_ATTIRE_CLAIM_SLIP = 1057; ARGUTE_ATTIRE_CLAIM_SLIP = 1058; ARGENT_ATTIRE_CLAIM_SLIP = 1059; CONQUEST_PROMOTION_VOUCHER = 1060; CERNUNNOS_RESIN = 1061; COUNT_BORELS_LETTER = 1062; UNDERPASS_HATCH_KEY = 1063; BOTTLE_OF_TREANT_TONIC = 1064; TIMBER_SURVEY_CHECKLIST = 1065; SNOWTHEMED_GIFT_TOKEN = 1066; STARTHEMED_GIFT_TOKEN = 1067; BELLTHEMED_GIFT_TOKEN = 1068; FLARE_GRENADE = 1069; RONFAURE_MAPLE_SYRUP = 1070; LONGLIFE_BISCUITS = 1071; FLASK_OF_KINGDOM_WATER = 1072; BISCUIT_A_LA_RHOLONT = 1073; LETTER_TO_COUNT_AURCHIAT = 1074; LENGTH_OF_JUGNER_IVY = 1075; DARKFIRE_CINDER = 1076; FLOELIGHT_STONE = 1077; LIQUID_QUICKSILVER = 1078; GELID_SULFUR = 1079; BEASTBANE_BULLETS = 1080; GLEIPNIR = 1081; SCINTILLANT_STRAND = 1082; REFULGENT_STRAND = 1083; IRRADIANT_STRAND = 1084; BOWL_OF_BLAND_GOBLIN_SALAD = 1085; JUG_OF_GREASY_GOBLIN_JUICE = 1086; CHUNK_OF_SMOKED_GOBLIN_GRUB = 1087; SEEDSPALL_ROSEUM = 1088; SEEDSPALL_CAERULUM = 1089; SEEDSPALL_VIRIDIS = 1090; MARK_OF_SEED = 1091; AMICITIA_STONE = 1092; VERITAS_STONE = 1093; SAPIENTIA_STONE = 1094; SANCTITAS_STONE = 1095; FELICITAS_STONE = 1096; DIVITIA_STONE = 1097; STUDIUM_STONE = 1098; AMORIS_STONE = 1099; CARITAS_STONE = 1100; CONSTANTIA_STONE = 1101; SPEI_STONE = 1102; SALUS_STONE = 1103; OMNIS_STONE = 1104; CRIMSON_KEY = 1105; VIRIDIAN_KEY = 1106; AMBER_KEY = 1107; AZURE_KEY = 1108; IVORY_KEY = 1109; EBON_KEY = 1110; DELKFUTT_KEY = 1111; BEASTBANE_ARROWHEADS = 1112; RED_LABELED_CRATE = 1113; BLUE_LABELED_CRATE = 1114; GREEN_LABELED_CRATE = 1115; ELITE_TRAINING_INTRODUCTION = 1116; ELITE_TRAINING_CHAPTER_1 = 1117; ELITE_TRAINING_CHAPTER_2 = 1118; ELITE_TRAINING_CHAPTER_3 = 1119; ELITE_TRAINING_CHAPTER_4 = 1120; ELITE_TRAINING_CHAPTER_5 = 1121; ELITE_TRAINING_CHAPTER_6 = 1122; ELITE_TRAINING_CHAPTER_7 = 1123; UNADORNED_RING = 1124; MOG_KUPON_A_DBCD = 1125; MOG_KUPON_A_DXAR = 1126; PRISMATIC_KEY = 1127; SHADOW_BUG = 1128; WHITE_CORAL_KEY = 1129; BLUE_CORAL_KEY = 1130; PEACH_CORAL_KEY = 1131; BLACK_CORAL_KEY = 1132; RED_CORAL_KEY = 1133; ANGEL_SKIN_KEY = 1134; OXBLOOD_KEY = 1135; STURDY_METAL_STRIP = 1136; PIECE_OF_RUGGED_TREE_BARK = 1137; SAVORY_LAMB_ROAST = 1138; ORB_OF_SWORDS = 1139; ORB_OF_CUPS = 1140; ORB_OF_BATONS = 1141; ORB_OF_COINS = 1142; RIPE_STARFRUIT = 1143; MOLDY_WORMEATEN_CHEST = 1144; STONE_OF_SURYA = 1145; STONE_OF_CHANDRA = 1146; STONE_OF_MANGALA = 1147; STONE_OF_BUDHA = 1148; STONE_OF_BRIHASPATI = 1149; STONE_OF_SHUKRA = 1150; STONE_OF_SHANI = 1151; STONE_OF_RAHU = 1152; STONE_OF_KETU = 1153; TRIVIA_CHALLENGE_KUPON = 1154; GAUNTLET_CHALLENGE_KUPON = 1155; FESTIVAL_SOUVENIR_KUPON = 1156; POCKET_MOGBOMB = 1157; NAVARATNA_TALISMAN = 1158; MEGA_BONANZA_KUPON = 1159; AROMA_BUG = 1160; UMBRA_BUG = 1161; NORTHBOUND_PETITION = 1162; PONONOS_CHARM = 1163; DELICATE_WOOL_THREAD = 1164; DELICATE_LINEN_THREAD = 1165; DELICATE_COTTON_THREAD = 1166; ENCHANTED_WOOL_THREAD = 1167; ENCHANTED_LINEN_THREAD = 1168; ENCHANTED_COTTON_THREAD = 1169; WAX_SEAL = 1170; SACK_OF_VICTUALS = 1171; COMMANDERS_ENDORSEMENT = 1172; SUCCULENT_DRAGON_FRUIT = 1173; SHARD_OF_OPTISTONE = 1174; SHARD_OF_AURASTONE = 1175; SHARD_OF_ORASTONE = 1176; PROSPECTORS_PAN = 1177; CORKED_AMPOULE = 1178; AMPOULE_OF_GOLD_DUST = 1179; VIAL_OF_MILITARY_PRISM_POWDER = 1180; LANCE_FISH = 1181; PALADIN_LOBSTER = 1182; SCUTUM_CRAB = 1183; MOOGLE_KEY = 1184; BIRD_KEY = 1185; CACTUAR_KEY = 1186; BOMB_KEY = 1187; CHOCOBO_KEY = 1188; TONBERRY_KEY = 1189; BEHEMOTH_KEY = 1190; DOMINAS_SCARLET_SEAL = 1191; DOMINAS_CERULEAN_SEAL = 1192; DOMINAS_EMERALD_SEAL = 1193; DOMINAS_AMBER_SEAL = 1194; DOMINAS_VIOLET_SEAL = 1195; DOMINAS_AZURE_SEAL = 1196; SCARLET_COUNTERSEAL = 1197; CERULEAN_COUNTERSEAL = 1198; EMERALD_COUNTERSEAL = 1199; AMBER_COUNTERSEAL = 1200; VIOLET_COUNTERSEAL = 1201; AZURE_COUNTERSEAL = 1202; BLACK_BOOK = 1203; LUMINOUS_RED_FRAGMENT = 1204; LUMINOUS_BEIGE_FRAGMENT = 1205; LUMINOUS_GREEN_FRAGMENT = 1206; LUMINOUS_YELLOW_FRAGMENT = 1207; LUMINOUS_PURPLE_FRAGMENT = 1208; LUMINOUS_BLUE_FRAGMENT = 1209; FIRE_SAP_CRYSTAL = 1210; WATER_SAP_CRYSTAL = 1211; WIND_SAP_CRYSTAL = 1212; EARTH_SAP_CRYSTAL = 1213; LIGHTNING_SAP_CRYSTAL = 1214; ICE_SAP_CRYSTAL = 1215; LIGHT_SAP_CRYSTAL = 1216; DARK_SAP_CRYSTAL = 1217; TABLET_OF_HEXES_GREED = 1218; TABLET_OF_HEXES_ENVY = 1219; TABLET_OF_HEXES_MALICE = 1220; TABLET_OF_HEXES_DECEIT = 1221; TABLET_OF_HEXES_PRIDE = 1222; TABLET_OF_HEXES_BALE = 1223; TABLET_OF_HEXES_DESPAIR = 1224; TABLET_OF_HEXES_REGRET = 1225; TABLET_OF_HEXES_RAGE = 1226; TABLET_OF_HEXES_AGONY = 1227; TABLET_OF_HEXES_DOLOR = 1228; TABLET_OF_HEXES_RANCOR = 1229; TABLET_OF_HEXES_STRIFE = 1230; TABLET_OF_HEXES_PENURY = 1231; TABLET_OF_HEXES_BLIGHT = 1232; TABLET_OF_HEXES_DEATH = 1233; SYNERGY_CRUCIBLE = 1234; MOG_KUPON_AW_ABS = 1235; MOG_KUPON_AW_PAN = 1236; MAGELIGHT_SIGNAL_FLARE = 1237; ALCHEMICAL_SIGNAL_FLARE = 1238; DISTRESS_SIGNAL_FLARE = 1239; IMPERIAL_MISSIVE = 1240; SANDORIAN_APPROVAL_LETTER = 1241; BASTOKAN_APPROVAL_LETTER = 1242; WINDURSTIAN_APPROVAL_LETTER = 1243; JEUNOAN_APPROVAL_LETTER = 1244; PRESENT_FOR_MEGOMAK = 1245; LIGHTNING_CELL = 1246; MEGOMAKS_SHOPPING_LIST = 1247; WHISPER_OF_RADIANCE = 1248; TALISMAN_OF_THE_REBEL_GODS = 1249; MESSAGE_FROM_YOYOROON = 1250; WHISPER_OF_GLOOM = 1251; SPATIAL_PRESSURE_BAROMETER = 1252; CLEAR_ABYSSITE = 1253; COLORFUL_ABYSSITE = 1254; BLUE_ABYSSITE = 1255; ORANGE_ABYSSITE = 1256; BROWN_ABYSSITE = 1257; YELLOW_ABYSSITE = 1258; PURPLE_ABYSSITE = 1259; BLACK_ABYSSITE = 1260; MAGIAN_TRIAL_LOG = 1261; MOG_KUPON_A_LUM = 1262; TALISMAN_KEY = 1263; LETTER_FROM_HALVER = 1264; LETTER_FROM_NAJI = 1265; LETTER_FROM_ZUBABA = 1266; LETTER_FROM_MAAT = 1267; LETTER_FROM_DESPACHIAIRE = 1268; LETTER_FROM_JAKOH_WAHCONDALO = 1269; ZVAHL_PASSKEY = 1270; TRAVERSER_STONE1 = 1271; TRAVERSER_STONE2 = 1272; TRAVERSER_STONE3 = 1273; TRAVERSER_STONE4 = 1274; TRAVERSER_STONE5 = 1275; TRAVERSER_STONE6 = 1276; POET_GODS_KEY = 1277; ORCISH_INFILTRATION_KIT = 1278; ATMA_OF_THE_LION = 1279; ATMA_OF_THE_STOUT_ARM = 1280; ATMA_OF_THE_TWIN_CLAW = 1281; ATMA_OF_ALLURE = 1282; ATMA_OF_ETERNITY = 1283; ATMA_OF_THE_HEAVENS = 1284; ATMA_OF_THE_BAYING_MOON = 1285; ATMA_OF_THE_EBON_HOOF = 1286; ATMA_OF_TREMORS = 1287; ATMA_OF_THE_SAVAGE_TIGER = 1288; ATMA_OF_THE_VORACIOUS_VIOLET = 1289; ATMA_OF_CLOAK_AND_DAGGER = 1290; ATMA_OF_THE_STORMBIRD = 1291; ATMA_OF_THE_NOXIOUS_FANG = 1292; ATMA_OF_VICISSITUDE = 1293; ATMA_OF_THE_BEYOND = 1294; ATMA_OF_STORMBREATH = 1295; ATMA_OF_GALES = 1296; ATMA_OF_THRASHING_TENDRILS = 1297; ATMA_OF_THE_DRIFTER = 1298; ATMA_OF_THE_STRONGHOLD = 1299; ATMA_OF_THE_HARVESTER = 1300; ATMA_OF_DUNES = 1301; ATMA_OF_THE_COSMOS = 1302; ATMA_OF_THE_SIREN_SHADOW = 1303; ATMA_OF_THE_IMPALER = 1304; ATMA_OF_THE_ADAMANTINE = 1305; ATMA_OF_CALAMITY = 1306; ATMA_OF_THE_CLAW = 1307; ATMA_OF_BALEFUL_BONES = 1308; ATMA_OF_THE_CLAWED_BUTTERFLY = 1309; ATMA_OF_THE_DESERT_WORM = 1310; ATMA_OF_THE_UNDYING = 1311; ATMA_OF_THE_IMPREGNABLE_TOWER = 1312; ATMA_OF_THE_SMOLDERING_SKY = 1313; ATMA_OF_THE_DEMONIC_SKEWER = 1314; ATMA_OF_THE_GOLDEN_CLAW = 1315; ATMA_OF_THE_GLUTINOUS_OOZE = 1316; ATMA_OF_THE_LIGHTNING_BEAST = 1317; ATMA_OF_THE_NOXIOUS_BLOOM = 1318; ATMA_OF_THE_GNARLED_HORN = 1319; ATMA_OF_THE_STRANGLING_WIND = 1320; ATMA_OF_THE_DEEP_DEVOURER = 1321; ATMA_OF_THE_MOUNTED_CHAMPION = 1322; ATMA_OF_THE_RAZED_RUINS = 1323; ATMA_OF_THE_BLUDGEONING_BRUTE = 1324; ATMA_OF_THE_RAPID_REPTILIAN = 1325; ATMA_OF_THE_WINGED_ENIGMA = 1326; ATMA_OF_THE_CRADLE = 1327; ATMA_OF_THE_UNTOUCHED = 1328; ATMA_OF_THE_SANGUINE_SCYTHE = 1329; ATMA_OF_THE_TUSKED_TERROR = 1330; ATMA_OF_THE_MINIKIN_MONSTROSITY = 1331; ATMA_OF_THE_WOULD_BE_KING = 1332; ATMA_OF_THE_BLINDING_HORN = 1333; ATMA_OF_THE_DEMONIC_LASH = 1334; ATMA_OF_APPARITIONS = 1335; ATMA_OF_THE_SHIMMERING_SHELL = 1336; ATMA_OF_THE_MURKY_MIASMA = 1337; ATMA_OF_THE_AVARICIOUS_APE = 1338; ATMA_OF_THE_MERCILESS_MATRIARCH = 1339; ATMA_OF_THE_BROTHER_WOLF = 1340; ATMA_OF_THE_EARTH_WYRM = 1341; ATMA_OF_THE_ASCENDING_ONE = 1342; ATMA_OF_THE_SCORPION_QUEEN = 1343; ATMA_OF_A_THOUSAND_NEEDLES = 1344; ATMA_OF_THE_BURNING_EFFIGY = 1345; ATMA_OF_THE_SMITING_BLOW = 1346; ATMA_OF_THE_LONE_WOLF = 1347; ATMA_OF_THE_CRIMSON_SCALE = 1348; ATMA_OF_THE_SCARLET_WING = 1349; ATMA_OF_THE_RAISED_TAIL = 1350; ATMA_OF_THE_SAND_EMPEROR = 1351; ATMA_OF_THE_OMNIPOTENT = 1352; ATMA_OF_THE_WAR_LION = 1353; ATMA_OF_THE_FROZEN_FETTERS = 1354; ATMA_OF_THE_PLAGUEBRINGER = 1355; ATMA_OF_THE_SHRIEKING_ONE = 1356; ATMA_OF_THE_HOLY_MOUNTAIN = 1357; ATMA_OF_THE_LAKE_LURKER = 1358; ATMA_OF_THE_CRUSHING_CUDGEL = 1359; ATMA_OF_PURGATORY = 1360; ATMA_OF_BLIGHTED_BREATH = 1361; ATMA_OF_THE_PERSISTENT_PREDATOR = 1362; ATMA_OF_THE_STONE_GOD = 1363; ATMA_OF_THE_SUN_EATER = 1364; ATMA_OF_THE_DESPOT = 1365; ATMA_OF_THE_SOLITARY_ONE = 1366; ATMA_OF_THE_WINGED_GLOOM = 1367; ATMA_OF_THE_SEA_DAUGHTER = 1368; ATMA_OF_THE_HATEFUL_STREAM = 1369; ATMA_OF_THE_FOE_FLAYER = 1370; ATMA_OF_THE_ENDLESS_NIGHTMARE = 1371; ATMA_OF_THE_SUNDERING_SLASH = 1372; ATMA_OF_ENTWINED_SERPENTS = 1373; ATMA_OF_THE_HORNED_BEAST = 1374; ATMA_OF_AQUATIC_ARDOR = 1375; ATMA_OF_THE_FALLEN_ONE = 1376; ATMA_OF_FIRES_AND_FLARES = 1377; ATMA_OF_THE_APOCALYPSE = 1378; IVORY_ABYSSITE_OF_SOJOURN = 1379; SCARLET_ABYSSITE_OF_SOJOURN = 1380; JADE_ABYSSITE_OF_SOJOURN = 1381; SAPPHIRE_ABYSSITE_OF_SOJOURN = 1382; INDIGO_ABYSSITE_OF_SOJOURN = 1383; EMERALD_ABYSSITE_OF_SOJOURN = 1384; AZURE_ABYSSITE_OF_CELERITY = 1385; CRIMSON_ABYSSITE_OF_CELERITY = 1386; IVORY_ABYSSITE_OF_CELERITY = 1387; VIRIDIAN_ABYSSITE_OF_AVARICE = 1388; IVORY_ABYSSITE_OF_AVARICE = 1389; VERMILLION_ABYSSITE_OF_AVARICE = 1390; IVORY_ABYSSITE_OF_CONFLUENCE = 1391; CRIMSON_ABYSSITE_OF_CONFLUENCE = 1392; INDIGO_ABYSSITE_OF_CONFLUENCE = 1393; IVORY_ABYSSITE_OF_EXPERTISE = 1394; JADE_ABYSSITE_OF_EXPERTISE = 1395; EMERALD_ABYSSITE_OF_EXPERTISE = 1396; IVORY_ABYSSITE_OF_FORTUNE = 1397; SAPPHIRE_ABYSSITE_OF_FORTUNE = 1398; EMERALD_ABYSSITE_OF_FORTUNE = 1399; SCARLET_ABYSSITE_OF_KISMET = 1400; IVORY_ABYSSITE_OF_KISMET = 1401; VERMILLION_ABYSSITE_OF_KISMET = 1402; AZURE_ABYSSITE_OF_PROSPERITY = 1403; JADE_ABYSSITE_OF_PROSPERITY = 1404; IVORY_ABYSSITE_OF_PROSPERITY = 1405; VIRIDIAN_ABYSSITE_OF_DESTINY = 1406; CRIMSON_ABYSSITE_OF_DESTINY = 1407; IVORY_ABYSSITE_OF_DESTINY = 1408; IVORY_ABYSSITE_OF_ACUMEN = 1409; CRIMSON_ABYSSITE_OF_ACUMEN = 1410; EMERALD_ABYSSITE_OF_ACUMEN = 1411; SCARLET_ABYSSITE_OF_LENITY = 1412; AZURE_ABYSSITE_OF_LENITY = 1413; VIRIDIAN_ABYSSITE_OF_LENITY = 1414; JADE_ABYSSITE_OF_LENITY = 1415; SAPPHIRE_ABYSSITE_OF_LENITY = 1416; CRIMSON_ABYSSITE_OF_LENITY = 1417; VERMILLION_ABYSSITE_OF_LENITY = 1418; INDIGO_ABYSSITE_OF_LENITY = 1419; EMERALD_ABYSSITE_OF_LENITY = 1420; SCARLET_ABYSSITE_OF_PERSPICACITY = 1421; IVORY_ABYSSITE_OF_PERSPICACITY = 1422; VERM_ABYSSITE_OF_PERSPICACITY = 1423; AZURE_ABYSSITE_OF_THE_REAPER = 1424; IVORY_ABYSSITE_OF_THE_REAPER = 1425; INDIGO_ABYSSITE_OF_THE_REAPER = 1426; VIRIDIAN_ABYSSITE_OF_GUERDON = 1427; IVORY_ABYSSITE_OF_GUERDON = 1428; VERMILLION_ABYSSITE_OF_GUERDON = 1429; SCARLET_ABYSSITE_OF_FURTHERANCE = 1430; SAPPHIRE_ABYSSITE_OF_FURTHERANCE = 1431; IVORY_ABYSSITE_OF_FURTHERANCE = 1432; AZURE_ABYSSITE_OF_MERIT = 1433; VIRIDIAN_ABYSSITE_OF_MERIT = 1434; JADE_ABYSSITE_OF_MERIT = 1435; SAPPHIRE_ABYSSITE_OF_MERIT = 1436; IVORY_ABYSSITE_OF_MERIT = 1437; INDIGO_ABYSSITE_OF_MERIT = 1438; LUNAR_ABYSSITE1 = 1439; LUNAR_ABYSSITE2 = 1440; LUNAR_ABYSSITE3 = 1441; ABYSSITE_OF_DISCERNMENT = 1442; ABYSSITE_OF_THE_COSMOS = 1443; WHITE_STRATUM_ABYSSITE = 1444; WHITE_STRATUM_ABYSSITE_II = 1445; WHITE_STRATUM_ABYSSITE_III = 1446; ASHEN_STRATUM_ABYSSITE = 1447; ASHEN_STRATUM_ABYSSITE_II = 1448; ASHEN_STRATUM_ABYSSITE_III = 1449; WHITE_STRATUM_ABYSSITE_IV = 1450; WHITE_STRATUM_ABYSSITE_V = 1451; WHITE_STRATUM_ABYSSITE_VI = 1452; LEGION_TOME_PAGE_MAXIMUS = 1453; LEGION_MEDAL_AN = 1454; LEGION_MEDAL_KI = 1455; LEGION_MEDAL_IM = 1456; LEGION_MEDAL_MURU = 1457; LEGION_TOME_PAGE_MINIMUS = 1458; FRAGRANT_TREANT_PETAL = 1459; FETID_RAFFLESIA_STALK = 1460; DECAYING_MORBOL_TOOTH = 1461; TURBID_SLIME_OIL = 1462; VENOMOUS_PEISTE_CLAW = 1463; TATTERED_HIPPOGRYPH_WING = 1464; CRACKED_WIVRE_HORN = 1465; MUCID_AHRIMAN_EYEBALL = 1466; TWISTED_TONBERRY_CROWN = 1467; VEINOUS_HECTEYES_EYELID = 1468; TORN_BAT_WING = 1469; GORY_SCORPION_CLAW = 1470; MOSSY_ADAMANTOISE_SHELL = 1471; FAT_LINED_COCKATRICE_SKIN = 1472; SODDEN_SANDWORM_HUSK = 1473; LUXURIANT_MANTICORE_MANE = 1474; STICKY_GNAT_WING = 1475; OVERGROWN_MANDRAGORA_FLOWER = 1476; CHIPPED_SANDWORM_TOOTH = 1477; MARBLED_MUTTON_CHOP = 1478; BLOODIED_SABER_TOOTH = 1479; BLOOD_SMEARED_GIGAS_HELM = 1480; GLITTERING_PIXIE_CHOKER = 1481; DENTED_GIGAS_SHIELD = 1482; WARPED_GIGAS_ARMBAND = 1483; SEVERED_GIGAS_COLLAR = 1484; PELLUCID_FLY_EYE = 1485; SHIMMERING_PIXIE_PINION = 1486; SMOLDERING_CRAB_SHELL = 1487; VENOMOUS_WAMOURA_FEELER = 1488; BULBOUS_CRAWLER_COCOON = 1489; DISTENDED_CHIGOE_ABDOMEN = 1490; MUCID_WORM_SEGMENT = 1491; SHRIVELED_HECTEYES_STALK = 1492; BLOTCHED_DOOMED_TONGUE = 1493; CRACKED_SKELETON_CLAVICLE = 1494; WRITHING_GHOST_FINGER = 1495; RUSTED_HOUND_COLLAR = 1496; HOLLOW_DRAGON_EYE = 1497; BLOODSTAINED_BUGARD_FANG = 1498; GNARLED_LIZARD_NAIL = 1499; MOLTED_PEISTE_SKIN = 1500; JAGGED_APKALLU_BEAK = 1501; CLIPPED_BIRD_WING = 1502; BLOODIED_BAT_FUR = 1503; GLISTENING_OROBON_LIVER = 1504; DOFFED_POROGGO_HAT = 1505; SCALDING_IRONCLAD_SPIKE = 1506; BLAZING_CLUSTER_SOUL = 1507; INGROWN_TAURUS_NAIL = 1508; OSSIFIED_GARGOUILLE_HAND = 1509; IMBRUED_VAMPYR_FANG = 1510; GLOSSY_SEA_MONK_SUCKER = 1511; SHIMMERING_PUGIL_SCALE = 1512; DECAYED_DVERGR_TOOTH = 1513; PULSATING_SOULFLAYER_BEARD = 1514; CHIPPED_IMPS_OLIFANT = 1515; WARPED_SMILODON_CHOKER = 1516; MALODOROUS_MARID_FUR = 1517; BROKEN_IRON_GIANT_SPIKE = 1518; RUSTED_CHARIOT_GEAR = 1519; STEAMING_CERBERUS_TONGUE = 1520; BLOODIED_DRAGON_EAR = 1521; RESPLENDENT_ROC_QUILL = 1522; WARPED_IRON_GIANT_NAIL = 1523; DENTED_CHARIOT_SHIELD = 1524; TORN_KHIMAIRA_WING = 1525; BEGRIMED_DRAGON_HIDE = 1526; DECAYING_DIREMITE_FANG = 1527; SHATTERED_IRON_GIANT_CHAIN = 1528; WARPED_CHARIOT_PLATE = 1529; VENOMOUS_HYDRA_FANG = 1530; VACANT_BUGARD_EYE = 1531; VARIEGATED_URAGNITE_SHELL = 1532; BATTLE_TROPHY_1ST_ECHELON = 1533; BATTLE_TROPHY_2ND_ECHELON = 1534; BATTLE_TROPHY_3RD_ECHELON = 1535; BATTLE_TROPHY_4TH_ECHELON = 1536; BATTLE_TROPHY_5TH_ECHELON = 1537; CRIMSON_TRAVERSER_STONE = 1538; VOIDSTONE1 = 1539; VOIDSTONE2 = 1540; VOIDSTONE3 = 1541; VOIDSTONE4 = 1542; VOIDSTONE5 = 1543; VOIDSTONE6 = 1544; CRIMSON_GRANULES_OF_TIME = 1545; AZURE_GRANULES_OF_TIME = 1546; AMBER_GRANULES_OF_TIME = 1547; ALABASTER_GRANULES_OF_TIME = 1548; OBSIDIAN_GRANULES_OF_TIME = 1549; PRISMATIC_HOURGLASS = 1550; MOG_KUPON_W_R90 = 1551; MOG_KUPON_W_M90 = 1552; MOG_KUPON_W_E90 = 1553; MOG_KUPON_A_E2 = 1554; MOG_KUPON_I_SEAL = 1555; BEGUILING_PETRIFACT = 1556; SEDUCTIVE_PETRIFACT = 1557; MADDENING_PETRIFACT = 1558; VAT_OF_MARTELLO_FUEL = 1559; FUEL_RESERVOIR = 1560; EMPTY_FUEL_VAT = 1561; CRACKED_FUEL_RESERVOIR = 1562; VIAL_OF_LAMBENT_POTION = 1563; CLEAR_DEMILUNE_ABYSSITE = 1564; COLORFUL_DEMILUNE_ABYSSITE = 1565; SCARLET_DEMILUNE_ABYSSITE = 1566; AZURE_DEMILUNE_ABYSSITE = 1567; VIRIDIAN_DEMILUNE_ABYSSITE = 1568; ANTI_ABYSSEAN_GRENADE_01 = 1569; ANTI_ABYSSEAN_GRENADE_02 = 1570; ANTI_ABYSSEAN_GRENADE_03 = 1571; RAINBOW_PEARL = 1572; CHIPPED_WIND_CLUSTER = 1573; PIECE_OF_DRIED_EBONY_LUMBER = 1574; CAPTAIN_RASHIDS_LINKPEARL = 1575; CAPTAIN_ARGUSS_LINKPEARL = 1576; CAPTAIN_HELGAS_LINKPEARL = 1577; SEAL_OF_THE_RESISTANCE = 1578; SUNBEAM_FRAGMENT = 1579; LUGARHOOS_EYEBALL = 1580; VIAL_OF_PURIFICATION_AGENT_BLK = 1581; VIAL_OF_PURIFICATION_AGENT_BRZ = 1582; VIAL_OF_PURIFICATION_AGENT_SLV = 1583; VIAL_OF_PURIFICATION_AGENT_GLD = 1584; BLACK_LABELED_VIAL = 1585; BRONZE_LABELED_VIAL = 1586; SILVER_LABELED_VIAL = 1587; GOLD_LABELED_VIAL = 1588; RAINBOW_COLORED_LINKPEARL = 1589; GREY_ABYSSITE = 1590; RIPE_STARFRUIT_ABYSSEA = 1591; VIAL_OF_FLOWER_WOWER_FERTILIZER = 1592; TAHRONGI_TREE_NUT = 1593; BUCKET_OF_COMPOUND_COMPOST = 1594; CUP_OF_TAHRONGI_CACTUS_WATER = 1595; HASTILY_SCRAWLED_POSTER = 1596; BLOODIED_ARROW = 1597; CRIMSON_BLOODSTONE = 1598; KUPOFRIEDS_MEDALLION = 1599; PINCH_OF_MOIST_DANGRUF_SULFUR = 1600; NAJIS_GAUGER_PLATE = 1601; NAJIS_LINKPEARL = 1602; POT_OF_MARTIAL_RELISH = 1603; THIERRIDES_BEAN_CREATION = 1604; TINY_MEMORY_FRAGMENT1 = 1605; LARGE_MEMORY_FRAGMENT1 = 1606; FEY_STONE = 1607; LARGE_MEMORY_FRAGMENT2 = 1608; TORN_RECIPE_PAGE = 1609; MINERAL_GAUGE_FOR_DUMMIES = 1610; TUBE_OF_ALCHEMICAL_FERTILIZER = 1611; LARGE_MEMORY_FRAGMENT3 = 1612; LARGE_MEMORY_FRAGMENT4 = 1613; PULSE_MARTELLO_REPAIR_PACK = 1614; CLONE_WARD_REINFORCEMENT_PACK = 1615; PACK_OF_OUTPOST_REPAIR_TOOLS = 1616; PARRADAMO_SUPPLY_PACK1 = 1617; PARRADAMO_SUPPLY_PACK2 = 1618; PARRADAMO_SUPPLY_PACK3 = 1619; PARRADAMO_SUPPLY_PACK4 = 1620; PARRADAMO_SUPPLY_PACK5 = 1621; GASPONIA_STAMEN = 1622; ROCKHOPPER = 1623; PHIAL_OF_COUNTERAGENT = 1624; DAMAGED_STEWPOT = 1625; NARURUS_STEWPOT = 1626; MAGICKED_HEMPEN_SACK = 1627; MAGICKED_FLAXEN_SACK = 1628; PARALYSIS_TRAP_FLUID = 1629; PARALYSIS_TRAP_FLUID_BOTTLE = 1630; WEAKENING_TRAP_FLUID = 1631; WEAKENING_TRAP_FLUID_BOTTLE = 1632; IRON_EATERS_PEARLSACK = 1633; MEDICAL_SUPPLY_CHEST = 1635; WOODWORKERS_BELT = 1636; ESPIONAGE_PEARLSACK = 1637; CHIPPED_LINKSHELL = 1638; GRIMY_LINKSHELL = 1639; CRACKED_LINKSHELL = 1640; POCKET_SUPPLY_PACK = 1641; STANDARD_SUPPLY_PACK = 1642; HEFTY_SUPPLY_PACK = 1643; PACK_OF_MOLTEN_SLAG = 1644; LETTER_OF_RECEIPT = 1645; SMUDGED_LETTER = 1646; YELLOW_LINKPEARL = 1647; JESTERS_HAT = 1648; JADE_DEMILUNE_ABYSSITE = 1649; SAPPHIRE_DEMILUNE_ABYSSITE = 1650; CRIMSON_DEMILUNE_ABYSSITE = 1651; EMERALD_DEMILUNE_ABYSSITE = 1652; VERMILLION_DEMILUNE_ABYSSITE = 1653; INDIGO_DEMILUNE_ABYSSITE = 1654; ATMA_OF_THE_HEIR = 1655; ATMA_OF_THE_HERO = 1656; ATMA_OF_THE_FULL_MOON = 1657; ATMA_OF_ILLUSIONS = 1658; ATMA_OF_THE_BANISHER = 1659; ATMA_OF_THE_SELLSWORD = 1660; ATMA_OF_A_FUTURE_FABULOUS = 1661; ATMA_OF_CAMARADERIE = 1662; ATMA_OF_THE_TRUTHSEEKER = 1663; ATMA_OF_THE_AZURE_SKY = 1664; ATMA_OF_ECHOES = 1665; ATMA_OF_DREAD = 1666; ATMA_OF_AMBITION = 1667; ATMA_OF_THE_BEAST_KING = 1668; ATMA_OF_THE_KIRIN = 1669; ATMA_OF_HELLS_GUARDIAN = 1670; ATMA_OF_LUMINOUS_WINGS = 1671; ATMA_OF_THE_DRAGON_RIDER = 1672; ATMA_OF_THE_IMPENETRABLE = 1673; ATMA_OF_ALPHA_AND_OMEGA = 1674; ATMA_OF_THE_ULTIMATE = 1675; ATMA_OF_THE_HYBRID_BEAST = 1676; ATMA_OF_THE_DARK_DEPTHS = 1677; ATMA_OF_THE_ZENITH = 1678; ATMA_OF_PERFECT_ATTENDANCE = 1679; ATMA_OF_THE_RESCUER = 1680; ATMA_OF_NIGHTMARES = 1681; ATMA_OF_THE_EINHERJAR = 1682; ATMA_OF_THE_ILLUMINATOR = 1683; ATMA_OF_THE_BUSHIN = 1684; ATMA_OF_THE_ACE_ANGLER = 1685; ATMA_OF_THE_MASTER_CRAFTER = 1686; ATMA_OF_INGENUITY = 1687; ATMA_OF_THE_GRIFFONS_CLAW = 1688; ATMA_OF_THE_FETCHING_FOOTPAD = 1689; ATMA_OF_UNDYING_LOYALTY = 1690; ATMA_OF_THE_ROYAL_LINEAGE = 1691; ATMA_OF_THE_SHATTERING_STAR = 1692; ATMA_OF_THE_COBRA_COMMANDER = 1693; ATMA_OF_ROARING_LAUGHTER = 1694; ATMA_OF_THE_DARK_BLADE = 1695; ATMA_OF_THE_DUCAL_GUARD = 1696; ATMA_OF_HARMONY = 1697; ATMA_OF_REVELATIONS = 1698; ATMA_OF_THE_SAVIOR = 1699; TINY_MEMORY_FRAGMENT2 = 1700; TINY_MEMORY_FRAGMENT3 = 1701; EX_01_MARTELLO_CORE = 1702; EX_02_MARTELLO_CORE = 1703; EX_03_MARTELLO_CORE = 1704; EX_04_MARTELLO_CORE = 1705; EX_05_MARTELLO_CORE = 1706; EX_06_MARTELLO_CORE = 1707; EX_07_MARTELLO_CORE = 1708; MOG_KUPON_W_E85 = 1709; MOG_KUPON_A_RJOB = 1710; SILVER_POCKET_WATCH = 1711; ELEGANT_GEMSTONE = 1712; WIVRE_EGG1 = 1713; WIVRE_EGG2 = 1714; WIVRE_EGG3 = 1715; TORCH_COAL = 1716; SUBNIVEAL_MINES = 1717; PIECE_OF_SODDEN_OAK_LUMBER = 1718; SODDEN_LINEN_CLOTH = 1719; DHORME_KHIMAIRAS_MANE = 1720; IMPERIAL_PEARL = 1721; RONFAURE_DAWNDROP = 1722; LA_VAULE_DAWNDROP = 1723; JUGNER_DAWNDROP = 1724; BEAUCEDINE_DAWNDROP = 1725; XARCABARD_DAWNDROP = 1726; THRONE_ROOM_DAWNDROP = 1727; WALK_OF_ECHOES_DAWNDROP = 1728; SANDORIA_DAWNDROP = 1729; BOTTLED_PUNCH_BUG = 1730; PRIMAL_GLOW = 1731; MOONSHADE_EARRING = 1732; PINCH_OF_PIXIE_DUST = 1733; WEDDING_INVITATION = 1734; SNOLL_REFLECTOR = 1735; FROSTED_SNOLL_REFLECTOR = 1736; EXPERIMENT_CHEAT_SHEET = 1737; JOB_GESTURE_WARRIOR = 1738; JOB_GESTURE_MONK = 1739; JOB_GESTURE_WHITE_MAGE = 1740; JOB_GESTURE_BLACK_MAGE = 1741; JOB_GESTURE_RED_MAGE = 1742; JOB_GESTURE_THIEF = 1743; JOB_GESTURE_PALADIN = 1744; JOB_GESTURE_DARK_KNIGHT = 1745; JOB_GESTURE_BEASTMASTER = 1746; JOB_GESTURE_BARD = 1747; JOB_GESTURE_RANGER = 1748; JOB_GESTURE_SAMURAI = 1749; JOB_GESTURE_NINJA = 1750; JOB_GESTURE_DRAGOON = 1751; JOB_GESTURE_SUMMONER = 1752; JOB_GESTURE_BLUE_MAGE = 1753; JOB_GESTURE_CORSAIR = 1754; JOB_GESTURE_PUPPETMASTER = 1755; JOB_GESTURE_DANCER = 1756; JOB_GESTURE_SCHOLAR = 1757; FROSTBLOOM1 = 1758; FROSTBLOOM2 = 1759; FROSTBLOOM3 = 1760; MOON_PENDANT = 1761; WYVERN_EGG = 1762; WYVERN_EGG_SHELL = 1763; WAUGYLS_CLAW = 1764; BOTTLE_OF_MILITARY_INK = 1765; MILITARY_INK_PACKAGE = 1766; MAGIAN_LEARNERS_LOG = 1767; MAGIAN_MOOGLEHOOD_MISSIVE1 = 1768; MAGIAN_MOOGLEHOOD_MISSIVE2 = 1769; MAGIAN_MOOGLEHOOD_MISSIVE3 = 1770; MAGIAN_MOOGLEHOOD_MISSIVE4 = 1771; MAGIAN_MOOGLEHOOD_MISSIVE5 = 1772; MAGIAN_MOOGLEHOOD_MISSIVE6 = 1773; PERIAPT_OF_EMERGENCE1 = 1774; PERIAPT_OF_EMERGENCE2 = 1775; PERIAPT_OF_EMERGENCE3 = 1776; PERIAPT_OF_GUIDANCE = 1777; PERIAPT_OF_PERCIPIENCE = 1778; VIVID_PERIAPT_OF_CONCORD = 1779; DUSKY_PERIAPT_OF_CONCORD = 1780; VIVID_PERIAPT_OF_CATALYSIS = 1781; DUSKY_PERIAPT_OF_CATALYSIS = 1782; VIVID_PERIAPT_OF_EXPLORATION = 1783; DUSKY_PERIAPT_OF_EXPLORATION = 1784; VIVID_PERIAPT_OF_FRONTIERS = 1785; DUSKY_PERIAPT_OF_FRONTIERS = 1786; NEUTRAL_PERIAPT_OF_FRONTIERS = 1787; VIVID_PERIAPT_OF_CONCENTRATION = 1788; DUSKY_PERIAPT_OF_CONCENTRATION = 1789; VIVID_PERIAPT_OF_GLORY = 1790; DUSKY_PERIAPT_OF_GLORY = 1791; VIVID_PERIAPT_OF_FOCUS = 1792; DUSKY_PERIAPT_OF_FOCUS = 1793; VIVID_PERIAPT_OF_INTENSITY = 1794; DUSKY_PERIAPT_OF_INTENSITY = 1795; VIVID_PERIAPT_OF_READINESS = 1796; DUSKY_PERIAPT_OF_READINESS = 1797; VIVID_PERIAPT_OF_ADAPTABILITY = 1798; DUSKY_PERIAPT_OF_ADAPTABILITY = 1799; VIVID_PERIAPT_OF_VIGILANCE = 1800; DUSKY_PERIAPT_OF_VIGILANCE = 1801; VIVID_PERIAPT_OF_PRUDENCE = 1802; DUSKY_PERIAPT_OF_PRUDENCE = 1803; PERIAPT_OF_RECOMPENSE = 1804; VOID_CLUSTER = 1805; ATMACITE_OF_DEVOTION = 1806; ATMACITE_OF_PERSISTENCE = 1807; ATMACITE_OF_EMINENCE = 1808; ATMACITE_OF_ONSLAUGHT = 1809; ATMACITE_OF_INCURSION = 1810; ATMACITE_OF_ENTICEMENT = 1811; ATMACITE_OF_DESTRUCTION = 1812; ATMACITE_OF_TEMPERANCE = 1813; ATMACITE_OF_DISCIPLINE = 1814; ATMACITE_OF_COERCION = 1815; ATMACITE_OF_FINESSE = 1816; ATMACITE_OF_LATITUDE = 1817; ATMACITE_OF_MYSTICISM = 1818; ATMACITE_OF_RAPIDITY = 1819; ATMACITE_OF_PREPAREDNESS = 1820; ATMACITE_OF_DELUGES = 1821; ATMACITE_OF_UNITY = 1822; ATMACITE_OF_EXHORTATION = 1823; ATMACITE_OF_SKYBLAZE = 1824; ATMACITE_OF_THE_SLAYER = 1825; ATMACITE_OF_THE_ADAMANT = 1826; ATMACITE_OF_THE_VALIANT = 1827; ATMACITE_OF_THE_SHREWD = 1828; ATMACITE_OF_THE_VANGUARD = 1829; ATMACITE_OF_ASSAILMENT = 1830; ATMACITE_OF_CATAPHRACT = 1831; ATMACITE_OF_THE_PARAPET = 1832; ATMACITE_OF_IMPERIUM = 1833; ATMACITE_OF_THE_SOLIPSIST = 1834; ATMACITE_OF_PROVENANCE = 1835; ATMACITE_OF_DARK_DESIGNS = 1836; ATMACITE_OF_THE_FORAGER = 1837; ATMACITE_OF_GLACIERS = 1838; ATMACITE_OF_AFFINITY = 1839; ATMACITE_OF_THE_DEPTHS = 1840; ATMACITE_OF_THE_ASSASSIN = 1841; ATMACITE_OF_APLOMB = 1842; ATMACITE_OF_THE_TROPICS = 1843; ATMACITE_OF_CURSES = 1844; ATMACITE_OF_PRESERVATION = 1845; POUCH_OF_WEIGHTED_STONES = 1846; GOSSAMER_BALLISTA_CHEVRON = 1847; STEEL_BALLISTA_CHEVRON = 1848; MOG_KUPON_AWVGR = 1849; MOG_KUPON_AWVGRII = 1850; MOG_KUPON_WPULSE = 1851; MOG_KUPON_ISTONE = 1852; MOG_KUPON_AWGFIII = 1853; PERIAPT_OF_SAPIENCE = 1854; PERIAPT_OF_CLARITY = 1855; MAP_OF_AL_ZAHBI = 1856; MAP_OF_NASHMAU = 1857; MAP_OF_WAJAOM_WOODLANDS = 1858; MAP_OF_CAEDARVA_MIRE = 1859; MAP_OF_MOUNT_ZHAYOLM = 1860; MAP_OF_AYDEEWA_SUBTERRANE = 1861; MAP_OF_MAMOOK = 1862; MAP_OF_HALVUNG = 1863; MAP_OF_ARRAPAGO_REEF = 1864; MAP_OF_ALZADAAL_RUINS = 1865; MAP_OF_LEUJAOAM_SANCTUM = 1866; MAP_OF_THE_TRAINING_GROUNDS = 1867; MAP_OF_LEBROS_CAVERN = 1868; MAP_OF_ILRUSI_ATOLL = 1869; MAP_OF_PERIQIA = 1870; MAP_OF_NYZUL_ISLE = 1871; MAP_OF_THE_CHOCOBO_CIRCUIT = 1872; MAP_OF_THE_COLOSSEUM = 1873; MAP_OF_BHAFLAU_THICKETS = 1874; MAP_OF_ZHAYOLM_REMNANTS = 1875; MAP_OF_ARRAPAGO_REMNANTS = 1876; MAP_OF_BHAFLAU_REMNANTS = 1877; MAP_OF_SILVER_SEA_REMNANTS = 1878; MAP_OF_VUNKERL_INLET = 1879; MAP_OF_EVERBLOOM_HOLLOW = 1880; MAP_OF_GRAUBERG = 1881; MAP_OF_RUHOTZ_SILVERMINES = 1882; MAP_OF_FORT_KARUGONARUGO = 1883; MAP_OF_GHOYUS_REVERIE = 1884; MAP_OF_ABYSSEA_LA_THEINE = 1885; MAP_OF_ABYSSEA_KONSCHTAT = 1886; MAP_OF_ABYSSEA_TAHRONGI = 1887; MAP_OF_ABYSSEA_ATTOHWA = 1888; MAP_OF_ABYSSEA_MISAREAUX = 1889; MAP_OF_ABYSSEA_VUNKERL = 1890; MAP_OF_ABYSSEA_ALTEPA = 1891; MAP_OF_ABYSSEA_ULEGUERAND = 1892; MAP_OF_ABYSSEA_GRAUBERG = 1893; MAP_OF_DYNAMIS_SANDORIA = 1894; MAP_OF_DYNAMIS_BASTOK = 1895; MAP_OF_DYNAMIS_WINDURST = 1896; MAP_OF_DYNAMIS_JEUNO = 1897; MAP_OF_DYNAMIS_BEAUCEDINE = 1898; MAP_OF_DYNAMIS_XARCABARD = 1899; MAP_OF_DYNAMIS_VALKURM = 1900; MAP_OF_DYNAMIS_BUBURIMU = 1901; MAP_OF_DYNAMIS_QUFIM = 1902; MAP_OF_DYNAMIS_TAVNAZIA = 1903; MAP_OF_ADOULIN = 1904; MAP_OF_RALA_WATERWAYS = 1905; MAP_OF_YAHSE_HUNTING_GROUNDS = 1906; MAP_OF_CEIZAK_BATTLEGROUNDS = 1907; MAP_OF_FORET_DE_HENNETIEL = 1908; MAP_OF_YORCIA_WEALD = 1909; MAP_OF_MORIMAR_BASALT_FIELDS = 1910; MAP_OF_MARJAMI_RAVINE = 1911; MAP_OF_KAMIHR_DRIFTS = 1912; MAP_OF_SIH_GATES = 1913; MAP_OF_MOH_GATES = 1914; MAP_OF_CIRDAS_CAVERNS = 1915; MAP_OF_DHO_GATES = 1916; MAP_OF_WOH_GATES = 1917; MAP_OF_OUTER_RAKAZNAR = 1918; IRON_CHAINMAIL_CLAIM_SLIP = 1920; SHADE_HARNESS_CLAIM_SLIP = 1921; BRASS_SCALE_MAIL_CLAIM_SLIP = 1922; WOOL_ROBE_CLAIM_SLIP = 1923; EISENPLATTE_ARMOR_CLAIM_SLIP = 1924; SOIL_GI_CLAIM_SLIP = 1925; SEERS_TUNIC_CLAIM_SLIP = 1926; STUDDED_ARMOR_CLAIM_SLIP = 1927; CENTURION_SCALE_MAIL_CLAIM_SLIP = 1928; MRCCPT_DOUBLET_CLAIM_SLIP = 1929; GARISH_TUNIC_CLAIM_SLIP = 1930; NOCT_DOUBLET_CLAIM_SLIP = 1931; CUSTOM_ARMOR_MALE_CLAIM_SLIP = 1932; CUSTOM_ARMOR_FEMALE_CLAIM_SLIP = 1933; MAGNA_ARMOR_MALE_CLAIM_SLIP = 1934; MAGNA_ARMOR_FEMALE_CLAIM_SLIP = 1935; WONDER_ARMOR_CLAIM_SLIP = 1936; SAVAGE_ARMOR_CLAIM_SLIP = 1937; ELDER_ARMOR_CLAIM_SLIP = 1938; LINEN_CLOAK_CLAIM_SLIP = 1939; PADDED_ARMOR_CLAIM_SLIP = 1940; SILVER_CHAINMAIL_CLAIM_SLIP = 1941; GAMBISON_CLAIM_SLIP = 1942; IRON_SCALE_ARMOR_CLAIM_SLIP = 1943; CUIR_ARMOR_CLAIM_SLIP = 1944; VELVET_ROBE_CLAIM_SLIP = 1945; OPALINE_DRESS_CLAIM_SLIP = 1946; RYLSQR_CHAINMAIL_CLAIM_SLIP = 1947; PLATE_ARMOR_CLAIM_SLIP = 1948; COMBAT_CASTERS_CLOAK_CLAIM_SLIP = 1949; ALUMINE_HAUBERT_CLAIM_SLIP = 1950; CARAPACE_HARNESS_CLAIM_SLIP = 1951; BANDED_MAIL_CLAIM_SLIP = 1952; HARA_ATE_CLAIM_SLIP = 1953; RAPTOR_ARMOR_CLAIM_SLIP = 1954; STEEL_SCALE_CLAIM_SLIP = 1955; WOOL_GAMBISON_CLAIM_SLIP = 1956; SHINOBI_GI_CLAIM_SLIP = 1957; IRNMSK_CUIRASS_CLAIM_SLIP = 1958; TCTMGC_CLOAK_CLAIM_SLIP = 1959; WHITE_CLOAK_CLAIM_SLIP = 1960; AUSTERE_ROBE_CLAIM_SLIP = 1961; MYTHRIL_PLATE_ARMOR_CLAIM_SLIP = 1962; CROW_JUPON_CLAIM_SLIP = 1963; MAGUS_ATTIRE_CLAIM_SLIP = 1964; CORSAIRS_ATTIRE_CLAIM_SLIP = 1965; PUPPETRY_ATTIRE_CLAIM_SLIP = 1966; DANCERS_ATTIRE_CLAIM_SLIP = 1967; DANCERS_ATTIRE_CLAIM_SLIP = 1968; SCHOLARS_ATTIRE_CLAIM_SLIP = 1969; AMIR_ARMOR_CLAIM_SLIP = 1970; PAHLUWAN_ARMOR_CLAIM_SLIP = 1971; YIGIT_ARMOR_CLAIM_SLIP = 1972; FROG_FISHING = 1976; SERPENT_RUMORS = 1977; MOOCHING = 1978; ANGLERS_ALMANAC = 1979; SPIFFY_SYNTH1 = 1980; SPIFFY_SYNTH2 = 1981; ALCHEMISTS_ARGENTUM_TOME = 1982; ALCHEMISTS_AURUM_TOME = 1983; WOOD_PURIFICATION = 1984; WOOD_ENSORCELLMENT = 1985; LUMBERJACK = 1986; BOLTMAKER = 1987; WAY_OF_THE_CARPENTER = 1988; CARPENTERS_ARGENTUM_TOME = 1989; CARPENTERS_AURUM_TOME = 1990; SPIFFY_SYNTH7 = 1991; METAL_PURIFICATION = 1992; METAL_ENSORCELLMENT = 1993; CHAINWORK = 1994; SHEETING = 1995; WAY_OF_THE_BLACKSMITH = 1996; BLACKSMITHS_ARGENTUM_TOME = 1997; BLACKSMITHS_AURUM_TOME = 1998; SPIFFY_SYNTH10 = 1999; GOLD_PURIFICATION = 2000; GOLD_ENSORCELLMENT = 2001; CLOCKMAKING = 2002; WAY_OF_THE_GOLDSMITH = 2003; GOLDSMITHS_ARGENTUM_TOME = 2004; GOLDSMITHS_AURUM_TOME = 2005; SPIFFY_SYNTH13 = 2006; SPIFFY_SYNTH14 = 2007; CLOTH_PURIFICATION = 2008; CLOTH_ENSORCELLMENT = 2009; SPINNING = 2010; FLETCHING = 2011; WAY_OF_THE_WEAVER = 2012; WEAVERS_ARGENTUM_TOME = 2013; WEAVERS_AURUM_TOME = 2014; SPIFFY_SYNTH17 = 2015; LEATHER_PURIFICATION = 2016; LEATHER_ENSORCELLMENT = 2017; TANNING = 2018; WAY_OF_THE_TANNER = 2019; TANNERS_ARGENTUM_TOME = 2020; TANNERS_AURUM_TOME = 2021; SPIFFY_SYNTH20 = 2022; SPIFFY_SYNTH21 = 2023; BONE_PURIFICATION = 2024; BONE_ENSORCELLMENT = 2025; FILING = 2026; WAY_OF_THE_BONEWORKER = 2027; BONEWORKERS_ARGENTUM_TOME = 2028; BONEWORKERS_AURUM_TOME = 2029; SPIFFY_SYNTH24 = 2030; SPIFFY_SYNTH25 = 2031; ANIMA_SYNTHESIS = 2032; ALCHEMIC_PURIFICATION = 2033; ALCHEMIC_ENSORCELLMENT = 2034; TRITURATION = 2035; CONCOCTION = 2036; IATROCHEMISTRY = 2037; MIASMAL_COUNTERAGENT_RECIPE = 2038; WAY_OF_THE_ALCHEMIST = 2039; RAW_FISH_HANDLING = 2040; NOODLE_KNEADING = 2041; PATISSIER = 2042; STEWPOT_MASTERY = 2043; WAY_OF_THE_CULINARIAN = 2044; CULINARIANS_ARGENTUM_TOME = 2045; CULINARIANS_AURUM_TOME = 2046; SPIFFY_SYNTH28 = 2047; VOIDWATCH_ALARUM = 2048; VOIDWATCHERS_EMBLEM_JEUNO = 2049; VOIDWATCHERS_EMBLEM_QUFIM = 2050; LOADSTONE = 2051; SOUL_GEM = 2052; SOUL_GEM_CLASP = 2053; TRICOLOR_VOIDWATCHERS_EMBLEM = 2054; STARLIGHT_VOIDWATCHERS_EMBLEM = 2055; RED_PRESENT = 2056; BLUE_PRESENT = 2057; GREEN_PRESENT = 2058; HEART_OF_THE_BUSHIN = 2059; HYACINTH_STRATUM_ABYSSITE = 2060; HYACINTH_STRATUM_ABYSSITE_II = 2061; AMBER_STRATUM_ABYSSITE = 2062; AMBER_STRATUM_ABYSSITE_II = 2063; CLAIRVOY_ANT = 2064; KUPOFRIEDS_CORUNDUM = 2065; KUPOFRIEDS_CORUNDUM = 2066; KUPOFRIEDS_CORUNDUM = 2067; BRONZE_ASTRARIUM = 2068; SILVER_ASTRARIUM = 2069; MYTHRIL_ASTRARIUM = 2070; GOLD_ASTRARIUM = 2071; PLATINUM_ASTRARIUM = 2072; DEMONS_IN_THE_RYE_CHRONICLE = 2073; MONSTROUS_MAYHEM_REPORT = 2074; CULLING_IS_CARING_POSTER = 2075; MERRY_MOOGLE_MEMORIAL_GUIDE = 2076; CONNORS_COMMUNIQUE = 2077; PERNICIOUS_PRESENTS_BRIEF = 2078; LITTLE_GOBLINS_ADVENTURE_VOL1 = 2079; LITTLE_GOBLINS_ADVENTURE_VOL2 = 2080; LITTLE_GOBLINS_ADVENTURE_VOL3 = 2081; LITTLE_GOBLINS_ADVENTURE_VOL4 = 2082; LITTLE_GOBLINS_ADVENTURE_VOL5 = 2083; LITTLE_GOBLINS_ADVENTURE_VOL6 = 2084; LITTLE_GOBLINS_ADVENTURE_VOL7 = 2085; LITTLE_GOBLINS_ADVENTURE_VOL8 = 2086; VANADIEL_TRIBUNE_VOL00 = 2087; VANADIEL_TRIBUNE_VOL01 = 2088; VANADIEL_TRIBUNE_VOL02 = 2089; VANADIEL_TRIBUNE_VOL03 = 2090; VANADIEL_TRIBUNE_VOL04 = 2091; VANADIEL_TRIBUNE_VOL05 = 2092; VANADIEL_TRIBUNE_VOL06 = 2093; VANADIEL_TRIBUNE_VOL07 = 2094; VANADIEL_TRIBUNE_VOL08 = 2095; VANADIEL_TRIBUNE_VOL09 = 2096; VANADIEL_TRIBUNE_VOL10 = 2097; VANADIEL_TRIBUNE_VOL11 = 2098; VANADIEL_TRIBUNE_VOL12 = 2099; VANADIEL_TRIBUNE_VOL13 = 2100; VANADIEL_TRIBUNE_VOL15 = 2102; VANADIEL_TRIBUNE_VOL16 = 2103; VANADIEL_TRIBUNE_VOL17 = 2104; VANADIEL_TRIBUNE_VOL18 = 2105; VANADIEL_TRIBUNE_VOL19 = 2106; VANADIEL_TRIBUNE_VOL20 = 2107; VANADIEL_TRIBUNE_VOL21 = 2108; VANADIEL_TRIBUNE_VOL22 = 2109; VANADIEL_TRIBUNE_VOL23 = 2110; VANADIEL_TRIBUNE_VOL24 = 2111; VANADIEL_TRIBUNE_VOL25 = 2112; VANADIEL_TRIBUNE_VOL26 = 2113; VANADIEL_TRIBUNE_VOL27 = 2114; VANADIEL_TRIBUNE_II_NO01 = 2115; VANADIEL_TRIBUNE_II_NO02 = 2116; VANADIEL_TRIBUNE_II_NO03 = 2117; VANADIEL_TRIBUNE_II_NO04 = 2118; VANADIEL_TRIBUNE_II_NO05 = 2119; VANADIEL_TRIBUNE_II_NO06 = 2120; VANADIEL_TRIBUNE_II_NO07 = 2121; VANADIEL_TRIBUNE_II_NO08 = 2122; VANADIEL_TRIBUNE_II_NO09 = 2123; VANADIEL_TRIBUNE_II_NO10 = 2124; VANADIEL_TRIBUNE_II_NO11 = 2125; VANADIEL_TRIBUNE_II_NO12 = 2126; VANADIEL_TRIBUNE_II_NO13 = 2127; VANADIEL_TRIBUNE_II_NO14 = 2128; VANADIEL_TRIBUNE_II_NO15 = 2129; VANADIEL_TRIBUNE_II_NO16 = 2130; HANDCRAFTED_SPATULA = 2131; TRANSMUTED_CANDLE = 2132; GOURMET_WHIPPED_CREAM = 2133; ANCIENT_PAPYRUS_SHRED1 = 2134; ANCIENT_PAPYRUS_SHRED2 = 2135; ANCIENT_PAPYRUS_SHRED3 = 2136; EXORAY_MOLD_CRUMB1 = 2137; EXORAY_MOLD_CRUMB2 = 2138; EXORAY_MOLD_CRUMB3 = 2139; BOMB_COAL_FRAGMENT1 = 2140; BOMB_COAL_FRAGMENT2 = 2141; BOMB_COAL_FRAGMENT3 = 2142; SHINING_FRAGMENT = 2143; GLOSSY_FRAGMENT = 2144; GRIMOIRE_PAGE = 2145; MOBLIN_PHEROMONE_SACK = 2146; GOLDEN_WING = 2147; MOSS_COVERED_SHARD = 2148; ESSENCE_OF_PERFERVIDITY = 2149; BRANDED_WING = 2150; MALICIOUS_HORN = 2151; SHEET_OF_SAN_DORIAN_TUNES = 2152; SHEET_OF_BASTOKAN_TUNES = 2153; SHEET_OF_WINDURSTIAN_TUNES = 2154; GEOMAGNETRON = 2155; ADOULINIAN_CHARTER_PERMIT = 2156; PIONEERS_BADGE = 2157; TEMPORARY_GEOMAGNETRON = 2158; AGED_MATRIARCH_NAAKUAL_CREST = 2159; AGED_RIPTIDE_NAAKUAL_CREST = 2160; AGED_FIREBRAND_NAAKUAL_CREST = 2161; AGED_LIGNEOUS_NAAKUAL_CREST = 2162; AGED_BOOMING_NAAKUAL_CREST = 2163; AGED_FLASHFROST_NAAKUAL_CREST = 2164; PROTOTYPE_ATTUNER = 2166; WATERCRAFT = 2167; RESTRAINMENT_RESILIENCE = 2171; CUPFUL_OF_DUST_LADEN_SAP = 2179; MANTID_BAIT = 2180; VIAL_OF_TOXIC_ZOLDEFF_WATER = 2185; FISTFUL_OF_PRISTINE_SAND = 2186; RIME_ICE_FRAGMENT = 2190; BROKEN_HARPOON = 2192; EXTRAVAGANT_HARPOON = 2193; GEOMAGNETIC_COMPASS = 2196; OCULAR_ORB = 2197; PILE_OF_NOXIOUS_GRIME = 2198; PULSATING_SHARD = 2199; DINNER_INVITATION = 2200; ROCKBERRY1 = 2201; ROCKBERRY2 = 2202; ROCKBERRY3 = 2203; LOGGING = 2204; WATERCRAFTING = 2205; DEMOLISHING = 2206; TOXIN_RESILIENCE = 2207; PARESIS_RESILIENCE = 2208; CALOR_RESILIENCE = 2209; HEN_FS_BUILDING_MAT_CONTAINER = 2210; MOR_FS_BUILDING_MAT_CONTAINER = 2211; HEN_FS_RESOURCE_CONTAINER = 2212; MOR_FS_RESOURCE_CONTAINER = 2213; CEI_FB_OP_MATERIALS_CONTAINER = 2214; HEN_FB_OP_MATERIALS_CONTAINER = 2215; MOR_FB_OP_MATERIALS_CONTAINER = 2216; LOST_ARTICLE1 = 2217; LOST_ARTICLE2 = 2218; FLAYED_MANTID_CORPSE = 2220; CHAPULI_HORN = 2221; HOT_SPRING_REPORT_1 = 2225; HOT_SPRING_REPORT_2 = 2226; HOT_SPRING_REPORT_3 = 2227; HOT_SPRING_REPORT_4 = 2228; HOT_SPRING_REPORT_5 = 2229; MAGMA_SURVEY_REPORT = 2232; REIVE_UNITY = 2234; CRITICAL_CHOP = 2236; CHERISHED_AXE = 2237; CRITICAL_SMASH = 2238; CHERISHED_PICK = 2239; CRITICAL_SLICE = 2240; CHERISHED_SICKLE = 2241; SAN_DORIA_WARP_RUNE = 2248; BASTOK_WARP_RUNE = 2249; WINDURST_WARP_RUNE = 2250; SELBINA_WARP_RUNE = 2251; MHAURA_WARP_RUNE = 2252; KAZHAM_WARP_RUNE = 2253; RABAO_WARP_RUNE = 2254; NORG_WARP_RUNE = 2255; TAVNAZIA_WARP_RUNE = 2256; WHITEGATE_WARP_RUNE = 2257; NASHMAU_WARP_RUNE = 2258; RUSTED_PICKAXE = 2261; TINY_SEED = 2262; BOTTLE_OF_FERTILIZER_X = 2263; WAYPOINT_SCANNER_KIT = 2264; ROYAL_FIAT_BANNING_COLONIZATION = 2265; RECORD_OF_THE_17TH_ASSEMBLY = 2266; COPY_OF_THE_ALLIANCE_AGREEMENT = 2267; ULBUKAN_NAVIGATION_CHART = 2268; COPY_OF_ADOULINS_PATRONESS = 2269; MEMO_FROM_MIDRAS = 2270; CIDS_CATALYST = 2271; CHUNK_OF_MILKY_WHITE_MINERALS = 2272; FAIL_BADGE = 2273; WESTERN_ADOULIN_PATROL_ROUTE = 2274; MISDELIVERED_PARCEL = 2275; EASTERN_ADOULIN_PATROL_ROUTE = 2276; HOT_SPRINGS_CARE_PACKAGE = 2277; FISTFUL_OF_HOMELAND_SOIL = 2278; YAHSE_WILDFLOWER_PETAL = 2279; HABITUAL_BEHAVIOR_BAROMETER = 2280; BRIER_PROOF_NET = 2281; COMPASS_OF_TRANSFERENCE = 2282; MAGMA_MITIGATION_SET = 2283; RESURRECTION_RETARDANT_AXE = 2284; INSULATOR_TABLET = 2285; ANTI_GLACIATION_GEAR = 2286; LAND_OF_MILK_AND_HONEY_HIVE = 2288; FULL_LAND_OF_MILK_AND_HONEY_HIVE = 2289; LUOPAN = 2290; RALA_SIMULACRUM = 2291; YORCIA_SIMULACRUM = 2292; CIRDAS_SIMULACRUM = 2293; RAKAZNAR_SIMULACRUM = 2294; CELADON_YANTRIC_PLANCHETTE = 2296; ZAFFRE_YANTRIC_PLANCHETTE = 2297; ALIZARIN_YANTRIC_PLANCHETTE = 2298; DETACHED_STINGER = 2299; CRAGGY_FIN = 2300; FLAME_SCARRED_SKULL = 2301; MAP_OF_RALA_WATERWAYS_U = 2302; MAP_OF_YORCIA_WEALD_U = 2303; MAP_OF_CIRDAS_CAVERNS_U = 2304; MAP_OF_OUTER_RAKAZNAR_U = 2305; MAP_OF_ESCHA_ZITAH = 2307 MAP_OF_ESCHA_RUAUN = 2308 MAP_OF_REISENJIMA = 2309 MOG_KUPON_A_DEII = 2334; MOG_KUPON_A_DE = 2335; MOG_KUPON_A_SAL = 2336; MOG_KUPON_A_NYZ = 2337; MOG_KUPON_I_S5 = 2338; MOG_KUPON_I_S2 = 2339; MOG_KUPON_I_ORCHE = 2340; SHEET_OF_E_ADOULINIAN_TUNES = 2341; SHEET_OF_W_ADOULINIAN_TUNES = 2342; HENNEBLOOM_LEAF = 2343; IMPURE_CELADON_YGGZI = 2344; SEMI_PURE_CELADON_YGGZI = 2345; IMPURE_ZAFFRE_YGGZI = 2346; SEMI_PURE_ZAFFRE_YGGZI = 2347; IMPURE_ALIZARIN_YGGZI = 2348; SEMI_PURE_ALIZARIN_YGGZI = 2349; RING_OF_SUPERNAL_DISJUNCTION = 2350; EPHEMERAL_ENDEAVOR = 2352; ENLIGHTENED_ENDEAVOR = 2353; RUNE_SABER = 2354; FLASK_OF_FRUISERUM = 2355; FROST_ENCRUSTED_FLAME_GEM = 2356; LETTER_FROM_OCTAVIEN = 2357; STONE_OF_IGNIS = 2358; STONE_OF_GELUS = 2359; STONE_OF_FLABRA = 2360; STONE_OF_TELLUS = 2361; STONE_OF_SULPOR = 2362; STONE_OF_UNDA = 2363; STONE_OF_LUX = 2364; STONE_OF_TENEBRAE = 2365; STONE_OF_UNKNOWN_RUNIC_ORIGINS1 = 2366; STONE_OF_UNKNOWN_RUNIC_ORIGINS2 = 2367; STONE_OF_UNKNOWN_RUNIC_ORIGINS3 = 2368; SECRETS_OF_RUNIC_ENHANCEMENT = 2369; RUNIC_KINEGRAVER = 2370; VIAL_OF_VIVID_RAINBOW_EXTRACT = 2371; INSIDIOS_EXTINGUISHED_LANTERN = 2372; VESSEL_OF_SUMMONING = 2373; SILVER_LUOPAN = 2374; LHAISO_NEFTEREHS_BELL = 2375; MIDRASS_EXPLOSIVE_SAMPLE = 2376; REPORT_ON_MIDRASS_EXPLOSIVE = 2377; TRAY_OF_ADOULINIAN_DELICACIES = 2378; SMALL_BAG_OF_ADOULINIAN_DELICACIES = 2379; WAYPOINT_RECALIBRATION_KIT = 2380; TWELVE_ORDERS_DOSSIER = 2381; RAVINE_WATER_TESTING_KIT = 2382; FISTFUL_OF_NUMBING_SOIL = 2383; HUNK_OF_BEDROCK = 2384; YORCIAS_TEAR = 2385; BLIGHTBERRY = 2386; LARGE_STRIP_OF_VELKK_HIDE = 2387; CLIMBING = 2388; BOX_OF_ADOULINIAN_TOMATOES = 2389; KALEIDOSCOPIC_CLAM = 2390; GLASS_PENDULUM = 2391; IVORY_WING_TALISMAN = 2393; BRONZE_MATTOCK_CORDON = 2394; BRONZE_SHOVEL_CORDON = 2395; TARUTARU_SAUCE_INVOICE = 2396; TARUTARU_SAUCE_RECEIPT = 2397; GPS_CRYSTAL = 2398; PAIR_OF_VELKK_GLOVES = 2399; LOST_ARTICLE1 = 2400; LOST_ARTICLE2 = 2401; GEOMANCER_CLAIM_TICKET = 2402; MAR_FB_OP_MATERIALS_CONTAINER = 2403; YOR_FB_OP_MATERIALS_CONTAINER = 2404; MAR_FS_BUILDING_MAT_CONTAINER = 2405; YOR_FS_BUILDING_MAT_CONTAINER = 2406; PROOF_OF_ORDER_RUNIC_HEADGEAR1 = 2407; PROOF_OF_ORDER_RUNIC_HANDGEAR2 = 2408; PROOF_OF_ORDER_RUNIC_FOOTGEAR4 = 2409; ROSULATIAS_POME = 2410; CELENNIA_MEMORIAL_LIBRARY_CARD = 2411; SOWYOURSEED = 2412; MY_FIRST_FURROW = 2413; FIELDS_AND_FERTILIZING = 2414; DESIGNER_FARMING = 2415; HOMESTEADERS_COMPENDIUM = 2416; MHMU_TREATISE_ON_AGRONOMY = 2417; GIVE_MY_REGARDS_TO_REODOAN = 2419; ADOULINS_TOPIARY_TREASURES = 2420; GRANDILOQUENT_GROVES = 2421; ARBOREAL_ABRACADABRA = 2422; VERDANT_AND_VERDONTS = 2423; MHMU_TREATISE_ON_FORESTRY = 2424; MYTHRIL_MARATHON_QUARTERLY = 2426; TAKE_A_LODE_OFF = 2427; VARICOSE_MINERAL_VEINS = 2428; TALES_FROM_THE_TUNNEL = 2429; THE_GUSGEN_MINES_TRAGEDY = 2430; MHMU_TREATISE_ON_MINERALOGY = 2431; A_FAREWELL_TO_FRESHWATER = 2433; WATER_WATER_EVERYWHERE = 2434; DREDGINGS_NO_DRUDGERY = 2435; ALL_THE_WAYS_TO_SKIN_A_CARP = 2436; ANATOMY_OF_AN_ANGLER = 2437; MHMU_TREATISE_ON_FISH_I = 2438; THE_OLD_MEN_OF_THE_SEA = 2440; BLACK_FISH_OF_THE_FAMILY = 2442; TWENTY_THOUSAND_YALMS_UNDER_THE_SEA = 2443; ENCYCLOPEDIA_ICTHYONNICA = 2444; MHMU_TREATISE_ON_FISH_II = 2445; MAR_FS_RESOURCE_CONTAINER = 2447; YOR_FS_RESOURCE_CONTAINER = 2448; NOTE_DETAILING_SEDITIOUS_PLANS = 2449; WATERWAY_FACILITY_CRANK = 2450; VIAL_OF_TRANSLURRY = 2451; GIL_REPOSITORY = 2452; CRAB_CALLER = 2453; PIECE_OF_A_STONE_WALL = 2454; VIAL_OF_UNTAINTED_HOLY_WATER = 2455; ETERNAL_FLAME = 2456; WEATHER_VANE_WINGS = 2457; AUREATE_BALL_OF_FUR = 2458; INVENTORS_COALITION_PICKAXE = 2459; TINTINNABULUM = 2460; FRAGMENTING = 2461; PAIR_OF_FUZZY_EARMUFFS = 2462; KAM_FB_OP_MATERIALS_CONTAINER = 2463; KAM_FS_BUILDING_MAT_CONTAINER = 2464; KAM_FS_RESOURCE_CONTAINER = 2465; MEMORANDOLL = 2466; SHADOW_LORD_PHANTOM_GEM = 2468; CELESTIAL_NEXUS_PHANTOM_GEM = 2469; STELLAR_FULCRUM_PHANTOM_GEM = 2470; PHANTOM_GEM_OF_APATHY = 2471; PHANTOM_GEM_OF_ARROGANCE = 2472; PHANTOM_GEM_OF_ENVY = 2473; PHANTOM_GEM_OF_COWARDICE = 2474; PHANTOM_GEM_OF_RAGE = 2475; P_PERPETRATOR_PHANTOM_GEM = 2476; COPPER_AMAN_VOUCHER = 2477; MATRIARCH_NAAKUAL_PARAGON = 2482; RIPTIDE_NAAKUAL_PARAGON = 2483; FIREBRAND_NAAKUAL_PARAGON = 2484; LIGNEOUS_NAAKUAL_PARAGON = 2485; BOOMING_NAAKUAL_PARAGON = 2486; FLASHFROST_NAAKUAL_PARAGON = 2487; MOG_KUPON_I_AF109 = 2489; MOG_KUPON_W_EWS = 2490; MOG_KUPON_AW_WK = 2491; MOG_KUPON_I_S3 = 2492; MOG_KUPON_A_PK109 = 2493; MOG_KUPON_I_S1 = 2494; MOG_KUPON_I_SKILL = 2495; GREEN_INSTITUTE_CARD = 2496; WINDURST_TRUST_PERMIT = 2497; BLUE_INSTITUTE_CARD = 2498; BASTOK_TRUST_PERMIT = 2499; RED_INSTITUTE_CARD = 2500; SAN_DORIA_TRUST_PERMIT = 2501; MOG_KUPON_I_RME = 2502; PULVERIZING = 2503; LERENES_PATEN = 2504; AMCHUCHUS_MISSIVE = 2505; TEMPLE_KNIGHT_KEY = 2506; UNBLEMISHED_PIONEERS_BADGE = 2507; SILVERY_PLATE = 2508; SOUL_SIPHON = 2509; TAPESTRY_OF_BAGUA_POETRY = 2511; FUTHARKIC_CONCEPTS_IN_FLUX = 2512; CRYSTALLIZED_LIFESTREAM_ESSENCE = 2513; STRAND_OF_RAKAZNAR_FILAMENT = 2514; ORDER_SLIP_LIFESTREAM_HEADGEAR = 2515; ORDER_SLIP_LIFESTREAM_BODYGEAR = 2516; ORDER_SLIP_LIFESTREAM_HANDGEAR = 2517; ORDER_SLIP_LIFESTREAM_LEGGEAR = 2518; ORDER_SLIP_LIFESTREAM_FOOTGEAR = 2519; ORDER_SLIP_LOGOMORPH_HEADGEAR = 2520; ORDER_SLIP_LOGOMORPH_BODYGEAR = 2521; ORDER_SLIP_LOGOMORPH_HANDGEAR = 2522; ORDER_SLIP_LOGOMORPH_LEGGEAR = 2523; ORDER_SLIP_LOGOMORPH_FOOTGEAR = 2524; PRISTINE_HAIR_RIBBON = 2525; VIAL_OF_TRANSMELANGE = 2526; LOST_ARTICLE = 2527; BREATH_OF_DAWN = 2528; PHLOX_YANTRIC_PLANCHETTE = 2529; RUSSET_YANTRIC_PLANCHETTE = 2530; ASTER_YANTRIC_PLANCHETTE = 2531; SPARKING_TAIL_FEATHER = 2532; PIECE_OF_INVIOLABLE_BARK = 2533; FROSTED_INCISOR = 2534; IMPURE_PHLOX_YGGZI = 2535; SEMI_PURE_PHLOX_YGGZI = 2536; IMPURE_RUSSET_YGGZI = 2537; SEMI_PURE_RUSSET_YGGZI = 2538; IMPURE_ASTER_YGGZI = 2539; SEMI_PURE_ASTER_YGGZI = 2540; BREATH_OF_DAWN1 = 2541; BREATH_OF_DAWN2 = 2542; BREATH_OF_DAWN3 = 2543; JOB_BREAKER = 2544; SAVAGES_PHANTOM_GEM = 2545; WARRIORS_PATH_PHANTOM_GEM = 2546; PEPPEALEPPES_SUPERLATIVE_TONIC = 2547; SAJJAKAS_PROTECTIVE_WARD = 2548; SUNKISSED_SCALE = 2549; MOONTOUCHED_SCALE = 2550; STARBLESSED_SCALE = 2551; TUFT_OF_GOLDEN_FUR = 2552; IVORY_WING_TALISMAN = 2553; SILVER_MATTOCK_CORDON = 2554; SILVER_SHOVEL_CORDON = 2555; PUPPET_IN_PERIL_PHANTOM_GEM = 2556; LEGACY_PHANTOM_GEM = 2557; WORLD_TREE_SAPLING = 2558; MOG_KUPON_I = 2559; MOG_KUPON_WJOB = 2560; MOG_KUPON_IMAT = 2561; MOG_KUPON_IWDEIII = 2562; MOG_KUPON_IAWMIS = 2563; SHEET_OF_ZILART_TUNES = 2564; RUSTED_HANDBELL = 2565; EMBLAZONED_HANDBELL = 2566; RIPPLE_PROMINENCE_CONCRETION = 2567; INFERNO_CONCRETION = 2568; CYCLONE_CONCRETION = 2569; NUMBING_BLOSSOM_SEED = 2570; BROKEN_RAPIER_HILT = 2571; VIAL_OF_CRIMSON_CATALYST = 2572; QUIESCENCE = 2573; SUPERLATIVE_RUNIC_RING_OF_DELUGE = 2574; SUPERLATIVE_RUNIC_RING_OF_LUSTER = 2575; SUPERLATIVE_RUNIC_RING_OF_VISION = 2576; NICKED_DAGGER = 2577; MAGICKED_ASTROLABE = 2578; BRACELET_OF_VERVE = 2579; COPY_OF_WRATH_OF_THE_LAND = 2580; COPY_OF_HALLOWED_WOOD = 2581; HALLOWED_WOOD_REPLICA = 2582; COPY_OF_SHROUDED_IN_ENIGMA = 2583; REPORT_OF_A_SORCEROUS_NATION = 2584; COPY_OF_THE_VERDANCY = 2585; GIANT_SHEEP_EXPORT_RECORD = 2586; DICTUM_ON_COLONIZATION = 2587; ADOULINIAN_AGRICULTURAL_TREATISE = 2588; MYSTIFYING_METAL_ROD = 2589; RUSTY_KATANA = 2590; TRADITIONAL_ADOULINIAN_KATANA = 2591; PIECE_OF_A_SCT_COALITION_REPORT = 2592; CRYPTIC_MEMORANDUM = 2593; MEMO_FOUND_IN_RALA_WATERWAYS = 2594; HEAD_WIND_PHANTOM_GEM = 2595; BUTTERFLYSHAPED_KEY = 2596; STURDY_HIDE_POUCH = 2597; SUFFERING_SACCHARIFEROUS = 2598; SEPULCHER_ENSIGN = 2599; CONSUMMATE_SIMULACRUM = 2600; BROKEN_FUSE = 2601; RALA_EUDAEMON = 2602; YORCIA_EUDAEMON = 2603; CIRDAS_EUDAEMON = 2604; VELKK_FETISH = 2606; YMMRULVIDS_NECKLACE = 2607; IGNORMNTS_BRACELET = 2608; DURSVIKES_EARRING = 2609; TRYLWUJS_BELT = 2610; PAIR_OF_LIIJVOKS_GLOVES = 2611; GRAMKDROOGS_CIRCLET = 2612; ELDER_WOODEN_BOX = 2613; IMPRINT_DEVICE_S = 2614; RECORD_OF_THE_GENERALS_FORAY = 2615; RECORD_OF_A_CAVERNOUS_FORAY = 2616; RECORD_OF_THE_KNIGHT_IN_BLACK = 2617; RECORD_OF_A_THOUSAND_LIGHTS = 2618; AVATAR_PHANTOM_GEM = 2619; HEROES_AND_LEGENDS_OF_ADOULIN = 2620; HASTILY_SCRIBBLED_NOTE = 2621; SKY_BLUE_POME = 2622; SUN_YELLOW_POME = 2623; ASHRAKKS_BLOOD_SIGIL = 2624; DHOKMAKS_BLOOD_SIGIL = 2625; ASH_RUNIC_BOARD = 2626; TEODORS_BLOOD_SIGIL = 2627; AWAKENED_CRYSTALLIZED_PSYCHE = 2628; ARCIELAS_SPARE_BONNET = 2629; ARCIELAS_SKIRT = 2630; CONCORDOLL = 2631; CRYSTALLIZED_PSYCHE = 2632; SAKURA_AND_THE_MAGIC_SPOON = 2633; BLANK_ASH_RUNIC_BOARD = 2640; PROTOTYPE_SIGIL_PEARL = 2641; LAMB_MEMENTO = 2642; SHEEP_MEMENTO = 2643; KARAKUL_MEMENTO = 2644; RAM_MEMENTO = 2645; SAPLING_MEMENTO = 2646; GREEN_FOLIAGE_TREANT_MEMENTO = 2647; RED_FOLIAGE_TREANT_MEMENTO = 2648; BABY_RABBIT_MEMENTO = 2649; RABBIT_MEMENTO = 2650; WHITE_RABBIT_MEMENTO = 2651; BABY_LIZARD_MEMENTO = 2652; LIZARD_MEMENTO = 2653; ALABASTER_LIZARD_MEMENTO = 2654; BABY_COCKATRICE_MEMENTO = 2655; COCKATRICE_MEMENTO = 2656; ZIZ_MEMENTO = 2657; BABY_RAPTOR_MEMENTO = 2658; RAPTOR_MEMENTO = 2659; RED_RAPTOR_MEMENTO = 2660; BABY_EFT_MEMENTO = 2661; EFT_MEMENTO = 2662; TARICHUK_MEMENTO = 2663; DHALMEL_CALF_MEMENTO = 2664; DHALMEL_MEMENTO = 2665; GREAT_DHALMEL_MEMENTO = 2666; SEA_MONK_LARVA_MEMENTO = 2667; SEA_MONK_MEMENTO = 2668; BLUE_SEA_MONK_MEMENTO = 2669; URAGNITE_YOUNGLING_MEMENTO = 2670; URAGNITE_MEMENTO = 2671; LIMASCABRA_MEMENTO = 2672; IMMATURE_CRAB_MEMENTO = 2673; CRAB_MEMENTO = 2674; PORTER_CRAB_MEMENTO = 2675; COLIBRI_CHICK_MEMENTO = 2676; COLIBRI_MEMENTO = 2677; TOUCALIBRI_MEMENTO = 2678; COEURL_CUB_MEMENTO = 2679; COEURL_MEMENTO = 2680; LYNX_MEMENTO = 2681; BUFFALO_CALF_MEMENTO = 2682; BUFFALO_MEMENTO = 2683; MINI_SLIME_MEMENTO = 2684; SLIME_MEMENTO = 2685; CLOT_MEMENTO = 2686; HECTEYES_MEMENTO = 2687; TINY_BUGARD_MEMENTO = 2688; BUGARD_MEMENTO = 2689; ABYSSOBUGARD_MEMENTO = 2690; BABY_ADAMANTOISE_MEMENTO = 2691; ADAMANTOISE_MEMENTO = 2692; GREAT_ADAMANTOISE_MEMENTO = 2693; WHITE_ADAMANTOISE_MEMENTO = 2694; FERROMANTOISE_MEMENTO = 2695; GREAT_FERROMANTOISE_MEMENTO = 2696; CLUSTER_MEMENTO = 2697; BOMB_MEMENTO = 2698; DJINN_MEMENTO = 2699; SNOLL_MEMENTO = 2700; BEHEMOTH_CUB_MEMENTO = 2701; BEHEMOTH_MEMENTO = 2702; KING_BEHEMOTH_MEMENTO = 2703; ELASMOTH_MEMENTO = 2704; SKORMOTH_MEMENTO = 2705; DRAGON_HATCHLING_MEMENTO = 2706; WYVERN_MEMENTO = 2707; BLUE_WYVERN_MEMENTO = 2708; GREEN_WYVERN_MEMENTO = 2709; ABYSSAL_WYRM_MEMENTO = 2710; LUNAR_WYRM_MEMENTO = 2711; BLAZING_WYRM_MEMENTO = 2712; PEQUETENDER_MEMENTO = 2713; SABOTENDER_MEMENTO = 2714; JUMBOTENDER_MEMENTO = 2715; CHEER_LAMB = 2716; CHEER_SHEEP = 2717; CHEER_KARAKUL = 2718; CHEER_RAM = 2719; CHEER_SAPLING = 2720; CHEER_G_FOL_TREANT = 2721; CHEER_R_FOL_TREANT = 2722; CHEER_BABY_RABBIT = 2723; CHEER_RABBIT = 2724; CHEER_WHITE_RABBIT = 2725; CHEER_BABY_LIZARD = 2726; CHEER_LIZARD = 2727; CHEER_ALABASTER_LIZARD = 2728; CHEER_BABY_COCKATRICE = 2729; CHEER_COCKATRICE = 2730; CHEER_ZIZ = 2731; CHEER_BABY_RAPTOR = 2732; CHEER_RAPTOR = 2733; CHEER_RED_RAPTOR = 2734; CHEER_BABY_EFT = 2735; CHEER_EFT = 2736; CHEER_TARICHUK = 2737; CHEER_DHALMEL_CALF = 2738; CHEER_DHALMEL = 2739; CHEER_GREAT_DHALMEL = 2740; CHEER_SEA_MONK_LARVA = 2741; CHEER_SEA_MONK = 2742; CHEER_BLUE_SEA_MONK = 2743; CHEER_URAGNITE_YOUNGLING = 2744; CHEER_URAGNITE = 2745; CHEER_LIMASCABRA = 2746; CHEER_IMMATURE_CRAB = 2747; CHEER_CRAB = 2748; CHEER_PORTER_CRAB = 2749; CHEER_BABY_COLIBRI = 2750; CHEER_COLIBRI = 2751; CHEER_TOUCALIBRI = 2752; CHEER_COEURL_CUB = 2753; CHEER_COEURL = 2754; CHEER_LYNX = 2755; CHEER_BUFFALO_CALF = 2756; CHEER_BUFFALO = 2757; CHEER_MINI_SLIME = 2758; CHEER_SLIME = 2759; CHEER_CLOT = 2760; CHEER_HECTEYES = 2761; CHEER_TINY_BUGARD = 2762; CHEER_BUGARD = 2763; CHEER_ABYSSOBUGARD = 2764; CHEER_BABY_ADAMANTOISE = 2765; CHEER_ADAMANTOISE = 2766; CHEER_GREAT_ADAMANTOISE = 2767; CHEER_WHITE_ADAMANTOISE = 2768; CHEER_FERROMANTOISE = 2769; CHEER_GREAT_FERROMANTOISE = 2770; CHEER_CLUSTER = 2771; CHEER_BOMB = 2772; CHEER_DJINN = 2773; CHEER_SNOLL = 2774; CHEER_BEHEMOTH_CUB = 2775; CHEER_BEHEMOTH = 2776; CHEER_KING_BEHEMOTH = 2777; CHEER_ELASMOTH = 2778; CHEER_SKORMOTH = 2779; CHEER_DRAGON_HATCHLING = 2780; CHEER_WYVERN = 2781; CHEER_BLUE_WYVERN = 2782; CHEER_GREEN_WYVERN = 2783; CHEER_ABYSSAL_WYRM = 2784; CHEER_LUNAR_WYRM = 2785; CHEER_BLAZING_WYRM = 2786; CHEER_PEQUETENDER = 2787; CHEER_SABOTENDER = 2788; CHEER_JUMBOTENDER = 2789; SHEET_OF_CONFLICT_TUNES = 2790; SHEET_OF_PROMATHIA_TUNES = 2791; SHEET_OF_ADOULINIAN_TUNES = 2792; SAKURA_AND_THE_FOUNTAIN = 2793; TREATISE_ON_AZIMUTH_CLOTHCRAFT = 2794; HOLLA_CRYSTAL_OF_GALES = 2795; DEM_CRYSTAL_OF_DUNES = 2796; MEA_CRYSTAL_OF_FLAMES = 2797; PALE_AZURE_CLOTH = 2798; ORDER_SLIP_AZIMUTH_HOOD = 2799; ORDER_SLIP_AZIMUTH_COAT = 2800; ORDER_SLIP_AZIMUTH_GLOVES = 2801; ORDER_SLIP_AZIMUTH_TIGHTS = 2802; ORDER_SLIP_AZIMUTH_GAITERS = 2803; REFINED_RAKAZNAR_FIBER = 2804; ORDER_SLIP_ERILAZ_GALEA = 2805; ORDER_SLIP_ERILAZ_SURCOAT = 2806; ORDER_SLIP_ERILAZ_GAUNTLETS = 2807; ORDER_SLIP_ERILAZ_LEG_GUARDS = 2808; ORDER_SLIP_ERILAZ_GREAVES = 2809; PURPLE_PURGATION_CLOTH = 2810; MARGRETS_WRIT_OF_SUMMONS = 2811; PORTRAIT_OF_MELVIEN = 2812; MELVIENS_TURN = 2813; MELVIENS_DEATH = 2814; MARGRETS_MEMO = 2815; MARGRETS_IMPOSTERS_CIPHER = 2816; MARGRETS_IMPOSTERS_CIPHER_REDUX = 2817; FABRICATED_PEARL_OF_IMPURITY = 2818; FABRICATED_PEARL_OF_MIASMA = 2819; FABRICATED_PEARL_OF_BITING_WINDS = 2820; FABRICATED_PEARL_OF_ASHEN_WINGS = 2821; FABRICATED_PEARL_OF_THE_FALSE_KING = 2822; PROTOTYPE_PEARL_OF_ASHEN_WINGS = 2823; PROTOTYPE_PEARL_OF_THE_FALSE_KING = 2824; GILGAMESHS_INTRODUCTORY_LETTER = 2825; IMPERIAL_CHAIR = 2826; DECORATIVE_CHAIR = 2827; ORNATE_STOOL = 2828; REFINED_CHAIR = 2829; PORTABLE_CONTAINER = 2830; CHOCOBO_CHAIR = 2831; EPHRAMADIAN_THRONE = 2832; SHADOW_THRONE = 2833; LEAF_BENCH = 2834; ASTRAL_CUBE = 2835; REISENJIMA_SANCTORIUM_ORB = 2837; SAKURA_AND_THE_MAGICKED_NET = 2838; REAPER = 2839; FORGOTTEN_MEMORY = 2840; WEATHERED_HAVERTON_HAT = 2842; LIGHTSWORM = 2843; SAKURAS_EXCELLENT_ADVENTURE = 2844; SAKURA_AND_THE_CACTUS_CORPS = 2845; SAKURA_AND_THE_HOLY_GRAIL = 2846; SIRENS_PLUME = 2847; MOGLIFICATION_RESIST_POISON = 2849; MOGLIFICATION_RESIST_PARALYSIS = 2850; MOGLIFICATION_RESIST_SILENCE = 2852; MOGLIFICATION_RESIST_PETRIFICATION = 2853; MOGLIFICATION_RESIST_VIRUS = 2854; MOGLIFICATION_RESIST_CURSE = 2855; IRIDAL_CORE_OF_THE_RUINS = 2880; IRIDAL_CORE_OF_THE_TOMB = 2881; IRIDAL_CORE_OF_THE_PASS = 2882; ARCUS_FIBER = 2883; RHAPSODY_IN_WHITE = 2884; RHAPSODY_IN_UMBER = 2885; RHAPSODY_IN_AZURE = 2886; RHAPSODY_IN_CRIMSON = 2887; RHAPSODY_IN_EMERALD = 2888; RHAPSODY_IN_MAUVE = 2889; RHAPSODY_IN_FUCHSIA = 2890; RHAPSODY_IN_PUCE = 2891; RHAPSODY_IN_OCHRE = 2892; SCINTILLATING_RHAPSODY = 2893; TRIBULENS = 2894; WEPWAWETS_TOOTH = 2895; LYDIAS_VINE = 2896; AGLAOPHOTIS_BUD = 2897; TANGATAS_WING = 2898; VIDALAS_CLAW = 2899; GESTALTS_RETINA = 2900; ANGRBODAS_NECKLACE = 2901; CUNNASTS_TALON = 2902; REVETAURS_HORN = 2903; FERRODONS_SCALE = 2904; GULLTOPS_SHELL = 2905; VYALAS_PREY = 2906; BLAZEWINGS_PINCER = 2907; COVENS_DUST = 2908; PAZUZUS_BLADE_HILT = 2909; WRATHARES_CARROT = 2910; IONOSS_WEBBING = 2911; SANDYS_LASHER = 2912; NOSOIS_FEATHER = 2913; BRITTLISS_RING = 2914; KAMOHOALIIS_FIN = 2915; UMDHLEBIS_FLOWER = 2916; FLEETSTALKERS_CLAW = 2917; SHOCKMAWS_BLUBBER = 2918; URMAHLULLUS_ARMOR = 2919; ESCHAN_URN = 2920; ESCHAN_CELLAR = 2921; ESCHAN_NEF = 2922; MOONLIT_PATH_PHANTOM_GEM = 2923; WAKING_THE_BEAST_PHANTOM_GEM = 2924; WAKING_DREAMS_PHANTOM_GEM = 2925; CARD_JAILER_TEODOR = 2926; BIAS_GLOVE = 2927; RUEAS_STONE = 2928; MAS_LANCE = 2929; KHONS_SCEPTER = 2930; METS_RING = 2931; KHUNS_CROWN = 2932; WASSERSPEIERS_HORN = 2933; EMPUTAS_WING = 2934; PEIRITHOOSS_HOOF = 2935; ASIDAS_GEL = 2936; TENODERAS_SCYTHE = 2937; SAVA_SAVANOVICS_CAPE = 2938; PALILAS_TALON = 2939; HANBIS_NAIL = 2940; YILANS_SCALE = 2941; AMYMONES_TOOTH = 2942; NAPHULAS_BRACELET = 2943; KAMMAVACAS_BINDING = 2944; PAKECETS_BLUBBER = 2945; DUKE_VEPARS_SIGNET = 2946; VIRAVAS_STALK = 2947; BYAKKOS_PRIDE = 2948; GENBUS_HONOR = 2949; SEIRYUS_NOBILITY = 2950; SUZAKUS_BENEFACTION = 2951; KIRINS_FERVOR = 2952; ARK_ANGEL_HMS_COAT = 2953; ARK_ANGEL_TTS_NECKLACE = 2954; ARK_ANGEL_MRS_BUCKLE = 2955; ARK_ANGEL_EVS_SASH = 2956; ARK_ANGEL_GKS_BANGLE = 2957; MOST_CURIOUS_CURIO = 2958; MOST_CONFOUNDING_CURIO = 2959; MACABRE_SIMULACRUM = 2960; MOTIONLESS_PLUME = 2961; GUFFAWSHROOM = 2962; JOB_GESTURE_GEOMANCER = 2963; JOB_GESTURE_RUNE_FENCER = 2964; GOLDEN_SHOVEL_CORDON = 2965; FABRICATED_WARD_OF_IMPURITY = 2966; FABRICATED_WARD_OF_MIASMA = 2967; FABRICATED_WARD_OF_BITING_WINDS = 2968; FABRICATED_WARD_OF_ASHEN_WINGS = 2969; FABRICATED_WARD_OF_THE_FALSE_KING = 2970; SONG_OF_HOPE = 2971; FOUNDER_KINGS_ORB = 2972; CAIT_SITHS_WHISKER = 2973; EXTRADIMENSIONAL_SCAR = 2974; BREATH_OF_THE_AVATARS = 2975; PRIMARY_NAZAR = 2976; SECONDARY_NAZAR = 2977; TERTIARY_NAZAR = 2978; QUATERNARY_NAZAR = 2979; QUINARY_NAZAR = 2980; SENARY_NAZAR = 2981; SEPTENARY_NAZAR = 2982; OCTONARY_NAZAR = 2983; NONARY_NAZAR = 2984; DENARY_NAZAR = 2985; PRIMAL_NAZAR = 2986; FEARED_ONE_PHANTOM_GEM = 2987; DAWN_PHANTOM_GEM = 2988; DIMENSIONAL_COMPASS = 2989; CHACHAROONS_SACK_OF_SUPPLIES = 2990; CROM_DUBHS_HELM = 2991; GOLDEN_KISTS_KEY = 2992; MAUVEWRISTED_GOMBERRYS_KNIFE = 2993; DAZZLING_DOLORESS_VINE = 2994; TAELMOTHS_STAFF = 2995; BELPHEGORS_CROWN = 2996; KABANDHAS_WING = 2997; SELKITS_PINCER = 2998; SANG_BUAYAS_TUSK = 2999; SABOTENDER_ROYALS_NEEDLE = 3000; ZDUHACS_TALON = 3001; ORYXS_PLUMAGE = 3002; STROPHADIAS_PEARL = 3003; GAJASIMHAS_MANE = 3004; IRONSIDES_MAUL = 3005; SARSAOKS_HOARD = 3006; OLD_SHUCKS_TUFT = 3007; BASHMUS_TRINKET = 3008; MAJUS_CLAW = 3009; YAKSHIS_SCROLL = 3010; NEAKS_TREASURE = 3011; TELESS_HYMN = 3012; ZERDES_CUP = 3013; VINIPATAS_BLADE = 3014; SCHAHS_GAMBIT = 3015; ALBUMENS_FLOWER = 3016; ONYCHOPHORAS_SOIL = 3017; ERINYSS_BEAK = 3018; MOG_KUPON_AWGFII = 3019; MOG_KUPON_AWGF = 3020; MOG_KUPON_AWUWIII = 3021; MOG_KUPON_AWUWII = 3022; MOG_KUPON_AWUW = 3023; MOG_KUPON_AAB = 3024; MOG_KUPON_AWCOS = 3025; PHOENIXS_BLESSING = 3026; PACKET_OF_MIDRASS_EXPLOSIVES = 3027; TARNISHED_RING = 3028; RUSTY_LOCKET = 3029; INVITATION_TO_A_FEAST_MOST_DIRE = 3030; RADIALENS = 3031; MOLLIFIER = 3032; MOG_KUPON_AWKUPO = 3033; DRAINED_ORB = 3034; MALFORMED_KNUCKLES = 3035; MALFORMED_DAGGER = 3036; MALFORMED_SWORD = 3037; MALFORMED_GREAT_SWORD = 3038; MALFORMED_AXE = 3039; MALFORMED_GREAT_AXE = 3040; MALFORMED_POLEARM = 3041; MALFORMED_SCYTHE = 3042; MALFORMED_KATANA = 3043; MALFORMED_GREAT_KATANA = 3044; MALFORMED_CLUB = 3045; MALFORMED_STAFF = 3046; MALFORMED_BOW = 3047; MALFORMED_GUN = 3048; MALFORMED_SHIELD = 3049; MALFORMED_FLUTE = 3050; MOG_PATIO_DESIGN_DOCUMENT = 3051; AMBUSCADE_PRIMER_VOLUME_ONE = 3052; AMBUSCADE_PRIMER_VOLUME_TWO = 3053; TRAINERS_WHISTLE = 3055; MOG_KUPON_WEMI = 3056; MOG_KUPON_AEMI = 3057; MOG_KUPON_WSRW = 3058; MOG_KUPON_WSCC = 3059; MOG_KUPON_ASYW = 3060; MOG_KUPON_WASRW = 3061; MOG_KUPON_WASCC = 3062; MOG_KUPON_AASYW = 3063; MOG_KUPON_WR119 = 3064; MOG_KUPON_WM119 = 3065; MOG_KUPON_WE119 = 3066; MOG_KUPON_WA119 = 3067; MOG_KUPON_AWGEIV = 3068; SHIMMERING_INVITATION = 3069; GRUNT_HEARD_ROUND_THE_WORLD = 3070; CHOCOBO_COMPANION = 3072; RAPTOR_COMPANION = 3073; TIGER_COMPANION = 3074; CRAB_COMPANION = 3075; RED_CRAB_COMPANION = 3076; BOMB_COMPANION = 3077; RAM_COMPANION = 3078; MORBOL_COMPANION = 3079; CRAWLER_COMPANION = 3080; FENRIR_WHISTLE = 3081; BEETLE_COMPANION = 3082; MOOGLE_COMPANION = 3083; MAGIC_POT_COMPANION = 3084; TULFAIRE_COMPANION = 3085; WARMACHINE_COMPANION = 3086; XZOMIT_COMPANION = 3087; HIPPOGRYPH_COMPANION = 3088; SPECTRAL_CHAIR_COMPANION = 3089; SHEET_OF_SHADOW_LORD_TUNES = 3136; MYSTICAL_CANTEEN = 3137; YGNASS_INSIGNIA = 3138; MOG_KUPON_AOMII = 3139; MOG_KUPON_IAF119 = 3140; MOG_KUPON_AWOM = 3141; FUS_BEAD = 3142; KEIS_BEAD = 3143; KYOUS_BEAD = 3144; GINS_BEAD = 3145; KINS_BEAD = 3146; YGNASS_LEAF = 3147; ANCIENT_MELODY_O = 3148; ANCIENT_MELODY_M = 3149; ANCIENT_MELODY_E = 3150; AFTERPARTY_PASS = 3153; REASSEMBLING_TECHNIQUE = 3154; EMPTY_HOURGLASS = 3156;
gpl-3.0
teran/deduplicator
deduplicator.lrdevplugin/FindDuplicates.lua
1
5394
--[[---------------------------------------------------------------------------- This file is a part of Deduplicator Lightroom Classic CC plugin Licenced under GPLv2 terms GIT Repository with the code: https://github.com/teran/deduplicator ------------------------------------------------------------------------------]] local LrApplication = import 'LrApplication' local LrDialogs = import 'LrDialogs' local LrFileUtils = import 'LrFileUtils' local LrLogger = import 'LrLogger' local LrPathUtils = import 'LrPathUtils' local LrProgressScope = import 'LrProgressScope' local LrSystemInfo = import 'LrSystemInfo' local LrTasks = import 'LrTasks' local json = require "JSON" require 'Info' local logger = LrLogger(plugin_name) logger:enable(log_target) json.strictTypes = true logger:trace('FindDuplicates.lua invoked') logger:infof('summaryString: %s', LrSystemInfo.summaryString()) logger:infof('Deduplicator version is %s', plugin_version) local duplicatesCollectionName = "Duplicates" local imgsumDatabasePath = LrPathUtils.standardizePath( LrPathUtils.getStandardFilePath('temp') .. '/' .. 'imgsum.db') LrFileUtils.moveToTrash(imgsumDatabasePath) catalog = LrApplication.activeCatalog() LrTasks.startAsyncTask(function() catalog:withWriteAccessDo("Create collection", function() collection = catalog:createCollection(duplicatesCollectionName) if collection == nil then for _, c in pairs(catalog:getChildCollections()) do if c:getName() == duplicatesCollectionName then collection = c end end end end) end) binName = 'imgsum-i386' if LrSystemInfo.is64Bit() then binName = 'imgsum-amd64' end function IndexPhoto(photo) logger:tracef('IndexPhoto(photo=%s) invoked', photo) local command local quotedCommand local imagePath = photo:getRawMetadata("path") if WIN_ENV == true then command = string.format('"%s" "%s" >> "%s"', LrPathUtils.child( LrPathUtils.child( _PLUGIN.path, "win" ), binName .. '.exe' ), imagePath, imgsumDatabasePath) quotedCommand = '"' .. command .. '"' else command = string.format('"%s" "%s" >> %s', LrPathUtils.child( LrPathUtils.child( _PLUGIN.path, "mac" ), binName ), imagePath, imgsumDatabasePath) quotedCommand = command end if photo:checkPhotoAvailability() then logger:debugf('Preparing to run command %s', quotedCommand) if LrTasks.execute(quotedCommand) ~= 0 then logger:errorf("Error while executing imgsum") LrDialogs.message("Subcommand execution error", "Error while executing imgsum") end else logger:warnf('checkPhotoAvailability check is not passed for %s', imagePath) end end function FindDuplicates() logger:trace('FindDuplicates() invoked') local command local quotedCommand if WIN_ENV == true then command = string.format('"%s" -json-output -find-duplicates %s', LrPathUtils.child( LrPathUtils.child( _PLUGIN.path, "win" ), binName .. '.exe' ), imgsumDatabasePath) quotedCommand = '"' .. command .. '"' else command = string.format('"%s" -json-output -find-duplicates %s', LrPathUtils.child( LrPathUtils.child( _PLUGIN.path, "mac" ), binName ), imgsumDatabasePath) quotedCommand = command end logger:debugf('Preparing to run command %s', quotedCommand) local f = assert(io.popen(quotedCommand, 'r')) local s = assert(f:read('*a')) f:close() logger:debugf('imgsum -find-duplicates output: %s', s) if s ~= "" then local imgsum_output = json:decode(s) if imgsum_output["duplicates"] ~= nil then catalog:withWriteAccessDo("Add photos to duplicates collection", function() for _, photo in pairs(imgsum_output["duplicates"]) do for _, file in pairs(photo) do logger:infof('Preparing query to Lightroom about %s', file) p = catalog:findPhotoByPath(file) if p ~= nil then logger:infof('Preparing to add photo id=%s to collection id=%s', p.localIdentifier, collection.localIdentifier) collection:addPhotos({p}) else logger:warnf('nil result returned on attempt to resolve photo by path %s', file) end end end end) else logger:warn('JSON output from imgsum contains null at duplicates array') end else logger:warn('Empty output from imgsum') end end function StartIndexing() logger:trace('StartIndexing() invoked') local catPhotos = catalog:getMultipleSelectedOrAllPhotos() local titles = {} local indexerProgress = LrProgressScope({ title="Indexing photos...", functionContext = context}) indexerProgress:setCancelable(true) LrDialogs.showBezel("Starting indexing...") for i, photo in ipairs(catPhotos) do if indexerProgress:isCanceled() then logger:info('Indexing process cancelled') break; end local fileName = photo:getFormattedMetadata("fileName") logger:debugf('Processing file %s', fileName) indexerProgress:setPortionComplete(i, #catPhotos) indexerProgress:setCaption( string.format("Processing %s (%s of %s)", fileName, i, #catPhotos)) IndexPhoto(photo) end logger:info('Setting indexing process to done state') indexerProgress:done() logger:info('Starting database search process') FindDuplicates() end LrTasks.startAsyncTask(StartIndexing)
gpl-2.0
dinodeck/ninety_nine_days_of_dev
007_map_cure/map/map_cave.lua
6
159630
function CreateCaveMap(state) local id = "cave" local caveState = state.maps[id] local gemstoneId = 14 local keystoneId = 15 local encountersCave = { -- 0. Yellow, nearly everywhere { { oddment = 120, item = {} }, { oddment = 3, item = { background = "combat_bg_cave.png", enemy = { "cave_bat", "cave_bat", "cave_bat", } } }, { oddment = 2, item = { background = "combat_bg_cave.png", enemy = { "cave_bat", "cave_shade", "cave_bat", } } }, { oddment = 1, item = { background = "combat_bg_cave.png", enemy = { "cave_bat", "cave_bat", "cave_bat", "cave_bat", } } } }, -- 2. Pink, corridors of death { { oddment = 95, item = {} }, { oddment = 5, item = { background = "combat_bg_field.png", enemy = { "cave_shade", "cave_shade", "cave_shade", } } } } } local TakeGem = function(map, trigger, entity, x, y, layer) print("Taking gem.", map, trigger, x, y, layer) -- Clear them gem from the deco layer -- Layer 2 Background: 4 -- Layer 2 Detail: 4 + 1 = 5 local tiles = map.mMapDef.layers[5].data tiles[map:CoordToIndex(x, y - 1)] = 0 map:RemoveTrigger(x, y, layer) gGame.World:AddKey(gemstoneId) local combatDef = { background = "combat_bg_cave.png", enemy = { "cave_drake" }, canFlee = false, OnWin = function() state.defeated_cave_drake = true end } local sayDef = { textScale = 1.5 } local bossTalk = { SOP.Say("handin", "hero", "Gemstone received.", 1.3, sayDef), SOP.Say("handin", "hero", "Trespass in MY house?", 3.2, sayDef), SOP.Say("handin", "hero", "KILL MY SERVANTS?", 3.2, sayDef), SOP.Say("handin", "hero", "STEAL?", 3.2, sayDef), SOP.Say("handin", "hero", "You must be punished!", 3, sayDef), SOP.RunAction("Combat", { map, combatDef }), SOP.HandOff("handin"), } -- Then storyboard local storyboard = Storyboard:Create(gGame.Stack, bossTalk, true) gGame.Stack:Push(storyboard) end local LeaveAltarArea = function(map, trigger, entity, x, y, layer) local tileTeleportId = 198 local tileDirtId = 104 -- Do you have gem? if not gGame.World:HasKey(gemstoneId) then return end -- Is the teleporter added? print("Leaving altar with gemstone.") local trigger = map:GetTrigger(27, 28, 1) if trigger then return end map:WriteTile { x = 27, y = 28, layer = 1, tile = tileDirtId, detail = tileTeleportId } local trigger = Trigger:Create { OnEnter = function() entity:SetTilePos(12, 111, 1, map) end } map:AddFullTrigger(trigger, 27, 28, 1) end local InsertGem = function(map, trigger, entity, x, y, layer) local tileGemId = 214 -- test the save state here! map:WriteTile { x = 27, y = 23, layer = 2, tile = 0, detail = tileGemId } end local KeyStoneInteract = function(map, trigger, entity, x, y, layer) layer = layer or 1 local entity = map:GetEntity(x, y, layer) map:RemoveEntity(entity) map:RemoveTrigger(x, y, layer) gGame.World:AddKey(keystoneId) gGame.Stack:PushFit(gRenderer, 0, 0, "Keystone received.") end local DoorPlateInteract = function(map, trigger, entity, x, y, layer) layer = layer or 1 if gGame.World:HasKey(keystoneId) then map:RemoveTrigger(x, y, layer) gGame.World:RemoveKey(keystoneId) local sphere = Entity:Create(gEntities['sphere']) sphere:SetTilePos(x, y, layer, map) local leftDoor = map:GetEntity(39, 39, 1) local rightDoor = map:GetEntity(40, 39, 1) local leftAnim = { gEntities['door_left'].frames, false } local rightAnim = { gEntities['door_right'].frames, false } local sayDef = { textScale = 1.5 } local storyboard = { SOP.Say("handin", "hero", "Keystone removed.", 1, sayDef), SOP.NoBlock(SOP.Animate(leftDoor, leftAnim)), SOP.Animate(rightDoor, rightAnim), SOP.Function( function() map:RemoveEntity(leftDoor) map:RemoveEntity(rightDoor) caveState.completed_puzzle = true end), SOP.HandOff("handin") } gGame.Stack:Push(Storyboard:Create(gGame.Stack, storyboard, true)) else local sayX, sayY = map:TileToScreen(x, y - 1) gGame.Stack:PushFit(gRenderer, sayX, sayY, "Looks like something goes here...") end end local SetupDoorPuzzle = function(map, trigger, entity, x, y, layer) local tileDoorPlateId = 182 local isFourthTileFilled = false if caveState.completed_puzzle then isFourthTileFilled = true end local tileLocations = { { 39, 56, true}, { 42, 56, true}, { 38, 41, true}, { 41, 41, isFourthTileFilled} } local keyX = 56 local keyY = 40 for k, v in ipairs(tileLocations) do local x = v[1] local y = v[2] local isFilled = v[3] map:WriteTile { x = x, y = y, layer = 1, tile = tileDoorPlateId, collision = true } if isFilled then -- Need sphere entity def local sphere = Entity:Create(gEntities['sphere']) sphere:SetTilePos(x, y, 1, map) else local trigger = Trigger:Create { OnUse = function(...) DoorPlateInteract(map, ...) end } map:AddFullTrigger(trigger, x, y, 1) end end if caveState.completed_puzzle then -- Don't proceed after this point if the puzzle -- is already solved. -- This stops the keystone being added -- The doors being added. return end if not gGame.World:HasKey(keystoneId) then -- Add the key sphere local key = Entity:Create(gEntities['sphere']) key:SetTilePos(keyX, keyY, 1, map) -- We need to add a trigger for the keystone local keyTrigger = Trigger:Create { OnUse = function(...) KeyStoneInteract(map, ...) end } map:AddFullTrigger(keyTrigger, keyX, keyY, 1) end local doorLeft = Entity:Create(gEntities['door_left']) local doorRight = Entity:Create(gEntities['door_right']) doorLeft:SetTilePos(39, 39, 1, map) doorRight:SetTilePos(40, 39, 1, map) end return { id = id, name = "Cave", can_save = false, version = "1.1", luaversion = "5.1", orientation = "orthogonal", width = 60, height = 120, tilewidth = 16, tileheight = 16, properties = {}, encounters = encountersCave, on_wake = { { id = "RunScript", params = { InsertGem } }, { id = "RunScript", params = { SetupDoorPuzzle } }, { id = "AddChest", params = { "chest", { { id = 10 } }, 39, 92 }, }, { id = "AddSavePoint", params = { 26, 29, 1 } }, { id = "AddChest", params = { "chest", { { id = 10 } }, 12, 27 }, }, -- Testing -- { -- id = "AddChest", -- params = { "chest", { { id = 10 } }, 11, 112 }, -- }, -- { -- id = "AddChest", -- params = { "chest", { { id = 10 } }, 12, 112 }, -- }, }, actions = { take_gem = { id = "RunScript", params = { TakeGem } }, leave_with_gem = { id = "RunScript", params = { LeaveAltarArea } }, to_world_map = { id = "ChangeMap", params = { "world", 23, 4 } }, }, trigger_types = { use_altar = { OnUse = "take_gem" }, leave_altar = { OnExit = "leave_with_gem" }, leave_cave = { OnEnter = "to_world_map" }, }, triggers = { { trigger = "use_altar", x = 27, y = 24 }, { trigger = "leave_altar", x = 27, y = 23 }, { trigger = "leave_altar", x = 28, y = 24 }, { trigger = "leave_altar", x = 26, y = 24 }, { trigger = "leave_altar", x = 27, y = 25 }, { trigger = "leave_cave", x = 11, y = 109 }, { trigger = "leave_cave", x = 12, y = 109 }, { trigger = "leave_cave", x = 13, y = 109 }, }, tilesets = { { name = "cave_tileset", firstgid = 1, tilewidth = 16, tileheight = 16, spacing = 0, margin = 0, image = "cave_tileset.png", imagewidth = 256, imageheight = 352, properties = {}, tiles = {} }, { name = "collision_graphic", firstgid = 353, tilewidth = 16, tileheight = 16, spacing = 0, margin = 0, image = "../../quests-3/collision_graphic.png", imagewidth = 32, imageheight = 32, properties = {}, tiles = {} } }, layers = { { type = "tilelayer", name = "0-background", x = 0, y = 0, width = 60, height = 120, visible = true, opacity = 1, properties = {}, encoding = "lua", data = { 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 14, 14, 14, 15, 15, 15, 15, 14, 15, 15, 15, 15, 14, 14, 14, 15, 14, 15, 14, 14, 15, 15, 8, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 30, 30, 30, 31, 31, 31, 31, 31, 31, 31, 31, 31, 30, 31, 30, 31, 30, 31, 30, 30, 31, 31, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 46, 46, 46, 47, 47, 46, 46, 46, 46, 46, 46, 47, 46, 46, 46, 47, 46, 47, 46, 46, 47, 47, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 9, 18, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 146, 146, 146, 146, 146, 146, 146, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 146, 146, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 146, 146, 146, 146, 146, 146, 146, 1, 14, 14, 15, 15, 15, 15, 14, 15, 16, 146, 146, 13, 14, 14, 15, 14, 15, 15, 14, 15, 8, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 232, 232, 232, 232, 232, 232, 55, 30, 30, 31, 31, 31, 31, 30, 31, 32, 146, 146, 29, 30, 30, 31, 30, 31, 31, 30, 31, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 26, 55, 55, 55, 55, 55, 55, 46, 46, 47, 47, 47, 47, 46, 47, 48, 146, 146, 45, 46, 46, 47, 46, 47, 47, 46, 47, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 42, 55, 55, 55, 55, 55, 0, 104, 104, 104, 104, 104, 104, 104, 104, 104, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 42, 55, 55, 55, 55, 55, 0, 104, 104, 104, 104, 104, 104, 104, 104, 104, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 42, 55, 55, 55, 55, 55, 55, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 42, 55, 55, 55, 55, 55, 55, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 149, 145, 145, 145, 145, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 42, 55, 55, 55, 55, 55, 55, 145, 145, 145, 145, 104, 145, 145, 145, 145, 145, 145, 145, 146, 146, 146, 146, 145, 145, 145, 145, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 55, 55, 55, 55, 55, 55, 55, 145, 145, 145, 145, 146, 145, 145, 145, 145, 145, 113, 145, 146, 145, 146, 145, 145, 145, 145, 145, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 25, 55, 55, 55, 55, 55, 55, 145, 145, 145, 145, 149, 146, 146, 146, 145, 145, 129, 145, 145, 145, 146, 145, 145, 145, 145, 145, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 25, 55, 55, 55, 55, 55, 55, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 41, 104, 104, 104, 104, 104, 55, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 149, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 41, 104, 104, 104, 104, 104, 55, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 41, 104, 146, 104, 104, 104, 55, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 162, 232, 232, 232, 232, 232, 232, 232, 232, 10, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 13, 14, 14, 16, 146, 146, 55, 55, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 13, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 29, 30, 30, 32, 146, 146, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 145, 145, 145, 29, 55, 55, 55, 55, 55, 55, 55, 55, 55, 40, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 45, 46, 46, 48, 146, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 145, 145, 145, 45, 55, 55, 55, 104, 104, 55, 55, 55, 55, 13, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 145, 145, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 29, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 55, 55, 232, 146, 232, 232, 232, 104, 104, 104, 104, 104, 104, 104, 194, 145, 146, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 45, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 7, 15, 16, 146, 13, 15, 8, 55, 55, 55, 55, 55, 55, 55, 55, 145, 104, 145, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 25, 31, 32, 146, 29, 31, 26, 55, 55, 55, 55, 55, 55, 55, 55, 145, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 78, 78, 79, 8, 55, 55, 55, 55, 55, 55, 55, 55, 55, 9, 104, 104, 25, 47, 48, 146, 45, 47, 26, 55, 55, 55, 55, 55, 55, 55, 55, 145, 145, 145, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 14, 15, 16, 94, 94, 95, 232, 55, 55, 55, 55, 55, 55, 55, 55, 55, 51, 55, 55, 25, 145, 145, 146, 146, 145, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 14, 16, 104, 104, 13, 14, 15, 8, 55, 55, 55, 55, 55, 55, 55, 30, 31, 32, 46, 46, 47, 232, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 25, 145, 145, 145, 145, 145, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 16, 30, 32, 104, 104, 29, 30, 31, 13, 8, 55, 55, 55, 55, 55, 55, 46, 47, 48, 104, 104, 104, 232, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 25, 145, 145, 145, 145, 145, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 25, 32, 46, 48, 104, 104, 45, 46, 47, 29, 26, 55, 55, 55, 55, 55, 104, 104, 104, 104, 104, 104, 104, 232, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 25, 145, 145, 145, 145, 145, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 25, 48, 104, 104, 104, 104, 104, 104, 104, 45, 26, 55, 55, 55, 55, 55, 104, 104, 104, 104, 104, 104, 104, 232, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 9, 145, 145, 145, 145, 145, 10, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 25, 104, 104, 145, 146, 104, 104, 104, 104, 104, 26, 55, 55, 55, 55, 55, 104, 104, 104, 9, 232, 232, 232, 10, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 113, 161, 162, 162, 104, 104, 104, 104, 26, 55, 55, 55, 55, 55, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 104, 104, 104, 13, 14, 15, 14, 14, 15, 16, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 104, 104, 104, 29, 30, 31, 30, 30, 31, 32, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 104, 104, 104, 104, 104, 104, 104, 116, 45, 46, 47, 46, 46, 47, 48, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 117, 118, 104, 104, 104, 104, 104, 104, 113, 149, 104, 113, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 133, 134, 104, 104, 104, 104, 148, 104, 104, 113, 113, 146, 146, 146, 146, 146, 146, 10, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 40, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 40, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 14, 15, 15, 16, 104, 104, 13, 14, 15, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 30, 31, 31, 32, 104, 104, 29, 30, 31, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 46, 47, 47, 48, 104, 104, 45, 46, 47, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 104, 104, 162, 104, 104, 104, 104, 104, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 104, 104, 162, 162, 162, 162, 104, 104, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 25, 104, 104, 104, 162, 104, 104, 162, 104, 104, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 25, 104, 104, 104, 104, 104, 104, 104, 104, 104, 26, 55, 55, 55, 55, 7, 8, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 223, 8, 55, 55, 55, 55, 55, 55, 25, 104, 104, 104, 104, 104, 104, 104, 104, 104, 26, 55, 55, 55, 55, 55, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 240, 28, 55, 55, 55, 55, 55, 55, 41, 104, 104, 104, 104, 104, 104, 104, 104, 104, 42, 55, 55, 55, 55, 55, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 256, 13, 15, 14, 15, 15, 15, 14, 14, 14, 15, 16, 104, 104, 104, 13, 14, 14, 14, 14, 14, 15, 16, 55, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 272, 29, 31, 30, 31, 31, 31, 30, 30, 30, 31, 32, 104, 104, 104, 29, 30, 30, 30, 30, 30, 31, 32, 55, 75, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 215, 45, 47, 46, 47, 47, 47, 46, 46, 46, 47, 48, 104, 104, 104, 45, 46, 46, 46, 46, 46, 47, 48, 217, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 231, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 104, 104, 104, 232, 232, 232, 232, 232, 232, 113, 232, 233, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 231, 232, 148, 232, 232, 232, 232, 232, 232, 232, 232, 232, 104, 104, 104, 232, 232, 232, 232, 232, 232, 232, 232, 233, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 231, 104, 104, 235, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 234, 104, 233, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 231, 104, 104, 233, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 231, 104, 233, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 231, 104, 104, 219, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 218, 104, 233, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 231, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 129, 104, 233, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 231, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 233, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 9, 247, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 104, 104, 104, 104, 248, 248, 248, 248, 248, 248, 248, 248, 249, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 14, 16, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 16, 30, 32, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 32, 46, 48, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 48, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 129, 104, 104, 104, 104, 104, 117, 118, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 104, 104, 104, 104, 104, 133, 133, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 104, 116, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 117, 118, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 133, 134, 104, 104, 104, 104, 104, 104, 24, 55, 23, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 104, 104, 40, 55, 23, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 104, 104, 40, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 9, 104, 104, 104, 104, 104, 104, 104, 104, 10, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 14, 14, 15, 14, 15, 14, 8, 55, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 30, 30, 31, 30, 31, 30, 42, 55, 55, 39, 116, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 46, 46, 47, 46, 47, 46, 42, 55, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 114, 104, 104, 104, 104, 26, 55, 55, 23, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 104, 104, 104, 104, 104, 40, 55, 55, 23, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 104, 104, 104, 104, 104, 26, 55, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 104, 104, 104, 104, 104, 26, 55, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 40, 55, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 9, 232, 104, 104, 232, 232, 232, 10, 55, 55, 39, 104, 113, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 41, 104, 26, 55, 55, 55, 55, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 41, 104, 42, 55, 55, 55, 55, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 14, 14, 14, 15, 8, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 16, 104, 42, 55, 55, 55, 55, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 30, 30, 30, 31, 13, 14, 14, 14, 14, 14, 15, 14, 14, 14, 16, 32, 113, 13, 14, 14, 14, 14, 14, 16, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 46, 46, 46, 47, 29, 30, 30, 30, 30, 30, 31, 30, 30, 30, 32, 48, 104, 29, 30, 30, 30, 30, 30, 32, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 116, 104, 104, 104, 104, 45, 46, 46, 46, 46, 46, 47, 46, 46, 46, 48, 104, 104, 45, 46, 46, 46, 46, 46, 48, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 104, 104, 130, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 104, 104, 104, 104, 18, 18, 18, 18, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 10, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 104, 104, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 223, 223, 223, 8, 55, 55, 55, 55, 55, 55, 55, 55, 55, 104, 104, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 199, 68, 69, 70, 13, 14, 15, 14, 15, 14, 15, 15, 15, 16, 104, 104, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 199, 84, 85, 86, 29, 30, 31, 30, 31, 30, 31, 31, 31, 32, 104, 113, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 199, 100, 101, 102, 45, 46, 47, 46, 47, 46, 46, 46, 47, 48, 104, 104, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 41, 145, 145, 148, 145, 145, 145, 145, 145, 145, 104, 104, 104, 104, 104, 104, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 41, 145, 145, 145, 145, 145, 145, 132, 145, 104, 104, 104, 104, 104, 104, 104, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 9, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 10, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 51, 55, 55, 55, 55, 55, 55, 55, 55, 51, 51, 51, 51, 51, 51, 51, 51, 51, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 51, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55 } }, { type = "tilelayer", name = "1-detail", x = 0, y = 0, width = 60, height = 120, visible = true, opacity = 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 327, 0, 0, 0, 0, 0, 146, 146, 0, 161, 0, 161, 145, 145, 0, 0, 329, 161, 146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 61, 0, 14, 14, 15, 15, 8, 25, 0, 327, 0, 146, 146, 146, 0, 0, 0, 230, 0, 0, 161, 161, 161, 0, 0, 329, 161, 146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 24, 0, 30, 30, 31, 31, 26, 41, 0, 327, 0, 146, 146, 146, 0, 0, 0, 0, 0, 0, 161, 146, 0, 0, 0, 329, 0, 146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 41, 0, 40, 0, 46, 46, 47, 47, 42, 41, 0, 327, 146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 329, 0, 146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 40, 0, 0, 146, 0, 0, 26, 41, 146, 343, 344, 344, 344, 344, 344, 344, 344, 346, 344, 344, 344, 344, 344, 344, 344, 345, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 40, 0, 0, 0, 0, 0, 42, 41, 146, 146, 0, 0, 0, 0, 161, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 40, 55, 62, 64, 0, 61, 55, 62, 62, 63, 63, 62, 63, 62, 63, 64, 0, 161, 0, 61, 62, 62, 62, 62, 62, 62, 62, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 13, 14, 14, 15, 15, 15, 15, 15, 15, 15, 16, 0, 161, 0, 0, 14, 15, 14, 15, 14, 15, 14, 15, 14, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 29, 30, 30, 31, 31, 31, 31, 31, 31, 31, 32, 147, 115, 115, 0, 30, 31, 30, 31, 30, 31, 30, 31, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 45, 46, 46, 47, 47, 47, 47, 47, 47, 47, 48, 0, 161, 147, 0, 46, 47, 46, 47, 46, 47, 46, 47, 46, 13, 15, 15, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 161, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 31, 31, 26, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 353, 353, 353, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 354, 354, 354, 354, 354, 354, 354, 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 354, 354, 354, 354, 354, 354, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 353, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 353, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 353, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 353, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 353, 0, 0, 0, 0, 353, 353, 0, 353, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 353, 0, 0, 0, 0, 353, 353, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 353, 353, 353, 353, 353, 353, 353, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 353, 354, 354, 354, 354, 353, 353, 0, 353, 353, 353, 353, 353, 353, 353, 353, 0, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 353, 354, 354, 354, 354, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 353, 353, 353, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 0, 0, 353, 354, 353, 0, 0, 0, 353, 353, 0, 0, 0, 0, 353, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 0, 0, 353, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 353, 353, 353, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 353, 353, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 354, 353, 0, 353, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 0, 353, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 354, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 354, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 353, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 0, 0, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 0, 0, 0, 0, 0, 0, 0, 353, 353, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 353, 0, 0, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 354, 354, 354, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 353, 353, 0, 353, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 354, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 354, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 353, 353, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 353, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 353, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 353, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 353, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 353, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 354, 353, 353, 353, 353, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 0, 0, 0, 0, 0, 353, 354, 354, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 353, 353, 353, 353, 353, 353, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } } } } end
mit
dinodeck/ninety_nine_days_of_dev
006_magic_menu/map/map_cave.lua
6
159630
function CreateCaveMap(state) local id = "cave" local caveState = state.maps[id] local gemstoneId = 14 local keystoneId = 15 local encountersCave = { -- 0. Yellow, nearly everywhere { { oddment = 120, item = {} }, { oddment = 3, item = { background = "combat_bg_cave.png", enemy = { "cave_bat", "cave_bat", "cave_bat", } } }, { oddment = 2, item = { background = "combat_bg_cave.png", enemy = { "cave_bat", "cave_shade", "cave_bat", } } }, { oddment = 1, item = { background = "combat_bg_cave.png", enemy = { "cave_bat", "cave_bat", "cave_bat", "cave_bat", } } } }, -- 2. Pink, corridors of death { { oddment = 95, item = {} }, { oddment = 5, item = { background = "combat_bg_field.png", enemy = { "cave_shade", "cave_shade", "cave_shade", } } } } } local TakeGem = function(map, trigger, entity, x, y, layer) print("Taking gem.", map, trigger, x, y, layer) -- Clear them gem from the deco layer -- Layer 2 Background: 4 -- Layer 2 Detail: 4 + 1 = 5 local tiles = map.mMapDef.layers[5].data tiles[map:CoordToIndex(x, y - 1)] = 0 map:RemoveTrigger(x, y, layer) gGame.World:AddKey(gemstoneId) local combatDef = { background = "combat_bg_cave.png", enemy = { "cave_drake" }, canFlee = false, OnWin = function() state.defeated_cave_drake = true end } local sayDef = { textScale = 1.5 } local bossTalk = { SOP.Say("handin", "hero", "Gemstone received.", 1.3, sayDef), SOP.Say("handin", "hero", "Trespass in MY house?", 3.2, sayDef), SOP.Say("handin", "hero", "KILL MY SERVANTS?", 3.2, sayDef), SOP.Say("handin", "hero", "STEAL?", 3.2, sayDef), SOP.Say("handin", "hero", "You must be punished!", 3, sayDef), SOP.RunAction("Combat", { map, combatDef }), SOP.HandOff("handin"), } -- Then storyboard local storyboard = Storyboard:Create(gGame.Stack, bossTalk, true) gGame.Stack:Push(storyboard) end local LeaveAltarArea = function(map, trigger, entity, x, y, layer) local tileTeleportId = 198 local tileDirtId = 104 -- Do you have gem? if not gGame.World:HasKey(gemstoneId) then return end -- Is the teleporter added? print("Leaving altar with gemstone.") local trigger = map:GetTrigger(27, 28, 1) if trigger then return end map:WriteTile { x = 27, y = 28, layer = 1, tile = tileDirtId, detail = tileTeleportId } local trigger = Trigger:Create { OnEnter = function() entity:SetTilePos(12, 111, 1, map) end } map:AddFullTrigger(trigger, 27, 28, 1) end local InsertGem = function(map, trigger, entity, x, y, layer) local tileGemId = 214 -- test the save state here! map:WriteTile { x = 27, y = 23, layer = 2, tile = 0, detail = tileGemId } end local KeyStoneInteract = function(map, trigger, entity, x, y, layer) layer = layer or 1 local entity = map:GetEntity(x, y, layer) map:RemoveEntity(entity) map:RemoveTrigger(x, y, layer) gGame.World:AddKey(keystoneId) gGame.Stack:PushFit(gRenderer, 0, 0, "Keystone received.") end local DoorPlateInteract = function(map, trigger, entity, x, y, layer) layer = layer or 1 if gGame.World:HasKey(keystoneId) then map:RemoveTrigger(x, y, layer) gGame.World:RemoveKey(keystoneId) local sphere = Entity:Create(gEntities['sphere']) sphere:SetTilePos(x, y, layer, map) local leftDoor = map:GetEntity(39, 39, 1) local rightDoor = map:GetEntity(40, 39, 1) local leftAnim = { gEntities['door_left'].frames, false } local rightAnim = { gEntities['door_right'].frames, false } local sayDef = { textScale = 1.5 } local storyboard = { SOP.Say("handin", "hero", "Keystone removed.", 1, sayDef), SOP.NoBlock(SOP.Animate(leftDoor, leftAnim)), SOP.Animate(rightDoor, rightAnim), SOP.Function( function() map:RemoveEntity(leftDoor) map:RemoveEntity(rightDoor) caveState.completed_puzzle = true end), SOP.HandOff("handin") } gGame.Stack:Push(Storyboard:Create(gGame.Stack, storyboard, true)) else local sayX, sayY = map:TileToScreen(x, y - 1) gGame.Stack:PushFit(gRenderer, sayX, sayY, "Looks like something goes here...") end end local SetupDoorPuzzle = function(map, trigger, entity, x, y, layer) local tileDoorPlateId = 182 local isFourthTileFilled = false if caveState.completed_puzzle then isFourthTileFilled = true end local tileLocations = { { 39, 56, true}, { 42, 56, true}, { 38, 41, true}, { 41, 41, isFourthTileFilled} } local keyX = 56 local keyY = 40 for k, v in ipairs(tileLocations) do local x = v[1] local y = v[2] local isFilled = v[3] map:WriteTile { x = x, y = y, layer = 1, tile = tileDoorPlateId, collision = true } if isFilled then -- Need sphere entity def local sphere = Entity:Create(gEntities['sphere']) sphere:SetTilePos(x, y, 1, map) else local trigger = Trigger:Create { OnUse = function(...) DoorPlateInteract(map, ...) end } map:AddFullTrigger(trigger, x, y, 1) end end if caveState.completed_puzzle then -- Don't proceed after this point if the puzzle -- is already solved. -- This stops the keystone being added -- The doors being added. return end if not gGame.World:HasKey(keystoneId) then -- Add the key sphere local key = Entity:Create(gEntities['sphere']) key:SetTilePos(keyX, keyY, 1, map) -- We need to add a trigger for the keystone local keyTrigger = Trigger:Create { OnUse = function(...) KeyStoneInteract(map, ...) end } map:AddFullTrigger(keyTrigger, keyX, keyY, 1) end local doorLeft = Entity:Create(gEntities['door_left']) local doorRight = Entity:Create(gEntities['door_right']) doorLeft:SetTilePos(39, 39, 1, map) doorRight:SetTilePos(40, 39, 1, map) end return { id = id, name = "Cave", can_save = false, version = "1.1", luaversion = "5.1", orientation = "orthogonal", width = 60, height = 120, tilewidth = 16, tileheight = 16, properties = {}, encounters = encountersCave, on_wake = { { id = "RunScript", params = { InsertGem } }, { id = "RunScript", params = { SetupDoorPuzzle } }, { id = "AddChest", params = { "chest", { { id = 10 } }, 39, 92 }, }, { id = "AddSavePoint", params = { 26, 29, 1 } }, { id = "AddChest", params = { "chest", { { id = 10 } }, 12, 27 }, }, -- Testing -- { -- id = "AddChest", -- params = { "chest", { { id = 10 } }, 11, 112 }, -- }, -- { -- id = "AddChest", -- params = { "chest", { { id = 10 } }, 12, 112 }, -- }, }, actions = { take_gem = { id = "RunScript", params = { TakeGem } }, leave_with_gem = { id = "RunScript", params = { LeaveAltarArea } }, to_world_map = { id = "ChangeMap", params = { "world", 23, 4 } }, }, trigger_types = { use_altar = { OnUse = "take_gem" }, leave_altar = { OnExit = "leave_with_gem" }, leave_cave = { OnEnter = "to_world_map" }, }, triggers = { { trigger = "use_altar", x = 27, y = 24 }, { trigger = "leave_altar", x = 27, y = 23 }, { trigger = "leave_altar", x = 28, y = 24 }, { trigger = "leave_altar", x = 26, y = 24 }, { trigger = "leave_altar", x = 27, y = 25 }, { trigger = "leave_cave", x = 11, y = 109 }, { trigger = "leave_cave", x = 12, y = 109 }, { trigger = "leave_cave", x = 13, y = 109 }, }, tilesets = { { name = "cave_tileset", firstgid = 1, tilewidth = 16, tileheight = 16, spacing = 0, margin = 0, image = "cave_tileset.png", imagewidth = 256, imageheight = 352, properties = {}, tiles = {} }, { name = "collision_graphic", firstgid = 353, tilewidth = 16, tileheight = 16, spacing = 0, margin = 0, image = "../../quests-3/collision_graphic.png", imagewidth = 32, imageheight = 32, properties = {}, tiles = {} } }, layers = { { type = "tilelayer", name = "0-background", x = 0, y = 0, width = 60, height = 120, visible = true, opacity = 1, properties = {}, encoding = "lua", data = { 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 14, 14, 14, 15, 15, 15, 15, 14, 15, 15, 15, 15, 14, 14, 14, 15, 14, 15, 14, 14, 15, 15, 8, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 30, 30, 30, 31, 31, 31, 31, 31, 31, 31, 31, 31, 30, 31, 30, 31, 30, 31, 30, 30, 31, 31, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 46, 46, 46, 47, 47, 46, 46, 46, 46, 46, 46, 47, 46, 46, 46, 47, 46, 47, 46, 46, 47, 47, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 9, 18, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 146, 146, 146, 146, 146, 146, 146, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 146, 146, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 146, 146, 146, 146, 146, 146, 146, 1, 14, 14, 15, 15, 15, 15, 14, 15, 16, 146, 146, 13, 14, 14, 15, 14, 15, 15, 14, 15, 8, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 232, 232, 232, 232, 232, 232, 55, 30, 30, 31, 31, 31, 31, 30, 31, 32, 146, 146, 29, 30, 30, 31, 30, 31, 31, 30, 31, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 26, 55, 55, 55, 55, 55, 55, 46, 46, 47, 47, 47, 47, 46, 47, 48, 146, 146, 45, 46, 46, 47, 46, 47, 47, 46, 47, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 42, 55, 55, 55, 55, 55, 0, 104, 104, 104, 104, 104, 104, 104, 104, 104, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 42, 55, 55, 55, 55, 55, 0, 104, 104, 104, 104, 104, 104, 104, 104, 104, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 42, 55, 55, 55, 55, 55, 55, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 42, 55, 55, 55, 55, 55, 55, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 149, 145, 145, 145, 145, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 42, 55, 55, 55, 55, 55, 55, 145, 145, 145, 145, 104, 145, 145, 145, 145, 145, 145, 145, 146, 146, 146, 146, 145, 145, 145, 145, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 55, 55, 55, 55, 55, 55, 55, 145, 145, 145, 145, 146, 145, 145, 145, 145, 145, 113, 145, 146, 145, 146, 145, 145, 145, 145, 145, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 25, 55, 55, 55, 55, 55, 55, 145, 145, 145, 145, 149, 146, 146, 146, 145, 145, 129, 145, 145, 145, 146, 145, 145, 145, 145, 145, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 25, 55, 55, 55, 55, 55, 55, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 41, 104, 104, 104, 104, 104, 55, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 149, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 41, 104, 104, 104, 104, 104, 55, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 41, 104, 146, 104, 104, 104, 55, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 162, 232, 232, 232, 232, 232, 232, 232, 232, 10, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 13, 14, 14, 16, 146, 146, 55, 55, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 145, 13, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 29, 30, 30, 32, 146, 146, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 145, 145, 145, 29, 55, 55, 55, 55, 55, 55, 55, 55, 55, 40, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 45, 46, 46, 48, 146, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 145, 145, 145, 45, 55, 55, 55, 104, 104, 55, 55, 55, 55, 13, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 146, 145, 145, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 29, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 55, 55, 232, 146, 232, 232, 232, 104, 104, 104, 104, 104, 104, 104, 194, 145, 146, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 45, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 7, 15, 16, 146, 13, 15, 8, 55, 55, 55, 55, 55, 55, 55, 55, 145, 104, 145, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 146, 25, 31, 32, 146, 29, 31, 26, 55, 55, 55, 55, 55, 55, 55, 55, 145, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 78, 78, 79, 8, 55, 55, 55, 55, 55, 55, 55, 55, 55, 9, 104, 104, 25, 47, 48, 146, 45, 47, 26, 55, 55, 55, 55, 55, 55, 55, 55, 145, 145, 145, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 14, 15, 16, 94, 94, 95, 232, 55, 55, 55, 55, 55, 55, 55, 55, 55, 51, 55, 55, 25, 145, 145, 146, 146, 145, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 14, 16, 104, 104, 13, 14, 15, 8, 55, 55, 55, 55, 55, 55, 55, 30, 31, 32, 46, 46, 47, 232, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 25, 145, 145, 145, 145, 145, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 16, 30, 32, 104, 104, 29, 30, 31, 13, 8, 55, 55, 55, 55, 55, 55, 46, 47, 48, 104, 104, 104, 232, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 25, 145, 145, 145, 145, 145, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 25, 32, 46, 48, 104, 104, 45, 46, 47, 29, 26, 55, 55, 55, 55, 55, 104, 104, 104, 104, 104, 104, 104, 232, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 25, 145, 145, 145, 145, 145, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 25, 48, 104, 104, 104, 104, 104, 104, 104, 45, 26, 55, 55, 55, 55, 55, 104, 104, 104, 104, 104, 104, 104, 232, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 9, 145, 145, 145, 145, 145, 10, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 25, 104, 104, 145, 146, 104, 104, 104, 104, 104, 26, 55, 55, 55, 55, 55, 104, 104, 104, 9, 232, 232, 232, 10, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 113, 161, 162, 162, 104, 104, 104, 104, 26, 55, 55, 55, 55, 55, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 104, 104, 104, 13, 14, 15, 14, 14, 15, 16, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 104, 104, 104, 29, 30, 31, 30, 30, 31, 32, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 104, 104, 104, 104, 104, 104, 104, 116, 45, 46, 47, 46, 46, 47, 48, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 117, 118, 104, 104, 104, 104, 104, 104, 113, 149, 104, 113, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 133, 134, 104, 104, 104, 104, 148, 104, 104, 113, 113, 146, 146, 146, 146, 146, 146, 10, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 40, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 40, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 14, 15, 15, 16, 104, 104, 13, 14, 15, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 30, 31, 31, 32, 104, 104, 29, 30, 31, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 46, 47, 47, 48, 104, 104, 45, 46, 47, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 104, 104, 162, 104, 104, 104, 104, 104, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 104, 104, 162, 162, 162, 162, 104, 104, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 25, 104, 104, 104, 162, 104, 104, 162, 104, 104, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 25, 104, 104, 104, 104, 104, 104, 104, 104, 104, 26, 55, 55, 55, 55, 7, 8, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 223, 8, 55, 55, 55, 55, 55, 55, 25, 104, 104, 104, 104, 104, 104, 104, 104, 104, 26, 55, 55, 55, 55, 55, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 240, 28, 55, 55, 55, 55, 55, 55, 41, 104, 104, 104, 104, 104, 104, 104, 104, 104, 42, 55, 55, 55, 55, 55, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 256, 13, 15, 14, 15, 15, 15, 14, 14, 14, 15, 16, 104, 104, 104, 13, 14, 14, 14, 14, 14, 15, 16, 55, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 272, 29, 31, 30, 31, 31, 31, 30, 30, 30, 31, 32, 104, 104, 104, 29, 30, 30, 30, 30, 30, 31, 32, 55, 75, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 215, 45, 47, 46, 47, 47, 47, 46, 46, 46, 47, 48, 104, 104, 104, 45, 46, 46, 46, 46, 46, 47, 48, 217, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 231, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 232, 104, 104, 104, 232, 232, 232, 232, 232, 232, 113, 232, 233, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 231, 232, 148, 232, 232, 232, 232, 232, 232, 232, 232, 232, 104, 104, 104, 232, 232, 232, 232, 232, 232, 232, 232, 233, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 231, 104, 104, 235, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 234, 104, 233, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 231, 104, 104, 233, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 220, 231, 104, 233, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 231, 104, 104, 219, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 216, 218, 104, 233, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 231, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 129, 104, 233, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 231, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 233, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 9, 247, 248, 248, 248, 248, 248, 248, 248, 248, 248, 248, 104, 104, 104, 104, 248, 248, 248, 248, 248, 248, 248, 248, 249, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 14, 16, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 16, 30, 32, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 32, 46, 48, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 48, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 129, 104, 104, 104, 104, 104, 117, 118, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 104, 104, 104, 104, 104, 133, 133, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 104, 116, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 117, 118, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 133, 134, 104, 104, 104, 104, 104, 104, 24, 55, 23, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 104, 104, 40, 55, 23, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 104, 104, 40, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 9, 104, 104, 104, 104, 104, 104, 104, 104, 10, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 14, 14, 15, 14, 15, 14, 8, 55, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 30, 30, 31, 30, 31, 30, 42, 55, 55, 39, 116, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 46, 46, 47, 46, 47, 46, 42, 55, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 114, 104, 104, 104, 104, 26, 55, 55, 23, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 104, 104, 104, 104, 104, 40, 55, 55, 23, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 104, 104, 104, 104, 104, 26, 55, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 104, 104, 104, 104, 104, 104, 26, 55, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 104, 104, 104, 104, 104, 104, 40, 55, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 9, 232, 104, 104, 232, 232, 232, 10, 55, 55, 39, 104, 113, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 41, 104, 26, 55, 55, 55, 55, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 41, 104, 42, 55, 55, 55, 55, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 14, 14, 14, 15, 8, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 16, 104, 42, 55, 55, 55, 55, 55, 39, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 39, 30, 30, 30, 31, 13, 14, 14, 14, 14, 14, 15, 14, 14, 14, 16, 32, 113, 13, 14, 14, 14, 14, 14, 16, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 23, 46, 46, 46, 47, 29, 30, 30, 30, 30, 30, 31, 30, 30, 30, 32, 48, 104, 29, 30, 30, 30, 30, 30, 32, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 116, 104, 104, 104, 104, 45, 46, 46, 46, 46, 46, 47, 46, 46, 46, 48, 104, 104, 45, 46, 46, 46, 46, 46, 48, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 104, 104, 130, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 104, 104, 104, 104, 18, 18, 18, 18, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 10, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 146, 104, 104, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 7, 223, 223, 223, 8, 55, 55, 55, 55, 55, 55, 55, 55, 55, 104, 104, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 199, 68, 69, 70, 13, 14, 15, 14, 15, 14, 15, 15, 15, 16, 104, 104, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 199, 84, 85, 86, 29, 30, 31, 30, 31, 30, 31, 31, 31, 32, 104, 113, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 199, 100, 101, 102, 45, 46, 47, 46, 47, 46, 46, 46, 47, 48, 104, 104, 26, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 41, 145, 145, 148, 145, 145, 145, 145, 145, 145, 104, 104, 104, 104, 104, 104, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 41, 145, 145, 145, 145, 145, 145, 132, 145, 104, 104, 104, 104, 104, 104, 104, 42, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 9, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 104, 10, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 51, 55, 55, 55, 55, 55, 55, 55, 55, 51, 51, 51, 51, 51, 51, 51, 51, 51, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 51, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55, 55 } }, { type = "tilelayer", name = "1-detail", x = 0, y = 0, width = 60, height = 120, visible = true, opacity = 1, properties = {}, encoding = "lua", data = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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0, 23, 0, 311, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 312, 313, 161, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 327, 0, 146, 0, 0, 0, 0, 0, 0, 0, 146, 146, 146, 0, 0, 0, 329, 161, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 327, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 146, 145, 0, 0, 329, 161, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 327, 0, 0, 0, 0, 0, 146, 146, 0, 161, 0, 161, 145, 145, 0, 0, 329, 161, 146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 61, 0, 14, 14, 15, 15, 8, 25, 0, 327, 0, 146, 146, 146, 0, 0, 0, 230, 0, 0, 161, 161, 161, 0, 0, 329, 161, 146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 24, 0, 30, 30, 31, 31, 26, 41, 0, 327, 0, 146, 146, 146, 0, 0, 0, 0, 0, 0, 161, 146, 0, 0, 0, 329, 0, 146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 41, 0, 40, 0, 46, 46, 47, 47, 42, 41, 0, 327, 146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 329, 0, 146, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 40, 0, 0, 146, 0, 0, 26, 41, 146, 343, 344, 344, 344, 344, 344, 344, 344, 346, 344, 344, 344, 344, 344, 344, 344, 345, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 40, 0, 0, 0, 0, 0, 42, 41, 146, 146, 0, 0, 0, 0, 161, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 40, 55, 62, 64, 0, 61, 55, 62, 62, 63, 63, 62, 63, 62, 63, 64, 0, 161, 0, 61, 62, 62, 62, 62, 62, 62, 62, 63, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 13, 14, 14, 15, 15, 15, 15, 15, 15, 15, 16, 0, 161, 0, 0, 14, 15, 14, 15, 14, 15, 14, 15, 14, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 0, 0, 0, 0, 0, 0, 29, 30, 30, 31, 31, 31, 31, 31, 31, 31, 32, 147, 115, 115, 0, 30, 31, 30, 31, 30, 31, 30, 31, 30,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 354, 354, 354, 354, 354, 354, 354, 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 354, 354, 354, 354, 354, 354, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 353, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 353, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 353, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 353, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 353, 0, 0, 0, 0, 353, 353, 0, 353, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 353, 0, 0, 0, 0, 353, 353, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 353, 353, 353, 353, 353, 353, 353, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 353, 354, 354, 354, 354, 353, 353, 0, 353, 353, 353, 353, 353, 353, 353, 353, 0, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 353, 354, 354, 354, 354, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 353, 353, 353, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 0, 0, 353, 354, 353, 0, 0, 0, 353, 353, 0, 0, 0, 0, 353, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 0, 0, 353, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 353, 353, 353, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, 355, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 353, 353, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 354, 353, 0, 353, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 0, 353, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 354, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 354, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 353, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 0, 0, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 0, 0, 0, 0, 0, 0, 0, 353, 353, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0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0, 0, 0, 0, 0, 0, 0, 353, 353, 0, 353, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 354, 354, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 354, 354, 354, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 353, 353, 0, 353, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 354, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 2684354913, 354, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 354, 354, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 354, 354, 354, 354, 354, 354, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 353, 353, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 353, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 353, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 353, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 353, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 353, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 354, 353, 353, 353, 353, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 353, 0, 0, 0, 0, 0, 353, 354, 354, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 353, 353, 353, 353, 353, 353, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 354, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 353, 0, 0, 0, 0, 0, 0, 0, 0, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 0, 0, 0, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 354, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 353, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } } } } end
mit
RedeMinas/portal
lib_icon.lua
1
2010
function mainIcon() local icon = canvas:new("media/icon.png") canvas:attrColor(0,0,0,0) canvas:clear(0,0, GRID*32, GRID*18) canvas:compose(GRID*28,GRID*15,icon) canvas:flush() end function mainIconAnimBak() local icon = canvas:new("media/icon.png") local icon2 = canvas:new("media/icon2.png") while( MENUON == false) do canvas:attrColor(0,0,0,0) canvas:clear(0,0, GRID*32, GRID*18) if ICON.state < 50 then ICON.state=ICON.state+1 canvas:compose(GRID*28,GRID*15,icon) elseif ICON.state >= 50 and ICON.state < 100 then ICON.state = ICON.state+1 canvas:compose(GRID*28,GRID*15,icon2) elseif ICON.state == 100 then ICON.state =1 end canvas:flush() coroutine.yield() -- sleep... end end function mainIconAnim() canvas:attrColor(0,0,0,0) canvas:clear(0,0, GRID*32, GRID*18) local icon = canvas:new("media/icon.png") local icon2 = canvas:new("media/icon2.png") local posx=GRID*29 local posy=GRID*16 local cycles = 50 local iconDx,iconDy = icon:attrSize() while(not MENUON) do canvas:attrColor(0,0,0,0) canvas:clear(posx,posy,iconDx,iconDy) if (ICON.pos == 1) then posx=GRID*29 posy=GRID*16 elseif (ICON.pos ==2) then posx=GRID*1 posy=GRID*16 elseif (ICON.pos ==3) then posx=GRID*1 posy=GRID*1 else posx=GRID*29 posy=GRID*1 end if ICON.state < cycles then ICON.state=ICON.state+1 canvas:compose(posx,posy,icon) elseif ICON.state >= cycles and ICON.state < (cycles*2) then ICON.state = ICON.state+1 canvas:compose(posx,posy,icon2) elseif ICON.state == (cycles*2) then ICON.state =1 end canvas:flush() coroutine.yield() -- sleep... end end comainIcon = coroutine.create(mainIconAnim) function mainIconUpdate() --print (coroutine.status(comainIcon)) coroutine.resume(comainIcon) if coroutine.status(comainIcon) ~= 'dead' then event.timer(300,mainIconUpdate) end end
agpl-3.0
lukego/ljsyscall
include/types.lua
1
30637
-- Linux kernel types -- these are either simple ffi types or ffi metatypes for the kernel types -- plus some Lua metatables for types that cannot be sensibly done as Lua types eg arrays, integers -- TODO this currently requires being called with S from syscall which breaks modularity -- TODO should fix this, should just need constants (which it could return) -- note that some types will be overridden, eg default fd type will have metamethods added TODO document and test local ffi = require "ffi" local bit = require "bit" require "include.headers" local c = require "include.constants" local C = ffi.C -- for inet_pton etc, due to be replaced with Lua local types = {} local t, pt, s, ctypes = {}, {}, {}, {} -- types, pointer types and sizes tables types.t, types.pt, types.s, types.ctypes = t, pt, s, ctypes local mt = {} -- metatables local meth = {} -- use 64 bit stat type always local stattypename = "struct stat" if ffi.abi("32bit") then stattypename = "struct stat64" end -- makes code tidier local function istype(tp, x) if ffi.istype(tp, x) then return x else return false end end -- TODO cleanup this (what should provide this?) local signal_reasons_gen = {} local signal_reasons = {} for k, v in pairs(c.SI) do signal_reasons_gen[v] = k end signal_reasons[c.SIG.ILL] = {} for k, v in pairs(c.SIGILL) do signal_reasons[c.SIG.ILL][v] = k end signal_reasons[c.SIG.FPE] = {} for k, v in pairs(c.SIGFPE) do signal_reasons[c.SIG.FPE][v] = k end signal_reasons[c.SIG.SEGV] = {} for k, v in pairs(c.SIGSEGV) do signal_reasons[c.SIG.SEGV][v] = k end signal_reasons[c.SIG.BUS] = {} for k, v in pairs(c.SIGBUS) do signal_reasons[c.SIG.BUS][v] = k end signal_reasons[c.SIG.TRAP] = {} for k, v in pairs(c.SIGTRAP) do signal_reasons[c.SIG.TRAP][v] = k end signal_reasons[c.SIG.CHLD] = {} for k, v in pairs(c.SIGCLD) do signal_reasons[c.SIG.CHLD][v] = k end signal_reasons[c.SIG.POLL] = {} for k, v in pairs(c.SIGPOLL) do signal_reasons[c.SIG.POLL][v] = k end -- endian conversion -- TODO add tests eg for signs. local htonl, htons if ffi.abi("be") then -- nothing to do function htonl(b) return b end else function htonl(b) return bit.bswap(b) end function htons(b) return bit.rshift(bit.bswap(b), 16) end end local ntohl = htonl -- reverse is the same local ntohs = htons -- reverse is the same -- functions we use from man(3) local function strerror(errno) return ffi.string(ffi.C.strerror(errno)) end -- Lua type constructors corresponding to defined types -- basic types -- cast to pointer to a type. could generate for all types. local function ptt(tp) local ptp = ffi.typeof("$ *", tp) return function(x) return ffi.cast(ptp, x) end end local function addtype(name, tp, mt) if mt then t[name] = ffi.metatype(tp, mt) else t[name] = ffi.typeof(tp) end ctypes[tp] = t[name] pt[name] = ptt(t[name]) s[name] = ffi.sizeof(t[name]) end local metatype = addtype local addtypes = { char = "char", uchar = "unsigned char", int = "int", uint = "unsigned int", uint16 = "uint16_t", int32 = "int32_t", uint32 = "uint32_t", int64 = "int64_t", uint64 = "uint64_t", long = "long", ulong = "unsigned long", uintptr = "uintptr_t", size = "size_t", mode = "mode_t", dev = "dev_t", loff = "loff_t", pid = "pid_t", aio_context = "aio_context_t", sa_family = "sa_family_t", fdset = "fd_set", msghdr = "struct msghdr", cmsghdr = "struct cmsghdr", ucred = "struct ucred", sysinfo = "struct sysinfo", epoll_event = "struct epoll_event", nlmsghdr = "struct nlmsghdr", rtgenmsg = "struct rtgenmsg", rtmsg = "struct rtmsg", ifinfomsg = "struct ifinfomsg", ifaddrmsg = "struct ifaddrmsg", rtattr = "struct rtattr", rta_cacheinfo = "struct rta_cacheinfo", nlmsgerr = "struct nlmsgerr", timex = "struct timex", utsname = "struct utsname", fdb_entry = "struct fdb_entry", iocb = "struct iocb", sighandler = "sighandler_t", sigaction = "struct sigaction", clockid = "clockid_t", io_event = "struct io_event", seccomp_data = "struct seccomp_data", iovec = "struct iovec", rtnl_link_stats = "struct rtnl_link_stats", statfs = "struct statfs64", ifreq = "struct ifreq", dirent = "struct linux_dirent64", ifa_cacheinfo = "struct ifa_cacheinfo", flock = "struct flock64", mqattr = "struct mq_attr", } for k, v in pairs(addtypes) do addtype(k, v) end -- these ones not in table as not helpful with vararg or arrays t.inotify_event = ffi.typeof("struct inotify_event") t.epoll_events = ffi.typeof("struct epoll_event[?]") -- TODO add metatable, like pollfds t.io_events = ffi.typeof("struct io_event[?]") t.iocbs = ffi.typeof("struct iocb[?]") t.iocb_ptrs = ffi.typeof("struct iocb *[?]") t.string_array = ffi.typeof("const char *[?]") t.ints = ffi.typeof("int[?]") t.buffer = ffi.typeof("char[?]") t.int1 = ffi.typeof("int[1]") t.int64_1 = ffi.typeof("int64_t[1]") t.uint64_1 = ffi.typeof("uint64_t[1]") t.socklen1 = ffi.typeof("socklen_t[1]") t.off1 = ffi.typeof("off_t[1]") t.loff1 = ffi.typeof("loff_t[1]") t.uid1 = ffi.typeof("uid_t[1]") t.gid1 = ffi.typeof("gid_t[1]") t.int2 = ffi.typeof("int[2]") t.timespec2 = ffi.typeof("struct timespec[2]") -- still need pointers to these pt.inotify_event = ptt(t.inotify_event) -- types with metatypes -- fd type. This will be overridden by syscall as it adds methods -- so this is the minimal one necessary to provide the interface eg does not gc file -- TODO add tests once types is standalone --[[ mt.fd = { __index = { getfd = function(fd) return fd.fileno end, }, __new = function(tp, i) return istype(tp, i) or ffi.new(tp, i) end } metatype("fd", "struct {int fileno;}", mt.fd) ]] -- even simpler version, just pass numbers t.fd = function(fd) return tonumber(fd) end -- can replace with a different t.fd function local function getfd(fd) if type(fd) == "number" or ffi.istype(t.int, fd) then return fd end return fd:getfd() end metatype("error", "struct {int errno;}", { __tostring = function(e) return strerror(e.errno) end, __index = function(t, k) if k == 'sym' then return errsyms[t.errno] end if k == 'lsym' then return errsyms[t.errno]:sub(2):lower() end if c.E[k] then return c.E[k] == t.errno end local uk = c.E['E' .. k:upper()] if uk then return uk == t.errno end end, __new = function(tp, errno) if not errno then errno = ffi.errno() end return ffi.new(tp, errno) end }) -- cast socket address to actual type based on family local samap, samap2 = {}, {} meth.sockaddr = { index = { family = function(sa) return sa.sa_family end, } } metatype("sockaddr", "struct sockaddr", { __index = function(sa, k) if meth.sockaddr.index[k] then return meth.sockaddr.index[k](sa) end end, }) meth.sockaddr_storage = { index = { family = function(sa) return sa.ss_family end, }, newindex = { family = function(sa, v) sa.ss_family = c.AF[v] end, } } -- experiment, see if we can use this as generic type, to avoid allocations. metatype("sockaddr_storage", "struct sockaddr_storage", { __index = function(sa, k) if meth.sockaddr_storage.index[k] then return meth.sockaddr_storage.index[k](sa) end local st = samap2[sa.ss_family] if st then local cs = st(sa) return cs[k] end end, __newindex = function(sa, k, v) if meth.sockaddr_storage.newindex[k] then meth.sockaddr_storage.newindex[k](sa, v) return end local st = samap2[sa.ss_family] if st then local cs = st(sa) cs[k] = v end end, __new = function(tp, init) local ss = ffi.new(tp) local family if init and init.family then family = c.AF[init.family] end local st if family then st = samap2[family] ss.ss_family = family init.family = nil end if st then local cs = st(ss) for k, v in pairs(init) do cs[k] = v end end return ss end, }) meth.sockaddr_in = { index = { family = function(sa) return sa.sin_family end, port = function(sa) return ntohs(sa.sin_port) end, addr = function(sa) return sa.sin_addr end, }, newindex = { port = function(sa, v) sa.sin_port = htons(v) end } } metatype("sockaddr_in", "struct sockaddr_in", { __index = function(sa, k) if meth.sockaddr_in.index[k] then return meth.sockaddr_in.index[k](sa) end end, __newindex = function(sa, k, v) if meth.sockaddr_in.newindex[k] then meth.sockaddr_in.newindex[k](sa, v) end end, __new = function(tp, port, addr) -- TODO allow table init if not ffi.istype(t.in_addr, addr) then addr = t.in_addr(addr) if not addr then return end end return ffi.new(tp, c.AF.INET, htons(port or 0), addr) end }) meth.sockaddr_in6 = { index = { family = function(sa) return sa.sin6_family end, port = function(sa) return ntohs(sa.sin6_port) end, addr = function(sa) return sa.sin6_addr end, }, newindex = { port = function(sa, v) sa.sin6_port = htons(v) end } } metatype("sockaddr_in6", "struct sockaddr_in6", { __index = function(sa, k) if meth.sockaddr_in6.index[k] then return meth.sockaddr_in6.index[k](sa) end end, __newindex = function(sa, k, v) if meth.sockaddr_in6.newindex[k] then meth.sockaddr_in6.newindex[k](sa, v) end end, __new = function(tp, port, addr, flowinfo, scope_id) -- reordered initialisers. TODO allow table init if not ffi.istype(t.in6_addr, addr) then addr = t.in6_addr(addr) if not addr then return end end return ffi.new(tp, c.AF.INET6, htons(port or 0), flowinfo or 0, addr, scope_id or 0) end }) meth.sockaddr_un = { index = { family = function(sa) return sa.un_family end, }, } metatype("sockaddr_un", "struct sockaddr_un", { __index = function(sa, k) if meth.sockaddr_un.index[k] then return meth.sockaddr_un.index[k](sa) end end, __new = function(tp) return ffi.new(tp, c.AF.UNIX) end, }) -- this is a bit odd, but we actually use Lua metatables for sockaddr_un, and use t.sa to multiplex mt.sockaddr_un = { __index = function(un, k) local sa = un.addr if k == 'family' then return tonumber(sa.sun_family) end local namelen = un.addrlen - s.sun_family if namelen > 0 then if sa.sun_path[0] == 0 then if k == 'abstract' then return true end if k == 'name' then return ffi.string(rets.addr.sun_path, namelen) end -- should we also remove leading \0? else if k == 'name' then return ffi.string(rets.addr.sun_path) end end else if k == 'unnamed' then return true end end end } function t.sa(addr, addrlen) local family = addr.family if family == c.AF.UNIX then -- we return Lua metatable not metatype, as need length to decode local sa = t.sockaddr_un() ffi.copy(sa, addr, addrlen) return setmetatable({addr = sa, addrlen = addrlen}, mt.sockaddr_un) end return addr end local nlgroupmap = { -- map from netlink socket type to group names. Note there are two forms of name though, bits and shifts. [c.NETLINK.ROUTE] = c.RTMGRP, -- or RTNLGRP_ and shift not mask TODO make shiftflags function -- add rest of these -- [c.NETLINK.SELINUX] = c.SELNLGRP, } meth.sockaddr_nl = { index = { family = function(sa) return sa.nl_family end, pid = function(sa) return sa.nl_pid end, groups = function(sa) return sa.nl_groups end, }, newindex = { pid = function(sa, v) sa.nl_pid = v end, groups = function(sa, v) sa.nl_groups = v end, } } metatype("sockaddr_nl", "struct sockaddr_nl", { __index = function(sa, k) if meth.sockaddr_nl.index[k] then return meth.sockaddr_nl.index[k](sa) end end, __newindex = function(sa, k, v) if meth.sockaddr_nl.newindex[k] then meth.sockaddr_nl.newindex[k](sa, v) end end, __new = function(tp, pid, groups, nltype) if type(pid) == "table" then local tb = pid pid, groups, nltype = tb.nl_pid or tb.pid, tb.nl_groups or tb.groups, tb.type end if nltype and nlgroupmap[nltype] then groups = nlgroupmap[nltype][groups] end -- see note about shiftflags return ffi.new(tp, {nl_family = c.AF.NETLINK, nl_pid = pid, nl_groups = groups}) end, }) -- 64 to 32 bit conversions via unions TODO use meth not object? if ffi.abi("le") then mt.i6432 = { __index = { to32 = function(u) return u.i32[1], u.i32[0] end, } } else mt.i6432 = { __index = { to32 = function(u) return u.i32[0], u.i32[1] end, } } end t.i6432 = ffi.metatype("union {int64_t i64; int32_t i32[2];}", mt.i6432) t.u6432 = ffi.metatype("union {uint64_t i64; uint32_t i32[2];}", mt.i6432) -- Lua metatables where we cannot return an ffi type eg value is an array or integer or otherwise problematic -- TODO should we change to meth mt.device = { __index = { major = function(dev) local h, l = t.i6432(dev.dev):to32() return bit.bor(bit.band(bit.rshift(l, 8), 0xfff), bit.band(h, bit.bnot(0xfff))); end, minor = function(dev) local h, l = t.i6432(dev.dev):to32() return bit.bor(bit.band(l, 0xff), bit.band(bit.rshift(l, 12), bit.bnot(0xff))); end, device = function(dev) return tonumber(dev.dev) end, }, } t.device = function(major, minor) local dev = major if minor then dev = bit.bor(bit.band(minor, 0xff), bit.lshift(bit.band(major, 0xfff), 8), bit.lshift(bit.band(minor, bit.bnot(0xff)), 12)) + 0x100000000 * bit.band(major, bit.bnot(0xfff)) end return setmetatable({dev = t.dev(dev)}, mt.device) end meth.stat = { index = { dev = function(st) return t.device(st.st_dev) end, ino = function(st) return tonumber(st.st_ino) end, mode = function(st) return st.st_mode end, nlink = function(st) return st.st_nlink end, uid = function(st) return st.st_uid end, gid = function(st) return st.st_gid end, rdev = function(st) return tonumber(st.st_rdev) end, size = function(st) return tonumber(st.st_size) end, blksize = function(st) return tonumber(st.st_blksize) end, blocks = function(st) return tonumber(st.st_blocks) end, atime = function(st) return tonumber(st.st_atime) end, ctime = function(st) return tonumber(st.st_ctime) end, mtime = function(st) return tonumber(st.st_mtime) end, rdev = function(st) return t.device(st.st_rdev) end, isreg = function(st) return bit.band(st.st_mode, c.S.IFMT) == c.S.IFREG end, isdir = function(st) return bit.band(st.st_mode, c.S.IFMT) == c.S.IFDIR end, ischr = function(st) return bit.band(st.st_mode, c.S.IFMT) == c.S.IFCHR end, isblk = function(st) return bit.band(st.st_mode, c.S.IFMT) == c.S.IFBLK end, isfifo = function(st) return bit.band(st.st_mode, c.S.IFMT) == c.S.IFIFO end, islnk = function(st) return bit.band(st.st_mode, c.S.IFMT) == c.S.IFLNK end, issock = function(st) return bit.band(st.st_mode, c.S.IFMT) == c.S.IFSOCK end, } } metatype("stat", stattypename, { -- either struct stat on 64 bit or struct stat64 on 32 bit __index = function(st, k) if meth.stat.index[k] then return meth.stat.index[k](st) end end, }) meth.siginfo = { index = { si_pid = function(s) return s.sifields.kill.si_pid end, si_uid = function(s) return s.sifields.kill.si_uid end, si_timerid = function(s) return s.sifields.timer.si_tid end, si_overrun = function(s) return s.sifields.timer.si_overrun end, si_status = function(s) return s.sifields.sigchld.si_status end, si_utime = function(s) return s.sifields.sigchld.si_utime end, si_stime = function(s) return s.sifields.sigchld.si_stime end, si_value = function(s) return s.sifields.rt.si_sigval end, si_int = function(s) return s.sifields.rt.si_sigval.sival_int end, si_ptr = function(s) return s.sifields.rt.si_sigval.sival_ptr end, si_addr = function(s) return s.sifields.sigfault.si_addr end, si_band = function(s) return s.sifields.sigpoll.si_band end, si_fd = function(s) return s.sifields.sigpoll.si_fd end, }, newindex = { si_pid = function(s, v) s.sifields.kill.si_pid = v end, si_uid = function(s, v) s.sifields.kill.si_uid = v end, si_timerid = function(s, v) s.sifields.timer.si_tid = v end, si_overrun = function(s, v) s.sifields.timer.si_overrun = v end, si_status = function(s, v) s.sifields.sigchld.si_status = v end, si_utime = function(s, v) s.sifields.sigchld.si_utime = v end, si_stime = function(s, v) s.sifields.sigchld.si_stime = v end, si_value = function(s, v) s.sifields.rt.si_sigval = v end, si_int = function(s, v) s.sifields.rt.si_sigval.sival_int = v end, si_ptr = function(s, v) s.sifields.rt.si_sigval.sival_ptr = v end, si_addr = function(s, v) s.sifields.sigfault.si_addr = v end, si_band = function(s, v) s.sifields.sigpoll.si_band = v end, si_fd = function(s, v) s.sifields.sigpoll.si_fd = v end, } } metatype("siginfo", "struct siginfo", { __index = function(t, k) if meth.siginfo.index[k] then return meth.siginfo.index[k](t) end end, __newindex = function(t, k, v) if meth.siginfo.newindex[k] then meth.siginfo.newindex[k](t, v) end end, }) metatype("macaddr", "struct {uint8_t mac_addr[6];}", { __tostring = function(m) local hex = {} for i = 1, 6 do hex[i] = string.format("%02x", m.mac_addr[i - 1]) end return table.concat(hex, ":") end, __new = function(tp, str) local mac = ffi.new(tp) if str then for i = 1, 6 do local n = tonumber(str:sub(i * 3 - 2, i * 3 - 1), 16) -- TODO more checks on syntax mac.mac_addr[i - 1] = n end end return mac end, }) meth.timeval = { index = { time = function(tv) return tonumber(tv.tv_sec) + tonumber(tv.tv_usec) / 1000000 end, sec = function(tv) return tonumber(tv.tv_sec) end, usec = function(tv) return tonumber(tv.tv_usec) end, }, newindex = { time = function(tv, v) local i, f = math.modf(v) tv.tv_sec, tv.tv_usec = i, math.floor(f * 1000000) end, sec = function(tv, v) tv.tv_sec = v end, usec = function(tv, v) tv.tv_usec = v end, } } meth.rlimit = { index = { cur = function(r) return tonumber(r.rlim_cur) end, max = function(r) return tonumber(r.rlim_max) end, } } metatype("rlimit", "struct rlimit64", { __index = function(r, k) if meth.rlimit.index[k] then return meth.rlimit.index[k](r) end end, }) metatype("timeval", "struct timeval", { __index = function(tv, k) if meth.timeval.index[k] then return meth.timeval.index[k](tv) end end, __newindex = function(tv, k, v) if meth.timeval.newindex[k] then meth.timeval.newindex[k](tv, v) end end, __new = function(tp, v) if not v then v = {0, 0} end if type(v) ~= "number" then return ffi.new(tp, v) end local ts = ffi.new(tp) ts.time = v return ts end }) meth.timespec = { index = { time = function(tv) return tonumber(tv.tv_sec) + tonumber(tv.tv_nsec) / 1000000000 end, sec = function(tv) return tonumber(tv.tv_sec) end, nsec = function(tv) return tonumber(tv.tv_nsec) end, }, newindex = { time = function(tv, v) local i, f = math.modf(v) tv.tv_sec, tv.tv_nsec = i, math.floor(f * 1000000000) end, sec = function(tv, v) tv.tv_sec = v end, nsec = function(tv, v) tv.tv_nsec = v end, } } metatype("timespec", "struct timespec", { __index = function(tv, k) if meth.timespec.index[k] then return meth.timespec.index[k](tv) end end, __newindex = function(tv, k, v) if meth.timespec.newindex[k] then meth.timespec.newindex[k](tv, v) end end, __new = function(tp, v) if not v then v = {0, 0} end if type(v) ~= "number" then return ffi.new(tp, v) end local ts = ffi.new(tp) ts.time = v return ts end }) local function itnormal(v) if not v then v = {{0, 0}, {0, 0}} end if v.interval then v.it_interval = v.interval v.interval = nil end if v.value then v.it_value = v.value v.value = nil end if not v.it_interval then v.it_interval = v[1] v[1] = nil end if not v.it_value then v.it_value = v[2] v[2] = nil end return v end meth.itimerspec = { index = { interval = function(it) return it.it_interval end, value = function(it) return it.it_value end, } } metatype("itimerspec", "struct itimerspec", { __index = function(it, k) if meth.itimerspec.index[k] then return meth.itimerspec.index[k](it) end end, __new = function(tp, v) v = itnormal(v) v.it_interval = istype(t.timespec, v.it_interval) or t.timespec(v.it_interval) v.it_value = istype(t.timespec, v.it_value) or t.timespec(v.it_value) return ffi.new(tp, v) end }) metatype("itimerval", "struct itimerval", { __index = function(it, k) if meth.itimerspec.index[k] then return meth.itimerspec.index[k](it) end end, -- can use same meth __new = function(tp, v) v = itnormal(v) v.it_interval = istype(t.timeval, v.it_interval) or t.timeval(v.it_interval) v.it_value = istype(t.timeval, v.it_value) or t.timeval(v.it_value) return ffi.new(tp, v) end }) mt.iovecs = { __index = function(io, k) return io.iov[k - 1] end, __newindex = function(io, k, v) v = istype(t.iovec, v) or t.iovec(v) ffi.copy(io.iov[k - 1], v, s.iovec) end, __len = function(io) return io.count end, __new = function(tp, is) if type(is) == 'number' then return ffi.new(tp, is, is) end local count = #is local iov = ffi.new(tp, count, count) for n = 1, count do local i = is[n] if type(i) == 'string' then local buf = t.buffer(#i) ffi.copy(buf, i, #i) iov[n].iov_base = buf iov[n].iov_len = #i elseif type(i) == 'number' then iov[n].iov_base = t.buffer(i) iov[n].iov_len = i elseif ffi.istype(t.iovec, i) then ffi.copy(iov[n], i, s.iovec) elseif type(i) == 'cdata' then -- eg buffer or other structure iov[n].iov_base = i iov[n].iov_len = ffi.sizeof(i) else -- eg table iov[n] = i end end return iov end } t.iovecs = ffi.metatype("struct { int count; struct iovec iov[?];}", mt.iovecs) -- do not use metatype helper as variable size metatype("pollfd", "struct pollfd", { __index = function(t, k) if k == 'getfd' then return t.fd end -- TODO use meth return bit.band(t.revents, c.POLL[k]) ~= 0 end }) mt.pollfds = { __index = function(p, k) return p.pfd[k - 1] end, __newindex = function(p, k, v) v = istype(t.pollfd, v) or t.pollfd(v) ffi.copy(p.pfd[k - 1], v, s.pollfd) end, __len = function(p) return p.count end, __new = function(tp, ps) if type(ps) == 'number' then return ffi.new(tp, ps, ps) end local count = #ps local fds = ffi.new(tp, count, count) for n = 1, count do fds[n].fd = ps[n].fd:getfd() fds[n].events = c.POLL[ps[n].events] fds[n].revents = 0 end return fds end, } t.pollfds = ffi.metatype("struct {int count; struct pollfd pfd[?];}", mt.pollfds) meth.signalfd = { index = { signo = function(ss) return tonumber(ss.ssi_signo) end, code = function(ss) return tonumber(ss.ssi_code) end, pid = function(ss) return tonumber(ss.ssi_pid) end, uid = function(ss) return tonumber(ss.ssi_uid) end, fd = function(ss) return tonumber(ss.ssi_fd) end, tid = function(ss) return tonumber(ss.ssi_tid) end, band = function(ss) return tonumber(ss.ssi_band) end, overrun = function(ss) return tonumber(ss.ssi_overrun) end, trapno = function(ss) return tonumber(ss.ssi_trapno) end, status = function(ss) return tonumber(ss.ssi_status) end, int = function(ss) return tonumber(ss.ssi_int) end, ptr = function(ss) return ss.ss_ptr end, utime = function(ss) return tonumber(ss.ssi_utime) end, stime = function(ss) return tonumber(ss.ssi_stime) end, addr = function(ss) return ss.ss_addr end, }, } metatype("signalfd_siginfo", "struct signalfd_siginfo", { __index = function(ss, k) if ss.ssi_signo == c.SIG(k) then return true end local rname = signal_reasons_gen[ss.ssi_code] if not rname and signal_reasons[ss.ssi_signo] then rname = signal_reasons[ss.ssi_signo][ss.ssi_code] end if rname == k then return true end if rname == k:upper() then return true end -- TODO use some metatable to hide this? if meth.signalfd.index[k] then return meth.signalfd.index[k](ss) end end, }) mt.siginfos = { __index = function(ss, k) return ss.sfd[k - 1] end, __len = function(p) return p.count end, __new = function(tp, ss) return ffi.new(tp, ss, ss, ss * s.signalfd_siginfo) end, } t.siginfos = ffi.metatype("struct {int count, bytes; struct signalfd_siginfo sfd[?];}", mt.siginfos) local INET6_ADDRSTRLEN = 46 local function inet_ntop(af, src) af = c.AF[af] -- TODO do not need, in fact could split into two functions if no need to export. if af == c.AF.INET then local b = pt.uchar(src) return tonumber(b[0]) .. "." .. tonumber(b[1]) .. "." .. tonumber(b[2]) .. "." .. tonumber(b[3]) end local len = INET6_ADDRSTRLEN local dst = t.buffer(len) local ret = C.inet_ntop(af, src, dst, len) -- TODO replace with pure Lua if ret == nil then return nil, t.error() end return ffi.string(dst) end local function inet_pton(af, src, addr) af = c.AF[af] if not addr then addr = t.addrtype[af]() end local ret = C.inet_pton(af, src, addr) -- TODO redo in pure Lua if ret == -1 then return nil, t.error() end if ret == 0 then return nil end -- maybe return string return addr end -- TODO add generic address type that works out which to take? basically inet_name, except without netmask metatype("in_addr", "struct in_addr", { __tostring = function(a) return inet_ntop(c.AF.INET, a) end, __new = function(tp, s) local addr = ffi.new(tp) if s then addr = inet_pton(c.AF.INET, s, addr) end return addr end }) metatype("in6_addr", "struct in6_addr", { __tostring = function(a) return inet_ntop(c.AF.INET6, a) end, __new = function(tp, s) local addr = ffi.new(tp) if s then addr = inet_pton(c.AF.INET6, s, addr) end return addr end }) t.addrtype = { [c.AF.INET] = t.in_addr, [c.AF.INET6] = t.in6_addr, } -- signal set handlers TODO replace with metatypes, reuse code from stringflags local function sigismember(set, sig) local d = bit.rshift(sig - 1, 5) -- always 32 bits return bit.band(set.val[d], bit.lshift(1, (sig - 1) % 32)) ~= 0 end local function sigemptyset(set) for i = 0, s.sigset / 4 - 1 do if set.val[i] ~= 0 then return false end end return true end local function sigaddset(set, sig) set = t.sigset(set) local d = bit.rshift(sig - 1, 5) set.val[d] = bit.bor(set.val[d], bit.lshift(1, (sig - 1) % 32)) return set end local function sigdelset(set, sig) set = t.sigset(set) local d = bit.rshift(sig - 1, 5) set.val[d] = bit.band(set.val[d], bit.bnot(bit.lshift(1, (sig - 1) % 32))) return set end -- TODO remove duplication of split and trim as this should all be in constants, metatypes local function split(delimiter, text) if delimiter == "" then return {text} end if #text == 0 then return {} end local list = {} local pos = 1 while true do local first, last = text:find(delimiter, pos) if first then list[#list + 1] = text:sub(pos, first - 1) pos = last + 1 else list[#list + 1] = text:sub(pos) break end end return list end local function trim(s) -- TODO should replace underscore with space return (s:gsub("^%s*(.-)%s*$", "%1")) end local function sigaddsets(set, sigs) -- allow multiple if type(sigs) ~= "string" then return sigaddset(set, sigs) end set = t.sigset(set) local a = split(",", sigs) for i, v in ipairs(a) do local s = trim(v) local sig = c.SIG[s] if not sig then error("invalid signal: " .. v) end -- don't use this format if you don't want exceptions, better than silent ignore sigaddset(set, sig) end return set end local function sigdelsets(set, sigs) -- allow multiple if type(sigs) ~= "string" then return sigdelset(set, sigs) end set = t.sigset(set) local a = split(",", sigs) for i, v in ipairs(a) do local s = trim(v) local sig = c.SIG[s] if not sig then error("invalid signal: " .. v) end -- don't use this format if you don't want exceptions, better than silent ignore sigdelset(set, sig) end return set end metatype("sigset", "sigset_t", { __index = function(set, k) if k == 'add' then return sigaddsets end if k == 'del' then return sigdelsets end if k == 'isemptyset' then return sigemptyset(set) end local sig = c.SIG[k] if sig then return sigismember(set, sig) end end, __new = function(tp, str) if ffi.istype(tp, str) then return str end if not str then return ffi.new(tp) end local f = ffi.new(tp) local a = split(",", str) for i, v in ipairs(a) do local st = trim(v) local sig = c.SIG[st] if not sig then error("invalid signal: " .. v) end -- don't use this format if you don't want exceptions, better than silent ignore local d = bit.rshift(sig - 1, 5) -- always 32 bits f.val[d] = bit.bor(f.val[d], bit.lshift(1, (sig - 1) % 32)) end return f end, }) local voidp = ffi.typeof("void *") pt.void = function(x) return ffi.cast(voidp, x) end -- these are declared above samap = { [c.AF.UNIX] = t.sockaddr_un, [c.AF.INET] = t.sockaddr_in, [c.AF.INET6] = t.sockaddr_in6, [c.AF.NETLINK] = t.sockaddr_nl, } samap2 = { [c.AF.UNIX] = pt.sockaddr_un, [c.AF.INET] = pt.sockaddr_in, [c.AF.INET6] = pt.sockaddr_in6, [c.AF.NETLINK] = pt.sockaddr_nl, } -- slightly miscellaneous types, eg need to use Lua metatables -- TODO convert to use constants? note missing some macros eg WCOREDUMP(). Allow lower case. mt.wait = { __index = function(w, k) local WTERMSIG = bit.band(w.status, 0x7f) local EXITSTATUS = bit.rshift(bit.band(w.status, 0xff00), 8) local WIFEXITED = (WTERMSIG == 0) local tab = { WIFEXITED = WIFEXITED, WIFSTOPPED = bit.band(w.status, 0xff) == 0x7f, WIFSIGNALED = not WIFEXITED and bit.band(w.status, 0x7f) ~= 0x7f -- I think this is right????? TODO recheck, cleanup } if tab.WIFEXITED then tab.EXITSTATUS = EXITSTATUS end if tab.WIFSTOPPED then tab.WSTOPSIG = EXITSTATUS end if tab.WIFSIGNALED then tab.WTERMSIG = WTERMSIG end if tab[k] then return tab[k] end local uc = 'W' .. k:upper() if tab[uc] then return tab[uc] end end } -- cannot really use metatype here, as status is just an int, and we need to pass pid function t.wait(pid, status) return setmetatable({pid = pid, status = status}, mt.wait) end return types
mit
eugenesan/openwrt-luci
applications/luci-asterisk/luasrc/model/cbi/asterisk-dialplans.lua
80
3858
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- cbimap = Map("asterisk", "asterisk", "") dialplan = cbimap:section(TypedSection, "dialplan", "Section dialplan", "") dialplan.addremove = true dialplan.dynamic = true include = dialplan:option(MultiValue, "include", "Include zones and plans", "") cbimap.uci:foreach( "asterisk", "dialplan", function(s) include:value(s['.name']) end ) cbimap.uci:foreach( "asterisk", "dialzone", function(s) include:value(s['.name']) end ) dialplanexten = cbimap:section(TypedSection, "dialplanexten", "Dialplan Extension", "") dialplanexten.anonymous = true dialplanexten.addremove = true dialplanexten.dynamic = true dialplangeneral = cbimap:section(TypedSection, "dialplangeneral", "Dialplan General Options", "") dialplangeneral.anonymous = true dialplangeneral.addremove = true allowtransfer = dialplangeneral:option(Flag, "allowtransfer", "Allow transfer", "") allowtransfer.rmempty = true canreinvite = dialplangeneral:option(ListValue, "canreinvite", "Reinvite/redirect media connections", "") canreinvite:value("yes", "Yes") canreinvite:value("nonat", "Yes when not behind NAT") canreinvite:value("update", "Use UPDATE rather than INVITE for path redirection") canreinvite:value("no", "No") canreinvite.rmempty = true clearglobalvars = dialplangeneral:option(Flag, "clearglobalvars", "Clear global vars", "") clearglobalvars.rmempty = true dialplangoto = cbimap:section(TypedSection, "dialplangoto", "Dialplan Goto", "") dialplangoto.anonymous = true dialplangoto.addremove = true dialplangoto.dynamic = true dialplanmeetme = cbimap:section(TypedSection, "dialplanmeetme", "Dialplan Conference", "") dialplanmeetme.anonymous = true dialplanmeetme.addremove = true dialplanmeetme.dynamic = true dialplansaytime = cbimap:section(TypedSection, "dialplansaytime", "Dialplan Time", "") dialplansaytime.anonymous = true dialplansaytime.addremove = true dialplansaytime.dynamic = true dialplanvoice = cbimap:section(TypedSection, "dialplanvoice", "Dialplan Voicemail", "") dialplanvoice.anonymous = true dialplanvoice.addremove = true dialplanvoice.dynamic = true dialzone = cbimap:section(TypedSection, "dialzone", "Dial Zones for Dialplan", "") dialzone.addremove = true dialzone.template = "cbi/tblsection" addprefix = dialzone:option(Value, "addprefix", "Prefix to add matching dialplans", "") addprefix.rmempty = true --international = dialzone:option(DynamicList, "international", "Match International prefix", "") international = dialzone:option(Value, "international", "Match International prefix", "") international.rmempty = true localprefix = dialzone:option(Value, "localprefix", "Prefix (0) to add/remove to/from intl. numbers", "") localprefix.rmempty = true localzone = dialzone:option(Value, "localzone", "Dialzone for intl. numbers matched as local", "") localzone.titleref = luci.dispatcher.build_url( "admin", "services", "asterisk", "dialplans" ) cbimap.uci:foreach( "asterisk", "dialplan", function(s) localzone:value(s['.name']) end ) cbimap.uci:foreach( "asterisk", "dialzone", function(s) localzone:value(s['.name']) end ) match = dialzone:option(Value, "match", "Match plan", "") match.rmempty = true uses = dialzone:option(ListValue, "uses", "Connection to use", "") uses.titleref = luci.dispatcher.build_url( "admin", "services", "asterisk", "sip-conns" ) cbimap.uci:foreach( "asterisk", "sip", function(s) uses:value('SIP/'..s['.name']) end ) cbimap.uci:foreach( "asterisk", "iax", function(s) uses:value('IAX/'..s['.name']) end ) return cbimap
apache-2.0
Xagul/forgottenserver
data/talkactions/scripts/remove_tutor.lua
41
1033
function onSay(player, words, param) if player:getAccountType() <= ACCOUNT_TYPE_TUTOR then return true end local resultId = db.storeQuery("SELECT `name`, `account_id`, (SELECT `type` FROM `accounts` WHERE `accounts`.`id` = `account_id`) AS `account_type` FROM `players` WHERE `name` = " .. db.escapeString(param)) if resultId == false then player:sendCancelMessage("A player with that name does not exist.") return false end if result.getDataInt(resultId, "account_type") ~= ACCOUNT_TYPE_TUTOR then player:sendCancelMessage("You can only demote a tutor to a normal player.") return false end local target = Player(param) if target ~= nil then target:setAccountType(ACCOUNT_TYPE_NORMAL) else db.query("UPDATE `accounts` SET `type` = " .. ACCOUNT_TYPE_NORMAL .. " WHERE `id` = " .. result.getDataInt(resultId, "account_id")) end player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You have demoted " .. result.getDataString(resultId, "name") .. " to a normal player.") result.free(resultId) return false end
gpl-2.0
steveschnepp/OpenApoc
data/scripts/update_ufo_growth.lua
6
1531
local OA = OpenApoc local GS = OpenApoc.GameState function updateUfoGrowth() local week = GS.gameTime:getWeek() local ufo_growth = {id = 'UFO_GROWTH_' .. tostring(week)} ufo_growth.object = GS.ufo_growth_lists[ufo_growth.id] if not ufo_growth.object then ufo_growth.id = 'UFO_GROWTH_DEFAULT' ufo_growth.object = GS.ufo_growth_lists[ufo_growth.id] end local limit = {id = 'UFO_GROWTH_LIMIT'} limit.object = GS.ufo_growth_lists[limit.id] if ufo_growth.object then local city = {id = 'CITYMAP_ALIEN'} city.object = GS.cities[city.id] --set a list of limits for vehicle types local vehicleLimits = {} --increase value by limit for _, vt in ipairs(limit.object.vehicleTypeList) do vehicleLimits[vt.first] = (vehicleLimits[vt.first] or 0) + vt.second end --substract existing vehicles for vehicle_id, vehicle_object in pairs(GS.vehicles) do if vehicle_object.owner == 'ORG_ALIEN' and vehicle_object.city == 'CITYMAP_ALIEN' then vehicleLimits[vehicle_object.type.id] = (vehicleLimits[vehicle_object.type.id] or 0) - 1 end end for _, vt in ipairs(ufo_growth.object.vehicleTypeList) do local vt_object = GS.vehicle_types[vt.first] if vt_object then local toAdd = math.min(vt.second, vehicleLimits[vt.first]) for i=1, toAdd do local pos = { x = GS.rng:randBoundsExclusive(20, 120), y = GS.rng:randBoundsExclusive(20, 120), z = city.object.size.z-1 } city.object:placeVehicleAtPosition(vt.first, 'ORG_ALIEN', pos) end end end end end
mit
Ninjistix/darkstar
scripts/globals/abilities/evokers_roll.lua
3
2682
----------------------------------- -- Ability: Evoker's Roll -- Gradually restores MP for party members within area of effect -- Optimal Job: Summoner -- Lucky Number: 5 -- Unlucky Number: 9 -- Level: 40 -- -- Die Roll |No SMN |With SMN -- -------- ------- ----------- -- 1 |+1 |+2 -- 2 |+1 |+2 -- 3 |+1 |+2 -- 4 |+1 |+2 -- 5 |+3 |+4 -- 6 |+2 |+3 -- 7 |+2 |+3 -- 8 |+2 |+3 -- 9 |+1 |+2 -- 10 |+3 |+4 -- 11 |+4 |+5 -- Bust |-1 |-1 -- -- Busting on Evoker's Roll will give you -1MP/tick less on your own total MP refreshed; i.e. you do not actually lose MP ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/ability"); require("scripts/globals/status"); require("scripts/globals/msg"); ----------------------------------- function onAbilityCheck(player,target,ability) local effectID = EFFECT_EVOKERS_ROLL ability:setRange(ability:getRange() + player:getMod(MOD_ROLL_RANGE)); if (player:hasStatusEffect(effectID)) then return msgBasic.ROLL_ALREADY_ACTIVE,0; elseif atMaxCorsairBusts(player) then return msgBasic.CANNOT_PERFORM,0; else return 0,0; end end; function onUseAbility(caster,target,ability,action) if (caster:getID() == target:getID()) then corsairSetup(caster, ability, action, EFFECT_EVOKERS_ROLL, JOBS.SMN); end local total = caster:getLocalVar("corsairRollTotal") return applyRoll(caster,target,ability,action,total) end; function applyRoll(caster,target,ability,action,total) local duration = 300 + caster:getMerit(MERIT_WINNING_STREAK) local effectpowers = {1, 1, 1, 1, 3, 2, 2, 2, 1, 3, 4, 1} local effectpower = effectpowers[total]; if (caster:getLocalVar("corsairRollBonus") == 1 and total < 12) then effectpower = effectpower + 1 end if (caster:getMainJob() == JOBS.COR and caster:getMainLvl() < target:getMainLvl()) then effectpower = effectpower * (caster:getMainLvl() / target:getMainLvl()); elseif (caster:getSubJob() == JOBS.COR and caster:getSubLvl() < target:getMainLvl()) then effectpower = effectpower * (caster:getSubLvl() / target:getMainLvl()); end if (target:addCorsairRoll(caster:getMainJob(), caster:getMerit(MERIT_BUST_DURATION), EFFECT_EVOKERS_ROLL, effectpower, 0, duration, caster:getID(), total, MOD_REFRESH) == false) then ability:setMsg(msgBasic.ROLL_MAIN_FAIL); elseif total > 11 then ability:setMsg(msgBasic.DOUBLEUP_BUST); end return total; end
gpl-3.0
Ninjistix/darkstar
scripts/zones/Davoi/npcs/Zantaviat.lua
5
2036
----------------------------------- -- Area: Davoi -- NPC: Zantaviat -- Involved in Mission: The Davoi Report -- !pos 215 0.1 -10 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/globals/keyitems"); require("scripts/zones/Davoi/TextIDs"); ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc) local CurrentMission = player:getCurrentMission(SANDORIA); local infiltrateDavoi = player:hasCompletedMission(SANDORIA,INFILTRATE_DAVOI); if (CurrentMission == THE_DAVOI_REPORT and player:getVar("MissionStatus") == 0) then player:startEvent(100); elseif (CurrentMission == THE_DAVOI_REPORT and player:hasKeyItem(LOST_DOCUMENT)) then player:startEvent(104); elseif (CurrentMission == INFILTRATE_DAVOI and infiltrateDavoi and player:getVar("MissionStatus") == 0) then player:startEvent(102); elseif (CurrentMission == INFILTRATE_DAVOI and player:getVar("MissionStatus") == 9) then player:startEvent(105); else player:startEvent(101); end end; function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end; function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); if (csid == 100) then player:setVar("MissionStatus",1); elseif (csid == 104) then player:setVar("MissionStatus",3); player:delKeyItem(LOST_DOCUMENT); player:addKeyItem(TEMPLE_KNIGHTS_DAVOI_REPORT); player:messageSpecial(KEYITEM_OBTAINED,TEMPLE_KNIGHTS_DAVOI_REPORT); elseif (csid == 102) then player:setVar("MissionStatus",6); elseif (csid == 105) then player:setVar("MissionStatus",10); player:delKeyItem(EAST_BLOCK_CODE); player:delKeyItem(SOUTH_BLOCK_CODE); player:delKeyItem(NORTH_BLOCK_CODE); end end;
gpl-3.0
hamrah12/hamrah_shoma
plugins/youtube.lua
644
1722
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end function get_yt_data (yt_code) local url = 'https://www.googleapis.com/youtube/v3/videos?' url = url .. 'id=' .. URL.escape(yt_code) .. '&part=snippet' if google_config.api_keys then local i = math.random(#google_config.api_keys) local api_key = google_config.api_keys[i] if api_key then url = url.."&key="..api_key end end return httpsRequest(url) end function send_youtube_data(data, receiver) local title = data.title local description = data.description local uploader = data.channelTitle local text = title..' ('..uploader..')\n'..description local image_url = data.thumbnails.high.url or data.thumbnails.default.url local cb_extra = { receiver = receiver, url = image_url } send_msg(receiver, text, send_photo_from_url_callback, cb_extra) end function run(msg, matches) local yt_code = matches[1] local data = get_yt_data(yt_code) if data == nil or #data.items == 0 then return "I didn't find info about that video." end local senddata = data.items[1].snippet local receiver = get_receiver(msg) send_youtube_data(senddata, receiver) end return { description = "Sends YouTube info and image.", usage = "", patterns = { "youtu.be/([_A-Za-z0-9-]+)", "youtube.com/watch%?v=([_A-Za-z0-9-]+)", }, run = run } end
gpl-2.0
area31/telegram-bot
plugins/youtube.lua
644
1722
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end function get_yt_data (yt_code) local url = 'https://www.googleapis.com/youtube/v3/videos?' url = url .. 'id=' .. URL.escape(yt_code) .. '&part=snippet' if google_config.api_keys then local i = math.random(#google_config.api_keys) local api_key = google_config.api_keys[i] if api_key then url = url.."&key="..api_key end end return httpsRequest(url) end function send_youtube_data(data, receiver) local title = data.title local description = data.description local uploader = data.channelTitle local text = title..' ('..uploader..')\n'..description local image_url = data.thumbnails.high.url or data.thumbnails.default.url local cb_extra = { receiver = receiver, url = image_url } send_msg(receiver, text, send_photo_from_url_callback, cb_extra) end function run(msg, matches) local yt_code = matches[1] local data = get_yt_data(yt_code) if data == nil or #data.items == 0 then return "I didn't find info about that video." end local senddata = data.items[1].snippet local receiver = get_receiver(msg) send_youtube_data(senddata, receiver) end return { description = "Sends YouTube info and image.", usage = "", patterns = { "youtu.be/([_A-Za-z0-9-]+)", "youtube.com/watch%?v=([_A-Za-z0-9-]+)", }, run = run } end
gpl-2.0
Inorizushi/DDR-SN1HD
Graphics/ScreenSelectPlayCourseMode scroller/Oni.lua
3
1729
return Def.ActorFrame { InitCommand=cmd(zoom,1.3); LoadActor("Choice Oni B")..{ InitCommand=cmd(x,50;y,90;zoom,1); LoseFocusCommand=cmd(stoptweening;stopeffect;diffusealpha,0;zoom,1;linear,0.05;diffusealpha,1;zoom,1;x,60); GainFocusCommand=cmd(stoptweening;linear,0.05;diffusealpha,0;zoom,1;x,50); OffFocusedCommand=cmd(finishtweening;stopeffect;linear,0.2;diffusealpha,0;zoomy,0); OffCommand=cmd(finishtweening;stopeffect;linear,0.2;diffusealpha,0;zoomy,0); }; LoadActor("Choice Oni A")..{ InitCommand=cmd(x,50;y,90;zoom,1); GainFocusCommand=cmd(stoptweening;stopeffect;diffusealpha,0;zoom,1;linear,0.05;diffusealpha,1;zoom,1;x,50); LoseFocusCommand=cmd(stoptweening;linear,0.05;diffusealpha,0;zoom,1;x,60); OffFocusedCommand=cmd(finishtweening;stopeffect;linear,0.2;diffusealpha,0;zoomy,0); }; LoadActor("_selectarrow")..{ InitCommand=cmd(x,-250;y,90;zoomx,-1;); OnCommand=cmd(diffusealpha,0;linear,0.2;diffusealpha,1); GainFocusCommand=cmd(stoptweening;stopeffect;diffusealpha,0;linear,0.05;diffusealpha,1;zoomx,-1;x,-230;bob;effectmagnitude,10,0,0;effectperiod,0.7); LoseFocusCommand=cmd(stoptweening;linear,0.05;diffusealpha,0;zoomx,0;x,-250); OffFocusedCommand=cmd(finishtweening;stopeffect;linear,0.2;diffusealpha,0;zoom,0); }; LoadActor("_selectarrow")..{ InitCommand=cmd(x,-300;y,90;zoomx,-1;); OnCommand=cmd(diffusealpha,0;linear,0.2;diffusealpha,1); GainFocusCommand=cmd(stoptweening;stopeffect;diffusealpha,0;linear,0.05;diffusealpha,1;zoomx,-1;x,-280;bob;effectmagnitude,10,0,0;effectperiod,0.7); LoseFocusCommand=cmd(stoptweening;linear,0.05;diffusealpha,0;zoomx,0;x,-300); OffFocusedCommand=cmd(finishtweening;stopeffect;linear,0.2;diffusealpha,0;zoom,0); }; };
gpl-3.0
dinodeck/ninety_nine_days_of_dev
001_cancel_textboxes/code/Util.lua
4
1361
function GenerateUVs(tileWidth, tileHeight, texture) -- This is the table we'll fill with uvs and return. local uvs = {} local textureWidth = texture:GetWidth() local textureHeight = texture:GetHeight() local width = tileWidth / textureWidth local height = tileHeight / textureHeight local cols = textureWidth / tileWidth local rows = textureHeight / tileHeight local ux = 0 local uy = 0 local vx = width local vy = height for j = 0, rows - 1 do for i = 0, cols -1 do table.insert(uvs, {ux, uy, vx, vy}) -- Advance the UVs to the next column ux = ux + width vx = vx + width end -- Put the UVs back to the start of the next row ux = 0 vx = width uy = uy + height vy = vy + height end return uvs end function ShallowClone(t) local clone = {} for k, v in pairs(t) do clone[k] = v end return clone end function DeepClone(t) local clone = {} for k, v in pairs(t) do if type(v) == "table" then clone[k] = DeepClone(v) else clone[k] = v end end return clone end function Clamp(value, min, max) return math.max(min, math.min(value, max)) end
mit
dinodeck/ninety_nine_days_of_dev
006_magic_menu/code/FollowPathState.lua
10
1453
FollowPathState = { mName = "follow_path" } FollowPathState.__index = FollowPathState function FollowPathState:Create(character, map) local this = { mCharacter = character, mMap = map, mEntity = character.mEntity, mController = character.mController, } setmetatable(this, self) return this end function FollowPathState:Enter() local char = self.mCharacter local controller = self.mController if char.mPathIndex == nil or char.mPath == nil or char.mPathIndex > #char.mPath then char.mDefaultState = char.mPrevDefaultState or char.mDefaultState return controller:Change(char.mDefaultState) end local direction = char.mPath[char.mPathIndex] if direction == "left" then return controller:Change("move", {x = -1, y = 0}) elseif direction == "right" then return controller:Change("move", {x = 1, y = 0}) elseif direction == "up" then return controller:Change("move", {x = 0, y = -1}) elseif direction == "down" then return controller:Change("move", {x = 0, y = 1}) end -- If we get here, there's an incorrect direction in the path. assert(false) end function FollowPathState:Exit() self.mCharacter.mPathIndex = self.mCharacter.mPathIndex + 1 end function FollowPathState:Update(dt) end function FollowPathState:Render(renderer) end
mit
dinodeck/ninety_nine_days_of_dev
001_cancel_textboxes/code/FollowPathState.lua
10
1453
FollowPathState = { mName = "follow_path" } FollowPathState.__index = FollowPathState function FollowPathState:Create(character, map) local this = { mCharacter = character, mMap = map, mEntity = character.mEntity, mController = character.mController, } setmetatable(this, self) return this end function FollowPathState:Enter() local char = self.mCharacter local controller = self.mController if char.mPathIndex == nil or char.mPath == nil or char.mPathIndex > #char.mPath then char.mDefaultState = char.mPrevDefaultState or char.mDefaultState return controller:Change(char.mDefaultState) end local direction = char.mPath[char.mPathIndex] if direction == "left" then return controller:Change("move", {x = -1, y = 0}) elseif direction == "right" then return controller:Change("move", {x = 1, y = 0}) elseif direction == "up" then return controller:Change("move", {x = 0, y = -1}) elseif direction == "down" then return controller:Change("move", {x = 0, y = 1}) end -- If we get here, there's an incorrect direction in the path. assert(false) end function FollowPathState:Exit() self.mCharacter.mPathIndex = self.mCharacter.mPathIndex + 1 end function FollowPathState:Update(dt) end function FollowPathState:Render(renderer) end
mit
MoltenPlastic/nersis
luajit/dynasm/dasm_x86.lua
116
58970
------------------------------------------------------------------------------ -- DynASM x86/x64 module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ local x64 = x64 -- Module information: local _info = { arch = x64 and "x64" or "x86", description = "DynASM x86/x64 module", version = "1.3.0", vernum = 10300, release = "2011-05-05", author = "Mike Pall", license = "MIT", } -- Exported glue functions for the arch-specific module. local _M = { _info = _info } -- Cache library functions. local type, tonumber, pairs, ipairs = type, tonumber, pairs, ipairs local assert, unpack, setmetatable = assert, unpack or table.unpack, setmetatable local _s = string local sub, format, byte, char = _s.sub, _s.format, _s.byte, _s.char local find, match, gmatch, gsub = _s.find, _s.match, _s.gmatch, _s.gsub local concat, sort = table.concat, table.sort local bit = bit or require("bit") local band, shl, shr = bit.band, bit.lshift, bit.rshift -- Inherited tables and callbacks. local g_opt, g_arch local wline, werror, wfatal, wwarn -- Action name list. -- CHECK: Keep this in sync with the C code! local action_names = { -- int arg, 1 buffer pos: "DISP", "IMM_S", "IMM_B", "IMM_W", "IMM_D", "IMM_WB", "IMM_DB", -- action arg (1 byte), int arg, 1 buffer pos (reg/num): "VREG", "SPACE", -- !x64: VREG support NYI. -- ptrdiff_t arg, 1 buffer pos (address): !x64 "SETLABEL", "REL_A", -- action arg (1 byte) or int arg, 2 buffer pos (link, offset): "REL_LG", "REL_PC", -- action arg (1 byte) or int arg, 1 buffer pos (link): "IMM_LG", "IMM_PC", -- action arg (1 byte) or int arg, 1 buffer pos (offset): "LABEL_LG", "LABEL_PC", -- action arg (1 byte), 1 buffer pos (offset): "ALIGN", -- action args (2 bytes), no buffer pos. "EXTERN", -- action arg (1 byte), no buffer pos. "ESC", -- no action arg, no buffer pos. "MARK", -- action arg (1 byte), no buffer pos, terminal action: "SECTION", -- no args, no buffer pos, terminal action: "STOP" } -- Maximum number of section buffer positions for dasm_put(). -- CHECK: Keep this in sync with the C code! local maxsecpos = 25 -- Keep this low, to avoid excessively long C lines. -- Action name -> action number (dynamically generated below). local map_action = {} -- First action number. Everything below does not need to be escaped. local actfirst = 256-#action_names -- Action list buffer and string (only used to remove dupes). local actlist = {} local actstr = "" -- Argument list for next dasm_put(). Start with offset 0 into action list. local actargs = { 0 } -- Current number of section buffer positions for dasm_put(). local secpos = 1 ------------------------------------------------------------------------------ -- Compute action numbers for action names. for n,name in ipairs(action_names) do local num = actfirst + n - 1 map_action[name] = num end -- Dump action names and numbers. local function dumpactions(out) out:write("DynASM encoding engine action codes:\n") for n,name in ipairs(action_names) do local num = map_action[name] out:write(format(" %-10s %02X %d\n", name, num, num)) end out:write("\n") end -- Write action list buffer as a huge static C array. local function writeactions(out, name) local nn = #actlist local last = actlist[nn] or 255 actlist[nn] = nil -- Remove last byte. if nn == 0 then nn = 1 end out:write("static const unsigned char ", name, "[", nn, "] = {\n") local s = " " for n,b in ipairs(actlist) do s = s..b.."," if #s >= 75 then assert(out:write(s, "\n")) s = " " end end out:write(s, last, "\n};\n\n") -- Add last byte back. end ------------------------------------------------------------------------------ -- Add byte to action list. local function wputxb(n) assert(n >= 0 and n <= 255 and n % 1 == 0, "byte out of range") actlist[#actlist+1] = n end -- Add action to list with optional arg. Advance buffer pos, too. local function waction(action, a, num) wputxb(assert(map_action[action], "bad action name `"..action.."'")) if a then actargs[#actargs+1] = a end if a or num then secpos = secpos + (num or 1) end end -- Add call to embedded DynASM C code. local function wcall(func, args) wline(format("dasm_%s(Dst, %s);", func, concat(args, ", ")), true) end -- Delete duplicate action list chunks. A tad slow, but so what. local function dedupechunk(offset) local al, as = actlist, actstr local chunk = char(unpack(al, offset+1, #al)) local orig = find(as, chunk, 1, true) if orig then actargs[1] = orig-1 -- Replace with original offset. for i=offset+1,#al do al[i] = nil end -- Kill dupe. else actstr = as..chunk end end -- Flush action list (intervening C code or buffer pos overflow). local function wflush(term) local offset = actargs[1] if #actlist == offset then return end -- Nothing to flush. if not term then waction("STOP") end -- Terminate action list. dedupechunk(offset) wcall("put", actargs) -- Add call to dasm_put(). actargs = { #actlist } -- Actionlist offset is 1st arg to next dasm_put(). secpos = 1 -- The actionlist offset occupies a buffer position, too. end -- Put escaped byte. local function wputb(n) if n >= actfirst then waction("ESC") end -- Need to escape byte. wputxb(n) end ------------------------------------------------------------------------------ -- Global label name -> global label number. With auto assignment on 1st use. local next_global = 10 local map_global = setmetatable({}, { __index = function(t, name) if not match(name, "^[%a_][%w_@]*$") then werror("bad global label") end local n = next_global if n > 246 then werror("too many global labels") end next_global = n + 1 t[name] = n return n end}) -- Dump global labels. local function dumpglobals(out, lvl) local t = {} for name, n in pairs(map_global) do t[n] = name end out:write("Global labels:\n") for i=10,next_global-1 do out:write(format(" %s\n", t[i])) end out:write("\n") end -- Write global label enum. local function writeglobals(out, prefix) local t = {} for name, n in pairs(map_global) do t[n] = name end out:write("enum {\n") for i=10,next_global-1 do out:write(" ", prefix, gsub(t[i], "@.*", ""), ",\n") end out:write(" ", prefix, "_MAX\n};\n") end -- Write global label names. local function writeglobalnames(out, name) local t = {} for name, n in pairs(map_global) do t[n] = name end out:write("static const char *const ", name, "[] = {\n") for i=10,next_global-1 do out:write(" \"", t[i], "\",\n") end out:write(" (const char *)0\n};\n") end ------------------------------------------------------------------------------ -- Extern label name -> extern label number. With auto assignment on 1st use. local next_extern = -1 local map_extern = setmetatable({}, { __index = function(t, name) -- No restrictions on the name for now. local n = next_extern if n < -256 then werror("too many extern labels") end next_extern = n - 1 t[name] = n return n end}) -- Dump extern labels. local function dumpexterns(out, lvl) local t = {} for name, n in pairs(map_extern) do t[-n] = name end out:write("Extern labels:\n") for i=1,-next_extern-1 do out:write(format(" %s\n", t[i])) end out:write("\n") end -- Write extern label names. local function writeexternnames(out, name) local t = {} for name, n in pairs(map_extern) do t[-n] = name end out:write("static const char *const ", name, "[] = {\n") for i=1,-next_extern-1 do out:write(" \"", t[i], "\",\n") end out:write(" (const char *)0\n};\n") end ------------------------------------------------------------------------------ -- Arch-specific maps. local map_archdef = {} -- Ext. register name -> int. name. local map_reg_rev = {} -- Int. register name -> ext. name. local map_reg_num = {} -- Int. register name -> register number. local map_reg_opsize = {} -- Int. register name -> operand size. local map_reg_valid_base = {} -- Int. register name -> valid base register? local map_reg_valid_index = {} -- Int. register name -> valid index register? local map_reg_needrex = {} -- Int. register name -> need rex vs. no rex. local reg_list = {} -- Canonical list of int. register names. local map_type = {} -- Type name -> { ctype, reg } local ctypenum = 0 -- Type number (for _PTx macros). local addrsize = x64 and "q" or "d" -- Size for address operands. -- Helper functions to fill register maps. local function mkrmap(sz, cl, names) local cname = format("@%s", sz) reg_list[#reg_list+1] = cname map_archdef[cl] = cname map_reg_rev[cname] = cl map_reg_num[cname] = -1 map_reg_opsize[cname] = sz if sz == addrsize or sz == "d" then map_reg_valid_base[cname] = true map_reg_valid_index[cname] = true end if names then for n,name in ipairs(names) do local iname = format("@%s%x", sz, n-1) reg_list[#reg_list+1] = iname map_archdef[name] = iname map_reg_rev[iname] = name map_reg_num[iname] = n-1 map_reg_opsize[iname] = sz if sz == "b" and n > 4 then map_reg_needrex[iname] = false end if sz == addrsize or sz == "d" then map_reg_valid_base[iname] = true map_reg_valid_index[iname] = true end end end for i=0,(x64 and sz ~= "f") and 15 or 7 do local needrex = sz == "b" and i > 3 local iname = format("@%s%x%s", sz, i, needrex and "R" or "") if needrex then map_reg_needrex[iname] = true end local name if sz == "o" then name = format("xmm%d", i) elseif sz == "f" then name = format("st%d", i) else name = format("r%d%s", i, sz == addrsize and "" or sz) end map_archdef[name] = iname if not map_reg_rev[iname] then reg_list[#reg_list+1] = iname map_reg_rev[iname] = name map_reg_num[iname] = i map_reg_opsize[iname] = sz if sz == addrsize or sz == "d" then map_reg_valid_base[iname] = true map_reg_valid_index[iname] = true end end end reg_list[#reg_list+1] = "" end -- Integer registers (qword, dword, word and byte sized). if x64 then mkrmap("q", "Rq", {"rax", "rcx", "rdx", "rbx", "rsp", "rbp", "rsi", "rdi"}) end mkrmap("d", "Rd", {"eax", "ecx", "edx", "ebx", "esp", "ebp", "esi", "edi"}) mkrmap("w", "Rw", {"ax", "cx", "dx", "bx", "sp", "bp", "si", "di"}) mkrmap("b", "Rb", {"al", "cl", "dl", "bl", "ah", "ch", "dh", "bh"}) map_reg_valid_index[map_archdef.esp] = false if x64 then map_reg_valid_index[map_archdef.rsp] = false end map_archdef["Ra"] = "@"..addrsize -- FP registers (internally tword sized, but use "f" as operand size). mkrmap("f", "Rf") -- SSE registers (oword sized, but qword and dword accessible). mkrmap("o", "xmm") -- Operand size prefixes to codes. local map_opsize = { byte = "b", word = "w", dword = "d", qword = "q", oword = "o", tword = "t", aword = addrsize, } -- Operand size code to number. local map_opsizenum = { b = 1, w = 2, d = 4, q = 8, o = 16, t = 10, } -- Operand size code to name. local map_opsizename = { b = "byte", w = "word", d = "dword", q = "qword", o = "oword", t = "tword", f = "fpword", } -- Valid index register scale factors. local map_xsc = { ["1"] = 0, ["2"] = 1, ["4"] = 2, ["8"] = 3, } -- Condition codes. local map_cc = { o = 0, no = 1, b = 2, nb = 3, e = 4, ne = 5, be = 6, nbe = 7, s = 8, ns = 9, p = 10, np = 11, l = 12, nl = 13, le = 14, nle = 15, c = 2, nae = 2, nc = 3, ae = 3, z = 4, nz = 5, na = 6, a = 7, pe = 10, po = 11, nge = 12, ge = 13, ng = 14, g = 15, } -- Reverse defines for registers. function _M.revdef(s) return gsub(s, "@%w+", map_reg_rev) end -- Dump register names and numbers local function dumpregs(out) out:write("Register names, sizes and internal numbers:\n") for _,reg in ipairs(reg_list) do if reg == "" then out:write("\n") else local name = map_reg_rev[reg] local num = map_reg_num[reg] local opsize = map_opsizename[map_reg_opsize[reg]] out:write(format(" %-5s %-8s %s\n", name, opsize, num < 0 and "(variable)" or num)) end end end ------------------------------------------------------------------------------ -- Put action for label arg (IMM_LG, IMM_PC, REL_LG, REL_PC). local function wputlabel(aprefix, imm, num) if type(imm) == "number" then if imm < 0 then waction("EXTERN") wputxb(aprefix == "IMM_" and 0 or 1) imm = -imm-1 else waction(aprefix.."LG", nil, num); end wputxb(imm) else waction(aprefix.."PC", imm, num) end end -- Put signed byte or arg. local function wputsbarg(n) if type(n) == "number" then if n < -128 or n > 127 then werror("signed immediate byte out of range") end if n < 0 then n = n + 256 end wputb(n) else waction("IMM_S", n) end end -- Put unsigned byte or arg. local function wputbarg(n) if type(n) == "number" then if n < 0 or n > 255 then werror("unsigned immediate byte out of range") end wputb(n) else waction("IMM_B", n) end end -- Put unsigned word or arg. local function wputwarg(n) if type(n) == "number" then if shr(n, 16) ~= 0 then werror("unsigned immediate word out of range") end wputb(band(n, 255)); wputb(shr(n, 8)); else waction("IMM_W", n) end end -- Put signed or unsigned dword or arg. local function wputdarg(n) local tn = type(n) if tn == "number" then wputb(band(n, 255)) wputb(band(shr(n, 8), 255)) wputb(band(shr(n, 16), 255)) wputb(shr(n, 24)) elseif tn == "table" then wputlabel("IMM_", n[1], 1) else waction("IMM_D", n) end end -- Put operand-size dependent number or arg (defaults to dword). local function wputszarg(sz, n) if not sz or sz == "d" or sz == "q" then wputdarg(n) elseif sz == "w" then wputwarg(n) elseif sz == "b" then wputbarg(n) elseif sz == "s" then wputsbarg(n) else werror("bad operand size") end end -- Put multi-byte opcode with operand-size dependent modifications. local function wputop(sz, op, rex) local r if rex ~= 0 and not x64 then werror("bad operand size") end if sz == "w" then wputb(102) end -- Needs >32 bit numbers, but only for crc32 eax, word [ebx] if op >= 4294967296 then r = op%4294967296 wputb((op-r)/4294967296) op = r end if op >= 16777216 then wputb(shr(op, 24)); op = band(op, 0xffffff) end if op >= 65536 then if rex ~= 0 then local opc3 = band(op, 0xffff00) if opc3 == 0x0f3a00 or opc3 == 0x0f3800 then wputb(64 + band(rex, 15)); rex = 0 end end wputb(shr(op, 16)); op = band(op, 0xffff) end if op >= 256 then local b = shr(op, 8) if b == 15 and rex ~= 0 then wputb(64 + band(rex, 15)); rex = 0 end wputb(b) op = band(op, 255) end if rex ~= 0 then wputb(64 + band(rex, 15)) end if sz == "b" then op = op - 1 end wputb(op) end -- Put ModRM or SIB formatted byte. local function wputmodrm(m, s, rm, vs, vrm) assert(m < 4 and s < 16 and rm < 16, "bad modrm operands") wputb(shl(m, 6) + shl(band(s, 7), 3) + band(rm, 7)) end -- Put ModRM/SIB plus optional displacement. local function wputmrmsib(t, imark, s, vsreg) local vreg, vxreg local reg, xreg = t.reg, t.xreg if reg and reg < 0 then reg = 0; vreg = t.vreg end if xreg and xreg < 0 then xreg = 0; vxreg = t.vxreg end if s < 0 then s = 0 end -- Register mode. if sub(t.mode, 1, 1) == "r" then wputmodrm(3, s, reg) if vsreg then waction("VREG", vsreg); wputxb(2) end if vreg then waction("VREG", vreg); wputxb(0) end return end local disp = t.disp local tdisp = type(disp) -- No base register? if not reg then local riprel = false if xreg then -- Indexed mode with index register only. -- [xreg*xsc+disp] -> (0, s, esp) (xsc, xreg, ebp) wputmodrm(0, s, 4) if imark == "I" then waction("MARK") end if vsreg then waction("VREG", vsreg); wputxb(2) end wputmodrm(t.xsc, xreg, 5) if vxreg then waction("VREG", vxreg); wputxb(3) end else -- Pure 32 bit displacement. if x64 and tdisp ~= "table" then wputmodrm(0, s, 4) -- [disp] -> (0, s, esp) (0, esp, ebp) if imark == "I" then waction("MARK") end wputmodrm(0, 4, 5) else riprel = x64 wputmodrm(0, s, 5) -- [disp|rip-label] -> (0, s, ebp) if imark == "I" then waction("MARK") end end if vsreg then waction("VREG", vsreg); wputxb(2) end end if riprel then -- Emit rip-relative displacement. if match("UWSiI", imark) then werror("NYI: rip-relative displacement followed by immediate") end -- The previous byte in the action buffer cannot be 0xe9 or 0x80-0x8f. wputlabel("REL_", disp[1], 2) else wputdarg(disp) end return end local m if tdisp == "number" then -- Check displacement size at assembly time. if disp == 0 and band(reg, 7) ~= 5 then -- [ebp] -> [ebp+0] (in SIB, too) if not vreg then m = 0 end -- Force DISP to allow [Rd(5)] -> [ebp+0] elseif disp >= -128 and disp <= 127 then m = 1 else m = 2 end elseif tdisp == "table" then m = 2 end -- Index register present or esp as base register: need SIB encoding. if xreg or band(reg, 7) == 4 then wputmodrm(m or 2, s, 4) -- ModRM. if m == nil or imark == "I" then waction("MARK") end if vsreg then waction("VREG", vsreg); wputxb(2) end wputmodrm(t.xsc or 0, xreg or 4, reg) -- SIB. if vxreg then waction("VREG", vxreg); wputxb(3) end if vreg then waction("VREG", vreg); wputxb(1) end else wputmodrm(m or 2, s, reg) -- ModRM. if (imark == "I" and (m == 1 or m == 2)) or (m == nil and (vsreg or vreg)) then waction("MARK") end if vsreg then waction("VREG", vsreg); wputxb(2) end if vreg then waction("VREG", vreg); wputxb(1) end end -- Put displacement. if m == 1 then wputsbarg(disp) elseif m == 2 then wputdarg(disp) elseif m == nil then waction("DISP", disp) end end ------------------------------------------------------------------------------ -- Return human-readable operand mode string. local function opmodestr(op, args) local m = {} for i=1,#args do local a = args[i] m[#m+1] = sub(a.mode, 1, 1)..(a.opsize or "?") end return op.." "..concat(m, ",") end -- Convert number to valid integer or nil. local function toint(expr) local n = tonumber(expr) if n then if n % 1 ~= 0 or n < -2147483648 or n > 4294967295 then werror("bad integer number `"..expr.."'") end return n end end -- Parse immediate expression. local function immexpr(expr) -- &expr (pointer) if sub(expr, 1, 1) == "&" then return "iPJ", format("(ptrdiff_t)(%s)", sub(expr,2)) end local prefix = sub(expr, 1, 2) -- =>expr (pc label reference) if prefix == "=>" then return "iJ", sub(expr, 3) end -- ->name (global label reference) if prefix == "->" then return "iJ", map_global[sub(expr, 3)] end -- [<>][1-9] (local label reference) local dir, lnum = match(expr, "^([<>])([1-9])$") if dir then -- Fwd: 247-255, Bkwd: 1-9. return "iJ", lnum + (dir == ">" and 246 or 0) end local extname = match(expr, "^extern%s+(%S+)$") if extname then return "iJ", map_extern[extname] end -- expr (interpreted as immediate) return "iI", expr end -- Parse displacement expression: +-num, +-expr, +-opsize*num local function dispexpr(expr) local disp = expr == "" and 0 or toint(expr) if disp then return disp end local c, dispt = match(expr, "^([+-])%s*(.+)$") if c == "+" then expr = dispt elseif not c then werror("bad displacement expression `"..expr.."'") end local opsize, tailops = match(dispt, "^(%w+)%s*%*%s*(.+)$") local ops, imm = map_opsize[opsize], toint(tailops) if ops and imm then if c == "-" then imm = -imm end return imm*map_opsizenum[ops] end local mode, iexpr = immexpr(dispt) if mode == "iJ" then if c == "-" then werror("cannot invert label reference") end return { iexpr } end return expr -- Need to return original signed expression. end -- Parse register or type expression. local function rtexpr(expr) if not expr then return end local tname, ovreg = match(expr, "^([%w_]+):(@[%w_]+)$") local tp = map_type[tname or expr] if tp then local reg = ovreg or tp.reg local rnum = map_reg_num[reg] if not rnum then werror("type `"..(tname or expr).."' needs a register override") end if not map_reg_valid_base[reg] then werror("bad base register override `"..(map_reg_rev[reg] or reg).."'") end return reg, rnum, tp end return expr, map_reg_num[expr] end -- Parse operand and return { mode, opsize, reg, xreg, xsc, disp, imm }. local function parseoperand(param) local t = {} local expr = param local opsize, tailops = match(param, "^(%w+)%s*(.+)$") if opsize then t.opsize = map_opsize[opsize] if t.opsize then expr = tailops end end local br = match(expr, "^%[%s*(.-)%s*%]$") repeat if br then t.mode = "xm" -- [disp] t.disp = toint(br) if t.disp then t.mode = x64 and "xm" or "xmO" break end -- [reg...] local tp local reg, tailr = match(br, "^([@%w_:]+)%s*(.*)$") reg, t.reg, tp = rtexpr(reg) if not t.reg then -- [expr] t.mode = x64 and "xm" or "xmO" t.disp = dispexpr("+"..br) break end if t.reg == -1 then t.vreg, tailr = match(tailr, "^(%b())(.*)$") if not t.vreg then werror("bad variable register expression") end end -- [xreg*xsc] or [xreg*xsc+-disp] or [xreg*xsc+-expr] local xsc, tailsc = match(tailr, "^%*%s*([1248])%s*(.*)$") if xsc then if not map_reg_valid_index[reg] then werror("bad index register `"..map_reg_rev[reg].."'") end t.xsc = map_xsc[xsc] t.xreg = t.reg t.vxreg = t.vreg t.reg = nil t.vreg = nil t.disp = dispexpr(tailsc) break end if not map_reg_valid_base[reg] then werror("bad base register `"..map_reg_rev[reg].."'") end -- [reg] or [reg+-disp] t.disp = toint(tailr) or (tailr == "" and 0) if t.disp then break end -- [reg+xreg...] local xreg, tailx = match(tailr, "^+%s*([@%w_:]+)%s*(.*)$") xreg, t.xreg, tp = rtexpr(xreg) if not t.xreg then -- [reg+-expr] t.disp = dispexpr(tailr) break end if not map_reg_valid_index[xreg] then werror("bad index register `"..map_reg_rev[xreg].."'") end if t.xreg == -1 then t.vxreg, tailx = match(tailx, "^(%b())(.*)$") if not t.vxreg then werror("bad variable register expression") end end -- [reg+xreg*xsc...] local xsc, tailsc = match(tailx, "^%*%s*([1248])%s*(.*)$") if xsc then t.xsc = map_xsc[xsc] tailx = tailsc end -- [...] or [...+-disp] or [...+-expr] t.disp = dispexpr(tailx) else -- imm or opsize*imm local imm = toint(expr) if not imm and sub(expr, 1, 1) == "*" and t.opsize then imm = toint(sub(expr, 2)) if imm then imm = imm * map_opsizenum[t.opsize] t.opsize = nil end end if imm then if t.opsize then werror("bad operand size override") end local m = "i" if imm == 1 then m = m.."1" end if imm >= 4294967168 and imm <= 4294967295 then imm = imm-4294967296 end if imm >= -128 and imm <= 127 then m = m.."S" end t.imm = imm t.mode = m break end local tp local reg, tailr = match(expr, "^([@%w_:]+)%s*(.*)$") reg, t.reg, tp = rtexpr(reg) if t.reg then if t.reg == -1 then t.vreg, tailr = match(tailr, "^(%b())(.*)$") if not t.vreg then werror("bad variable register expression") end end -- reg if tailr == "" then if t.opsize then werror("bad operand size override") end t.opsize = map_reg_opsize[reg] if t.opsize == "f" then t.mode = t.reg == 0 and "fF" or "f" else if reg == "@w4" or (x64 and reg == "@d4") then wwarn("bad idea, try again with `"..(x64 and "rsp'" or "esp'")) end t.mode = t.reg == 0 and "rmR" or (reg == "@b1" and "rmC" or "rm") end t.needrex = map_reg_needrex[reg] break end -- type[idx], type[idx].field, type->field -> [reg+offset_expr] if not tp then werror("bad operand `"..param.."'") end t.mode = "xm" t.disp = format(tp.ctypefmt, tailr) else t.mode, t.imm = immexpr(expr) if sub(t.mode, -1) == "J" then if t.opsize and t.opsize ~= addrsize then werror("bad operand size override") end t.opsize = addrsize end end end until true return t end ------------------------------------------------------------------------------ -- x86 Template String Description -- =============================== -- -- Each template string is a list of [match:]pattern pairs, -- separated by "|". The first match wins. No match means a -- bad or unsupported combination of operand modes or sizes. -- -- The match part and the ":" is omitted if the operation has -- no operands. Otherwise the first N characters are matched -- against the mode strings of each of the N operands. -- -- The mode string for each operand type is (see parseoperand()): -- Integer register: "rm", +"R" for eax, ax, al, +"C" for cl -- FP register: "f", +"F" for st0 -- Index operand: "xm", +"O" for [disp] (pure offset) -- Immediate: "i", +"S" for signed 8 bit, +"1" for 1, -- +"I" for arg, +"P" for pointer -- Any: +"J" for valid jump targets -- -- So a match character "m" (mixed) matches both an integer register -- and an index operand (to be encoded with the ModRM/SIB scheme). -- But "r" matches only a register and "x" only an index operand -- (e.g. for FP memory access operations). -- -- The operand size match string starts right after the mode match -- characters and ends before the ":". "dwb" or "qdwb" is assumed, if empty. -- The effective data size of the operation is matched against this list. -- -- If only the regular "b", "w", "d", "q", "t" operand sizes are -- present, then all operands must be the same size. Unspecified sizes -- are ignored, but at least one operand must have a size or the pattern -- won't match (use the "byte", "word", "dword", "qword", "tword" -- operand size overrides. E.g.: mov dword [eax], 1). -- -- If the list has a "1" or "2" prefix, the operand size is taken -- from the respective operand and any other operand sizes are ignored. -- If the list contains only ".", all operand sizes are ignored. -- If the list has a "/" prefix, the concatenated (mixed) operand sizes -- are compared to the match. -- -- E.g. "rrdw" matches for either two dword registers or two word -- registers. "Fx2dq" matches an st0 operand plus an index operand -- pointing to a dword (float) or qword (double). -- -- Every character after the ":" is part of the pattern string: -- Hex chars are accumulated to form the opcode (left to right). -- "n" disables the standard opcode mods -- (otherwise: -1 for "b", o16 prefix for "w", rex.w for "q") -- "X" Force REX.W. -- "r"/"R" adds the reg. number from the 1st/2nd operand to the opcode. -- "m"/"M" generates ModRM/SIB from the 1st/2nd operand. -- The spare 3 bits are either filled with the last hex digit or -- the result from a previous "r"/"R". The opcode is restored. -- -- All of the following characters force a flush of the opcode: -- "o"/"O" stores a pure 32 bit disp (offset) from the 1st/2nd operand. -- "S" stores a signed 8 bit immediate from the last operand. -- "U" stores an unsigned 8 bit immediate from the last operand. -- "W" stores an unsigned 16 bit immediate from the last operand. -- "i" stores an operand sized immediate from the last operand. -- "I" dito, but generates an action code to optionally modify -- the opcode (+2) for a signed 8 bit immediate. -- "J" generates one of the REL action codes from the last operand. -- ------------------------------------------------------------------------------ -- Template strings for x86 instructions. Ordered by first opcode byte. -- Unimplemented opcodes (deliberate omissions) are marked with *. local map_op = { -- 00-05: add... -- 06: *push es -- 07: *pop es -- 08-0D: or... -- 0E: *push cs -- 0F: two byte opcode prefix -- 10-15: adc... -- 16: *push ss -- 17: *pop ss -- 18-1D: sbb... -- 1E: *push ds -- 1F: *pop ds -- 20-25: and... es_0 = "26", -- 27: *daa -- 28-2D: sub... cs_0 = "2E", -- 2F: *das -- 30-35: xor... ss_0 = "36", -- 37: *aaa -- 38-3D: cmp... ds_0 = "3E", -- 3F: *aas inc_1 = x64 and "m:FF0m" or "rdw:40r|m:FF0m", dec_1 = x64 and "m:FF1m" or "rdw:48r|m:FF1m", push_1 = (x64 and "rq:n50r|rw:50r|mq:nFF6m|mw:FF6m" or "rdw:50r|mdw:FF6m").."|S.:6AS|ib:n6Ai|i.:68i", pop_1 = x64 and "rq:n58r|rw:58r|mq:n8F0m|mw:8F0m" or "rdw:58r|mdw:8F0m", -- 60: *pusha, *pushad, *pushaw -- 61: *popa, *popad, *popaw -- 62: *bound rdw,x -- 63: x86: *arpl mw,rw movsxd_2 = x64 and "rm/qd:63rM", fs_0 = "64", gs_0 = "65", o16_0 = "66", a16_0 = not x64 and "67" or nil, a32_0 = x64 and "67", -- 68: push idw -- 69: imul rdw,mdw,idw -- 6A: push ib -- 6B: imul rdw,mdw,S -- 6C: *insb -- 6D: *insd, *insw -- 6E: *outsb -- 6F: *outsd, *outsw -- 70-7F: jcc lb -- 80: add... mb,i -- 81: add... mdw,i -- 82: *undefined -- 83: add... mdw,S test_2 = "mr:85Rm|rm:85rM|Ri:A9ri|mi:F70mi", -- 86: xchg rb,mb -- 87: xchg rdw,mdw -- 88: mov mb,r -- 89: mov mdw,r -- 8A: mov r,mb -- 8B: mov r,mdw -- 8C: *mov mdw,seg lea_2 = "rx1dq:8DrM", -- 8E: *mov seg,mdw -- 8F: pop mdw nop_0 = "90", xchg_2 = "Rrqdw:90R|rRqdw:90r|rm:87rM|mr:87Rm", cbw_0 = "6698", cwde_0 = "98", cdqe_0 = "4898", cwd_0 = "6699", cdq_0 = "99", cqo_0 = "4899", -- 9A: *call iw:idw wait_0 = "9B", fwait_0 = "9B", pushf_0 = "9C", pushfd_0 = not x64 and "9C", pushfq_0 = x64 and "9C", popf_0 = "9D", popfd_0 = not x64 and "9D", popfq_0 = x64 and "9D", sahf_0 = "9E", lahf_0 = "9F", mov_2 = "OR:A3o|RO:A1O|mr:89Rm|rm:8BrM|rib:nB0ri|ridw:B8ri|mi:C70mi", movsb_0 = "A4", movsw_0 = "66A5", movsd_0 = "A5", cmpsb_0 = "A6", cmpsw_0 = "66A7", cmpsd_0 = "A7", -- A8: test Rb,i -- A9: test Rdw,i stosb_0 = "AA", stosw_0 = "66AB", stosd_0 = "AB", lodsb_0 = "AC", lodsw_0 = "66AD", lodsd_0 = "AD", scasb_0 = "AE", scasw_0 = "66AF", scasd_0 = "AF", -- B0-B7: mov rb,i -- B8-BF: mov rdw,i -- C0: rol... mb,i -- C1: rol... mdw,i ret_1 = "i.:nC2W", ret_0 = "C3", -- C4: *les rdw,mq -- C5: *lds rdw,mq -- C6: mov mb,i -- C7: mov mdw,i -- C8: *enter iw,ib leave_0 = "C9", -- CA: *retf iw -- CB: *retf int3_0 = "CC", int_1 = "i.:nCDU", into_0 = "CE", -- CF: *iret -- D0: rol... mb,1 -- D1: rol... mdw,1 -- D2: rol... mb,cl -- D3: rol... mb,cl -- D4: *aam ib -- D5: *aad ib -- D6: *salc -- D7: *xlat -- D8-DF: floating point ops -- E0: *loopne -- E1: *loope -- E2: *loop -- E3: *jcxz, *jecxz -- E4: *in Rb,ib -- E5: *in Rdw,ib -- E6: *out ib,Rb -- E7: *out ib,Rdw call_1 = x64 and "mq:nFF2m|J.:E8nJ" or "md:FF2m|J.:E8J", jmp_1 = x64 and "mq:nFF4m|J.:E9nJ" or "md:FF4m|J.:E9J", -- short: EB -- EA: *jmp iw:idw -- EB: jmp ib -- EC: *in Rb,dx -- ED: *in Rdw,dx -- EE: *out dx,Rb -- EF: *out dx,Rdw lock_0 = "F0", int1_0 = "F1", repne_0 = "F2", repnz_0 = "F2", rep_0 = "F3", repe_0 = "F3", repz_0 = "F3", -- F4: *hlt cmc_0 = "F5", -- F6: test... mb,i; div... mb -- F7: test... mdw,i; div... mdw clc_0 = "F8", stc_0 = "F9", -- FA: *cli cld_0 = "FC", std_0 = "FD", -- FE: inc... mb -- FF: inc... mdw -- misc ops not_1 = "m:F72m", neg_1 = "m:F73m", mul_1 = "m:F74m", imul_1 = "m:F75m", div_1 = "m:F76m", idiv_1 = "m:F77m", imul_2 = "rmqdw:0FAFrM|rIqdw:69rmI|rSqdw:6BrmS|riqdw:69rmi", imul_3 = "rmIqdw:69rMI|rmSqdw:6BrMS|rmiqdw:69rMi", movzx_2 = "rm/db:0FB6rM|rm/qb:|rm/wb:0FB6rM|rm/dw:0FB7rM|rm/qw:", movsx_2 = "rm/db:0FBErM|rm/qb:|rm/wb:0FBErM|rm/dw:0FBFrM|rm/qw:", bswap_1 = "rqd:0FC8r", bsf_2 = "rmqdw:0FBCrM", bsr_2 = "rmqdw:0FBDrM", bt_2 = "mrqdw:0FA3Rm|miqdw:0FBA4mU", btc_2 = "mrqdw:0FBBRm|miqdw:0FBA7mU", btr_2 = "mrqdw:0FB3Rm|miqdw:0FBA6mU", bts_2 = "mrqdw:0FABRm|miqdw:0FBA5mU", shld_3 = "mriqdw:0FA4RmU|mrCqdw:0FA5Rm", shrd_3 = "mriqdw:0FACRmU|mrCqdw:0FADRm", rdtsc_0 = "0F31", -- P1+ cpuid_0 = "0FA2", -- P1+ -- floating point ops fst_1 = "ff:DDD0r|xd:D92m|xq:nDD2m", fstp_1 = "ff:DDD8r|xd:D93m|xq:nDD3m|xt:DB7m", fld_1 = "ff:D9C0r|xd:D90m|xq:nDD0m|xt:DB5m", fpop_0 = "DDD8", -- Alias for fstp st0. fist_1 = "xw:nDF2m|xd:DB2m", fistp_1 = "xw:nDF3m|xd:DB3m|xq:nDF7m", fild_1 = "xw:nDF0m|xd:DB0m|xq:nDF5m", fxch_0 = "D9C9", fxch_1 = "ff:D9C8r", fxch_2 = "fFf:D9C8r|Fff:D9C8R", fucom_1 = "ff:DDE0r", fucom_2 = "Fff:DDE0R", fucomp_1 = "ff:DDE8r", fucomp_2 = "Fff:DDE8R", fucomi_1 = "ff:DBE8r", -- P6+ fucomi_2 = "Fff:DBE8R", -- P6+ fucomip_1 = "ff:DFE8r", -- P6+ fucomip_2 = "Fff:DFE8R", -- P6+ fcomi_1 = "ff:DBF0r", -- P6+ fcomi_2 = "Fff:DBF0R", -- P6+ fcomip_1 = "ff:DFF0r", -- P6+ fcomip_2 = "Fff:DFF0R", -- P6+ fucompp_0 = "DAE9", fcompp_0 = "DED9", fldenv_1 = "x.:D94m", fnstenv_1 = "x.:D96m", fstenv_1 = "x.:9BD96m", fldcw_1 = "xw:nD95m", fstcw_1 = "xw:n9BD97m", fnstcw_1 = "xw:nD97m", fstsw_1 = "Rw:n9BDFE0|xw:n9BDD7m", fnstsw_1 = "Rw:nDFE0|xw:nDD7m", fclex_0 = "9BDBE2", fnclex_0 = "DBE2", fnop_0 = "D9D0", -- D9D1-D9DF: unassigned fchs_0 = "D9E0", fabs_0 = "D9E1", -- D9E2: unassigned -- D9E3: unassigned ftst_0 = "D9E4", fxam_0 = "D9E5", -- D9E6: unassigned -- D9E7: unassigned fld1_0 = "D9E8", fldl2t_0 = "D9E9", fldl2e_0 = "D9EA", fldpi_0 = "D9EB", fldlg2_0 = "D9EC", fldln2_0 = "D9ED", fldz_0 = "D9EE", -- D9EF: unassigned f2xm1_0 = "D9F0", fyl2x_0 = "D9F1", fptan_0 = "D9F2", fpatan_0 = "D9F3", fxtract_0 = "D9F4", fprem1_0 = "D9F5", fdecstp_0 = "D9F6", fincstp_0 = "D9F7", fprem_0 = "D9F8", fyl2xp1_0 = "D9F9", fsqrt_0 = "D9FA", fsincos_0 = "D9FB", frndint_0 = "D9FC", fscale_0 = "D9FD", fsin_0 = "D9FE", fcos_0 = "D9FF", -- SSE, SSE2 andnpd_2 = "rmo:660F55rM", andnps_2 = "rmo:0F55rM", andpd_2 = "rmo:660F54rM", andps_2 = "rmo:0F54rM", clflush_1 = "x.:0FAE7m", cmppd_3 = "rmio:660FC2rMU", cmpps_3 = "rmio:0FC2rMU", cmpsd_3 = "rrio:F20FC2rMU|rxi/oq:", cmpss_3 = "rrio:F30FC2rMU|rxi/od:", comisd_2 = "rro:660F2FrM|rx/oq:", comiss_2 = "rro:0F2FrM|rx/od:", cvtdq2pd_2 = "rro:F30FE6rM|rx/oq:", cvtdq2ps_2 = "rmo:0F5BrM", cvtpd2dq_2 = "rmo:F20FE6rM", cvtpd2ps_2 = "rmo:660F5ArM", cvtpi2pd_2 = "rx/oq:660F2ArM", cvtpi2ps_2 = "rx/oq:0F2ArM", cvtps2dq_2 = "rmo:660F5BrM", cvtps2pd_2 = "rro:0F5ArM|rx/oq:", cvtsd2si_2 = "rr/do:F20F2DrM|rr/qo:|rx/dq:|rxq:", cvtsd2ss_2 = "rro:F20F5ArM|rx/oq:", cvtsi2sd_2 = "rm/od:F20F2ArM|rm/oq:F20F2ArXM", cvtsi2ss_2 = "rm/od:F30F2ArM|rm/oq:F30F2ArXM", cvtss2sd_2 = "rro:F30F5ArM|rx/od:", cvtss2si_2 = "rr/do:F20F2CrM|rr/qo:|rxd:|rx/qd:", cvttpd2dq_2 = "rmo:660FE6rM", cvttps2dq_2 = "rmo:F30F5BrM", cvttsd2si_2 = "rr/do:F20F2CrM|rr/qo:|rx/dq:|rxq:", cvttss2si_2 = "rr/do:F30F2CrM|rr/qo:|rxd:|rx/qd:", fxsave_1 = "x.:0FAE0m", fxrstor_1 = "x.:0FAE1m", ldmxcsr_1 = "xd:0FAE2m", lfence_0 = "0FAEE8", maskmovdqu_2 = "rro:660FF7rM", mfence_0 = "0FAEF0", movapd_2 = "rmo:660F28rM|mro:660F29Rm", movaps_2 = "rmo:0F28rM|mro:0F29Rm", movd_2 = "rm/od:660F6ErM|rm/oq:660F6ErXM|mr/do:660F7ERm|mr/qo:", movdqa_2 = "rmo:660F6FrM|mro:660F7FRm", movdqu_2 = "rmo:F30F6FrM|mro:F30F7FRm", movhlps_2 = "rro:0F12rM", movhpd_2 = "rx/oq:660F16rM|xr/qo:n660F17Rm", movhps_2 = "rx/oq:0F16rM|xr/qo:n0F17Rm", movlhps_2 = "rro:0F16rM", movlpd_2 = "rx/oq:660F12rM|xr/qo:n660F13Rm", movlps_2 = "rx/oq:0F12rM|xr/qo:n0F13Rm", movmskpd_2 = "rr/do:660F50rM", movmskps_2 = "rr/do:0F50rM", movntdq_2 = "xro:660FE7Rm", movnti_2 = "xrqd:0FC3Rm", movntpd_2 = "xro:660F2BRm", movntps_2 = "xro:0F2BRm", movq_2 = "rro:F30F7ErM|rx/oq:|xr/qo:n660FD6Rm", movsd_2 = "rro:F20F10rM|rx/oq:|xr/qo:nF20F11Rm", movss_2 = "rro:F30F10rM|rx/od:|xr/do:F30F11Rm", movupd_2 = "rmo:660F10rM|mro:660F11Rm", movups_2 = "rmo:0F10rM|mro:0F11Rm", orpd_2 = "rmo:660F56rM", orps_2 = "rmo:0F56rM", packssdw_2 = "rmo:660F6BrM", packsswb_2 = "rmo:660F63rM", packuswb_2 = "rmo:660F67rM", paddb_2 = "rmo:660FFCrM", paddd_2 = "rmo:660FFErM", paddq_2 = "rmo:660FD4rM", paddsb_2 = "rmo:660FECrM", paddsw_2 = "rmo:660FEDrM", paddusb_2 = "rmo:660FDCrM", paddusw_2 = "rmo:660FDDrM", paddw_2 = "rmo:660FFDrM", pand_2 = "rmo:660FDBrM", pandn_2 = "rmo:660FDFrM", pause_0 = "F390", pavgb_2 = "rmo:660FE0rM", pavgw_2 = "rmo:660FE3rM", pcmpeqb_2 = "rmo:660F74rM", pcmpeqd_2 = "rmo:660F76rM", pcmpeqw_2 = "rmo:660F75rM", pcmpgtb_2 = "rmo:660F64rM", pcmpgtd_2 = "rmo:660F66rM", pcmpgtw_2 = "rmo:660F65rM", pextrw_3 = "rri/do:660FC5rMU|xri/wo:660F3A15nrMU", -- Mem op: SSE4.1 only. pinsrw_3 = "rri/od:660FC4rMU|rxi/ow:", pmaddwd_2 = "rmo:660FF5rM", pmaxsw_2 = "rmo:660FEErM", pmaxub_2 = "rmo:660FDErM", pminsw_2 = "rmo:660FEArM", pminub_2 = "rmo:660FDArM", pmovmskb_2 = "rr/do:660FD7rM", pmulhuw_2 = "rmo:660FE4rM", pmulhw_2 = "rmo:660FE5rM", pmullw_2 = "rmo:660FD5rM", pmuludq_2 = "rmo:660FF4rM", por_2 = "rmo:660FEBrM", prefetchnta_1 = "xb:n0F180m", prefetcht0_1 = "xb:n0F181m", prefetcht1_1 = "xb:n0F182m", prefetcht2_1 = "xb:n0F183m", psadbw_2 = "rmo:660FF6rM", pshufd_3 = "rmio:660F70rMU", pshufhw_3 = "rmio:F30F70rMU", pshuflw_3 = "rmio:F20F70rMU", pslld_2 = "rmo:660FF2rM|rio:660F726mU", pslldq_2 = "rio:660F737mU", psllq_2 = "rmo:660FF3rM|rio:660F736mU", psllw_2 = "rmo:660FF1rM|rio:660F716mU", psrad_2 = "rmo:660FE2rM|rio:660F724mU", psraw_2 = "rmo:660FE1rM|rio:660F714mU", psrld_2 = "rmo:660FD2rM|rio:660F722mU", psrldq_2 = "rio:660F733mU", psrlq_2 = "rmo:660FD3rM|rio:660F732mU", psrlw_2 = "rmo:660FD1rM|rio:660F712mU", psubb_2 = "rmo:660FF8rM", psubd_2 = "rmo:660FFArM", psubq_2 = "rmo:660FFBrM", psubsb_2 = "rmo:660FE8rM", psubsw_2 = "rmo:660FE9rM", psubusb_2 = "rmo:660FD8rM", psubusw_2 = "rmo:660FD9rM", psubw_2 = "rmo:660FF9rM", punpckhbw_2 = "rmo:660F68rM", punpckhdq_2 = "rmo:660F6ArM", punpckhqdq_2 = "rmo:660F6DrM", punpckhwd_2 = "rmo:660F69rM", punpcklbw_2 = "rmo:660F60rM", punpckldq_2 = "rmo:660F62rM", punpcklqdq_2 = "rmo:660F6CrM", punpcklwd_2 = "rmo:660F61rM", pxor_2 = "rmo:660FEFrM", rcpps_2 = "rmo:0F53rM", rcpss_2 = "rro:F30F53rM|rx/od:", rsqrtps_2 = "rmo:0F52rM", rsqrtss_2 = "rmo:F30F52rM", sfence_0 = "0FAEF8", shufpd_3 = "rmio:660FC6rMU", shufps_3 = "rmio:0FC6rMU", stmxcsr_1 = "xd:0FAE3m", ucomisd_2 = "rro:660F2ErM|rx/oq:", ucomiss_2 = "rro:0F2ErM|rx/od:", unpckhpd_2 = "rmo:660F15rM", unpckhps_2 = "rmo:0F15rM", unpcklpd_2 = "rmo:660F14rM", unpcklps_2 = "rmo:0F14rM", xorpd_2 = "rmo:660F57rM", xorps_2 = "rmo:0F57rM", -- SSE3 ops fisttp_1 = "xw:nDF1m|xd:DB1m|xq:nDD1m", addsubpd_2 = "rmo:660FD0rM", addsubps_2 = "rmo:F20FD0rM", haddpd_2 = "rmo:660F7CrM", haddps_2 = "rmo:F20F7CrM", hsubpd_2 = "rmo:660F7DrM", hsubps_2 = "rmo:F20F7DrM", lddqu_2 = "rxo:F20FF0rM", movddup_2 = "rmo:F20F12rM", movshdup_2 = "rmo:F30F16rM", movsldup_2 = "rmo:F30F12rM", -- SSSE3 ops pabsb_2 = "rmo:660F381CrM", pabsd_2 = "rmo:660F381ErM", pabsw_2 = "rmo:660F381DrM", palignr_3 = "rmio:660F3A0FrMU", phaddd_2 = "rmo:660F3802rM", phaddsw_2 = "rmo:660F3803rM", phaddw_2 = "rmo:660F3801rM", phsubd_2 = "rmo:660F3806rM", phsubsw_2 = "rmo:660F3807rM", phsubw_2 = "rmo:660F3805rM", pmaddubsw_2 = "rmo:660F3804rM", pmulhrsw_2 = "rmo:660F380BrM", pshufb_2 = "rmo:660F3800rM", psignb_2 = "rmo:660F3808rM", psignd_2 = "rmo:660F380ArM", psignw_2 = "rmo:660F3809rM", -- SSE4.1 ops blendpd_3 = "rmio:660F3A0DrMU", blendps_3 = "rmio:660F3A0CrMU", blendvpd_3 = "rmRo:660F3815rM", blendvps_3 = "rmRo:660F3814rM", dppd_3 = "rmio:660F3A41rMU", dpps_3 = "rmio:660F3A40rMU", extractps_3 = "mri/do:660F3A17RmU|rri/qo:660F3A17RXmU", insertps_3 = "rrio:660F3A41rMU|rxi/od:", movntdqa_2 = "rmo:660F382ArM", mpsadbw_3 = "rmio:660F3A42rMU", packusdw_2 = "rmo:660F382BrM", pblendvb_3 = "rmRo:660F3810rM", pblendw_3 = "rmio:660F3A0ErMU", pcmpeqq_2 = "rmo:660F3829rM", pextrb_3 = "rri/do:660F3A14nRmU|rri/qo:|xri/bo:", pextrd_3 = "mri/do:660F3A16RmU", pextrq_3 = "mri/qo:660F3A16RmU", -- pextrw is SSE2, mem operand is SSE4.1 only phminposuw_2 = "rmo:660F3841rM", pinsrb_3 = "rri/od:660F3A20nrMU|rxi/ob:", pinsrd_3 = "rmi/od:660F3A22rMU", pinsrq_3 = "rmi/oq:660F3A22rXMU", pmaxsb_2 = "rmo:660F383CrM", pmaxsd_2 = "rmo:660F383DrM", pmaxud_2 = "rmo:660F383FrM", pmaxuw_2 = "rmo:660F383ErM", pminsb_2 = "rmo:660F3838rM", pminsd_2 = "rmo:660F3839rM", pminud_2 = "rmo:660F383BrM", pminuw_2 = "rmo:660F383ArM", pmovsxbd_2 = "rro:660F3821rM|rx/od:", pmovsxbq_2 = "rro:660F3822rM|rx/ow:", pmovsxbw_2 = "rro:660F3820rM|rx/oq:", pmovsxdq_2 = "rro:660F3825rM|rx/oq:", pmovsxwd_2 = "rro:660F3823rM|rx/oq:", pmovsxwq_2 = "rro:660F3824rM|rx/od:", pmovzxbd_2 = "rro:660F3831rM|rx/od:", pmovzxbq_2 = "rro:660F3832rM|rx/ow:", pmovzxbw_2 = "rro:660F3830rM|rx/oq:", pmovzxdq_2 = "rro:660F3835rM|rx/oq:", pmovzxwd_2 = "rro:660F3833rM|rx/oq:", pmovzxwq_2 = "rro:660F3834rM|rx/od:", pmuldq_2 = "rmo:660F3828rM", pmulld_2 = "rmo:660F3840rM", ptest_2 = "rmo:660F3817rM", roundpd_3 = "rmio:660F3A09rMU", roundps_3 = "rmio:660F3A08rMU", roundsd_3 = "rrio:660F3A0BrMU|rxi/oq:", roundss_3 = "rrio:660F3A0ArMU|rxi/od:", -- SSE4.2 ops crc32_2 = "rmqd:F20F38F1rM|rm/dw:66F20F38F1rM|rm/db:F20F38F0rM|rm/qb:", pcmpestri_3 = "rmio:660F3A61rMU", pcmpestrm_3 = "rmio:660F3A60rMU", pcmpgtq_2 = "rmo:660F3837rM", pcmpistri_3 = "rmio:660F3A63rMU", pcmpistrm_3 = "rmio:660F3A62rMU", popcnt_2 = "rmqdw:F30FB8rM", -- SSE4a extrq_2 = "rro:660F79rM", extrq_3 = "riio:660F780mUU", insertq_2 = "rro:F20F79rM", insertq_4 = "rriio:F20F78rMUU", lzcnt_2 = "rmqdw:F30FBDrM", movntsd_2 = "xr/qo:nF20F2BRm", movntss_2 = "xr/do:F30F2BRm", -- popcnt is also in SSE4.2 } ------------------------------------------------------------------------------ -- Arithmetic ops. for name,n in pairs{ add = 0, ["or"] = 1, adc = 2, sbb = 3, ["and"] = 4, sub = 5, xor = 6, cmp = 7 } do local n8 = shl(n, 3) map_op[name.."_2"] = format( "mr:%02XRm|rm:%02XrM|mI1qdw:81%XmI|mS1qdw:83%XmS|Ri1qdwb:%02Xri|mi1qdwb:81%Xmi", 1+n8, 3+n8, n, n, 5+n8, n) end -- Shift ops. for name,n in pairs{ rol = 0, ror = 1, rcl = 2, rcr = 3, shl = 4, shr = 5, sar = 7, sal = 4 } do map_op[name.."_2"] = format("m1:D1%Xm|mC1qdwb:D3%Xm|mi:C1%XmU", n, n, n) end -- Conditional ops. for cc,n in pairs(map_cc) do map_op["j"..cc.."_1"] = format("J.:n0F8%XJ", n) -- short: 7%X map_op["set"..cc.."_1"] = format("mb:n0F9%X2m", n) map_op["cmov"..cc.."_2"] = format("rmqdw:0F4%XrM", n) -- P6+ end -- FP arithmetic ops. for name,n in pairs{ add = 0, mul = 1, com = 2, comp = 3, sub = 4, subr = 5, div = 6, divr = 7 } do local nc = 0xc0 + shl(n, 3) local nr = nc + (n < 4 and 0 or (n % 2 == 0 and 8 or -8)) local fn = "f"..name map_op[fn.."_1"] = format("ff:D8%02Xr|xd:D8%Xm|xq:nDC%Xm", nc, n, n) if n == 2 or n == 3 then map_op[fn.."_2"] = format("Fff:D8%02XR|Fx2d:D8%XM|Fx2q:nDC%XM", nc, n, n) else map_op[fn.."_2"] = format("Fff:D8%02XR|fFf:DC%02Xr|Fx2d:D8%XM|Fx2q:nDC%XM", nc, nr, n, n) map_op[fn.."p_1"] = format("ff:DE%02Xr", nr) map_op[fn.."p_2"] = format("fFf:DE%02Xr", nr) end map_op["fi"..name.."_1"] = format("xd:DA%Xm|xw:nDE%Xm", n, n) end -- FP conditional moves. for cc,n in pairs{ b=0, e=1, be=2, u=3, nb=4, ne=5, nbe=6, nu=7 } do local nc = 0xdac0 + shl(band(n, 3), 3) + shl(band(n, 4), 6) map_op["fcmov"..cc.."_1"] = format("ff:%04Xr", nc) -- P6+ map_op["fcmov"..cc.."_2"] = format("Fff:%04XR", nc) -- P6+ end -- SSE FP arithmetic ops. for name,n in pairs{ sqrt = 1, add = 8, mul = 9, sub = 12, min = 13, div = 14, max = 15 } do map_op[name.."ps_2"] = format("rmo:0F5%XrM", n) map_op[name.."ss_2"] = format("rro:F30F5%XrM|rx/od:", n) map_op[name.."pd_2"] = format("rmo:660F5%XrM", n) map_op[name.."sd_2"] = format("rro:F20F5%XrM|rx/oq:", n) end ------------------------------------------------------------------------------ -- Process pattern string. local function dopattern(pat, args, sz, op, needrex) local digit, addin local opcode = 0 local szov = sz local narg = 1 local rex = 0 -- Limit number of section buffer positions used by a single dasm_put(). -- A single opcode needs a maximum of 5 positions. if secpos+5 > maxsecpos then wflush() end -- Process each character. for c in gmatch(pat.."|", ".") do if match(c, "%x") then -- Hex digit. digit = byte(c) - 48 if digit > 48 then digit = digit - 39 elseif digit > 16 then digit = digit - 7 end opcode = opcode*16 + digit addin = nil elseif c == "n" then -- Disable operand size mods for opcode. szov = nil elseif c == "X" then -- Force REX.W. rex = 8 elseif c == "r" then -- Merge 1st operand regno. into opcode. addin = args[1]; opcode = opcode + (addin.reg % 8) if narg < 2 then narg = 2 end elseif c == "R" then -- Merge 2nd operand regno. into opcode. addin = args[2]; opcode = opcode + (addin.reg % 8) narg = 3 elseif c == "m" or c == "M" then -- Encode ModRM/SIB. local s if addin then s = addin.reg opcode = opcode - band(s, 7) -- Undo regno opcode merge. else s = band(opcode, 15) -- Undo last digit. opcode = shr(opcode, 4) end local nn = c == "m" and 1 or 2 local t = args[nn] if narg <= nn then narg = nn + 1 end if szov == "q" and rex == 0 then rex = rex + 8 end if t.reg and t.reg > 7 then rex = rex + 1 end if t.xreg and t.xreg > 7 then rex = rex + 2 end if s > 7 then rex = rex + 4 end if needrex then rex = rex + 16 end wputop(szov, opcode, rex); opcode = nil local imark = sub(pat, -1) -- Force a mark (ugly). -- Put ModRM/SIB with regno/last digit as spare. wputmrmsib(t, imark, s, addin and addin.vreg) addin = nil else if opcode then -- Flush opcode. if szov == "q" and rex == 0 then rex = rex + 8 end if needrex then rex = rex + 16 end if addin and addin.reg == -1 then wputop(szov, opcode - 7, rex) waction("VREG", addin.vreg); wputxb(0) else if addin and addin.reg > 7 then rex = rex + 1 end wputop(szov, opcode, rex) end opcode = nil end if c == "|" then break end if c == "o" then -- Offset (pure 32 bit displacement). wputdarg(args[1].disp); if narg < 2 then narg = 2 end elseif c == "O" then wputdarg(args[2].disp); narg = 3 else -- Anything else is an immediate operand. local a = args[narg] narg = narg + 1 local mode, imm = a.mode, a.imm if mode == "iJ" and not match("iIJ", c) then werror("bad operand size for label") end if c == "S" then wputsbarg(imm) elseif c == "U" then wputbarg(imm) elseif c == "W" then wputwarg(imm) elseif c == "i" or c == "I" then if mode == "iJ" then wputlabel("IMM_", imm, 1) elseif mode == "iI" and c == "I" then waction(sz == "w" and "IMM_WB" or "IMM_DB", imm) else wputszarg(sz, imm) end elseif c == "J" then if mode == "iPJ" then waction("REL_A", imm) -- !x64 (secpos) else wputlabel("REL_", imm, 2) end else werror("bad char `"..c.."' in pattern `"..pat.."' for `"..op.."'") end end end end end ------------------------------------------------------------------------------ -- Mapping of operand modes to short names. Suppress output with '#'. local map_modename = { r = "reg", R = "eax", C = "cl", x = "mem", m = "mrm", i = "imm", f = "stx", F = "st0", J = "lbl", ["1"] = "1", I = "#", S = "#", O = "#", } -- Return a table/string showing all possible operand modes. local function templatehelp(template, nparams) if nparams == 0 then return "" end local t = {} for tm in gmatch(template, "[^%|]+") do local s = map_modename[sub(tm, 1, 1)] s = s..gsub(sub(tm, 2, nparams), ".", function(c) return ", "..map_modename[c] end) if not match(s, "#") then t[#t+1] = s end end return t end -- Match operand modes against mode match part of template. local function matchtm(tm, args) for i=1,#args do if not match(args[i].mode, sub(tm, i, i)) then return end end return true end -- Handle opcodes defined with template strings. map_op[".template__"] = function(params, template, nparams) if not params then return templatehelp(template, nparams) end local args = {} -- Zero-operand opcodes have no match part. if #params == 0 then dopattern(template, args, "d", params.op, nil) return end -- Determine common operand size (coerce undefined size) or flag as mixed. local sz, szmix, needrex for i,p in ipairs(params) do args[i] = parseoperand(p) local nsz = args[i].opsize if nsz then if sz and sz ~= nsz then szmix = true else sz = nsz end end local nrex = args[i].needrex if nrex ~= nil then if needrex == nil then needrex = nrex elseif needrex ~= nrex then werror("bad mix of byte-addressable registers") end end end -- Try all match:pattern pairs (separated by '|'). local gotmatch, lastpat for tm in gmatch(template, "[^%|]+") do -- Split off size match (starts after mode match) and pattern string. local szm, pat = match(tm, "^(.-):(.*)$", #args+1) if pat == "" then pat = lastpat else lastpat = pat end if matchtm(tm, args) then local prefix = sub(szm, 1, 1) if prefix == "/" then -- Match both operand sizes. if args[1].opsize == sub(szm, 2, 2) and args[2].opsize == sub(szm, 3, 3) then dopattern(pat, args, sz, params.op, needrex) -- Process pattern. return end else -- Match common operand size. local szp = sz if szm == "" then szm = x64 and "qdwb" or "dwb" end -- Default sizes. if prefix == "1" then szp = args[1].opsize; szmix = nil elseif prefix == "2" then szp = args[2].opsize; szmix = nil end if not szmix and (prefix == "." or match(szm, szp or "#")) then dopattern(pat, args, szp, params.op, needrex) -- Process pattern. return end end gotmatch = true end end local msg = "bad operand mode" if gotmatch then if szmix then msg = "mixed operand size" else msg = sz and "bad operand size" or "missing operand size" end end werror(msg.." in `"..opmodestr(params.op, args).."'") end ------------------------------------------------------------------------------ -- x64-specific opcode for 64 bit immediates and displacements. if x64 then function map_op.mov64_2(params) if not params then return { "reg, imm", "reg, [disp]", "[disp], reg" } end if secpos+2 > maxsecpos then wflush() end local opcode, op64, sz, rex, vreg local op64 = match(params[1], "^%[%s*(.-)%s*%]$") if op64 then local a = parseoperand(params[2]) if a.mode ~= "rmR" then werror("bad operand mode") end sz = a.opsize rex = sz == "q" and 8 or 0 opcode = 0xa3 else op64 = match(params[2], "^%[%s*(.-)%s*%]$") local a = parseoperand(params[1]) if op64 then if a.mode ~= "rmR" then werror("bad operand mode") end sz = a.opsize rex = sz == "q" and 8 or 0 opcode = 0xa1 else if sub(a.mode, 1, 1) ~= "r" or a.opsize ~= "q" then werror("bad operand mode") end op64 = params[2] if a.reg == -1 then vreg = a.vreg opcode = 0xb8 else opcode = 0xb8 + band(a.reg, 7) end rex = a.reg > 7 and 9 or 8 end end wputop(sz, opcode, rex) if vreg then waction("VREG", vreg); wputxb(0) end waction("IMM_D", format("(unsigned int)(%s)", op64)) waction("IMM_D", format("(unsigned int)((%s)>>32)", op64)) end end ------------------------------------------------------------------------------ -- Pseudo-opcodes for data storage. local function op_data(params) if not params then return "imm..." end local sz = sub(params.op, 2, 2) if sz == "a" then sz = addrsize end for _,p in ipairs(params) do local a = parseoperand(p) if sub(a.mode, 1, 1) ~= "i" or (a.opsize and a.opsize ~= sz) then werror("bad mode or size in `"..p.."'") end if a.mode == "iJ" then wputlabel("IMM_", a.imm, 1) else wputszarg(sz, a.imm) end if secpos+2 > maxsecpos then wflush() end end end map_op[".byte_*"] = op_data map_op[".sbyte_*"] = op_data map_op[".word_*"] = op_data map_op[".dword_*"] = op_data map_op[".aword_*"] = op_data ------------------------------------------------------------------------------ -- Pseudo-opcode to mark the position where the action list is to be emitted. map_op[".actionlist_1"] = function(params) if not params then return "cvar" end local name = params[1] -- No syntax check. You get to keep the pieces. wline(function(out) writeactions(out, name) end) end -- Pseudo-opcode to mark the position where the global enum is to be emitted. map_op[".globals_1"] = function(params) if not params then return "prefix" end local prefix = params[1] -- No syntax check. You get to keep the pieces. wline(function(out) writeglobals(out, prefix) end) end -- Pseudo-opcode to mark the position where the global names are to be emitted. map_op[".globalnames_1"] = function(params) if not params then return "cvar" end local name = params[1] -- No syntax check. You get to keep the pieces. wline(function(out) writeglobalnames(out, name) end) end -- Pseudo-opcode to mark the position where the extern names are to be emitted. map_op[".externnames_1"] = function(params) if not params then return "cvar" end local name = params[1] -- No syntax check. You get to keep the pieces. wline(function(out) writeexternnames(out, name) end) end ------------------------------------------------------------------------------ -- Label pseudo-opcode (converted from trailing colon form). map_op[".label_2"] = function(params) if not params then return "[1-9] | ->global | =>pcexpr [, addr]" end if secpos+2 > maxsecpos then wflush() end local a = parseoperand(params[1]) local mode, imm = a.mode, a.imm if type(imm) == "number" and (mode == "iJ" or (imm >= 1 and imm <= 9)) then -- Local label (1: ... 9:) or global label (->global:). waction("LABEL_LG", nil, 1) wputxb(imm) elseif mode == "iJ" then -- PC label (=>pcexpr:). waction("LABEL_PC", imm) else werror("bad label definition") end -- SETLABEL must immediately follow LABEL_LG/LABEL_PC. local addr = params[2] if addr then local a = parseoperand(addr) if a.mode == "iPJ" then waction("SETLABEL", a.imm) else werror("bad label assignment") end end end map_op[".label_1"] = map_op[".label_2"] ------------------------------------------------------------------------------ -- Alignment pseudo-opcode. map_op[".align_1"] = function(params) if not params then return "numpow2" end if secpos+1 > maxsecpos then wflush() end local align = tonumber(params[1]) or map_opsizenum[map_opsize[params[1]]] if align then local x = align -- Must be a power of 2 in the range (2 ... 256). for i=1,8 do x = x / 2 if x == 1 then waction("ALIGN", nil, 1) wputxb(align-1) -- Action byte is 2**n-1. return end end end werror("bad alignment") end -- Spacing pseudo-opcode. map_op[".space_2"] = function(params) if not params then return "num [, filler]" end if secpos+1 > maxsecpos then wflush() end waction("SPACE", params[1]) local fill = params[2] if fill then fill = tonumber(fill) if not fill or fill < 0 or fill > 255 then werror("bad filler") end end wputxb(fill or 0) end map_op[".space_1"] = map_op[".space_2"] ------------------------------------------------------------------------------ -- Pseudo-opcode for (primitive) type definitions (map to C types). map_op[".type_3"] = function(params, nparams) if not params then return nparams == 2 and "name, ctype" or "name, ctype, reg" end local name, ctype, reg = params[1], params[2], params[3] if not match(name, "^[%a_][%w_]*$") then werror("bad type name `"..name.."'") end local tp = map_type[name] if tp then werror("duplicate type `"..name.."'") end if reg and not map_reg_valid_base[reg] then werror("bad base register `"..(map_reg_rev[reg] or reg).."'") end -- Add #type to defines. A bit unclean to put it in map_archdef. map_archdef["#"..name] = "sizeof("..ctype..")" -- Add new type and emit shortcut define. local num = ctypenum + 1 map_type[name] = { ctype = ctype, ctypefmt = format("Dt%X(%%s)", num), reg = reg, } wline(format("#define Dt%X(_V) (int)(ptrdiff_t)&(((%s *)0)_V)", num, ctype)) ctypenum = num end map_op[".type_2"] = map_op[".type_3"] -- Dump type definitions. local function dumptypes(out, lvl) local t = {} for name in pairs(map_type) do t[#t+1] = name end sort(t) out:write("Type definitions:\n") for _,name in ipairs(t) do local tp = map_type[name] local reg = tp.reg and map_reg_rev[tp.reg] or "" out:write(format(" %-20s %-20s %s\n", name, tp.ctype, reg)) end out:write("\n") end ------------------------------------------------------------------------------ -- Set the current section. function _M.section(num) waction("SECTION") wputxb(num) wflush(true) -- SECTION is a terminal action. end ------------------------------------------------------------------------------ -- Dump architecture description. function _M.dumparch(out) out:write(format("DynASM %s version %s, released %s\n\n", _info.arch, _info.version, _info.release)) dumpregs(out) dumpactions(out) end -- Dump all user defined elements. function _M.dumpdef(out, lvl) dumptypes(out, lvl) dumpglobals(out, lvl) dumpexterns(out, lvl) end ------------------------------------------------------------------------------ -- Pass callbacks from/to the DynASM core. function _M.passcb(wl, we, wf, ww) wline, werror, wfatal, wwarn = wl, we, wf, ww return wflush end -- Setup the arch-specific module. function _M.setup(arch, opt) g_arch, g_opt = arch, opt end -- Merge the core maps and the arch-specific maps. function _M.mergemaps(map_coreop, map_def) setmetatable(map_op, { __index = map_coreop }) setmetatable(map_def, { __index = map_archdef }) return map_op, map_def end return _M ------------------------------------------------------------------------------
mit
edvb54/ratium
packs/default/data/map.lua
2
2985
math.randomseed(os.time()) math.random(); math.random(); math.random() -- TODO: add weighting depending on number of available tiles in chunk calc_rarity = function (rarity) return math.random(1,100) <= rarity*100 end place_block = function(b) local tries = 0 repeat x = math.random(0, MAX_X-1) y = math.random(0, MAX_Y-1) if tries > 100000 then return end tries = tries + 1 until is_spawn(x, y, b) set_map(x, y, b) end place_blocks = function(b) local tries = 0 repeat x = math.random(0, MAX_X-1) y = math.random(0, MAX_Y-1) if tries > 100000 then return end tries = tries + 1 until is_spawn_range(x-1, y-1, 3, 3, b) set_map(x, y, b) for i = 0,math.random(0,8) do pos = math.random(0,8) if pos == 0 then set_map(x+1, y, b) elseif pos == 1 then set_map(x, y+1, b) elseif pos == 2 then set_map(x+1, y+1, b) elseif pos == 3 then set_map(x-1, y, b) elseif pos == 4 then set_map(x, y-1, b) elseif pos == 5 then set_map(x-1, y-1, b) elseif pos == 6 then set_map(x+1, y-1, b) elseif pos == 7 then set_map(x-1, y+1, b) end end end place_room = function(x_0, y_0, wall, floor, doorqty, door, type) local len = math.random(4,10) local height = math.random(4,10) local tries = 0 repeat x = math.random(x_0, x_0+16) y = math.random(y_0, y_0+16) if tries > 100000 then return end tries = tries + 1 until is_spawn_range(x-1, y-1, len+2, height+2, type) for i=0,len do -- place walls for j=0,height do set_map(i+x, j+y, wall) end end for i=1,len-1 do -- place floor for j=1,height-1 do set_map(i+x, j+y, floor) end end for i=1,doorqty do -- place doors pos = math.random(0,3) if pos == 0 then set_map(x+math.random(1,len-1), y, door) elseif pos == 1 then set_map(x, y+math.random(1,height-1), door) elseif pos == 2 then set_map(x+math.random(1,len-1), y+height, door) elseif pos == 3 then set_map(x+len, y+math.random(1,height-1), door) end end end place_bld = function(x_0, y_0, bld) -- TODO separate to include x and y args in back end? local tries = 0 repeat x = math.random(x_0, x_0+16) y = math.random(y_0, y_0+16) if tries > 100000 then return end tries = tries + 1 until is_spawn_range(x-1, y-1, #bld.map[1]+2, #bld.map+2, bld.spawntype) for i in pairs(bld.map) do for j in pairs(bld.map[i]) do if bld.map[i][j] ~= 0 then set_map(j+x, i+y, bld.map[i][j]) end end end end for x_0=0,MAX_X-1,16 do for y_0=0,MAX_Y-1,16 do for i,v in pairs(blds) do if calc_rarity(v.rarity) then place_bld(x_0, y_0, v) end end if calc_rarity(.5) then place_room(x_0, y_0, 3, 4, math.random(1,3), 8, 14) end -- create dungeons if calc_rarity(.2) then place_room(x_0, y_0, 5, 6, math.random(1,2), 8, 14) end -- create houses end end for i=1,math.random(1, 3) do place_blocks(12) place_blocks(15) end for i=1,math.random(4, 8) do place_block(13) place_blocks(14) end
gpl-3.0
Ninjistix/darkstar
scripts/zones/Bibiki_Bay/npcs/Clamming_Point.lua
5
6270
----------------------------------- -- Area: Bibiki Bay -- NPC: Clamming Point ----------------------------------- package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bibiki_Bay/TextIDs"); require("scripts/globals/keyitems"); ----------------------------------- -- Local Variables ----------------------------------- -- clammingItems = item id, weight, drop rate, improved drop rate local clammingItems = { 1311, 6, 0.001, 0.003, -- Oxblood 885, 6, 0.002, 0.006, -- Turtle Shell 1193, 6, 0.003, 0.009, -- HQ Crab Shell 1446, 6, 0.004, 0.012, -- Lacquer Tree Log 4318, 6, 0.005, 0.015, -- Bibiki Urchin 1586, 6, 0.008, 0.024, -- Titanictus Shell 5124, 20, 0.011, 0.033, -- Tropical Clam 690, 6, 0.014, 0.042, -- Elm Log 887, 6, 0.017, 0.051, -- Coral Fragment 703, 6, 0.021, 0.063, -- Petrified Log 691, 6, 0.025, 0.075, -- Maple Log 4468, 6, 0.029, 0.087, -- Pamamas 3270, 6, 0.033, 0.099, -- HQ Pugil Scales 888, 6, 0.038, 0.114, -- Seashell 4328, 6, 0.044, 0.132, -- Hobgoblin Bread 485, 6, 0.051, 0.153, -- Broken Willow Rod 510, 6, 0.058, 0.174, -- Goblin Armor 5187, 6, 0.065, 0.195, -- Elshimo Coconut 507, 6, 0.073, 0.219, -- Goblin Mail 881, 6, 0.081, 0.243, -- Crab Shell 4325, 6, 0.089, 0.267, -- Hobgoblin Pie 936, 6, 0.098, 0.294, -- Rock Salt 4361, 6, 0.107, 0.321, -- Nebimonite 864, 6, 0.119, 0.357, -- Fish Scales 4484, 6, 0.140, 0.420, -- Shall Shell 624, 6, 0.178, 0.534, -- Pamtam Kelp 1654, 35, 0.225, 0.675, -- Igneous Rock 17296, 7, 0.377, 0.784, -- Pebble 5123, 11, 0.628, 0.892, -- Jacknife 5122, 3, 1.000, 1.000 -- Bibiki Slug }; ----------------------------------- -- Local Functions ----------------------------------- local function giveImprovedResults(player) if (player:getMod(MOD_CLAMMING_IMPROVED_RESULTS) > 0) then return 1; end return 0; end; local function giveReducedIncidents(player) if (player:getMod(MOD_CLAMMING_REDUCED_INCIDENTS) > 0) then return 0.05; end return 0.1; end; function onTrade(player,npc,trade) end; function onTrigger(player,npc) if (player:hasKeyItem(CLAMMING_KIT)) then player:setLocalVar("ClammingPointID", npc:getID()); if (GetServerVariable("ClammingPoint_" .. npc:getID() .. "_InUse") == 1) then player:messageSpecial(IT_LOOKS_LIKE_SOMEONE); else if (player:getVar("ClammingKitBroken") > 0) then -- Broken bucket player:messageSpecial(YOU_CANNOT_COLLECT); else local delay = GetServerVariable("ClammingPoint_" .. npc:getID() .. "_Delay"); if ( delay > 0 and delay > os.time()) then -- player has to wait a little longer player:messageSpecial(IT_LOOKS_LIKE_SOMEONE); else SetServerVariable("ClammingPoint_" .. npc:getID() .. "_InUse", 1); SetServerVariable("ClammingPoint_" .. npc:getID() .. "_Delay", 0); player:startEvent(20, 0, 0, 0, 0, 0, 0, 0, 0); end end end else player:messageSpecial(AREA_IS_LITTERED); end; end; function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); if (csid == 20) then if (player:getVar("ClammingKitSize") == 200 and math.random() <= giveReducedIncidents(player)) then player:setLocalVar("SomethingJumpedInBucket", 1); else local dropRate = math.random(); local improvedResults = giveImprovedResults(player); for itemDrop = 3, #clammingItems, 4 do if (dropRate <= clammingItems[itemDrop + improvedResults]) then player:setLocalVar("ClammedItem", clammingItems[itemDrop - 2]); player:setVar("ClammedItem_" .. clammingItems[itemDrop - 2], player:getVar("ClammedItem_" .. clammingItems[itemDrop - 2]) + 1); player:setVar("ClammingKitWeight", player:getVar("ClammingKitWeight") + clammingItems[itemDrop - 1]); if (player:getVar("ClammingKitWeight") > player:getVar("ClammingKitSize")) then -- Broken bucket player:setVar("ClammingKitBroken", 1); end break; end end end end end; function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); if (csid == 20) then if (player:getLocalVar("SomethingJumpedInBucket") > 0) then player:setLocalVar("SomethingJumpedInBucket", 0); player:messageSpecial(SOMETHING_JUMPS_INTO); player:setVar("ClammingKitBroken", 1); for item = 1, #clammingItems, 4 do -- Remove items from bucket player:setVar("ClammedItem_" .. clammingItems[item], 0); end else local clammedItem = player:getLocalVar("ClammedItem"); if (clammedItem > 0) then if (player:getVar("ClammingKitBroken") > 0) then --Broken bucket player:messageSpecial(THE_WEIGHT_IS_TOO_MUCH, clammedItem); for item = 1, #clammingItems, 4 do -- Remove items from bucket player:setVar("ClammedItem_" .. clammingItems[item], 0); end else player:messageSpecial(YOU_FIND_ITEM, clammedItem); end SetServerVariable("ClammingPoint_" .. player:getLocalVar("ClammingPointID") .. "_Delay", os.time() + 10); player:setLocalVar("ClammedItem", 0); end end SetServerVariable("ClammingPoint_" .. player:getLocalVar("ClammingPointID") .. "_InUse", 0); player:setLocalVar("ClammingPointID", 0); end end;
gpl-3.0
abackwood/ProjectPorcupine
Assets/StreamingAssets/LUA/Overlay.lua
17
1968
-- Example of overlay function -- Input: tile, the current tile for which the -- overlay wants to display the data -- Input: world, world class -- Return: an integer (by default should be scaled between 0 and 255) function oxygenValueAt(tile) if tile == nil then return 0 end room = tile.room if room == nil then return 0 end if (room.GetGasAmount("O2") > 0) then return 128 end return 0 end -- Returns room id or null if room or tile invalid function roomNumberValueAt(tile) if tile == nil or tile.room == nil then return 0 else return tile.room.ID end end -- Returns a magic value if furniture in tile is a power gen function powerValueAt(tile) zero = 128 -- This is middle between 0 and 256 multiplier = 12,8 -- For now 1 power is 40 in overlay local powerComponent = ModUtils.GetPlugablePowerConnectionForTile(tile) if (powerComponent == nil) then return zero end if (powerComponent.IsConsumer) then zero = zero - powerComponent.InputRate * multiplier end if (powerComponent.IsProducer) then zero = zero + powerComponent.OutputRate * multiplier end return ModUtils.Clamp(zero, 0, 256) end -- Return temperature (in K) in current tile function temperatureValueAt(tile, world) --if world == nil or world.current == nil or world.current.temperature == nil then -- return -1 --end --if tile == nil then -- return -2 --end return math.max(math.min(world.temperature.GetTemperature(tile.X, tile.Y, tile.Z) / 3, 254), 0) end -- Returns coloring of thermal diffusivity of tile function thermalDiffusivityValueAt(tile, world) if tile == nil then return 255 else return math.max(math.min(254*world.temperature.GetThermalDiffusivity(tile.X, tile.Y, tile.Z))) end end -- Dummy function, will be implemented function heatGenerationValueAt(tile, world) return 0 end
gpl-3.0
Ninjistix/darkstar
scripts/zones/Windurst_Waters/npcs/Foi-Mui.lua
5
1034
----------------------------------- -- Area: Windurst Waters -- NPC: Foi-Mui -- Involved in Quest: Making the Grade -- !pos 126 -6 162 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/keyitems"); require("scripts/zones/Windurst_Waters/TextIDs"); ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc) if (player:getQuestStatus(WINDURST,MAKING_THE_GRADE) == QUEST_ACCEPTED) then player:startEvent(449); -- During Making the GRADE else player:startEvent(430); -- Standard conversation end end; function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end; function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end;
gpl-3.0
area31/telegram-bot
plugins/btc.lua
1
1409
-- See https://bitcoinaverage.com/api local function getBTCX(amount,currency) local base_url = 'https://api.bitcoinaverage.com/ticker/global/' -- Do request on bitcoinaverage, the final / is critical! local res,code = https.request(base_url..currency.."/") if code ~= 200 then return nil end local data = json:decode(res) -- Easy, it's right there text = "BTC/"..currency..'\n'..'Buy: '..data.ask..'\n'..'Sell: '..data.bid -- If we have a number as second parameter, calculate the bitcoin amount if amount~=nil then btc = tonumber(amount) / tonumber(data.ask) text = text.."\n "..currency .." "..amount.." = BTC "..btc end return text end local function run(msg, matches) local cur = 'BRL' local amt = nil -- Get the global match out of the way if matches[1] == "!btc" then return getBTCX(amt,cur) end if matches[2] ~= nil then -- There is a second match amt = matches[2] cur = string.upper(matches[1]) else -- Just a EUR or USD param cur = string.upper(matches[1]) end return getBTCX(amt,cur) end return { description = "Bitcoin global average market value (in EUR or USD). Brazilian Real (BRL) is default.", usage = "!btc [EUR|USD] [amount]", patterns = { "^!btc$", "^!btc ([Ee][Uu][Rr])$", "^!btc ([Uu][Ss][Dd])$", "^!btc (EUR) (%d+[%d%.]*)$", "^!btc (USD) (%d+[%d%.]*)$" }, run = run }
gpl-2.0
Ninjistix/darkstar
scripts/globals/spells/jubaku_ichi.lua
5
1933
----------------------------------------- -- Spell: Jubaku: Ichi -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT. -- taken from paralyze ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0; end; function onSpellCast(caster,target,spell) local effect = EFFECT_PARALYSIS; -- Base Stats local dINT = (caster:getStat(MOD_INT) - target:getStat(MOD_INT)); --Duration Calculation local duration = 180; local params = {}; params.attribute = MOD_INT; params.skillType = NINJUTSU_SKILL; params.bonus = 0; duration = duration * applyResistance(caster, target, spell, params); --Paralyze base power is 20 and is not affected by resistaces. local power = 20; --Calculates resist chanve from Reist Blind if (math.random(0,100) >= target:getMod(MOD_PARALYZERES)) then if (duration >= 80) then -- Erases a weaker blind and applies the stronger one local paralysis = target:getStatusEffect(effect); if (paralysis ~= nil) then if (paralysis:getPower() < power) then target:delStatusEffect(effect); target:addStatusEffect(effect,power,0,duration); spell:setMsg(msgBasic.MAGIC_ENFEEB); else -- no effect spell:setMsg(msgBasic.MAGIC_NO_EFFECT); end else target:addStatusEffect(effect,power,0,duration); spell:setMsg(msgBasic.MAGIC_ENFEEB); end else spell:setMsg(msgBasic.MAGIC_RESIST); end else spell:setMsg(msgBasic.MAGIC_RESIST_2); end return effect; end;
gpl-3.0
Ninjistix/darkstar
scripts/globals/items/hellfire_sword.lua
7
1038
----------------------------------------- -- ID: 16928 -- Item: Hellfire Sword -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------- function onAdditionalEffect(player,target,damage) local chance = 10; if (math.random(0,99) >= chance) then return 0,0,0; else local dmg = math.random(3,10); local params = {}; params.bonusmab = 0; params.includemab = false; dmg = addBonusesAbility(player, ELE_FIRE, target, dmg, params); dmg = dmg * applyResistanceAddEffect(player,target,ELE_FIRE,0); dmg = adjustForTarget(target,dmg,ELE_FIRE); dmg = finalMagicNonSpellAdjustments(player,target,ELE_FIRE,dmg); local message = msgBasic.ADD_EFFECT_DMG; if (dmg < 0) then message = msgBasic.ADD_EFFECT_HEAL; end return SUBEFFECT_FIRE_DAMAGE,message,dmg; end end;
gpl-3.0
yuryleb/osrm-backend
third_party/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/TableInNestedNS.lua
12
1095
-- automatically generated by the FlatBuffers compiler, do not modify -- namespace: NamespaceB local flatbuffers = require('flatbuffers') local TableInNestedNS = {} -- the module local TableInNestedNS_mt = {} -- the class metatable function TableInNestedNS.New() local o = {} setmetatable(o, {__index = TableInNestedNS_mt}) return o end function TableInNestedNS.GetRootAsTableInNestedNS(buf, offset) local n = flatbuffers.N.UOffsetT:Unpack(buf, offset) local o = TableInNestedNS.New() o:Init(buf, n + offset) return o end function TableInNestedNS_mt:Init(buf, pos) self.view = flatbuffers.view.New(buf, pos) end function TableInNestedNS_mt:Foo() local o = self.view:Offset(4) if o ~= 0 then return self.view:Get(flatbuffers.N.Int32, o + self.view.pos) end return 0 end function TableInNestedNS.Start(builder) builder:StartObject(1) end function TableInNestedNS.AddFoo(builder, foo) builder:PrependInt32Slot(0, foo, 0) end function TableInNestedNS.End(builder) return builder:EndObject() end return TableInNestedNS -- return the module
bsd-2-clause
Ninjistix/darkstar
scripts/globals/items/black_eel.lua
3
1147
----------------------------------------- -- ID: 4429 -- Item: Black Eel -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 -- Evasion 5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- function onItemCheck(target) local result = 0; if (target:getRace() ~= 7) then result = 247; end if (target:getMod(MOD_EAT_RAW_FISH) == 1) then result = 0; end if (target:hasStatusEffect(EFFECT_FOOD) == true or target:hasStatusEffect(EFFECT_FIELD_SUPPORT_FOOD) == true) then result = 246; end return result; end; function onItemUse(target) target:addStatusEffect(EFFECT_FOOD,0,0,300,4429); end; ----------------------------------------- -- onEffectGain Action ----------------------------------------- function onEffectGain(target,effect) target:addMod(MOD_DEX, 2); target:addMod(MOD_MND, -4); target:addMod(MOD_EVA, 5); end; function onEffectLose(target, effect) target:delMod(MOD_DEX, 2); target:delMod(MOD_MND, -4); target:delMod(MOD_EVA, 5); end;
gpl-3.0
Ninjistix/darkstar
scripts/globals/weaponskills/aeolian_edge.lua
24
1470
-- Aeolian Edge -- Dagger weapon skill -- Delivers an area attack that deals wind elemental damage. Damage varies with TP. -- Skill Level: 290 -- Aligned with the Breeze Gorget, Soil Gorget & Thunder Gorget. -- Aligned with the Breeze Belt, Soil Belt & Thunder Belt. -- Element: Wind -- Skillchain Properties: Impaction / Scission / Detonation -- Modifiers: DEX:28%; INT:28% -- 100%TP 200%TP 300%TP -- 2.75 3.50 4 ----------------------------------- require("scripts/globals/magic"); require("scripts/globals/status"); require("scripts/globals/settings"); require("scripts/globals/weaponskills"); ----------------------------------- function onUseWeaponSkill(player, target, wsID, tp, primary, action, taChar) local params = {}; params.ftp100 = 2.75; params.ftp200 = 3.50; params.ftp300 = 4; params.str_wsc = 0.0; params.dex_wsc = 0.28; params.vit_wsc = 0.0; params.agi_wsc = 0.0; params.int_wsc = 0.28; params.mnd_wsc = 0.0; params.chr_wsc = 0.0; params.ele = ELE_WIND; params.skill = SKILL_DAG; params.includemab = true; if (USE_ADOULIN_WEAPON_SKILL_CHANGES == true) then params.ftp100 = 2; params.ftp200 = 3; params.ftp300 = 4.5; -- https://www.bg-wiki.com/bg/Aeolian_Edge params.dex_wsc = 0.4;params.int_wsc = 0.4; end local damage, criticalHit, tpHits, extraHits = doMagicWeaponskill(player, target, wsID, tp, primary, action, params); return tpHits, extraHits, criticalHit, damage; end
gpl-3.0
Ninjistix/darkstar
scripts/zones/Waughroon_Shrine/Zone.lua
5
1301
----------------------------------- -- -- Zone: Waughroon_Shrine (144) -- ----------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Waughroon_Shrine/TextIDs"); ----------------------------------- function onInitialize(zone) end; function onZoneIn(player,prevZone) local cs = -1; if (player:getXPos() == 0 and player:getYPos() == 0 and player:getZPos() == 0) then player:setPos(-361.434,101.798,-259.996,0); end if (player:getQuestStatus(OUTLANDS,A_THIEF_IN_NORG) == QUEST_ACCEPTED and player:getVar("aThiefinNorgCS") == 4) then cs = 2; end return cs; end; function onConquestUpdate(zone, updatetype) local players = zone:getPlayers(); for name, player in pairs(players) do conquestUpdate(zone, player, updatetype, CONQUEST_BASE); end end; function onRegionEnter(player,region) end; function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end; function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); if (csid == 2) then player:setVar("aThiefinNorgCS",5); end end;
gpl-3.0
Ninjistix/darkstar
scripts/globals/mobskills/cyclone_wing.lua
15
1128
--------------------------------------------- -- Cyclone Wing -- -- Description: Deals darkness damage to enemies within a very wide area of effect. Additional effect: Sleep -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: 30' radial. -- Notes: Used only by Vrtra and Azdaja --------------------------------------------- require("scripts/globals/monstertpmoves"); require("scripts/globals/settings"); require("scripts/globals/status"); --------------------------------------------- function onMobSkillCheck(target,mob,skill) if (mob:AnimationSub() == 1) then return 1; elseif (target:isBehind(mob, 48) == true) then return 1; end return 0; end; function onMobWeaponSkill(target, mob, skill) local typeEffect = EFFECT_SLEEP_I; MobStatusEffectMove(mob, target, typeEffect, 1, 0, 60); local dmgmod = 1; local info = MobMagicalMove(mob,target,skill,mob:getWeaponDmg()*5,ELE_DARK,dmgmod,TP_NO_EFFECT); local dmg = MobFinalAdjustments(info.dmg,mob,skill,target,MOBSKILL_MAGICAL,MOBPARAM_DARK,MOBPARAM_WIPE_SHADOWS); target:delHP(dmg); return dmg; end;
gpl-3.0
premake/premake-4.x
scripts/embed.lua
3
2440
-- -- Embed the Lua scripts into src/host/scripts.c as static data buffers. -- I embed the actual scripts, rather than Lua bytecodes, because the -- bytecodes are not portable to different architectures, which causes -- issues in Mac OS X Universal builds. -- local function stripfile(fname) local f = io.open(fname) local s = assert(f:read("*a")) f:close() -- strip tabs s = s:gsub("[\t]", "") -- strip any CRs s = s:gsub("[\r]", "") -- strip out block comments s = s:gsub("[^\"']%-%-%[%[.-%]%]", "") s = s:gsub("[^\"']%-%-%[=%[.-%]=%]", "") s = s:gsub("[^\"']%-%-%[==%[.-%]==%]", "") -- strip out inline comments s = s:gsub("\n%-%-[^\n]*", "\n") -- escape backslashes s = s:gsub("\\", "\\\\") -- strip duplicate line feeds s = s:gsub("\n+", "\n") -- strip out leading comments s = s:gsub("^%-%-[^\n]*\n", "") -- escape line feeds s = s:gsub("\n", "\\n") -- escape double quote marks s = s:gsub("\"", "\\\"") return s end local function writeline(out, s, continues) out:write("\t\"") out:write(s) out:write(iif(continues, "\"\n", "\",\n")) end local function writefile(out, fname, contents) local max = 1024 out:write("\t/* " .. fname .. " */\n") -- break up large strings to fit in Visual Studio's string length limit local start = 1 local len = contents:len() while start <= len do local n = len - start if n > max then n = max end local finish = start + n -- make sure I don't cut an escape sequence while contents:sub(finish, finish) == "\\" do finish = finish - 1 end writeline(out, contents:sub(start, finish), finish < len) start = finish + 1 end out:write("\n") end function doembed() -- load the manifest of script files scripts = dofile("src/_manifest.lua") -- main script always goes at the end table.insert(scripts, "_premake_main.lua") -- open scripts.c and write the file header local out = io.open("src/host/scripts.c", "w+b") out:write("/* Premake's Lua scripts, as static data buffers for release mode builds */\n") out:write("/* DO NOT EDIT - this file is autogenerated - see BUILD.txt */\n") out:write("/* To regenerate this file, run: premake4 embed */ \n\n") out:write("const char* builtin_scripts[] = {\n") for i,fn in ipairs(scripts) do print(fn) local s = stripfile("src/" .. fn) writefile(out, fn, s) end out:write("\t0\n};\n"); out:close() end
bsd-3-clause
Ninjistix/darkstar
scripts/zones/Metalworks/npcs/relic.lua
5
1533
----------------------------------- -- Area: Metalworks -- NPC: <this space intentionally left blank> -- !pos -20 -11 33 237 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Metalworks/TextIDs"); ----------------------------------- function onTrade(player,npc,trade) -- Working on correct relic, 4 items, Stage 4 item, Shard, Necropsyche, currencypiece if (player:getVar("RELIC_IN_PROGRESS") == 18335 and trade:getItemCount() == 4 and trade:hasItemQty(18335,1) and trade:hasItemQty(1585,1) and trade:hasItemQty(1589,1) and trade:hasItemQty(1457,1)) then player:startEvent(843,18336); end end; function onTrigger(player,npc) player:messageSpecial(NOTHING_OUT_OF_ORDINARY); end; function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end; function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); if (csid == 843) then if (player:getFreeSlotsCount() < 2) then player:messageSpecial(ITEM_CANNOT_BE_OBTAINED,18336); player:messageSpecial(FULL_INVENTORY_AFTER_TRADE,1456); else player:tradeComplete(); player:addItem(18336); player:addItem(1456,30); player:messageSpecial(ITEM_OBTAINED,18336); player:messageSpecial(ITEMS_OBTAINED,1456,30); player:setVar("RELIC_IN_PROGRESS",0); end end end;
gpl-3.0
scan-bot/scan-bot
plugins/giphy.lua
633
1796
-- Idea by https://github.com/asdofindia/telegram-bot/ -- See http://api.giphy.com/ do local BASE_URL = 'http://api.giphy.com/v1' local API_KEY = 'dc6zaTOxFJmzC' -- public beta key local function get_image(response) local images = json:decode(response).data if #images == 0 then return nil end -- No images local i = math.random(#images) local image = images[i] -- A random one if image.images.downsized then return image.images.downsized.url end if image.images.original then return image.original.url end return nil end local function get_random_top() local url = BASE_URL.."/gifs/trending?api_key="..API_KEY local response, code = http.request(url) if code ~= 200 then return nil end return get_image(response) end local function search(text) text = URL.escape(text) local url = BASE_URL.."/gifs/search?q="..text.."&api_key="..API_KEY local response, code = http.request(url) if code ~= 200 then return nil end return get_image(response) end local function run(msg, matches) local gif_url = nil -- If no search data, a random trending GIF will be sent if matches[1] == "!gif" or matches[1] == "!giphy" then gif_url = get_random_top() else gif_url = search(matches[1]) end if not gif_url then return "Error: GIF not found" end local receiver = get_receiver(msg) print("GIF URL"..gif_url) send_document_from_url(receiver, gif_url) end return { description = "GIFs from telegram with Giphy API", usage = { "!gif (term): Search and sends GIF from Giphy. If no param, sends a trending GIF.", "!giphy (term): Search and sends GIF from Giphy. If no param, sends a trending GIF." }, patterns = { "^!gif$", "^!gif (.*)", "^!giphy (.*)", "^!giphy$" }, run = run } end
gpl-2.0
mohammad25253/persianguard12
plugins/giphy.lua
633
1796
-- Idea by https://github.com/asdofindia/telegram-bot/ -- See http://api.giphy.com/ do local BASE_URL = 'http://api.giphy.com/v1' local API_KEY = 'dc6zaTOxFJmzC' -- public beta key local function get_image(response) local images = json:decode(response).data if #images == 0 then return nil end -- No images local i = math.random(#images) local image = images[i] -- A random one if image.images.downsized then return image.images.downsized.url end if image.images.original then return image.original.url end return nil end local function get_random_top() local url = BASE_URL.."/gifs/trending?api_key="..API_KEY local response, code = http.request(url) if code ~= 200 then return nil end return get_image(response) end local function search(text) text = URL.escape(text) local url = BASE_URL.."/gifs/search?q="..text.."&api_key="..API_KEY local response, code = http.request(url) if code ~= 200 then return nil end return get_image(response) end local function run(msg, matches) local gif_url = nil -- If no search data, a random trending GIF will be sent if matches[1] == "!gif" or matches[1] == "!giphy" then gif_url = get_random_top() else gif_url = search(matches[1]) end if not gif_url then return "Error: GIF not found" end local receiver = get_receiver(msg) print("GIF URL"..gif_url) send_document_from_url(receiver, gif_url) end return { description = "GIFs from telegram with Giphy API", usage = { "!gif (term): Search and sends GIF from Giphy. If no param, sends a trending GIF.", "!giphy (term): Search and sends GIF from Giphy. If no param, sends a trending GIF." }, patterns = { "^!gif$", "^!gif (.*)", "^!giphy (.*)", "^!giphy$" }, run = run } end
gpl-2.0
DDDGamer/factorio-dz-softmod
util/Colors.lua
1
1601
-- Colors Module -- Collection of common colors -- @usage local Colors = require('util/Colors') -- ------------------------------------------------------- -- -- @author Denis Zholob (DDDGamer) -- github: https://github.com/deniszholob/factorio-softmod-pack -- ======================================================= -- Colors = { black = { r=0, g=0, b=0 }, darkgrey = { r=65, g=65, b=65 }, grey = { r=130, g=130, b=130 }, lightgrey = { r=190, g=190, b=190 }, white = { r=255, g=255, b=255 }, darkgreen = { r=0, g=130, b=0 }, green = {r=25, g=255, b=51 }, lightgreen = { r=130, g=255, b=130 }, cyan = { r=20, g=220, b=190 }, darkblue = { r=30, g=30, b=180 }, blue = { r=30, g=130, b=255 }, lightblue = { r=60, g=180, b=255 }, darkpurple = { r=160, g=50, b=255 }, purple = { r=179, g=102, b=255 }, violet = { r=130, g=130, b=255 }, pink = { r=255, g=0, b=255 }, lightpink = { r=255, g=160, b=255 }, salmon = { r=255, g=90, b=200 }, darkred = { r=160, g=0, b=0 }, red_sat = { r=255, g=0, b=25 }, red = { r=255, g=50, b=50 }, text_red = { r=230, g=39, b=0 }, lightred = { r=255, g=130, b=120 }, darkorange = { r=242, g=70, b=13 }, orange = { r=255, g=140, b=25 }, text_orange = { r=194, g=84, b=0 }, yellow = { r=255, g=255, b=0 }, lightyellow = { r=255, g=255, b=120 }, brown = { r=0.6, g=0.4, b=0.1 }, } return Colors
gpl-3.0
dafei2015/hugular_cstolua
Client/Assets/Lua/state/itemObject.lua
7
2996
------------------------------------------------ -- Copyright © 2013-2014 Hugula: Arpg game Engine -- -- author pu ------------------------------------------------ LuaItemManager={} local LuaObject =LuaObject local LuaItemManager = LuaItemManager LuaItemManager.ItemObject=class(LuaObject,function(self,name) --implement luaobject LuaObject._ctor(self, name) self.assetLoader = self:addComponent("assetLoader") self.assetsLoaded=false self.priority=0 end) local StateManager = StateManager local ItemObject = LuaItemManager.ItemObject LuaItemManager.items = {} function LuaItemManager:getItemObject(objectName) local obj=self.items[objectName] if(obj == nil) then print(objectName .. " is not registered ") return nil end if obj.m_require==nil then obj.m_require=true require(obj.m_luaPath) if obj.initialize~=nil then obj:initialize() end end return obj end function LuaItemManager:registerItemObject(objectName, luaPath, instanceNow) assert(self.items[objectName] == nil) local newClass = ItemObject(objectName) newClass.m_objectName = objectName newClass.m_luaPath = luaPath self.items[objectName] = newClass if instanceNow then newClass.m_require=true require(luaPath) if newClass.initialize~=nil then newClass:initialize() end end end function ItemObject:show( ... ) local assets = self.assets assert(assets~=nil) for k,v in ipairs(assets) do v:show() end end function ItemObject:onShowed( ... ) end function ItemObject:hide( ... ) local assets = self.assets assert(assets~=nil) for k,v in ipairs(assets) do v:hide() end end function ItemObject:clear( ... ) local assets = self.assets self.assetsLoaded =false assert(assets~=nil) for k,v in ipairs(assets) do v:clear() end end function ItemObject:onFocus( ... ) if self.assetsLoaded then self:show() self:onShowed() else if self.assets and #self.assets>=1 then --如果没有资源 StateManager:checkShowTransform() self.assetLoader:load(self.assets) else self.assetsLoaded = true self:show() self:onShowed() end end -- self:setActive(true) end function ItemObject:onHide() end function ItemObject:onBlur( ... ) self:hide() self:onHide() -- self:setActive(false) end function ItemObject:addToState(state) if state == nil then StateManager:getCurrentState():addItem(self) self:onFocus(StateManager:getCurrentState()) else state:addItem(self) end end function ItemObject:removeFromState(state) if state == nil then StateManager:getCurrentState():removeItem(self) self:onBlur(StateManager:getCurrentState()) else state:removeItem(self) end end function ItemObject:__tostring() return string.format("ItemObject.name = %s ", self.name) end
mit
Ninjistix/darkstar
scripts/globals/abilities/angon.lua
5
1184
----------------------------------- -- Ability: Angon -- Expends an Angon to lower an enemy's defense. -- Obtained: Dragoon Level 75 -- Recast Time: 0:03:00 -- Duration: 0:00:30 (+0:00:15 for each merit, cap is 0:01:30) -- Effect: Physical defense of target approximately -20% (51/256). -- Range: 10.0 yalms -- Notes: Only fails if it can't apply the def down status. ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/msg"); ----------------------------------- function onAbilityCheck(player,target,ability) local id = player:getEquipID(SLOT_AMMO); if (id == 18259) then return 0,0; else return msgBasic.UNABLE_TO_USE_JA,0; end end; function onUseAbility(player,target,ability) local typeEffect = EFFECT_DEFENSE_DOWN; local duration = 15 + player:getMerit(MERIT_ANGON); -- This will return 30 sec at one investment because merit power is 15. if (target:addStatusEffect(typeEffect,20,0,duration) == false) then ability:setMsg(msgBasic.MAGIC_NO_EFFECT); end target:updateClaim(player); player:removeAmmo(); return typeEffect; end;
gpl-3.0
NeCarbon/vice-players
Vendor/CEGUI/cegui/src/ScriptingModules/LuaScriptModule/support/tolua++bin/lua/operator.lua
7
5790
-- tolua: operator class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: operator.lua 1004 2006-02-27 13:03:20Z lindquist $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to provide maintenance, support, updates, -- enhancements, or modifications. -- Operator class -- Represents an operator function or a class operator method. -- It stores the same fields as functions do plus: -- kind = set of character representing the operator (as it appers in C++ code) classOperator = { kind = '', } classOperator.__index = classOperator setmetatable(classOperator,classFunction) -- table to transform operator kind into the appropriate tag method name _TM = {['+'] = 'add', ['-'] = 'sub', ['*'] = 'mul', ['/'] = 'div', ['<'] = 'lt', ['<='] = 'le', ['=='] = 'eq', ['[]'] = 'geti', ['&[]'] = 'seti', --['->'] = 'flechita', } -- Print method function classOperator:print (ident,close) print(ident.."Operator{") print(ident.." kind = '"..self.kind.."',") print(ident.." mod = '"..self.mod.."',") print(ident.." type = '"..self.type.."',") print(ident.." ptr = '"..self.ptr.."',") print(ident.." name = '"..self.name.."',") print(ident.." const = '"..self.const.."',") print(ident.." cname = '"..self.cname.."',") print(ident.." lname = '"..self.lname.."',") print(ident.." args = {") local i=1 while self.args[i] do self.args[i]:print(ident.." ",",") i = i+1 end print(ident.." }") print(ident.."}"..close) end function classOperator:supcode_tmp() if not _TM[self.kind] then return classFunction.supcode(self) end -- no overload, no parameters, always inclass output("/* method:",self.name," of class ",self:inclass()," */") output("#ifndef TOLUA_DISABLE_"..self.cname) output("\nstatic int",self.cname,"(lua_State* tolua_S)") if overload < 0 then output('#ifndef TOLUA_RELEASE\n') end output(' tolua_Error tolua_err;') output(' if (\n') -- check self output(' !'..'tolua_isusertype(tolua_S,1,"'..self.parent.type..'",0,&tolua_err) ||\n') output(' !tolua_isnoobj(tolua_S,2,&tolua_err)\n )') output(' goto tolua_lerror;') output(' else\n') output('#endif\n') -- tolua_release output(' {') -- declare self output(' ',self.const,self.parent.type,'*','self = ') output('(',self.const,self.parent.type,'*) ') output('tolua_tousertype(tolua_S,1,0);') -- check self output('#ifndef TOLUA_RELEASE\n') output(' if (!self) tolua_error(tolua_S,"invalid \'self\' in function \''..self.name..'\'",NULL);'); output('#endif\n') -- cast self output(' ',self.mod,self.type,self.ptr,'tolua_ret = ') output('(',self.mod,self.type,self.ptr,')(*self);') -- return value local t,ct = isbasic(self.type) if t then output(' tolua_push'..t..'(tolua_S,(',ct,')tolua_ret);') else t = self.type new_t = string.gsub(t, "const%s+", "") if self.ptr == '' then output(' {') output('#ifdef __cplusplus\n') output(' void* tolua_obj = new',new_t,'(tolua_ret);') output(' tolua_pushusertype_and_takeownership(tolua_S,tolua_obj,"',t,'");') output('#else\n') output(' void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(',t,'));') output(' tolua_pushusertype_and_takeownership(tolua_S,tolua_obj,"',t,'");') output('#endif\n') output(' }') elseif self.ptr == '&' then output(' tolua_pushusertype(tolua_S,(void*)&tolua_ret,"',t,'");') else if local_constructor then output(' tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"',t,'");') else output(' tolua_pushusertype(tolua_S,(void*)tolua_ret,"',t,'");') end end end output(' }') output(' return 1;') output('#ifndef TOLUA_RELEASE\n') output('tolua_lerror:\n') output(' tolua_error(tolua_S,"#ferror in function \''..self.lname..'\'.",&tolua_err);') output(' return 0;') output('#endif\n') output('}') output('#endif //#ifndef TOLUA_DISABLE\n') output('\n') end -- Internal constructor function _Operator (t) setmetatable(t,classOperator) if t.const ~= 'const' and t.const ~= '' then error("#invalid 'const' specification") end append(t) if not t:inclass() then error("#operator can only be defined as class member") end --t.name = t.name .. "_" .. (_TM[t.kind] or t.kind) t.cname = t:cfuncname("tolua")..t:overload(t) t.name = "operator" .. t.kind -- set appropriate calling name return t end -- Constructor function Operator (d,k,a,c) local op_k = string.gsub(k, "^%s*", "") op_k = string.gsub(k, "%s*$", "") --if string.find(k, "^[%w_:%d<>%*%&]+$") then if d == "operator" and k ~= '' then d = k.." operator" elseif not _TM[op_k] then if flags['W'] then error("tolua: no support for operator" .. f.kind) else warning("No support for operator "..op_k..", ignoring") return nil end end local ref = '' local t = split_c_tokens(strsub(a,2,strlen(a)-1),',') -- eliminate braces local i=1 local l = {n=0} while t[i] do l.n = l.n+1 l[l.n] = Declaration(t[i],'var') i = i+1 end if k == '[]' then local _ _, _, ref = strfind(d,'(&)') d = gsub(d,'&','') elseif k=='&[]' then l.n = l.n+1 l[l.n] = Declaration(d,'var') l[l.n].name = 'tolua_value' end local f = Declaration(d,'func') if k == '[]' and (l[1]==nil or isbasic(l[1].type)~='number') then error('operator[] can only be defined for numeric index.') end f.args = l f.const = c f.kind = op_k f.lname = "."..(_TM[f.kind] or f.kind) if not _TM[f.kind] then f.cast_operator = true end if f.kind == '[]' and ref=='&' and f.const~='const' then Operator(d,'&'..k,a,c) -- create correspoding set operator end return _Operator(f) end
gpl-3.0
hvbommel/domoticz
dzVents/runtime/Time.lua
5
31066
local utils = require('Utils') local _MS -- kind of a cache so we don't have to extract ms every time local gTimes local ruleWords = {} local isEmpty = function(v) return (v == nil or v == '') end local function getTimezone() local diff = os.difftime(os.time(), os.time(os.date("!*t"))) return ( os.date('!*t').isdst and ( diff + 3600 ) ) or diff end local function getSMs(s) local ms = 0 local parts = utils.stringSplit(s, '.') -- do string split instead of math stuff. s = tonumber(parts[1]) if (parts[2] ~= nil) then -- should always be three digits!! ms = tonumber(parts[2]) end return s, ms end local function parseDate(sDate) return string.match(sDate, "(%d+)%-(%d+)%-(%d+)[%sT]+(%d+):(%d+):([0-9%.]+)") end local function _getMS() if (_MS == nil) then local dzCurrentTime = globalvariables.currentTime local y, mon, d, h, min, s = parseDate(dzCurrentTime) local ms s, ms = getSMs(s) _MS = ms end return _MS end local getDiffParts = function(secDiff, ms, offsetMS) -- ms is the ms part that should be added to secDiff to get 'sss.ms' if (ms == nil) then ms = 0 end if (offsetMS == nil) then offsetMS = 0 end local secs = secDiff local msDiff msDiff = (secs * 1000) - ms + offsetMS if (math.abs(msDiff) < 1000) then secs = 0 end local minDiff = math.floor(math.abs((secs / 60))) local hourDiff = math.floor(math.abs((secs / 3600))) local dayDiff = math.floor(math.abs((secs / 86400))) local cmp if (msDiff == 0) then cmp = 0 elseif (msDiff > 0) then cmp = -1 else cmp = 1 end return math.abs(msDiff), math.abs(secs), minDiff, hourDiff, dayDiff, cmp end -- week functions as taken from http://lua-users.org/wiki/WeekNumberInYear -- Get day of a week at year beginning --(tm can be any date and will be forced to 1st of january same year) -- return 1=mon 7=sun local function getYearBeginDayOfWeek(tm) local yearBegin = os.time{year=os.date("*t",tm).year,month=1,day=1} local yearBeginDayOfWeek = tonumber(os.date("%w",yearBegin)) -- sunday correct from 0 -> 7 if(yearBeginDayOfWeek == 0) then yearBeginDayOfWeek = 7 end return yearBeginDayOfWeek end -- tm: date (as returned from os.time) -- returns basic correction to be add for counting number of week -- weekNum = math.floor((dayOfYear + returnedNumber) / 7) + 1 -- (does not consider correction at begin and end of year) local function getDayAdd(tm) local yearBeginDayOfWeek = getYearBeginDayOfWeek(tm) local dayAdd if(yearBeginDayOfWeek < 5 ) then -- first day is week 1 dayAdd = (yearBeginDayOfWeek - 2) else -- first day is week 52 or 53 dayAdd = (yearBeginDayOfWeek - 9) end return dayAdd end -- tm is date as returned from os.time() -- return week number in year based on ISO8601 -- (week with 1st thursday since Jan 1st (including) is considered as Week 1) -- (if Jan 1st is Fri,Sat,Sun then it is part of week number from last year -> 52 or 53) local function getWeekNumberOfYear(tm) local dayOfYear = os.date("%j",tm) local dayAdd = getDayAdd(tm) local dayOfYearCorrected = dayOfYear + dayAdd if(dayOfYearCorrected < 0) then -- week of last year - decide if 52 or 53 local lastYearBegin = os.time{year=os.date("*t",tm).year-1,month=1,day=1} local lastYearEnd = os.time{year=os.date("*t",tm).year-1,month=12,day=31} dayAdd = getDayAdd(lastYearBegin) dayOfYear = dayOfYear + os.date("%j",lastYearEnd) dayOfYearCorrected = dayOfYear + dayAdd end local weekNum = math.floor((dayOfYearCorrected) / 7) + 1 if( (dayOfYearCorrected > 0) and weekNum == 53) then -- check if it is not considered as part of week 1 of next year local nextYearBegin = os.time{year=os.date("*t",tm).year+1,month=1,day=1} local yearBeginDayOfWeek = getYearBeginDayOfWeek(nextYearBegin) if(yearBeginDayOfWeek < 5 ) then weekNum = 1 end end return weekNum end local function Time(sDate, isUTC, _testMS) local LOOKUPDAYABBROFWEEK = { 'sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat' } local LOOKUPDAYNAME = { 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' } local LOOKUPMONTHABBR = { 'jan', 'feb', 'mar', 'apr', 'may', 'jun', 'jul', 'aug', 'sep', 'oct', 'nov', 'dec' } local LOOKUPMONTH = { 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' } local ms local now local time = {} local localTime = {} -- nonUTC local self local getMS = function() if (_testMS ~= nil) then return _testMS else return _getMS() end end if isUTC and isUTC == true then now = os.date('!*t') else now = os.date('*t') isUTC = false end local function makesDate() local now if (isUTC) then now = os.date('!*t') else now = os.date('*t') end local ms = _testMS == nil and getMS() or _testMS return ( now.year .. '-' .. now.month ..'-' .. now.day .. ' ' .. now.hour .. ':' .. now.min .. ':' .. now.sec .. '.' .. tostring(ms) ) end if sDate == nil or sDate == '' then sDate = makesDate() end local y, mon, d, h, min, s = parseDate(sDate) if not(y and mon and d and h and min and s) then sDate = makesDate() y, mon, d, h, min, s = parseDate(sDate) utils.log('sDate was invalid. Reset to ' .. sDate , utils.LOG_ERROR) end -- extract s and ms s, ms = getSMs(s) local dDate = os.time{year=y,month=mon,day=d,hour=h,min=min,sec=s } time = os.date('*t', dDate) local tToday = os.time{ day= now.day, year= now.year, month= now.month, hour= now.hour, min= now.min, sec= now.sec } -- calculate how many minutes that was from now local msDiff, secDiff, minDiff, hourDiff, dayDiff, cmp = getDiffParts(os.difftime(tToday, dDate), ms, getMS()) if (cmp > 0) then -- time is in the future so the xxAgo items should be negative msDiff = -msDiff secDiff = -secDiff minDiff = -minDiff hourDiff = -hourDiff dayDiff = -dayDiff end if (isUTC) then localTime = os.date('*t', os.time(time) + getTimezone()) self = localTime self.utcSystemTime = now self.utcTime = time self.utcTime.minutes = time.min self.utcTime.seconds = time.sec else self = time end function self.containsWholeWord(input, word) return string.find(input, "%f[%a]" .. word .. "%f[%A]") end self.rawDate = self.year .. '-' .. string.format("%02d", self.month) .. '-' .. string.format("%02d", self.day) self.time = string.format("%02d", self.hour) .. ':' .. string.format("%02d", self.min) self.minutesnow = self.hour * 60 + self.min self.rawTime = self.time .. ':' .. string.format("%02d", self.sec) self.rawDateTime = self.rawDate .. ' ' .. self.rawTime self.milliSeconds = ms self.milliseconds = ms self.dayAbbrOfWeek = LOOKUPDAYABBROFWEEK[self.wday] self.dayName = LOOKUPDAYNAME[self.wday] self.monthAbbrName = LOOKUPMONTHABBR[self.month] self.monthName = LOOKUPMONTH[self.month] -- Note: %V doesn't work on Windows so we have to use a custom function here -- doesn't work: self.week = tonumber(os.date('%V', dDate)) self.week = getWeekNumberOfYear(dDate) self.raw = sDate self.isToday = (now.year == time.year and now.month == time.month and now.day == time.day) self.msAgo = math.floor(msDiff) self.millisecondsAgo = self.msAgo self.minutesAgo = minDiff self.secondsAgo = math.floor(secDiff) self.hoursAgo = hourDiff self.daysAgo = dayDiff self.minutes = self.min self.seconds = self.sec self.minutesSinceMidnight = self.hour * 60 + self.min self.secondsSinceMidnight = self.minutesSinceMidnight * 60 + self.sec self.utils = utils self.isUTC = isUTC self.dDate = dDate self.isdst = time.isdst if (_G.TESTMODE) then -- _G = _G or {} -- Only used when testing testTime.lua timeofday = timeofday or {} -- Only used when testing testTime.lua function self._getUtilsInstance() return utils end end self.current = os.date('*t') -- compares to self against the provided Time object (t) function self.compare(t) if (t.raw ~= nil) then local msDiff, secDiff, minDiff, hourDiff, dayDiff, cmp = getDiffParts(os.difftime(dDate, t.dDate), t.milliseconds, ms) -- offset is 'our' ms value return { mins = minDiff, hours = hourDiff, secs = math.floor(secDiff), seconds = math.floor(secDiff), minutes = minDiff, days = dayDiff, ms = math.floor(msDiff), milliseconds = math.floor(msDiff), compare = cmp -- 0 == equal, -1==(t earlier than self), 1=(t later than self) } else utils.log('Invalid time format passed to diff. Should a Time object', utils.LOG_ERROR) end end function self.localeMonths() local months = { january = 1, february = 2, march = 3, april = 4, may = 5, june = 6, july = 7, august = 8, september = 9, october = 10, november = 11, december = 12, jan = 1, feb = 2, mar = 3, apr = 4, jun = 6, jul = 7, aug = 8, sep = 9, oct = 10, nov = 11, dec = 12 } local monthSeconds = 2678400 -- accurate enough for this purpose local startSeconds = 1577833200 -- 2020-1-1 00:00 for monthNumber = 1, 12 do months[os.date('%B', startSeconds + ( monthNumber - 1 ) * monthSeconds ):sub(1,3):lower()] = monthNumber months[os.date('%b', startSeconds + ( monthNumber - 1 ) * monthSeconds ):lower()] = monthNumber end return months end function self.dateToTimestamp(dateString, control) local tm, dateTable, format = {}, {}, {} local pattern if control and control:find('%%') then pattern = control elseif control ~= nil then -- control = format local index = 1 for word in control:gmatch("%w+") do table.insert(format, word) end for value in dateString:gmatch("%w+") do dateTable[format[index]] = value index = index + 1 end tm.year = dateTable.yyyy or ( dateTable.yy and ( dateTable.yy + 2000 )) or os.date('%Y') tm.month = dateTable.mm or ( dateTable.mmm and self.localeMonths()[dateTable.mmm:lower()]) or ( dateTable.mmmm and self.localeMonths()[dateTable.mmmm:lower()]) or 1 tm.day = dateTable.dd or 1 tm.hour = dateTable.hh or 0 tm.min = dateTable.MM or 0 tm.sec = dateTable.ss or 0 return os.time(tm) end pattern = pattern or '(%d+)%D+(%d+)%D+(%d+)%D+(%d+)%D+(%d+)' -- yyyy-mm--dd hh:mm tm.year, tm.month, tm.day, tm.hour, tm.min, tm.sec = dateString:match(pattern) return os.time(tm) end function self.timestampToDate(timestamp, humanizedPattern, offSet) local function convertMnemomic2FmtCode(humanizedPattern) local humanizedPattern = humanizedPattern or 'yyyy-mm-dd hh:MM:ss' mnemomics = { {'dddd' , '%A'}, -- full weekdayname(e.g. Wednesday) language depends on locale {'ddd' , '%a'}, -- abbreviated weekdayname(e.g. Wed) language depends on locale {'dd' , '%d'}, -- day of the month(16){[01-31] {'mmmm' , '%B'}, -- full monthname(e.g September) language depends on locale {'mmm' , '%b'}, -- abbreviated monthname(e.g. Sep) language depends on locale {'mm' , '%m'}, -- month[01-12] {'yyyy' , '%Y'}, -- 4-digit year {'yy' , '%y'}, -- two-digityear(98){[00-99] {'hh' , '%H'}, -- hour 24-hour clock){[00-23] {'ii' , '%I'}, -- hour 12-hour clock[01-12] {'MM' , '%M'}, -- minute{[00-59] {'ss' , '%S'}, -- second [00-60] {'W' , '%W'}, -- weeknumber [01-53] {'w' , '%w'}, -- weekday{[0-6] Sunday-Saturday {'datm' , '%c'}, -- date and time (e.g. 09/16/98 23:48:10) format depends on locale {'mer' , '%p'}, -- either "am" or "pm" locale {'date' , '%x'}, -- date(e.g. 09/16/98) format depends on locale {'time' , '%X'}, -- time(e.g. 23:48:10) } for _, conversion in ipairs(mnemomics) do humanizedPattern = string.gsub(humanizedPattern, conversion[1], '%' .. conversion[2]) end return humanizedPattern end local timestamp = ( timestamp or os.time() ) + ( offSet or 0 ) local dateTimeString = os.date( convertMnemomic2FmtCode(humanizedPattern) , timestamp ) if dateTimeString:find('nZero') then -- remove leading zero's return dateTimeString:gsub('nZero',''):gsub(' 0',' '):gsub('^0',''):gsub('%s*$','') end return dateTimeString:gsub('%s*$','') end function self.dateToDate(date, sourceFormat, targetFormat, offSet ) return self.timestampToDate(self.dateToTimestamp(date,sourceFormat), targetFormat, offSet) end function self.addSeconds(seconds, factor) if type(seconds) ~= 'number' then self.utils.log(tostring(seconds) .. ' is not a valid parameter to this function. Please change to use a number value!', utils.LOG_ERROR) else factor = factor or 1 return Time( os.date("%Y-%m-%d %X", self.dDate + factor * math.floor(seconds) )) end end function self.addDays(days) return self.addSeconds(days, 24 * 3600) end function self.addHours(hours) return self.addSeconds(hours, 3600) end function self.addMinutes(minutes) return self.addSeconds(minutes, 60) end function self.makeTime(oDate, isUTC) local sDate = ( type(oDate) == 'table' and os.date("%Y-%m-%d %H:%M:%S", os.time(oDate)) ) or ( tonumber(oDate) and self.timestampToDate(oDate) ) or oDate return Time(sDate, isUTC) end function self.toUTC(oDate, offset) local sDate = ( type(oDate) == 'table' and os.date("%Y-%m-%d %H:%M:%S", os.time(oDate)) ) or oDate local offset = offset or 0 return Time(sDate).addSeconds(-1 * getTimezone() + offset).raw end -- return ISO format function self.getISO() return os.date("!%Y-%m-%dT%TZ", os.time(time)) end -- returns hours part and minutes part of the passed-in minutes amount function minutesToTime(minutes) local hh = math.floor(minutes / 60) local mm = minutes - (hh * 60) return hh, mm end -- returns true if the current time is within a time range: startH:startM and stopH:stopM local function timeIsInRange(startH, startM, stopH, stopM) local function getMinutes(hours, minutes) return (hours * 60) + minutes end local currentMinutes = getMinutes(self.hour, self.min) local startMinutes = getMinutes(startH, startM) local stopMinutes = getMinutes(stopH, stopM) if stopMinutes < startMinutes then -- add 24 hours (1440 minutes ) if endTime < startTime if currentMinutes < stopMinutes then currentMinutes = currentMinutes + 1440 end stopMinutes = stopMinutes + 1440 end return ( currentMinutes >= startMinutes and currentMinutes <= stopMinutes ) end -- returns true if self.day is on the rule: on day1,day2... function self.ruleIsOnDay(rule) if utils.containsWord(rule, self.dayAbbrOfWeek) or utils.containsWord(rule, self.dayName:lower() ) then -- current day return true -- current day found else for _, day in ipairs(LOOKUPDAYABBROFWEEK) do if rule:find(day) then return false end end end end -- returns true if self.week matches rule in week 1,3,4 / every odd-week, every even-week, in week 5-12,23,44 function self.ruleIsInWeek(rule) if (string.find(rule, 'every odd week') and not ((self.week % 2) == 0)) then return true elseif (string.find(rule, 'every even week') and ((self.week % 2) == 0)) then return true elseif string.find(rule, 'every even week') or string.find(rule, 'every odd week') then return false end local weeks = string.match(rule, 'in week% ([0-9%-%,% ]*)') if (weeks == nil) then return nil end -- from here on, if there is a match we return true otherwise false -- remove spaces and add a comma weeks = string.gsub(weeks, ' ', '') .. ',' -- remove spaces and add a ',' so we can do simple search for the number -- do a quick scan first to see if we already have a match without needing to search for ranges if (string.find(weeks, tostring(self.week) .. ',')) then return true end -- now get the ranges for set, from, to in string.gmatch(weeks, '(([0-9]*)-([0-9]*))') do to = tonumber(to) from = tonumber(from) if (isEmpty(from) and not isEmpty(to) and self.week <= to ) then return true end if (not isEmpty(from) and isEmpty(to) and self.week >= from ) then return true end if (not isEmpty(from) and not isEmpty(to) and to ~= nil) then if (self.week >= from and self.week <= to) then return true end end end return false end function self.ruleIsOnDate(rule) local dates = string.match(rule, 'on% ([0-9%*%/%,% %-]*)') if (isEmpty(dates)) then return nil end local dateTable = utils.stringSplit(dates,',') -- get all date(ranges) -- remove spaces and add a comma dates = string.gsub(dates, ' ', '') .. ',' --remove spaces and add a , so we can do simple search for the number -- do a quick scan first to see if we already have a match without needing to search for ranges and wildcards for index, value in ipairs(dateTable) do if tonumber(value:match('%d+')) == self.day and tonumber(value:match('/(%d+)')) == self.month then return true end end -- wildcards for set, day, month in string.gmatch(dates, '(([0-9%*]*)/([0-9%*]*))') do if (day == '*' and month ~= '*') then if (self.month == tonumber(month)) then return true end end if (day ~= '*' and month == '*') then if (self.day == tonumber(day)) then return true end end end local getParts = function(set) local day, month = string.match(set, '([0-9%*]+)/([0-9%*]+)') return day and tonumber( day ), month and tonumber( month ) end --now get the ranges for fromSet, toSet in string.gmatch(dates, '([0-9%/%*]*)-([0-9%/%*]*)') do local fromDay, toDay, fromMonth, toMonth if (isEmpty(fromSet) and not isEmpty(toSet)) then toDay, toMonth = getParts(toSet) if ((self.month < toMonth) or (self.month == toMonth and self.day <= toDay)) then return true end elseif (not isEmpty(fromSet) and isEmpty(toSet)) then fromDay, fromMonth = getParts(fromSet) if ((self.month > fromMonth) or (self.month == fromMonth and self.day >= fromDay)) then return true end else toDay, toMonth = getParts(toSet) fromDay, fromMonth = getParts(fromSet) if ( ( self.month > fromMonth and self.month < toMonth ) or ( fromMonth == toMonth and self.month == fromMonth and self.day >= fromDay and self.day <= toDay ) or ( self.month == fromMonth and toMonth < fromMonth and self.day >= fromDay ) or ( self.month == fromMonth and toMonth > fromMonth and self.day >= fromDay ) or ( self.month == toMonth and toMonth < fromMonth and self.day <= toDay ) or ( self.month == toMonth and toMonth > fromMonth and self.day <= toDay ) ) then return true end end end return false end function self.ruleIsBeforeAstrologicalMoment(rule) local minutes = tonumber(string.match(rule, '%.*(%d+)%s+minutes%s+before%.*')) local astronomicalString = rule:match('minutes%s+before%s+(%a+)') or '' local moment = tonumber(gTimes[astronomicalString .. 'inminutes']) or '' if minutes ~= nil and moment ~= '' then return ( self.minutesnow + minutes ) % 1440 == moment end return nil end function self.ruleIsAfterAstrologicalMoment(rule) local minutes = tonumber(string.match(rule, '%.*(%d+)%s+minutes%s+after%.*')) local astronomicalString = rule:match('minutes%s+after%s+(%a+)') or '' local moment = tonumber(gTimes[astronomicalString .. 'inminutes']) or '' if minutes ~= nil and moment ~= '' then return ( self.minutesnow - minutes ) % 1440 == moment end return nil end -- returns true if self.time is at a astronomical moment -- sunset, sunrise, CivilTwilightEnd, NautTwilightStart, etc function self.ruleIsAtAstronomicalMoment(rule) local astronomicalString = rule:match('at%s+(%a+)') or '' local moment = tonumber(gTimes[astronomicalString .. 'inminutes']) or -1 return moment == self.minutesnow or nil end -- returns true if self.time is at a astronomical range -- daytime, nightime, etc function self.ruleIsAtAstronomicalRange(rule) local astronomicalString = rule:match('at%s+(%a+)') or '' if type(gTimes[astronomicalString]) == 'boolean' then return gTimes[astronomicalString] end end -- returns true if self.min fits in the every xx minute /every other minute/every minute rule function self.ruleMatchesMinuteSpecification(rule) local function fitsMinuteRule(m) return (self.min / m == math.floor(self.min / m)) end if (string.find(rule, 'every minute')) then return true end if (string.find(rule, 'every other minute')) then return fitsMinuteRule(2) end local minutes = tonumber(string.match(rule, 'every (%d+) minutes')) if (minutes ~= nil) then if ((60 / minutes) ~= math.floor(60 / minutes) or minutes >= 60) then self.utils.log(rule .. ' is not a valid timer definition. Can only run every 1, 2, 3, 4, 5, 6, 10, 12, 15, 20 and 30 minutes.', utils.LOG_ERROR) return false end return fitsMinuteRule(minutes) end return nil -- nothing specified for this rule end -- return true if self.hour fits the every hour/every other hour/every xx hours rule function self.ruleMatchesHourSpecification(rule) local function fitsHourRule(h) -- always fit every whole hour (hence the self.min == 0) return (self.hour / h == math.floor(self.hour / h) and self.min == 0) end if (string.find(rule, 'every hour')) then return fitsHourRule(1) end if (string.find(rule, 'every other hour')) then return fitsHourRule(2) end local hours = tonumber(string.match(rule, 'every% (%d+)% hours')) if (hours ~= nil) then if ((24 / hours) ~= math.floor(24 / hours) or hours >= 24) then self.utils.log(rule .. ' is not a valid timer definition. Can only run every 1, 2, 3, 4, 6, 8, 12 hours.', utils.LOG_ERROR) return false end return fitsHourRule(hours) end return nil -- nothing specified for this rule end -- return true if self.time is at hh:mm / *:mm/ hh:* function self.ruleMatchesTime(rule) local hh, mm local timePattern = 'at% ([0-9%*]+):([0-9%*]+)' hh, mm = string.match(rule, timePattern .. '% ') if (hh == nil or mm == nil) then -- check for end-of string hh, mm = string.match(rule, timePattern .. '$') end if (hh ~= nil) then if (mm == '*') then return (self.hour == tonumber(hh)) elseif (hh == '*') then return (self.min == tonumber(mm)) --elseif (hh ~= '*' and hh ~= '*') then else hh = tonumber(hh) mm = tonumber(mm) if (hh ~= nil and mm ~= nil) then return (mm == self.min and hh == self.hour) else -- invalid return false end end end return nil -- no at hh:mm found in rule end -- returns true if self.time is in time range: at hh:mm-hh:mm function self.ruleMatchesTimeRange(rule) local fromH, fromM, toH, toM = string.match(rule, 'at% ([0-9%*]+):([0-9%*]+)-([0-9%*]+):([0-9%*]+)') if (fromH ~= nil) then -- all will be nil if fromH is nil fromH = tonumber(fromH) fromM = tonumber(fromM) toH = tonumber(toH) toM = tonumber(toM) if (fromH == nil or fromM == nil or toH == nil or toM == nil) then -- invalid format return false else return timeIsInRange(fromH, fromM, toH, toM) end end return nil end -- returns true if 'moment' matches with any of the moment-like time rules function getMoment(moment) local minutes, astrologicalMoment -- first check if it in the form of hh:mm hh, mm = string.match(moment, '([0-9]+):([0-9]+)') if (hh ~= nil and mm ~= nil) then return tonumber(hh), tonumber(mm) end -- check if it is before astroMoment minutes, astrologicalMoment = string.match(moment, '%.*(%d+)%s+minutes%s+before%s+(%a+)') if minutes and astrologicalMoment then return minutesToTime(gTimes[astrologicalMoment .. 'inminutes'] - tonumber(minutes)) end -- check if it is after astroMoment minutes, astrologicalMoment = string.match(moment, '%.*(%d+)%s+minutes%s+after%s+(%a+)') if minutes and astrologicalMoment then return minutesToTime(gTimes[astrologicalMoment .. 'inminutes'] + tonumber(minutes)) end -- check at astroMoment if (gTimes[moment .. 'inminutes']) then return minutesToTime(gTimes[moment .. 'inminutes']) end return nil end -- returns true if self.time is in a between xx and yy range function self.ruleMatchesBetweenRange(rule) local from, to = string.match(rule, 'between% (.+)% and% (.+)') if (from == nil or to == nil) then return nil end local fromHH, fromMM, toHH, toMM fromHH, fromMM = getMoment(from) toHH, toMM = getMoment(to) if (fromHH == nil or fromMM == nil or toHH == nil or toMM == nil) then return nil end return timeIsInRange(fromHH, fromMM, toHH, toMM) end -- remove seconds from timeStrings 'at 12:23:56-23:45:00 ==>> 'at 12:23-23:45' -- to allow use of rawTime in matchesRule local function sanitize(rule) if not rule:match("(%w+%:%w+:%w+)") then return rule end for strippedTime in rule:gmatch("(%w+%:%w+)") do if strippedTime:match("(%w+%:%w+:%w+)") then rule = rule:gsub(rule:match("(%w+%:%w+:%w+)"),rule:match(strippedTime)) end end return rule end local function populateAstrotimes() local LOOKUPASTRO = { CivTwilightEndInMinutes = 'civiltwilightendinminutes', AstrTwilightStartInMinutes = 'astronomicaltwilightstartinminutes', AstrTwilightEndInMinutes = 'astronomicaltwilightendinminutes', SunAtSouthInMinutes = 'solarnooninminutes', NautTwilightEndInMinutes = 'nauticaltwilightendinminutes', NautTwilightStartInMinutes = 'nauticaltwilightstartinminutes', CivTwilightStartInMinutes = 'civiltwilightstartinminutes', Daytime = 'daytime', SunsetInMinutes = 'sunsetinminutes', Civildaytime = 'civildaytime', Civilnighttime = 'civilnighttime', SunriseInMinutes = 'sunriseinminutes', Nighttime = 'nighttime', } gTimes = {} for originalName, dzVentsName in pairs(LOOKUPASTRO) do gTimes[dzVentsName] = timeofday[originalName] end gTimes.sunatsouthinminutes = gTimes.solarnooninminutes gTimes.astronomicaldaytime = ( self.minutesnow <= (gTimes.astronomicaltwilightendinminutes or 0) and self.minutesnow >= (gTimes.astronomicaltwilightstartinminutes or 9999)) gTimes.nauticaldaytime = (self.minutesnow <= (gTimes.nauticaltwilightendinminutes or 0) and self.minutesnow >= (gTimes.nauticaltwilightstartinminutes or 9999)) gTimes.nauticalnighttime = not(gTimes.nauticaldaytime) gTimes.astronomicalnighttime = not(gTimes.astronomicaldaytime) gTimes.midnightinminutes = 0 return true end -- returns true if self.time matches the rule function self.matchesRule(rule, processed) if type(rule) ~= 'string' or rule == '' then utils.log('Time rule is not a string.',utils.LOG_ERROR) return false -- split into atomic time rules to simplify and speedup processing elseif not(processed) then populateAstrotimes() local rule = rule:lower() local validPositiveRules = true local negativeKeyword = 'except' local function ruleSplit(rawRule) local ruleKeywords = 'on, between, every, in' local allRules = {} local aRule = '' for ruleWord in string.gmatch(rawRule, "[%S]+") do -- all "words" separated by spaces if ruleKeywords:find(ruleWord) and aRule ~= '' then table.insert(allRules, aRule) aRule = '' end aRule = ( aRule == '' and ruleWord ) or ( aRule .. ' ' .. ruleWord ) end if aRule ~= '' then table.insert(allRules, aRule) end return allRules or {} end local positiveRules, negativeRules local exceptPosition = rule:find(negativeKeyword) if rule:find('%s+or%s+') then local subRules = utils.splitLine(rule, 'or') for _, subRule in ipairs(subRules) do if self.matchesRule( subRule ) then return true end end return false elseif exceptPosition then positiveRules = ruleSplit(rule:sub(1, exceptPosition - 1)) negativeRules = ruleSplit(rule:sub(exceptPosition + #negativeKeyword, #rule)) else negativeRules = nil positiveRules = ruleSplit(rule) end for _, aRule in ipairs(positiveRules) do validPositiveRules = validPositiveRules and self.matchesRule(aRule, true) if validPositiveRules == false then return false end end if exceptPosition then for _, aRule in ipairs( negativeRules) do if self.matchesRule(aRule, true) then return false end end end return validPositiveRules end local res local total = false local function updateTotal(res) total = res ~= nil and (total or res) or total end for _, word in pairs({'week', 'every', 'on', 'after', 'before', 'at' , 'between' }) do ruleWords[word] = utils.containsWord(rule, word) end res = ruleWords.week and self.ruleIsInWeek(rule) if (res == false) then --in week <weeks> was specified but 'now' is not on any of the specified weeks return false end updateTotal(res) res = ruleWords.on and self.ruleIsOnDay(rule) -- range if (res == false) then -- on <days> was specified but 'now' is not on any of the specified days return false end updateTotal(res) res = ruleWords.on and self.ruleIsOnDate(rule) if (res == false) then -- on date <dates> was specified but 'now' is not on any of the specified dates return false end updateTotal(res) local _between = ruleWords.between and self.ruleMatchesBetweenRange(rule) -- range if (_between == false) then -- rule had between xxx and yyy is not in that range now return false end res = _between updateTotal(res) if (_between == nil) then -- there was not a between rule. -- A between-range can have before/after sunrise/set rules so it cannot be combined with these here res = ruleWords.before and self.ruleIsBeforeAstrologicalMoment(rule) -- moment if (res == false) then -- (sub)rule has before xxstart, xxend, sunset, sunrise or solarnoon return false end updateTotal(res) res = ruleWords.after and self.ruleIsAfterAstrologicalMoment(rule) -- moment if (res == false) then -- (sub)rule has after xxstart, xxend, sunset, sunrise or solarnoon return false end updateTotal(res) end res = ruleWords.at and self.ruleIsAtAstronomicalMoment(rule) if (res == false) then -- rule has at xxstart, xxend, sunset, sunrise or solarnoon return false end updateTotal(res) res = ruleWords.at and self.ruleIsAtAstronomicalRange(rule) if (res == false) then -- rule has at xxdaytime or xx nighttime return false end updateTotal(res) res = ruleWords.every and self.ruleMatchesHourSpecification(rule) -- moment if (res == false) then -- rule has every xx hour but its not the right time return false end updateTotal(res) res = ruleWords.every and self.ruleMatchesMinuteSpecification(rule) -- moment if (res == false) then -- rule has every xx minute but its not the right time return false end updateTotal(res) rule = sanitize(rule) res = ruleWords.at and self.ruleMatchesTime(rule) -- moment / range if (res == false) then -- rule has at hh:mm part but didn't match (or was invalid) return false end updateTotal(res) res = ruleWords.at and self.ruleMatchesTimeRange(sanitize(rule)) -- range if (res == false) then -- rule has at hh:mm-hh:mm but time is not in that range now return false end updateTotal(res) return total end return self end return Time
gpl-3.0
dragoonreas/Timeless-Answers
Locales/enUS.lua
1
1445
--[[ English localisation strings for Timeless Answers. Translation Credits: http://wow.curseforge.com/addons/timeless-answers/localization/translators/ Please update http://www.wowace.com/addons/timeless-answers/localization/enUS/ for any translation additions or changes. Once reviewed, the translations will be automatically incorperated in the next build by the localization application. These translations are released under the Public Domain. ]]-- -- Get addon name local addon = ... -- Create the English localisation table local L = LibStub("AceLocale-3.0"):NewLocale(addon, "enUS", true) if not L then return; end -- Messages output to the user's chat frame --@localization(locale="enUS", format="lua_additive_table", handle-unlocalized="english", same-key-is-true=true, namespace="Message2")@ -- Gossip from the NPC that's neither an answer nor a question --@localization(locale="enUS", format="lua_additive_table", handle-unlocalized="english", same-key-is-true=true, namespace="Gossip")@ -- The complete gossip text from when the NPC asks the question --@localization(locale="enUS", format="lua_additive_table", handle-unlocalized="english", same-key-is-true=true, namespace="Question2")@ -- The complete gossip option text of the correct answer from when the NPC asks the question --@localization(locale="enUS", format="lua_additive_table", handle-unlocalized="english", same-key-is-true=true, namespace="Answer")@
gpl-3.0
DDDGamer/factorio-dz-softmod
modules/common/research-qeue.lua
1
38297
-- __NAME__ Soft Module -- __Description__ -- Uses locale __modulename__.cfg -- @usage require('modules/__folder__/__modulename__') -- @usage local ModuleName = require('modules/__folder__/__modulename__') -- ------------------------------------------------------- -- -- @author Denis Zholob (DDDGamer) -- github: https://github.com/deniszholob/factorio-softmod-pack -- ======================================================= -- -- Dependencies -- -- ======================================================= -- local mod_gui = require("mod-gui") -- From `Factorio\data\core\lualib` local GUI = require("stdlib/GUI") -- Constants -- -- ======================================================= -- local MENU_BTN_NAME = 'btn_menu_auto-research' local MASTER_FRAME_NAME = 'frame_auto-research' -- Event Functions -- -- ======================================================= -- -- When new player joins add a btn to their button_flow -- Redraw this softmod's frame -- @param event on_player_joined_game function on_player_joined(event) local player = game.players[event.player_index] local config = getConfig(player.force) -- triggers initialization of force config startNextResearch(player.force, true) draw_menu_btn(player) -- draw_master_frame(player) -- dont draw yet, when btn clicked instead end -- When a player leaves clean up their GUI in case this mod gets removed next time -- @param event on_player_left_game function on_player_left_game(event) local player = game.players[event.player_index] GUI.destroy_element(mod_gui.get_button_flow(player)[MENU_BTN_NAME]) GUI.destroy_element(mod_gui.get_frame_flow(player)[MASTER_FRAME_NAME]) end -- Toggle gameinfo is called if gui element is gameinfo button -- @param event on_gui_click local function on_gui_click(event) local player = game.players[event.player_index] local el_name = event.element.name if el_name == MENU_BTN_NAME then -- Call toggle if frame has been created if(mod_gui.get_frame_flow(player)[MASTER_FRAME_NAME] ~= nil) then GUI.toggle_element(mod_gui.get_frame_flow(player)[MASTER_FRAME_NAME]) else -- Call create if it hasnt draw_gameinfo_frame(player) end else gui.onClick(event) end end -- -- @param event on_force_created event function on_force_created(event) getConfig(event.force) -- triggers initialization of force config end function on_research_finished(event) local force = event.research.force local config = getConfig(force) -- remove researched stuff from prioritized_techs and deprioritized_techs for i = #config.prioritized_techs, 1, -1 do local tech = force.technologies[config.prioritized_techs[i]] if not tech or tech.researched then table.remove(config.prioritized_techs, i) end end for i = #config.deprioritized_techs, 1, -1 do local tech = force.technologies[config.deprioritized_techs[i]] if not tech or tech.researched then table.remove(config.deprioritized_techs, i) end end -- announce completed research if config.announce_completed and config.no_announce_this_tick ~= game.tick then if config.last_research_finish_tick == game.tick then config.no_announce_this_tick = game.tick force.print{"auto_research.announce_multiple_completed"} else local level = "" if event.research.research_unit_count_formula then level = (event.research.researched and event.research.level) or (event.research.level - 1) end force.print{"auto_research.announce_completed", event.research.localised_name, level} end end startNextResearch(event.research.force) end -- -- @param event on_player_created event function on_player_created(event) end -- -- @param event on_player_created event function on_player_created(event) end -- Event Registration -- -- ======================================================= -- Event.register(defines.events.on_force_created, on_force_created) Event.register(defines.events.on_research_finished, on_research_finished) Event.register(defines.events.on_gui_checked_state_changed, on_gui_checked_state_changed) Event.register(defines.events.on_gui_click, on_gui_click) Event.register(defines.events.on_gui_text_changed, on_gui_text_changed) script.on_event(defines.events.on_gui_checked_state_changed, gui.onClick) script.on_event(defines.events.on_gui_click, gui.onClick) script.on_event(defines.events.on_gui_text_changed, function(event) if event.element.name ~= "auto_research_search_text" then return end gui.updateSearchResult(game.players[event.player_index], event.element.text) end) -- Helper Functions -- -- ======================================================= -- -- -- @param player LuaPlayer function draw_menu_btn(player) if mod_gui.get_button_flow(player)[MENU_BTN_NAME] == nil then mod_gui.get_button_flow(player).add( { type = "sprite-button", name = MENU_BTN_NAME, sprite = "item/lab", -- caption = 'Auto Infinite Research', tooltip = "Research Queue" } ) end end function getConfig(force, config_changed) if not global.auto_research_config then global.auto_research_config = {} -- Disable Research Queue popup if remote.interfaces.RQ and remote.interfaces.RQ["popup"] then remote.call("RQ", "popup", false) end end if not global.auto_research_config[force.name] then global.auto_research_config[force.name] = { prioritized_techs = {}, -- "prioritized" is "queued". kept for backwards compatability (because i'm lazy and don't want migration code) deprioritized_techs = {} -- "deprioritized" is "blacklisted". kept for backwards compatability (because i'm lazy and don't want migration code) } -- Enable Auto Research setAutoResearch(force, true) -- Disable queued only setQueuedOnly(force, false) -- Allow switching research setAllowSwitching(force, true) -- Print researched technology setAnnounceCompletedResearch(force, true) end -- set research strategy global.auto_research_config[force.name].research_strategy = global.auto_research_config[force.name].research_strategy or "balanced" if config_changed or not global.auto_research_config[force.name].allowed_ingredients or not global.auto_research_config[force.name].infinite_research then -- remember any old ingredients local old_ingredients = {} if global.auto_research_config[force.name].allowed_ingredients then for name, enabled in pairs(global.auto_research_config[force.name].allowed_ingredients) do old_ingredients[name] = enabled end end -- find all possible tech ingredients -- also scan for research that are infinite: techs that have no successor and tech.research_unit_count_formula is not nil global.auto_research_config[force.name].allowed_ingredients = {} global.auto_research_config[force.name].infinite_research = {} local finite_research = {} for _, tech in pairs(force.technologies) do for _, ingredient in pairs(tech.research_unit_ingredients) do global.auto_research_config[force.name].allowed_ingredients[ingredient.name] = (old_ingredients[ingredient.name] == nil or old_ingredients[ingredient.name]) end if tech.research_unit_count_formula then global.auto_research_config[force.name].infinite_research[tech.name] = tech end for _, pretech in pairs(tech.prerequisites) do if pretech.enabled and not pretech.researched then finite_research[pretech.name] = true end end end for techname, _ in pairs(finite_research) do global.auto_research_config[force.name].infinite_research[techname] = nil end end return global.auto_research_config[force.name] end function setAutoResearch(force, enabled) if not force then return end local config = getConfig(force) config.enabled = enabled -- start new research startNextResearch(force) end function setQueuedOnly(force, enabled) if not force then return end getConfig(force).prioritized_only = enabled -- start new research startNextResearch(force) end function setAllowSwitching(force, enabled) if not force then return end getConfig(force).allow_switching = enabled -- start new research startNextResearch(force) end function setAnnounceCompletedResearch(force, enabled) if not force then return end getConfig(force).announce_completed = enabled end function setDeprioritizeInfiniteTech(force, enabled) if not force then return end getConfig(force).deprioritize_infinite_tech = enabled -- start new research startNextResearch(force) end function getPretechs(tech) local pretechs = {} pretechs[#pretechs + 1] = tech local index = 1 while (index <= #pretechs) do for _, pretech in pairs(pretechs[index].prerequisites) do if pretech.enabled and not pretech.researched then pretechs[#pretechs + 1] = pretech end end index = index + 1 end return pretechs end function canResearch(force, tech, config) if not tech or tech.researched or not tech.enabled then return false end for _, pretech in pairs(tech.prerequisites) do if not pretech.researched then return false end end for _, ingredient in pairs(tech.research_unit_ingredients) do if not config.allowed_ingredients[ingredient.name] then return false end end for _, deprioritized in pairs(config.deprioritized_techs) do if tech.name == deprioritized then return false end end return true end function startNextResearch(force, override_spam_detection) local config = getConfig(force) if not config.enabled or (force.current_research and not config.allow_switching) or (not override_spam_detection and config.last_research_finish_tick == game.tick) then return end config.last_research_finish_tick = game.tick -- if multiple research finish same tick for same force, the user probably enabled all techs -- function for calculating tech effort local calcEffort = function(tech) local ingredientCount = function(ingredients) local tech_ingredients = 0 for _, ingredient in pairs(tech.research_unit_ingredients) do tech_ingredients = tech_ingredients + ingredient.amount end return tech_ingredients end local effort = 0 if config.research_strategy == "fast" then effort = math.max(tech.research_unit_energy, 1) * math.max(tech.research_unit_count, 1) elseif config.research_strategy == "slow" then effort = math.max(tech.research_unit_energy, 1) * math.max(tech.research_unit_count, 1) * -1 elseif config.research_strategy == "cheap" then effort = math.max(ingredientCount(tech.research_unit_ingredients), 1) * math.max(tech.research_unit_count, 1) elseif config.research_strategy == "expensive" then effort = math.max(ingredientCount(tech.research_unit_ingredients), 1) * math.max(tech.research_unit_count, 1) * -1 elseif config.research_strategy == "balanced" then effort = math.max(tech.research_unit_count, 1) * math.max(tech.research_unit_energy, 1) * math.max(ingredientCount(tech.research_unit_ingredients), 1) else effort = math.random(1, 999) end if (config.deprioritize_infinite_tech and config.infinite_research[tech.name]) then return effort * (effort > 0 and 1000 or -1000) else return effort end end -- see if there are some techs we should research first local next_research = nil local least_effort = nil for _, techname in pairs(config.prioritized_techs) do local tech = force.technologies[techname] if tech and not next_research then local pretechs = getPretechs(tech) for _, pretech in pairs(pretechs) do local effort = calcEffort(pretech) if (not least_effort or effort < least_effort) and canResearch(force, pretech, config) then next_research = pretech.name least_effort = effort end end end end -- if no queued tech should be researched then research the "least effort" tech not researched yet if not config.prioritized_only and not next_research then for techname, tech in pairs(force.technologies) do if tech.enabled and not tech.researched then local effort = calcEffort(tech) if (not least_effort or effort < least_effort) and canResearch(force, tech, config) then next_research = techname least_effort = effort end end end end force.current_research = next_research end -- user interface gui = { toggleGui = function(player) if player.gui.top.auto_research_gui then player.gui.top.auto_research_gui.destroy() else local force = player.force local config = getConfig(force) local frame = player.gui.top.add{ type = "frame", name = "auto_research_gui", direction = "vertical", caption = {"auto_research_gui.title"} } local frameflow = frame.add{ type = "flow", style = "auto_research_list_flow", name = "flow", direction = "vertical" } -- checkboxes frameflow.add{type = "checkbox", name = "auto_research_enabled", caption = {"auto_research_gui.enabled"}, tooltip = {"auto_research_gui.enabled_tooltip"}, state = config.enabled or false} frameflow.add{type = "checkbox", name = "auto_research_queued_only", caption = {"auto_research_gui.prioritized_only"}, tooltip = {"auto_research_gui.prioritized_only_tooltip"}, state = config.prioritized_only or false} frameflow.add{type = "checkbox", name = "auto_research_allow_switching", caption = {"auto_research_gui.allow_switching"}, tooltip = {"auto_research_gui.allow_switching_tooltip"}, state = config.allow_switching or false} frameflow.add{type = "checkbox", name = "auto_research_announce_completed", caption = {"auto_research_gui.announce_completed"}, tooltip = {"auto_research_gui.announce_completed_tooltip"}, state = config.announce_completed or false} frameflow.add{type = "checkbox", name = "auto_research_deprioritize_infinite_tech", caption = {"auto_research_gui.deprioritize_infinite_tech"}, tooltip = {"auto_research_gui.deprioritize_infinite_tech_tooltip"}, state = config.deprioritize_infinite_tech or false} -- research strategy frameflow.add{ type = "label", style = "auto_research_header_label", caption = {"auto_research_gui.research_strategy"} } local research_strategies_one = frameflow.add{ type = "flow", style = "auto_research_tech_flow", name = "research_strategies_one", direction = "horizontal" } research_strategies_one.add{type = "radiobutton", name = "auto_research_research_fast", caption = {"auto_research_gui.research_fast"}, tooltip = {"auto_research_gui.research_fast_tooltip"}, state = config.research_strategy == "fast"} research_strategies_one.add({type = "radiobutton", name = "auto_research_research_cheap", caption = {"auto_research_gui.research_cheap"}, tooltip = {"auto_research_gui.research_cheap_tooltip"}, state = config.research_strategy == "cheap"}).style.left_padding = 15 research_strategies_one.add({type = "radiobutton", name = "auto_research_research_balanced", caption = {"auto_research_gui.research_balanced"}, tooltip = {"auto_research_gui.research_balanced_tooltip"}, state = config.research_strategy == "balanced"}).style.left_padding = 15 local research_strategies_two = frameflow.add{ type = "flow", style = "auto_research_tech_flow", name = "research_strategies_two", direction = "horizontal" } research_strategies_two.add{type = "radiobutton", name = "auto_research_research_slow", caption = {"auto_research_gui.research_slow"}, tooltip = {"auto_research_gui.research_slow_tooltip"}, state = config.research_strategy == "slow"} research_strategies_two.add({type = "radiobutton", name = "auto_research_research_expensive", caption = {"auto_research_gui.research_expensive"}, tooltip = {"auto_research_gui.research_expensive_tooltip"}, state = config.research_strategy == "expensive"}).style.left_padding = 15 research_strategies_two.add({type = "radiobutton", name = "auto_research_research_random", caption = {"auto_research_gui.research_random"}, tooltip = {"auto_research_gui.research_random_tooltip"}, state = config.research_strategy == "random"}).style.left_padding = 15 -- allowed ingredients frameflow.add{ type = "label", style = "auto_research_header_label", caption = {"auto_research_gui.allowed_ingredients_label"} } local allowed_ingredients = frameflow.add{ type = "flow", style = "auto_research_list_flow", name = "allowed_ingredients", direction = "vertical" } gui.updateAllowedIngredientsList(player.gui.top.auto_research_gui.flow.allowed_ingredients, player, config) -- prioritized techs frameflow.add{ type = "label", style = "auto_research_header_label", caption = {"auto_research_gui.prioritized_label"} } local prioritized = frameflow.add{ type = "scroll-pane", name = "prioritized", horizontal_scroll_policy = "never", vertical_scroll_policy = "auto" } prioritized.style.top_padding = 5 prioritized.style.bottom_padding = 5 prioritized.style.maximal_height = 127 -- draw prioritized tech list gui.updateTechnologyList(player.gui.top.auto_research_gui.flow.prioritized, config.prioritized_techs, player, true) -- deprioritized techs frameflow.add{ type = "label", style = "auto_research_header_label", caption = {"auto_research_gui.deprioritized_label"} } local deprioritized = frameflow.add{ type = "scroll-pane", name = "deprioritized", horizontal_scroll_policy = "never", vertical_scroll_policy = "auto" } deprioritized.style.top_padding = 5 deprioritized.style.bottom_padding = 5 deprioritized.style.maximal_height = 127 -- draw deprioritized tech list gui.updateTechnologyList(player.gui.top.auto_research_gui.flow.deprioritized, config.deprioritized_techs, player) -- search for techs local searchflow = frameflow.add{ type = "flow", name = "searchflow", style = "auto_research_tech_flow", direction = "horizontal" } searchflow.add{ type = "label", style = "auto_research_header_label", caption = {"auto_research_gui.search_label"} } searchflow.add{ type = "textfield", name = "auto_research_search_text", tooltip = {"auto_research_gui.search_tooltip"} } local searchoptionsflow = frameflow.add{ type = "flow", name = "searchoptionsflow", style = "auto_research_tech_flow", direction = "horizontal" } searchoptionsflow.add{ type = "checkbox", name = "auto_research_ingredients_filter_search_results", caption = {"auto_research_gui.ingredients_filter_search_results"}, tooltip = {"auto_research_gui.ingredients_filter_search_results_tooltip"}, state = config.filter_search_results or false } local search = frameflow.add{ type = "scroll-pane", name = "search", horizontal_scroll_policy = "never", vertical_scroll_policy = "auto" } search.style.top_padding = 5 search.style.bottom_padding = 5 search.style.maximal_height = 127 -- draw search result list gui.updateSearchResult(player, "") end end, onClick = function(event) local player = game.players[event.player_index] local force = player.force local config = getConfig(force) local name = event.element.name if name == "auto_research_enabled" then setAutoResearch(force, event.element.state) elseif name == "auto_research_queued_only" then setQueuedOnly(force, event.element.state) elseif name == "auto_research_allow_switching" then setAllowSwitching(force, event.element.state) elseif name == "auto_research_announce_completed" then setAnnounceCompletedResearch(force, event.element.state) elseif name == "auto_research_deprioritize_infinite_tech" then setDeprioritizeInfiniteTech(force, event.element.state) elseif name == "auto_research_search_text" then if event.button == defines.mouse_button_type.right then player.gui.top.auto_research_gui.flow.searchflow.auto_research_search_text.text = "" gui.updateSearchResult(player, player.gui.top.auto_research_gui.flow.searchflow.auto_research_search_text.text) end elseif name == "auto_research_ingredients_filter_search_results" then config.filter_search_results = event.element.state gui.updateSearchResult(player, player.gui.top.auto_research_gui.flow.searchflow.auto_research_search_text.text) elseif string.find(name, "auto_research_research") then config.research_strategy = string.match(name, "^auto_research_research_(.*)$") player.gui.top.auto_research_gui.flow.research_strategies_one.auto_research_research_fast.state = (config.research_strategy == "fast") player.gui.top.auto_research_gui.flow.research_strategies_one.auto_research_research_cheap.state = (config.research_strategy == "cheap") player.gui.top.auto_research_gui.flow.research_strategies_one.auto_research_research_balanced.state = (config.research_strategy == "balanced") player.gui.top.auto_research_gui.flow.research_strategies_two.auto_research_research_slow.state = (config.research_strategy == "slow") player.gui.top.auto_research_gui.flow.research_strategies_two.auto_research_research_expensive.state = (config.research_strategy == "expensive") player.gui.top.auto_research_gui.flow.research_strategies_two.auto_research_research_random.state = (config.research_strategy == "random") -- start new research startNextResearch(force) else local prefix, name = string.match(name, "^auto_research_([^-]*)-(.*)$") if prefix == "allow_ingredient" then config.allowed_ingredients[name] = not config.allowed_ingredients[name] gui.updateAllowedIngredientsList(player.gui.top.auto_research_gui.flow.allowed_ingredients, player, config) if player.gui.top.auto_research_gui.flow.searchoptionsflow.auto_research_ingredients_filter_search_results.state then gui.updateSearchResult(player, player.gui.top.auto_research_gui.flow.searchflow.auto_research_search_text.text) end startNextResearch(force) elseif name and force.technologies[name] then -- remove tech from prioritized list for i = #config.prioritized_techs, 1, -1 do if config.prioritized_techs[i] == name then table.remove(config.prioritized_techs, i) end end -- and from deprioritized list for i = #config.deprioritized_techs, 1, -1 do if config.deprioritized_techs[i] == name then table.remove(config.deprioritized_techs, i) end end if prefix == "queue_top" then -- add tech to top of prioritized list table.insert(config.prioritized_techs, 1, name) elseif prefix == "queue_bottom" then -- add tech to bottom of prioritized list table.insert(config.prioritized_techs, name) elseif prefix == "blacklist" then -- add tech to list of deprioritized techs table.insert(config.deprioritized_techs, name) end gui.updateTechnologyList(player.gui.top.auto_research_gui.flow.prioritized, config.prioritized_techs, player, true) gui.updateTechnologyList(player.gui.top.auto_research_gui.flow.deprioritized, config.deprioritized_techs, player) gui.updateSearchResult(player, player.gui.top.auto_research_gui.flow.searchflow.auto_research_search_text.text) -- start new research startNextResearch(force) end end end, updateAllowedIngredientsList = function(flow, player, config) local counter = 1 while flow["flow" .. counter] do flow["flow" .. counter].destroy() counter = counter + 1 end counter = 1 for ingredientname, allowed in pairs(config.allowed_ingredients) do local flowname = "flow" .. math.floor(counter / 10) + 1 local ingredientflow = flow[flowname] if not ingredientflow then ingredientflow = flow.add { type = "flow", style = "auto_research_tech_flow", name = flowname, direction = "horizontal" } end local sprite = "auto_research_tool_" .. ingredientname if not player.gui.is_valid_sprite_path(sprite) then sprite = "auto_research_unknown" end ingredientflow.add{type = "sprite-button", style = "auto_research_sprite_button_toggle" .. (allowed and "_pressed" or ""), name = "auto_research_allow_ingredient-" .. ingredientname, tooltip = {"item-name." .. ingredientname}, sprite = sprite} counter = counter + 1 end end, updateTechnologyList = function(scrollpane, technologies, player, show_queue_buttons) if scrollpane.flow then scrollpane.flow.destroy() end local flow = scrollpane.add{ type = "flow", style = "auto_research_list_flow", name = "flow", direction = "vertical" } if #technologies > 0 then for _, techname in pairs(technologies) do local tech = player.force.technologies[techname] if tech then local entryflow = flow.add{type = "flow", style = "auto_research_tech_flow", direction = "horizontal"} if show_queue_buttons then entryflow.add{type = "sprite-button", style = "auto_research_sprite_button", name = "auto_research_queue_top-" .. techname, sprite = "auto_research_prioritize_top"} entryflow.add{type = "sprite-button", style = "auto_research_sprite_button", name = "auto_research_queue_bottom-" .. techname, sprite = "auto_research_prioritize_bottom"} end entryflow.add{type = "sprite-button", style = "auto_research_sprite_button", name = "auto_research_delete-" .. techname, sprite = "auto_research_delete"} entryflow.add{type = "label", style = "auto_research_tech_label", caption = tech.localised_name} for _, ingredient in pairs(tech.research_unit_ingredients) do local sprite = "auto_research_tool_" .. ingredient.name if not player.gui.is_valid_sprite_path(sprite) then sprite = "auto_research_unknown" end entryflow.add{type = "sprite", style = "auto_research_sprite", sprite = sprite} end end end else local entryflow = flow.add{type = "flow", direction = "horizontal"} entryflow.add{type = "label", caption = {"auto_research_gui.none"}} end end, updateSearchResult = function(player, text) local scrollpane = player.gui.top.auto_research_gui.flow.search if scrollpane.flow then scrollpane.flow.destroy() end local flow = scrollpane.add{ type = "flow", style = "auto_research_list_flow", name = "flow", direction = "vertical" } local ingredients_filter = player.gui.top.auto_research_gui.flow.searchoptionsflow.auto_research_ingredients_filter_search_results.state local config = getConfig(player.force) local shown = 0 text = string.lower(text) -- NOTICE: localised name matching does not work at present, pending unlikely changes to Factorio API for name, tech in pairs(player.force.technologies) do if not tech.researched and tech.enabled then local showtech = false if string.find(string.lower(name), text, 1, true) then -- show techs that match by name showtech = true -- elseif string.find(string.lower(game.technology_prototypes[name].localised_name), text, 1, true) then -- -- show techs that match by localised name -- showtech = true else for _, effect in pairs(tech.effects) do if string.find(effect.type, text, 1, true) then -- show techs that match by effect type showtech = true elseif effect.type == "unlock-recipe" then if string.find(effect.recipe, text, 1, true) then -- show techs that match by unlocked recipe name showtech = true -- elseif string.find(string.lower(game.recipe_prototypes[effect.recipe].localised_name), text, 1, true) then -- -- show techs that match by unlocked recipe localised name -- showtech = true else for _, product in pairs(game.recipe_prototypes[effect.recipe].products) do if string.find(product.name, text, 1, true) then -- show techs that match by unlocked recipe product name showtech = true -- elseif string.find(string.lower(game.item_prototypes[product.name].localised_name), text, 1, true) then -- -- show techs that match by unlocked recipe product localised name -- showtech = true else local prototype = game.item_prototypes[product.name] if prototype then if prototype.place_result then if string.find(prototype.place_result.name, text, 1, true) then -- show techs that match by unlocked recipe product placed entity name showtech = true -- elseif string.find(string.lower(game.entity_prototypes[prototype.place_result.name].localised_name), text, 1, true) then -- -- show techs that match by unlocked recipe product placed entity localised name -- showtech = true end elseif prototype.place_as_equipment_result then if string.find(prototype.place_as_equipment_result.name, text, 1, true) then -- show techs that match by unlocked recipe product placed equipment name showtech = true -- elseif string.find(string.lower(game.equipment_prototypes[prototype.place_as_equipment_result.name].localised_name), text, 1, true) then -- -- show techs that match by unlocked recipe product placed equipment localised name -- showtech = true end elseif prototype.place_as_tile_result then if string.find(prototype.place_as_tile_result.result.name, text, 1, true) then -- show techs that match by unlocked recipe product placed tile name showtech = true -- elseif string.find(string.lower(prototype.place_as_tile_result.result.localised_name), text, 1, true) then -- -- show techs that match by unlocked recipe product placed tile localised name -- showtech = true end end end end end end end end end if showtech and config.prioritized_techs then for _, queued_tech in pairs(config.prioritized_techs) do if name == queued_tech then showtech = false break end end end if showtech and config.deprioritized_techs then for _, blacklisted_tech in pairs(config.deprioritized_techs) do if name == blacklisted_tech then showtech = false break end end end if showtech and ingredients_filter then for _, ingredient in pairs(tech.research_unit_ingredients) do if not config.allowed_ingredients[ingredient.name] then -- filter out techs that require disallowed ingredients (optional) showtech = false end end end if showtech then shown = shown + 1 local entryflow = flow.add{type = "flow", style = "auto_research_tech_flow", direction = "horizontal"} entryflow.add{type = "sprite-button", style = "auto_research_sprite_button", name = "auto_research_queue_top-" .. name, sprite = "auto_research_prioritize_top"} entryflow.add{type = "sprite-button", style = "auto_research_sprite_button", name = "auto_research_queue_bottom-" .. name, sprite = "auto_research_prioritize_bottom"} entryflow.add{type = "sprite-button", style = "auto_research_sprite_button", name = "auto_research_blacklist-" .. name, sprite = "auto_research_deprioritize"} entryflow.add{type = "label", style = "auto_research_tech_label", name = name, caption = tech.localised_name} for _, ingredient in pairs(tech.research_unit_ingredients) do local sprite = "auto_research_tool_" .. ingredient.name if not player.gui.is_valid_sprite_path(sprite) then sprite = "auto_research_unknown" end entryflow.add{type = "sprite", style = "auto_research_sprite", sprite = sprite} end end end end end }
gpl-3.0
Ninjistix/darkstar
scripts/globals/items/kannagi.lua
3
3285
----------------------------------------- -- ID: 19464 -- Item: Kannagi ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/msg"); require("scripts/globals/weaponskills"); require("scripts/globals/weaponskillids"); ----------------------------------- local NAME_WEAPONSKILL = "AFTERMATH_KANNAGI"; local NAME_EFFECT_LOSE = "AFTERMATH_LOST_KANNAGI"; -- https://www.bg-wiki.com/bg/Relic_Aftermath local aftermathTable = {}; -- Kannagi 85 aftermathTable[19464] = { { -- Tier 1 duration = 30, mods = { { id = MOD_REM_OCC_DO_DOUBLE_DMG, power = 30 } } }, { -- Tier 2 duration = 60, mods = { { id = MOD_REM_OCC_DO_DOUBLE_DMG, power = 40 } } }, { -- Tier 3 duration = 60, mods = { { id = MOD_REM_OCC_DO_DOUBLE_DMG, power = 50 } } } }; aftermathTable[19542] = aftermathTable[19464]; -- Kannagi (90) aftermathTable[19641] = aftermathTable[19464]; -- Kannagi (95) aftermathTable[19813] = aftermathTable[19464]; -- Kannagi (99) aftermathTable[19861] = aftermathTable[19464]; -- Kannagi (99/II) aftermathTable[20974] = aftermathTable[19464]; -- Kannagi (119) aftermathTable[20975] = aftermathTable[19464]; -- Kannagi (119/II) -- Kannagi (119/III) aftermathTable[21908] = { { -- Tier 1 duration = 60, mods = { { id = MOD_REM_OCC_DO_TRIPLE_DMG, power = 30 } } }, { -- Tier 2 duration = 120, mods = { { id = MOD_REM_OCC_DO_TRIPLE_DMG, power = 40 } } }, { -- Tier 3 duration = 180, mods = { { id = MOD_REM_OCC_DO_TRIPLE_DMG, power = 50 } } } }; function onWeaponskill(user, target, wsid, tp, action) if (wsid == WEAPONSKILL_BLADE_HI) then -- Blade: Hi onry local itemId = user:getEquipID(SLOT_MAIN); if (shouldApplyAftermath(user, tp)) then if (aftermathTable[itemId]) then -- Apply the effect and add mods addEmpyreanAftermathEffect(user, tp, aftermathTable[itemId]); -- Add a listener for when aftermath wears (to remove mods) user:addListener("EFFECT_LOSE", NAME_EFFECT_LOSE, aftermathLost); end end end end function aftermathLost(target, effect) if (effect:getType() == EFFECT_AFTERMATH) then local itemId = target:getEquipID(SLOT_MAIN); if (aftermathTable[itemId]) then -- Remove mods removeEmpyreanAftermathEffect(target, effect, aftermathTable[itemId]); -- Remove the effect listener target:removeListener(NAME_EFFECT_LOSE); end end end function onItemCheck(player, param, caster) if (param == ITEMCHECK_EQUIP) then player:addListener("WEAPONSKILL_USE", NAME_WEAPONSKILL, onWeaponskill); elseif (param == ITEMCHECK_UNEQUIP) then -- Make sure we clean up the effect and mods if (player:hasStatusEffect(EFFECT_AFTERMATH)) then aftermathLost(player, player:getStatusEffect(EFFECT_AFTERMATH)); end player:removeListener(NAME_WEAPONSKILL); end return 0; end
gpl-3.0
dolio/irc-core
lua-extension/example.lua
2
3115
local extension = {} ------------------------------------------------------------------------ -- Message handlers ------------------------------------------------------------------------ local playbacks = {} -- The script can be reloaded at runtime with networks already connected for _,network in ipairs(glirc.list_networks()) do playbacks[network] = {} end ------------------------------------------------------------------------ -- Message handlers ------------------------------------------------------------------------ local messages = {} -- When joining the network, request full playback messages['001'] = function(network) playbacks[network] = {} glirc.send_message { network = network , command = "ZNC" , params = { '*playback' , 'play' ,'*', '0' } } end -- Detect ZNC's playback module BATCH and mark channels as seen afterward function messages.BATCH(network, _, reftag, batchtype, channel) local isStart = '+' == reftag:sub(1,1) reftag = reftag:sub(2) if isStart then if batchtype == 'znc.in/playback' then playbacks[network][reftag] = channel glirc.clear_window(network, channel) end else local channel = playbacks[network][reftag] if channel then playbacks[network][reftag] = nil glirc.mark_seen(network, channel) end end end messages['422'] = function () return true -- ignore nomotd message end -- Dispatch message to the appropriate handlers function extension:process_message(msg) local k = messages[msg.command] if k then return k(msg.network, msg.prefix, table.unpack(msg.params)) end end ------------------------------------------------------------------------ -- Command handlers ------------------------------------------------------------------------ local commands = {} function commands.compare(x,y) glirc.print('Comparing : ' .. tostring(glirc.identifier_cmp(x,y))) end function commands.list_networks() glirc.print(table.concat(glirc.list_networks(), ' ')) end function commands.list_channels(network) glirc.print(table.concat(glirc.list_channels(network), ' ')) end function commands.list_channel_users(network, channel) glirc.print(table.concat(glirc.list_channel_users(network,channel), ' ')) end function commands.my_nick(network) glirc.print(glirc.my_nick(network)) end function extension:process_command(cmd) local params = {} for w in cmd.command:gmatch("%S+") do table.insert(params, w) end local k = commands[params[1]] if k then k(table.unpack(params, 2)) else local cmds = {} for k,v in pairs(commands) do table.insert(cmds,k) end glirc.error('Available commands: ' .. table.concat(cmds, ', ')) end end function extension:stop() end -- return the extension module to the client return extension
isc
Ninjistix/darkstar
scripts/zones/Maze_of_Shakhrami/npcs/Treasure_Chest.lua
5
3430
----------------------------------- -- Area: Maze of Shakhrami -- NPC: Treasure Chest -- Involved In Quest: The Goblin Tailor -- @zone 198 ----------------------------------- package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/quests"); require("scripts/globals/settings"); require("scripts/globals/treasure"); require("scripts/zones/Maze_of_Shakhrami/TextIDs"); local TreasureType = "Chest"; local TreasureLvL = 43; local TreasureMinLvL = 33; function onTrade(player,npc,trade) --trade:hasItemQty(1032,1); -- Treasure Key --trade:hasItemQty(1115,1); -- Skeleton Key --trade:hasItemQty(1023,1); -- Living Key --trade:hasItemQty(1022,1); -- Thief's Tools local questItemNeeded = 0; -- Player traded a key. if ((trade:hasItemQty(1032,1) or trade:hasItemQty(1115,1) or trade:hasItemQty(1023,1) or trade:hasItemQty(1022,1)) and trade:getItemCount() == 1) then local zone = player:getZoneID(); -- IMPORTANT ITEM: The Goblin Tailor Quest ----------- if (player:getQuestStatus(JEUNO,THE_GOBLIN_TAILOR) >= QUEST_ACCEPTED and VanadielRSELocation() == 2 and VanadielRSERace() == player:getRace() and player:hasKeyItem(MAGICAL_PATTERN) == false) then questItemNeeded = 1; end -------------------------------------- local pack = openChance(player,npc,trade,TreasureType,TreasureLvL,TreasureMinLvL,questItemNeeded); local success = 0; if (pack[2] ~= nil) then player:messageSpecial(pack[2]); success = pack[1]; else success = pack[1]; end if (success ~= -2) then player:tradeComplete(); if (math.random() <= success) then local respawn = false; -- Succeded to open the coffer player:messageSpecial(CHEST_UNLOCKED); if (questItemNeeded == 1) then respawn = true; player:addKeyItem(MAGICAL_PATTERN); player:messageSpecial(KEYITEM_OBTAINED,MAGICAL_PATTERN); else player:setVar("["..zone.."]".."Treasure_"..TreasureType,os.time() + math.random(CHEST_MIN_ILLUSION_TIME,CHEST_MAX_ILLUSION_TIME)); local loot = chestLoot(zone,npc); -- print("loot array: "); -- debug -- print("[1]", loot[1]); -- debug -- print("[2]", loot[2]); -- debug if (loot[1]=="gil") then player:addGil(loot[2]*GIL_RATE); player:messageSpecial(GIL_OBTAINED,loot[2]*GIL_RATE); else -- Item player:addItem(loot[2]); player:messageSpecial(ITEM_OBTAINED,loot[2]); end end UpdateTreasureSpawnPoint(npc:getID(),respawn); end end end end; function onTrigger(player,npc) player:messageSpecial(CHEST_LOCKED,1032); end; function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end; function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end;
gpl-3.0
otservme/global1051
data/talkactions/scripts/ban.lua
4
1158
local banDays = 7 function onSay(cid, words, param) local player = Player(cid) if not player:getGroup():getAccess() then return true end local name = param local reason = '' local separatorPos = param:find(',') if separatorPos ~= nil then name = param:sub(0, separatorPos - 1) reason = string.trim(param:sub(separatorPos + 1)) end local accountId = getAccountNumberByPlayerName(name) if accountId == 0 then return false end local resultId = db.storeQuery("SELECT 1 FROM `account_bans` WHERE `account_id` = " .. accountId) if resultId ~= false then result.free(resultId) return false end local timeNow = os.time() db:query("INSERT INTO `account_bans` (`account_id`, `reason`, `banned_at`, `expires_at`, `banned_by`) VALUES (" .. accountId .. ", " .. db.escapeString(reason) .. ", " .. timeNow .. ", " .. timeNow + (banDays * 86400) .. ", " .. player:getGuid() .. ")") local target = Player(param) if target ~= nil then player:sendTextMessage(MESSAGE_EVENT_ADVANCE, target:getName() .. " has been banned.") target:remove() else player:sendTextMessage(MESSAGE_EVENT_ADVANCE, param .. " has been banned.") end end
gpl-2.0
Ninjistix/darkstar
scripts/globals/mobskills/amon_drive.lua
33
1211
--------------------------------------------- -- Amon Drive -- -- Description: Performs an area of effect weaponskill. Additional effect: Paralysis + Petrification + Poison -- Type: Physical -- 2-3 Shadows? -- Range: Melee range radial -- Special weaponskill unique to Ark Angel TT. Deals ~100-400 damage. --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------- function onMobSkillCheck(target,mob,skill) return 0; end; function onMobWeaponSkill(target, mob, skill) local numhits = 1; local accmod = 1; local dmgmod = 2.5; local info = MobPhysicalMove(mob,target,skill,numhits,accmod,dmgmod,TP_NO_EFFECT); local dmg = MobFinalAdjustments(info.dmg,mob,skill,target,MOBSKILL_PHYSICAL,MOBPARAM_SLASH,MOBPARAM_3_SHADOW); MobStatusEffectMove(mob, target, EFFECT_PARALYSIS, 25, 0, 60); MobStatusEffectMove(mob, target, EFFECT_PETRIFICATION, 1, 0, math.random(8, 15) + mob:getMainLvl()/3); MobStatusEffectMove(mob, target, EFFECT_POISON, math.ceil(mob:getMainLvl() / 5), 3, 60); target:delHP(dmg); return dmg; end;
gpl-3.0
Ninjistix/darkstar
scripts/zones/Horlais_Peak/bcnms/double_dragonian.lua
5
1805
----------------------------------- -- Area: Horlias peak -- Name: double_dragonian -- KSNM30 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scripts/zones/Horlais_Peak/TextIDs"); ----------------------------------- -- EXAMPLE SCRIPT -- -- What should go here: -- giving key items, playing ENDING cutscenes -- -- What should NOT go here: -- Handling of "battlefield" status, spawning of monsters, -- putting loot into treasure pool, -- enforcing ANY rules (SJ/number of people/etc), moving -- chars around, playing entrance CSes (entrance CSes go in bcnm.lua) -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) end; -- Physically entering the BCNM via bcnmEnter(bcnmid) function onBcnmEnter(player,instance) end; -- Leaving the BCNM by every mean possible, given by the LeaveCode -- 1=Select Exit on circle -- 2=Winning the BC -- 3=Disconnected or warped out -- 4=Losing the BC -- via bcnmLeave(1) or bcnmLeave(2). LeaveCodes 3 and 4 are called -- from the core when a player disconnects or the time limit is up, etc function onBcnmLeave(player,instance,leavecode) -- print("leave code "..leavecode); if (leavecode == 2) then -- play end CS. Need time and battle id for record keeping + storage player:startEvent(32001,1,1,1,instance:getTimeInside(),1,1,0); elseif (leavecode == 4) then player:startEvent(32002); end end; function onEventUpdate(player,csid,option) -- print("bc update csid "..csid.." and option "..option); end; function onEventFinish(player,csid,option) -- print("bc finish csid "..csid.." and option "..option); end;
gpl-3.0
premake/premake-4.x
tests/actions/vstudio/cs2005/test_files.lua
57
1695
-- -- tests/actions/vstudio/cs2005/test_files.lua -- Validate generation of <Files/> block in Visual Studio 2005 .csproj -- Copyright (c) 2009-2012 Jason Perkins and the Premake project -- T.vstudio_cs2005_files = { } local suite = T.vstudio_cs2005_files local cs2005 = premake.vstudio.cs2005 -- -- Setup -- local sln, prj function suite.setup() sln = test.createsolution() end local function prepare() premake.bake.buildconfigs() prj = premake.solution.getproject(sln, 1) sln.vstudio_configs = premake.vstudio.buildconfigs(sln) cs2005.files(prj) end -- -- Test grouping and nesting -- function suite.SimpleSourceFile() files { "Hello.cs" } prepare() test.capture [[ <Compile Include="Hello.cs" /> ]] end function suite.NestedSourceFile() files { "Src/Hello.cs" } prepare() test.capture [[ <Compile Include="Src\Hello.cs" /> ]] end -- -- The relative path to the file is correct for files that live outside -- the project's folder. -- function suite.filesUseRelativePath_onOutOfTreePath() files { "../Src/Hello.cs" } prepare() test.capture [[ <Compile Include="..\Src\Hello.cs" /> ]] end -- -- Test file dependencies -- function suite.SimpleResourceDependency() files { "Resources.resx", "Resources.Designer.cs" } prepare() test.capture [[ <Compile Include="Resources.Designer.cs"> <AutoGen>True</AutoGen> <DependentUpon>Resources.resx</DependentUpon> </Compile> <EmbeddedResource Include="Resources.resx"> <SubType>Designer</SubType> <Generator>ResXFileCodeGenerator</Generator> <LastGenOutput>Resources.Designer.cs</LastGenOutput> </EmbeddedResource> ]] end
bsd-3-clause
ahmetabdi/JC2-MP-Racing
server/sRace.lua
2
9100
function Race:__init(name , raceManager , world , course) if settings.debugLevel >= 2 then print("Race:__init") end self.name = name self.raceManager = raceManager self.world = world self.world:SetTime(math.random(5, 20)) self.world:SetWeatherSeverity(math.pow(math.random() , 2.5) * 2) -- A race should never change its course. self.course = course self.course.race = self -- If a race is public, it can be entered without specifying the name. self.isPublic = false self.vehicleCollisions = true self.playerIdToRacer = {} self.numPlayers = 0 self.maxPlayers = course:GetMaxPlayers() self.state = StateNone() -- Set along with SetState. This allows you to see what the current state is. self.stateName = "StateNone" self.finishedRacers = {} -- Key: player Id -- Value: true self.playersOutOfVehicle = {} self.prizeMoneyCurrent = course.prizeMoney self.eventSubs = {} table.insert(self.eventSubs , Events:Subscribe("PreTick" , self , self.PreTick)) table.insert(self.eventSubs , Events:Subscribe("PlayerQuit" , self , self.PlayerQuit)) table.insert(self.eventSubs , Events:Subscribe("ModuleUnload" , self , self.ModuleUnload)) end function Race:SetState(state , ...) if settings.debugLevel >= 2 then print("Changing state to "..state) end -- Call End function on previous state. if self.state.End then self.state:End() end -- Something like, StateRacing(self , someArg1 , someArg2) self.state = _G[state](self , ...) self.stateName = state for id , racer in pairs(self.playerIdToRacer) do racer:RaceStateChange(self.stateName) end end function Race:HasPlayer(player) return self.playerIdToRacer[Racing.PlayerId(player)] ~= nil end -- Awesomesauce iterator. Usage: for player in race:GetPlayers() do blah end -- function Race:GetRacers() -- local racerIteraterCounter = self:GetPlayerCount() + 1 -- local function func() -- if (racerIteraterCounter <= 0) then -- return nil -- else -- racerIteraterCounter = racerIteraterCounter - 1 -- return self.players[racerIteraterCounter] -- end -- end -- return func -- end function Race:GetRacerCount() return table.count(self.playerIdToRacer) end function Race:AddPlayer(player , message) -- If the racer already exists, return. if self:HasPlayer(player) then warn("Attempting to add player twice: " , player) return end -- If player is already in some other race, return. if self.raceManager:HasPlayer(player) then self:MessagePlayer(player , "You are already in a race!") return end local args = {} args.player = player args.name = "Racing" Events:FireRegisteredEvent("JoinGamemode" , args) player = Racing.Player(player) local playerId = Racing.PlayerId(player) self.raceManager.playerIds[playerId] = true local racer = Racer(self , player) self.playerIdToRacer[playerId] = racer self.numPlayers = self.numPlayers + 1 if self.state.RacerJoin then self.state.RacerJoin(racer) end if message then self:MessagePlayer(player , message) end end function Race:RemovePlayer(player , message) message = message or "You have been removed from the race." -- If the racer doesn't exist, return. if self:HasPlayer(player) == false then warn("Attempting to remove player that doesn't exist: " , player) return end player = Racing.Player(player) local playerId = Racing.PlayerId(player) -- Reenable collisions. -- Why is this in Race and not Racer:Remove if self.vehicleCollisions == false then player:EnableCollision(CollisionGroup.Vehicle) end player:EnableCollision(CollisionGroup.Player) -- If state is StateRacing, remove from state.racePosTracker. if self.stateName == "StateRacing" then local removed = false for cp , map in pairs(self.state.racePosTracker) do for id , bool in pairs(self.state.racePosTracker[cp]) do if id == playerId then self.state.racePosTracker[cp][id] = nil removed = true break end end if removed then break end end if not removed then -- print("Error: " , player:GetName() , " could not be removed from the race pos tracker!") end end self.raceManager.playerIds[playerId] = nil local racer = self.playerIdToRacer[playerId] -- If they haven't finished yet, and the race is going on, add race result to database; their -- position is -1 (DNF). if not settings.WTF then if racer.hasFinished == false and self.stateName ~= "StateAddPlayers" then Stats.AddRaceResult(racer , -1 , self.course) end end racer:Remove() self.playerIdToRacer[playerId] = nil self.numPlayers = self.numPlayers - 1 if message then self:MessagePlayer(player , message) end -- If we're in the race and all players leave, end the race. if self.numPlayers == 0 and self.stateName ~= "StateAddPlayers" then -- self:MessageServer("No players left; ending race.") self:CleanUp() end end -- Attempts to add player to race. function Race:JoinPlayer(player) -- State is not StateAddPlayers. if self.stateName ~= "StateAddPlayers" then return false end -- Player's world is not the default. if player:GetWorld() ~= DefaultWorld then self:MessagePlayer( player , "You must exit other gamemodes before you can join." ) return false end -- Race is full. if self.numPlayers >= self.maxPlayers then self:MessageServer( "Error: race is full but ".. player:GetName().. " is trying to join!" ) return false end -- If there is DLC in the course, make sure they have it. -- TODO: This only tells them about one vehicle they're missing, when there could be more. for modelId , alwaysTrue in pairs(self.course.dlcVehicles) do if player:HasVehicleDLC(modelId) == false then if settings.tempDLC then self:MessageServer( "Warning: ".. player:GetName().. " is trying to join ".. self.course.name.. ", but doesn't have DLC: ".. VehicleList[modelId].name ) end self:MessagePlayer( player , "You cannot join because you are missing DLC: ".. VehicleList[modelId].name ) return false end end -- Success. self:AddPlayer( player , "You have been added to the next race. Use "..settings.command.." to drop out." ) -- Race is now full after adding a player. if self.numPlayers == self.maxPlayers then self:MessageServer( "Max players reached; starting race with ".. self.numPlayers.. " players." ) self:SetState("StateStartingGrid") elseif self.numPlayers == Server:GetPlayerCount() then self:MessageServer( "All players joined; starting race with ".. self.numPlayers.. " players." ) self:SetState("StateStartingGrid") end return true end function Race:CleanUp() -- Remove self from the RaceManager. self.raceManager:RemoveRace(self) self:SetState("StateNone") -- Clean up Racers. for id , racer in pairs(self.playerIdToRacer) do self:RemovePlayer(racer.player) end -- Destroy the world, which removes anything in it. self.world:Remove() -- Unsubscribe from events. for n , event in ipairs(self.eventSubs) do Events:Unsubscribe(event) end self.eventSubs = {} end function Race:RacerFinish(racer) table.insert(self.finishedRacers , racer) -- Award prize money. racer.player:SetMoney(racer.player:GetMoney() + self.prizeMoneyCurrent) self:MessagePlayer( racer.player , string.format("%s%i%s" , "You won $" , self.prizeMoneyCurrent , "!") ) self.prizeMoneyCurrent = self.prizeMoneyCurrent * settings.prizeMoneyMultiplier -- Add race result to database. if not settings.WTF then Stats.AddRaceResult(racer , #self.finishedRacers , self.course) end -- Messages to immediately print for all finishers. if #self.finishedRacers == 1 then self:MessageServer(racer.name.." wins the race!") self:NetworkSendRace( "ShowLargeMessage" , {racer.name.." wins the race!" , 4} ) else self:MessageRace(racer.name.." finishes "..Utility.NumberToPlaceString(#self.finishedRacers)) end end function Race:MessageServer(message) local output = "[Racing-"..self.name.."] "..message Chat:Broadcast(output , settings.textColorGlobal) print(output) end function Race:MessageRace(message) local output = "[Racing-"..self.name.."] "..message for id , racer in pairs(self.playerIdToRacer) do racer.player:SendChatMessage( output , settings.textColorLocal ) end print(output) end function Race:MessagePlayer(player , message) player:SendChatMessage("[Racing-"..self.name.."] "..message , settings.textColorLocal) end function Race:NetworkSendRace(name , ...) for playerId , racer in pairs(self.playerIdToRacer) do if settings.debugLevel >= 3 then print("NetworkSendRace; player = "..racer.name..", network event = "..name) end Network:Send(racer.player , name , ...) end end -- -- Events -- function Race:PreTick() if self.state.Run then self.state:Run() end end function Race:PlayerQuit(args) if self.playerIdToRacer[args.player:GetId()] then self:RemovePlayer(args.player) end end function Race:ModuleUnload() self:CleanUp() end
mit
Ninjistix/darkstar
scripts/globals/items/slice_of_anchovy_pizza_+1.lua
3
1195
----------------------------------------- -- ID: 6218 -- Item: slice of anchovy pizza +1 -- Food Effect: 60 minutes, all Races ----------------------------------------- -- HP +35 -- DEX +2 -- Accuracy +9% (Cap 16) -- Attack +10% (Cap 21) ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- function onItemCheck(target) local result = 0; if (target:hasStatusEffect(EFFECT_FOOD) == true or target:hasStatusEffect(EFFECT_FIELD_SUPPORT_FOOD) == true) then result = 246; end return result; end; function onItemUse(target) target:addStatusEffect(EFFECT_FOOD,0,0,3600,6218); end; function onEffectGain(target,effect) target:addMod(MOD_HP, 35); target:addMod(MOD_DEX, 2); target:addMod(MOD_FOOD_ACCP, 9); target:addMod(MOD_FOOD_ACC_CAP, 16); target:addMod(MOD_FOOD_ATTP, 10); target:addMod(MOD_FOOD_ATT_CAP, 21); end; function onEffectLose(target, effect) target:delMod(MOD_HP, 35); target:delMod(MOD_DEX, 2); target:delMod(MOD_FOOD_ACCP, 9); target:delMod(MOD_FOOD_ACC_CAP, 16); target:delMod(MOD_FOOD_ATTP, 10); target:delMod(MOD_FOOD_ATT_CAP, 21); end;
gpl-3.0
area31/telegram-bot
plugins/zuera.lua
1
1655
local zueras_file = './data/zueras.lua' local zueras_table function read_zueras_file() local f = io.open(zueras_file, "r+") if f == nil then print ('Created a new zueras file on '..zueras_file) serialize_to_file({}, zueras_file) else print ('Zuera loaded: '..zueras_file) f:close() end return loadfile (zueras_file)() end function save_zuera(msg) local to_id = tostring(msg.to.id) if msg.text:sub(11):isempty() then return "Usage: !addzuera zuera" end if zueras_table == nil then zueras_table = {} end if zueras_table[to_id] == nil then print ('New zuera key to_id: '..to_id) zueras_table[to_id] = {} end local zueras = zueras_table[to_id] zueras[#zueras+1] = msg.text:sub(11) serialize_to_file(zueras_table, zueras_file) return "Zuera adicionada! Seu zuero!!!" end function get_zuera(msg) local to_id = tostring(msg.to.id) local zueras_phrases zueras_table = read_zueras_file() zueras_phrases = zueras_table[to_id] return zueras_phrases[math.random(1,#zueras_phrases)] end function run(msg, matches) if string.match(msg.text, "!zuera$") then return get_zuera(msg) elseif string.match(msg.text, "!addzuera (.+)$") then zueras_table = read_zueras_file() return save_zuera(msg) end end return { description = "Save zuera", description = "Zuera plugin, you can create and retrieve random zueraes", usage = { "!addzuera [URL]", "!zuera", }, patterns = { "^!addzuera (.+)$", "^!zuera$", }, run = run }
gpl-2.0
kbullaughey/lstm-play
toys/lstm/model-1_layer-variable.lua
1
9194
#!/usr/bin/env th toy = require '../toy/toy' check = require '../scripts/check_gradients' require 'lstm' -- Allow for command-line control over the seed and number of examples. cmd = torch.CmdLine() cmd:text() cmd:text('Train single-layer LSTM model using toy data.') cmd:text() cmd:text('Options') cmd:option('-seed',os.time(),'initial random seed (defaults to current time)') cmd:option('-hidden',16,'hidden state size') cmd:option('-batch',16,'batch size') cmd:option('-rate',0.05,'learn rate') cmd:option('-iter',5,'max number of iterations of SGD') cmd:option('-trained','trained_model-1_layer-varible.t7','file name for saved trained model') cmd:option('-grid','grid_predictions-1_layer-variable.csv','file name for saved grid predictions') cmd:option('-data','../toy/variable_width_2-4-200k.t7','simulated data tensor file') cmd:option('-mode','train','whether to train or check gradients [train (default) | check]') cmd:text() -- parse input params params = cmd:parse(arg) print("mode: " .. params.mode) -- Make it reproducible torch.manualSeed(params.seed) -- Read in the toy model data. This is a Tensor with five columns, the first -- four are inputs and the last is the targets. d = torch.load(params.data) N = d:size(1) maxLength = d:size(2) - 2 -- Separate data into inputs (x) and targets (y) x = d:narrow(2, 1, maxLength):clone() lengths = d:narrow(2, maxLength+1, 1):clone():view(-1) y = d:narrow(2, maxLength+2, 1):clone():view(-1,1) -- Decide on the train/test split test_frac = 0.3 test_n = torch.floor(N * test_frac) train_n = N - test_n -- Extract out the training data x_train = x:narrow(1, 1, train_n) y_train = y:narrow(1, 1, train_n) lengths_train = lengths:narrow(1, 1, train_n) -- Extract out the test data x_test = x:narrow(1, train_n+1, test_n) y_test = y:narrow(1, train_n+1, test_n) lengths_test = lengths:narrow(1, train_n+1, test_n) -- This method returns a vector containing L ones with the rest zeros. local mapRow = function(L) v = torch.zeros(4) v:narrow(1,1,L):fill(1) return v:view(1,-1) end -- We use mapRow to make a mask matrix so we can zero out inputs that -- are not really part of each example. mask_train = nn.JoinTable(1):forward(tablex.map(mapRow, lengths_train:totable())) mask_test = nn.JoinTable(1):forward(tablex.map(mapRow, lengths_test:totable())) -- Normalize the training inputs numCells = mask_train:sum() norm_mean = x_train:sum() / numCells norm_std = math.sqrt((x_train - norm_mean):cmul(mask_train):pow(2):sum() / numCells) x_train_n = (x_train - norm_mean) / norm_std -- Normalize the test inputs according to the training data normalization -- parameters. x_test_n = (x_test - norm_mean) / norm_std x_train_n:cmul(mask_train) x_test_n:cmul(mask_test) function makeDataset(x, y, lengths, hiddenSize, batchSize, maxLength) dataset={batchSize=batchSize}; local n = torch.floor(x:size(1) / batchSize) -- The nn SGD trainer will need a data structure whereby examples can be accessed -- via the index operator, [], and which has a size() method. function dataset:size() return n end for i=1,dataset:size() do local start = (i-1)*batchSize + 1 local inputs = torch.reshape(x:narrow(1,start,batchSize), batchSize, maxLength, 1) local targets = torch.reshape(y:narrow(1,start,batchSize), batchSize, 1, 1) -- Encode lengths using a one-hot per row strategy local batchLengths = torch.zeros(batchSize,maxLength) for b=1,batchSize do batchLengths[b][lengths:narrow(1,start,batchSize)[b]] = 1 end -- Add a zero matrix to every example for the initial h state dataset[i] = {{inputs,batchLengths}, targets} end return dataset end -- Train the model, based on nn.StochasticGradient function lstmTrainer(module, criterion) local trainer = {} trainer.learningRate = 0.01 trainer.learningRateDecay = 0 trainer.maxIteration = 25 trainer.module = module trainer.criterion = criterion trainer.verbose = true function trainer:train(dataset) local iteration = 1 local currentLearningRate = self.learningRate local module = self.module local criterion = self.criterion local shuffledIndices = torch.randperm(dataset:size(), 'torch.LongTensor') local par = module.par local gradPar = module.gradPar par:uniform(-0.02, 0.02) while true do local currentError = 0 local batches = 0 for t = 1,dataset:size() do local example = dataset[shuffledIndices[t]] local input = example[1] local target = example[2] gradPar:zero() -- Perform forward propagation on both the lstm to compute the predictions -- and on the criterion to compute the error. module:forward(input) criterion:forward(module.output, target) -- Perform back propagation criterion:backward(module.output, target) module:backward(input, criterion.gradInput) currentError = currentError + criterion.output par:add(-self.learningRate, gradPar) batches = batches + 1 if t % 1000 == 0 then print ("current partial error = " .. currentError / batches) end end currentError = currentError / dataset:size() if self.hookIteration then self.hookIteration(self, iteration, currentError) end iteration = iteration + 1 currentLearningRate = self.learningRate / (1 + iteration * self.learningRateDecay) if self.maxIteration > 0 and iteration > self.maxIteration then print("# you have reached the maximum number of iterations") print("# training error = " .. currentError) break end end end return trainer end function averageError(d) local err = 0 for i=1,d:size() do err = err + criterion:forward(net:forward(d[i][1]), d[i][2]) end return err / d:size() end trainingDataset = makeDataset(x_train_n, y_train, lengths_train, params.hidden, params.batch, maxLength) testingDataset = makeDataset(x_test_n, y_test, lengths_test, params.hidden, params.batch, maxLength) chainIn = nn.Identity()() chainMod = lstm.MemoryChain(1, {params.hidden}, maxLength) chainOut = chainMod(chainIn) predicted = nn.Linear(params.hidden,1)(chainOut) net = nn.gModule({chainIn},{predicted}) --net.par, net.gradPar = net:getParameters() -- Need to reenable sharing after getParameters(), which broke my sharing. net.par, net.gradPar = net:getParameters() chainMod:setupSharing() -- Use least-squares loss function and SGD. criterion = nn.MSECriterion() if params.mode == 'train' then trainer = lstmTrainer(net, criterion) trainer.maxIteration = params.iter trainer.learningRate = params.rate function trainer:hookIteration(iter, err) print("[" .. iter .. "] current error = " .. err) if iter % 2 == 0 then print("# test error = " .. averageError(testingDataset)) end end print("model parameter count: " .. net.par:size(1)) print("initial test err = " .. averageError(testingDataset)) trainer:train(trainingDataset) -- Save the trained model torch.save(params.trained, {net=net}) -- Output predictions along a grid so we can see how well it learned the function. We'll -- generate inputs without noise so we can see how well it does in the absence of noise, -- which will give us a sense of whether it's learned the true underlying function. grid_size = math.ceil(200/params.batch)*params.batch target_grid = torch.linspace(0, toy.max_target, grid_size):view(grid_size,1) inputs_grid = toy.target_to_inputs(target_grid, 0, maxLength) inputs_grid_n = (inputs_grid - norm_mean) / norm_std -- Use length 3 for all sequences inputs_grid_n:select(2, maxLength):fill(0) inputs_grid_lengths = torch.Tensor(grid_size):fill(3) inputs_grid_n = torch.reshape(inputs_grid_n, grid_size, maxLength, 1) predictionsDataset = makeDataset(inputs_grid_n, torch.zeros(grid_size,1), inputs_grid_lengths, params.hidden, params.batch, maxLength) predictions = {} for i=1,predictionsDataset:size() do predictions[i] = net:forward(predictionsDataset[i][1]):clone() end allPredictions = nn.JoinTable(1):forward(predictions) -- Use penlight to write the data pldata = require 'pl.data' pred_d = pldata.new(allPredictions:totable()) pred_d:write(params.grid) elseif params.mode == 'check' then -- Check gradients for the first training example example = trainingDataset[1] exampleLengths = example[1][2]:nonzero():select(2,2) -- This method returns a vector containing L ones with the rest zeros. local mapRow = function(L) v = torch.zeros(4) v:narrow(1,1,L):fill(1) return v:view(1,-1) end -- We use mapRow to make a mask matrix so we can zero out inputs that -- are not really part of each example. mask = nn.JoinTable(1):forward(tablex.map(mapRow, exampleLengths:totable())) local err = check.checkInputsGrad(net, criterion, example, example[1][1], mask) print("error in estimate of inputs Jacobian: " .. err) err = check.checkParametersGrad(net, criterion, example, net.par, net.gradPar) print("error in estimate of parameters Jacobian: " .. err) else error("invalid mode " .. params.mode) end -- END
mit
Ninjistix/darkstar
scripts/zones/Northern_San_dOria/npcs/Yevgeny_IM.lua
5
2536
----------------------------------- -- Area: Northern Sandoria -- NPC: Yevgeny, I.M. -- !pos 45 -1 0 231 -- X Grant Signet -- X Recharge Emperor Band, Empress Band, or Chariot Band -- X Accepts traded Crystals to fill up the Rank bar to open new Missions. -- X Sells items in exchange for Conquest Points -- X Start Supply Run Missions and offers a list of already-delivered supplies. -- Start an Expeditionary Force by giving an E.F. region insignia to you. ------------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ------------------------------------- require("scripts/globals/conquest"); require("scripts/globals/common"); require("scripts/zones/Northern_San_dOria/TextIDs"); local guardnation = NATION_BASTOK; -- SANDORIA, BASTOK, WINDURST, JEUNO local guardtype = 2; -- 1: city, 2: foreign, 3: outpost, 4: border local size = #BastInv; local inventory = BastInv; function onTrade(player,npc,trade) tradeConquestGuard(player,npc,trade,guardnation,guardtype); end; function onTrigger(player,npc) if (player:getNation() == guardnation and player:getVar("supplyQuest_started") > 0 and supplyRunFresh(player) == 0) then player:showText(npc,CONQUEST + 40); -- "We will dispose of those unusable supplies." local region = player:getVar("supplyQuest_region"); player:delKeyItem(getSupplyKey(region)); player:messageSpecial(KEYITEM_OBTAINED + 1,getSupplyKey(region)); player:setVar("supplyQuest_started",0); player:setVar("supplyQuest_region",0); player:setVar("supplyQuest_fresh",0); else local Menu1 = getArg1(guardnation,player); local Menu2 = getExForceAvailable(guardnation,player); local Menu3 = conquestRanking(); local Menu4 = getSupplyAvailable(guardnation,player); local Menu5 = player:getNationTeleport(guardnation); local Menu6 = getArg6(player); local Menu7 = player:getCP(); local Menu8 = getRewardExForce(guardnation,player); player:startEvent(32761,Menu1,Menu2,Menu3,Menu4,Menu5,Menu6,Menu7,Menu8); end end; function onEventUpdate(player,csid,option) -- printf("onUpdateCSID: %u",csid); -- printf("onUpdateOPTION: %u",option); updateConquestGuard(player,csid,option,size,inventory); end; function onEventFinish(player,csid,option) -- printf("onFinishCSID: %u",csid); -- printf("onFinishOPTION: %u",option); finishConquestGuard(player,csid,option,size,inventory,guardnation); end;
gpl-3.0
istarIQ/Source
help2.lua
1
1462
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY SAJJAD NOORI ▀▄ ▄▀ ▀▄ ▄▀ BY SAJAD NOORI (@SAJJADNOORI) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY SAJJAD NOORI ▀▄ ▄▀ ▀▄ ▄▀ help2 : مساعدة2 ▀▄ ▄▀ ▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀ --]] do function run(msg, matches) return [[ ✔️All orders to operate without setting / او ! 🔸➖🔹➖🔸➖🔹➖🔸 ❣ voice : Keyword pronunciation voice [English only] ❣ photo : Keyword converted Photos photo [English only] ❣ support : Call to be sent to a support group bots Hello Support ❣ map : get maps map iraq ❣ insta : username To view insta Information now ❣ sticker : Send a photo Respond to the word and make it sticker ❣ photo : Send poster Respond to them and make them an image ا🔸➖🔹➖🔸➖🔹➖🔸 🃏🔺For inquiries:- Contact Developer :- ☢⚜ ✋🏿👇🏿 #Dev : @dev_samih ]] end return { description = "Help list", usage = "Help list", patterns = { "(help2)" }, run = run } end
gpl-2.0
carnalis/Urho3D
Source/ThirdParty/toluapp/src/bin/lua/namespace.lua
49
1180
-- tolua: namespace class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 2003 -- $Id: $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to provide maintenance, support, updates, -- enhancements, or modifications. -- Namespace class -- Represents a namesapce definition. -- Stores the following fields: -- name = class name -- {i} = list of members classNamespace = { classtype = 'namespace', name = '', } classNamespace.__index = classNamespace setmetatable(classNamespace,classModule) -- Print method function classNamespace:print (ident,close) print(ident.."Namespace{") print(ident.." name = '"..self.name.."',") local i=1 while self[i] do self[i]:print(ident.." ",",") i = i+1 end print(ident.."}"..close) end -- Internal constructor function _Namespace (t) setmetatable(t,classNamespace) append(t) return t end -- Constructor -- Expects the name and the body of the namespace. function Namespace (n,b) local c = _Namespace(_Container{name=n}) push(c) c:parse(strsub(b,2,strlen(b)-1)) -- eliminate braces pop() end
mit
Ninjistix/darkstar
scripts/globals/items/bowl_of_shimmy_soup.lua
3
1112
----------------------------------------- -- ID: 5931 -- Item: Bowl of Shimmy Soup -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- MP 32 -- Mind 5 -- HP Recovered While Healing 5 -- Enmity -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- function onItemCheck(target) local result = 0; if (target:hasStatusEffect(EFFECT_FOOD) == true or target:hasStatusEffect(EFFECT_FIELD_SUPPORT_FOOD) == true) then result = 246; end return result; end; function onItemUse(target) target:addStatusEffect(EFFECT_FOOD,0,0,14400,5931); end; ----------------------------------------- -- onEffectGain Action ----------------------------------------- function onEffectGain(target,effect) target:addMod(MOD_MP, 32); target:addMod(MOD_MND, 5); target:addMod(MOD_HPHEAL, 5); target:addMod(MOD_ENMITY, -5); end; function onEffectLose(target, effect) target:delMod(MOD_MP, 32); target:delMod(MOD_MND, 5); target:delMod(MOD_HPHEAL, 5); target:delMod(MOD_ENMITY, -5); end;
gpl-3.0
THEGENRRAL/GENERAL
plugins/replay.lua
2
9730
-- made by { @lI_XxX_Il } do ws = {} rs = {} -- some examples of how to use this :3 ws[1] = "هلو" --msg rs[1] = " هــﮧ✥ـٍہٰٓـ๋͜لاـوات🦀❤️ " --replaY ws[2] = "تشاكي" rs[2] = " نـﮧ✥ـٍعٰٓـ๋͜م تفضل🕷❤️ " ws[3] = "هلا" rs[3] = " هــﮧ✥ـٍہٰٓـ๋͜لاـ بيك🦀❤️ " ws[4] = "شلونك" rs[4] = " تٰمـہام ⚘║␙ 🎅🏿🐾 وانٓــت ࿐❥🐚💛 " ws[5] = "شلونكم" --msg rs[5] = " آلـْ ح ـمـِْدِّ اللّـٰھ وانٓــتــٰـہ ࿐❥ 🌎🌸 " --reply ws[6] = "تمام" rs[6] = " دۈۋم يّےـآٱآرب ↜┇✥ 💁🏿‍♂️👅 " ws[7] = "دوم" rs[7] = " פـبـ⚘ـيبي 💓💧 " ws[8] = "تخليني" rs[8] = " ؏ راسي🌝🦀 " ws[9] = "هلاو" rs[9] = " هــﮧ✥ـٍہٰٓـ๋͜لاـوات حـٰ« ࿐❥ـبي 🐹💧 " ws[10] = "🌝" rs[10] = " منﮩﮩﮩﮩور🌝🦀 " ws[11] = "انجب" rs[11] = " صﮩﮩار ستادي🐸🍃 " ws[12] = "احبك" rs[12] = " פـبـ⚘ـيبي 💓💧 وني هم😻🦀 " ws[13] = "اكرهك" rs[13] = " ديله شلون اطيق خلقتك اني😾🖖🏿🕷 " ws[14] = "تحبني" rs[14] = " مادري افڱﮩﮩﮩر🐸💔 " ws[15] = "محمد" rs[15] = " ڤڍ ﯿتﮩه😻🦀🍃 " ws[16] = "حسين" rs[16] = " ﯿمه ﯿمه الثكيل ڤڍ ﯿتﮩه😻🦀🍃 " ws[17] = "مودي" rs[17] = " פـبـ⚘ـيبي 💓💧 هاذ ورده الكروب🙇🏻❤️ " ws[18] = "كسمك" rs[18] = " مال امك لوردي شايفه🌝👄 " ws[19] = "سيف" rs[19] = " #تجراسك مشغول هسه🌝🦀❤️ " ws[20] = "🌚" rs[20] = " ڤڍ ﯿت ڝخٲﻣك😻🕷👄 " ws[21] = "😐" rs[21] = " ﺸبﯿك صۜافن ؏ خالتك😹🙇🏻❤️ " ws[22] = "🙄" rs[22] = " ؏ينڱ نژله اﺨاف عليك/ﭻ 🙇🏻💚 " ws[23] = "😒" rs[23] = "شــبيگ •┇✞🐤💦 حـٰ« ࿐❥ـبي 🐹💧 " ws[24] = "اريد بوت" rs[24] = " تعال هنا🌝👄 @KNSLTHM " ws[25] = "وين المدير" rs[25] = " ڸﯿﺸ شتريد🙄💔🍃 " ws[26] = "اه" rs[26] = "راح افوته واريحك 🐺🍆" ws[27] = "باي" rs[27] = "وين مولي خلينه بتونسين 🔇🚷" ws[28] = "كفو" rs[28] = "اله كفو يبو لضلوع اه 😻😹" ws[29] = "فرخ" rs[29] = "وينه خلي احصره ؟🙊😹" ws[30] = "شباب" rs[30] = "نعم حبي!!🙇🏿💜" ws[31] = "حسون" rs[31] = "فديته لصاك اخ لو بس يخليني😔😹😹💜" ws[32] = "ام حسين" rs[32] = "هاي حبيبت سيف ليندك بيه اشكه؟" ws[33] = "فديت" rs[33] = "فداك كوني وثنين عيوني 🌝💜" ws[34] = "خاص" rs[34] = "اثكل حبي لضل ساحف؟😔😹" ws[35] = "تعال خاص" rs[35] = "بله حشوفه صوره يابنيه كلههن زي لخرا🌝😹" ws[36] = "تعالي خاص" rs[36] = "اهوو ضل ضل ساحف كبر طمك😔😹❤️" ws[37] = "زاحف" rs[37] = "زاحف ع اختك؟ كضيت عمرك جرجف🌝😹😹🌝كضيت عمرك زحف تره" ws[38] = "دي" rs[38] = "خليني احہۣۗبہۣۜۧ😻ہۣۛۖہۣۖۗڱֆ ̮⇣ 🌝💔" ws[39] = "😳" rs[39] = "ها بس لا شفت خالتك الشكره 😳😹🕷" ws[40] = "😕" rs[40] = "تعال اشكيلي اهمومك ليش ضايج 🙁😭💔" ws[41] = "🚶🏿💔" rs[41] = "تعال اشكيلي اهمومك ليش ضايج 🙁😭💔" ws[42] = "غني" rs[42] = "اي مو كدامك مغني قديم 😒🎋 هوه ﴿↜ انـِۨـۛـِۨـۛـِۨيـُِـٌِہۧۥۛ ֆᵛ͢ᵎᵖ ⌯﴾❥ ربي كامز و تكلي غنيلي 🙄😒🕷 آإرۈحُـ✯ـہ✟ 😴أنــ💤ــااااام😴 اشرف تالي وكت يردوني اغني 😒☹️🚶" ws[43] = "هاي" rs[43] = "هايہۣۜۧ😻اہۣۖۗتֆ ̮⇣ يروہۣۗحہيۣֆ ﴿ ❁¹°↜إنـِۧـۣۧتِـِۨـۘهہْ ۦ ֆᵛ͢ᵎᵖ ⌯﴾❥ 🎐😽😻" ws[44] = "بوت" rs[44] = "اول شي ولد لو بنيه؟ ثاني شي اذا ولد امشطلعبرا وذا بنيه حياتي تعاي خاص موضوع حساس عندي😪🌚😹" ws[45] = "الدنيه شنو" rs[45] = "كحبه تضحك بس للكواويد يخوي كفو منك ع راسي🙂💜" ws[46] = "🙂" rs[46] = "ثكيل علساس هه😪🌚" ws[47] = "طبعاا" rs[47] = "#تجراسي والله تحتاج شي؟☹️💜😹" ws[48] = "منو المطور" rs[48] = "@KNSLTHM" ws[49] = "يا فيصل" rs[49] = "تخليني🐸😹" ws[50] = "بخير" rs[50] = "دومك/ج بخير يروحي انته/ي 😻😽" ws[51] = "شسمك" rs[51] = "تجراسك وكحبي اسمي تيبارا" ws[52] = "شنو اسم البوت" rs[52] = "صكاركم تيبارا" ws[53] = "افلش" rs[53] = "حته ارجعك بمك حبي🌝💋" ws[54] = "منحرف" rs[54] = "وينه خلي اصادق اخته وكسر عينه😔😹" ws[55] = "واكف" rs[55] = "بنلخرا وين واكف😐" ws[56] = "اريد اكبل" rs[56] = "شـًٍـًٍوــًٍـًٍفـًٍــًٍـًٍلـًٍلًٍي وياك حديقه ودايح رسمي 🙇🏿💜😹" ws[57] = "بنيه" rs[57] = "وينه خلي تجيني واتس نتونس🌝💜" ws[58] = "لتزحف" rs[58] = "دعوفه زاحف ع خالتك خلي يستفاد😕😹🙊" ws[59] = "هم يجي يوم تعوفني" rs[59] = "لأ يخوي تشه‍ه‍ه‍د الدنيه احبگ؟موت احپگ يلحپيپ💜🍃" ws[60] = "هينه بمكاني" rs[60] = "طيز مطيزه عير مفرزه عير يفتر وره الطيز دبه دهن دبه كريز ابن العاهره ابن الكايمه ابن التشيله وهيه نايمه ابن ام البلاوي امك تشيل حته الخصاوي اخت التبلع ابن الترضع ابن التمص وماتشبع عير يطب وعير يطلع ادري طِيِّﺰ لو مقلع بس انت اصلك ماتشبع" ws[61] = "اكسر عينه هسه" rs[61] = "ابن الهايمة ابن الكايمة ابن التمصة وهية نايمة ابن العاهرة السكسية ابن الشرموطة التكعد ع العير وتسوي موطة امك ترجع ع العير بدون مرايات وشايفة العير اكثر من المطهرجي وماخذة وية العير صورة ولاعبة علية جقة شبر اليوم انيجك نيجت القرد واخليك مشمور بالبرد انيجك نيجت الحمار شرط بالليل مو بالنهار انيجك نيجة البعير وانطيك عير ستيل فوتة للاخير واطلع من طيزك خنزير " ws[62] = "كافي حب" rs[62] = "صار تاج راسي شوكت متريد انيجهم حاظر اني🙊❤️" ws[63] = "غنيلي" rs[63] = "لا تظربني لا تظرب 💃💃 كسرت الخيزارانه💃🎋 صارلي سنه وست اشهر💃💃 من ظربتك وجعانه🤒😹 اه اه" ws[64] = "مكوم" rs[64] = "ستادي حكه بيهم كلهم فروخ وكحاب بس يستشرفون وداعتك😞🤘🏿" ws[65] = "تنح" rs[65] = "من يصير عندك عود اتنح دي فرخي😸🤘🏿" ws[66] = "جوني" rs[66] = "#تجراسنه وحامي اعراضنه ويحب مايا وف يوميه اضرب عليهم 😞💋" ws[67] = "كلخرا" rs[67] = "خرا ليترس حلكك/ج ياخرا يابنلخرا خختفووو ابلع😸🙊💋" ws[68] = "ضوجه" rs[68] = "باع نغل يكول ضوجه حته لبنات ينتبهن ويزحفلهن ويتنايجون واني اضل احمي هنا شعب خخرا😒💔🤘🏿" ws[69] = "الدنيه للتهواك تمطر؟" rs[69] = "كساسه كساسه مطرت عليه بعير شكبر راسه وشكرا😞❤️💋" ws[70] = "جنرال" rs[70] = "مہٰٖو بحہٰٖالكے القہٰٖائہٰٖد 🎤 🚶" ws[71] = "تيم" rs[71] = "مہٰٖو بحہٰٖالكے القہٰٖائہٰٖد 🎤 🚶" -- the main function function run( msg, matches ) -- just a local variables that i used in my algorithm local i = 0; local w = false -- the main part that get the message that the user send and check if it equals to one of the words in the ws table :) -- this section loops through all the words table and assign { k } to the word index and { v } to the word itself for k,v in pairs(ws) do -- change the message text to uppercase and the { v } value that toke form the { ws } table and than compare it in a specific pattern if ( string.find(string.upper(msg.text), "^" .. string.upper(v) .. "$") ) then -- assign the { i } to the index of the reply and the { w } to true ( we will use it later ) i = k; w = true; end end -- check if { w } is not false and { i } not equals to 0 if ( (w ~= false) and (i ~= 0) ) then -- get the receiver :3 R = get_receiver(msg) -- send him the proper message from the index that { i } assigned to --send_large_msg ( R , rs[i] ); --send_reply(msg.id, rs[i]) reply_msg(msg.id, rs[i], ok_cb, false ) end -- don't edit this section if ( msg.text == "about" ) then if ( msg.from.username == "li_xXx_il" ) then R = get_receiver(msg) send_large_msg ( R , "Made by @li_xXx_il" ); end end end return { patterns = { "(.*)" }, run = run } end
gpl-3.0
Ninjistix/darkstar
scripts/zones/Sea_Serpent_Grotto/npcs/qm2.lua
5
1135
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: ??? Used for Norg quest "The Sahagin's Stash" -- @zone 176 -- !pos 295.276 27.129 213.043 ----------------------------------- package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/quests"); require("scripts/zones/Sea_Serpent_Grotto/TextIDs"); ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc) SahaginStash = player:getQuestStatus(OUTLANDS,THE_SAHAGINS_STASH); if (SahaginStash == QUEST_ACCEPTED and player:hasKeyItem(296) == false) then player:startEvent(1); end end; function onEventUpdate(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); end; function onEventFinish(player,csid,option) -- printf("CSID: %u",csid); -- printf("RESULT: %u",option); if (csid == 1) then player:addKeyItem(296); player:messageSpecial(KEYITEM_OBTAINED,296); end end;
gpl-3.0
Inorizushi/DDR-SN1HD
BGAnimations/ScreenGameplay in.lua
1
2978
local playMode = GAMESTATE:GetPlayMode() if playMode ~= 'PlayMode_Regular' and playMode ~= 'PlayMode_Rave' and playMode ~= 'PlayMode_Battle' then curStage = playMode; end; local sStage = GAMESTATE:GetCurrentStage(); local tRemap = { Stage_1st = 1, Stage_2nd = 2, Stage_3rd = 3, Stage_4th = 4, Stage_5th = 5, Stage_6th = 6, }; if tRemap[sStage] == PREFSMAN:GetPreference("SongsPerPlay") then sStage = "Stage_Final"; else sStage = sStage; end; local t = Def.ActorFrame {}; t[#t+1] =Def.ActorFrame{ LoadActor(THEME:GetPathB("","doors open")); }; t[#t+1] = Def.ActorFrame{ InitCommand=cmd(y,SCREEN_CENTER_Y+20); LoadActor("ScreenStageInformation in/black_1")..{ InitCommand=cmd(diffusealpha,0.3;x,SCREEN_LEFT+174); OnCommand=cmd(linear,0.099;zoomy,0;addx,-348); }; LoadActor("ScreenStageInformation in/black_2")..{ InitCommand=cmd(diffusealpha,0.3;x,SCREEN_RIGHT-136); OnCommand=cmd(linear,0.099;zoomy,0;addx,272); }; }; t[#t+1] = Def.ActorFrame { InitCommand=function(self) self:y(SCREEN_CENTER_Y-124); end; LoadActor("ScreenStageInformation in/banner_stage")..{ InitCommand=cmd(CenterX); OnCommand=cmd(linear,0.099;zoomy,0); }; }; --song jacket-- t[#t+1] = Def.ActorFrame { OnCommand=cmd(playcommand,'Set';CenterX;y,SCREEN_CENTER_Y-130;linear,0.099;zoomy,0); Def.Sprite { SetCommand=function(self) local entity = GAMESTATE:GetCurrentCourse() or GAMESTATE:GetCurrentSong() if entity:HasBanner() then self:Load(entity:GetBannerPath()); self:setsize(256,80); else self:Load(THEME:GetPathG("","Common fallback banner")); self:setsize(256,80); end; end; }; }; t[#t+1] = LoadActor("ScreenStageInformation in/bottom_stage")..{ InitCommand=cmd(CenterX;y,SCREEN_BOTTOM-27); OnCommand=cmd(linear,0.198;addy,54;sleep,0;diffusealpha,0); }; t[#t+1] = Def.ActorFrame{ InitCommand=cmd(CenterX;y,SCREEN_TOP+52); OnCommand=cmd(linear,0.198;addy,-104;sleep,0;diffusealpha,0); LoadActor(THEME:GetPathG("","ScreenWithMenuElements header/centerbase")); LoadActor(THEME:GetPathG("","ScreenWithMenuElements header/Stage"))..{ InitCommand=cmd(valign,1;); } }; t[#t+1] = Def.ActorFrame { Def.Sprite{ InitCommand=cmd(x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y); OnCommand=function(self) if GAMESTATE:GetPlayMode() == 'PlayMode_Regular' or GAMESTATE:GetPlayMode() == 'PlayMode_Battle' or GAMESTATE:GetPlayMode() == 'PlayMode_Rave' then self:Load(THEME:GetPathG("_StageInfo/ScreenStageInformation", "Stage " .. ToEnumShortString(sStage) )); elseif GAMESTATE:GetPlayMode() == 'PlayMode_Oni' then self:Load(THEME:GetPathG("_StageInfo/ScreenStageInformation", "Stage oni")); elseif GAMESTATE:GetPlayMode() == 'PlayMode_Nonstop' then self:Load(THEME:GetPathG("_StageInfo/ScreenStageInformation", "Stage Nonstop")); elseif (GAMESTATE:Env()).EndlessState then self:Load(THEME:GetPathG("_StageInfo/ScreenStageInformation", "Stage endless")); end; self:linear(0.1):diffusealpha(0); end; }; }; return t;
gpl-3.0
rapthead/awesome-modular
conf/rules.lua
2
1059
local awful = require("awful") awful.rules = require("awful.rules") local bindings = require("conf.keybindings") local beautiful = require("conf.beautiful") -- {{{ Rules -- Rules to apply to new clients (through the "manage" signal). awful.rules.rules = { -- All clients will match this rule. { rule = { }, properties = { border_width = beautiful.border_width, border_color = beautiful.border_normal, focus = awful.client.focus.filter, raise = true, keys = bindings.clientkeys, buttons = bindings.clientbuttons } }, { rule = { class = "MPlayer" }, properties = { floating = true } }, { rule = { class = "pinentry" }, properties = { floating = true } }, { rule = { class = "gimp" }, properties = { floating = true } }, -- Set Firefox to always map on tags number 2 of screen 1. -- { rule = { class = "Firefox" }, -- properties = { tag = tags[1][2] } }, } -- }}}
gpl-2.0
ld-test/lunajson
src/lunajson/sax.lua
11
12046
local error = error local byte, char, find, gsub, match, sub = string.byte, string.char, string.find, string.gsub, string.match, string.sub local tonumber = tonumber local tostring, type, unpack = tostring, type, table.unpack or unpack -- The function that interprets JSON strings is separated into another file so as to -- use bitwise operation to speedup unicode codepoints processing on Lua 5.3. local genstrlib if _VERSION == "Lua 5.3" then genstrlib = require 'lunajson._str_lib_lua53' else genstrlib = require 'lunajson._str_lib' end local _ENV = nil local function nop() end local function newparser(src, saxtbl) local json, jsonnxt local jsonlen, pos, acc = 0, 1, 0 -- `f` is the temporary for dispatcher[c] and -- the dummy for the first return value of `find` local dispatcher, f -- initialize if type(src) == 'string' then json = src jsonlen = #json jsonnxt = function() json = '' jsonlen = 0 jsonnxt = nop end else jsonnxt = function() acc = acc + jsonlen pos = 1 repeat json = src() if not json then json = '' jsonlen = 0 jsonnxt = nop return end jsonlen = #json until jsonlen > 0 end jsonnxt() end local sax_startobject = saxtbl.startobject or nop local sax_key = saxtbl.key or nop local sax_endobject = saxtbl.endobject or nop local sax_startarray = saxtbl.startarray or nop local sax_endarray = saxtbl.endarray or nop local sax_string = saxtbl.string or nop local sax_number = saxtbl.number or nop local sax_boolean = saxtbl.boolean or nop local sax_null = saxtbl.null or nop --[[ Helper --]] local function tryc() local c = byte(json, pos) if not c then jsonnxt() c = byte(json, pos) end return c end local function parseerror(errmsg) error("parse error at " .. acc + pos .. ": " .. errmsg) end local function tellc() return tryc() or parseerror("unexpected termination") end local function spaces() -- skip spaces and prepare the next char while true do f, pos = find(json, '^[ \n\r\t]*', pos) if pos ~= jsonlen then pos = pos+1 return end if jsonlen == 0 then parseerror("unexpected termination") end jsonnxt() end end --[[ Invalid --]] local function f_err() parseerror('invalid value') end --[[ Constants --]] -- fallback slow constants parser local function generic_constant(target, targetlen, ret, sax_f) for i = 1, targetlen do local c = tellc() if byte(target, i) ~= c then parseerror("invalid char") end pos = pos+1 end return sax_f(ret) end -- null local function f_nul() if sub(json, pos, pos+2) == 'ull' then pos = pos+3 return sax_null(nil) end return generic_constant('ull', 3, nil, sax_null) end -- false local function f_fls() if sub(json, pos, pos+3) == 'alse' then pos = pos+4 return sax_boolean(false) end return generic_constant('alse', 4, false, sax_boolean) end -- true local function f_tru() if sub(json, pos, pos+2) == 'rue' then pos = pos+3 return sax_boolean(true) end return generic_constant('rue', 3, true, sax_boolean) end --[[ Numbers Conceptually, the longest prefix that matches to `(0|[1-9][0-9]*)(\.[0-9]*)?([eE][+-]?[0-9]*)?` (in regexp) is captured as a number and its conformance to the JSON spec is checked. --]] -- deal with non-standard locales local radixmark = match(tostring(0.5), '[^0-9]') local fixedtonumber = tonumber if radixmark ~= '.' then -- deals with non-standard locales if find(radixmark, '%W') then radixmark = '%' .. radixmark end fixedtonumber = function(s) return tonumber(gsub(s, '.', radixmark)) end end -- fallback slow parser local function generic_number(mns) local buf = {} local i = 1 local c = byte(json, pos) pos = pos+1 local function nxt() buf[i] = c i = i+1 c = tryc() pos = pos+1 end if c == 0x30 then nxt() else repeat nxt() until not (c and 0x30 <= c and c < 0x3A) end if c == 0x2E then nxt() if not (c and 0x30 <= c and c < 0x3A) then parseerror('invalid number') end repeat nxt() until not (c and 0x30 <= c and c < 0x3A) end if c == 0x45 or c == 0x65 then nxt() if c == 0x2B or c == 0x2D then nxt() end if not (c and 0x30 <= c and c < 0x3A) then parseerror('invalid number') end repeat nxt() until not (c and 0x30 <= c and c < 0x3A) end pos = pos-1 local num = char(unpack(buf)) num = fixedtonumber(num)-0.0 if mns then num = -num end return sax_number(num) end -- `0(\.[0-9]*)?([eE][+-]?[0-9]*)?` local function f_zro(mns) local postmp = pos local num local c = byte(json, postmp) if c == 0x2E then -- is this `.`? num = match(json, '^.[0-9]*', pos) -- skipping 0 local numlen = #num if numlen == 1 then pos = pos-1 return generic_number(mns) end postmp = pos + numlen c = byte(json, postmp) end if c == 0x45 or c == 0x65 then -- is this e or E? local numexp = match(json, '^[^eE]*[eE][-+]?[0-9]+', pos) if not numexp then pos = pos-1 return generic_number(mns) end if num then -- since `0e.*` is always 0.0, ignore those num = numexp end postmp = pos + #numexp end if postmp > jsonlen then pos = pos-1 return generic_number(mns) end pos = postmp if num then num = fixedtonumber(num) else num = 0.0 end if mns then num = -num end return sax_number(num) end -- `[1-9][0-9]*(\.[0-9]*)?([eE][+-]?[0-9]*)?` local function f_num(mns) pos = pos-1 local num = match(json, '^.[0-9]*%.?[0-9]*', pos) if byte(num, -1) == 0x2E then return generic_number(mns) end local postmp = pos + #num local c = byte(json, postmp) if c == 0x45 or c == 0x65 then -- e or E? num = match(json, '^[^eE]*[eE][-+]?[0-9]+', pos) if not num then return generic_number(mns) end postmp = pos + #num end if postmp > jsonlen then return generic_number(mns) end pos = postmp num = fixedtonumber(num)-0.0 if mns then num = -num end return sax_number(num) end -- skip minus sign local function f_mns() local c = byte(json, pos) or tellc() if c then pos = pos+1 if c > 0x30 then if c < 0x3A then return f_num(true) end else if c > 0x2F then return f_zro(true) end end end parseerror("invalid number") end --[[ Strings --]] local f_str_lib = genstrlib(parseerror) local f_str_surrogateok = f_str_lib.surrogateok -- whether codepoints for surrogate pair are correctly paired local f_str_subst = f_str_lib.subst -- the function passed to gsub that interprets escapes local function f_str(iskey) local pos2 = pos local newpos local str = '' local bs while true do while true do -- search '\' or '"' newpos = find(json, '[\\"]', pos2) if newpos then break end str = str .. sub(json, pos, jsonlen) if pos2 == jsonlen+2 then pos2 = 2 else pos2 = 1 end jsonnxt() end if byte(json, newpos) == 0x22 then -- break if '"' break end pos2 = newpos+2 -- skip '\<char>' bs = true -- remember that backslash occurs end str = str .. sub(json, pos, newpos-1) pos = newpos+1 if bs then -- check if backslash occurs str = gsub(str, '\\(.)([^\\]*)', f_str_subst) -- interpret escapes if not f_str_surrogateok() then parseerror("invalid surrogate pair") end end if iskey then return sax_key(str) end return sax_string(str) end --[[ Arrays, Objects --]] -- arrays local function f_ary() sax_startarray() spaces() if byte(json, pos) ~= 0x5D then -- check the closing bracket ']', that consists an empty array local newpos while true do f = dispatcher[byte(json, pos)] -- parse value pos = pos+1 f() f, newpos = find(json, '^[ \n\r\t]*,[ \n\r\t]*', pos) -- check comma if not newpos then f, newpos = find(json, '^[ \n\r\t]*%]', pos) -- check closing bracket if newpos then pos = newpos break end spaces() -- since the current chunk can be ended, skip spaces toward following chunks local c = byte(json, pos) if c == 0x2C then -- check comma again pos = pos+1 spaces() newpos = pos-1 elseif c == 0x5D then -- check closing bracket again break else parseerror("no closing bracket of an array") end end pos = newpos+1 if pos > jsonlen then spaces() end end end pos = pos+1 return sax_endarray() end -- objects local function f_obj() sax_startobject() spaces() if byte(json, pos) ~= 0x7D then -- check the closing bracket `}`, that consists an empty object local newpos while true do if byte(json, pos) ~= 0x22 then parseerror("not key") end pos = pos+1 f_str(true) f, newpos = find(json, '^[ \n\r\t]*:[ \n\r\t]*', pos) -- check colon if not newpos then spaces() -- since the current chunk can be ended, skip spaces toward following chunks if byte(json, pos) ~= 0x3A then -- check colon again parseerror("no colon after a key") end pos = pos+1 spaces() newpos = pos-1 end pos = newpos+1 if pos > jsonlen then spaces() end f = dispatcher[byte(json, pos)] -- parse value pos = pos+1 f() f, newpos = find(json, '^[ \n\r\t]*,[ \n\r\t]*', pos) -- check comma if not newpos then f, newpos = find(json, '^[ \n\r\t]*}', pos) -- check closing bracket if newpos then pos = newpos break end spaces() -- since the current chunk can be ended, skip spaces toward following chunks local c = byte(json, pos) if c == 0x2C then -- check comma again pos = pos+1 spaces() newpos = pos-1 elseif c == 0x7D then -- check closing bracket again break else parseerror("no closing bracket of an object") end end pos = newpos+1 if pos > jsonlen then spaces() end end end pos = pos+1 return sax_endobject() end --[[ The jump table to dispatch a parser for a value, indexed by the code of the value's first char. Key should be non-nil. --]] dispatcher = { f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_str, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_mns, f_err, f_err, f_zro, f_num, f_num, f_num, f_num, f_num, f_num, f_num, f_num, f_num, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_ary, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_fls, f_err, f_err, f_err, f_err, f_err, f_err, f_err, f_nul, f_err, f_err, f_err, f_err, f_err, f_tru, f_err, f_err, f_err, f_err, f_err, f_err, f_obj, f_err, f_err, f_err, f_err, } dispatcher[0] = f_err --[[ public funcitons --]] local function run() spaces() f = dispatcher[byte(json, pos)] pos = pos+1 f() end local function read(n) if n < 0 then error("the argument must be non-negative") end local pos2 = (pos-1) + n local str = sub(json, pos, pos2) while pos2 > jsonlen and jsonlen ~= 0 do jsonnxt() pos2 = pos2 - (jsonlen - (pos-1)) str = str .. sub(json, pos, pos2) end if jsonlen ~= 0 then pos = pos2+1 end return str end local function tellpos() return acc + pos end return { run = run, tryc = tryc, read = read, tellpos = tellpos, } end local function newfileparser(fn, saxtbl) local fp = io.open(fn) local function gen() local s if fp then s = fp:read(8192) if not s then fp:close() fp = nil end end return s end return newparser(gen, saxtbl) end return { newparser = newparser, newfileparser = newfileparser }
mit
fmassa/torch7
random.lua
4
1367
local wrap = require 'cwrap' require 'torchcwrap' local interface = wrap.CInterface.new() interface:print( [[ #include "luaT.h" #include "TH.h" extern void torch_Generator_init(lua_State *L); extern void torch_Generator_new(lua_State *L); ]]) for _,name in ipairs({"seed", "initialSeed"}) do interface:wrap(name, string.format("THRandom_%s",name), {{name='Generator', default=true}, {name="long", creturned=true}}) end interface:wrap('manualSeed', 'THRandom_manualSeed', {{name='Generator', default=true}, {name="long"}}) interface:wrap('getRNGState', 'THByteTensor_getRNGState', {{name='Generator', default=true}, {name='ByteTensor',default=true,returned=true,method={default='nil'}} }) interface:wrap('setRNGState', 'THByteTensor_setRNGState', {{name='Generator', default=true}, {name='ByteTensor',default=true,returned=true,method={default='nil'}} }) interface:register("random__") interface:print( [[ void torch_random_init(lua_State *L) { torch_Generator_init(L); torch_Generator_new(L); lua_setfield(L, -2, "_gen"); luaL_register(L, NULL, random__); } ]]) interface:tofile(arg[1])
bsd-3-clause
mandersan/premake-core
tests/api/test_string_kind.lua
16
1400
-- -- tests/api/test_string_kind.lua -- Tests the string API value type. -- Copyright (c) 2012 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("api_string_kind") local api = p.api -- -- Setup and teardown -- function suite.setup() api.register { name = "testapi", kind = "string", scope = "project", allowed = { "One", "Two", "Three" }, } test.createWorkspace() end function suite.teardown() testapi = nil end -- -- String values should be stored as-is. -- function suite.storesString_onStringValue() testapi "One" test.isequal("One", api.scope.project.testapi) end -- -- New values should overwrite old ones. -- function suite.overwritesPreviousValues() testapi "One" testapi "Two" test.isequal("Two", api.scope.project.testapi) end -- -- An error occurs if a table value is assigned to a string field. -- function suite.raisesError_onTableValue() ok, err = pcall(function () testapi { "One", "Two" } end) test.isfalse(ok) end -- -- Raises an error on a disallowed value. -- function suite.raisesError_onDisallowedValue() ok, err = pcall(function () testapi "NotAllowed" end) test.isfalse(ok) end -- -- If allowed values present, converts to provided case. -- function suite.convertsCase_onAllowedValue() testapi "oNe" test.isequal("One", api.scope.project.testapi) end
bsd-3-clause
dinodeck/ninety_nine_days_of_dev
007_map_cure/code/Actor.lua
2
8063
Actor = { EquipSlotLabels = { "Weapon:", "Armor:", "Accessory:", "Accessory:" }, EquipSlotId = { "weapon", "armor", "acces1", "acces2" }, ActorStats = { "strength", "speed", "intelligence" }, ItemStats = { "attack", "defense", "magic", "resist" }, ActorStatLabels = { "Strength", "Speed", "Intelligence" }, ItemStatLabels = { "Attack", "Defense", "Magic", "Resist" }, ActionLabels = { ["attack"] = "Attack", ["item"] = "Item", ["flee"] = "Flee", ["magic"] = "Magic", ["special"] = "Special" }, } Actor.__index = Actor function Actor:Create(def) local growth = ShallowClone(def.statGrowth or {}) local this = { mName = def.name, mId = def.id, mActions = def.actions, mPortrait = Sprite.Create(), mStats = Stats:Create(def.stats), mStatGrowth = growth, mXP = def.xp or 0, mLevel = def.level or 1, mEquipment = { weapon = def.weapon, armor = def.armor, acces1 = def.acces1, acces2 = def.acces2, }, mActiveEquipSlots = def.equipslots or { 1, 2, 3 }, mSlotTypes = { "weapon", "armor", "accessory", "accessory" }, mMagic = ShallowClone(def.magic or {}), mSpecial = ShallowClone(def.special or {}), mStealItem = def.steal_item, } if def.portrait then this.mPortraitTexture = Texture.Find(def.portrait) this.mPortrait:SetTexture(this.mPortraitTexture) end if def.drop then local drop = def.drop local goldRange = drop.gold or {} local gold = math.random(goldRange[0] or 0, goldRange[1] or 0) this.mDrop = { mXP = drop.xp or 0, mGold = gold, mAlways = drop.always or {}, mChance = OddmentTable:Create(drop.chance) } end self.mNextLevelXP = NextLevel(this.mLevel) setmetatable(this, self) this:DoInitialLeveling() return this end function Actor:DoInitialLeveling() -- Only for party members if not gPartyMemberDefs[self.mId] then return end -- Get total XP current level represents for i = 1, self.mLevel do self.mXP = self.mXP + NextLevel(i - 1) end -- Set level back to 0 self.mLevel = 0 self.mNextLevelXP = NextLevel(self.mLevel) -- unlock all abilities / add stats while(self:ReadyToLevelUp()) do local levelup = self:CreateLevelUp() self:ApplyLevel(levelup) end end function Actor:RenderEquipment(menu, renderer, x, y, index) local font = gGame.Font.default x = x + 100 local label = self.EquipSlotLabels[index] font:AlignText("right", "center") font:DrawText2d(renderer, x, y, label) local slotId = self.EquipSlotId[index] local text = "none" if self.mEquipment[slotId] then local itemId = self.mEquipment[slotId] local item = ItemDB[itemId] text = item.name end font:AlignText("left", "center") font:DrawText2d(renderer, x + 10, y, text) end function Actor:ReadyToLevelUp() return self.mXP >= self.mNextLevelXP end function Actor:AddXP(xp) self.mXP = self.mXP + xp return self:ReadyToLevelUp() end function Actor:CreateLevelUp() local levelup = { xp = - self.mNextLevelXP, level = 1, stats = {}, actions = {} } for id, dice in pairs(self.mStatGrowth) do levelup.stats[id] = dice:Roll() end local level = self.mLevel + levelup.level local def = gPartyMemberDefs[self.mId] levelup.actions = def.actionGrowth[level] or {} return levelup end -- To unlock a category of actions, such as 'magic', 'special' etc function Actor:UnlockMenuAction(id) print('menu action', tostring(id)) for _, v in ipairs(self.mActions) do if v == id then return end end table.insert(self.mActions, id) end function Actor:AddAction(action, entry) local t = self.mSpecial if action == 'magic' then t = self.mMagic end for _, v in ipairs(entry) do table.insert(t, v) end end function Actor:ApplyLevel(levelup) self.mXP = self.mXP + levelup.xp self.mLevel = self.mLevel + levelup.level self.mNextLevelXP = NextLevel(self.mLevel) assert(self.mXP >= 0) for k, v in pairs(levelup.stats) do self.mStats.mBase[k] = self.mStats.mBase[k] + v end for action, v in pairs(levelup.actions) do self:UnlockMenuAction(action) self:AddAction(action, v) end -- Restore HP and MP on level up local maxHP = self.mStats:Get("hp_max") local maxMP = self.mStats:Get("mp_max") self.mStats:Set("mp_now", maxMP) self.mStats:Set("hp_now", maxHP) end function Actor:Equip(slot, item) -- 1. Remove any item current in the slot -- Put that item back in the inventory local prevItem = self.mEquipment[slot] self.mEquipment[slot] = nil if prevItem then -- Remove modifier self.mStats:RemoveModifier(slot) gGame.World:AddItem(prevItem) end -- 2. If there's a replacement item move it to the slot if not item then return end assert(item.count > 0) -- This should never be allowed to happen! gGame.World:RemoveItem(item.id) self.mEquipment[slot] = item.id local modifier = ItemDB[item.id].stats or {} self.mStats:AddModifier(slot, modifier) end function Actor:Unequip(slot) self:Equip(slot, nil) end function Actor:EquipCount(itemId) local count = 0 for _, v in pairs(self.mEquipment) do if v == itemId then count = count + 1 end end return count end function Actor:CreateStatNameList() local list = {} for _, v in ipairs(Actor.ActorStats) do table.insert(list, v) end for _, v in ipairs(Actor.ItemStats) do table.insert(list, v) end table.insert(list, "hp_max") table.insert(list, "mp_max") return list end function Actor:CreateStatLabelList() local list = {} for _, v in ipairs(Actor.ActorStatLabels) do table.insert(list, v) end for _, v in ipairs(Actor.ItemStatLabels) do table.insert(list, v) end table.insert(list, "HP:") table.insert(list, "MP:") return list end function Actor:PredictStats(slot, item) -- List of all stats local statsId = self:CreateStatNameList() -- Get values for all the current stats local current = {} for _, v in ipairs(statsId) do current[v] = self.mStats:Get(v) end -- Replace item local prevItemId = self.mEquipment[slot] self.mStats:RemoveModifier(slot) self.mStats:AddModifier(slot, item.stats) -- Get values for modified stats local modified = {} for _, v in ipairs(statsId) do modified[v] = self.mStats:Get(v) end local diff = {} for _, v in ipairs(statsId) do diff[v] = modified[v] - current[v] end -- -- Undo replace item self.mStats:RemoveModifier(slot) if prevItemId then self.mStats:AddModifier(slot, ItemDB[prevItemId].stats) end return diff end function Actor:CanUse(item) if item.restriction == nil then return true end for _, v in pairs(item.restriction) do if v == self.mId then return true end end return false end function Actor:CanCast(spellDef) return spellDef.mp_cost <= self.mStats:Get("mp_now") end function Actor:ReduceManaForSpell(spellDef) local mp = self.mStats:Get("mp_now") local cost = spellDef.mp_cost local mp = math.max(mp - cost, 0) self.mStats:Set("mp_now", mp) end
mit
fjz13/Medusa
Test/Test/Dev/Resource/Script/Medusa/Engine/Node/Scene/SceneManager.lua
3
1548
module(..., package.seeall); local extend=require("ISceneExtend"); function Push(className, flags, ...) className = className or ""; flags = flags or ml.NodePushFlags.BindScriptRecursively; local native = nil; if type(className) == "table" then return _M.PushEx("", "", className, flags, ...); else if (FileSystem.ExistsLua(className)) then return _M.PushEx("", "", className, flags, ...); end local native= ml.SceneManager.Push(className, flags); extend.Apply(native); return native; end end function PushEx(className, editorFile, scriptFile, flags, ...) className = className or ""; editorFile = editorFile or ""; scriptFile = scriptFile or ""; flags = flags or ml.NodePushFlags.BindScriptRecursively; local scriptObject = nil; if type(scriptFile) == "table" then scriptObject = scriptFile.new(...); else if scriptFile ~= "" then if (FileSystem.ExistsLua(scriptFile)) then scriptObject = require(scriptFile).new(...); else error("Cannot find script file:%s", scriptFile); return; end end end local native=nil; if scriptObject then className=scriptObject.__className or className; editorFile=scriptObject.__editorFile or editorFile; native = ml.SceneFactory.Create(className, editorFile,ml.NodeCreateFlags.BindScriptChildren); native:SetScriptObject(scriptObject); else native = ml.SceneFactory.Create(className, editorFile,ml.NodeCreateFlags.BindScriptRecursively); end extend.Apply(native); ml.SceneManager.PushObject(native, flags); return native; end return _M;
mit
SHIELDTM/shieldbot
bot/seedbot.lua
2
12902
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '2' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then return end local receiver = get_receiver(msg) print (receiver) --vardump(msg) msg = pre_process_service_msg(msg) if msg_valid(msg) then msg = pre_process_msg(msg) if msg then match_plugins(msg) if redis:get("bot:markread") then if redis:get("bot:markread") == "on" then mark_read(receiver, ok_cb, false) end end end end end function ok_cb(extra, success, result) end function on_binlog_replay_end() started = true postpone (cron_plugins, false, 60*5.0) _config = load_config() -- load plugins plugins = {} load_plugins() end function msg_valid(msg) -- Don't process outgoing messages if msg.out then print('\27[36mNot valid: msg from us\27[39m') return false end -- Before bot was started if msg.date < now then print('\27[36mNot valid: old msg\27[39m') return false end if msg.unread == 0 then print('\27[36mNot valid: readed\27[39m') return false end if not msg.to.id then print('\27[36mNot valid: To id not provided\27[39m') return false end if not msg.from.id then print('\27[36mNot valid: From id not provided\27[39m') return false end if msg.from.id == our_id then print('\27[36mNot valid: Msg from our id\27[39m') return false end if msg.to.type == 'encr_chat' then print('\27[36mNot valid: Encrypted chat\27[39m') return false end if msg.from.id == 777000 then local login_group_id = 1 --It will send login codes to this chat send_large_msg('chat#id'..login_group_id, msg.text) end return true end -- function pre_process_service_msg(msg) if msg.service then local action = msg.action or {type=""} -- Double ! to discriminate of normal actions msg.text = "!!tgservice " .. action.type -- wipe the data to allow the bot to read service messages if msg.out then msg.out = false end if msg.from.id == our_id then msg.from.id = 0 end end return msg end -- Apply plugin.pre_process function function pre_process_msg(msg) for name,plugin in pairs(plugins) do if plugin.pre_process and msg then print('Preprocess', name) msg = plugin.pre_process(msg) end end return msg end -- Go over enabled plugins patterns. function match_plugins(msg) for name, plugin in pairs(plugins) do match_plugin(plugin, name, msg) end end -- Check if plugin is on _config.disabled_plugin_on_chat table local function is_plugin_disabled_on_chat(plugin_name, receiver) local disabled_chats = _config.disabled_plugin_on_chat -- Table exists and chat has disabled plugins if disabled_chats and disabled_chats[receiver] then -- Checks if plugin is disabled on this chat for disabled_plugin,disabled in pairs(disabled_chats[receiver]) do if disabled_plugin == plugin_name and disabled then local warning = 'Plugin '..disabled_plugin..' is disabled on this chat' print(warning) send_msg(receiver, warning, ok_cb, false) return true end end end return false end function match_plugin(plugin, plugin_name, msg) local receiver = get_receiver(msg) -- Go over patterns. If one matches it's enough. for k, pattern in pairs(plugin.patterns) do local matches = match_pattern(pattern, msg.text) if matches then print("msg matches: ", pattern) if is_plugin_disabled_on_chat(plugin_name, receiver) then return nil end -- Function exists if plugin.run then -- If plugin is for privileged users only if not warns_user_not_allowed(plugin, msg) then local result = plugin.run(msg, matches) if result then send_large_msg(receiver, result) end end end -- One patterns matches return end end end -- DEPRECATED, use send_large_msg(destination, text) function _send_msg(destination, text) send_large_msg(destination, text) end -- Save the content of _config to config.lua function save_config( ) serialize_to_file(_config, './data/config.lua') print ('saved config into ./data/config.lua') end -- Returns the config from config.lua file. -- If file doesn't exist, create it. function load_config( ) local f = io.open('./data/config.lua', "r") -- If config.lua doesn't exist if not f then print ("Created new config file: data/config.lua") create_config() else f:close() end local config = loadfile ("./data/config.lua")() for v,user in pairs(config.sudo_users) do print("Allowed user: " .. user) end return config end -- Create a basic config.json file and saves it. function create_config( ) -- A simple config with basic plugins and ourselves as privileged user config = { enabled_plugins = { "onservice", "inrealm", "ingroup", "inpm", "banhammer", "stats", "anti_spam", "owners", "arabic_lock", "set", "get", "broadcast", "download_media", "invite", "all", "leave_ban", "admin" }, sudo_users = {112274576,80182995,132667916,134843111,159887854,185532812وtonumber(our_id)},--Sudo users disabled_channels = {}, moderation = {data = 'data/moderation.json'}, about_text = [[datak v4 - Open Source Our team! morteza (@mortezagh1185) hafez (@Thisishafez) mohammad (@XXXnfratXXX) sina (@Mrlife) sorblock (@sorblack) alireza (@alireza_PT) Our channels: support: @datak_tg_1 ]], help_text_realm = [[ Realm Commands: راهنمای ریلم !creategroup [name] ساختن گروه !createrealm [name] ساختن ریلم !setname گذاشتن اسم گروه !setname گذاشتن اسم برای گروه !setrules گذاشتن قوانین برای گروه !setabout گذاشتن متن درباره برای سوپر گروه(این متن در بخش توضیحات گروه هم نمایش داده میشه) !lock [flood|arabic|member|photo|name|leave|bot] قفل کردن امکانات بالا !unlock [flood|arabic|member|photo|name|leave|bot] باز کردن قفل امکانات بالا !wholist لیست اعضا به صورت لیست !who لیست اعضا بصورت فایل !type دیدن مدل گپ !kill chat [grupo_id] حذف کردن گروه !kill realm [realm_id] حذف کردن ریلم !addadmin [id|username] اضافه شدن مقام به ادمین ربات !removeadmin [id|username] حذف مقام ادمین ربات !list groups لیست گروه های ساخته شده بصورت فایل !list realms لیست ریلم های ساخته شده بصورت فایل !log گرفتن لاگ فایل گروه !broadcast [text] فرستادن پیام به کل گروه های ساخته شده !broadcast Hello ! مانند !bc [group_id] [text] پیام فرستادن به یک گروه از طریق ایدی !bc 123456789 Hello ! مثال **You can use "#", "!", or "/" to begin all commands شما میتوانید هم از اسلش/مربع/علامت تعجب در اول دستورات استفاده کنید *Only owner can add members to SuperGroup (use invite link to invite) فقط ادمین ها میتونن اعضا به گروه ادد کنند در سوپر گروه(قانون تلگرام) *Only moderators and owner can use block, ban, unban, newlink, link, setphoto, setname, lock, unlock, setrules, setabout and settings commands فقط ناظم ها و خریدار ها میتوانند دستورات بالا را اجرا کنند *Only owner can use res, setowner, promote, demote, and log commands فقط خریدار گروه میتواند دستورات بالا رو اجرا کند ]], help_text = [[ Group Commands: راهنمای گروه !info نمایش اطلاعات اصلی گروه !admins نمایش لیست ادمین های گروه !owner نمایش خریدار گروه !modlist نمایش لیست ناظم ها !bots لیست روبات های گروه !who لیست اعضای گروه در یک فایل متنی !block بلاک کردن و کیک کردن فرد !id نمایش ایدی گروه *For userID's: !id @username or reply !id* !id from نمایش اطلاعات فردی که پیغام رو فوارد کرده !kickme کیک شدن از سوپر گروه *Must be unblocked by owner or use join by pm to return* !setowner ست کردن کاربر به عنوان خریدار گروه !promote [username|id] اضافه کردن کاربر به لیست ناظم ها !demote [username|id] پاک کردن کاربر از لیست ناظم ها !setname گذاشتن اسم گروه !setphoto گذاشتن عکس برای گروه !setrules گذاشتن قوانین برای گروه !setabout گذاشتن متن درباره برای سوپر گروه(این متن در بخش توضیحات گروه هم نمایش داده میشه) !save [value] <text> ذخیره کردن یک متن !get [value] گرفتن متن !newlink ساختن لینک جدید !link گرفتن لینک !rules نمایش قوانین !lock [links|flood|spam|Arabic|member|rtl|sticker|contacts|strict] قفل کردن لینک گروها-اسپم-متن و اسم های بزرگ -زبان فارسی-تعداد اعضا-کاراکتر های غیر عادی-استیکر-مخاطبین دقت کنید اگر گذینه اخری strict روشن باشد کاربر از گروه کیک میشود و پیغام پاک میشه در غیر این صورت فقط پیغام پاک میشود !unlock [links|flood|spam|Arabic|member|rtl|sticker|contacts|strict] باز کردن قفل امکانات بالا *rtl: Delete msg if Right To Left Char. is in name* *strict: disable strict settings enforcement (violating user will not be kicked)* !setflood [value] گذاشتن value به عنوان حساسیت اسپم !settings نمایش تنظیمات گروه !clean [rules|about|modlist|] پاک کردن لیست ناظم ها-درباره-لیست سایلنت شده ها-قوانین !public [yes|no] نمایش گروه شما در لیست گروها !res [username] گرفتن اطلاعت یوزر نیم داده شد !log برگرداندن تاریخچه گروه در یک فایل متنی **You can use "#", "!", or "/" to begin all commands شما میتوانید هم از اسلش/مربع/علامت تعجب در اول دستورات استفاده کنید *Only owner can add members to SuperGroup (use invite link to invite) فقط ادمین ها میتونن اعضا به گروه ادد کنند در سوپر گروه(قانون تلگرام) *Only moderators and owner can use block, ban, unban, newlink, link, setphoto, setname, lock, unlock, setrules, setabout and settings commands فقط ناظم ها و خریدار ها میتوانند دستورات بالا را اجرا کنند *Only owner can use res, setowner, promote, demote, and log commands فقط خریدار گروه میتواند دستورات بالا رو اجرا کند ]] } serialize_to_file(config, './data/config.lua') print('saved config into ./data/config.lua') end function on_our_id (id) our_id = id end function on_user_update (user, what) --vardump (user) end function on_chat_update (chat, what) end function on_secret_chat_update (schat, what) --vardump (schat) end function on_get_difference_end () end -- Enable plugins in config.json function load_plugins() for k, v in pairs(_config.enabled_plugins) do print("Loading plugin", v) local ok, err = pcall(function() local t = loadfile("plugins/"..v..'.lua')() plugins[v] = t end) if not ok then print('\27[31mError loading plugin '..v..'\27[39m') print(tostring(io.popen("lua plugins/"..v..".lua"):read('*all'))) print('\27[31m'..err..'\27[39m') end end end -- custom add function load_data(filename) local f = io.open(filename) if not f then return {} end local s = f:read('*all') f:close() local data = JSON.decode(s) return data end function save_data(filename, data) local s = JSON.encode(data) local f = io.open(filename, 'w') f:write(s) f:close() end -- Call and postpone execution for cron plugins function cron_plugins() for name, plugin in pairs(plugins) do -- Only plugins with cron function if plugin.cron ~= nil then plugin.cron() end end -- Called again in 2 mins postpone (cron_plugins, false, 120) end -- Start and load values our_id = 0 now = os.time() math.randomseed(now) started = false
gpl-2.0
ld-test/dromozoa-http
test/test_s3.lua
1
2424
-- Copyright (C) 2015 Tomoyuki Fujimori <moyu@dromozoa.com> -- -- This file is part of dromozoa-http. -- -- dromozoa-http is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- dromozoa-http 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 General Public License for more details. -- -- You should have received a copy of the GNU General Public License -- along with dromozoa-http. If not, see <http://www.gnu.org/licenses/>. local json = require "dromozoa.commons.json" local read_file = require "dromozoa.commons.read_file" local http = require "dromozoa.http" local credentials = json.decode(assert(read_file("test-credentials.json"))) local scheme = "https" local bucket = "dromozoa" local host = bucket .. ".s3-ap-northeast-1.amazonaws.com" local ua = http.user_agent("dromozoa-http") local aws4 = http.aws4("ap-northeast-1", "s3", credentials.access_key_id, credentials.session_token) local request = http.request("GET", http.uri(scheme, host, "/")) aws4:sign_header(request, credentials.secret_access_key) local response = ua:request(request) -- print(response.content) assert(response.code == 200) assert(response.content_type == "application/xml") local request = http.request("GET", http.uri(scheme, host, "/foo.txt")) aws4:sign_header(request, credentials.secret_access_key) local response = ua:request(request) assert(response.code == 200) assert(response.content == "foo\n") local timestamp = os.date("!%Y-%m-%dT%H:%M:%SZ") local request = http.request("PUT", http.uri(scheme, host, "/qux.txt"), "text/plain; charset=UTF-8", "日本語\n" .. timestamp .. "\n") aws4:sign_header(request, credentials.secret_access_key) -- print(request.aws4.canonical_request) local response = ua:request(request) assert(response.code == 200) assert(response.content == "") local request = http.request("GET", http.uri(scheme, host, "/qux.txt")) aws4:sign_header(request, credentials.secret_access_key) local response = ua:request(request) assert(response.code == 200) assert(response.content_type == "text/plain; charset=UTF-8") assert(response.content == "日本語\n" .. timestamp .. "\n")
gpl-3.0
amir1213/tamir
plugins/location.lua
625
1564
-- Implement a command !loc [area] which uses -- the static map API to get a location image -- Not sure if this is the proper way -- Intent: get_latlong is in time.lua, we need it here -- loadfile "time.lua" -- Globals -- If you have a google api key for the geocoding/timezone api do local api_key = nil local base_api = "https://maps.googleapis.com/maps/api" function get_staticmap(area) local api = base_api .. "/staticmap?" -- Get a sense of scale local lat,lng,acc,types = get_latlong(area) local scale = types[1] if scale=="locality" then zoom=8 elseif scale=="country" then zoom=4 else zoom = 13 end local parameters = "size=600x300" .. "&zoom=" .. zoom .. "&center=" .. URL.escape(area) .. "&markers=color:red"..URL.escape("|"..area) if api_key ~=nil and api_key ~= "" then parameters = parameters .. "&key="..api_key end return lat, lng, api..parameters end function run(msg, matches) local receiver = get_receiver(msg) local lat,lng,url = get_staticmap(matches[1]) -- Send the actual location, is a google maps link send_location(receiver, lat, lng, ok_cb, false) -- Send a picture of the map, which takes scale into account send_photo_from_url(receiver, url) -- Return a link to the google maps stuff is now not needed anymore return nil end return { description = "Gets information about a location, maplink and overview", usage = "!loc (location): Gets information about a location, maplink and overview", patterns = {"^!loc (.*)$"}, run = run } end
gpl-2.0
dail8859/LuaScript
examples/StyleCSV.lua
1
1622
-- Anytime a file is switched, check to see if it needs styled npp.AddEventHandler("OnSwitchFile", function(filename, bufferid) if npp:GetExtPart() == ".csv" then -- Add the event handler for our custom style function npp.AddEventHandler("OnStyle", StyleCSV) -- Make sure to set the lexer as a custom container editor.Lexer = SCLEX_CONTAINER -- Set up the styles as appropriate editor.StyleBack[1] = 0xffffff editor.StyleBack[2] = 0xC0D9AF editor.StyleEOLFilled[1] = true editor.StyleEOLFilled[2] = true -- Clear any style and re-lex the entire document editor:ClearDocumentStyle() editor:Colourise(0, -1) -- Set any other options, for this styler the caret line is ugly editor.CaretLineVisible = false else -- Can remove the handler if it's not needed npp.RemoveEventHandler("OnStyle", StyleCSV) editor.CaretLineVisible = true end return false end) -- A simplified lexer - style the line according to the line number function StyleCSV(styler) local lineStart = editor:LineFromPosition(styler.startPos) local lineEnd = editor:LineFromPosition(styler.startPos + styler.lengthDoc) editor:StartStyling(styler.startPos, 0 --[[ unused --]]) for line=lineStart,lineEnd,1 do local lengthLine = editor:PositionFromLine(line+1) - editor:PositionFromLine(line) if line % 2 == 0 then editor:SetStyling(lengthLine, 1) else editor:SetStyling(lengthLine, 2) end end end
gpl-2.0
Ninjistix/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Nebiros.lua
7
1304
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Marquis Decarabia ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- function onMobEngaged(mob,target) end; function onMobFight(mob,target) end; function onMobDeath(mob, player, isKiller) local Animate_Trigger = GetServerVariable("[DynaXarcabard]Boss_Trigger"); if (mob:isInBattlefieldList() == false) then mob:addInBattlefieldList(); Animate_Trigger = Animate_Trigger + 16384; SetServerVariable("[DynaXarcabard]Boss_Trigger",Animate_Trigger); if (Animate_Trigger == 32767) then SpawnMob(17330911); -- 142 SpawnMob(17330912); -- 143 SpawnMob(17330177); -- Dynamis Lord GetMobByID(17330183):setSpawn(-364,-35.661,17.254); -- Set Ying and Yang's spawn points to their initial spawn point. GetMobByID(17330184):setSpawn(-364,-35.974,24.254); SpawnMob(17330183); SpawnMob(17330184); activateAnimatedWeapon(); -- Change subanim of all animated weapon end end if (Animate_Trigger == 32767) then player:messageSpecial(PRISON_OF_SOULS_HAS_SET_FREE); end end;
gpl-3.0
wounds1/zaza2
libs/url.lua
567
9183
--[[ Copyright 2004-2007 Diego Nehab. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ]] ----------------------------------------------------------------------------- -- URI parsing, composition and relative URL resolution -- LuaSocket toolkit. -- Author: Diego Nehab -- RCS ID: $Id: url.lua,v 1.38 2006/04/03 04:45:42 diego Exp $ ----------------------------------------------------------------------------- -- updated for a module()-free world of 5.3 by slact local string = require("string") local base = _G local table = require("table") local Url={} Url._VERSION = "URL 1.0.2" function Url.escape(s) return string.gsub(s, "([^A-Za-z0-9_])", function(c) return string.format("%%%02x", string.byte(c)) end) end local function make_set(t) local s = {} for i,v in base.ipairs(t) do s[t[i]] = 1 end return s end local segment_set = make_set { "-", "_", ".", "!", "~", "*", "'", "(", ")", ":", "@", "&", "=", "+", "$", ",", } local function protect_segment(s) return string.gsub(s, "([^A-Za-z0-9_])", function (c) if segment_set[c] then return c else return string.format("%%%02x", string.byte(c)) end end) end function Url.unescape(s) return string.gsub(s, "%%(%x%x)", function(hex) return string.char(base.tonumber(hex, 16)) end) end local function absolute_path(base_path, relative_path) if string.sub(relative_path, 1, 1) == "/" then return relative_path end local path = string.gsub(base_path, "[^/]*$", "") path = path .. relative_path path = string.gsub(path, "([^/]*%./)", function (s) if s ~= "./" then return s else return "" end end) path = string.gsub(path, "/%.$", "/") local reduced while reduced ~= path do reduced = path path = string.gsub(reduced, "([^/]*/%.%./)", function (s) if s ~= "../../" then return "" else return s end end) end path = string.gsub(reduced, "([^/]*/%.%.)$", function (s) if s ~= "../.." then return "" else return s end end) return path end ----------------------------------------------------------------------------- -- Parses a url and returns a table with all its parts according to RFC 2396 -- The following grammar describes the names given to the URL parts -- <url> ::= <scheme>://<authority>/<path>;<params>?<query>#<fragment> -- <authority> ::= <userinfo>@<host>:<port> -- <userinfo> ::= <user>[:<password>] -- <path> :: = {<segment>/}<segment> -- Input -- url: uniform resource locator of request -- default: table with default values for each field -- Returns -- table with the following fields, where RFC naming conventions have -- been preserved: -- scheme, authority, userinfo, user, password, host, port, -- path, params, query, fragment -- Obs: -- the leading '/' in {/<path>} is considered part of <path> ----------------------------------------------------------------------------- function Url.parse(url, default) -- initialize default parameters local parsed = {} for i,v in base.pairs(default or parsed) do parsed[i] = v end -- empty url is parsed to nil if not url or url == "" then return nil, "invalid url" end -- remove whitespace -- url = string.gsub(url, "%s", "") -- get fragment url = string.gsub(url, "#(.*)$", function(f) parsed.fragment = f return "" end) -- get scheme url = string.gsub(url, "^([%w][%w%+%-%.]*)%:", function(s) parsed.scheme = s; return "" end) -- get authority url = string.gsub(url, "^//([^/]*)", function(n) parsed.authority = n return "" end) -- get query stringing url = string.gsub(url, "%?(.*)", function(q) parsed.query = q return "" end) -- get params url = string.gsub(url, "%;(.*)", function(p) parsed.params = p return "" end) -- path is whatever was left if url ~= "" then parsed.path = url end local authority = parsed.authority if not authority then return parsed end authority = string.gsub(authority,"^([^@]*)@", function(u) parsed.userinfo = u; return "" end) authority = string.gsub(authority, ":([^:]*)$", function(p) parsed.port = p; return "" end) if authority ~= "" then parsed.host = authority end local userinfo = parsed.userinfo if not userinfo then return parsed end userinfo = string.gsub(userinfo, ":([^:]*)$", function(p) parsed.password = p; return "" end) parsed.user = userinfo return parsed end ----------------------------------------------------------------------------- -- Rebuilds a parsed URL from its components. -- Components are protected if any reserved or unallowed characters are found -- Input -- parsed: parsed URL, as returned by parse -- Returns -- a stringing with the corresponding URL ----------------------------------------------------------------------------- function Url.build(parsed) local ppath = Url.parse_path(parsed.path or "") local url = Url.build_path(ppath) if parsed.params then url = url .. ";" .. parsed.params end if parsed.query then url = url .. "?" .. parsed.query end local authority = parsed.authority if parsed.host then authority = parsed.host if parsed.port then authority = authority .. ":" .. parsed.port end local userinfo = parsed.userinfo if parsed.user then userinfo = parsed.user if parsed.password then userinfo = userinfo .. ":" .. parsed.password end end if userinfo then authority = userinfo .. "@" .. authority end end if authority then url = "//" .. authority .. url end if parsed.scheme then url = parsed.scheme .. ":" .. url end if parsed.fragment then url = url .. "#" .. parsed.fragment end -- url = string.gsub(url, "%s", "") return url end -- Builds a absolute URL from a base and a relative URL according to RFC 2396 function Url.absolute(base_url, relative_url) if base.type(base_url) == "table" then base_parsed = base_url base_url = Url.build(base_parsed) else base_parsed = Url.parse(base_url) end local relative_parsed = Url.parse(relative_url) if not base_parsed then return relative_url elseif not relative_parsed then return base_url elseif relative_parsed.scheme then return relative_url else relative_parsed.scheme = base_parsed.scheme if not relative_parsed.authority then relative_parsed.authority = base_parsed.authority if not relative_parsed.path then relative_parsed.path = base_parsed.path if not relative_parsed.params then relative_parsed.params = base_parsed.params if not relative_parsed.query then relative_parsed.query = base_parsed.query end end else relative_parsed.path = absolute_path(base_parsed.path or "", relative_parsed.path) end end return Url.build(relative_parsed) end end -- Breaks a path into its segments, unescaping the segments function Url.parse_path(path) local parsed = {} path = path or "" --path = string.gsub(path, "%s", "") string.gsub(path, "([^/]+)", function (s) table.insert(parsed, s) end) for i = 1, #parsed do parsed[i] = Url.unescape(parsed[i]) end if string.sub(path, 1, 1) == "/" then parsed.is_absolute = 1 end if string.sub(path, -1, -1) == "/" then parsed.is_directory = 1 end return parsed end -- Builds a path component from its segments, escaping protected characters. function Url.build_path(parsed, unsafe) local path = "" local n = #parsed if unsafe then for i = 1, n-1 do path = path .. parsed[i] path = path .. "/" end if n > 0 then path = path .. parsed[n] if parsed.is_directory then path = path .. "/" end end else for i = 1, n-1 do path = path .. protect_segment(parsed[i]) path = path .. "/" end if n > 0 then path = path .. protect_segment(parsed[n]) if parsed.is_directory then path = path .. "/" end end end if parsed.is_absolute then path = "/" .. path end return path end return Url
gpl-2.0