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 |
|---|---|---|---|---|---|
LipkeGu/OpenRA | mods/d2k/bits/scripts/campaign-global.lua | 1 | 5899 | --[[
Copyright 2007-2017 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you 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 vers... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/mobskills/Gate_of_Tartarus.lua | 10 | 1071 | ---------------------------------------------
-- Gate of Tartarus
--
-- Description: Lowers target's attack. Additional effect: Refresh
-- Type: Physical
-- Shadow per hit
-- Range: Melee
---------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
requir... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Mamook/npcs/qm2.lua | 15 | 1163 | -----------------------------------
-- Area: Mamook
-- NPC: ??? (Spawn Iriri Samariri(ZNM T2))
-- @pos -118 7 -80 65
-----------------------------------
package.loaded["scripts/zones/Mamook/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mamook/TextIDs");
--------------------------------... | gpl-3.0 |
tltneon/nsplugins | plugins/talknpc/entities/entities/nut_talker.lua | 2 | 4412 | ENT.Type = "anim"
ENT.PrintName = "Talker"
ENT.Category = "NutScript"
ENT.Spawnable = true
ENT.AdminOnly = true
function ENT:Initialize()
if (SERVER) then
self:SetModel("models/mossman.mdl")
self:SetUseType(SIMPLE_USE)
self:SetMoveType(MOVETYPE_NONE)
self:DrawShadow(true)
self:SetSolid(SOLID_BBOX)
self:Ph... | gpl-2.0 |
kidaa/FFXIOrgins | scripts/zones/Beadeaux/npcs/_43b.lua | 2 | 1672 | -----------------------------------
-- Area: Beadeaux
-- NPC: Jail Door
-- Involved in Quests: The Rescue
-- @pos 56 0.1 -23 147
-----------------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Temple_of_Uggalepih/npcs/_4fx.lua | 2 | 1816 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Granite Door
-- @pos 340 0.1 329 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/keyitem... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/abilities/pets/water_iv.lua | 6 | 1159 | ---------------------------------------------------
-- Aero 2
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
require("/scripts/globals/magic");
------------------------------------------... | gpl-3.0 |
brendangregg/bcc | tools/biosnoop.lua | 3 | 5032 | #!/usr/bin/env bcc-lua
--[[
Copyright 2016 GitHub, 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
Unless required by applicable law or agreed to in ... | apache-2.0 |
newenclave/ferro-remote | lua-client/examples/grove-rgb-lcd.lua | 1 | 2180 | i2c = fr.client.smbus
eq = fr.client.event_queue
eqt = eq.timer
grove_lcd_rgb = {
RGB_ADDR = 0x62,
TXT_ADDR = 0x3E
}
grove_lcd_rgb.new = function( )
inst = { }
for k, v in pairs(grove_lcd_rgb) do
inst[k] = v
end
inst.txt = assert(i2c.open( 1, grove_lcd_rgb.TXT_ADDR ))
inst.rgb ... | gpl-3.0 |
SlySven/Mudlet | translations/translated/generate-translation-stats.lua | 3 | 5910 | -- Convert output from runs of Qt lrelease for each language into statistics
--[[
############################################################################
# Copyright (C) 2018-2019, 2022 by Vadim Peretokin - vperetokin@hey.com #
# Copyright (C) 2018 by Florian Scheel - keneanung@googlemail.com #
# ... | gpl-2.0 |
kidaa/FFXIOrgins | scripts/zones/Abyssea-Uleguerand/Zone.lua | 33 | 1487 | -----------------------------------
--
-- Zone: Abyssea - Uleguerand
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Uleguerand/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abyssea-Ulegue... | gpl-3.0 |
yanarsin/new1 | plugins/banhammer.lua | 2 | 12021 |
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 |
jiang42/Algorithm-Implementations | Derivative/Lua/Yonaba/derivative_test.lua | 26 | 1356 | -- Tests for derivative.lua
local drv = require 'derivative'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 end
loc... | mit |
MOSAVI17/Security1 | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name.... | gpl-2.0 |
Puccio7/bot-telegram | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name.... | apache-2.0 |
Fatalerror66/ffxi-a | scripts/zones/Middle_Delkfutts_Tower/npcs/qm1.lua | 2 | 1568 | -----------------------------------
-- Area: Middle Delfutt's Tower
-- NPC: ???
-- Involved In Quest: Blade of Evil
-- @zone 157
-- @pos 84 -79 77
-----------------------------------
package.loaded["scripts/zones/Middle_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
flyzjhz/openwrt-bb | feeds/luci/modules/freifunk/luasrc/model/cbi/freifunk/profile.lua | 56 | 2755 | --[[
LuCI - Lua Configuration Interface
Copyright 2011-2012 Manuel Munz <freifunk at somakoma dot de>
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
httc://www.apache.org/licenses/LICENSE-2.0
]]... | gpl-2.0 |
AntonioModer/Moses | moses_min.lua | 6 | 17706 | local daa='1.4.0'local _ba,aba,bba,cba,dba=next,type,unpack,select,pcall
local _ca,aca=setmetatable,getmetatable;local bca,cca=table.insert,table.sort;local dca,_da=table.remove,table.concat
local ada,bda,cda=math.randomseed,math.random,math.huge;local dda,__b,a_b=math.floor,math.max,math.min;local b_b=rawget;local c_b... | mit |
KevinGuarnati/controllore | plugins/rss.lua | 3 | 5195 | local function get_base_redis(id, option, extra)
local ex = ''
if option ~= nil then
ex = ex .. ':' .. option
if extra ~= nil then
ex = ex .. ':' .. extra
end
end
return 'rss:' .. id .. ex
end
local function prot_url(url)
local url, h = string.gsub(url, "http://", "")
local url, hs = stri... | mit |
Fatalerror66/ffxi-a | scripts/zones/Eastern_Altepa_Desert/npcs/Daborn_IM.lua | 4 | 2910 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Daborn, I.M.
-- Border Conquest Guards
-- @pos 226.493 -12.231 260.194 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/weaponskills/spinning_scythe.lua | 4 | 1225 | -----------------------------------
-- Spinning Scythe
-- Scythe weapon skill
-- Skill Level: 125
-- Delivers an area of effect attack. Attack radius varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget & Soil Gorget.
-- Aligned with the Aqua Belt & Soil Belt.
-- Element: None
-- Mo... | gpl-3.0 |
zhangshiqian1214/skynet | 3rd/lua-cjson/lua/cjson/util.lua | 170 | 6837 | local json = require "cjson"
-- Various common routines used by the Lua CJSON package
--
-- Mark Pulford <mark@kyne.com.au>
-- Determine with a Lua table can be treated as an array.
-- Explicitly returns "not an array" for very sparse arrays.
-- Returns:
-- -1 Not an array
-- 0 Empty table
-- >0 Highest index ... | mit |
meshr-net/meshr_win32 | usr/lib/lua/luci/model/cbi/luci_statistics/exec.lua | 7 | 2838 | --[[
Luci configuration model for statistics - collectd exec plugin configuration
(c) 2008 Freifunk Leipzig / 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 ... | apache-2.0 |
emoses/hammerspoon | extensions/messages/init.lua | 22 | 1501 | --- === hs.messages ===
---
--- Send messages via iMessage and SMS Relay (note, SMS Relay requires OS X 10.10 and an established SMS Relay pairing between your Mac and an iPhone running iOS8)
---
--- Note: This extension works by controlling the OS X "Messages" app via AppleScript, so you will need that app to be signe... | mit |
Clavus/LD32 | game/words/J Words.lua | 1 | 10356 | return [[jab
jabbed
jabber
jabbered
jabberer
jabberers
jabbering
jabberings
jabbers
jabberwock
jabbing
jabble
jabbled
jabbles
jabbling
jabers
jabiru
jabirus
jaborandi
jabot
jabots
jabs
jacamar
jacamars
jacana
jacanas
jacaranda
jacarandas
jacchus
jacchuses
jacent
jacinth
jacinths
jack
jackal
jackals
jackanapes
jackaroo
... | mit |
Fatalerror66/ffxi-a | scripts/globals/items/coeurl_sub_+1.lua | 2 | 1861 | -----------------------------------------
-- ID: 5167
-- Item: coeurl_sub_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 15
-- Strength 6
-- Agility 1
-- Intelligence -2
-- Health Regen While Healing 1
-- Attack % 22
-- Attack Cap 80
-- Ranged ATT % 22
-- Ranged ATT ... | gpl-3.0 |
diezombies/MCGC | MCGC/c84130834.lua | 3 | 2673 | -- MC群的萌物 菜鸟
function c84130834.initial_effect(c)
-- 召唤成功触发
local e1 = Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE + EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c84130834.target)
e1:SetOperation(c84130834.operation)
... | mit |
pavouk/lgi | tests/glib.lua | 2 | 3882 | --[[--------------------------------------------------------------------------
LGI testsuite, GLib test suite.
Copyright (c) 2013 Pavel Holejsovsky
Licensed under the MIT license:
http://www.opensource.org/licenses/mit-license.php
--]]--------------------------------------------------------------------------... | mit |
kidaa/FFXIOrgins | scripts/globals/weaponskills/gust_slash.lua | 4 | 1200 | -----------------------------------
-- Gust Slash
-- Dagger weapon skill
-- Skill level: 40
-- Deals wind elemental damage. Damage varies with TP.
-- Will not stack with Sneak Attack.
-- Aligned with the Breeze Gorget.
-- Aligned with the Breeze Belt.
-- Element: Wind
-- Modifiers: DEX:20% ; INT:20%
-- 100%TP... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/spells/bluemagic/frypan.lua | 6 | 1057 | require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/bluemagic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,target,spell)
return 0;
end;
function onSpellCast(caster,target,sp... | gpl-3.0 |
jdgwartney/boundary-plugin-nginx | init.lua | 1 | 3418 | -- Copyright 2015 Boundary, 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
--
-- Unless required by applicable law or agreed to i... | apache-2.0 |
kidaa/FFXIOrgins | scripts/zones/Windurst_Waters/npcs/Kipo-Opo.lua | 12 | 1849 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Kipo-Opo
-- Type: Cooking Adv. Image Support
-- @pos -119.750 -5.239 64.500 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurs... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Claymore.lua | 2 | 1489 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Claymore
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
func... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Giddeus/npcs/Treasure_Chest.lua | 1 | 2660 | -----------------------------------
-- Area: Giddeus
-- NPC: Treasure Chest
--
-- @pos -158.563 0.999 -226.058 145
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
r... | gpl-3.0 |
smile-tmb/lua-mta-fairplay-roleplay | inventory/client/inventory.lua | 1 | 14170 | --[[
The MIT License (MIT)
Copyright (c) 2014 Socialz (+ soc-i-alz GitHub organization)
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... | mit |
tboox/xmake-repo | packages/b/bzip2/xmake.lua | 1 | 1161 | package("bzip2")
set_homepage("https://en.wikipedia.org/wiki/Bzip2")
set_description("Freely available high-quality data compressor.")
set_urls("https://ftp.osuosl.org/pub/clfs/conglomeration/bzip2/bzip2-$(version).tar.gz",
"https://fossies.org/linux/misc/bzip2-$(version).tar.gz")
add_ver... | apache-2.0 |
OmegaBolt/OpenRA | lua/stacktraceplus.lua | 59 | 12006 | -- tables
local _G = _G
local string, io, debug, coroutine = string, io, debug, coroutine
-- functions
local tostring, print, require = tostring, print, require
local next, assert = next, assert
local pcall, type, pairs, ipairs = pcall, type, pairs, ipairs
local error = error
assert(debug, "debug table must be availa... | gpl-3.0 |
Clavus/LD32 | engine/lib/loveloader/love-loader.lua | 7 | 6444 | require "love.filesystem"
require "love.image"
require "love.audio"
require "love.sound"
local loader = {
_VERSION = 'love-loader v2.0.2',
_DESCRIPTION = 'Threaded resource loading for LÖVE',
_URL = 'https://github.com/kikito/love-loader',
_LICENSE = [[
MIT LICENSE
Copyright (c) 2014 E... | mit |
mys007/nn | View.lua | 41 | 2232 | local View, parent = torch.class('nn.View', 'nn.Module')
function View:__init(...)
parent.__init(self)
if select('#', ...) == 1 and torch.typename(select(1, ...)) == 'torch.LongStorage' then
self.size = select(1, ...)
else
self.size = torch.LongStorage({...})
end
self.numElements = 1
loc... | bsd-3-clause |
kidaa/FFXIOrgins | scripts/zones/Lower_Jeuno/npcs/Tuh_Almobankha.lua | 1 | 3746 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Tuh Almobankha
-- Title Change NPC
-- @pos -14 0 -61 245
-----------------------------------
require("scripts/globals/titles");
local title2 = { BROWN_MAGE_GUINEA_PIG , BROWN_MAGIC_BYPRODUCT , RESEARCHER_OF_CLASSICS , TORCHBEARER , FORTUNETELLER_IN_TRAI... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/items/death_chakram.lua | 2 | 1043 | -----------------------------------------
-- ID: 18231
-- Item: Death Chakram
-- Enchantment: MP +5%
-- Durration: 30 Mins
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------------... | gpl-3.0 |
alikineh/ali_kineh | plugins/face.lua | 641 | 3073 | local https = require("ssl.https")
local ltn12 = require "ltn12"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function request(imageUrl)
local api_key = mashape.api_key
if api_key:isempt... | gpl-2.0 |
kidaa/FFXIOrgins | scripts/zones/Temenos/mobs/Goblin_Slaughterman.lua | 1 | 1026 | -----------------------------------
-- Area: Temenos N T
-- NPC: Goblin_Slaughterman
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
---------------------------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Beadeaux/Zone.lua | 4 | 3060 | -----------------------------------
--
-- Zone: Beadeaux (147)
--
-----------------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/missions");
require("scripts/globals/quests");
require... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/weaponskills/stardiver.lua | 6 | 1384 | -----------------------------------
-- Stardiver
-- Polearm weapon skill
-- Skill Level: MERIT
-- Delivers a fourfold attack. Damage varies with TP.
-- Will stack with Sneak Attack. reduces params.crit hit evasion by 5%
-- Element: None
-- Modifiers: STR:85% //actually 17~85%
-- 100%TP 200%TP 300%TP... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/items/bowl_of_tomato_soup.lua | 2 | 1437 | -----------------------------------------
-- ID: 4420
-- Item: bowl_of_tomato_soup
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Agility 3
-- Vitality -1
-- HP Recovered While Healing 5
-- Ranged Accuracy % 9 (cap 15)
-----------------------------------------
require("scripts/... | gpl-3.0 |
TeleMafia/mafia | libs/lua-redis.lua | 1 | 35758 | local redis = {
_VERSION = 'redis-lua 2.0.4',
_DESCRIPTION = 'A Lua client library for the redis key value storage system.',
_COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri',
}
-- The following line is used for backwards compatibility in order to keep the `Redis`
-- global module name. Using... | gpl-3.0 |
nenau/naev | dat/missions/empire/longdistanceshipping/emp_longdistancecargo4.lua | 2 | 3326 | --[[
Fourth diplomatic mission to Frontier space that opens up the Empire long-distance cargo missions.
Author: micahmumper
]]--
include "dat/scripts/numstring.lua"
include "dat/scripts/jumpdist.lua"
bar_desc = _("Lieutenant Czesc from the Empire Aramda Shipping Division is sitting at the bar.")
misn_title =... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/items/hard-boiled_egg.lua | 1 | 1147 | -----------------------------------------
-- ID: 4409
-- Item: hard-boiled_egg
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 10
-- Magic 10
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
nenau/naev | dat/missions/pirate/hitman3.lua | 2 | 6225 | --[[
Pirate Hitman 3
A one time random pirate hitman mission that gets you pirate landing permissions
Author: nloewen
--]]
-- Bar information
bar_desc = _("A well-dressed young businessman. He looks out of place, contrasting sharply with most of the bar's clientele")
-- Mission details
misn_title = _("P... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Southern_San_dOria/npcs/Katharina.lua | 37 | 1095 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Katharina
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Southe... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/items/fudgy-wudge.lua | 3 | 1099 | -----------------------------------------
-- ID: 5920
-- Item: Fudgy-wudge
-- Food Effect: 3 Min, All Races
-----------------------------------------
-- Intelligence 1
-- Speed 12.5%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Temenos/mobs/Pee_Qoho_the_Python.lua | 2 | 1549 | -----------------------------------
-- Area: Temenos
-- NPC:
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------------
-- onMobSpawn A... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/The_Sanctuary_of_ZiTah/npcs/mandau.lua | 2 | 1770 | -----------------------------------
-- Area: The Sanctuary of Zitah
-- NPC: ???
-- @zone 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Sanctuary_of_ZiTah/TextIDs");
require("scripts/gl... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/LaLoff_Amphitheater/npcs/qm0_1.lua | 35 | 1154 | -----------------------------------
-- 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 |
Fatalerror66/ffxi-a | scripts/globals/items/plate_of_vegan_sautee.lua | 2 | 1340 | -----------------------------------------
-- ID: 5184
-- Item: plate_of_vegan_sautee
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -1
-- Ranged ACC % 7
-- Ranged ACC Cap 20
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
Wedge009/wesnoth | data/campaigns/World_Conquest/lua/map/postgeneration/3E_Coral.lua | 7 | 1495 | -- Coral
function world_conquest_tek_map_repaint_3e()
set_terrain { "Ur",
f.terrain("U*^Tf,U*"),
fraction = 8,
}
wct_reduce_wall_clusters("Uu,Uu^Tf,Uh,Uu^Tf,Uu,Uh,Ur,Uu,Ur,Uu,Ur")
set_terrain { "Xu",
f.all(
f.adjacent(f.terrain("U*^*")),
f.terrain("Mm^Xm")
),
}
set_terrain { "Gs",
f.terrain("Wog"... | gpl-2.0 |
BTAxis/naev | dat/gui/legacy.lua | 11 | 10515 |
--[[
@brief Obligatory create function.
Run when the GUI is loaded which is caused whenever the player gets in a different ship.
--]]
function create()
-- Get the player
pp = player.pilot()
pfact = pp:faction()
-- Get sizes
screen_w, screen_h = gfx.dim()
deffont_h = gfx.fontSize()
smallfo... | gpl-3.0 |
Yhgenomics/premake-core | src/actions/vstudio/vs2013.lua | 17 | 1679 | --
-- actions/vstudio/vs2013.lua
-- Extend the existing exporters with support for Visual Studio 2013.
-- Copyright (c) 2013-2014 Jason Perkins and the Premake project
--
premake.vstudio.vc2013 = {}
local p = premake
local vstudio = p.vstudio
local vc2010 = vstudio.vc2010
local m = vstudio.vc2013
---
-- Defin... | bsd-3-clause |
meshr-net/meshr_win32 | usr/lib/lua/nixioutil.lua | 2 | 5844 | --[[
nixio - Linux I/O library for lua
Copyright 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... | apache-2.0 |
ForgedAddons/StayFocused_AutoShot | tekKonfig/tekKonfigButton.lua | 6 | 1708 |
local lib, oldminor = LibStub:NewLibrary("tekKonfig-Button", 5)
if not lib then return end
oldminor = oldminor or 0
if oldminor < 5 then
local GameTooltip = GameTooltip
local function HideTooltip() GameTooltip:Hide() end
local function ShowTooltip(self)
if self.tiptext then
GameTooltip:SetOwner(self, "ANCHOR... | apache-2.0 |
meshr-net/meshr_win32 | usr/lib/lua/luci/model/cbi/admin_system/backupfiles.lua | 8 | 2706 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2011 Jo-Philipp Wich <xm@subsignal.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://w... | apache-2.0 |
kidaa/FFXIOrgins | scripts/globals/mobskills/Barbed_Crescent.lua | 10 | 1034 | ---------------------------------------------------
-- Barbed Crescent
-- Damage. Additional Effect: Accuracy Down.
-- Area of Effect is centered around caster.
-- The Additional Effect: Accuracy Down may not always process.
-- Duration: Three minutes ?
---------------------------------------------------
require("/scr... | gpl-3.0 |
BTAxis/naev | dat/missions/flf/flf_pre02.lua | 1 | 17936 | --[[
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warra... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Northern_San_dOria/npcs/Palguevion.lua | 6 | 1734 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Palguevion
-- Only sells when San d'Oria controlls Valdeaunia Region
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
re... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/titles.lua | 4 | 34682 | -----------------------------------
--
-- TITLES IDs
--
-----------------------------------
FODDERCHIEF_FLAYER = 1;
WARCHIEF_WRECKER = 2;
DREAD_DRAGON_SLAYER = 3;
OVERLORD_EXECUTIONER = 4;
DARK_DRAGON_SLAYER ... | gpl-3.0 |
actionless/awesome | tests/examples/wibox/widget/graph/scale1.lua | 2 | 1714 | --DOC_GEN_IMAGE --DOC_HIDE
local parent = ... --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE
local data = { --DOC_HIDE
3, 5, 6,4, 11,15,19,29,17,17,14,0,0,3,1,0,0, 22, 17,7, 1,0,0,5, --DOC_HIDE
3, 5, 6,4, 11,15,19,29,17,17,14,0,0,3,1,0,0, 22, 17,7, 1,0,0,5, --DOC_HIDE
3, 5, 6,4, 11,15,19,29,17,17,14... | gpl-2.0 |
Wedge009/wesnoth | data/campaigns/World_Conquest/lua/game_mechanics/utils.lua | 4 | 5161 | local on_event = wesnoth.require "on_event"
local wc2_utils = {}
function wc2_utils.set_to_array(s, res)
res = res or {}
for k,v in pairs(s) do
table.insert(res, k)
end
table.sort( res )
return res
end
function wc2_utils.remove_duplicates(t)
local found = {}
for i = #t, 1, -1 do
local v = t[i]
if found... | gpl-2.0 |
Fatalerror66/ffxi-a | scripts/zones/Northern_San_dOria/npcs/Beadurinc.lua | 4 | 1052 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Beadurinc
-- Type: Standard NPC
-- @zone: 231
-- @pos: -182.300 10.999 146.650
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = ni... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Southern_San_dOria_[S]/npcs/Loillie.lua | 4 | 1398 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Loillie
-- @zone 80
-- @pos 78 -8 -23
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/quests");
--------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/spells/fowl_aubade.lua | 2 | 2743 | -----------------------------------------
-- Spell: Fowl Aubade
-- Increases Sleep Resistance to
-- Party Members within target AoE
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------... | gpl-3.0 |
nofishonfriday/ReaScripts | Loudness/nofish_Normalize take pan (Loudness based).lua | 1 | 4470 | --[[
* Version: 1.0.1
* ReaScript Name: Normalize take pan (Loudness based) (experimental)
* Author: nofish
* Provides: [main] nofish_Normalize take pan (Loudness based) - Set threshold.lua
* About:
* Request: https://forum.cockos.com/showthread.php?t=178277
* Thread: https://forum.cockos.com/showthread.php?... | gpl-2.0 |
Fatalerror66/ffxi-a | scripts/globals/items/leremieu_salad.lua | 2 | 1616 | -----------------------------------------
-- ID: 5185
-- Item: leremieu_salad
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health 20
-- Magic 20
-- Dexterity 4
-- Agility 4
-- Vitality 6
-- Charisma 4
-- Defense % 25
-- Defense Cap 160
-------------------------------------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/West_Ronfaure/npcs/qm2.lua | 2 | 1509 | -----------------------------------
-- Area: West Ronfaure
-- NPC: ???
-- @zone: 100
-- @pos: -550 -0 -542
--
-- Involved in Quest: The Dismayed Customer
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
Yhgenomics/premake-core | src/actions/vstudio/vs2010_vcxproj.lua | 2 | 43554 | --
-- vs2010_vcxproj.lua
-- Generate a Visual Studio 201x C/C++ project.
-- Copyright (c) 2009-2015 Jason Perkins and the Premake project
--
premake.vstudio.vc2010 = {}
local p = premake
local vstudio = p.vstudio
local project = p.project
local config = p.config
local fileconfig = p.fileconfig
local tree = p.t... | bsd-3-clause |
mys007/nn | SpatialContrastiveNormalization.lua | 63 | 1444 | local SpatialContrastiveNormalization, parent = torch.class('nn.SpatialContrastiveNormalization','nn.Module')
function SpatialContrastiveNormalization:__init(nInputPlane, kernel, threshold, thresval)
parent.__init(self)
-- get args
self.nInputPlane = nInputPlane or 1
self.kernel = kernel or torch.Tensor(9... | bsd-3-clause |
nenau/naev | dat/missions/neutral/trader_escort.lua | 2 | 17408 | --Escort a convoy of traders to a destination--
include "dat/scripts/nextjump.lua"
include "dat/scripts/cargo_common.lua"
include "dat/scripts/numstring.lua"
misn_title = _("Escort a %s convoy to %s in %s.")
misn_reward = _("%s credits")
convoysizestr = {}
convoysizestr[1] = _("tiny")
convoysizestr[2] = _("small")
... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/spells/choke.lua | 2 | 1594 | -----------------------------------------
-- Spell: Choke
-- Deals wind damage that lowers an enemy's vitality and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------... | gpl-3.0 |
LipkeGu/OpenRA | mods/ra/maps/soviet-06b/soviet06b.lua | 7 | 4629 | --[[
Copyright 2007-2017 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you 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 vers... | gpl-3.0 |
wizardbottttt/Speed_Bot | plugins/qr.lua | 637 | 1730 | --[[
* qr plugin uses:
* - http://goqr.me/api/doc/create-qr-code/
* psykomantis
]]
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors)... | gpl-2.0 |
roboxt/ss | plugins/qr.lua | 637 | 1730 | --[[
* qr plugin uses:
* - http://goqr.me/api/doc/create-qr-code/
* psykomantis
]]
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors)... | gpl-2.0 |
Puccio7/bot-telegram | plugins/qr.lua | 637 | 1730 | --[[
* qr plugin uses:
* - http://goqr.me/api/doc/create-qr-code/
* psykomantis
]]
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors)... | apache-2.0 |
alikineh/ali_kineh | plugins/qr.lua | 637 | 1730 | --[[
* qr plugin uses:
* - http://goqr.me/api/doc/create-qr-code/
* psykomantis
]]
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors)... | gpl-2.0 |
actionless/awesome | lib/wibox/widget/init.lua | 3 | 3216 | ---------------------------------------------------------------------------
-- @author Uli Schlachter
-- @copyright 2010 Uli Schlachter
-- @module wibox.widget
---------------------------------------------------------------------------
local cairo = require("lgi").cairo
local hierarchy = require("wibox.hierarchy")
lo... | gpl-2.0 |
Fatalerror66/ffxi-a | scripts/zones/West_Ronfaure/npcs/qm4.lua | 2 | 1631 | -----------------------------------
-- Area: West Ronfaure
-- NPC: ???
-- Involved in Quest: The Dismayed Customer
-- @pos -399 -10 -438 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
meshr-net/meshr_win32 | usr/lib/lua/luci/model/cbi/asterisk.lua | 11 | 5378 | --[[
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 |
tangzx/IntelliJ-EmmyLua | src/main/resources/std/Lua52/debug.lua | 6 | 9495 | -- Copyright (c) 2018. tangzx(love.tangzx@qq.com)
--
-- 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
--
-- Unless required by applicable law ... | apache-2.0 |
kidaa/FFXIOrgins | scripts/zones/Bhaflau_Thickets/mobs/Sea_Puk.lua | 12 | 1223 | -----------------------------------
-- Area: Bhaflau Thickets
-- MOB: Sea Puk
-- Note: Place holder Nis Puk
-----------------------------------
require("/scripts/zones/Bhaflau_Thickets/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob,kil... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Chocobo_Circuit/Zone.lua | 17 | 1068 | -----------------------------------
--
-- Zone: Chocobo_Circuit
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Chocobo_Circuit/TextIDs"] = nil;
require("scripts/zones/Chocobo_Circuit/TextIDs");
-----------------------------------
-- onInitialize
----------... | gpl-3.0 |
mythzeal/tos_addon | Unbreakable/unbreakable.lua | 1 | 4239 |
mzDlgTalk = mzDlgTalk or {};
mzDlgTalk.__talks = mzDlgTalk.__talks or {};
local __talks = mzDlgTalk.__talks;
local talkNames = {"rein1", "rein2", "rein3"};
talkNames[#talkNames + 1] = talkNames[#talkNames];
__talks[talkNames[1]] = {
[1] = {img = "hauberk", title = "魔将ホーバーク", text = "待つのだ、啓示者よ。"},
[2] = {img ... | agpl-3.0 |
actionless/awesome | tests/examples/awful/wibar/default.lua | 4 | 1324 | --DOC_NO_USAGE --DOC_GEN_IMAGE
local awful = require("awful") --DOC_HIDE
local wibox = require("wibox") --DOC_HIDE
screen[1]._resize {width = 480, height = 200} --DOC_HIDE
local wb = awful.wibar { position = "top" }
--DOC_HIDE Create the same number of tags as the default config
awful.tag({ "1", "2", "3"... | gpl-2.0 |
Fatalerror66/ffxi-a | scripts/zones/Northern_San_dOria/npcs/Doggomehr.lua | 2 | 1139 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Doggomehr
-- Guild Merchant NPC: Blacksmithing Guild
-- @zone: 231
-- @pos: -193.920 3.999 162.027
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Nor... | gpl-3.0 |
kazupon/kyotocabinet-lua | docrefine.lua | 1 | 1067 | --
-- refine the documents
--
INDEXFILE = "doc/index.html"
MODULEFILE = "doc/modules/kyotocabinet.html"
CSSFILE = "doc/luadoc.css"
TMPFILE = INDEXFILE .. "~"
OVERVIEWFILE = "overview.html"
ofd = io.open(TMPFILE, "wb")
first = true
for line in io.lines(INDEXFILE) do
if first and string.match(line, "<h2> *Modules *<... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Aht_Urhgan_Whitegate/npcs/Asrahd.lua | 2 | 2780 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Asrahd
-- Type: Imperial Gate Guard
-- @pos 0.011 -1 10.587 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
package.loaded["scripts/globals/besieged"] = nil;
------------------------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Mhaura/npcs/Celestina.lua | 2 | 2472 | -----------------------------------
-- Area: Mhaura
-- NPC: Celestina
-- Finish Quest: The Sand Charm
-- Involved in Quest: Riding on the Clouds
-- Guild Merchant NPC: Goldsmithing Guild
-- @zone 249
-- @pos -36 -16 72
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
... | gpl-3.0 |
mys007/nn | LookupTable.lua | 3 | 2360 | local LookupTable, parent = torch.class('nn.LookupTable', 'nn.Module')
LookupTable.__version = 4
function LookupTable:__init(nIndex, nOutput)
parent.__init(self)
self.weight = torch.Tensor(nIndex, nOutput)
self.gradWeight = torch.Tensor(nIndex, nOutput):zero()
self._count = torch.IntTensor()
self._inp... | bsd-3-clause |
nenau/naev | dat/ai/tpl/scout.lua | 5 | 2375 | include("dat/ai/include/basic.lua")
-- Variables
planet_dist = 1500 -- distance to keep from planets
enemy_dist = 800 -- distance to keep from enemies
-- Required control rate
control_rate = 2
-- Required "control" function
function control ()
task = ai.taskname()
if task == nil or task == "idle" then
... | gpl-3.0 |
brendangregg/bcc | examples/lua/strlen_count.lua | 3 | 1305 | #!/usr/bin/env bcc-lua
--[[
Copyright 2016 GitHub, 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
Unless required by applicable law or agreed to in ... | apache-2.0 |
mys007/nn | SpatialConvolution.lua | 27 | 4452 | local SpatialConvolution, parent = torch.class('nn.SpatialConvolution', 'nn.Module')
function SpatialConvolution:__init(nInputPlane, nOutputPlane, kW, kH, dW, dH, padW, padH)
parent.__init(self)
dW = dW or 1
dH = dH or 1
self.nInputPlane = nInputPlane
self.nOutputPlane = nOutputPlane
self.kW = kW
... | bsd-3-clause |
Fatalerror66/ffxi-a | scripts/globals/items/bowl_of_dhalmel_stew.lua | 2 | 1688 | -----------------------------------------
-- ID: 4433
-- Item: Bowl of Dhalmel Stew
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 4
-- Agility 1
-- Vitality 2
-- Intelligence -2
-- Attack % 25
-- Attack Cap 45
-- Ranged ATT % 25
-- Ranged ATT Cap 45
---------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.