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 |
|---|---|---|---|---|---|
rpetit3/darkstar | scripts/globals/mobskills/Cimicine_Discharge.lua | 29 | 1027 | ---------------------------------------------------
-- Cimicine Discharge
-- Reduces the attack speed of enemies within range.
-- Duration: Variable, with max of 3 min
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/mo... | gpl-3.0 |
Nader-Sl/BoL-API-Parser | BoLPrototypes/global.lua | 2 | 21304 | -------------------------------------------------------------------------------
-- Lua global variables.
-- The basic library provides core functions to Lua. If you do not include this
-- library in your application, you should check carefully whether you need to
-- provide implementations for some of its facilities.
... | mit |
tvandijck/premake-core | modules/vstudio/vs2005_csproj.lua | 7 | 2012 | --
-- vs2005_csproj.lua
-- Generate a Visual Studio 2005+ C# project.
-- Copyright (c) Jason Perkins and the Premake project
--
local p = premake
p.vstudio.cs2005 = {}
local vstudio = p.vstudio
local cs2005 = p.vstudio.cs2005
local dotnetbase = p.vstudio.dotnetbase
local project = p.project
local config = p.co... | bsd-3-clause |
MinetestForFun/server-minetestforfun-creative | mods/bobblocks/trap.lua | 8 | 5695 | -- State Changes
local update_bobtrap = function (pos, node)
local nodename=""
local param2=""
--Switch Trap State
if
-- Swap Traps
node.name == 'bobblocks:trap_spike' then nodename = 'bobblocks:trap_spike_set'
elseif node.name == 'bobblocks:trap_spike_set' then nodename = 'b... | unlicense |
slaubenberger/learn2love | demo004/libraries/LoveFrames/objects/grid.lua | 2 | 9489 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2013 Kenny Shields --
--]]------------------------------------------------
-- button class
local newobject = loveframes.NewObject("grid", "loveframes_object_grid", true)
--[[-----------------------------... | gpl-2.0 |
rpetit3/darkstar | scripts/globals/spells/dark_carol.lua | 27 | 1532 | -----------------------------------------
-- Spell: Dark Carol
-- Increases dark resistance for party members within the area of effect.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------------... | gpl-3.0 |
sevenbot/etehadseven | plugins/help.lua | 337 | 5009 | 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 |
vfedoroff/prosody-modules | mod_adhoc_blacklist/mod_adhoc_blacklist.lua | 17 | 2534 | -- mod_adhoc_blacklist
--
-- http://xmpp.org/extensions/xep-0133.html#edit-blacklist
--
-- Copyright (C) 2015 Kim Alvefur
--
-- This file is MIT/X11 licensed.
--
module:depends("adhoc");
local adhoc = module:require "adhoc";
local st = require"util.stanza";
local set = require"util.set";
local dataform = require"util.... | mit |
tvandijck/premake-core | tests/oven/test_objdirs.lua | 16 | 1925 | ---
-- tests/oven/test_objdirs.lua
-- Test the per-configuration object directory assignments.
-- Copyright (c) 2014-2015 Jason Perkins and the Premake project
---
local p = premake
local suite = test.declare("oven_objdirs")
local oven = p.oven
---
-- Setup
---
local wks, prj
function suite.setup()
wks = wor... | bsd-3-clause |
rpetit3/darkstar | scripts/zones/Rabao/npcs/Guinavie.lua | 27 | 1722 | -----------------------------------
-- Area: Rabao
-- NPC: Guinavie
-- Chocobo Vendor
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- onTrade Acti... | gpl-3.0 |
safavi1381/Extreme-Bot | plugins/inrealm.lua | 228 | 16974 | -- 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_group_ch... | gpl-2.0 |
esguk811/DarkRP | gamemode/modules/doorsystem/cl_interface.lua | 9 | 1419 | DarkRP.readNetDoorVar = DarkRP.stub{
name = "readNetDoorVar",
description = "Internal function. You probably shouldn't need this. DarkRP calls this function when reading DoorVar net messages. This function reads the net data for a specific DoorVar.",
parameters = {
},
returns = {
{
... | mit |
rpetit3/darkstar | scripts/globals/settings.lua | 1 | 12024 | -----------------------------------------------
------------- GLOBAL SETTINGS -------------
-----------------------------------------------
-- This is to allow server operators to further customize their servers. As more features are added to pXI, the list will surely expand.
-- Anything scripted can be customize... | gpl-3.0 |
dani-sj/mahan03 | plugins/banhammer.lua | 23 | 11211 |
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 |
MutterOberin/OpenRA | mods/ra/maps/allies-05a/AI.lua | 4 | 5933 |
IdlingUnits = { }
AttackGroupSize = 6
Barracks = { Barracks2, Barracks3 }
Rallypoints = { VehicleRallypoint1, VehicleRallypoint2, VehicleRallypoint3, VehicleRallypoint4, VehicleRallypoint5 }
Airfields = { Airfield1, Airfield2 }
Yaks = { }
SovietInfantryTypes = { "e1", "e1", "e2", "e4" }
SovietVehicleTypes = { "3tn... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/Cape_Teriggan/npcs/Bright_Moon.lua | 13 | 1892 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: Bright Moon
-- Type: Outpost Vendor
-- @pos -185 7 -63 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/c... | gpl-3.0 |
rpetit3/darkstar | scripts/globals/items/cone_of_homemade_gelato.lua | 18 | 1113 | -----------------------------------------
-- ID: 5223
-- Item: cone_of_homemade_gelato
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Intelligence 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----... | gpl-3.0 |
Afforess/Misanthrope | stdlib/data/recipe.lua | 1 | 5191 | --- Recipe module
-- @module Recipe
require 'stdlib/data/data'
Recipe = {}
--- Selects all recipe values where the key matches the selector pattern.
-- The selector pattern is divided into groups. The pattern should have a colon character `:` to denote the selection for each group.
-- <br/>The first group is for the... | isc |
ali033/botttt | plugins/filterword.lua | 16 | 4674 | local function save_filter(msg, name, value)
local hash = nil
if msg.to.type == 'chat' then
hash = 'chat:'..msg.to.id..':filters'
end
if msg.to.type == 'user' then
return 'فقط در گروه'
end
if hash then
redis:hset(hash, name, value)
return "انجام شد"
end
end
local function get_filter_hash(... | gpl-2.0 |
rpetit3/darkstar | scripts/zones/Lower_Jeuno/npcs/Porter_Moogle.lua | 41 | 1537 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 245
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Lower_Jeuno/TextIDs");
r... | gpl-3.0 |
hodefoting/mmm | examples/raw-client.lua | 1 | 2056 | #!/usr/bin/env luajit
-- direct lua implementation of a minimal raw fb client
local S = require"syscall"
local ffi = require"ffi"
local WIDTH = 800
local HEIGHT = 600
local BPP = 4
local MMM_PID = 0x18
local MMM_TITLE = 0xb0
local MMM_WIDTH = 0x5... | isc |
rpetit3/darkstar | scripts/zones/Port_Bastok/npcs/Synergy_Engineer.lua | 13 | 1053 | -----------------------------------
-- Area: Port Bastok
-- NPC: Synergy Engineer
-- Type: Standard NPC
-- @zone: 236
-- @pos 37.700 -0.3 -50.500
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------... | gpl-3.0 |
dmccuskey/dmc-objects | examples/DMC-MultiShapes/dmc_corona/lib/dmc_lua/lua_promise.lua | 43 | 6191 | --====================================================================--
-- lua_promise.lua
--
-- Documentation: http://docs.davidmccuskey.com/
--====================================================================--
--[[
The MIT License (MIT)
Copyright (C) 2014-2015 David McCuskey. All Rights Reserved.
Permission ... | mit |
rpetit3/darkstar | scripts/globals/items/salty_bretzel.lua | 18 | 1278 | -----------------------------------------
-- ID: 5182
-- Item: salty_bretzel
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Magic % 8
-- Magic Cap 60
-- Vitality 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- On... | gpl-3.0 |
Rodeo314/tim-vlc-2.1 | share/lua/sd/katsomo.lua | 110 | 1336 | --[[
$Id$
Copyright © 2010 VideoLAN and AUTHORS
Authors: Ilkka Ollakka <ileoo 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 yo... | gpl-2.0 |
tommo/gii | lib/lua/mock_edit/gizmos/BoundGizmo.lua | 1 | 1085 | module 'mock_edit'
--------------------------------------------------------------------
CLASS: SimpleBoundGizmo( Gizmo )
function SimpleBoundGizmo:__init()
self.target = false
end
function SimpleBoundGizmo:onLoad()
self:attach( mock.DrawScript() ):setBlend( 'alpha' )
end
function SimpleBoundGizmo:setTarget( target ... | mit |
rpetit3/darkstar | scripts/commands/addquest.lua | 8 | 1242 | ---------------------------------------------------------------------------------------------------
-- func: @addquest <logID> <questID> <player>
-- desc: Adds a quest to the given targets log.
---------------------------------------------------------------------------------------------------
require("scripts/globals/... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/Northern_San_dOria/npcs/Arienh.lua | 13 | 1036 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Arienh
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos -37.292 -2.000 -6.817
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");
... | gpl-3.0 |
MinetestForFun/server-minetestforfun-creative | mods/markers/config.lua | 11 | 1194 |
-- stores up to 4 marker positions for each player
markers.positions = {}
-- store the positions of that many markers for each player (until server restart)
markers.MAX_MARKERS = 50;
-- the protection against digging of the marker by other players expires after this time
markers.EXPIRE_AFTER = 60*60*24;
-- self-pr... | unlicense |
fegimanam/mer | plugins/invite.lua | 33 | 2849 | --[[
Invite user into the chat group.
Type !invite by replying to a message to invite replied user.
Usefull when you want to reinviting kicked user. Most reliable.
Use !invite 1234567890 (where 1234567890 is id_number) to invite a user by id_number.
This is a very reliable method, and if failed, will failed silently... | gpl-2.0 |
dkogan/notion | contrib/statusbar/statusbar_wsname.lua | 6 | 4614 | -- Authors: Etan Reisner <deryni@gmail.com>
-- License: MIT, see http://opensource.org/licenses/mit-license.php
-- Last Changed: 2007-01-23
--
--[[
Author: Etan Reisner
Email: deryni@gmail.com
Summary: Adds a handful of statusbar meters displaying the current workspace name, all workspace names, etc. in a variety of ma... | lgpl-2.1 |
tommo/gii | template/game/lib/mock/entity/SubSceneContainer.lua | 2 | 1343 | module 'mock'
CLASS: FakeScene ()
:MODEL{}
function FakeScene:__init( rootEntity )
self.root = rootEntity
end
function FakeScene:init()
end
function FakeScene:addEntity( ent )
self.root:addChild( ent )
end
--------------------------------------------------------------------
CLASS: SubSceneContainer ( mock.Entit... | mit |
vseledkin/april-ann | profile_build_scripts/build_release_pi.lua | 3 | 2922 | dofile("luapkg/formiga.lua")
local postprocess = dofile("luapkg/postprocess.lua")
formiga.build_dir = "build_release_pi"
local packages = dofile "profile_build_scripts/package_list.pi.lua"
-- table.insert(packages, "rlcompleter") -- AUTOCOMPLETION => needs READLINE
local metadata = dofile "profile_build_scripts/METADA... | gpl-3.0 |
yaser1382/BDReborn | plugins/azan.lua | 2 | 2561 | --Start By @Tele_Sudo
do
function run_bash(str)
local cmd = io.popen(str)
local result = cmd:read('*all')
return result
end
local api_key = nil
local base_api = "https://maps.googleapis.com/maps/api"
function get_latlong(area)
local api = base_api .. "/geocode/json?"
local parameters = "address="..... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/Eastern_Altepa_Desert/npcs/Sahgygy_WW.lua | 13 | 3340 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Sahgygy, W.W.
-- Border Conquest Guards
-- @pos 226.493 -12.231 260.194 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/c... | gpl-3.0 |
tommo/gii | packages/Mock/DeckEditor/Deck2DEditor.lua | 1 | 15672 | --------------------------------------------------------------------
scn = mock_edit.createEditorCanvasScene()
--------------------------------------------------------------------
CLASS: Deck2DEditor( mock_edit.EditorEntity )
function Deck2DEditor:onLoad()
self:addSibling( mock_edit.CanvasGrid() )
self:addSibling( m... | mit |
rpetit3/darkstar | scripts/globals/items/baked_popoto.lua | 18 | 1265 | -----------------------------------------
-- ID: 4436
-- Item: Baked Popoto
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 20
-- Dexterity -1
-- Vitality 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- On... | gpl-3.0 |
rpetit3/darkstar | scripts/globals/mobskills/Bad_Breath.lua | 32 | 1258 | ---------------------------------------------
-- Bad Breath
--
-- Description: Deals earth damage that inflicts multiple status ailments on enemies within a fan-shaped area originating from the caster.
-- Type: Magical (Earth)
--
--
---------------------------------------------
require("scripts/globals/settings");
r... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/Northern_San_dOria/npcs/Fittesegat.lua | 13 | 1044 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Fittesegat
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos 144.250 0.000 138.203
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs"... | gpl-3.0 |
brendonjustin/vlc | share/lua/playlist/anevia_xml.lua | 124 | 3618 | --[[
Parse list of available streams on Anevia servers.
The URI http://ipaddress/ws/Mgmt/* describes a list of
available streams on the server.
Copyright © 2009 M2X BV
Authors: Jean-Paul Saman <jpsaman@videolan.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the... | gpl-2.0 |
rpetit3/darkstar | scripts/zones/Northern_San_dOria/npcs/Durogg.lua | 13 | 2949 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Durogg
-- Type: Past Event Watcher
-- @zone: 231
-- @pos: 15 0 -18
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");
require("scripts/g... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/Windurst_Woods/npcs/Miiri-Wohri.lua | 13 | 1052 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Miiri-Wohri
-- Type: Standard NPC
-- @zone: 241
-- @pos 106.766 -6 -30.492
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
------------... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/Treasure_Chest.lua | 13 | 4056 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Treasure Chest
-- @zone 176
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
requir... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/Throne_Room/npcs/_4l1.lua | 13 | 2134 | -----------------------------------
-- Area: Throne Room
-- NPC: Throne Room
-- Type: Door
-- @pos -111 -6 0 165
-------------------------------------
package.loaded["scripts/zones/Throne_Room/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/bcnm");
... | gpl-3.0 |
schidler/ionic-luci | applications/luci-app-firewall/luasrc/model/cbi/firewall/rules.lua | 66 | 6975 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2010-2012 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local ds = require "luci.dispatcher"
local ft = require "luci.tools.firewall"
m = Map("firewall",
translate("Firewall - Traffic Rules"),
translate("Tra... | apache-2.0 |
dwmw2/luci | protocols/luci-proto-openconnect/luasrc/model/cbi/admin_network/proto_openconnect.lua | 40 | 2661 | -- Copyright 2014 Nikos Mavrogiannopoulos <nmav@gnutls.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local server, username, password, cert, ca
local oc_cert_file, oc_key_file, oc_ca_file
local ifc = net:get_interface():name()
oc_cert_file = "/etc/openconnect/user-cert-"... | apache-2.0 |
vlapsley/outback | mods/technic/technic/tools/tree_tap.lua | 2 | 2041 |
local S = technic.getter
local mesecons_materials = minetest.get_modpath("mesecons_materials")
minetest.register_tool("technic:treetap", {
description = S("Tree Tap"),
inventory_image = "technic_tree_tap.png",
on_use = function(itemstack, user, pointed_thing)
if pointed_thing.type ~= "node" then
return
end
... | lgpl-2.1 |
actboy168/jass2lua | src/parser/checker.lua | 3 | 29683 | local grammar = require 'parser.grammar'
local calcline = require 'parser.calcline'
local lang = require 'lang'
local tonumber = tonumber
local tointeger = math.tointeger
local stringByte = string.byte
local stringUnpack = string.unpack
local ipairs = ipairs
local paris = pairs
local jass
local state
local file
local... | mit |
Tesla-Redux/android_external_skia | tools/lua/glyph-usage.lua | 207 | 4034 | function tostr(t)
local str = ""
for k, v in next, t do
if #str > 0 then
str = str .. ", "
end
if type(k) == "number" then
str = str .. "[" .. k .. "] = "
else
str = str .. tostring(k) .. " = "
end
if type(v) == "table" then
... | bsd-3-clause |
rpetit3/darkstar | scripts/zones/Windurst_Woods/npcs/Rakoh_Buuma.lua | 13 | 2893 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Rakoh Buuma
-- Starts Windurst Missions
-- @pos 106 -5 -23 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
----------------------------... | gpl-3.0 |
rpetit3/darkstar | scripts/globals/mobskills/Laser_Shower.lua | 18 | 1097 | ---------------------------------------------
-- Laser_Shower
--
-- Description: Deals Darkness damage to enemies within a fan-shaped area.
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes:
---------------------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
Marnador/OpenRA-Marn-TS-Edition | mods/cnc/maps/nod02b/nod02b.lua | 10 | 6246 | NodUnits = { "bggy", "e1", "e1", "e1", "e1", "e1", "bggy", "e1", "e1", "e1", "bggy" }
NodBaseBuildings = { "hand", "fact", "nuke" }
Grd2ActorTriggerActivator = { Refinery, Yard }
Atk4ActorTriggerActivator = { Guard1 }
Atk3ActorTriggerActivator = { Guard4 }
Atk6ActorTriggerActivator = { Guard2, Guard3 }
HuntActorTrigge... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/Dynamis-Xarcabard/Zone.lua | 21 | 2547 | -----------------------------------
--
-- Zone: Dynamis-Xarcabard
--
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------... | gpl-3.0 |
tenvick/hugula | Client/Assets/Lua/core/databinding/notify_table.lua | 1 | 16532 | ------------------------------------------------
-- Copyright © 2013-2020 Hugula: Arpg game Engine
--
-- author pu
------------------------------------------------
local table = table
local type = type
local table_insert = table.insert
local table_remove = table.remove
local table_remove_item = table.remove_item
lo... | mit |
MinetestForFun/server-minetestforfun-creative | mods/bobblocks/blocks.lua | 8 | 6143 | -- BobBlocks mod by RabbiBob
-- State Changes
local bobblock_colours = {"red", "orange", "yellow", "green", "blue", "indigo", "violet", "white"}
local function update_bobblock(pos, node)
--Switch Block State
minetest.add_node(pos, {name = 'bobblocks:'..node})
minetest.sound_play("bobblocks_glassblock", {
pos = p... | unlicense |
rpetit3/darkstar | scripts/zones/Cloister_of_Gales/npcs/Wind_Protocrystal.lua | 13 | 1940 | -----------------------------------
-- Area: Cloister of Gales
-- NPC: Wind Protocrystal
-- Involved in Quests: Trial by Wind, Trial Size Trial By Wind
-- @zone -361 1 -381 201
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil;
-----------------------------------
requ... | gpl-3.0 |
spacebuild/spacebuild | lua/entities/base_gravity_control/init.lua | 5 | 6216 | AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
util.PrecacheSound("apc_engine_start")
util.PrecacheSound("apc_engine_stop")
util.PrecacheSound("common/warning.wav")
include('shared.lua')
local Energy_Increment = 25
function ENT:Initialize()
self.BaseClass.Initialize(self)
self.Active = 0
self.dama... | apache-2.0 |
iRGBit/Dato-Core | src/unity/python/graphlab/lua/pl/data.lua | 18 | 19989 | --- Reading and querying simple tabular data.
--
-- data.read 'test.txt'
-- ==> {{10,20},{2,5},{40,50},fieldnames={'x','y'},delim=','}
--
-- Provides a way of creating basic SQL-like queries.
--
-- require 'pl'
-- local d = data.read('xyz.txt')
-- local q = d:select('x,y,z where x > 3 and z < 2 sort by y... | agpl-3.0 |
rpetit3/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm12.lua | 13 | 1364 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm12 (???)
-- Involved in Quest: Hitting the Marquisate (THF AF3)
-- @pos -245.603 -5.500 139.855 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("s... | gpl-3.0 |
i32ropie/telegram-bot | plugins/isX.lua | 605 | 2031 | local https = require "ssl.https"
local ltn12 = require "ltn12"
local function request(imageUrl)
-- 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 api_key = mashape.api_key
if ... | gpl-2.0 |
rpetit3/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Kemha_Flasehp.lua | 29 | 2315 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Kemha Flasehp
-- Type: Fishing Normal/Adv. Image Support
-- @pos -28.4 -6 -98 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
flukso/tmpo | luasrc/luci/json.lua | 15 | 11159 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local nixio = require "nixio"
local util = require "luci.util"
local table = require "table"
local string = require "string"
local coroutine = ... | mit |
schidler/ionic-luci | applications/luci-app-asterisk/luasrc/asterisk/cc_idd.lua | 68 | 7491 | -- Licensed to the public under the Apache License 2.0.
module "luci.asterisk.cc_idd"
CC_IDD = {
-- Country, CC, IDD
{ "Afghanistan", "93", "00" },
{ "Albania", "355", "00" },
{ "Algeria", "213", "00" },
{ "American Samoa", "684", "00" },
{ "Andorra", "376", "00" },
{ "Angola", "244", "00" },
{ "Anguilla", "26... | apache-2.0 |
dwmw2/luci | applications/luci-app-asterisk/luasrc/asterisk/cc_idd.lua | 68 | 7491 | -- Licensed to the public under the Apache License 2.0.
module "luci.asterisk.cc_idd"
CC_IDD = {
-- Country, CC, IDD
{ "Afghanistan", "93", "00" },
{ "Albania", "355", "00" },
{ "Algeria", "213", "00" },
{ "American Samoa", "684", "00" },
{ "Andorra", "376", "00" },
{ "Angola", "244", "00" },
{ "Anguilla", "26... | apache-2.0 |
Bobbyjoness/To-Do-App-Client | gui/theme.lua | 1 | 1927 | local class = require "libs.hump.class"
local lume = require "libs.lume"
local utils = require 'utils'
local Theme = class{}
function Theme:init( themeTable )
self.themeTable = {}
if type(themeTable) == "table" then
for k,v in pairs(theme) do
self.themeTable[k] = v
end
end
end
function Theme:setPrim... | mit |
wanghuan1115/sdkbox-chartboost-sample | lua/src/cocos/framework/extends/UISlider.lua | 57 | 1392 |
--[[
Copyright (c) 2011-2014 chukong-inc.com
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, di... | mit |
spacebuild/spacebuild | lua/entities/generator_liquid_water/init.lua | 2 | 6909 | AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
util.PrecacheSound("Airboat_engine_idle")
util.PrecacheSound("Airboat_engine_stop")
util.PrecacheSound("apc_engine_start")
include('shared.lua')
local Pressure_Increment = 80
local Energy_Increment = 10
function ENT:Initialize()
self.BaseClass.Initialize(self)... | apache-2.0 |
rpetit3/darkstar | scripts/globals/items/cone_calamary.lua | 18 | 1313 | -----------------------------------------
-- ID: 5128
-- Item: Cone Calamary
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
focusworld/telefocus | bot/seedbot.lua | 1 | 10131 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '1.0'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
retu... | gpl-2.0 |
rpetit3/darkstar | scripts/zones/Bastok_Markets/npcs/Matthias.lua | 13 | 7571 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Matthias
-- Standard Info NPC
-- Involved in Quest:
-----------------------------------
require("scripts/globals/quests");
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/zones/Bastok_Markets/TextIDs");
---------------... | gpl-3.0 |
sys4-fr/server-minetestforfun | mods/maze/init.lua | 8 | 18783 | local function spawn_maze(name, param)
local t1 = os.clock()
math.randomseed(os.time())
local found, _, maze_size_x_st, maze_size_y_st, maze_size_l_st, material_floor, material_wall, material_ceiling = param:find("(%d+)%s+(%d+)%s+(%d+)%s+([^%s]+)%s+([^%s]+)%s+([^%s]+)")
local min_size = 11
local maze_size_x =... | unlicense |
rpetit3/darkstar | scripts/globals/items/serving_of_royal_jelly.lua | 18 | 1133 | -----------------------------------------
-- ID: 4508
-- Item: Serving of Royal Jelly
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- MP Recovery while healing 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
MinetestForFun/server-minetestforfun-creative | mods/moreblocks/stairsplus/registrations.lua | 8 | 1292 | --[[
More Blocks: registrations
Copyright (c) 2011-2015 Calinou and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
--]]
local default_nodes = { -- Default stairs/slabs/panels/microblocks:
"stone",
"cobble",
"mossycobble",
"brick",
"sandstone",
"steelblock",
"goldblock",
"c... | unlicense |
rpetit3/darkstar | scripts/globals/items/cougar_baghnakhs.lua | 41 | 1068 | -----------------------------------------
-- ID: 16702
-- Item: Cougar Baghnakhs
-- Additional Effect: Ice Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
----------------------------... | gpl-3.0 |
dwmw2/luci | applications/luci-app-udpxy/luasrc/model/cbi/udpxy.lua | 77 | 2104 | -- Copyright 2014 Álvaro Fernández Rojas <noltari@gmail.com>
-- Licensed to the public under the Apache License 2.0.
m = Map("udpxy", "udpxy", translate("udpxy is a UDP-to-HTTP multicast traffic relay daemon, here you can configure the settings."))
s = m:section(TypedSection, "udpxy", "")
s.addremove = true
s.anonymo... | apache-2.0 |
rpetit3/darkstar | scripts/zones/Boneyard_Gully/bcnms/head_wind.lua | 30 | 1732 | -----------------------------------
-- Area: Boneyard_Gully
-- Name: head_wind
-- BCNM: 672
-----------------------------------
package.loaded["scripts/zones/Boneyard_Gully/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Boneyard_Gully/TextIDs");
-----... | gpl-3.0 |
dejayc/CooL | Packages/PlatformConfig.lua | 1 | 1362 | --[[ CooL( Corona Object-Oriented Lua )
https://github.com/dejayc/CooL
Copyright 2011 Dejay Clayton
All use of this file must comply with the Apache License,
Version 2.0, under which this file is licensed:
http://www.apache.org/licenses/LICENSE-2.0 --]]
--[[
---------------------------------... | apache-2.0 |
rpetit3/darkstar | scripts/zones/QuBia_Arena/mobs/Yukvok_of_Clan_Death.lua | 23 | 3026 | -----------------------------------
-- Area: QuBia_Arena
-- Mission 9-2 SANDO
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-- onMobRoam
------------------------------... | gpl-3.0 |
tommo/gii | lib/lua/mock_edit/gizmos/IconGizmo.lua | 1 | 1740 | module 'mock_edit'
local iconTextureCache = {}
--------------------------------------------------------------------
CLASS: IconGizmo( Gizmo )
function IconGizmo:__init()
self.iconProp = MOAIProp.new()
self.iconDeck = MOAIGfxQuad2D.new()
self.iconProp:setDeck( self.iconDeck )
self.pickingTarget = false
end
functi... | mit |
rpetit3/darkstar | scripts/zones/Mhaura/npcs/Runito-Monito.lua | 13 | 1500 | -----------------------------------
-- Area: Mhaura
-- NPC: Runito-Monito
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/shop");
----------... | gpl-3.0 |
dwmw2/luci | applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua | 29 | 4347 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.rrdtool.definitions.netlink", package.seeall)
function rrdargs( graph, plugin, plugin_instance )
--
-- traffic diagram
--
local traffic = {
title = "%H: Netlink... | apache-2.0 |
rpetit3/darkstar | scripts/zones/Castle_Oztroja/mobs/Tzee_Xicu_the_Manifest.lua | 14 | 1478 | -----------------------------------
-- Area: Castle Oztroja
-- MOB: Tzee Xicu the Manifest
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztroja/TextIDs");
require("scripts/globals/titles");
---------... | gpl-3.0 |
rpetit3/darkstar | scripts/globals/mobskills/Wind_Shear_ZNM.lua | 34 | 1117 | ---------------------------------------------
-- Wind Shear
--
-- Description: Deals damage to enemies within an area of effect. Additional effect: Knockback
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: 10' radial
-- Notes: The knockback is rather severe. Vulpangue uses an enhanced version th... | gpl-3.0 |
dmccuskey/dmc-objects | examples/Corona-Physics-ManyCrates/dmc_corona/lib/dmc_lua/lua_bytearray/pack_bytearray.lua | 40 | 6439 | --====================================================================--
-- dmc_lua/lua_bytearray/pack_bytearray.lua
--
-- Documentation: http://docs.davidmccuskey.com/
--====================================================================--
--[[
The MIT License (MIT)
Copyright (c) 2014-2015 David McCuskey
Permissi... | mit |
nokizorque/ucd | guieditor/client/dx_elements/dx_slider.lua | 2 | 5176 | --[[--------------------------------------------------
GUI Editor
client
dx_slider.lua
creates a dx slider widget for use in the right click menus
--]]--------------------------------------------------
DX_Slider = {}
DX_Slider.__index = DX_Slider
DX_Slider.instances = {}
function DX_Slider:create(x, y, width, h... | mit |
rpetit3/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Parledaire_RK.lua | 13 | 3340 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Parledaire, R.K.
-- Type: Conquest Overseer
-- @pos -24.351 -60.421 -114.215 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
rpetit3/darkstar | scripts/globals/weaponskills/starburst.lua | 23 | 1325 | -----------------------------------
-- Starburst
-- Staff weapon skill
-- Skill Level: 100
-- Deals light or darkness elemental damage. Damage varies with TP.
-- Aligned with the Shadow Gorget & Aqua Gorget.
-- Aligned with the Shadow Belt & Aqua Belt.
-- Element: Light/Dark (Random)
-- Modifiers: : STR:40% MND:40%
... | gpl-3.0 |
Maxsteam/BBBBKKKK | bot/utils.lua | 31 | 14800 | 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 |
rpetit3/darkstar | scripts/commands/hasitem.lua | 10 | 1304 | ---------------------------------------------------------------------------------------------------
-- func: @hasitem
-- desc: Checks if a player has a specific item
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = "is... | gpl-3.0 |
lexa/awesome | awesomerc.lua | 5 | 18563 | -- Standard awesome library
local gears = require("gears")
local awful = require("awful")
awful.rules = require("awful.rules")
require("awful.autofocus")
-- Widget and layout library
local wibox = require("wibox")
-- Theme handling library
local beautiful = require("beautiful")
-- Notification library
local naughty = r... | gpl-2.0 |
rpetit3/darkstar | scripts/zones/Northern_San_dOria/npcs/Arachagnon.lua | 13 | 1866 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Arachagnon
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop");
r... | gpl-3.0 |
rpetit3/darkstar | scripts/zones/Dho_Gates/Zone.lua | 50 | 1181 | -----------------------------------
--
-- Zone: Foret de Hennetiel
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Dho_Gates/TextIDs"] = nil;
require("scripts/zones/Dho_Gates/TextIDs");
-----------------------------------
-- onInitialize
-------------------... | gpl-3.0 |
rpetit3/darkstar | scripts/globals/items/dish_of_spaghetti_tonno_rosso_+1.lua | 18 | 1379 | -----------------------------------------
-- ID: 5624
-- Item: Dish of Spaghetti Tonno Rosso +1
-- Food Effect: 60 Mins, All Races
-----------------------------------------
-- Health % 13
-- Health Cap 185
-- Dexterity 2
-- Vitality 3
-----------------------------------------
require("scripts/globals/status");
------... | gpl-3.0 |
peterbarker/ardupilot | libraries/AP_Scripting/applets/forward_flight_motor_shutdown.lua | 19 | 5683 | -- This is a script that stops motors in forward flight, for use on tiltrotors and tailsitters
-- Thanks to PteroDynamics for supporting the development of this script
-- Set the motor numbers to stop and configure a RCx_OPTION to 300 to enable and disable
-- Throttle thresholds also allow automatic enable and disable ... | gpl-3.0 |
lukego/snabbswitch | lib/ljsyscall/syscall/linux/ppc64le/ffi.lua | 24 | 1335 | -- ppc specific definitions
return {
termios = [[
struct termios {
tcflag_t c_iflag;
tcflag_t c_oflag;
tcflag_t c_cflag;
tcflag_t c_lflag;
cc_t c_cc[19];
cc_t c_line;
speed_t c_ispeed;
speed_t c_ospeed;
};
]],
ucontext = [[
typedef unsigned long greg_t, gregset_t[48];
typedef struct {
double fpre... | apache-2.0 |
esguk811/DarkRP | gamemode/modules/fadmin/fadmin/pickupplayers/cl_init.lua | 8 | 1821 | local AdminsCanPickUpPlayers = CreateConVar("AdminsCanPickUpPlayers", 1, {FCVAR_REPLICATED, FCVAR_SERVER_CAN_EXECUTE})
local PlayersCanPickUpPlayers = CreateConVar("PlayersCanPickUpPlayers", 0, {FCVAR_REPLICATED, FCVAR_SERVER_CAN_EXECUTE})
FAdmin.StartHooks["PickUpPlayers"] = function()
FAdmin.Access.AddPrivilege(... | mit |
rpetit3/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/qm5.lua | 13 | 1034 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: ??? (Crimson-toothed Pawberry NM)
-- @pos -39 -24 27 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Temple_of_Uggalepih/TextID... | gpl-3.0 |
vasilenkomike/omim | 3party/osrm/osrm-backend/profiles/foot.lua | 61 | 6498 | -- Foot profile
require("lib/access")
barrier_whitelist = { [""] = true, ["cycle_barrier"] = true, ["bollard"] = true, ["entrance"] = true, ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["no"] = true}
access_tag_whitelist = { ["yes"] = true, ["foot"]... | apache-2.0 |
rpetit3/darkstar | scripts/globals/items/san_dorian_carrot.lua | 18 | 1179 | -----------------------------------------
-- ID: 4389
-- Item: san_dorian_carrot
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 2
-- Vitality -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
rpetit3/darkstar | scripts/globals/items/loaf_of_iron_bread.lua | 18 | 1176 | -----------------------------------------
-- ID: 4499
-- Item: loaf_of_iron_bread
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 4
-- Vitality 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.