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
kidaa/darkstar
scripts/zones/Riverne-Site_A01/npcs/Unstable_Displacement.lua
36
1068
----------------------------------- -- Area: Riverne Site #A01 -- NPC: Unstable Displacement -- ENM Battlefield ----------------------------------- package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/R...
gpl-3.0
MonokuroInzanaito/ygopro-777DIY
expansions/script/c37564917.lua
1
1398
--Sayuri-Anciant local m=37564917 local cm=_G["c"..m] xpcall(function() require("expansions/script/c37564765") end,function() require("script/c37564765") end) cm.Senya_name_with_sayuri=true function cm.initial_effect(c) local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_ACTIVATE) ...
gpl-3.0
will4wachter/Project1
scripts/globals/mobskills/Throat_Stab.lua
6
1117
--------------------------------------------- -- Throat Stab -- -- Description: Deals damage to a single target reducing their HP to 5%. Resets enmity. -- Type: Physical -- Utsusemi/Blink absorb: No -- Range: Single Target -- Notes: Very short range, easily evaded by walking away from it. ----------------...
gpl-3.0
MonokuroInzanaito/ygopro-777DIY
expansions/script/c10103002.lua
1
2623
--界限龙王 努特 function c10103002.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,4,2) c:EnableReviveLimit() --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(10103002,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetRange(LOCATION_MZONE) e1:SetC...
gpl-3.0
lhog/Zero-K
scripts/staticshield.lua
8
3749
--by Chris Mackey include "constants.lua" local ALLY_ACCESS = {allied = true} --pieces local base = piece "base" local glow = piece "glow" local lf_leaf = piece "lf_leaf" local lf_ball = piece "lf_ball" local lf_thigh = piece "lf_thigh" local lf_knee = piece "lf_knee" local lf_foot = piece "lf_foot" local lb_leaf =...
gpl-2.0
NewbProgrammer101/Lord-of-the-Test
mods/lottfarming/melon.lua
3
2519
minetest.register_craftitem("lottfarming:melon_seed", { description = "Melon Seed", inventory_image = "lottfarming_melon_seed.png", on_place = function(itemstack, placer, pointed_thing) return place_seed(itemstack, placer, pointed_thing, "lottfarming:melon_1") end, }) minetest.register_node("lottfarming:melon_1"...
lgpl-2.1
waterlgndx/darkstar
scripts/zones/Northern_San_dOria/npcs/Vichuel.lua
1
1329
----------------------------------- -- Area: Northern San d'Oria -- NPC: Vichuel -- Only sells when San d'Oria controlls Fauregandi Region ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil ----------------------------------- require("scripts/zones/Northe...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/spells/katon_ichi.lua
5
1221
----------------------------------------- -- Spell: Katon: Ichi -- Deals fire damage to an enemy and lowers its resistance against water. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ------------...
gpl-3.0
eugeneia/snabbswitch
lib/ljsyscall/syscall/linux/syscalls.lua
3
29488
-- This is the actual system calls for Linux local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string local abi = requi...
apache-2.0
Fenix-XI/Fenix
scripts/zones/Windurst_Waters_[S]/npcs/Pettette.lua
13
1064
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Pettette -- Type: Standard NPC -- @zone: 94 -- @pos 164.026 -0.001 -26.690 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ...
gpl-3.0
mozilla-services/data-pipeline
heka/sandbox/filters/telemetry_decoder_view.lua
4
4337
-- 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/. --[[ Creates a summary view of the TelemetryDecoder Statistics. [TelemetryStats] type = "SandboxFilter" ...
mpl-2.0
heuyklee/Stochastic-Width
main.lua
1
2349
-- -- Copyright (c) 2016, Facebook, Inc. -- All rights reserved. -- -- This source code is licensed under the BSD-style license found in the -- LICENSE file in the root directory of this source tree. An additional grant -- of patent rights can be found in the PATENTS file in the same directory. -- require 'torch' ...
bsd-3-clause
Fenix-XI/Fenix
scripts/zones/Apollyon/mobs/Bardha.lua
7
1401
----------------------------------- -- Area: Apollyon NW -- NPC: Kaiser Behemoth ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Apollyon/TextIDs"); ----------------------------------- -- onMobSpawn Action -------...
gpl-3.0
8devices/carambola2-luci
libs/rpcc/luasrc/rpcc/ruci.lua
93
1432
--[[ LuCIRPCc (c) 2009 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- local util = require "luci.ut...
apache-2.0
Fenix-XI/Fenix
scripts/globals/items/bowl_of_yayla_corbasi_+1.lua
18
1473
----------------------------------------- -- ID: 5580 -- Item: bowl_of_yayla_corbasi_+1 -- Food Effect: 4Hrs, All Races ----------------------------------------- -- HP 25 -- Dexterity -1 -- Vitality 3 -- HP Recovered While Healing 5 -- MP Recovered While Healing 2 ----------------------------------------- require("scr...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/spells/bluemagic/lowing.lua
12
1336
----------------------------------------- -- Spell: Lowing -- Gives enemies within range a powerful disease that prevents recovery of HP and MP -- Spell cost: 66 MP -- Monster Type: Beasts -- Spell Type: Magical (Fire) -- Blue Magic Points: 2 -- Stat Bonus: HP-5 -- Level: 71 -- Casting Time: 7 seconds -- Recast Time: 5...
gpl-3.0
0BRWUEN0/BRWUEEN
libs/feedparser.lua
543
11955
local LOM = assert(require("lxp.lom"), "LuaExpat doesn't seem to be installed. feedparser kind of needs it to work...") local XMLElement = (loadfile "./libs/XMLElement.lua")() local dateparser = (loadfile "./libs/dateparser.lua")() local URL = (loadfile "./libs/url.lua")() local tinsert, tremove, tconcat = table.insert...
gpl-2.0
sprcpu/F80-V3.0
libs/feedparser.lua
543
11955
local LOM = assert(require("lxp.lom"), "LuaExpat doesn't seem to be installed. feedparser kind of needs it to work...") local XMLElement = (loadfile "./libs/XMLElement.lua")() local dateparser = (loadfile "./libs/dateparser.lua")() local URL = (loadfile "./libs/url.lua")() local tinsert, tremove, tconcat = table.insert...
gpl-2.0
masihcs/csbot
libs/feedparser.lua
543
11955
local LOM = assert(require("lxp.lom"), "LuaExpat doesn't seem to be installed. feedparser kind of needs it to work...") local XMLElement = (loadfile "./libs/XMLElement.lua")() local dateparser = (loadfile "./libs/dateparser.lua")() local URL = (loadfile "./libs/url.lua")() local tinsert, tremove, tconcat = table.insert...
gpl-3.0
persianTDT/TDT_BOT
libs/feedparser.lua
543
11955
local LOM = assert(require("lxp.lom"), "LuaExpat doesn't seem to be installed. feedparser kind of needs it to work...") local XMLElement = (loadfile "./libs/XMLElement.lua")() local dateparser = (loadfile "./libs/dateparser.lua")() local URL = (loadfile "./libs/url.lua")() local tinsert, tremove, tconcat = table.insert...
agpl-3.0
Giorox/AngelionOT-Repo
data/movements/scripts/tasks.lua
1
4498
local teleports = { -- Tile UID = {storage of task, amount of monsters, monsters to spawn} [14001] = {monsters = {"Leviathan"}, telePos = {x = 31914, y = 31071, z = 10}, spawnPos = {x = 31905, y = 31071, z = 10}, from = {x = 31900, y = 31064, z = 10}, to = {x = 31918, y = 31081, z = 10}}, [14002] = {monsters = {"The...
gpl-3.0
crunchuser/prosody-modules
mod_streamstats/mod_streamstats.lua
32
2349
module:set_global(); local stats = module:shared"stats"; local iter = require "util.iterators"; local count, keys = iter.count, iter.keys; stats.stats = stats.stats or {}; stats.conns = stats.conns or {}; setmetatable(stats, { __index = { broadcast = function (self, stat) local value = self.stats[stat]; for...
mit
marcel-sch/luci
modules/luci-base/luasrc/http/protocol/date.lua
68
1697
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. -- This class contains functions to parse, compare and format http dates. module("luci.http.protocol.date", package.seeall) require("luci.sys.zoneinfo") MONTHS = { "Jan", "Feb", "Mar", "Ap...
apache-2.0
vsergeyev/sol
Sol/briefing.lua
1
2112
----------------------------------------------------------------------------------------- -- -- briefing.lua -- ----------------------------------------------------------------------------------------- local storyboard = require "storyboard" require("dialogs") -- require("levels_control") ----------------...
mit
DarkstarProject/darkstar
scripts/commands/exec.lua
22
1227
--------------------------------------------------------------------------------------------------- -- func: exec -- desc: Allows you to execute a Lua string directly from chat. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 4, para...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Caedarva_Mire/TextIDs.lua
9
1342
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6384; -- Obtained: <item>. GIL_OBTAINED = 6385; -- Obtained <number> gil. KEYITEM_OBTAINED = 6387; -- Obtained...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/spells/breakga.lua
12
1207
----------------------------------------- -- Spell: Breakga -- Petrifies enemies within area of effect, preventing them from acting. ----------------------------------------- require("scripts/globals/magic") require("scripts/globals/msg") require("scripts/globals/status") ----------------------------------------- func...
gpl-3.0
DarkstarProject/darkstar
scripts/commands/return.lua
12
1350
--------------------------------------------------------------------------------------------------- -- func: return <player> -- desc: Warps GM or target player to their previous zone --------------------------------------------------------------------------------------------------- require("scripts/globals/zone") -----...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/items/slice_of_anchovy_pizza.lua
11
1262
----------------------------------------- -- ID: 6217 -- Item: slice of anchovy_pizza -- Food Effect: 30 minutes, all Races ----------------------------------------- -- HP +30 -- DEX +1 -- Accuracy +9% (Cap 15) -- Attack +10% (Cap 20) ----------------------------------------- require("scripts/globals/status") require("...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/mobskills/lethe_arrows.lua
11
1085
--------------------------------------------- -- Lethe Arrows -- -- Description: Deals a ranged attack to target. Additional effect: Knockback, Bind, and Amnesia -- Type: Ranged -- Utsusemi/Blink absorb: Ignores Utsusemi -- Range: Unknown -- Notes: --------------------------------------------- require("scripts/globals/...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Northern_San_dOria/npcs/Dauperiat.lua
9
3096
----------------------------------- -- Area: Northern San d'Oria -- NPC: Dauperiat -- Starts and Finishes Quest: Blackmail (R) -- !zone 231 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/keyitems"); require("scripts/globals/shop"); r...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Labyrinth_of_Onzozo/mobs/Goblin_Alchemist.lua
6
1076
----------------------------------- -- Area: Labyrinth of Onzozo -- MOB: Goblin Alchemist -- Note: Place holder Soulstealer Skullnix ----------------------------------- require("scripts/globals/groundsofvalor"); require("scripts/zones/Labyrinth_of_Onzozo/MobIDs"); ----------------------------------- -- onMobDeath --...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Chateau_dOraguille/npcs/_6h1.lua
9
1867
----------------------------------- -- Area: Chateau d'Oraguille -- Door: Prince Regent's Rm -- Starts and Finishes Quest: Prelude of Black and White (Start), Pieuje's Decision (Start) -- !pos -37 -3 31 233 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/settings"); requi...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Zabahf.lua
9
1061
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Zabahf -- Type: Standard NPC -- !pos -90.070 -1 10.140 50 ----------------------------------- require("scripts/globals/settings") require("scripts/globals/quests") ----------------------------------- function onTrade(player,npc,trade) end func...
gpl-3.0
tcatm/luci
applications/luci-app-ntpc/luasrc/model/cbi/ntpc/ntpc.lua
78
1289
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. m = Map("ntpclient", translate("Time Synchronisation"), translate("Synchronizes the system time")) s = m:section(TypedSection, "ntpclient", translate("General...
apache-2.0
emender/emender
src/core.lua
1
27072
-- Module with implementation of Emender core functionality. -- Copyright (C) 2014, 2015, 2016 Pavel Tisnovsky -- -- This file is part of Emender. -- -- Emender 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 Foundatio...
gpl-3.0
grmss214/shg
plugins/owners.lua
1467
12478
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0
DarkstarProject/darkstar
scripts/zones/Port_Bastok/npcs/_6kt.lua
11
1858
----------------------------------- -- Area: Port Bastok -- NPC: Drawbridge ----------------------------------- require("scripts/globals/status"); ----------------------------------- function onSpawn(npc) --Triggers to open the drawbridge npc:addPeriodicTrigger(0, 360, 4) npc:addPeriodicTrigger(2, 360, 80...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/spells/paralyga.lua
12
1858
----------------------------------------- -- Spell: Paralyze -- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND. ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") -------------------------...
gpl-3.0
emender/emender
src/common/getopt.lua
1
11628
-- getopt.lua - module for handling command line options and flags. -- -- This file is part of Emender. -- -- Emender 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 3 of the License. -- -- Emender i...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Empyreal_Paradox/mobs/Promathia_2.lua
8
2578
----------------------------------- -- Area: Empyreal Paradox -- MOB: Promathia (phase 2) ----------------------------------- package.loaded["scripts/zones/Empyreal_Paradox/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Empyreal_Paradox/TextIDs"); require("scripts/globals/status"); require...
gpl-3.0
eugeneia/snabbswitch
src/program/lwaftr/migrate_configuration/migrate_configuration.lua
3
23786
module(..., package.seeall) local lib = require('core.lib') local ffi = require("ffi") local ipv4 = require("lib.protocol.ipv4") local rangemap = require("apps.lwaftr.rangemap") local ctable = require("lib.ctable") local cltable = require('lib.cltable') local util = require('lib.yang.util') local yang = require('lib.y...
apache-2.0
dualface/killpests
src/cocos/cocostudio/DeprecatedCocoStudioClass.lua
40
10711
-- This is the DeprecatedExtensionClass DeprecatedExtensionClass = {} or DeprecatedExtensionClass --tip local function deprecatedTip(old_name,new_name) print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") end --CCArmature class will be Deprecated,begin function ...
mit
wardz/FocusFrame
Plugins/ClickCast.lua
1
1634
-- luna clickcasting support -- note: clique support is not possible afaik Focus_Loader:Register("LunaUnitFrames", function(Focus) local orig_lufmo = SlashCmdList.LUFMO local L = LunaUF and LunaUF.L if not L or not LunaUF.Mouseover then return end SlashCmdList.LUFMO = function(msg, editbox) local frame = GetMous...
mit
DarkstarProject/darkstar
scripts/globals/spells/flash.lua
12
1134
----------------------------------------- -- Spell: Flash -- Temporarily blinds an enemy, greatly lowering its accuracy. ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onMagic...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Castle_Zvahl_Baileys/npcs/Torch.lua
13
3529
----------------------------------- -- Area: Castle Zvahl Baileys -- NPC: Torch (x4) -- Involved in Quests: Borghertz's Hands (AF Hands, Many job) -- @zone 161 -- @pos 63 -24 21 ----------------------------------- package.loaded["scripts/zones/Castle_Zvahl_Baileys/TextIDs"] = nil; ----------------------------------- r...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Abyssea-Uleguerand/npcs/Cavernous_Maw.lua
29
1201
----------------------------------- -- Area: Abyssea - Uleguerand -- NPC: Cavernous Maw -- @pos -246.000, -40.600, -520.000 253 -- Notes: Teleports Players to Xarcabard ----------------------------------- package.loaded["scripts/zones/Abyssea-Uleguerand/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Tavnazian_Safehold/npcs/Maturiri.lua
13
1066
---------------------------------- -- Area: Tavnazian Safehold -- NPC: Maturiri -- Type: Item Deliverer -- @zone: 26 -- @pos -77.366 -20 -71.128 -- ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ----...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/homura_+1.lua
41
1068
----------------------------------------- -- ID: 16986 -- Item: Homura +1 -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ----------------------------------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Southern_San_dOria/npcs/Kueh_Igunahmori.lua
13
1234
----------------------------------- -- Area: Southern San d'Oria -- NPC: Kueh Igunahmori -- Guild Merchant NPC: Leathercrafting Guild -- @pos -194.791 -8.800 13.130 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Yhoator_Jungle/npcs/Emila_RK.lua
13
3324
----------------------------------- -- Area: Yhoator Jungle -- NPC: Emila, R.K. -- Border Conquest Guards -- @pos -84.113 -0.449 224.902 124 ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); requir...
gpl-3.0
crunchuser/prosody-modules
mod_json_streams/mod_json_streams.lua
32
4474
-- -- XEP-0295: JSON Encodings for XMPP -- module.host = "*" local httpserver = require "net.httpserver"; local filters = require "util.filters" local json = require "util.json" local json_escapes = { ["\""] = "\\\"", ["\\"] = "\\\\", ["\b"] = "\\b", ["\f"] = "\\f", ["\n"] = "\\n", ["\r"] = "\\r", ["\t"] = "\\t"};...
mit
DarkstarProject/darkstar
scripts/globals/armorstorage.lua
3
12707
----------------------------------- -- -- Armor Storage -- ----------------------------------- require("scripts/globals/keyitems") ----------------------------------- dsp = dsp or {} dsp.armorStorage = dsp.armorStorage or {} -- {SetId,SetGroup,SetMask,SetCount,Head,Body,Hands,Legs,Feet,StorageCost,KeyItem} local arm...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Outer_RaKaznar_U/Zone.lua
30
1278
----------------------------------- -- -- Zone: Outer Ra’Kanzar [U] (275) -- ----------------------------------- package.loaded["scripts/zones/Outer_RaKaznar_U/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Outer_RaKaznar_U/TextIDs"); -----------------...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/serving_of_flurry_courante.lua
18
1500
----------------------------------------- -- ID: 5555 -- Item: serving_of_flurry_courante -- Food Effect: 240Min, All Races ----------------------------------------- -- Magic % 19 -- Magic Cap 65 -- Intelligence 2 -- Magic Regen While Healing 1 -- Wind Resist 5 ----------------------------------------- require("script...
gpl-3.0
TanKode/fivem-lua-sdk
client/native/socialclub.lua
1
1390
-- @todo -- @module native -- @submodule socialclub -- @see SC_INBOX_MESSAGE_GET_DATA_INT -- @usage BOOL SC_INBOX_MESSAGE_GET_DATA_INT(int p0, char* context, int* out); -- @param p0 int -- @param context char* -- @param out int* -- @return BOOL function ScInboxMessageGetDataInt(p0, context, out) end -- @tod...
mit
Fenix-XI/Fenix
scripts/zones/RuLude_Gardens/npcs/Tillecoe.lua
13
1052
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Tillecoe -- Type: Standard NPC -- @zone: 243 -- @pos 38.528 -0.997 -6.363 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ------------...
gpl-3.0
Nymphium/moor
spec/compiled/test.lua
2
4631
return describe("moor module", function() local moor, bkenv local to_lua, evalprint do local _obj_0 = require('moor.utils') to_lua, evalprint = _obj_0.to_lua, _obj_0.evalprint end setup(function() moor = require('moor') local deepcpy deepcpy = function(t, list) if list == nil then ...
mit
Fenix-XI/Fenix
scripts/zones/Lower_Jeuno/npcs/_l11.lua
13
1543
----------------------------------- -- Area: Lower Jeuno -- NPC: Streetlamp -- Involved in Quests: Community Service -- @zone 245 -- @pos -9 0 12 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requ...
gpl-3.0
sprcpu/F80-V3.0
mod.lua
3
14253
local function pre_process(msg) local data = load_data(_config.moderation.data) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Chec...
gpl-2.0
Fenix-XI/Fenix
scripts/zones/Southern_San_dOria_[S]/npcs/AshmeaBGreinner1.lua
19
1083
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Ashmea B Greinner -- @zone 80 -- @pos 2 2 -81 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); ----------------------------------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Davoi/npcs/_452.lua
13
1169
----------------------------------- -- Area: Davoi -- NPC: _452 (Elevator Lever) -- Notes: Used to operate Elevator @450 (actual npc script is _454) ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("s...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Riverne-Site_B01/globals.lua
12
1440
-- Zone: Riverne - Site #B01 (29) -- Desc: this file contains functions that are shared by multiple luas in this zone's directory ----------------------------------- local ID = require("scripts/zones/Riverne-Site_B01/IDs"); require("scripts/globals/npc_util"); require("scripts/globals/settings"); require("scripts/globa...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Port_San_dOria/npcs/_6g9.lua
13
1554
----------------------------------- -- Area: Port San d'Oria -- NPC: Door: Departures Exit -- @zone 232 -- @pos -19 -8 27 ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/...
gpl-3.0
8devices/carambola2-luci
applications/luci-asterisk/luasrc/model/cbi/asterisk-sip-connections.lua
80
3921
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at h...
apache-2.0
emender/emender
test/TestModulePath.lua
1
1719
-- TestModulePath.lua - check the API for the Emender module 'gendoc'. -- Copyright (C) 2014, 2015 Pavel Tisnovsky -- -- This file is part of Emender. -- -- Emender 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 Founda...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Quicksand_Caves/mobs/Antican_Hastatus.lua
9
1056
----------------------------------- -- Area: Quicksand Caves -- Mob: Antican Hastatus -- Note: PH for Antican Magister ----------------------------------- local ID = require("scripts/zones/Quicksand_Caves/IDs") require("scripts/globals/regimes") require("scripts/globals/mobs") ----------------------------------- func...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/spells/bluemagic/power_attack.lua
33
1732
----------------------------------------- -- Spell: Power Attack -- Deals critical damage. Chance of critical hit varies with TP -- Spell cost: 5 MP -- Monster Type: Vermin -- Spell Type: Physical (Blunt) -- Blue Magic Points: 1 -- Stat Bonus: MND+1 -- Level: 4 -- Casting Time: 0.5 seconds -- Recast Time: 7.25 seconds ...
gpl-3.0
jmachuca77/ardupilot
libraries/AP_Scripting/examples/plane_ship_landing.lua
15
13152
-- support takeoff and landing on moving platforms for VTOL planes local PARAM_TABLE_KEY = 7 local PARAM_TABLE_PREFIX = "SHIP_" local MODE_MANUAL = 0 local MODE_RTL = 11 local MODE_QRTL = 21 local MODE_AUTO = 10 local MODE_QLOITER = 19 local NAV_TAKEOFF = 22 local NAV_VTOL_TAKEOFF = 84 local ALT_FRAME_ABSOLUTE = 0 ...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/East_Ronfaure_[S]/IDs.lua
9
1634
----------------------------------- -- Area: East_Ronfaure_[S] ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.EAST_RONFAURE_S] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come...
gpl-3.0
Giorox/AngelionOT-Repo
data/talkactions/scripts/teleportsend.lua
4
1992
function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command requires param.") return true end local t = string.explode(param, ";") if(not t[2]) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "No destination specified.") ...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/FeiYin/npcs/Underground_Pool.lua
13
2447
----------------------------------- -- Area: FeiYin -- NPC: Underground Pool -- Involved In Quest: Scattered into Shadow -- @pos 7 0 32 204 (H-8) -- @pos 7 0 247 204 (H-5) -- @pos -168 0 247 204 (F-5) ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; ----------------------------...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/RuLude_Gardens/npcs/Maat.lua
9
10206
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Maat -- Starts and Finishes Quest: Limit Break Quest 1-5 -- Involved in Quests: Beat Around the Bushin -- !pos 8 3 118 243 ----------------------------------- local ID = require("scripts/zones/RuLude_Gardens/IDs") require("scripts/globals/keyitems") ...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Bhaflau_Thickets/npcs/_1g2.lua
27
3573
----------------------------------- -- Area: Bhaflau Thickets -- Door: Runic Seal -- @pos -180 -6.8 -833 52 ----------------------------------- package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); ...
gpl-3.0
tcatm/luci
applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-cdr.lua
68
1665
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. cbimap = Map("asterisk", "asterisk", "") module = cbimap:section(TypedSection, "module", "Modules", "") module.anonymous = true cdr_csv = module:option(ListV...
apache-2.0
DarkstarProject/darkstar
scripts/globals/weaponskills/upheaval.lua
10
1590
----------------------------------- -- Upheaval -- Great Axe weapon skill -- Skill Level: 357 -- Delivers a four-hit attack. Damage varies with TP. -- In order to obtain Upheaval, the quest Martial Mastery must be completed. -- Aligned with Flame Gorget, Light Gorget & Shadow Gorget. -- Aligned with Flame Belt, Light B...
gpl-3.0
br101/packages
net/wifidog-ng/files/wifidog-ng/ubus.lua
22
3928
--[[ Copyright (C) 2018 Jianhui Zhao <jianhuizhao329@gmail.com> This program 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 2.1 of the License, or (at your option) any later vers...
gpl-2.0
tcatm/luci
applications/luci-app-firewall/luasrc/model/cbi/firewall/zone-details.lua
19
6061
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2010-2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local nw = require "luci.model.network" local fw = require "luci.model.firewall" local ds = require "luci.dispatcher" local ut = require "luci.util" loca...
apache-2.0
DarkstarProject/darkstar
scripts/zones/Caedarva_Mire/Zone.lua
9
2059
----------------------------------- -- -- Zone: Caedarva_Mire (79) -- ----------------------------------- local ID = require("scripts/zones/Caedarva_Mire/IDs") require("scripts/globals/missions") require("scripts/globals/titles") require("scripts/globals/helm") require("scripts/globals/zone") --------------------------...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/AlTaieu/npcs/_0x3.lua
9
1711
----------------------------------- -- Area: Al'Taieu -- NPC: Rubious Crystal (East Tower) -- !pos 683.718 -6.250 -222.167 33 ----------------------------------- local ID = require("scripts/zones/AlTaieu/IDs"); require("scripts/globals/missions"); ----------------------------------- function onTrade(player,npc,trade)...
gpl-3.0
vsergeyev/sol
Sol/mtouch.lua
1
7203
----------------------------------------------------------------------------------------- -- -- mtouch.lua -- http://dantes-andreea.blogspot.com/2011/07/corona-lua-multi-touch-pinch-zoom.html -- ----------------------------------------------------------------------------------------- module(..., package.seeall) -- act...
mit
blackops97/boty.lua
bot/utils.lua
27
31597
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = (loadfile "./libs/serpent.lua")() feedparser = (loadfile "./libs/feedparser.lua")() json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.l...
gpl-2.0
eugeneia/snabbswitch
lib/ljsyscall/syscall/helpers.lua
24
11381
-- misc helper functions that we use across the board local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string, math = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string, m...
apache-2.0
Giorox/AngelionOT-Repo
data/movements/scripts/tomb.lua
1
1517
local config = { [6003] = {{x=33073, y=32589, z=13}, {x=33080,y=32588,z=13}}, [60064] = {x=33072,y=32589,z=13}, [60065] = {{x=33098,y=32816,z=13}, {x=33093,y=32824,z=13}}, [60066] = {x=33097,y=32815,z=13}, [60067] = {{x=33135,y=32682,z=12}, {x=33130,y=32683,z=12}}, [60068] = {x=33136,y=32683,z=12}, [60069] = {{x...
gpl-3.0
ScottPhillips/CoronaSDK-Resize-Crop-Save-Image
main.lua
1
1634
display.setStatusBar( display.HiddenStatusBar ) local widget = require ("widget") local cropper = require("cropper") --Function declarartions local pictureButtonPress local onPicSelcted local thumbnailDone local clearDisplayGroup local makeCrop -- Variables local fileToSave = "croppedImage.jpg" local myDisplayGroup =...
gpl-2.0
DarkstarProject/darkstar
scripts/zones/QuBia_Arena/bcnms/idol_thoughts.lua
9
1061
----------------------------------- -- Idol Thoughts -- Qu'Bia Arena BCNM50, Comet Orb -- !additem 1177 ----------------------------------- require("scripts/globals/battlefield") ----------------------------------- function onBattlefieldInitialise(battlefield) battlefield:setLocalVar("loot", 1) end function onBat...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Palborough_Mines/npcs/Mining_Point.lua
13
1069
----------------------------------- -- Area: Palborough Mines -- NPC: Mining Point ----------------------------------- package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil; ------------------------------------- require("scripts/globals/mining"); require("scripts/zones/Palborough_Mines/TextIDs"); --------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Tahrongi_Canyon/npcs/Tahrongi_Cacti.lua
27
1753
----------------------------------- -- Area: Tahrongi Canyon -- NPC: Tahrongi Cacti -- Involved in Quest: Say It with Flowers -- -- @pos -308.721 7.477 264.454 ----------------------------------- package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil; ----------------------------------- require("scripts/global...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Upper_Jeuno/npcs/Coumuna.lua
12
1176
----------------------------------- -- Area: Upper Jeuno -- NPC: Coumuna -- Standard Merchant NPC ----------------------------------- local ID = require("scripts/zones/Upper_Jeuno/IDs") require("scripts/globals/shop") function onTrade(player,npc,trade) end function onTrigger(player,npc) local stock = { ...
gpl-3.0
gamenew09/GMod-Jailbreak
gamemode/shared.lua
1
1838
GM.Name = "JailBreak" GM.Author = "Gamenew09" GM.Email = "gamenew09@gmail.com" GM.Website = "http://gamenew09.com" DeriveGamemode( "base" ) -- Shared Includes -- AddCSLuaFile("config.lua") AddCSLuaFile("cl_hud.lua") AddCSLuaFile("sh_player.lua") AddCSLuaFile() if CLIENT then include("sh_player.lua") include("cl_hu...
gpl-2.0
Fenix-XI/Fenix
scripts/zones/Bastok_Mines/npcs/Faustin.lua
12
1546
----------------------------------- -- Area: Bastok_Mines -- NPC: Faustin -- Only sells when Bastok controlls Ronfaure Region ----------------------------------- require("scripts/globals/events/harvest_festivals"); require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Bast...
gpl-3.0
EdJoPaTo/LinuxScripts
configs/neovim/init.lua
1
1555
require("packer-config") require("treesitter-config") require("lsp-config") vim.env.FZF_DEFAULT_COMMAND="rg --files" vim.opt.mouse = "a" vim.opt.ignorecase = true vim.opt.smartcase = true vim.opt.relativenumber = true vim.opt.wildmenu = true -- fzf to switch files quickly vim.keymap.set('n', '_', '<Cmd>Buffers<CR>')...
mit
Giorox/AngelionOT-Repo
data/actions/scripts/crate.lua
1
1464
local t = { -- from, to, itemid[, count] {1, 36}, {37, 46, 2148, 80}, {47, 55, 2148, 50}, {56, 64, 2671, 5}, {65, 73, 2789, 5}, {74, 81, 7620}, {82, 87, 7618}, {88, 92, 9811}, {93, 96, 9808}, {97, 100, 2213} } function doCreatureSayWithRadius(cid, text, type, radiusx, radiusy, position) for i, ...
gpl-3.0
blackops97/boty.lua
plugins/reply.lua
1
5189
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY SAJJAD NOORI ▀▄ ▄▀ ▀▄ ▄▀ BY SAJAD NOORI (@SAJJADNOORI) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY SAJJAD NOORI ▀▄ ▄▀ ▀▄ ▄▀ RE BOT : كلام البوت ▀▄ ▄▀ ▀▄...
gpl-2.0
tcatm/luci
modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/leds.lua
52
3065
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. m = Map("system", translate("<abbr title=\"Light Emitting Diode\">LED</abbr> Configuration"), translate("Customizes the behaviour of the device <abbr title=\"Light Emitting Diode\">LED</abbr>s if possible.")) l...
apache-2.0
8devices/carambola2-luci
modules/admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua
57
3205
--[[ LuCI - Lua Configuration Interface Copyright 2010 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 $Id$ ]]-- lo...
apache-2.0
kirbyfan64/rejit
dynasm/dasm_ppc.lua
61
37064
------------------------------------------------------------------------------ -- DynASM PPC module. -- -- Copyright (C) 2005-2014 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ -- Module information: local _in...
mpl-2.0
Fenix-XI/Fenix
scripts/zones/Temenos/mobs/Beli.lua
7
1181
----------------------------------- -- Area: Temenos N T -- NPC: Beli ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ----------------------------------- -- ...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Bastok_Markets/npcs/Belizieg.lua
13
1142
----------------------------------- -- Area: Bastok Markets -- NPC: Belizieg -- Type: Item Deliverer -- @zone: 235 -- @pos -323.673 -16.001 -49.930 -- -- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011 ----------------------------------- package.loaded["scripts/zones/Bastok_Mar...
gpl-3.0
tcatm/luci
protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_dhcpv6.lua
60
1569
-- Copyright 2013 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local o = section:taboption("general", ListValue, "reqaddress", translate("Request IPv6-address")) o:value("try") o:value("force") o:value("none", "disabled") o.default = "try" ...
apache-2.0