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 |
|---|---|---|---|---|---|
barryk/CHDK-SD1200 | CHDK/SCRIPTS/examples/stopwatch.lua | 9 | 1211 | --stopwatch.lua by Kettmeister & msl from the german forum
--[[
@title stopwatch
@param a split time (1)/lap time(0)
@default a 1
]]
--declare functions
--formating output (thx fbonomi)
function format_nn(n)
r=tostring(n)
if n<10 then
r= "0" .. n
end
return r
end
--get stop time and print
function to_... | gpl-2.0 |
MohammadPishro/Spam-Detector | config.lua | 1 | 6139 | return {
bot_api_key = '250803352:AAGVd91-Zn__r1nEyUkENSjEZGHcNf_moew',
version = '4.0',
cmd = '^[/!#]',
db = 2, --default redis db: 0
admin = {
owner = 102924326,
admins = {
[102924326] = true
}
},
log_chat = -1001057801239,
bot_settings = {
cache_time = {
adminlist = 18000, --5 hours (18000s)
... | gpl-2.0 |
the-useless-one/useless_dotfiles | config/awesome/themes/zenburn/theme.lua | 6 | 5400 | -------------------------------
-- "Zenburn" awesome theme --
-- By Adrian C. (anrxc) --
-------------------------------
-- Alternative icon sets and widget icons:
-- * http://awesome.naquadah.org/wiki/Nice_Icons
-- {{{ Main
theme = {}
theme.wallpaper_cmd = { "awsetbg /usr/share/awesome/themes/zenburn/zenburn... | gpl-3.0 |
cochrane/OpenTomb | scripts/level/tr1/LEVEL1.lua | 2 | 1111 | -- OPENTOMB STATIC MESH COLLISION SCRIPT
-- FOR TOMB RAIDER, LEVEL1 (CAVES)
print("Level script loaded (LEVEL1.lua)");
-- STATIC COLLISION FLAGS ------------------------------------------------------
--------------------------------------------------------------------------------
static_tbl[06] = {coll = COLLISION_T... | lgpl-3.0 |
cochrane/OpenTomb | scripts/level/tr2/WALL.lua | 2 | 1189 | -- OPENTOMB LEVEL SCRIPT
-- FOR TOMB RAIDER 2, WALL.TR2
print("Level script loaded (WALL.lua)");
-- STATIC COLLISION FLAGS ------------------------------------------------------
--------------------------------------------------------------------------------
static_tbl[00] = {coll = COLLISION_TYPE_STATIC, shape = C... | lgpl-3.0 |
plinkopenguin/wire-extras | lua/entities/gmod_wire_realmagnet/init.lua | 1 | 3369 |
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include('shared.lua')
ENT.OverlayUpdateRate=2
ENT.LastOverlayUpdate=1
ENT.WireDebugName = "Magnet"
function ENT:Initialize()
--self:SetModel("models/props_junk/gascan001a.mdl")
self:PhysicsInit( SOLID_VPHYSICS )
self:SetMoveType( MOVETYPE_VPHY... | gpl-3.0 |
jackscott/thrift | test/lua/test_basic_client.lua | 57 | 7626 | -- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file ... | apache-2.0 |
barryk/CHDK-SD1200 | CHDK/SCRIPTS/examples/input_1.lua | 9 | 2958 | --[[
@title char input
@param f key delay
@default f 200
]]
key_delay = f
output=""
function button()
local x = 0
repeat
wait_click(key_delay)
if is_pressed "remote" then
key = "REMOTE"
x = 1
end
if is_pressed "set" then
key = "SET"
x = 1
end
if is_pressed "erase" then
key = "ERASE"
x =... | gpl-2.0 |
cochrane/OpenTomb | scripts/level/tr4/BIKEBIT.lua | 2 | 4662 | -- OPENTOMB LEVEL SCRIPT
-- FOR TOMB RAIDER 4, BIKEBIT.TR4
print("Level script loaded (BIKEBIT)");
-- STATIC COLLISION FLAGS ------------------------------------------------------
--------------------------------------------------------------------------------
static_tbl[01] = {coll = COLLISION_TYPE_NONE, shape = ... | lgpl-3.0 |
loringmoore/The-Forgotten-Server | data/spells/scripts/custom/apocalypse.lua | 14 | 1199 | local combat = createCombatObject()
arr = {
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1,... | gpl-2.0 |
TheUltimateMuffin/MineWacke | town_protection/init.lua | 1 | 3655 | meta_save_location = vector.new(0,0,0)
local function town_center_after_place_node(pos, placer, itemstack, pointed_thing)
local meta = minetest.env:get_meta(pos)
local protection_positions = {}
meta:set_int("posx", 0)
meta:set_int("posy", 0)
meta:set_int("posz", 0)
meta:set_int("negx", 0)
meta:set_int("negy", 0... | lgpl-2.1 |
cochrane/OpenTomb | scripts/level/tr3/COMPOUND.lua | 2 | 2403 | -- OPENTOMB LEVEL SCRIPT
-- FOR TOMB RAIDER 3, COMPOUND.TR2
print("Level script loaded (COMPOUND.lua)");
-- STATIC COLLISION FLAGS ------------------------------------------------------
--------------------------------------------------------------------------------
static_tbl[10] = {coll = COLLISION_TYPE_STATIC, sh... | lgpl-3.0 |
paulmarsy/Console | Libraries/nmap/App/nselib/ipp.lua | 6 | 12844 | local bin = require "bin"
local http = require "http"
local nmap = require "nmap"
local os = require "os"
local stdnse = require "stdnse"
local tab = require "tab"
local table = require "table"
_ENV = stdnse.module("ipp", stdnse.seeall)
---
--
-- A small CUPS ipp (Internet Printing Protocol) library implementation
--
... | mit |
lcheylus/haka | lib/haka/lua/lua/dissector.lua | 3 | 8024 | -- This Source Code Form is subject to the terms of the Mozilla Public
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at http://mozilla.org/MPL/2.0/.
local class = require('class')
local check = require('check')
local type = {}
local dissector = {}
local log = haka.... | mpl-2.0 |
deepak78/new-luci | protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_ppp.lua | 47 | 3692 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local device, username, password
local ipv6, defaultroute, metric, peerdns, dns,
keepalive_failure, keepalive_interval, demand, mtu
device = section:taboption("general", Value... | apache-2.0 |
rollokb/tsdemuxer | xupnpd/src/profiles/skel/skel.lua | 5 | 2519 | -- Copyright (C) 2011-2012 Anton Burdinuk
-- clark15b@gmail.com
-- https://tsdemuxer.googlecode.com/svn/trunk/xupnpd
-- skeleton
profiles['Skeleton']=
{
-- comment this for enable
['disabled']=true,
-- device description
['desc']='Skeleton for example',
-- function which identifies device by Use... | mit |
rollokb/tsdemuxer | xupnpd/src/plugins/staff/xupnpd_ex.lua | 6 | 3479 | -- Copyright (C) 2012
--- Uses PARAMETER of [url]http://www.ex.ua/view/PARAMETER?r=23775[/url] on [url]http://www.ex.ua/ru/video[/url]
-- <guid isPermaLink="false">PARAMETER</guid> on [url]http://www.ex.ua/rss/23775[/url]
--
-- 23775 - ВИДЕО (раздел)
-- 70538 - НАШЕ (подраздел)
-- v=1,0 - показывать списком, но... | mit |
iamliqiang/prosody-modules | mod_delegation/mod_delegation.lua | 16 | 17451 | -- XEP-0355 (Namespace Delegation)
-- Copyright (C) 2015 Jérôme Poisson
--
-- This module is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
-- This module manage namespace delegation, a way to delegate server features
-- to an external entity/component. Only the admin mode... | mit |
spacebuild/sbep | lua/entities/sbep_base_door/init.lua | 2 | 17719 | AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include( "shared.lua" )
ENT.WireDebugName = "SBEP Door"
local DTT = {}
--[[DTT[ "Door Type Name (Class)" ] = { { model = "models/examplemodelpath.mdl" , UD = Length of sequence (s) , OD = time before door can be walked though , CD = time before door beco... | apache-2.0 |
m-creations/openwrt | feeds/routing/luci-app-cjdns/luasrc/controller/cjdns.lua | 10 | 2652 | module("luci.controller.cjdns", package.seeall)
cjdns = require "cjdns/init"
dkjson = require "dkjson"
function index()
if not nixio.fs.access("/etc/config/cjdns") then
return
end
entry({"admin", "services", "cjdns"},
cbi("cjdns/overview"), _("cjdns")).dependent = true
entry({"admin", "services", "cjdns", ... | gpl-2.0 |
MmxBoy/Metal-bot | plugins/bugzilla.lua | 611 | 3983 | do
local BASE_URL = "https://bugzilla.mozilla.org/rest/"
local function bugzilla_login()
local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password
print("accessing " .. url)
local res,code = https.request( url )
local data = json:decode(res)
return data
... | gpl-2.0 |
nl253/Dot-files | .vim/after/ftplugin/markdown/task-list.lua | 1 | 3843 | local List = require 'pandoc.List'
local M = {}
local function is_html (format)
return format == 'html' or format == 'html4' or format == 'html5'
end
--- Create a ballot box for the given output format.
function M.ballot_box (format)
if is_html(format) then
return pandoc.RawInline(
'html',
'<inpu... | mit |
m-creations/openwrt | feeds/luci/applications/luci-app-vnstat/luasrc/model/cbi/vnstat.lua | 78 | 1816 | -- Copyright 2010-2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local utl = require "luci.util"
local sys = require "luci.sys"
local fs = require "nixio.fs"
local nw = require "luci.model.network"
local dbdir, line
for line in io.lines("/etc/vnstat.conf") do
dbdir ... | gpl-2.0 |
SlimSaber/android_external_skia | tools/lua/bitmap_statistics.lua | 207 | 1862 | function string.startsWith(String,Start)
return string.sub(String,1,string.len(Start))==Start
end
function string.endsWith(String,End)
return End=='' or string.sub(String,-string.len(End))==End
end
local canvas = nil
local num_perspective_bitmaps = 0
local num_affine_bitmaps = 0
local num_scaled_bitmaps = 0
loc... | bsd-3-clause |
rasolllll/tele_gold | plugins/inrealm.lua | 850 | 25085 | -- 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_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
deepak78/new-luci | applications/luci-app-multiwan/luasrc/controller/multiwan.lua | 62 | 1929 | module("luci.controller.multiwan", package.seeall)
function index()
local fs = require "nixio.fs"
if not fs.access("/etc/config/multiwan") then
return
end
local page
page = entry({"admin", "network", "multiwan"}, cbi("multiwan/multiwan"), _("Multi-WAN"))
page.dependent = true
entry({"admin", "network", "m... | apache-2.0 |
vzaramel/kong | kong/plugins/rate-limiting/access.lua | 6 | 2468 | local constants = require "kong.constants"
local timestamp = require "kong.tools.timestamp"
local responses = require "kong.tools.responses"
local _M = {}
local function get_identifier()
local identifier
-- Consumer is identified by ip address or authenticated_entity id
if ngx.ctx.authenticated_entity then
... | apache-2.0 |
LegionXI/darkstar | scripts/zones/Mount_Kamihr/Zone.lua | 30 | 1254 | -----------------------------------
--
-- Zone: Mount Kamihr
--
-----------------------------------
package.loaded["scripts/zones/Mount_Kamihr/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Mount_Kamihr/TextIDs");
-----------------------------------
--... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/galkan_sausage_+2.lua | 12 | 1357 | -----------------------------------------
-- ID: 5860
-- Item: galkan_sausage_+2
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 5
-- Intelligence -6
-- Attack 11
-- Ranged Attack 11
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ActionTimelineNode.lua | 11 | 1809 |
--------------------------------
-- @module ActionTimelineNode
-- @extend Node
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ActionTimelineNode] getRoot
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [paren... | mit |
greasydeal/darkstar | scripts/globals/spells/bluemagic/smite_of_rage.lua | 28 | 1707 | -----------------------------------------
-- Spell: Smite of Rage
-- Damage varies with TP
-- Spell cost: 28 MP
-- Monster Type: Arcana
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 3
-- Stat Bonus: AGI+3
-- Level: 34
-- Casting Time: 0.5 seconds
-- Recast Time: 13 seconds
-- Skillchain Element(s)... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/mobskills/dancing_chains.lua | 11 | 1058 | ---------------------------------------------
-- Dancing Chains
--
-- Description: Additional effect: Drown
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes:
---------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status"... | gpl-3.0 |
evrooije/beerarchy | mods/00_bt_misc/intllib/init.lua | 2 | 3701 |
-- Old multi-load method compatibility
if rawget(_G, "intllib") then return end
intllib = {
getters = {},
strings = {},
}
local MP = minetest.get_modpath("intllib")
dofile(MP.."/lib.lua")
local LANG = minetest.setting_get("language")
if not (LANG and (LANG ~= "")) then LANG = os.getenv("LANG") end
if not (LANG... | lgpl-2.1 |
naclander/tome | game/engines/default/engine/dialogs/AudioOptions.lua | 3 | 2335 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later version.... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Western_Altepa_Desert/npcs/qm2.lua | 9 | 1412 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: qm2 (???)
-- Involved in Mission: Bastok 6-1
-- !pos -325 0 -111 125
-----------------------------------
local ID = require("scripts/zones/Western_Altepa_Desert/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
-----... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/The_Celestial_Nexus/bcnms/celestial_nexus.lua | 13 | 1989 | -----------------------------------
-- Area: The Celestial Nexus
-- Name: The Celestial Nexus (ZM16)
-----------------------------------
package.loaded["scripts/zones/The_Celestial_Nexus/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/missions");
requi... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/heat_rod.lua | 41 | 1097 | -----------------------------------------
-- ID: 17071
-- Item: Heat Rod
-- Additional Effect: Lightning Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
------------------------------... | gpl-3.0 |
pokemoncentral/wiki-lua-modules | Stats.lua | 1 | 28242 | --[[
This module displays wikicode for anything
related to a set of values for all six statistics.
So far, it can display stats for a single
Pokémon, the average for a single type and
user-supplied values
--]]
local s = {}
local txt = require('Wikilib-strings') -- luacheck: no unused
local tab = require('Wikilib-ta... | cc0-1.0 |
evrooije/beerarchy | mods/00_bt_mobs/dmobs/mobs/golem.lua | 1 | 1104 | --stone golem
mobs:register_mob("dmobs:golem", {
type = "monster",
reach = 3,
damage = 4,
attack_type = "dogfight",
hp_min = 62,
hp_max = 72,
armor = 100,
collisionbox = {-0.4, 0, -0.4, 0.4, 2.5, 0.4},
visual = "mesh",
mesh = "golem.b3d",
textures = {
{"dmobs_golem.png"},
},
blood_texture = "default_st... | lgpl-2.1 |
OpenPrograms/SuPeRMiNoR2-Programs | osmagdoor/osmag.lua | 1 | 3117 | local serialization = require("serialization")
local filesystem = require("filesystem")
m = {}
dbfile = "/authdb.dat"
logfile = "/authlog.txt"
function m.makeCode()
local l = 10
local s = ""
for i = 1, l do
s = s .. string.char(math.random(97, 122))
end
return s
end
function m.loadDB()
... | mit |
naclander/tome | game/engines/default/engine/ui/VariableList.lua | 3 | 6717 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later version.... | gpl-3.0 |
gwlim/luci | modules/admin-full/luasrc/controller/admin/index.lua | 79 | 1245 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 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$
]]--
mod... | apache-2.0 |
greasydeal/darkstar | scripts/globals/spells/knights_minne_v.lua | 13 | 1519 | -----------------------------------------
-- Spell: Knight's Minne V
-- Grants Defense bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastin... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/bowl_of_sunset_soup.lua | 35 | 1498 | -----------------------------------------
-- ID: 4341
-- Item: bowl_of_sunset_soup
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- Agility 3
-- Vitality -1
-- HP Recovered While Healing 5
-- Ranged Accuracy % 9 (cap 20)
-----------------------------------------
require("scripts/... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Al_Zahbi/npcs/Devonte.lua | 14 | 1034 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Devonte
-- Type: Standard NPC
-- @zone 48
-- @pos 29.449 -1 142.671
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
------------------------------... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/weaponskills/death_blossom.lua | 10 | 2640 | -----------------------------------
-- Death Blossom
-- Sword weapon skill (RDM main only)
-- Description: Delivers a threefold attack that lowers target's magic evasion. Chance of lowering target's magic evasion varies with TP. Murgleis: Aftermath effect varies with TP.
-- Lowers magic evasion by up to 10.
-- Effect l... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Shattered_Telepoint.lua | 9 | 1913 | -----------------------------------
-- Area: Tahrongi_Canyon
-- NPC: Shattered Telepoint
-- !pos 179 35 255 117
-----------------------------------
local ID = require("scripts/zones/Tahrongi_Canyon/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
-----------------------------------
functi... | gpl-3.0 |
Startg/security | plugins/report.lua | 4 | 1671 | -- Begin report.lua
local function run(msg, matches)
local ldata = load_data(_config.moderation.data)
if matches[1]:lower() == 'setmaster' and is_admin(msg) then
local idmas = matches[2]
local chk = ldata[tostring(msg.chat_id_)]["master"]
if chk then
ldata[tostring(msg.chat_id_)]["master"]["id"] = idmas
... | gpl-3.0 |
gchanan/TemporalConvolutionTBC | init.lua | 1 | 1814 | require 'torch'
require 'nn'
local tbc = tbc or {}
tbc.C = require('tbc.ffi') -- keep the loaded C object around, so that it doesn't get garbage collected
function tbc.bind(lib, base_names, type_name, state_getter)
local ftable = {}
local prefix = 'TemporalConvolutionTBC_'
for i,n in ipairs(base_names) do
... | bsd-3-clause |
greasydeal/darkstar | scripts/globals/summon.lua | 17 | 9662 |
require("scripts/globals/common");
require("scripts/globals/status");
SUMMONING_MAGIC_SKILL = 38
MSG_NONE = 0; -- display nothing
MSG_NO_EFFECT = 189;
MSG_DAMAGE = 185; -- player uses, target takes 10 damage. DEFAULT
MSG_MISS = 188;
MSG_RESIST = 85;
function AvatarPhysicalMove(avatar,target,skill,number... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/saltena.lua | 11 | 1034 | -----------------------------------------
-- ID: 5885
-- Item: saltena
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP +6% (cap 100)
-- Increases rate of combat skill gains by 20%
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Upper_Jeuno/TextIDs.lua | 4 | 1699 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6542; -- Obtained: <item>.
GIL_OBTAINED = 6543; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6545; -- Obtained... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/abilities/pets/flaming_crush.lua | 29 | 1356 | ---------------------------------------------------
-- Flaming Crush M=10, 2, 2? (STILL don't know)
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/summon");
require("scripts/globals/magic");
require("scripts/globals/m... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/mobskills/PW_Fulmination.lua | 18 | 1127 | ---------------------------------------------
-- Fulmination
--
-- Description: Deals heavy magical damage in an area of effect. Additional effect: Paralysis + Stun
-- Type: Magical
-- Wipes Shadows
-- Range: 30 yalms
---------------------------------------------
require("scripts/globals/settings");
require("scripts/gl... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/MieuseloirBEnchelles1.lua | 36 | 1055 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Miuseloir B Enchelles
-- @zone 80
-- @pos 120 0 104
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
------------------... | gpl-3.0 |
Codex-NG/otxserver | data/talkactions/scripts/looktype.lua | 27 | 1088 | function onSay(player, words, param)
if not player:getGroup():getAccess() then
return true
end
local lookType = tonumber(param)
if lookType >= 0 and lookType ~= 1 and lookType ~= 135 and lookType ~= 411 and lookType ~= 415 and lookType ~= 424 and (lookType <= 160 or lookType >= 192) and lookType ~= 439 and lookT... | gpl-2.0 |
ricker75/Global-Server | data/npc/scripts/Marvin.lua | 1 | 1862 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHa... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Miah_Riyuh.lua | 50 | 5024 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Miah Riyuh
-- @pos 5.323 -2 37.462 94
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyite... | gpl-3.0 |
Quozlet/DST-Etho | scripts/prefabs/etho.lua | 1 | 16751 | --[[TODO
Balancing
Putting minions in "wait" mode
TNT
]]--
local MakePlayerCharacter = require "prefabs/player_common"
local _MADBOMBERCHANCE = 0.01
local _SLIPCHANCE = 0.8
local _TELEPORTCHANCE = 0.8
local _NODARKCHANCE = 0.5
local _NOFREEZECHANCE = 0.9
local _NOFIRECHANCE = 0.9
local _INVISICHANC... | mit |
pokemoncentral/wiki-lua-modules | VexEntry.lua | 1 | 5164 | --[[
Module to replace the VexEntry template. Right now only replace it, but I
intend to use it to replace all its derivate templates (Vex*).
The interface is as simple as:
{{#invoke: VexEntry | Vex1 | <args> }}
{{#invoke: VexEntry | Vexhs | <args> }}
and so on for any other variant.
Arguments are only positional a... | cc0-1.0 |
greasydeal/darkstar | scripts/globals/mobskills/Luminous_Lance.lua | 19 | 1379 | ---------------------------------------------
-- Luminous Lance
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/zones/Empyreal_Paradox/TextIDs");
-------------------------------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Lower_Jeuno/npcs/Susu.lua | 17 | 1634 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Susu
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
-- onTrade Ac... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/QuBia_Arena/mobs/Ghul-I-Beaban.lua | 9 | 1497 | -----------------------------------
-- Area: Qu'Bia Arena
-- Mob: Ghul-I-Beaban
-- BCNM: Undying Promise
-----------------------------------
require("scripts/globals/status")
-----------------------------------
function reraiseGhul(mob, reraises, target)
mob:setLocalVar("RERAISES", reraises)
mob:setMod(dsp.mo... | gpl-3.0 |
GENRALVS/GENRAL-VS | plugins/helps.pv.lua | 1 | 1160 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY xx_hetler_xx ▀▄ ▄▀
▀▄ ▄▀ BY hetler (hetler_ip) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY hetler ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄▀▀... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Wyatt.lua | 17 | 1981 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Wyatt
-- @zone 80
-- @pos 124 0 84
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/himesama_rice_ball.lua | 51 | 1477 | -----------------------------------------
-- ID: 5928
-- Item: Himesama Rice Ball
-- Food Effect: 30 Mins, All Races
-----------------------------------------
-- HP +25
-- Dexterity +4
-- Vitality +4
-- Character +4
-- Effect with enhancing equipment (Note: these are latents on gear with the effect)
-- Attack +60
-- De... | gpl-3.0 |
shadog/shado | lock_media.lua | 3 | 1457 | --[[
#
#ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
#:((
# For More Information ....!
#manstir : < @alasmr_199 >
#manstir
# Version: 1.1
#:))
#ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
#
]]
local function DevPoint(msg,... | gpl-2.0 |
ibm2431/darkstar | scripts/globals/items/marinara_pizza_+1.lua | 11 | 1285 | -----------------------------------------
-- ID: 5744
-- Item: marinara_pizza +1
-- Food Effect: 4 hours, all Races
-----------------------------------------
-- HP +25
-- Attack +21% (cap 55)
-- Accuracy +11% (cap 58)
-- Undead Killer
-----------------------------------------
require("scripts/globals/status")
require("... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Bastok_Markets/npcs/Offa.lua | 14 | 1306 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Offa
-- Type: Quest NPC
-- @pos -281.628 -16.971 -140.607 235
--
-- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = ni... | gpl-3.0 |
BackupGGCode/teebx | misc/luabash/md5/test.lua | 4 | 2423 | #!/usr/bin/env lua
-- --- T2-COPYRIGHT-NOTE-BEGIN ---
-- This copyright note is auto-generated by ./scripts/Create-CopyPatch.
--
-- T2 SDE: misc/luabash/md5/test.lua
-- Copyright (C) 2006 The T2 SDE Project
--
-- More information can be found in the files COPYING and README.
--
-- This program is free software; you... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ozzmo-Mazmo.lua | 38 | 1053 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ozzmo-Mazmo
-- Type: Standard NPC
-- @zone: 94
-- @pos -61.677 -13.311 106.400
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Sacrarium/npcs/qm6.lua | 14 | 1799 | -----------------------------------
-- Area: Sacrarium
-- NPC: qm6 (???)
-- Notes: Used to spawn Old Prof. Mariselle
-- @pos 62.668 -3.111 -127.310 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacrarium/Tex... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/mutton_tortilla.lua | 11 | 1457 | -----------------------------------------
-- ID: 4506
-- Item: mutton_tortilla
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 10
-- Strength 3
-- Vitality 1
-- Intelligence -1
-- Attack % 27
-- Attack Cap 30
-- Ranged ATT % 27
-- Ranged ATT Cap 30
-----------------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/mobskills/Auroral_Drape.lua | 7 | 1027 | ---------------------------------------------
-- Auroral Drape
--
-- Description: Silence and Blind Area of Effect (10.0')
-- Type: Enfeebling
-- Utsusemi/Blink absorb: Ignores shadows
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scri... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Port_Jeuno/npcs/Rinzei.lua | 17 | 1375 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Rinzei
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Jeuno/TextIDs");
require("scripts/globals/quests");
----------------... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/spells/bluemagic/cold_wave.lua | 9 | 2132 | -----------------------------------------
-- Spell: Cold Wave
-- Deals ice damage that lowers Agility and gradually reduces HP of enemies within range
-- Spell cost: 37 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Ice)
-- Blue Magic Points: 1
-- Stat Bonus: INT-1
-- Level: 52
-- Casting Time: 4 seconds
-- Recast ... | gpl-3.0 |
lbthomsen/openwrt-luci | applications/luci-app-lxc/luasrc/controller/lxc.lua | 5 | 5280 | --[[
LuCI LXC module
Copyright (C) 2014, Cisco Systems, Inc.
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
Author: Petar Koretic <petar.koretic@sart... | apache-2.0 |
ricker75/Global-Server | data/actions/scripts/in service of yalahar quest/inServiceOfYalaharQuestMechanism.lua | 2 | 1694 | local mechanisms = {
[3091] = {pos = {x = 32744, y = 31161, z = 5}, value = 21}, -- Alchemist
[3092] = {pos = {x = 32744, y = 31164, z = 5}, value = 21},
[3093] = {pos = {x = 32833, y = 31269, z = 5}, value = 24}, -- Trade
[3094] = {pos = {x = 32833, y = 31266, z = 5}, value = 24},
[3095] = {pos = {x = 32729, y = ... | gpl-2.0 |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/AnimationCache.lua | 18 | 3150 |
--------------------------------
-- @module AnimationCache
-- @extend Ref
-- @parent_module cc
--------------------------------
-- Returns a Animation that was previously added.<br>
-- If the name is not found it will return nil.<br>
-- You should retain the returned copy if you are going to use it.<br>
-- return A ... | mit |
bbn1234/uzzbot | plugins/invite.lua | 299 | 1025 | -- Invite other user to the chat group.
-- Use !invite name User_name or !invite id id_number
-- The User_name is the print_name (there are no spaces but _)
do
local function callback(extra, success, result)
vardump(success)
vardump(result)
end
local function run(msg, matches)
local user = matches[2]
-- Use... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Fayeewah.lua | 34 | 1200 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Fayeewah
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require... | gpl-3.0 |
softer/prosody-modules | mod_register_json/register_json/mod_register_json.lua | 32 | 10044 | -- Expose a simple token based servlet to handle user registrations from web pages
-- through Base64 encoded JSON.
-- Copyright (C) 2010 - 2013, Marco Cirillo (LW.Org)
local datamanager = datamanager
local b64_decode = require "util.encodings".base64.decode
local b64_encode = require "util.encodings".base64.encode
lo... | mit |
LegionXI/darkstar | scripts/globals/abilities/pets/glittering_ruby.lua | 26 | 1148 | ---------------------------------------------------
-- Glittering Ruby
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onAbilityCheck(pla... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/bowl_of_adoulin_soup_+1.lua | 36 | 1507 | -----------------------------------------
-- ID: 5999
-- Item: Bowl of Adoulin Soup +1
-- Food Effect: 240 Min, All Races
-----------------------------------------
-- HP % 4 Cap 45
-- Vitality 4
-- Defense % 16 Cap 75
-- HP Healing 7
-----------------------------------------
require("scripts/globals/status");
-------... | gpl-3.0 |
CuteOne/meta | Libs/DiesalGUI-1.0/Objects/Input.lua | 6 | 4285 | -- $Id: Input.lua 60 2016-11-04 01:34:23Z diesal2010 $
local DiesalGUI = LibStub("DiesalGUI-1.0")
-- ~~| Libraries |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
local DiesalTools = LibStub("DiesalTools-1.0")
local DiesalSt... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/plate_of_yahata-style_carp_sushi.lua | 35 | 1422 | -----------------------------------------
-- ID: 5186
-- Item: plate_of_yahata-style_carp_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 2
-- Accuracy % 11
-- HP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
icyxp/kong | spec/03-plugins/19-acl/02-access_spec.lua | 3 | 14154 | local helpers = require "spec.helpers"
local cjson = require "cjson"
describe("Plugin: ACL (access)", function()
local client, api_client
setup(function()
helpers.run_migrations()
local consumer1 = assert(helpers.dao.consumers:insert {
username = "consumer1"
})
assert(helpers.dao.keyauth_cr... | apache-2.0 |
greasydeal/darkstar | scripts/zones/PsoXja/npcs/_095.lua | 8 | 1608 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _095 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos -330.000 14.074 -261.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Pso... | gpl-3.0 |
gaohuang/SnapshotEnsemble | main_snapshot_ensemble.lua | 1 | 2735 | --
-- Copyright (c) 2016, Facebook, Inc.
-- All rights reserved.
--
-- This source code is licensed under the BSD-style license found in the
-- LICENSE file in the root directory of this source tree. An additional grant
-- of patent rights can be found in the PATENTS file in the same directory.
--
-- Code modifie... | bsd-3-clause |
LegionXI/darkstar | scripts/zones/West_Sarutabaruta/npcs/Cavernous_Maw.lua | 29 | 1467 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Cavernous Maw
-- Teleports Players to West Sarutabaruta [S]
-- @pos -2.229 0.001 -162.715 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Port_Windurst/Zone.lua | 12 | 2515 | -----------------------------------
--
-- Zone: Port_Windurst (240)
--
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/globals/zone");
require("scripts/globals/settings");
require("scripts/zones/Port_Windurst/TextIDs");
--------------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/prime_beef_stewpot.lua | 36 | 1890 | -----------------------------------------
-- ID: 5548
-- Item: Prime Beef Stewpot
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10% Cap 75
-- MP +15
-- Strength +2
-- Agility +1
-- Mind +1
-- HP Recovered while healing +7
-- MP Recovered while healing +2
-- Atta... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/plate_of_ikra_gunkan_+1.lua | 35 | 1733 | -----------------------------------------
-- ID: 5220
-- Item: plate_of_ikra_gunkan_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 30
-- Magic 12
-- Dexterity 3
-- Mind -1
-- Accuracy % 17
-- Accuracy Cap 30
-- Ranged ACC % 17
-- Ranged ACC Cap 30
------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Windurst_Woods/npcs/Abby_Jalunshi.lua | 38 | 1042 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Abby Jalunshi
-- Type: Moghouse Renter
-- @zone: 241
-- @pos -101.895 -5 36.172
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Port_San_dOria/npcs/Deguerendars.lua | 36 | 2054 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Deguerendars
-- Only sells when San d'Oria contrls Tavnazian Archipelago
-- Only available to those with CoP Ch. 4.1 or higher
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
------------------... | gpl-3.0 |
everhopingandwaiting/telegram-bot | plugins/banhammer.lua | 22 | 5639 | local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return white
end
local function is_chat_whitelisted(id)
local hash = 'whitelist:chat#id'..id
local white = redis:get(hash) or false
return white
end
local function kick_user(user_id, chat_id)... | gpl-2.0 |
Igalia/snabbswitch | lib/luajit/testsuite/test/lib/string/lower_upper.lua | 6 | 1040 | do --- smoke
assert(("abc123DEF_<>"):lower() == "abc123def_<>")
assert(("abc123DEF_<>"):upper() == "ABC123DEF_<>")
end
do --- repeated
local l = "the quick brown fox..."
local u = "THE QUICK BROWN FOX..."
local s = l
for i = 1, 75 do
s = s:upper()
assert(s == u)
s = s:lower()
assert(s == l)... | apache-2.0 |
greasydeal/darkstar | scripts/globals/items/cluster_of_paprika.lua | 36 | 1233 | -----------------------------------------
-- ID: 5740
-- Item: Cluster of Paprika
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -3
-- Defense -1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-... | gpl-3.0 |
naclander/tome | game/modules/tome/data/gfx/particles/snowing.lua | 3 | 1570 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Northern_San_dOria/npcs/_6fc.lua | 2 | 1891 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Papal Chambers
-- Finish Mission: The Davoi Report
-- @pos 131 -11 122 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
---------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.