repo_name
stringlengths
6
78
path
stringlengths
4
206
copies
stringclasses
281 values
size
stringlengths
4
7
content
stringlengths
625
1.05M
license
stringclasses
15 values
D-m-L/evonara
modules/libs/quickie/init.lua
17
1815
--[[ Copyright (c) 2012 Matthias Richter 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, distribu...
mit
AdamGagorik/darkstar
scripts/globals/abilities/pets/geocrush.lua
28
1448
--------------------------------------------------- -- Geocrush --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); --------------------------------------------------- ...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/qm2.lua
25
1099
----------------------------------- -- Area: Temple of Uggalepih -- NPC: ??? (Uggalepih Offering ITEM) -- @pos 388 0 269 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Temple_of_Uggalepih/TextIDs"); ...
gpl-3.0
teamactivebot/team-active
libs/XMLElement.lua
569
4025
-- Copyright 2009 Leo Ponomarev. Distributed under the BSD Licence. -- updated for module-free world of lua 5.3 on April 2 2015 -- Not documented at all, but not interesting enough to warrant documentation anyway. local setmetatable, pairs, ipairs, type, getmetatable, tostring, error = setmetatable, pairs, ipairs, typ...
gpl-2.0
mahmedhany128/Mr_BOT
libs/XMLElement.lua
569
4025
-- Copyright 2009 Leo Ponomarev. Distributed under the BSD Licence. -- updated for module-free world of lua 5.3 on April 2 2015 -- Not documented at all, but not interesting enough to warrant documentation anyway. local setmetatable, pairs, ipairs, type, getmetatable, tostring, error = setmetatable, pairs, ipairs, typ...
gpl-2.0
githubtelebot/Bot-telebot
plugins/banhammer.lua
8
13732
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned =...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Sea_Serpent_Grotto/npcs/Bou_the_Righteous.lua
13
1171
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: Bou the Righteous -- Type: Involved in the "Sahagin Key Quest" -- @zone: 176 -- @pos -125.029 46.568 -334.778 -- ----------------------------------- package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil; ---------------------------...
gpl-3.0
Wiladams/cream
ovs/testy/ovsctl_show.lua
1
5068
local ffi = require("ffi") local common = require("testy.ovctl_command_common") struct cmd_show_table { const struct ovsdb_idl_table_class *table; const struct ovsdb_idl_column *name_column; const struct ovsdb_idl_column *columns[3]; bool recurse; }; static struct cmd_show_table cmd_show_tables[] = ...
mit
rinstrum/LUA-LIB
src/rinSystem/utilities.lua
2
16207
------------------------------------------------------------------------------- --- System utilities functions. -- Functions for internal library use -- @module rinSystem.utilities -- @author Pauli -- @copyright 2014 Rinstrum Pty Ltd ------------------------------------------------------------------------------- local ...
gpl-3.0
luveti/Urho3D
bin/Data/LuaScripts/44_RibbonTrailDemo.lua
26
9254
-- Ribbon trail demo. -- This sample demonstrates how to use both trail types of RibbonTrail component. require "LuaScripts/Utilities/Sample" local boxNode1 = nil local boxNode2 = nil local swordTrail = nil local ninjaAnimCtrl = nil local timeStepSum = 0.0 local swordTrailStartTime = 0.2 local swordTrailEndTime = 0.4...
mit
AdamGagorik/darkstar
scripts/zones/Garlaige_Citadel/npcs/qm5.lua
13
1363
----------------------------------- -- Area: Garlaige Citadel -- NPC: qm5 (???) -- Involved in Quest: Hitting the Marquisate (THF AF3) -- @pos -259.927 -5.500 194.410 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/qm1.lua
13
1627
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: ??? -- Involved in Quests: Acting in Good Faith -- @zone 195 -- @pos -17 0 59 (I-10) -- @pos -- @pos -- @pos ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; -------------------------...
gpl-3.0
padrinoo1/teleback
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
josschne/BabyWomp
cocos2d/external/lua/luajit/src/dynasm/dasm_mips.lua
74
28080
------------------------------------------------------------------------------ -- DynASM MIPS module. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ -- Module information: local _i...
mit
Hostle/luci
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/splash_leases.lua
68
1118
-- Copyright 2013 Freifunk Augsburg / Michael Wendland <michael@michiwend.com> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.splash_leases", package.seeall) function rrdargs( graph, plugin, plugin_instance, dtype ) ...
apache-2.0
AdamGagorik/darkstar
scripts/zones/Southern_San_dOria/npcs/Blendare.lua
13
1883
----------------------------------- -- Area: Southern San d'Oria -- NPC: Blendare -- Type: Standard NPC -- @zone: 230 -- @pos 33.033 0.999 -30.119 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; -...
gpl-3.0
paritoshmmmec/kong
kong/plugins/keyauth/api.lua
13
1521
local crud = require "kong.api.crud_helpers" return { ["/consumers/:username_or_id/keyauth/"] = { before = function(self, dao_factory, helpers) crud.find_consumer_by_username_or_id(self, dao_factory, helpers) self.params.consumer_id = self.consumer.id end, GET = function(self, dao_factory, h...
mit
Maxsteam/bbbvvv
plugins/invite.lua
10
2350
--[[ Invite other user to the chat group. Use !invite 1234567890 (where 1234567890 is id_number) to invite a user by id_number. This is the most reliable method. Use !invite @username to invite a user by @username. Less reliable. Some users don't have @username. Use !invite Type print_name Here to invite a user by p...
gpl-2.0
AdamGagorik/darkstar
scripts/globals/weaponskills/blade_ei.lua
11
1213
----------------------------------- -- Blade Ei -- Katana weapon skill -- Skill Level: 175 -- Delivers a dark elemental attack. Damage varies with TP. -- Aligned with the Shadow Gorget. -- Aligned with the Shadow Belt. -- Element: Dark -- Modifiers: STR:30% ; INT:30% -- 100%TP 200%TP 300%TP -- 1.00 1.50 ...
gpl-3.0
AdamGagorik/darkstar
scripts/commands/capskill.lua
4
3044
--------------------------------------------------------------------------------------------------- -- func: capskill -- desc: Caps a specific skill. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, parameters = "s" }; function on...
gpl-3.0
mikeboers/Flask-Lightroom
Flask.lrdevplugin/FlaskUtils.lua
1
1210
local LrApplication = import 'LrApplication' local LrLogger = import 'LrLogger' local logger = LrLogger('FlaskUtils') logger:enable("print") logger:info("Loading module...") local M = {} local serializeMetadata = function(t) -- TODO: encode newlines. local k, v local res = "" for k, v in pairs(t)...
bsd-3-clause
AdamGagorik/darkstar
scripts/zones/Dynamis-Valkurm/mobs/Goblin_Replica.lua
6
1109
----------------------------------- -- Area: Dynamis Valkurm -- MOB: Goblin Replica ----------------------------------- package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Valkurm/TextIDs"); -----------...
gpl-3.0
tahashakiba/xx
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
TeleDALAD/test1
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
mamadtnt/new4
libs/mimetype.lua
3662
2922
-- Thanks to https://github.com/catwell/lua-toolbox/blob/master/mime.types do local mimetype = {} -- TODO: Add more? local types = { ["text/html"] = "html", ["text/css"] = "css", ["text/xml"] = "xml", ["image/gif"] = "gif", ["image/jpeg"] = "jpg", ["application/x-javascript"] = "js", ["application/atom...
gpl-2.0
AdamGagorik/darkstar
scripts/globals/spells/sleep_ii.lua
27
1112
----------------------------------------- -- Spell: Sleep II ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,spell...
gpl-3.0
josemrb/dotfiles
nvim/lua/profile/keymaps.lua
1
1555
-- local local set_keymap = _G.set_keymap -- modes -- normal_mode = "n", -- insert_mode = "i", -- visual_mode = "v", -- visual_block_mode = "x", -- term_mode = "t", -- command_mode = "c", -- clear keymap for leader key set_keymap {"", ",", ""} -- horizontal scrolling set_keymap {"", "zl", "zL"} set_keyma...
mit
rigeirani/bbb
plugins/help.lua
3
5000
do function pairsByKeys(t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
gpl-2.0
uladz/SimpleChatBubbles
Libs/LibAddonMenu-2.0/controls/submenu.lua
3
4128
--[[submenuData = { type = "submenu", name = "Submenu Title", -- or string id or function returning a string tooltip = "My submenu tooltip", -- -- or string id or function returning a string (optional) controls = {sliderData, buttonData} --(optional) used by LAM reference = "MyAddonSubmenu" --(optional) unique glo...
mit
TrurlMcByte/docker-prosody
etc/prosody-modules/mod_roster_allinall/mod_roster_allinall.lua
1
1580
local rostermanager = require"core.rostermanager"; local jid_join = require"util.jid".join; local host = module.host; local sessions = prosody.hosts[host].sessions; -- Make a *one-way* subscription. User will see when contact is online, -- contact will not see when user is online. local function subscribe(user, contac...
mit
AdamGagorik/darkstar
scripts/globals/spells/bluemagic/plasma_charge.lua
26
1394
----------------------------------------- -- Spell: Plasma Charge -- Covers you with magical lightning spikes. Enemies that hit you take lightning damage -- Spell cost: 24 MP -- Monster Type: Luminians -- Spell Type: Magical (Lightning) -- Blue Magic Points: 5 -- Stat Bonus: STR+3 DEX+3 -- Level: 75 -- Casting Time: 3 ...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/effects/prowess_killer.lua
34
2257
----------------------------------- -- -- EFFECT_PROWESS : "Killer" effects bonus -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:addMod(MOD_VERMIN_KILLER, effect:getPower()); targ...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Abyssea-Attohwa/Zone.lua
33
1487
----------------------------------- -- -- Zone: Abyssea - Attohwa -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Attohwa/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Abyssea-Attohwa/Te...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Maze_of_Shakhrami/npcs/Treasure_Chest.lua
13
3778
----------------------------------- -- 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"); requi...
gpl-3.0
Nathan22Miles/sile
lua-libraries/std.lua
6
5627
--[[-- Global namespace scribbler. For backwards compatibility with older releases, `require "std"` will inject the same functions into the global namespace as it has done previously, even though it is now deprecated. For new code, much better than scribbling all over the global namespace, it's more hygienic to...
mit
Nathan22Miles/sile
languages/tr.lua
1
4987
SILE.hyphenator.languages["tr"] = {}; SILE.hyphenator.languages["tr"].patterns = { "2a1", "2â1", "2e1", "2ı1", "2i1", "2î1", "2o1", "2ö1", "2u1", "2ü1", "2û1", -- allow hyphen either side of consonants "1b1", "1c1", "1ç1", "1d1", "1f1", "1g1", "1ğ1", "1h1", "1j1", "1k1", "1l1", "1m1", "1n1", "1p1", "1r1", "1s1", "1ş...
mit
AdamGagorik/darkstar
scripts/globals/items/copper_frog.lua
18
1405
----------------------------------------- -- ID: 4515 -- Item: copper_frog -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Agility 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItem...
gpl-3.0
Snazz2001/fbcunn
examples/imagenet/models/alexnetowt_cudnn.lua
8
2377
function createModel(nGPU) require 'cudnn' -- from https://code.google.com/p/cuda-convnet2/source/browse/layers/layers-imagenet-1gpu.cfg -- this is AlexNet that was presented in the One Weird Trick paper. http://arxiv.org/abs/1404.5997 local features = nn.Sequential() features:add(cudnn.SpatialConvoluti...
bsd-3-clause
yaoqi/Atlas
examples/tutorial-packets.lua
40
8516
--[[ $%BEGINLICENSE%$ Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved. This program 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; version 2 of the License. This program is dis...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Nashmau/TextIDs.lua
15
1843
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_CANNOT_BE_OBTAINEDX = 6378; -- You cannot obtain the ITEM_OBTAINED = 6384; -- Obtained: <item> ITEM_OBTAINEDX = 6393; -- You obtai...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Port_Bastok/npcs/Juroro.lua
26
5882
----------------------------------- -- Area: Port Bastok -- NPC: Juroro -- Starts and Finishes Quest: Trial by Earth -- @pos 32 7 -41 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scri...
gpl-3.0
rinstrum/LUA-LIB
tests/unit/powersOfTwo.lua
2
1157
------------------------------------------------------------------------------- -- Powers of Two unit test. -- @author Pauli -- @copyright 2014 Rinstrum Pty Ltd ------------------------------------------------------------------------------- describe("power of two test #pow2", function () package.loaded['rinLibrary...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Xarcabard/npcs/qm4.lua
13
1642
----------------------------------- -- Area: Xarcabard -- NPC: qm4 (???) -- Involved in Quests: Atop the Highest Mountains -- @pos -21 -25 -490 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requ...
gpl-3.0
rigeirani/bbb
bot/utils.lua
494
23873
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
r1k/vlc
share/lua/playlist/france2.lua
11
2130
--[[ $Id$ Copyright © 2008 the VideoLAN team Authors: Antoine Cellerier <dionoea at videolan dot org> This program 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 2 of the License, or (at ...
gpl-2.0
AdamGagorik/darkstar
scripts/globals/abilities/jump.lua
11
2135
----------------------------------- -- Ability: Jump -- Delivers a short jumping attack on a targeted enemy. -- Obtained: Dragoon Level 10 -- Recast Time: 1:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/weapo...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/spells/bluemagic/stinking_gas.lua
26
1352
----------------------------------------- -- Spell: Stinking Gas -- Lowers Vitality of enemies within range -- Spell cost: 37 MP -- Monster Type: Undead -- Spell Type: Magical (Wind) -- Blue Magic Points: 2 -- Stat Bonus: AGI+1 -- Level: 44 -- Casting Time: 4 seconds -- Recast Time: 60 seconds -- Magic Bursts on: Deton...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Cloister_of_Flames/bcnms/trial_by_fire.lua
27
1863
----------------------------------- -- Area: Cloister of Flames -- BCNM: Trial by Fire -- @pos -721 0 -598 207 ----------------------------------- package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil; ------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/quests...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/LaLoff_Amphitheater/npcs/qm0_2.lua
13
1157
----------------------------------- -- Area: LaLoff_Amphitheater -- NPC: qm0 (warp player outside after they win fight) ------------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ------------------------------------- require("scripts/zones/LaLoff_Amphitheater/TextIDs"); ...
gpl-3.0
luveti/Urho3D
bin/Data/LuaScripts/35_SignedDistanceFieldText.lua
26
7747
-- Signed distance field text example. -- This sample demonstrates: -- - Creating a 3D scene with static content -- - Creating a 3D text use SDF Font -- - Displaying the scene using the Renderer subsystem -- - Handling keyboard and mouse input to move a freelook camera require "LuaScripts/Utilities/Sam...
mit
AdamGagorik/darkstar
scripts/globals/spells/spirited_etude.lua
27
1846
----------------------------------------- -- Spell: Spirited Etude -- Static MND Boost, BRD 24 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onM...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/San_dOria-Jeuno_Airship/TextIDs.lua
22
1088
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6384; -- Obtained: <item> GIL_OBTAINED = 6385; -- Obtained <number> gil KEYITEM_OBTAINED = 6387; -- Obtain...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/RuLude_Gardens/npcs/Pursuivant.lua
13
1049
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Pursuivant -- Type: Pursuivant -- @zone: 243 -- @pos 52.020 -1 -17.813 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ---------------...
gpl-3.0
TheComet93/chocobun
premake4.lua
1
4188
------------------------------------------------------------------- -- Chocobun build script ------------------------------------------------------------------- -- Windows specific settings if os.get() == "windows" then -- global header include directories headerSearchDirs = { "chocobun-core", "choco...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Cloister_of_Storms/npcs/Lightning_Protocrystal.lua
27
1967
----------------------------------- -- Area: Cloister of Storms -- NPC: Lightning Protocrystal -- Involved in Quests: Trial by Lightning -- @pos 534.5 -13 492 202 ----------------------------------- package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil; ------------------------------------- require("script...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Valkurm_Dunes/mobs/Valkurm_Emperor.lua
7
1118
---------------------------------- -- Area: Valkurm Dunes -- NM: Valkurm Emperor ----------------------------------- ----------------------------------- -- onMobDeath ----------------------------------- function onMobDeath(mob,killer,ally) -- Set VE's Window Open Time SetServerVariable("[POP]Valkurm_Empero...
gpl-3.0
evgenyz/mpv
player/lua/ytdl_hook.lua
8
9761
local utils = require 'mp.utils' local msg = require 'mp.msg' local ytdl = { path = "youtube-dl", minver = "2015.02.23.1", vercheck = nil, } local function exec(args) local ret = utils.subprocess({args = args}) return ret.status, ret.stdout, ret end -- return if it was explicitly set on the comma...
gpl-2.0
githubtelebot/Bot-telebot
plugins/inpm.lua
8
2998
do local function pairsByKeys (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fg.lua
13
1077
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Titan's Gate -- @pos 100 -34 -71 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); -----...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Behemoths_Dominion/Zone.lua
12
1901
----------------------------------- -- -- Zone: Behemoths_Dominion (127) -- ----------------------------------- package.loaded["scripts/zones/Behemoths_Dominion/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/Behemoths_Do...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Diorama_Abdhaljs-Ghelsba/Zone.lua
19
1095
----------------------------------- -- -- Zone: Diorama_Abdhaljs-Ghelsba -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Diorama_Abdhaljs-Ghelsba/TextIDs"] = nil; require("scripts/zones/Diorama_Abdhaljs-Ghelsba/TextIDs"); ----------------------------------- ...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/tavnazian_taco.lua
17
1872
----------------------------------------- -- ID: 5174 -- Item: tavnazian_taco -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 20 -- Magic 20 -- Dexterity 4 -- Agility 4 -- Vitality 6 -- Charisma 4 -- Defense % 25 -- HP Recovered While Healing 1 -- MP Recovered While Healing 1 -- Def...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/broiled_trout.lua
18
1274
----------------------------------------- -- ID: 4587 -- Item: Broiled Trout -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 4 -- Mind -1 -- Ranged ATT % 14 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- --...
gpl-3.0
Nathan22Miles/sile
packages/footnotes.lua
1
1673
-- Footnotes class -- Exports: The \footnote command -- outputInsertions (call this in endPage) SILE.require("packages/counters") SILE.require("packages/raiselower") local insertions = SILE.require("packages/insertions") SILE.scratch.counters.footnote = { value= 1, display= "arabic" }; SILE.registerCommand(...
mit
sbuettner/kong
spec/unit/dao/cassandra/query_builder_spec.lua
13
6551
local builder = require "kong.dao.cassandra.query_builder" describe("Query Builder", function() local apis_details = { primary_key = {"id"}, clustering_key = {"cluster_key"}, indexes = {public_dns = true, name = true} } describe("SELECT", function() it("should build a SELECT query", function()...
mit
sjznxd/lc-20130204
libs/rpcc/luasrc/rpcc.lua
93
2227
--[[ LuCIRPCc (c) 2009 Steven Barth <steven@midlink.org> 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$ ]]-- local util = require "luci.ut...
apache-2.0
AdamGagorik/darkstar
scripts/globals/items/heart_chocolate.lua
18
1124
----------------------------------------- -- ID: 4497 -- Item: heart_chocolate -- Food Effect: 60Min, All Races ----------------------------------------- -- Magic Regen While Healing 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck...
gpl-3.0
ThatOneBro/permweps
lua/entities/permweps_vip/cl_init.lua
1
1719
include( "shared.lua" ) local function PermWepsVIPShop( ) local pShop = vgui.Create( "DFrame" ) pShop:SetSize( 400, 400 ) pShop:SetPos( ScrW( )*0.5, ScrH( )*0.5 ) pShop:SetTitle( "PermWeps VIP Shop" ) pShop:SetSizable( true ) pShop:SetDeleteOnClose( false ) pShop:Center( ) pShop:MakePopup( ) local button_he...
mit
AdamGagorik/darkstar
scripts/globals/spells/bluemagic/wild_oats.lua
26
1924
----------------------------------------- -- Spell: Wild Oats -- Additional effect: Vitality Down. Duration of effect varies on TP -- Spell cost: 9 MP -- Monster Type: Plantoids -- Spell Type: Physical (Piercing) -- Blue Magic Points: 3 -- Stat Bonus: CHR+1, HP+10 -- Level: 4 -- Casting Time: 0.5 seconds -- Recast Time...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/ear_of_grilled_corn.lua
18
1280
----------------------------------------- -- ID: 4334 -- Item: ear_of_grilled_corn -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 10 -- Vitality 4 -- Health Regen While Healing 1 ----------------------------------------- require("scripts/globals/status"); ------------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Port_San_dOria/npcs/Antreneau.lua
13
2158
----------------------------------- -- Area: Port San d'Oria -- NPC: Antreneau -- Type: Standard NPC -- @zone: 232 -- @pos -71 -5 -39 -- -- Involved in Quest: A Taste For Meat ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- req...
gpl-3.0
sbuettner/kong
spec/integration/proxy/api_resolver_spec.lua
1
8470
local ssl = require "ssl" local url = require "socket.url" local cjson = require "cjson" local utils = require "kong.tools.utils" local socket = require "socket" local constants = require "kong.constants" local spec_helper = require "spec.spec_helpers" local http_client = require "kong.tools.http_client" local STUB_GE...
mit
osxi/hammerspoon-dotfiles
init.lua
1
2470
hs.hotkey.bind({"cmd", "alt", "ctrl"}, "Left", function() local win = hs.window.focusedWindow() local f = win:frame() local screen = win:screen() local max = screen:frame() f.x = max.x f.y = max.y f.w = max.w / 2 f.h = max.h win:setFrame(f) end) hs.hotkey.bind({"cmd", "alt", "ctrl"}, "Right", funct...
mit
shahabsaf1/Teleseed-sami
plugins/stats.lua
866
4001
do -- Returns a table with `name` and `msgs` local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_prin...
gpl-2.0
cypherkey/AvorionMission
entity/backup.lua
1
3077
package.path = package.path .. ";data/scripts/lib/?.lua" require ("galaxy") require ("utility") require ("faction") ShipGenerator = require("shipgenerator") local timeUntilBackup = 0 local damageUntilBackup = 0 local damageTaken = 0 -- if this function returns false, the script will not be listed in the interaction w...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/globals/abilities/pets/flame_breath.lua
29
1335
--------------------------------------------------- -- Flame Breath --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/ability"); -----------------------------------------------...
gpl-3.0
jefferycn/wxq
iPhone-4S/fengyun.lua
1
4231
-- 适用屏幕参数 SCREEN_RESOLUTION="640x960"; SCREEN_COLOR_BITS=32; count=1; isitend=0; timeout=0; --在keepScreen(true)和keepScreen(false)之间屏幕图片内容在内存中保持不变 function main() mSleep(2000); while count < 6000 and isitend==0 do heartBeat(); keepScreen(true); --小关完结继续战斗, 149,520,0xAFA18B skip...
mit
bmscoordinators/FFXI-Server
scripts/zones/Castle_Oztroja/npcs/_47j.lua
14
1628
----------------------------------- -- Area: Castle Oztroja -- NPC: _47j (Torch Stand) -- Notes: Opens door _472 near password #1 -- @pos -62.533 -1.859 -30.634 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
deepak78/luci
libs/nixio/docsrc/nixio.lua
151
15824
--- General POSIX IO library. module "nixio" --- Look up a hostname and service via DNS. -- @class function -- @name nixio.getaddrinfo -- @param host hostname to lookup (optional) -- @param family address family [<strong>"any"</strong>, "inet", "inet6"] -- @param service service name or port (optional) -- @return ...
apache-2.0
suxinde2009/wesnoth
data/ai/micro_ais/cas/ca_stationed_guardian.lua
4
4538
local H = wesnoth.require "lua/helper.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" local function get_guardian(cfg) local filter = H.get_child(cfg, "filter") or { id = cfg.id } local guardian = AH.get_units_with_moves { side = wesnoth.current.side, { "and", filter } }[1] retur...
gpl-2.0
pakozm/april-ann
packages/basics/matrix/lua_src/matrixChar.lua
2
1971
class.extend_metamethod(matrixChar, "__len", function(self) return self:dim(1) end) class.extend_metamethod(matrixChar, "__ipairs", function(self) return function(self,i) i = i+1 if i <= #self then return i,self[i]...
gpl-3.0
cheney247689848/Cloud-edge
Assets/ToLua/Lua/System/Injection/LuaInjectionBus.lua
5
1154
--[[MIT License Copyright (c) 2018 Jonson 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, distri...
mit
pakozm/april-ann
packages/basics/random/lua_src/random.lua
3
4863
--------------------------- -- BINDING DOCUMENTATION -- --------------------------- april_set_doc(random, { class = "class", summary = "Pseudo-random numbers generator", }) april_set_doc(random, { class = "method", summary = "Constructor", description ={ "Constructor of random objects", }, pa...
gpl-3.0
vovkos/doxyrest
frame/common/string.lua
2
2486
-------------------------------------------------------------------------------- -- -- This file is part of the Doxyrest toolkit. -- -- Doxyrest is distributed under the MIT license. -- For details see accompanying license.txt file, -- the public copy of which is also available at: -- http://tibbo.com/downloads/a...
mit
Element-Research/rnn
init.lua
2
1901
require 'dpnn' require 'torchx' dpnn.version = dpnn.version or 0 assert(dpnn.version > 1, "Please update dpnn : luarocks install dpnn") -- create global rnn table: rnn = {} rnn.version = 2 rnn.version = 2.1 -- [get,set][Grad]HiddenState(step) unpack = unpack or table.unpack torch.include('rnn', 'recursiveUtils.lua')...
bsd-3-clause
Penguinum/keyboard-war
main.lua
1
3107
local moon = require "moonyscript" moon.insert_loader() local StateManager = require "lib.StateManager" local SceneManager = require "lib.SceneManager" local MusicManager = require "lib.MusicPlayer" local Controller = require "lib.Controller" -- Lovedebug -- require "lib.lovedebug" _lovedebugpresskey = "~" -- luachec...
mit
rizaumami/tdcliBot
plugins/pun.lua
1
10165
do local puns = { "The person who invented the door-knock won the No-bell prize.", "I couldn't work out how to fasten my seatbelt. Then it clicked.", "Never trust atoms; they make up everything.", "Singing in the shower is all fun and games until you get shampoo in your mouth - Then it becomes a soap...
gpl-3.0
deepak78/luci
applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua
141
1038
--[[ smap_devinfo - SIP Device Information (c) 2009 Daniel Dickinson 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$ ]]-- require("luci.i18n") re...
apache-2.0
bmscoordinators/FFXI-Server
scripts/zones/The_Eldieme_Necropolis/npcs/Cannau.lua
14
1052
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Cannau -- Type: Escort NPC -- @pos 419.838 -56.999 -114.870 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldiem...
gpl-3.0
kerb9729/ESOPublicAddons
Teleporter/libs/LibAddonMenu-2.0/controls/slider.lua
6
6873
--[[sliderData = { type = "slider", name = "My Slider", tooltip = "Slider's tooltip text.", min = 0, max = 20, step = 1, --(optional) getFunc = function() return db.var end, setFunc = function(value) db.var = value doStuff() end, width = "full", --or "half" (optional) disabled = function() return db.someBoole...
bsd-3-clause
bmscoordinators/FFXI-Server
scripts/globals/items/cyclical_coalescence.lua
12
1524
----------------------------------------- -- ID: 6225 -- Item: Cyclical coalescence -- Food Effect: 30 Min, All Races ----------------------------------------- -- MP +30% (cap 110) -- INT +7 -- MND +7 -- Magic Atk. Bonus +15 -- Lizard Killer +7 ----------------------------------------- require("scripts/globals/status"...
gpl-3.0
mohammadrezatitan/maikel
plugins/groupmanager.lua
2
107536
local function modadd(msg) local hash = "gp_lang:"..msg.to.id local lang = redis:get(hash) -- superuser and admins only (because sudo are always has privilege) if not is_admin(msg) then if not lang then return '_You are not bot admin_' else return 'شما مدیر ربات نمیباشید' end end local d...
gpl-3.0
lxbgit/luarocks
src/luarocks/type_check.lua
14
11451
--- Type-checking functions. -- Functions and definitions for doing a basic lint check on files -- loaded by LuaRocks. --module("luarocks.type_check", package.seeall) local type_check = {} package.loaded["luarocks.type_check"] = type_check local cfg = require("luarocks.cfg") local deps = require("luarocks.deps") type...
mit
colesbury/nn
Replicate.lua
18
1682
local Replicate, parent = torch.class('nn.Replicate','nn.Module') function Replicate:__init(nf, dim, ndim) parent.__init(self) self.nfeatures = nf self.dim = dim or 1 self.ndim = ndim assert(self.dim > 0, "Can only replicate across positive integer dimensions.") end function Replicate:updateOutput(inpu...
bsd-3-clause
bmscoordinators/FFXI-Server
scripts/zones/Temenos/mobs/Enhanced_Dragon.lua
26
1283
----------------------------------- -- Area: Temenos Central 1floor -- NPC: Enhanced_Dragon ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ------------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/Temenos/Zone.lua
35
4896
----------------------------------- -- -- Zone: Temenos (37) -- ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Temenos/TextIDs"); require("scripts/globals/limbus"); -------------...
gpl-3.0
bmscoordinators/FFXI-Server
scripts/zones/The_Eldieme_Necropolis/TextIDs.lua
7
2300
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6544; -- Obtained: <item> GIL_OBTAINED = 6545; -- Obtained <number> gil KEYITEM_OBTAINED = 6547; -- Obtain...
gpl-3.0
Element-Research/rnn
Recurrence.lua
3
6947
------------------------------------------------------------------------ --[[ Recurrence ]]-- -- A general container for implementing a recurrence. -- Unlike Recurrent, this module doesn't manage a separate input layer, -- nor does it have a startModule. Instead for the first step, it -- just forwards a zero tensor thr...
bsd-3-clause
stdavids/PSP-Lua-Mono
cloud.lua
1
1488
cloud = {} cloud.texture = pge.texture.load("gfx/sky/cloud.png",PGE_RAM) cloud.nextTimer = pge.timer.create() cloud.ctr = 1 cloud.cld = {} for i=1,10 do cloud.cld[i] = { bool = false, x = 0, y = 0, dir = 0, spd = 0, oldbool = false } end function cloud.create () if (cloud.nextTimer:peekdelta() >= .1) then if ((mat...
gpl-2.0
deepak78/luci
applications/luci-asterisk/luasrc/model/cbi/asterisk-voice.lua
80
1493
--[[ 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 h...
apache-2.0