repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
bnetcc/darkstar
scripts/zones/Northern_San_dOria/npcs/Eugballion.lua
5
1338
----------------------------------- -- Area: Northern San d'Oria -- NPC: Eugballion -- Only sells when San d'Oria controlls Qufim Region ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Northern_San_dOria/Te...
gpl-3.0
lcf258/openwrtcn
applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua
141
1031
--[[ smap_devinfo - SIP Device Information (c) 2009 Daniel Dickinson 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$ ]]-- require("luci.i18n") re...
apache-2.0
bnetcc/darkstar
scripts/zones/Crawlers_Nest/Zone.lua
5
1174
----------------------------------- -- -- Zone: Crawlers_Nest (197) -- ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Crawlers_Nest/TextIDs"); require("scripts/globals/settings"); require("scripts/globals/zone")...
gpl-3.0
leonardoaxe/OpenRA
mods/ra/maps/survival01/survival01.lua
5
14583
Difficulty = Map.LobbyOption("difficulty") if Difficulty == "easy" then AttackAtFrameIncrement = DateTime.Seconds(22) AttackAtFrameIncrementInf = DateTime.Seconds(16) TimerTicks = DateTime.Minutes(15) IncrementTurningPoint = TimerTicks / 2 DamageModifier = 0.5 LongBowReinforcements = { "heli", "heli" } Paradrop...
gpl-3.0
awesomeWM/awesome
tests/examples/text/awful/keygrabber/root_keybindings.lua
4
2595
--DOC_GEN_OUTPUT --DOC_HIDE local awful = { keygrabber = require("awful.keygrabber"), --DOC_HIDE key = require("awful.key") } --DOC_HIDE local keybinding_works = {} --DOC_HIDE local g = --DOC_HIDE awful.keygrabber { mask_modkeys = true, root_keybindings = { awful.key { modifiers = {"Mo...
gpl-2.0
TurkeyMan/premake-core
modules/gmake/tests/workspace/test_default_config.lua
13
1465
-- -- tests/actions/make/test_default_config.lua -- Validate generation of default configuration block for makefiles. -- Copyright (c) 2012-2015 Jason Perkins and the Premake project -- local suite = test.declare("make_default_config") local p = premake -- -- Setup/teardown -- local wks, prj function suite.se...
bsd-3-clause
bnetcc/darkstar
scripts/zones/Port_San_dOria/npcs/Bonmaurieut.lua
5
1613
----------------------------------- -- Area: Port San d'Oria -- NPC: Bonmaurieut -- Only sells when San d'Oria controlls Elshimo Uplands ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs");...
gpl-3.0
bnetcc/darkstar
scripts/zones/Abyssea-Empyreal_Paradox/bcnms/The_Wyrm_God.lua
1
1886
----------------------------------- -- Area: Abyssea-Empyreal_Paradox -- Name: The Wyrm God ----------------------------------- package.loaded["scripts/zones/Abyssea-Empyreal_Paradox/TextIDs"] = nil; ------------------------------------- require("scripts/zones/Abyssea-Empyreal_Paradox/TextIDs"); require("scripts/global...
gpl-3.0
OpenPrograms/Plan9k
plan9k-ohcp-server/13_ohcpSrv.lua
1
2575
local sysfs = kernel.modules.sysfs sysfs.data.net.ohcp = { pool = { __type = "f", write = function(h, data) local ifname, base, sub, count, gw = data:match("([^%s]+)%s+([%d%.]+)/(%d+)%s+(%d+)%s*([%d%.]*)") if not base then kernel.io.println("pool_add_v4: inva...
mit
bnetcc/darkstar
scripts/zones/Bastok_Markets/npcs/Enu.lua
5
2279
----------------------------------- -- Area: Bastok Markets -- NPC: Enu -- Type: Quest NPC -- !pos -253.673 -13 -92.326 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bastok_Markets/TextIDs"); require("scr...
gpl-3.0
swe-TeamRed/wesnoth
data/ai/micro_ais/cas/ca_return_guardian.lua
4
1133
local H = wesnoth.require "lua/helper.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" local function get_guardian(cfg) local filter = H.get_child(cfg, "filter") or { id = cfg.id } local guardian = AH.get_units_with_moves { side = wesnoth.current.side, { "and", filter } }[1] retu...
gpl-2.0
mwoz123/koreader
frontend/ui/widget/radiobutton.lua
2
5244
--[[-- Widget that shows a radiobutton checked (`◉`) or unchecked (`◯`) or nothing of the same size. Example: local RadioButton = require("ui/widget/radiobutton") local parent_widget = FrameContainer:new{} table.insert(parent_widget, RadioButton:new{ checkable = false, -- shows nothing when false,...
agpl-3.0
leonardoaxe/OpenRA
lua/stacktraceplus.lua
59
12006
-- tables local _G = _G local string, io, debug, coroutine = string, io, debug, coroutine -- functions local tostring, print, require = tostring, print, require local next, assert = next, assert local pcall, type, pairs, ipairs = pcall, type, pairs, ipairs local error = error assert(debug, "debug table must be availa...
gpl-3.0
sonoprob/0x56
bot/lua/bot-kewl/ChatBot.lua
1
13349
--[[ ChatBot_Save_All -- saves all ChatBot_Save -- saves basic stuff ChatBot_Save_AdminGreetings -- saves Admin greetings ChatBot_Save_Greetings -- saves stuff when you say hey --]] -- vars local ChatBotSettings = { } ChatBotSettings.Name = ".:CG:. Nick" -- His name , this is Nick by default ChatBotSetting...
artistic-2.0
awesomeWM/awesome
tests/test-systray.lua
1
1496
local spawn = require("awful.spawn") local wibox = require("wibox") local beautiful = require("beautiful") local steps, pid1, pid2, draw_w, st = {} table.insert(steps, function() screen[1].mywibox:remove() local widget = wibox.widget.base.make_widget() function widget:fit(_, w, h) return w, h ...
gpl-2.0
bnetcc/darkstar
scripts/zones/Castle_Oztroja/npcs/_47l.lua
5
1328
----------------------------------- -- Area: Castle Oztroja -- NPC: _47l (Torch Stand) -- Notes: Opens door _471 near password #3 -- !pos -45.228 -17.832 22.392 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zon...
gpl-3.0
MmxBoy/metalik
plugins/face.lua
641
3073
local https = require("ssl.https") local ltn12 = require "ltn12" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function request(imageUrl) local api_key = mashape.api_key if api_key:isempt...
gpl-2.0
StewEsho/Prepenol
button.lua
2
2653
-------------------------------------------------------------------------------- -- -- Functionality for adding buttons, used in game and in menus -- -- button.lua -- ------------------------------- Private Fields --------------------------------- local class = require ("classy"); local button = {}; button.newInstan...
gpl-3.0
bnetcc/darkstar
scripts/globals/items/nexus_cape.lua
1
2457
----------------------------------------- -- ID: 11538 -- Item: Nexus Cape -- Enchantment: "Teleport" (Party Leader) ----------------------------------------- require("scripts/globals/teleports"); require("scripts/globals/status"); ----------------------------------------- function onItemCheck(target) local result...
gpl-3.0
bnetcc/darkstar
scripts/globals/items/bowl_of_moogurt.lua
3
1113
----------------------------------------- -- ID: 5935 -- Item: Bowl of Moogurt -- Food Effect: 30Min, All Races ----------------------------------------- -- HP % 20 Cap 20 -- Vitality 3 -- HP Healing 3 ----------------------------------------- require("scripts/globals/status"); -----------------------------------------...
gpl-3.0
bnetcc/darkstar
scripts/zones/LaLoff_Amphitheater/npcs/qm1_3.lua
5
2444
----------------------------------- -- Area: LaLoff_Amphitheater -- NPC: Shimmering Circle (BCNM Entrances) ------------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; package.loaded["scripts/globals/bcnm"] = nil; ------------------------------------- require("scripts/glob...
gpl-3.0
TurkeyMan/premake-core
src/_manifest.lua
9
1390
-- -- _manifest.lua -- Manage the list of built-in Premake scripts. -- Copyright (c) 2002-2015 Jason Perkins and the Premake project -- -- The master list of built-in scripts. Order is important! If you want to -- build a new script into Premake, add it to this list. return { -- core files "base/_foundation.lua...
bsd-3-clause
bnetcc/darkstar
scripts/globals/weaponskills/victory_smite.lua
26
1693
----------------------------------- -- Victory Smite -- Hand-to-Hand Weapon Skill -- Skill Level: N/A -- Description: Delivers a fourfold attack. Chance of params.critical hit varies with TP. -- Must have Verethragna (85)/(90)/(95)/(99)/(99-2) or Revenant Fists +1/+2/+3 equipped. -- Aligned with the Light Gorget, Breez...
gpl-3.0
bnetcc/darkstar
scripts/zones/Port_San_dOria/npcs/Rielle.lua
5
1069
----------------------------------- -- Area: Port San d'Oria -- NPC: Rielle -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); require("scripts/globals/quests"); ----...
gpl-3.0
JabJabJab/Sledgehammer
lua/SledgehammerLua/media/lua/client/Sledgehammer/Gui/Component.lua
1
9773
-- This file is part of Sledgehammer. -- -- Sledgehammer is free software: you can redistribute it and/or modify -- it under the terms of the GNU Lesser General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- ...
lgpl-3.0
bnetcc/darkstar
scripts/globals/mobskills/panzerfaust_custom.lua
1
1240
--------------------------------------------- -- Panzerfaust -- -- Description: Strikes a target twice with an armored fist. Additional effect: Knockback -- Type: Physical -- Utsusemi/Blink absorb: 2 shadows -- Range: Melee -- Notes: --------------------------------------------- require("scripts/globals/settings...
gpl-3.0
bnetcc/darkstar
scripts/zones/Qufim_Island/npcs/Jiwon.lua
5
1511
----------------------------------- -- Area: Qufim Island -- NPC: Jiwon -- Type: Outpost Vendor -- !pos -249 -19 300 126 ----------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest...
gpl-3.0
lcf258/openwrtcn
libs/luci-lib-nixio/docsrc/nixio.bit.lua
171
2044
--- Bitfield operators and mainpulation functions. -- Can be used as a drop-in replacement for bitlib. module "nixio.bit" --- Bitwise OR several numbers. -- @class function -- @name bor -- @param oper1 First Operand -- @param oper2 Second Operand -- @param ... More Operands -- @return number --- Invert given number. ...
apache-2.0
TEAMSOFTTG/SoftTeamSuper
plugins/nerkharz.lua
8
1082
local function get_arz() local url = 'http://exchange.nalbandan.com/api.php?action=json' local jstr, res = http.request(url) local arz = json:decode(jstr) return '📊 نرخ ارز ، طلا و سکه در:'..arz.dollar.date..'\n\n〽 هر گرم طلای 18 عیار:'..arz.gold_per_geram.value..' تومان\n\n🌟 سکه طرح جدید:'..arz.coin_new.valu...
gpl-2.0
bnetcc/darkstar
scripts/zones/Ifrits_Cauldron/mobs/Tyrannic_Tunnok.lua
1
1959
----------------------------------- -- Area: Ifrits Cauldron -- NM: Tyrannic Tunnok ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) end; ----------------------------------...
gpl-3.0
bnetcc/darkstar
scripts/zones/Crawlers_Nest_[S]/mobs/Nympha_Eunomia.lua
1
1877
----------------------------------- -- Area: EDIT ME -- VWNM: Nympha Eunomia ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Crawlers_Nest_[S]/TextIDs"); require("scripts/globals/status"); ------------------...
gpl-3.0
bnetcc/darkstar
scripts/zones/Gusgen_Mines/npcs/_5ga.lua
5
1033
----------------------------------- -- Area: Gusgen Mines -- NPC: _5ga (Lever C) -- !pos 44 -40.561 -54.199 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gusgen_Mines/TextIDs"); ----------------------------...
gpl-3.0
notcake/vfs
lua/vfs/protocol/nodecreationresponse.lua
1
1113
local self = {} VFS.Protocol.RegisterResponse ("NodeCreation", VFS.MakeConstructor (self, VFS.Protocol.Session)) function self:ctor () self.FolderPath = nil self.ChildName = nil self.IsFolder = nil end function self:HandleInitialPacket (inBuffer) self.FolderPath = inBuffer:String () self.ChildName = V...
gpl-3.0
bnetcc/darkstar
scripts/globals/items/serving_of_salmon_meuniere_+1.lua
3
1041
----------------------------------------- -- ID: 4347 -- Item: serving_of_salmon_meuniere_+1 -- Food Effect: 240Min, All Races ----------------------------------------- -- Dexterity 2 -- Mind -2 -- Ranged ACC % 7 -- Ranged ACC Cap 15 ----------------------------------------- require("scripts/globals/status"); ---------...
gpl-3.0
bnetcc/darkstar
scripts/globals/items/tanners_belt.lua
15
1199
----------------------------------------- -- ID: 15448 -- Item: Tanners belt -- Enchantment: Synthesis image support -- 2Min, All Races ----------------------------------------- -- Enchantment: Synthesis image support -- Duration: 2Min -- Leathercraft Skill +3 ----------------------------------------- require("script...
gpl-3.0
bnetcc/darkstar
scripts/zones/Meriphataud_Mountains/npcs/Planar_Rift.lua
1
2317
----------------------------------- -- Area: Meriphataud_Mountains -- NPC: Planar Rift ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Meriphataud_Mountains/TextIDs"...
gpl-3.0
leonardoaxe/OpenRA
mods/ra/maps/allies-05a/allies05a.lua
5
11297
if Map.LobbyOption("difficulty") == "easy" then TanyaType = "e7" ReinforceCash = 5000 HoldAITime = DateTime.Minutes(3) SpecialCameras = true elseif Map.LobbyOption("difficulty") == "normal" then TanyaType = "e7.noautotarget" ReinforceCash = 2250 HoldAITime = DateTime.Minutes(2) SpecialCameras = true else Tanya...
gpl-3.0
bnetcc/darkstar
scripts/zones/Bastok_Mines/npcs/Crying_Wind_IM.lua
5
2504
----------------------------------- -- Area: Bastok Mines -- NPC: Crying Wind, I.M. -- X Grant Signet -- X Recharge Emperor Band, Empress Band, or Chariot Band -- X Accepts traded Crystals to fill up the Rank bar to open new Missions. -- X Sells items in exchange for Conquest Points -- X Start Supply Run Missions and...
gpl-3.0
tahashakiba/booooooo
plugins/linkpv.lua
66
30275
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
mwoz123/koreader
frontend/ui/widget/datewidget.lua
3
6838
local Blitbuffer = require("ffi/blitbuffer") local ButtonTable = require("ui/widget/buttontable") local CenterContainer = require("ui/widget/container/centercontainer") local CloseButton = require("ui/widget/closebutton") local Device = require("device") local FrameContainer = require("ui/widget/container/framecontaine...
agpl-3.0
bnetcc/darkstar
scripts/globals/spells/absorb-vit.lua
4
1561
-------------------------------------- -- Spell: Absorb-VIT -- Steals an enemy's vitality. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------- function ...
gpl-3.0
bnetcc/darkstar
scripts/commands/heroshop.lua
1
7476
-------------------------------------------------------------- -- func: !heroshop -- desc: like !shop, but for accomplished adventurers only -------------------------------------------------------------- require("scripts/globals/atma"); require("scripts/globals/settings"); require("scripts/globals/missions"); require("...
gpl-3.0
bnetcc/darkstar
scripts/zones/The_Garden_of_RuHmet/npcs/qm1.lua
1
2624
----------------------------------- -- Area: The_Garden_of_RuHmet -- NPC: ??? (Jailer of Fortitude Spawn) -- Allows players to spawn the Jailer of Fortitude by trading 12 Ghrah M Chips to a ???. -- Random positions: -- !pos -420 0 755 -- !pos -43 0 460 -- !pos -260 0 44.821 -- !pos -580 0 43 -- !pos -796 0 460 -------...
gpl-3.0
Atebite/NutScript
gamemode/core/derma/cl_classes.lua
4
4397
local PANEL = {} function PANEL:Init() self:SetTall(64) local function assignClick(panel) panel.OnMousePressed = function() self.pressing = -1 self:onClick() end panel.OnMouseReleased = function() if (sel...
mit
bnetcc/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/qm7.lua
5
1852
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: qm7 (??? - Ancient Papyrus Shreds) -- Involved in Quest: In Defiant Challenge -- !pos 105.275 -32 92.551 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------...
gpl-3.0
awesomeWM/awesome
lib/gears/cache.lua
4
1972
--------------------------------------------------------------------------- --- Cache object with data that can be garbage-collected. -- -- Here is an example with a basic cache: -- --@DOC_text_gears_cache_cache_EXAMPLE@ -- -- The example below demonstrates how the garbage collector will clear the -- cache: -- --@DOC_t...
gpl-2.0
MmxBoy/metalik
plugins/qr.lua
637
1730
--[[ * qr plugin uses: * - http://goqr.me/api/doc/create-qr-code/ * psykomantis ]] local function get_hex(str) local colors = { red = "f00", blue = "00f", green = "0f0", yellow = "ff0", purple = "f0f", white = "fff", black = "000", gray = "ccc" } for color, value in pairs(colors)...
gpl-2.0
mwoz123/koreader
frontend/ui/widget/multiconfirmbox.lua
3
5847
--[[-- Widget that shows a message and cancel/choice1/choice2 buttons Example: UIManager:show(MultiConfirmBox:new{ text = T( _("Set %1 as fallback font?"), face), choice1_text = _("Default"), choice1_callback = function() -- set as default font end, choice2_text...
agpl-3.0
bnetcc/darkstar
scripts/zones/Cloister_of_Tremors/bcnms/sugar-coated_directive.lua
5
1797
---------------------------------------- -- Area: Cloister of Tremors -- BCNM: Sugar Coated Directive (ASA-4) ---------------------------------------- package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil; ---------------------------------------- require("scripts/globals/keyitems"); require("scripts/global...
gpl-3.0
OpenPrograms/Plan9k
pipes/20_threading.lua
1
8721
threads = {} currentThread = nil eventFilters = {signal = {}} function countThreadSignals(thread, signal) local n = 0 local first = 0 for i, sig in ipairs(thread.eventQueue) do if sig[1] == signal then n = n + 1 if first < 1 then first = i end ...
mit
bnetcc/darkstar
scripts/globals/weaponskills/leg_sweep.lua
3
1731
----------------------------------- -- Leg Sweep -- Polearm weapon skill -- Skill Level: 100 -- Stuns enemy. Chance of stunning varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Thunder Gorget. -- Aligned with the Thunder Belt. -- Element: None -- Modifiers: STR:30% -- 100%TP 200%TP 300%TP -- 1...
gpl-3.0
bnetcc/darkstar
scripts/zones/Rolanberry_Fields_[S]/mobs/Agathos.lua
1
2841
----------------------------------- -- Area: EDIT ME -- VWNM: Agathos ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Rolanberry_Fields_[S]/TextIDs"); require("scripts/globals/status"); require("scripts/g...
gpl-3.0
awesomeWM/awesome
tests/examples/wibox/awidget/tasklist/style_fg_normal.lua
1
1443
--DOC_HIDE_START --DOC_GEN_IMAGE local parent = ... local beautiful = require("beautiful") local wibox = require("wibox") local awful = { widget = { tasklist = require("awful.widget.tasklist") } } local t_real = require("awful.tag").add("Test", {screen=screen[1]}) local s = screen[1] parent.spacing = 5 beautifu...
gpl-2.0
tahashakiba/booooooo
bot/SaTaN_bot.lua
1
8865
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 = '2' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then return...
gpl-2.0
notcake/vfs
lua/vfs/filesystem/netnode.lua
1
2388
local self = {} VFS.NetNode = VFS.MakeConstructor (self, VFS.INode) function self:ctor (endPoint, name, parentFolder) self.Type = "Net" .. (self:IsFolder () and "Folder" or "File") self.EndPoint = endPoint self.Name = name self.DisplayName = self.Name self.ParentFolder = parentFolder self.ModificationTime = ...
gpl-3.0
bnetcc/darkstar
scripts/zones/Dynamis-Xarcabard/TextIDs.lua
5
2230
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6386; -- Obtained: <item> GIL_OBTAINED = 6387; -- Obtained <number> gil KEYITEM_OBTAIN...
gpl-3.0
bnetcc/darkstar
scripts/zones/Windurst_Woods/npcs/Nikkoko.lua
3
1502
----------------------------------- -- Area: Windurst Woods -- NPC: Nikkoko -- Type: Clothcraft Image Support -- !pos -32.810 -3.25 -113.680 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); requi...
gpl-3.0
bnetcc/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fn.lua
5
2282
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: North Plate -- !pos 180 -34 71 195 ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc) local state0 = 8; local state1 = 9; local DoorOffset = npc:getID() - 22; -- _5f1 i...
gpl-3.0
zeropool/duktape
tests/perf/test-reg-readwrite-plain.lua
19
7981
function test() local a, b, c, d, i; a = 1 b = 2 c = 3 d = 4 for i=1,1e6 do -- 100 a = a; a = b; a = c; a = d; b = a; b = b; b = c; b = d; c = a; c = b a = a; a = b; a = c; a = d; b = a; b = b; b = c; b = d; c = a; c = b a = a; a = b; a = c; a = d; b = a; b = b;...
mit
bnetcc/darkstar
scripts/zones/Korroloka_Tunnel/TextIDs.lua
5
1302
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item> come back again after sorting your inventory. ITEM_OBTAINED = 6386; -- Obtained: <item>. GIL_OBTAINED = 6387; -- Obtained <number> gil. KEYITEM_OBTAINED = 6389; -- Obt...
gpl-3.0
bnetcc/darkstar
scripts/zones/San_dOria-Jeuno_Airship/npcs/Nigel.lua
5
2018
----------------------------------- -- Area: San d'Oria-Jeuno Airship -- NPC: Nigel -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/San_dOria-Jeuno_Airship/TextIDs"] = nil; ----------------------------------- require("scripts/zones/San_dOria-Jeuno_Airship/TextIDs"); -------------...
gpl-3.0
bnetcc/darkstar
scripts/zones/Abyssea-Konschtat/mobs/Ypotryll.lua
1
1151
----------------------------------- -- Area: Abyssea - Konschtat (15) -- Mob: Ypotryll ----------------------------------- package.loaded["scripts/globals/abyssea"] = nil; ----------------------------------- require("scripts/zones/Abyssea-Konschtat/textIDs"); require("scripts/globals/abyssea"); require("scripts/glo...
gpl-3.0
OpenPrograms/Plan9k
plan9k-extra/robot.lua
3
6617
local component = require("component") local sides = require("sides") local robot = {} ------------------------------------------------------------------------------- -- General function robot.name() return component.robot.name() end function robot.level() if component.isAvailable("experience") then return ...
mit
mwoz123/koreader
frontend/luxl.lua
9
17425
--[[ This code was derived from the pico_xml project which can be found here: http://kd7yhr.org/bushbo/pico_xml.md The original C code, written by: Brian O. Bush Pure Lua Version written by: William A Adams Dramatic Speed Improvements by: Robert G Jakabosky https://github.com/Wiladams/LAP...
agpl-3.0
bnetcc/darkstar
scripts/zones/Port_Windurst/npcs/Kameel.lua
1
2084
----------------------------------- -- Area: Port Windurst -- NPC: Kameel -- Type: Standard NPC ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Windurst/TextIDs"); require("scripts/globals/teleports"); req...
gpl-3.0
Evsdd/domoticz
dzVents/runtime/device-adapters/scene_device.lua
6
1104
local TimedCommand = require('TimedCommand') return { baseType = 'scene', name = 'Scene device adapter', matches = function(device, adapterManager) local res = (device.baseType == 'scene') if (not res) then adapterManager.addDummyMethod(device, 'switchOn') adapterManager.addDummyMethod(device, 'switchO...
gpl-3.0
bnetcc/darkstar
scripts/zones/Norg/npcs/Keal.lua
5
4086
----------------------------------- -- Area: Norg -- NPC: Keal -- Starts and Ends Quest: It's Not Your Vault ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Norg/TextIDs"); require("scripts/globals/settings"); require("s...
gpl-3.0
motherfscker/minetest_game
mods/sfinv/api.lua
3
4280
sfinv = { pages = {}, pages_unordered = {}, contexts = {}, enabled = true } function sfinv.register_page(name, def) assert(name, "Invalid sfinv page. Requires a name") assert(def, "Invalid sfinv page. Requires a def[inition] table") assert(def.get, "Invalid sfinv page. Def requires a get function.") assert(not...
lgpl-2.1
bnetcc/darkstar
scripts/zones/Metalworks/npcs/Mythily.lua
5
1813
----------------------------------- -- Area: Metalworks -- NPC: Mythily -- Type: Immigration NPC -- !pos 94 -20 -8 237 ----------------------------------- require("scripts/globals/conquest"); ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc) local new_nat...
gpl-3.0
notcake/vfs
lua/vfs/ui/folderlistview.lua
1
15382
local self = {} --[[ Events: FolderChanged (IFolder folder) Fired when the selected folder has changed. NodeOpened (INode node) Fired when a file or folder is double clicked. SelectedFileChanged (IFile file) Fired when a file is selected from the list. SelectedFolderChanged (IFolder folder)...
gpl-3.0
yswifi/APlan
build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/luci/ipkg-ramips_24kec/luci-lib-web/usr/lib/lua/luci/http/protocol.lua
55
18445
--[[ HTTP protocol implementation for LuCI (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 http://www.apache.org/licen...
gpl-2.0
bnetcc/darkstar
scripts/zones/Port_Bastok/npcs/Valeriano.lua
5
1408
----------------------------------- -- Area: Port Bastok -- NPC: Valeriano -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/z...
gpl-3.0
bnetcc/darkstar
scripts/zones/Garlaige_Citadel/npcs/qm12.lua
5
1042
----------------------------------- -- 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("sc...
gpl-3.0
kmul00/torch-vol
VolumetricMaxUnpooling.lua
1
1790
local VolumetricMaxUnpooling, parent = torch.class('nn.VolumetricMaxUnpooling', 'nn.Module') function VolumetricMaxUnpooling:__init(poolingModule) parent.__init(self) assert(torch.type(poolingModule)=='nn.VolumetricMaxPooling', 'Argument must be a nn.VolumetricMaxPooling module') assert(poolingModule.kT==pooling...
mit
Evsdd/domoticz
dzVents/runtime/HTTPResponse.lua
7
1077
local _ = require('lodash') local utils = require('Utils') local function HTTPResponce(domoticz, responseData) local self = {} self.headers = responseData.headers or {} self.baseType = domoticz.BASETYPE_HTTP_RESPONSE self.data = responseData.data or nil self._contentType = _.get(self.headers, ...
gpl-3.0
bnetcc/darkstar
scripts/zones/Mhaura/npcs/Mololo.lua
1
1174
----------------------------------- -- Area: Mhaura -- NPC: Mololo -- Guild Merchant NPC: Blacksmithing Guild -- !pos -64.278 -16.624 34.120 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("sc...
gpl-3.0
sylvanaar/prat-3-0
modules/ChatTabs.lua
1
9764
--------------------------------------------------------------------------------- -- -- Prat - A framework for World of Warcraft chat mods -- -- Copyright (C) 2006-2018 Prat Development Team -- -- This program is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public Licen...
gpl-3.0
bnetcc/darkstar
scripts/zones/Empyreal_Paradox/Zone.lua
5
1447
----------------------------------- -- -- Zone: Empyreal_Paradox -- ----------------------------------- package.loaded["scripts/zones/Empyreal_Paradox/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Empyreal_Paradox/TextIDs"); ----------------------------...
gpl-3.0
seeker24/happy
plugins/ingroup.lua
371
44212
do -- Check Member local function check_member_autorealm(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[tostr...
gpl-2.0
bnetcc/darkstar
scripts/globals/mobskills/grim_halo_custom.lua
11
1096
--------------------------------------------------- -- Grim Halo -- Deals damage to a all targets. Additional effect: Knockback -- Only used by Fomors that wield a two-handed weapon (principally WAR, BLM, DRK, SAM, DRG, and SMN fomors). --------------------------------------------------- require("scripts/globals/sett...
gpl-3.0
bnetcc/darkstar
scripts/zones/Yuhtunga_Jungle/mobs/Rose_Garden.lua
7
1027
----------------------------------- -- Area: Yuhtunga Jungle -- MOB: Rose Garden ----------------------------------- require("scripts/zones/Yuhtunga_Jungle/MobIDs"); function disturbMob(mob) mob:setLocalVar("timeToGrow", os.time() + math.random(36000,37800)); -- 10:00:00 to 10:30:00 end function onMobSpawn(mob) ...
gpl-3.0
bnetcc/darkstar
scripts/globals/spells/bluemagic/smite_of_rage.lua
33
1678
----------------------------------------- -- Spell: Smite of Rage -- Damage varies with TP -- Spell cost: 28 MP -- Monster Type: Arcana -- Spell Type: Physical (Slashing) -- Blue Magic Points: 3 -- Stat Bonus: AGI+3 -- Level: 34 -- Casting Time: 0.5 seconds -- Recast Time: 13 seconds -- Skillchain Element(s): Wind (can...
gpl-3.0
nsimplex/Tallbrood
scripts/tallbrood/wicker/lib/searchspace.lua
2
1763
--[[ Copyright (C) 2013 simplex 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 your option) any later version. This program is distributed in the hope that ...
gpl-2.0
bnetcc/darkstar
scripts/zones/Port_Windurst/npcs/Choyi_Totlihpa.lua
5
1117
----------------------------------- -- Area: Port Windurst -- NPC: Choyi Totlihpa -- Type: Standard NPC -- !pos -58.927 -5.732 132.819 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scr...
gpl-3.0
TurkeyMan/premake-core
tests/base/test_criteria.lua
15
10408
-- -- tests/base/test_criteria.lua -- Test suite for the criteria matching API. -- Copyright (c) 2012-2015 Jason Perkins and the Premake project -- local p = premake local suite = test.declare("criteria") local criteria = p.criteria -- -- Setup and teardown -- local crit -- -- A criteria with no terms should ...
bsd-3-clause
yswifi/APlan
build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/luci/ipkg-ramips_24kec/luci-proto-ppp/usr/lib/lua/luci/model/cbi/admin_network/proto_pptp.lua
59
3379
--[[ LuCI - Lua Configuration Interface Copyright 2011-2012 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ]]-- loc...
gpl-2.0
bnetcc/darkstar
scripts/zones/Temenos/bcnms/central_temenos_3rd_floor.lua
35
1139
----------------------------------- -- Area: Temenos -- Name: ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[C_Temenos_3rd]UniqueID",GenerateLimbusKey()); HideArmouryCrates(GetInstanceRegion(1305),TE...
gpl-3.0
TheRaffy/OpenRA
mods/cnc/maps/nod06b/nod06b.lua
1
7038
NodUnitsVehicle1 = { 'bggy', 'bggy', 'bike', 'bike', 'bike' } NodUnitsVehicle2 = { 'ltnk', 'ltnk', 'ltnk' } NodUnitsGunner = { 'e1', 'e1', 'e1', 'e1', 'e1', 'e1' } NodUnitsRocket = { 'e3', 'e3', 'e3', 'e3', 'e3', 'e3' } Gdi1Units = { 'e1', 'e1', 'e2', 'e2', 'e2' } HuntCellTriggerActivator = { CPos.New(61,34), CPos.New...
gpl-3.0
ameihm0912/MozDef
examples/heka-lua-bro/bro_notice.lua
2
3908
-- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this -- file, You can obtain one at http://mozilla.org/MPL/2.0/. -- Copyright (c) 2014 Mozilla Corporation -- -- Contributors: -- Anthony Verez averez@mozilla.com -- Jeff Bryner jbryn...
mpl-2.0
bnetcc/darkstar
scripts/globals/items/gae_assail.lua
3
2109
----------------------------------------- -- ID: 18299 -- Item: Gae Assail ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/msg"); require("scripts/globals/weaponskills"); require("scripts/globals/weaponskillids"); ----------------------------------- local NAME_WEAP...
gpl-3.0
bnetcc/darkstar
scripts/zones/Northern_San_dOria/npcs/Antonian.lua
5
1709
----------------------------------- -- Area: Northern San d'Oria -- NPC: Antonian -- Regional Marchant NPC -- Only sells when San d'Oria controlls Aragoneu. ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/N...
gpl-3.0
TurkeyMan/premake-core
modules/gmake2/tests/test_gmake2_file_rules.lua
5
8225
-- -- test_gmake2_file_rules.lua -- Validate the makefile source building rules. -- (c) 2016-2017 Jason Perkins, Blizzard Entertainment and the Premake project -- local suite = test.declare("gmake2_file_rules") local p = premake local gmake2 = p.modules.gmake2 -- -- Setup -- local wks, prj function suite.setu...
bsd-3-clause
bnetcc/darkstar
scripts/globals/spells/silencega.lua
3
1324
----------------------------------------- -- Spell: Silence ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0; end; func...
gpl-3.0
legospacy/hue-shift
states/game.lua
1
1934
--- Require --- local gamestate = require("lib.hump.gamestate") local timer = require("lib.hump.timer") local util = require("lib.self.util") --- ==== --- --- Classes --- local Game = require("objects.game.game") local Song = require("objects.game.song") --- ==== --- --- Gamestate definition --- local game = {} -...
mit
bnetcc/darkstar
scripts/zones/Kamihr_Drifts/Zone.lua
1
1188
----------------------------------- -- -- Zone: Kamihr Drifts -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Kamihr_Drifts/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Kamihr_Drifts/TextIDs"); ----------------------------------- ...
gpl-3.0
sonoprob/0x56
bot/lua/test/LuaSrcDiet-0.12.1/src/plugin/sloc.lua
2
4063
--[[-------------------------------------------------------------------- sloc.lua: Calculates SLOC for Lua 5.1 scripts This file is part of LuaSrcDiet. Copyright (c) 2008,2011 Kein-Hong Man <keinhong@gmail.com> The COPYRIGHT file describes the conditions under which this software may be distributed. ------...
artistic-2.0
bnetcc/darkstar
scripts/zones/Northern_San_dOria/npcs/Taulenne.lua
1
6018
----------------------------------- -- Area: Northern San d'Oria -- NPC: Taulenne -- Armor Storage NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; package.loaded["scripts/globals/armorstorage"] = nil; ----------------------------------- require("scripts/zones/N...
gpl-3.0
bnetcc/darkstar
scripts/globals/items/crepe_delice.lua
3
1231
----------------------------------------- -- ID: 5767 -- Item: Crepe Delice -- Food Effect: 30 Min, All Races ----------------------------------------- -- HP +10% (cap 15) -- Magic Accuracy +21% (cap 30) -- Magic Defense +2 ----------------------------------------- require("scripts/globals/status"); -------------------...
gpl-3.0
mwoz123/koreader
spec/unit/networksetting_spec.lua
8
3078
describe("NetworkSetting module", function() local NetworkSetting, NetworkMgr, UIManager setup(function() require("commonrequire") UIManager = require("ui/uimanager") NetworkSetting = require("ui/widget/networksetting") NetworkMgr = require("ui/network/manager") end) it(...
agpl-3.0
Zaratusa/gmod_addons
gamemodes/terrortown/entities/weapons/weapon_ttt_sandwich/shared.lua
2
5922
--[[Author informations]]-- SWEP.Author = "Zaratusa" SWEP.Contact = "http://steamcommunity.com/profiles/76561198032479768" CreateConVar("ttt_sandwich_detective", 1, {FCVAR_SERVER_CAN_EXECUTE, FCVAR_ARCHIVE, FCVAR_REPLICATED}, "Should Detectives be able to use the Sandwich?") CreateConVar("ttt_sandwich_traitor", 1, {FC...
gpl-3.0