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
dromozoa/dromozoa-unix
test/lua/test_unistd.lua
1
4358
-- Copyright (C) 2016-2019 Tomoyuki Fujimori <moyu@dromozoa.com> -- -- This file is part of dromozoa-unix. -- -- dromozoa-unix 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,...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/weaponskills/tachi_gekko.lua
4
1459
----------------------------------- -- Tachi Gekko -- Great Katana weapon skill -- Skill Level: 225 -- Silences target. Damage varies with TP. -- Silence effect duration is 60 seconds when unresisted. -- Will stack with Sneak Attack. -- Tachi: Gekko has a high attack bonus of +100%. [1] -- Aligned with the Aqua...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Bastok_Mines/npcs/Tibelda.lua
36
1405
----------------------------------- -- Area: Bastok Mines -- NPC: Tibelda -- Only sells when Bastok controlls Valdeaunia Region ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts...
gpl-3.0
actionless/awesome
spec/gears/color_spec.lua
8
10556
--------------------------------------------------------------------------- -- @author Uli Schlachter -- @copyright 2014 Uli Schlachter --------------------------------------------------------------------------- local color = require("gears.color") local cairo = require("lgi").cairo local say = require("say") describ...
gpl-2.0
exochron/mount-journal-enhanced
Libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua
21
2746
--[[----------------------------------------------------------------------------- Button Widget Graphical Button. -------------------------------------------------------------------------------]] local Type, Version = "Button", 24 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if not AceGUI or (AceGUI:GetWidget...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/items/serving_of_shallops_tropicale.lua
1
1492
----------------------------------------- -- ID: 4554 -- Item: serving_of_shallops_tropicale -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic 20 -- Dexterity 1 -- Vitality 4 -- Intelligence 1 -- Defense % 25 -- Defense Cap 100 ----------------------------------------- require("scrip...
gpl-3.0
LipkeGu/OpenRA
mods/d2k/maps/harkonnen-09a/harkonnen09a-AI.lua
1
5792
--[[ 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
kidaa/FFXIOrgins
scripts/zones/Upper_Jeuno/npcs/Mailloquetat.lua
4
1363
----------------------------------- -- Area: Upper Jeuno -- NPC: Mailloquetat -- Involved in Quests: Save my Sister -- @zone 244 -- @pos -31 -1 8 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requi...
gpl-3.0
Fatalerror66/ffxi-a
scripts/globals/weaponskills/split_shot.lua
6
1577
----------------------------------- -- Split Shot -- Marksmanship weapon skill -- Skill Level: 40 -- Ignores enemy's defense. Amount ignored varies with TP. -- The amount of defense ignored is 0% @ 100TP, 35% @ 200TP and 50% @ 300TP. -- Aligned with the Aqua Gorget & Light Gorget. -- Aligned with the Aqua...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Fort_Ghelsba/npcs/Treasure_Chest.lua
7
2558
----------------------------------- -- Area: Fort Ghelsba -- NPC: Treasure Chest -- @zone 141 ----------------------------------- package.loaded["scripts/zones/Fort_Ghelsba/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/treasure"); require("scripts/z...
gpl-3.0
meshr-net/meshr_win32
usr/lib/lua/luci/model/cbi/luci_statistics/processes.lua
7
1140
--[[ Luci configuration model for statistics - collectd processes 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 Lic...
apache-2.0
Fatalerror66/ffxi-a
scripts/zones/Southern_San_dOria/npcs/Apairemant.lua
2
1951
----------------------------------- -- Area: Southern San d'Oria -- NPC: Apairemant -- Only sells when San d'Oria -- controls Gustaberg Region. -- @zone 230 -- @pos 72 2 0 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; -------------------------------...
gpl-3.0
nofishonfriday/ReaScripts
misc/nofish_Reset Mix - all tracks (for stem export).lua
1
1617
--[[ * ReaScript Name: Reset Mix - all tracks (for stem export) * Version: 1.0 * Author: nofish * About: * Does the following: * - Bypass all automation * - Bypass all track FX (except VSTi) * - Reset all track volume, reset all track pan * - Reset master volume, Bypass master FX * - Optionally: Reset a...
gpl-2.0
Fatalerror66/ffxi-a
scripts/zones/Northern_San_dOria/npcs/Jeanvirgaud.lua
3
1563
----------------------------------- -- Area: Northern San d'Oria -- NPC: Jeanvirgaud -- Outpost Teleporter NPC -- @pos 45.559 -0.199 26.300 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest");...
gpl-3.0
OxideMod/Oxide1
Lua STL/type.lua
2
7398
-- Oxide - Lua Standard Library -- type.lua - Type system local rawget = rawget local rawset = rawset typesystem = {} local metaType = {} function metaType.__index( t, k ) -- This is the index metamethod for a namespace'd type -- eg: RustFirstPass.NetUser[ k ] -- We should look for static methods, properties and...
mit
chrisy/vpp
src/vpp-api/lua/examples/cli/lua-cli.lua
5
17107
--[[ /* * Copyright (c) 2016 Cisco and/or its affiliates. * 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 appl...
apache-2.0
belolap/guild-taxes
Libs/AceGUI-3.0/widgets/AceGUIWidget-CheckBox.lua
5
8052
--[[----------------------------------------------------------------------------- Checkbox Widget -------------------------------------------------------------------------------]] local Type, Version = "CheckBox", 24 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if not AceGUI or (AceGUI:GetWidgetVersion(Type) ...
bsd-3-clause
Fatalerror66/ffxi-a
scripts/zones/North_Gustaberg/npcs/Cavernous_Maw.lua
2
1469
----------------------------------- -- Area: North Gustaberg -- Name: Cavernous Maw -- Teleports Players to North -- Gustaberg [S] -- @zone 106 -- @pos 462.628, 0.029, 479.280 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Temenos/mobs/Ice_Elemental.lua
2
1658
----------------------------------- -- Area: Temenos E T -- NPC: Ice_Elemental ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ----------------------------------...
gpl-3.0
Wedge009/wesnoth
data/ai/micro_ais/mai-defs/animals.lua
4
7066
local AH = wesnoth.require "ai/lua/ai_helper.lua" local MAIH = wesnoth.require("ai/micro_ais/micro_ai_helper.lua") function wesnoth.micro_ais.big_animals(cfg) local required_keys = { filter = 'tag' } local optional_keys = { avoid_unit = 'tag', filter_location = 'tag', filter_location_wander = 'tag' } local...
gpl-2.0
flyzjhz/openwrt-bb
feeds/luci/modules/admin-full/luasrc/model/cbi/admin_network/routes.lua
86
2540
--[[ 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$ ]]-- req...
gpl-2.0
Yhgenomics/premake-core
src/host/lua-5.1.4/test/sort.lua
889
1494
-- two implementations of a sort function -- this is an example only. Lua has now a built-in function "sort" -- extracted from Programming Pearls, page 110 function qsort(x,l,u,f) if l<u then local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u x[l],x[m]=x[m],x[l] -- swap pivot to first posit...
bsd-3-clause
rns/MarpaX-Languages-Lua-AST
t/MarpaX-Languages-Lua-Parser/sort.lua
889
1494
-- two implementations of a sort function -- this is an example only. Lua has now a built-in function "sort" -- extracted from Programming Pearls, page 110 function qsort(x,l,u,f) if l<u then local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u x[l],x[m]=x[m],x[l] -- swap pivot to first posit...
artistic-2.0
Fatalerror66/ffxi-a
scripts/zones/Northern_San_dOria/npcs/Cheupirudaux.lua
2
2005
----------------------------------- -- Area: Northern San d'Oria -- NPC: Cheupirudaux -- Type: Woodworking Guildmaster NPC -- Involved in Quest: It's Raining Mannequins! -- @pos -138 12 250 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Norg/npcs/Louartain.lua
4
1353
----------------------------------- -- Area: Norg -- NPC: Louartain -- Standard Info NPC ----------------------------------- require("scripts/globals/pathfind"); local path = { 41.878349, -6.282223, 10.820915, 42.088036, -6.282223, 11.867051, 42.096603, -6.282223, 12.939011, 42.104187, -6.282223, 17.270992, 42.126625...
gpl-3.0
pquentin/wesnoth
data/ai/micro_ais/cas/ca_herding_sheep_runs_dog.lua
26
1437
local H = wesnoth.require "lua/helper.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" local function get_next_sheep(cfg) local sheep = AH.get_units_with_moves { side = wesnoth.current.side, { "and", cfg.filter_second }, { "filter_adjacent", { side = wesnoth.current.side, { "and", cfg...
gpl-2.0
pquentin/wesnoth
data/ai/micro_ais/micro_ai_helper.lua
26
7240
local H = wesnoth.require "lua/helper.lua" local W = H.set_wml_action_metatable {} local AH = wesnoth.require("ai/lua/ai_helper.lua") local MAIUV = wesnoth.require "ai/micro_ais/micro_ai_unit_variables.lua" local micro_ai_helper = {} function micro_ai_helper.add_CAs(side, CA_parms, CA_cfg) -- Add the candidate ac...
gpl-2.0
kidaa/FFXIOrgins
scripts/zones/East_Ronfaure/npcs/Signpost.lua
19
2134
----------------------------------- -- Area: East Ronfaure -- NPC: Signpost -- Involved in Quest: To Cure a Cough -- @pos 257 -45 212 101 ----------------------------------- package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("s...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Den_of_Rancor/npcs/_4g4.lua
2
2684
----------------------------------- -- Area: Den of Rancor -- NPC: Lantern (NW) -- @pos -59 45 24 160 ----------------------------------- package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Den_of_Rancor/...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Dragons_Aery/mobs/Nidhogg.lua
1
1601
----------------------------------- -- Area: Dragons Aery -- HNM: Nidhogg ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/status"); ----------------------------------- -- onMobInitialize Action ----------------------------------- f...
gpl-3.0
SlySven/Mudlet
src/mudlet-lua/lua/utf8_filenames.lua
3
120620
------------------------------------------------------------------------------------------------------------------------------ -- Module: utf8_filenames ------------------------------------------------------------------------------------------------------------------------------ -- Filename: utf8_filenames.lua -- Versi...
gpl-2.0
kidaa/FFXIOrgins
scripts/zones/Mount_Zhayolm/npcs/qm2.lua
15
1161
----------------------------------- -- Area: Mount Zhayolm -- NPC: ??? (Spawn Claret(ZNM T1)) -- @pos 497 -9 52 61 ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mount_Zhayolm/TextIDs"); ---------------------...
gpl-3.0
Maxsteam/3mer
plugins/help.lua
27
4675
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]] end end return iter end...
gpl-2.0
rns/MarpaX-Languages-Lua-AST
t/lua5.1-tests/files.lua
7
8815
print('testing i/o') assert(io.input(io.stdin) == io.stdin) assert(io.output(io.stdout) == io.stdout) assert(type(io.input()) == "userdata" and io.type(io.output()) == "file") assert(io.type(8) == nil) local a = {}; setmetatable(a, {}) assert(io.type(a) == nil) local a,b,c = io.open('xuxu_nao_existe') assert(not a...
artistic-2.0
kidaa/FFXIOrgins
scripts/globals/items/kalamar.lua
18
1255
----------------------------------------- -- ID: 5448 -- Item: Kalamar -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----------...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Port_Jeuno/npcs/HomePoint#2.lua
1
1662
----------------------------------- -- Area: Port Jeuno -- NPC: HomePoint#2 -- @pos -155 -1 -4 246 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Port_Jeuno/TextIDs"); require...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Port_Bastok/npcs/Corann.lua
6
1984
----------------------------------- -- Area: Port Bastok -- NPC: Corann -- Start & Finishes Quest: The Quadav's Curse ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings")...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Gusgen_Mines/npcs/Clay.lua
4
1203
----------------------------------- -- Area: Gusgen Mines -- NPC: Clay -- Involved in Quest: A Potter's Preference -- @pos 117 -21 432 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scr...
gpl-3.0
Segs/Segs
Data/scripts/City_03_02/TimeCop.lua
3
1825
--TimeCop controls auto-refreshing of map spawners (spawndef-based) local TimeCop = {}; TimeCop.spawned = false; TimeCop.name = "Time Cop"; TimeCop.model = "MaleNpc_230"; TimeCop.location = {}; TimeCop.location.coordinates = vec3.new(-1908, 0, -4942.5); TimeCop.location.orientation = vec3.new(0, 3.14, 0); TimeCop.vari...
bsd-3-clause
KevinGuarnati/controllore
plugins/isX.lua
3
1954
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 api_key:is...
mit
nenau/naev
dat/factions/spawn/flf.lua
4
2055
include("dat/factions/spawn/common.lua") -- @brief Spawns a small fleet. function spawn_patrol () local pilots = {} local r = rnd.rnd() if r < 0.5 then scom.addPilot( pilots, "FLF Lancelot", 25 ); scom.addPilot( pilots, "FLF Lancelot", 25 ); elseif r < 0.8 then scom.addPilot( pil...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/West_Ronfaure/npcs/Diadonour.lua
16
1039
----------------------------------- -- Area: West Ronfaure -- NPC: Cerite -- Type: Standard NPC -- @zone: 100 -- @pos: -263.577 -72.999 425.885 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------...
gpl-3.0
pavouk/lgi
samples/gtk-demo/demo-dialogs.lua
6
3451
return function(parent, dir) local lgi = require 'lgi' local GObject = lgi.GObject local Gtk = lgi.Gtk local Gdk = lgi.Gdk local GdkPixbuf = lgi.GdkPixbuf local window = Gtk.Window { title = "Dialogs", border_width = 8, Gtk.Frame { label = "Dialogs", Gtk.Box { orientation = 'VERTICAL', border...
mit
kidaa/FFXIOrgins
scripts/zones/West_Ronfaure/npcs/Vilatroire.lua
2
1529
----------------------------------- -- Area: West Ronfaure -- NPC: Vilatroire -- Involved in Quests: "Introduction To Teamwork", "Intermediate Teamwork", -- "Advanced Teamwork" -- @pos -260.361 -70.999 423.420 100 ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/West_Ronf...
gpl-3.0
mrbangi/mr--bangi
plugins/admin.lua
86
2292
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(receiver, '...
gpl-2.0
actionless/awesome
themes/xresources/theme.lua
3
4597
--------------------------------------------- -- Awesome theme which follows xrdb config -- -- by Yauhen Kirylau -- --------------------------------------------- local theme_assets = require("beautiful.theme_assets") local xresources = require("beautiful.xresources") local rnotification = require(...
gpl-2.0
kidaa/FFXIOrgins
scripts/zones/Windurst_Waters/npcs/Yuli_Yaam.lua
6
1755
----------------------------------- -- Area: Windurst Waters -- NPC: Yuli Yaam -- Involved In Quest: Wondering Minstrel -- Working 100% -- @zone = 238 -- @pos = -61 -4 23 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("s...
gpl-3.0
mrbangi/mr--bangi
plugins/link.pv.lua
107
31031
do local function check_member(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then -- Group configuration data[tostring(msg.to.id)] = { ...
gpl-2.0
Fatalerror66/ffxi-a
scripts/globals/items/lebkuchen_house.lua
2
1249
----------------------------------------- -- ID: 5616 -- Item: Lebkuchen House -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- MP 10% Cap 45 -- Intelligence 3 ----------------------------------------- require("scripts/globals/status"); ------------------...
gpl-3.0
Clavus/LD32
engine/lib/loveframes/libraries/util.lua
2
10270
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- get the current require path local path = string.sub(..., 1, string.len(...) - string.len(".util")) local loveframes = re...
mit
yaukeywang/slua
build/luajit-2.1.0/dynasm/dasm_ppc.lua
33
57489
------------------------------------------------------------------------------ -- DynASM PPC/PPC64 module. -- -- Copyright (C) 2005-2016 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. -- -- Support for various extensions contributed by Caio Souza Oliveira. ---------------------------------...
mit
pquentin/wesnoth
data/ai/micro_ais/cas/ca_return_guardian.lua
26
1081
local AH = wesnoth.require "ai/lua/ai_helper.lua" local function get_guardian(cfg) local filter = cfg.filter or { id = cfg.id } local guardian = AH.get_units_with_moves { side = wesnoth.current.side, { "and", filter } }[1] return guardian end local ca_return_guardian = {} function ca...
gpl-2.0
Fatalerror66/ffxi-a
scripts/zones/Quicksand_Caves/npcs/qm4.lua
2
1203
----------------------------------- -- Author: ReaperX (Convert to DSP by Hypnotoad) -- H-8 ??? for Bastok Mission 8.1 "The Chains That Bind Us" -- 2nd CS ----------------------------------- ----------------------------------- -- onTrigger Action ----------------------------------- require("scripts/globals...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/items/plate_of_friture_de_la_misareaux.lua
1
1573
----------------------------------------- -- ID: 5159 -- Item: plate_of_friture_de_la_misareaux -- Food Effect: 240Min, All Races ----------------------------------------- -- Health 3 -- Dexterity 3 -- Vitality 3 -- Mind -3 -- Defense 5 -- Ranged ATT % 7 -- Ranged ATT Cap 15 ----------------------------------------- r...
gpl-3.0
miotatsu/milton
tundra/scripts/tundra/decl.lua
28
2152
module(..., package.seeall) local nodegen = require "tundra.nodegen" local functions = {} local _decl_meta = {} _decl_meta.__index = _decl_meta local current = nil local function new_parser() local obj = { Functions = {}, Results = {}, DefaultTargets = {}, AlwaysTargets = {}, } local outer_en...
mit
kidaa/FFXIOrgins
scripts/globals/items/trilobite.lua
18
1337
----------------------------------------- -- ID: 4317 -- Item: Trilobite -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity -5 -- Vitality 3 -- Defense +16% ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- O...
gpl-3.0
wounds1/zaza.bot
plugins/tagall.lua
4
3397
--[[ # #ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ #:(( # For More Information ....! # Developer : Aziz < @TH3_GHOST > # our channel: @DevPointTeam # Version: 1.1 #:)) #ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ # ]] lo...
gpl-2.0
Fatalerror66/ffxi-a
scripts/globals/mobskills/Spirits_Within.lua
4
1210
--------------------------------------------- -- Spirits Within -- -- Description: Delivers an unavoidable attack. Damage varies with HP and TP. -- Type: Magical/Breath -- Ignores shadows and most damage reduction. -- Range: Melee --------------------------------------------- require("scripts/globals/settings"); ...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/items/derfland_pear.lua
1
1164
----------------------------------------- -- ID: 4352 -- Item: derfland_pear -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -3 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Northern_San_dOria/npcs/Galahad.lua
38
1031
----------------------------------- -- Area: Northern San d'Oria -- NPC: Galahad -- Type: Consulate Representative NPC -- @zone: 231 -- @pos -51.984 -2.000 -15.373 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/Tex...
gpl-3.0
Moodstocks/cudnn.torch
Pointwise.lua
4
2063
local Pointwise, parent = torch.class('cudnn._Pointwise','nn.Module') local errcheck = cudnn.errcheck function Pointwise:__init(inplace) parent.__init(self) self.inplace = inplace or false end function Pointwise:createIODescriptors(input) assert(self.mode, 'mode is not set. (trying to use base class?)'); ...
bsd-2-clause
kidaa/FFXIOrgins
scripts/zones/Hall_of_Transference/npcs/_0e0.lua
2
1387
----------------------------------- -- Area: Hall of Transference -- NPC: Cermet Gate - Holla -- @pos -219 -6 280 14 ----------------------------------- package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/H...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Lower_Delkfutts_Tower/npcs/Cermet_Door.lua
2
1349
----------------------------------- -- Area: Lower Delkfutt's Tower -- NPC: Cermet Door -- Cermet door that leads to Upper Delkfutt's Tower. -- @zone 184 -- @pos 524 16 20 ----------------------------------- require("scripts/globals/settings"); ----------------------------------- -- onTrade Action ------...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Empyreal_Paradox/bcnms/dawn.lua
2
2587
----------------------------------- -- Area: Empyreal_Paradox -- Name: dawn --instance 1 --16924673', 'Promathia V1', '936', '-520', '-119', '524 --16924674', 'Promathia V2', '11135', '-520', '-119', '524 --instance 2 --16924675', 'Promathia V1', '936', '521', '-0.500', '517 --16924676', 'Promathia V2', '11135'...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Zeruhn_Mines/npcs/Zelman.lua
2
1725
----------------------------------- -- Area: Zeruhn Mines -- NPC: Zelman -- Involved In Quest: Groceries ----------------------------------- package.loaded["scripts/zones/Zeruhn_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); ...
gpl-3.0
Segs/Segs
Data/scripts/City_03_02/Spawndefs/5th_IndPort.spawndef.lua
3
2527
--This is a rank table --There could be multiple tables to generate spawns from local Fifth_Ranks_01 = { ["Minions"] = { "5thNight_00", "5thNight_01", }, ["Lieutenants"] = { "5thUber_40", }, } --== RECRUIT ==-- Recruit_5thColumn_D1_V0 = { ["Markers"] = { ["Encounter_S_...
bsd-3-clause
Fatalerror66/ffxi-a
scripts/zones/Walk_of_Echoes/Zone.lua
36
1119
----------------------------------- -- -- Zone: Walk_of_Echoes -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Walk_of_Echoes/TextIDs"] = nil; require("scripts/zones/Walk_of_Echoes/TextIDs"); ----------------------------------- -- onInitialize -...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/spells/bluemagic/maelstrom.lua
4
1240
----------------------------------------- -- -- Maelstrom -- ----------------------------------------- require("scripts/globals/magic"); require("scripts/globals/status"); require("scripts/globals/bluemagic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- functio...
gpl-3.0
roboxt/ss
plugins/music.lua
1
2260
local function musiclink(msg, musicid) local value = redis:hget('music:'..msg.to.id, musicid) if not value then return else value = value..'\n\n@GoldTeam' return value end end ------------------ Seconds To Minutes alg ------------------ function sectomin (Sec) if (tonumber(Sec) == nil) or (tonumber(Sec) == 0...
gpl-2.0
kidaa/FFXIOrgins
scripts/zones/Uleguerand_Range/npcs/Fissure.lua
17
1691
----------------------------------- -- Area: Uleguerand Range -- NPC: Fissure -- Teleports players from underground to surface -- @pos 380.267 34.859 -179.655 5 -- @pos 460.339 -29.137 220.311 5 -- @pos 180.207 -77.147 500.276 5 ----------------------------------- package.loaded["scripts/zones/Uleguerand_Range/T...
gpl-3.0
RockySeven3161/merbot
plugins/rss.lua
700
5434
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...
gpl-2.0
lordporya/lord-dark
plugins/rss.lua
700
5434
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...
gpl-2.0
Puccio7/bot-telegram
plugins/rss.lua
700
5434
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...
apache-2.0
Fatalerror66/ffxi-a
scripts/zones/Northern_San_dOria/npcs/Chasalvige.lua
2
1811
----------------------------------- -- Area: Northern San d'Oria -- NPC: Chasalvige -- Type: Standard Info NPC -- Involved in Mission: The Road Forks -- Involved in Mission: Promathia Mission 5 - Three Paths -- @zone: 231 -- @pos: 96.432 -0.520 134.046 -- ----------------------------------- require("sc...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/items/choco-ligar.lua
36
1156
----------------------------------------- -- ID: 5919 -- Item: Choco-ligar -- Food Effect: 3 Min, All Races ----------------------------------------- -- Vitality 1 -- Speed 12.5% ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/spells/bluemagic/triumphant_roar.lua
2
1087
----------------------------------------- -- Spell: Triumphant Roar ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/bluemagic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- fun...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/spells/paralyze.lua
1
2050
----------------------------------------- -- Spell: Paralyze -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpell...
gpl-3.0
Yhgenomics/premake-core
src/actions/make/make_csharp.lua
11
7710
-- -- make_csharp.lua -- Generate a C# project makefile. -- Copyright (c) 2002-2013 Jason Perkins and the Premake project -- premake.make.cs = {} local make = premake.make local cs = premake.make.cs local project = premake.project local config = premake.config local fileconfig = premake.fileconfig -- -- Add na...
bsd-3-clause
RussellHaley/ugent
Configuration.lua
1
2215
--~ stringio = require("pl.stringio") --~ config = require("pl.config") local Conf = {} function convert_true(conftable) for i,v in pairs(conftable) do if type(v) == 'string' then --convert this to a proper regex later please. if v:upper() == "YES" or v:upper() =="\"YES\"" or v:upper() =="TRUE" or...
bsd-3-clause
samuelmaddock/zombie-escape
ZombieEscape/gamemode/modules/hud/cl_names.lua
1
1695
surface.CreateFont( "3D2DName", { font = "Bebas", size = 135, weight = 600 } ) local function DrawName( ply, opacityScale ) if !IsValid(ply) or !ply:Alive() then return end local pos = ply:GetPos() + Vector( 0, 0, 60 ) local ang = LocalPlayer():EyeAngles() ang:RotateAroundAxis( ang:Forward(), 90 ) ang:Rotate...
mit
trakk/gw2ss
types.lua
1
2071
-- gw2ss: simple tracking and reporting of GW2 salvage rates -- Copyright (C) 2015 David Ulrich -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU Affero General Public License as published -- by the Free Software Foundation, version 3 of the License. -- -- This...
agpl-3.0
ArchiveTeam/spuf-grab
urlcode.lua
58
3476
---------------------------------------------------------------------------- -- Utility functions for encoding/decoding of URLs. -- -- @release $Id: urlcode.lua,v 1.10 2008/01/21 16:11:32 carregal Exp $ ---------------------------------------------------------------------------- local ipairs, next, pairs, tonumber, ty...
unlicense
Blackdutchie/Zero-K
LuaRules/Gadgets/lups_napalm.lua
17
2458
-- $Id: lups_napalm.lua 3171 2008-11-06 09:06:29Z det $ function gadget:GetInfo() return { name = "Napalm", desc = "", author = "jK", date = "Sep. 2008", license = "GNU GPL, v2 or later", layer = 0, enabled = false, } end if (gadgetHandler:IsSyncedCode()) the...
gpl-2.0
3scale/apicast
gateway/src/apicast/oauth/apicast_oauth/authorize.lua
1
3571
local random = require('resty.random') local ts = require('apicast.threescale_utils') local backend_client = require('apicast.backend_client') local http_ng_ngx = require('resty.http_ng.backend.ngx') -- returns a unique string for the client_id. it will be short lived local function nonce(client_id) return ts.sha1_d...
apache-2.0
sorblack-x/gold_bot
plugins/time.lua
38
2898
-- Implement a command !time [area] which uses -- 2 Google APIs to get the desired result: -- 1. Geocoding to get from area to a lat/long pair -- 2. Timezone to get the local time in that lat/long location -- Globals -- If you have a google api key for the geocoding/timezone api api_key = nil base_api = "https://m...
gpl-2.0
sleepingwit/premake-core
tests/base/test_http.lua
8
1954
-- -- tests/base/test_http.lua -- Tests the http API -- Copyright (c) 2016 Jason Perkins and the Premake project -- local p = premake -- only declare the suite as a test if http.get is an existing method. local suite = {} if http.get ~= nil then suite = test.declare("premake_http") end function suite.http_ge...
bsd-3-clause
electricpandafishstudios/Spoon
game/modules/tome-1.4.1/data/zones/conclave-vault/objects.lua
1
2436
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2016 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
rdmenezes/oolua
unit_tests/test.unit.lua
8
1199
--OOLua test.unit local root = "../" local name = "test.unit" create_package(name,root,"ConsoleApp") configuration {} files { root .. "unit_tests/main.cpp", root .. "unit_tests/bind_classes/*.h", root .. "unit_tests/bind_classes/*.cpp", root .. "unit_tests/cpp_classes/*.h", root .. "unit_tests/c...
mit
Cat5TV/tps_skyblock
mods/protect/pvp.lua
2
1310
local S = protector.intllib -- get static spawn position local statspawn = minetest.setting_get_pos("static_spawnpoint") or {x = 0, y = 2, z = 0} -- is pvp protection enabled protector.pvp = minetest.setting_getbool("protector_pvp") -- disables PVP in your own protected areas if minetest.setting_getbool("enable_pvp...
lgpl-2.1
mohammad056/Alvin2
plugins/filter.lua
1
2480
local function addword(msg, name) local hash = 'chat:'..msg.to.id..':badword' redis:hset(hash, name, 'newword') return "کلمه جدید به فیلتر کلمات اضافه شد\n>"..name end local function get_variables_hash(msg) return 'chat:'..msg.to.id..':badword' end local function list_variablesbad(msg) local has...
agpl-3.0
xAleXXX007x/Witcher-RolePlay
nutscript/gamemode/core/libs/sh_plugin.lua
4
9858
nut.plugin = nut.plugin or {} nut.plugin.list = nut.plugin.list or {} nut.plugin.unloaded = nut.plugin.unloaded or {} HOOKS_CACHE = {} function nut.plugin.load(uniqueID, path, isSingleFile, variable) if (hook.Run("PluginShouldLoad", uniqueID) == false) then return end variable = variable or "PLUGIN" -- Plugins w...
mit
HandsomeCharming/RPG
Cocos2dx/frameworks/cocos2d-x/cocos/scripting/lua-bindings/script/DrawPrimitives.lua
57
12038
local dp_initialized = false local dp_shader = nil local dp_colorLocation = -1 local dp_color = { 1.0, 1.0, 1.0, 1.0 } local dp_pointSizeLocation = -1 local dp_pointSize = 1.0 local SHADER_NAME_POSITION_U_COLOR = "ShaderPosition_uColor" local targetPlatform = CCApplication:getInstance():getTargetPlatform() loca...
gpl-2.0
electricpandafishstudios/Spoon
game/modules/tome-1.4.1/data/texts/intro-arena.lua
1
1318
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2016 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
Blackdutchie/Zero-K
LuaRules/Gadgets/exp_no_air_nuke.lua
17
1024
-- $Id: exp_no_air_nuke.lua 3171 2008-11-06 09:06:29Z det $ function gadget:GetInfo() return { name = "NoAirNuke", desc = "Disables the custom nuke effect, if the nuke is shoot in the air.", author = "jK", date = "Dec, 2007", license = "GNU GPL, v2 or later", layer = 0...
gpl-2.0
alexames/flatbuffers
samples/sample_binary.lua
17
3431
-- need to update the Lua path to point to the local flatbuffers implementation package.path = string.format("../lua/?.lua;%s",package.path) package.path = string.format("./lua/?.lua;%s",package.path) -- require the library local flatbuffers = require("flatbuffers") local binaryArray = flatbuffers.binaryArray-- for h...
apache-2.0
mikekreein/ludum-dare-35
ludum-dare-35/grid.lua
1
17647
kTokenSizeWidth = 30 kTokenSizeHeight = 30 kJuiciness_TokenShiftSpeed = 0.5 kJuiciness_TokenDisappearSpeed = 0.5 kJuiciness_ScoreDisappearSpeed = 2 local kShapes = { Shape.Create({{0,0}, {0,1}}), --vertical line Shape.Create({{0,0}, {1,0}}), --horizonal line Shape.Create({{0,0}, {0,1}, {1,1}}), --triangle ...
mit
kuoruan/lede-luci
applications/luci-app-firewall/luasrc/model/cbi/firewall/rules.lua
5
7412
-- 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
HandsomeCharming/RPG
Cocos2dx/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/Menu.lua
5
1757
-------------------------------- -- @module Menu -- @extend Layer -- @parent_module cc -------------------------------- -- @function [parent=#Menu] setEnabled -- @param self -- @param #bool bool -------------------------------- -- @function [parent=#Menu] alignItemsVertically -- @param self ------...
gpl-2.0
mrichards42/xword
scripts/xword/widgets/customlist.lua
2
6071
-- ---------------------------------------------------------------------------- -- CustomListCtrl -- A list-type control that allows arbitrary windows to be the list items. -- If you want padding between items, you must add that to each list item. -- ---------------------------------------------------------------...
gpl-3.0
amir123098/tele-dragon
plugins/anti_spam.lua
191
5291
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id == our_id then return msg end -- Save...
gpl-2.0