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
Zomis/FactorioMods
timeline_1.1.0/gui.lua
1
5045
local PER_PAGE = 10 local tick_to_timestring = require "tick_to_timestring" local htmlString = require "htmlsave" local player_guis = {} local function create_menu_gui_for(player) if not player.gui.top.timeline then player.gui.top.add { type = "button", name = "timeline", caption = "Timeline" } end end local fu...
mit
Scavenge/darkstar
scripts/zones/North_Gustaberg/npcs/Quellebie_RK.lua
14
3339
----------------------------------- -- Area: North Gustaberg -- NPC: Quellebie, R.K. -- Type: Border Conquest Guards -- @pos -520.704 38.75 560.258 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conque...
gpl-3.0
Kyklas/luci-proto-hso
modules/base/luasrc/http/protocol/conditionals.lua
88
4757
--[[ HTTP protocol implementation for LuCI - RFC2616 / 14.19, 14.24 - 14.28 (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 at ...
apache-2.0
Arashbrsh/lifemaic
plugins/service_entergroup.lua
355
3585
local add_user_cfg = load_from_file('data/add_user_cfg.lua') local function template_add_user(base, to_username, from_username, chat_name, chat_id) base = base or '' to_username = '@' .. (to_username or '') from_username = '@' .. (from_username or '') chat_name = string.gsub(chat_name, '_', ' ') or '' c...
gpl-2.0
omidtarh/wbot
plugins/service_entergroup.lua
355
3585
local add_user_cfg = load_from_file('data/add_user_cfg.lua') local function template_add_user(base, to_username, from_username, chat_name, chat_id) base = base or '' to_username = '@' .. (to_username or '') from_username = '@' .. (from_username or '') chat_name = string.gsub(chat_name, '_', ' ') or '' c...
gpl-2.0
Scavenge/darkstar
scripts/zones/Windurst_Walls/npcs/Scavnix.lua
14
1203
----------------------------------- -- Area: Windurst Walls -- NPC: Scavnix -- Standard merchant, though he acts like a guild merchant -- @pos 17.731 0.106 239.626 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
Zomis/FactorioMods
search-engine_0.0.1/v2/gui/search_results.lua
1
2797
local gui = require("__flib__.gui-beta") local tables = require("__flib__/table") local result_gui = require("v2/plugins/result_gui/result_gui") local function create_result_guis(search, enabled_gui_plugins, columns) local children = {} for _, column in pairs(columns) do table.insert(children, { ...
mit
ArchonTeam/Soft_TG
plugins/inrealm.lua
7
25924
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin(msg) then local group_creator = msg.from.print_name create_g...
gpl-2.0
Scavenge/darkstar
scripts/globals/abilities/pets/attachments/tension_spring_iii.lua
27
1093
----------------------------------- -- Attachment: Tension Spring III ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onUseAbility ----------------------------------- function onEquip(pet) pet:addMod(MOD_ATTP, 9) pet:addMod(MOD_RATTP, 9) end func...
gpl-3.0
wjhandboy/Atlas
lib/commit-obfuscator.lua
39
1677
--[[ $%BEGINLICENSE%$ Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License. This program is distribut...
gpl-2.0
Scavenge/darkstar
scripts/zones/Port_Jeuno/npcs/Guddal.lua
14
2248
----------------------------------- -- Area: Port Jeuno -- NPC: Guddal -- Starts and Finishes Quest: Kazham Airship Pass (This quest does not appear in your quest log) -- @zone 246 -- @pos -14 8 44 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ---------------------------...
gpl-3.0
Scavenge/darkstar
scripts/zones/Southern_San_dOria/npcs/Aveline.lua
14
2053
----------------------------------- -- Area: Southern San d'Oria -- NPC: Aveline -- Standard Merchant NPC -- @zone 230 -- @pos -139 -6 46 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requi...
gpl-3.0
seblindfors/ConsolePort
ConsolePort/Utils/UIFade.lua
1
7094
local _, db = ...; db:Register('Alpha', {}) --------------------------------------------------------------- -- UIFade.lua: Taint-free alpha animation framework --------------------------------------------------------------- -- Provides a framework for managing alpha animations without -- risk of spreading taint. -- Arg...
artistic-2.0
Scavenge/darkstar
scripts/zones/Bastok_Markets/npcs/Umberto.lua
12
1086
----------------------------------- -- Area: Bastok Markets -- NPC: Umberto -- Type: Quest NPC -- @zone 235 -- @pos -56.896 -5 -134.267 -- -- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"...
gpl-3.0
novokrest/chdkptp
lua/dngcli.lua
4
21223
--[[ Copyright (C) 2010-2014 <reyalp (at) gmail dot com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITH...
gpl-2.0
adriamarcet/WG_premium_text-files
tuto-duelo_lat.lua
1
2181
--[[ commented as it has to be implemented btnSetSalir = "Salir del tutorial", btnSetContinuar = "Continuar jugando", btnFinAcabar = "Acabar", btnFinContinuar = "Continuar", --<< "¡Bienvenido otra vez! Ahora voy a enseñarte como jugar al modo duelo.&& Las reglas de juego son las mismas, pero en este modo s...
mit
Scavenge/darkstar
scripts/zones/Bostaunieux_Oubliette/npcs/Novalmauge.lua
25
4219
----------------------------------- -- Area: Bostaunieux Obliette -- NPC: Novalmauge -- Starts and Finishes Quest: The Rumor -- Involved in Quest: The Holy Crest, Trouble at the Sluice -- @pos 70 -24 21 167 ----------------------------------- package.loaded["scripts/zones/Bostaunieux_Oubliette/TextIDs"] = nil; -------...
gpl-3.0
Scavenge/darkstar
scripts/globals/items/juglan_jumble.lua
12
1410
----------------------------------------- -- ID: 5923 -- Item: Juglan Jumble -- Food Effect: 5 Min, All Races ----------------------------------------- -- HP Healing 5 -- MP Healing 8 -- Bird Killer 12 -- Resist Paralyze 12 ----------------------------------------- require("scripts/globals/status"); -----------------...
gpl-3.0
Kyklas/luci-proto-hso
applications/luci-ddns/luasrc/tools/ddns.lua
5
8249
--[[ LuCI - Lua Configuration Interface shared module for luci-app-ddns Copyright 2014 Christian Schoenebeck <christian dot schoenebeck at gmail dot com> function parse_url copied from https://svn.nmap.org/nmap/nselib/url.lua Parses a URL and returns a table with all its parts according to RFC 2396. @author Diego Neh...
apache-2.0
Zero-K-Experiments/Zero-K-Experiments
LuaRules/Gadgets/weapon_shield_merge.lua
4
11809
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- if not gadgetHandler:IsSyncedCode() then return end -------------------------------------------------------------------------------- ------------------------...
gpl-2.0
biggerlambda/zappos_classify
data.lua
1
2574
local utils = require "utils" local getLabels = function(classSizes) -- construct label tensor out of table of class sizes local labels = torch.Tensor(utils.sum(classSizes)) local index = 1 for i = 1, #classSizes do labels[{{index, index + classSizes[i] - 1}}] = i * torch.ones(classSizes[i]) index = index + cl...
apache-2.0
Scavenge/darkstar
scripts/zones/East_Ronfaure/npcs/Rayochindot.lua
14
1042
----------------------------------- -- Area: East Ronfaure -- NPC: Rayochindot -- Type: Gate Guard -- @pos 93.159 -62.999 272.601 101 ----------------------------------- package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/zones/East_Ronfaure/TextIDs"); ...
gpl-3.0
devwawi/VIP-TEAM_Wawi8
plugins/arabic_lock.lua
234
1405
antiarabic = {}-- An empty table for solving multiple kicking problem do local function run(msg, matches) if is_momod(msg) then -- Ignore mods,owner,admins return end local data = load_data(_config.moderation.data) if data[tostring(msg.to.id)]['settings']['lock_arabic'] then if data[tostring(msg.to.id)...
agpl-3.0
yohanesyuen/mal
lua/step3_env.lua
40
2478
#!/usr/bin/env lua local table = require('table') local readline = require('readline') local utils = require('utils') local types = require('types') local reader = require('reader') local printer = require('printer') local Env = require('env') local List, Vector, HashMap = types.List, types.Vector, types.HashMap -- ...
mpl-2.0
Scavenge/darkstar
scripts/zones/Inner_Horutoto_Ruins/npcs/_5c8.lua
14
1521
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Sealed Portal -- Involved in Quest: Making the Grade -- Door should open when Whm+Blm+Rdm stand in correct regions (see \Inner_Horutoto_Ruins\zone.lua), -- or if player has the KeyItem "portal charm". -- @pos -259 -1 -20 192 --------------------...
gpl-3.0
xincun/nginx-openresty-windows
lua-resty-upstream-healthcheck-0.03/t/lib/ljson.lua
76
1871
local ngx_null = ngx.null local tostring = tostring local byte = string.byte local gsub = string.gsub local sort = table.sort local pairs = pairs local ipairs = ipairs local concat = table.concat local ok, new_tab = pcall(require, "table.new") if not ok then new_tab = function (narr, nrec) return {} end end local...
bsd-2-clause
Zero-K-Experiments/Zero-K-Experiments
effects/mildred.lua
25
31275
-- mildred_22 -- mildred_8 -- mildred_1 -- mildred_24 -- mildred_12 -- mildred_5 -- mildred_2 -- mildred_3 -- mildred_14 -- mildred_7 -- mildred_9 -- mildred_10 -- mildred_15 -- mildred_21 -- mildred_11 -- mildred_13 -- mildred_16 -- mildred_19 -- mildred_20 -- mildred_6 -- mildred_17 -- mildred_18 -- mildred -- mildre...
gpl-2.0
githubmereza/botnew
bot/seedbot.lua
1
10086
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
Scavenge/darkstar
scripts/zones/Horlais_Peak/bcnms/rank_2_mission.lua
26
2444
----------------------------------- -- Area: Horlais Peak -- Name: Mission Rank 2 -- @pos -509 158 -211 139 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); requi...
gpl-3.0
Scavenge/darkstar
scripts/zones/East_Sarutabaruta/npcs/Pore-Ohre.lua
14
1675
----------------------------------- -- Area: East Sarutabaruta -- NPC: Pore-Ohre -- Involved In Mission: The Heart of the Matter -- @pos 261 -17 -458 116 ----------------------------------- package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts/globals/ke...
gpl-3.0
LuaDist2/vida
test/bench.lua
3
1159
local ffi = require('ffi') local bench = {} -- Benchmarking ffi.cdef[[ struct timeval { uint32_t sec; uint64_t usec; }; int gettimeofday(struct timeval *restrict tp, void *restrict tzp); long GetTickCount(void); ]] function bench.gettime() if ffi.os == 'Windows' then retu...
mit
nmacs/lm3s-uclinux
lib/liblua/xavante-2.2.1/src/xavante/redirecthandler.lua
3
1995
------------------------------------------------------------------------------- -- Xavante redirect handler -- -- Authors: Javier Guerra and Andre Carregal -- Copyright (c) 2004-2007 Kepler Project -- -- $Id: redirecthandler.lua,v 1.11 2008/07/25 18:40:31 mascarenhas Exp $ ----------------------------------------------...
gpl-2.0
kankaristo/premake-core
tests/actions/vstudio/vc200x/test_platforms.lua
9
1629
-- -- tests/actions/vstudio/vc200x/test_platforms.lua -- Test the Visual Studio 2002-2008 project's Platforms block -- Copyright (c) 2009-2012 Jason Perkins and the Premake project -- T.vstudio_vc200x_platforms = { } local suite = T.vstudio_vc200x_platforms local vc200x = premake.vstudio.vc200x -- -- ...
bsd-3-clause
Scavenge/darkstar
scripts/globals/abilities/martyr.lua
44
1774
----------------------------------- -- Ability: Martyr -- Sacrifices HP to heal a party member double the amount. -- Obtained: White Mage Level 75 -- Recast Time: 0:10:00 -- Duration: Instant -- Target: Party member, cannot target self. ----------------------------------- require("scripts/globals/status"); require("sc...
gpl-3.0
Scavenge/darkstar
scripts/zones/The_Garden_of_RuHmet/MobIDs.lua
17
1645
----------------------------------- -- Area: The Garden of Ru'Hmet -- Comments: -- posX, posY, posZ --(Taken from 'mob_spawn_points' table) ----------------------------------- -- Ix'Aern (DRG)'s minions - Wynavs IxAernDRG = 16921022; -- First Aw'Aerns in each group. Used to randomize the mobID as the new placeholder....
gpl-3.0
Scavenge/darkstar
scripts/zones/FeiYin/npcs/Strange_Apparatus.lua
27
1124
----------------------------------- -- Area: FeiYin -- NPC: Strange Apparatus -- @pos -94 -15 220 204 ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; require("scripts/zones/FeiYin/TextIDs"); require("scripts/globals/strangeapparatus"); ----------------------------------- --...
gpl-3.0
xincun/nginx-openresty-windows
luajit-root-x64/luajit/share/luajit-2.1.0-alpha/jit/dump.lua
17
19737
---------------------------------------------------------------------------- -- LuaJIT compiler dump module. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -- -...
bsd-2-clause
dani-sj/BDReborn
bot/bot.lua
1
13118
tdcli = dofile('./tg/tdcli.lua') serpent = (loadfile "./libs/serpent.lua")() feedparser = (loadfile "./libs/feedparser.lua")() require('./bot/utils') URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./...
gpl-3.0
Scavenge/darkstar
scripts/globals/mobskills/Toxic_Spit.lua
36
1025
--------------------------------------------- -- Toxic Spit -- -- Description: Spews a toxic glob at a single target. Additional effect: Poison -- Type: Magical Water -- Utsusemi/Blink absorb: Ignores shadows -- Notes: Additional effect can be removed with Poisona. --------------------------------------------- req...
gpl-3.0
Brenin/PJ-3100
Working Launchers/Games/Stepmania/StepMania 5/Docs/Themerdocs/Examples/Example_Screens/ScreenHeartEntry.lua
1
7378
-- This example describes everything you need to do in your theme to allow the -- player to enter their heart rate for calorie calculation. -- First, the metrics you'll need to add to metrics.ini. -- [ScreenHeartEntry] -- # The HeartEntryEnabled metric must be set to true so the branching logic -- # will know that you...
mit
webref/Corona
scenes/data.lua
1
10626
local activityData = { { factor=0, name="Аэробика", category=1 }, { factor=5, name="Аэробика, низкая нагрузка", category=0 }, { factor=6.5, name="Аэробика, средняя нагрузка", category=0 }, { factor=7, name="Аэробика, высокая нагрузка", category=0 }, { factor=8.5, name="Степ-аэробика, платформа 15-20 см", category=...
apache-2.0
ghoghnousteam/ghoghnous
plugins/channels.lua
300
1680
-- Checks if bot was disabled on specific chat local function is_channel_disabled( receiver ) if not _config.disabled_channels then return false end if _config.disabled_channels[receiver] == nil then return false end return _config.disabled_channels[receiver] end local function enable_channel(receiver) if...
gpl-2.0
tonyli71/kolla
docker/heka/plugins/decoders/os_horizon_apache_log.lua
6
2256
-- Copyright 2015 Mirantis, 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 ...
apache-2.0
Scavenge/darkstar
scripts/globals/items/black_curry_bun_+1.lua
12
2051
----------------------------------------- -- ID: 5764 -- Item: black_curry_bun+1 -- Food Effect: 60 min, All Races ----------------------------------------- -- TODO: Group effects -- Dexterity +4 -- Vitality +6 -- Intelligence +3 -- Mind +1 -- Accuracy +7 -- Ranged Accuracy +7 -- Evasion +7 -- Defense +25% (cap 200) --...
gpl-3.0
Scavenge/darkstar
scripts/zones/Abyssea-Attohwa/npcs/qm11.lua
5
1346
----------------------------------- -- Zone: Abyssea-Attohwa -- NPC: qm11 (???) -- Spawns Nightshade -- @pos ? ? ? 215 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) --...
gpl-3.0
Scavenge/darkstar
scripts/zones/Yhoator_Jungle/npcs/Ghantata_WW.lua
14
3334
----------------------------------- -- Area: Yhoator Jungle -- NPC: Ghantata, W.W. -- Border Conquest Guards -- @pos -84.113 -0.449 224.902 124 ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); req...
gpl-3.0
bnjbvr/.files
conf/vim/lua/keys.lua
1
4222
helpers = require './helpers' -- ultisnips expects this global variable to be defined for some snippets -- **************************************************************** -- Simple key remaps -- keep visual block selected after indent/outdent helpers.map('v', '<', '<gv') helpers.map('v', '>', '>gv') -- erase the hi...
gpl-3.0
Zero-K-Experiments/Zero-K-Experiments
scripts/corcrash.lua
11
4921
-- This is very much wip. There are lots of parts broken, so be warned. --by Chris Mackey include "constants.lua" -- pieces local base = piece "base" local head = piece "head" local axle = piece "axle" local podpist = piece "podpist" -- missile rack local pod = piece "pod" local l_poddoor = piece "l_poddoor" local ...
gpl-2.0
Scavenge/darkstar
scripts/zones/Ordelles_Caves/npcs/Stalagmite.lua
14
2641
----------------------------------- -- Area: Ordelles Caves -- NPC: Stalagmite -- Involved In Quest: Sharpening the Sword -- @pos -51 0.1 3 193 ----------------------------------- package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); req...
gpl-3.0
mamaddeveloper/jjhw
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
Rob96/GoS
DrawCircles.lua
1
2909
class "DrawCircles" function DrawCircles:__init() PrintChat("DrawCircles") self:LoadMenu() Callback.Add("Draw", function() self:Draw() end) end function DrawCircles:LoadMenu() self.Menu = MenuElement({type = MENU, id = "DrawCircles", name = "Draw Circles"}) --[[Draw]] self.Menu:MenuElement({t...
gpl-3.0
DEVSEIKO/seikodev
plugins/all.lua
5
4683
--[[ _____ _ _ _ _____ Dev @lIMyIl |_ _|__| |__ / \ | | _| ____| Dev @li_XxX_il | |/ __| '_ \ / _ \ | |/ / _| Dev @h_k_a | |\__ \ | | |/ ___ \| <| |___ Dev @Aram_omar22 |_||___/_| |_/_/ \_\_|\_\_____| Dev @IXX_I_XXI --]] do local function get_msgs_user_c...
gpl-2.0
Scavenge/darkstar
scripts/zones/Jugner_Forest_[S]/npcs/Glowing_Pebbles.lua
14
1897
----------------------------------- -- Area: Jugner Forest (S) -- NPC: Glowing Pebbles -- Type: Involved in Quest -- @pos -- player:startEvent(0x006a); Left over Cutscene ----------------------------------- package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil; ----------------------------------- requi...
gpl-3.0
omid1212/spam
plugins/stats.lua
17
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
Scavenge/darkstar
scripts/zones/Dragons_Aery/Zone.lua
16
1705
----------------------------------- -- -- Zone: Dragons_Aery (154) -- ----------------------------------- package.loaded["scripts/zones/Dragons_Aery/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/Dragons_Aery/TextIDs"); ...
gpl-3.0
Scavenge/darkstar
scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_s_Tiger.lua
23
1147
----------------------------------- -- Area: LaLoff Amphitheater -- MOB: Ark Angel's Tiger ----------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ----------------------------------- require("scripts/zones/LaLoff_Amphitheater/TextIDs"); require("scripts/globals/status"); ...
gpl-3.0
vahidazizi/golbarg
libs/redis.lua
1
1084
local Redis = (loadfile "./libs/lua-redis.lua")() local FakeRedis = (loadfile "./libs/fakeredis.lua")() local params = { host = '127.0.0.1', port = 6379, } -- Overwrite HGETALL Redis.commands.hgetall = Redis.command('hgetall', { response = function(reply, command, ...) local new_reply = { } for i = 1, #...
gpl-3.0
Zero-K-Experiments/Zero-K-Experiments
LuaUI/Widgets/camera_shake.lua
11
3201
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- file: camera_shake.lua -- brief: Camera shakes -- author: Dave Rodgers -- -- Copyright (C) 2007. -- Licensed under the terms of the GNU GPL, ...
gpl-2.0
Scavenge/darkstar
scripts/globals/items/serving_of_mushroom_sautee.lua
12
1299
----------------------------------------- -- ID: 5676 -- Item: serving_of_mushroom_sautee -- Food Effect: 3Hrs, All Races ----------------------------------------- -- MP 60 -- Mind 6 -- MP Recovered While Healing 6 ----------------------------------------- require("scripts/globals/status"); --------------------------...
gpl-3.0
Scavenge/darkstar
scripts/zones/Jade_Sepulcher/npcs/_1v0.lua
17
1642
----------------------------------- -- Area: Jade Sepulcher -- NPC: Ornamental Door -- Involved in Missions: TOAU-29 -- @zone 299 0 -199 67 ----------------------------------- package.loaded["scripts/zones/Jade_Sepulcher/TextIDs"] = nil; package.loaded["scripts/globals/bcnm"] = nil; -----------------------------------...
gpl-3.0
1yvT0s/luvit
tests/test-tls-client-reject.lua
11
3210
--[[ Copyright 2015 The Luvit Authors. All Rights Reserved. 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 agr...
apache-2.0
seblindfors/ConsolePort
ConsolePort_Keyboard/Core/Observer.lua
1
1379
local Keyboard, GetCurrentKeyBoardFocus, bitbor = ConsolePortKeyboard, GetCurrentKeyBoardFocus, bit.bor; local IsShiftKeyDown, IsControlKeyDown, IsAltKeyDown = IsShiftKeyDown, IsControlKeyDown, IsAltKeyDown; local Observer, _, env = CreateFrame('Frame'), ...; function Observer:UpdateFocus() local focus = self.forceFr...
artistic-2.0
Scavenge/darkstar
scripts/zones/Rabao/npcs/Rahi_Fohlatti.lua
14
3154
----------------------------------- -- Area: Rabao -- NPC: Rahi Fohlatti -- Starts Quest: Trial Size Trial by Wind -- @pos -17 7 -10 247 ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/glob...
gpl-3.0
Scavenge/darkstar
scripts/zones/RoMaeve/npcs/qm2.lua
14
2089
----------------------------------- -- Area: Ro'Maeve -- NPC: qm2 (???) -- Involved in Mission: Bastok 7-1 -- @pos 102 -4 -114 122 and <many pos> ----------------------------------- package.loaded["scripts/zones/RoMaeve/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require(...
gpl-3.0
Scavenge/darkstar
scripts/zones/Xarcabard/mobs/Boreal_Tiger.lua
7
1112
----------------------------------- -- Area: Xarcabard -- NM: Boreal Tiger -- Involved in Quests: Atop the Highest Mountains -- @pos 341 -29 370 112 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/quests"); require("scripts/globals/settings"); require("scripts/zones/...
gpl-3.0
A-N-bot/anonymous
plugins/clash.lua
1
3626
--[[ # # @ch_anonymou3tg # @anonymou3nk # ]] local apikey = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiIsImtpZCI6IjI4YTMxOGY3LTAwMDAtYTFlYi03ZmExLTJjNzQzM2M2Y2NhNSJ9.eyJpc3MiOiJzdXBlcmNlbGwiLCJhdWQiOiJzdXBlcmNlbGw6Z2FtZWFwaSIsImp0aSI6IjcyMzA4NDc4LTM3ZTQtNDQzMy05YTA2LWVhNGU1MTI4NDA0ZiIsImlhdCI6MTQ1OTk2NTExOCwic3ViIjo...
gpl-2.0
kirubz/Penlight
examples/test-symbols.lua
17
1203
require 'pl' -- force us to look in the script's directory when requiring... app.require_here() require 'symbols' local MT = getmetatable(_1) add = MT.__add mul = MT.__mul pow = MT.__pow function testeq (e1,e2) if not equals(e1,e2) then print ('Not equal',repr(e1),repr(e2)) end end sin = register(m...
mit
Zero-K-Experiments/Zero-K-Experiments
units/fakeunit_aatarget.lua
3
1656
unitDef = { unitname = [[fakeunit_aatarget]], name = [[Fake AA target]], description = [[Used by the jumpjet script.]], acceleration = 0, activateWhenBuilt = false, brakeRate = 0, buildCostEnergy = 0.45, buildCostMetal = 0.45,...
gpl-2.0
Zero-K-Experiments/Zero-K-Experiments
effects/solange.lua
18
1660
-- solange -- solange_pillar return { ["solange"] = { nw = { air = true, class = [[CExpGenSpawner]], count = 150, ground = true, water = true, underwater = true, properties = { delay ...
gpl-2.0
Scavenge/darkstar
scripts/zones/Rabao/npcs/Nomad_Moogle.lua
17
1042
----------------------------------- -- -- Nomad Moogle -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Rabao/TextIDs"] = nil; require("scripts/zones/Rabao/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- ...
gpl-3.0
Zero-K-Experiments/Zero-K-Experiments
units/corfav.lua
3
4632
unitDef = { unitname = [[corfav]], name = [[Dart]], description = [[Raider/Scout Vehicle]], acceleration = 0.14, brakeRate = 0.1555, buildCostEnergy = 40, buildCostMetal = 40, builder = false, buildPic ...
gpl-2.0
Scavenge/darkstar
scripts/globals/items/yagudo_cherry.lua
12
1187
----------------------------------------- -- ID: 4445 -- Item: yagudo_cherry -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -3 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
Scavenge/darkstar
scripts/zones/Bastok_Markets/npcs/Carmelide.lua
15
1520
----------------------------------- -- Area: Bastok Markets -- NPC: Carmelide -- Standard Merchant NPC -- -- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts...
gpl-3.0
Scavenge/darkstar
scripts/globals/magic_maps.lua
35
9801
--------------------------------------------- -- -- Function that all map NPCS use. -- SE updated the map NPCs to sell maps from the normal areas, RoZ, and CoP areas (Update was in Nov 5, 2013) --------------------------------------------- require("scripts/globals/keyitems"); local Maps = {MAP_OF_THE_SAN_DORIA_...
gpl-3.0
Scavenge/darkstar
scripts/globals/mobskills/Tail_Slap.lua
33
1096
--------------------------------------------- -- Tail Slap -- -- Description: Delivers an area attack. Additional effect: "Stun." Damage varies with TP. -- Type: Physical (Blunt) --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/gl...
gpl-3.0
Scavenge/darkstar
scripts/zones/Xarcabard/npcs/qm1.lua
14
1439
----------------------------------- -- Area: Xarcabard -- NPC: qm1 (???) -- Involved in Quests: The Three Magi -- @pos -331 -29 -49 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/z...
gpl-3.0
Scavenge/darkstar
scripts/globals/spells/logical_etude.lua
27
1613
----------------------------------------- -- Spell: Logical Etude -- Static MND Boost, BRD 64 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMa...
gpl-3.0
GregSatre/capsules
torch/IntensityScale.lua
1
2799
require 'nn' disp = require 'display' local IntensityScale, Parent = torch.class('nn.IntensityScale', 'nn.Module') function IntensityScale:__init(numCapsules, height, width) Parent.__init(self) self.template = torch.Tensor(1, numCapsules, height, width) self.gradTemplate = torch.Tensor(self.template:size(...
mit
dani-sj/BDReborn
libs/dateparser.lua
502
6212
local difftime, time, date = os.difftime, os.time, os.date local format = string.format local tremove, tinsert = table.remove, table.insert local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable local dateparser={} --we shall use the host OS's...
gpl-3.0
Zero-K-Experiments/Zero-K-Experiments
LuaUI/Widgets/chili_new/headers/unicode.lua
27
3556
--//============================================================================= --// -- shift left local function lsh(value,shift) return (value*(2^shift)) % 2^24 end -- shift right local function rsh(value,shift) return math.floor(value/2^shift) % 2^24 end function UnicodeToUtf8(ch) if (ch == 0) then r...
gpl-2.0
Zero-K-Experiments/Zero-K-Experiments
LuaUI/Widgets/chili/Headers/unicode.lua
27
3556
--//============================================================================= --// -- shift left local function lsh(value,shift) return (value*(2^shift)) % 2^24 end -- shift right local function rsh(value,shift) return math.floor(value/2^shift) % 2^24 end function UnicodeToUtf8(ch) if (ch == 0) then r...
gpl-2.0
Brenin/PJ-3100
Working Launchers/Games/Stepmania/StepMania 5/Themes/_fallback/Scripts/find_missing_lang_strings.lua
1
2429
-- All other languages are compared to the master language to determine what is -- missing and what is unused. -- The list of missing strings for a language is saved to lang_missing.ini, -- where lang is the name of the language. -- The list of unused strings is saved to lang_unused.ini. function find_missing_strings_...
mit
ld-test/promise
src/init.lua
3
1543
local uuid = require 'uuid' local spawn = ngx and ngx.thread.spawn or coroutine.create local wait = ngx and ngx.thread.wait or coroutine.resume local promise = {} function promise:start(fn) local id = uuid.new() local thread, err = spawn(function() return id, fn() end) if not thread then return nil, err e...
mit
Scavenge/darkstar
scripts/globals/log_ids.lua
14
3702
----------------------------------- -- Area/Content Identifiers ----------------------------------- STATIC = -1; -- Just so shop NPC scripts have something to check against. Not sent to core. SANDORIA = { ['full_name'] = "San d' Oria", ['mission_log']= 0, ['quest_log']= 0, ['fame_area']= 0 }; BASTOK =...
gpl-3.0
Scavenge/darkstar
scripts/globals/weaponskills/piercing_arrow.lua
15
1680
----------------------------------- -- Piercing Arrow -- Archery weapon skill -- Skill level: 40 -- Ignores enemy's defense. Amount ignored varies with TP. -- The amount of defense ignored is 0% with 100TP, 35% with 200TP and 50% with 300TP. -- Typically does less damage than Flaming Arrow. -- Aligned with the Snow Gor...
gpl-3.0
DEVSEIKO/seikodev
plugins/lock_user.lua
5
1255
--[[ _____ _ _ _ _____ Dev @lIMyIl |_ _|__| |__ / \ | | _| ____| Dev @li_XxX_il | |/ __| '_ \ / _ \ | |/ / _| Dev @h_k_a | |\__ \ | | |/ ___ \| <| |___ Dev @Aram_omar22 |_||___/_| |_/_/ \_\_|\_\_____| Dev @IXX_I_XXI CH > @lTSHAKEl_CH --]] l...
gpl-2.0
Scavenge/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Nilerouche.lua
17
1318
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Nilerouche -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ----------------------...
gpl-3.0
Scavenge/darkstar
scripts/zones/Cape_Teriggan/npcs/Field_Manual.lua
29
1059
----------------------------------- -- Area: Cape Teriggan -- Type: Field Manual ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onTrigger Action ------------------------------...
gpl-3.0
Scavenge/darkstar
scripts/zones/Norg/npcs/Deigoff.lua
15
3132
----------------------------------- -- Area: Norg -- NPC: Deigoff -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; require("scripts/zones/Norg/TextIDs"); require("scripts/globals/pathfind"); local path = { -15.048376, -1.476800, 30.425398, -15.526757, -1.22...
gpl-3.0
Scavenge/darkstar
scripts/zones/Quicksand_Caves/TextIDs.lua
7
1486
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6385; -- Obtained: <item> GIL_OBTAINED = 6386; -- Obtained <number> gil KEYITEM_OBTAINED = 6388; -- Obtain...
gpl-3.0
Scavenge/darkstar
scripts/commands/completemission.lua
12
1658
--------------------------------------------------------------------------------------------------- -- func: completemission <logID> <missionID> <player> -- desc: Completes the given mission for the target player, if that mission is currently active. ---------------------------------------------------------------------...
gpl-3.0
kankaristo/premake-core
src/base/action.lua
12
4784
--- -- action.lua -- Work with the list of registered actions. -- Copyright (c) 2002-2015 Jason Perkins and the Premake project --- local p = premake p.action = {} local action = premake.action -- -- Process the raw command line arguments from _ARGV to populate -- the _ACTION global and _ARGS table. -- _ACTIO...
bsd-3-clause
Scavenge/darkstar
scripts/globals/effects/addendum_white.lua
18
2071
----------------------------------- -- -- -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:recalculateAbilitiesTable(); local bonus = effect:getPower(); local regen = effect:get...
gpl-3.0
nmacs/lm3s-uclinux
lib/liblua/xavante-2.2.1/src/xavante/ruleshandler.lua
3
2353
----------------------------------------------------------------------------- -- Xavante URL rules handler -- -- Authors: Javier Guerra and Fabio Mascarenhas -- Copyright (c) 2006-2007 Kepler Project -- -- $Id: ruleshandler.lua,v 1.2 2007/08/20 22:20:44 carregal Exp $ ---------------------------------------------------...
gpl-2.0
kankaristo/premake-core
tests/actions/vstudio/cs2005/test_platform_groups.lua
9
2226
-- -- tests/actions/vstudio/cs2005/test_platform_groups.lua -- Check creation of per-platform property groups in VS2005+ C# projects. -- Copyright (c) 2009-2015 Jason Perkins and the Premake project -- local suite = test.declare("vstudio_cs2005_platform_groups") local cs2005 = premake.vstudio.cs2005 -- -- Setup -- ...
bsd-3-clause
Scavenge/darkstar
scripts/zones/Windurst_Waters/npcs/Rukuku.lua
14
1401
----------------------------------- -- Area: Windurst Waters -- NPC: Rukuku -- Involved in Quest: Making the Grade -- Working 100% -- @zone = 238 -- @pos = 130 -6 160 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
Scavenge/darkstar
scripts/globals/items/tavnazian_sheep_liver.lua
12
1271
----------------------------------------- -- ID: 5154 -- Item: Tavnazian Sheep Liver -- Food Effect: 5Min, Galka only ----------------------------------------- -- Strength 2 -- Intelligence -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnI...
gpl-3.0
Scavenge/darkstar
scripts/zones/Xarcabard/npcs/qm7.lua
14
1508
----------------------------------- -- Area: Xarcabard -- NPC: qm7 (???) -- Involved in Quests: RNG AF3 quest - Unbridled Passion -- @pos -295.065 -25.054 151.250 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globa...
gpl-3.0
Scavenge/darkstar
scripts/zones/Southern_San_dOria/npcs/Shilah.lua
17
2129
----------------------------------- -- Area: Southern San dOria -- NPC: Shilah -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop"); require...
gpl-3.0
Scavenge/darkstar
scripts/globals/mobskills/Foxfire.lua
25
1186
--------------------------------------------- -- Foxfire -- -- Description: Damage varies with TP. Additional effect: "Stun." -- Type: Physical (Blunt) -- RDM, THF, PLD, BST, BRD, RNG, NIN, and COR fomors). -- --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals...
gpl-3.0