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
telegrambot81/farsi
plugins/social.lua
2
2028
do function run(msg, matches) local text = [[ 👤 Social Commands : !git (یوزرنیم) دریافت اطلاعات یک یوزرنیم در گیت هاب !google سرچ کردن در گوگل !aparat متن سرچ کردن یک متن در آپارات !azan (شهر) دریافت وقت اذان یک شهر !gif متن سرچ کردن یک متن و دریافت به صورت گیف !gps (شهر) (کشور) دریافت مکان مورد ن...
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Windurst_Waters/npcs/Fuepepe.lua
19
3656
----------------------------------- -- Area: Windurst Waters -- NPC: Fuepepe -- Starts and Finishes Quest: Teacher's Pet -- Involved in Quest: Making the grade, Class Reunion -- @zone = 238 -- @pos = 161 -2 161 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;...
gpl-3.0
FluffyGods/IBG-Afghan-War-TDM-Content
IBG Afghan War TDM Content/lua/autorun/wac-community-6.lua
1
1061
if SERVER then AddCSLuaFile() end local found=false local f=file.Find('wac/*.lua', "LUA") for k,v in pairs(f) do if v=="aircraft.lua" then include('wac/aircraft.lua') found=true end end timer.Simple(5,function() if not found and not WACFrame then if CLIENT then WACFrame=vgui.Create('DFrame')...
apache-2.0
The-HalcyonDays/darkstar
scripts/globals/effects/warcry.lua
35
1071
----------------------------------- -- -- EFFECT_WARCRY -- -- Notes: -- Savagery TP bonus not cut in half like ffxclopedia says. -- ffxiclopedia is wrong, bg wiki right. See link where testing was done. -- http://www.bluegartr.com/threads/108199-Random-Facts-Thread-Other?p=5367464&viewfull=1#post5367464 ------...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Riverne-Site_B01/npcs/qm1.lua
8
1269
----------------------------------- -- Area: Riverne Site #B01 -- NPC: Unstable Displacement ----------------------------------- package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Riverne-Site_B01/Text...
gpl-3.0
otservme/global1053
data/spells/scripts/attack/curse.lua
27
1206
local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_SMALLCLOUDS) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_DEATH) local condition = createConditionObject(CONDITION_CURSED) setConditionParam(condition,...
gpl-2.0
coltonj96/UsefulCombinators
UsefulCombinators_0.3.7/migrations/UsefulCombinators_0.2.9.lua
14
1409
game.reload_script() for index, force in pairs(game.forces) do force.reset_technologies() if force.technologies["useful-combinators"].researched then force.recipes["random-combinator"].enabled = true if force.recipes["comparator-combinator"] then force.recipes["comparator-combinator"].enabled ...
mit
kesor/wow-binder
DemonHunter.lua
1
3501
local _, Binder = ... local m1 = Binder.m1 -- Modifier.lua local m2 = Binder.m2 -- Modifier.lua Binder.demonhunter = {} Binder.demonhunter["macros"] = { -- ["Death Pact"] = "#showtooltip Death Pact\n/cast [nopet] Raise Dead\n/cast [pet, @pet] Death Pact", -- ["Gnaw"] = "#showtooltip Gnaw\n/cast L...
bsd-3-clause
The-HalcyonDays/darkstar
scripts/zones/Toraimarai_Canal/npcs/qm9.lua
23
1404
----------------------------------- -- Area: Toraimarai Canal -- NPC: ??? -- Involved In Quest: Wild Card -- @zone 169 // not accurate -- @pos 220 16 -50 // not accurate ----------------------------------- package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil; ----------------------------------- require("scr...
gpl-3.0
Suprcheese/Orbital-Ion-Cannon
control.lua
1
23114
require "util" -- require("__stdlib__/stdlib/core") local Chunk = require("__stdlib__/stdlib/area/chunk") local Position = require("__stdlib__/stdlib/area/position") require "autotargeter" script.on_init(function() On_Init() end) script.on_configuration_changed(function() On_Init() end) script.on_load(function...
mit
The-HalcyonDays/darkstar
scripts/zones/Southern_San_dOria/npcs/Pourette.lua
30
2210
----------------------------------- -- Area: Southern San d'Oria -- NPC: Pourette -- Only sells when San d'Oria controlls Derfland Region ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/glo...
gpl-3.0
coltonj96/UsefulCombinators
UsefulCombinators_0.3.7/prototypes/recipe/recipes.lua
1
4728
data:extend({ { type = "recipe", name = "timer-combinator", enabled = "false", ingredients = { {"arithmetic-combinator", 1}, {"constant-combinator", 1} }, result = "timer-combinator" }, { type = "recipe", name = "counting-combinator", enabled = "f...
mit
The-HalcyonDays/darkstar
scripts/zones/Lower_Jeuno/npcs/Yin_Pocanakhu.lua
19
1368
----------------------------------- -- Area: Lower Jeuno -- NPC: Yin Pocanakhu -- Involved in Quest: Borghertz's Hands (1st quest only) -- @zone 245 -- @pos 35 4 -43 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Outer_Horutoto_Ruins/npcs/_5ee.lua
19
3311
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Ancient Magical Gizmo #1 (E out of E, F, G, H, I, J) -- Involved In Mission: The Heart of the Matter ----------------------------------- package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil; ---------------------------------...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Bastok_Markets/npcs/Malene.lua
29
2371
----------------------------------- -- Area: Bastok Markets -- NPC: Malene -- Type: Quest NPC -- @zone: 235 -- @pos -173 -4 64 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/globals/titles"); requ...
gpl-3.0
otservme/global1053
data/actions/scripts/tools/rustremover.lua
2
1989
local ITEMS = { [9808] = { -- Rusty Armor (common), 6958 unrusts {"plate armor", 1.97}, {"brass armor", 13.05}, {"scale armor", 24.5}, {"chain armor", 30.14} }, [9809] = { -- Rusty Armor (semi-rare), 1027 unrusts {"crown armor", 0.49}, {"paladin armor", 2.34}...
gpl-2.0
The-HalcyonDays/darkstar
scripts/commands/godmode.lua
26
2907
--------------------------------------------------------------------------------------------------- -- func: godmode -- desc: Toggles god mode on the player; granting them several special abilities. --------------------------------------------------------------------------------------------------- cmdprops = { ...
gpl-3.0
KlonD90/tarantool
test/wal_off/lua.test.lua
8
1555
space = box.schema.space.create('tweedledum') index1 = space:create_index('primary', { type ='hash', parts = {1, 'str'}, unique = true }) index2 = space:create_index('secondary', { type = 'tree', parts = {2, 'num'}, unique = false }) -- A test case for Bug#1042738 -- https://bugs.launchpad.net/tarantool/+bug/1042738 --...
bsd-2-clause
The-HalcyonDays/darkstar
scripts/zones/Gusgen_Mines/npcs/Mining_Point.lua
29
1093
----------------------------------- -- Area: Gusgen Mines -- NPC: Mining Point ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ------------------------------------- require("scripts/globals/mining"); require("scripts/zones/Gusgen_Mines/TextIDs"); ----------...
gpl-3.0
rrpgfirecast/firecast
Plugins/Sheets/Ficha Infinite RPG/output/rdkObjs/InfiniteRPG/Credits.lfm.lua
1
31929
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmTemplateCreditos() local obj = GUI.fromHandle(_obj_new...
apache-2.0
The-HalcyonDays/darkstar
scripts/globals/items/melon_pie_+1.lua
35
1368
----------------------------------------- -- ID: 4523 -- Item: melon_pie_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Magic 30 -- Intelligence 5 -- Magic Regen While Healing 2 ----------------------------------------- require("scripts/globals/status"); -----------------...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Metalworks/npcs/Mythily.lua
17
2002
----------------------------------- -- Area: Metalworks -- NPC: Mythily -- Type: Immigration NPC -- @pos 94 -20 -8 237 ----------------------------------- require("scripts/globals/conquest"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(play...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Al_Zahbi/npcs/Gidappa.lua
53
2317
----------------------------------- -- Area: Al Zahbi -- NPC: Gidappa -- Type: Clothcraft Normal/Adv. Image Support -- @pos 70.228 -7 -54.089 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("s...
gpl-3.0
shahabsaf1/beni-dalton
plugins/webshot.lua
919
1473
local helpers = require "OAuth.helpers" local base = 'https://screenshotmachine.com/' local url = base .. 'processor.php' local function get_webshot_url(param) local response_body = {} local request_constructor = { url = url, method = "GET", sink = ltn12.sink.table(response_body), header...
gpl-2.0
TeleAweSome/awesome
plugins/webshot.lua
919
1473
local helpers = require "OAuth.helpers" local base = 'https://screenshotmachine.com/' local url = base .. 'processor.php' local function get_webshot_url(param) local response_body = {} local request_constructor = { url = url, method = "GET", sink = ltn12.sink.table(response_body), header...
gpl-2.0
rrpgfirecast/firecast
Plugins/Sheets/BibliotecaRPGmeister/output/rdkObjs/BibliotecaRPGmeister/01.Introducao.lfm.lua
1
11299
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmBibliotecaRPGmeister01() local obj = GUI.fromHandle(_o...
apache-2.0
JohnTM/Craft-Examples
Block Library.codea/Chest.lua
2
1315
-- A storage block function chest(capacity) local chest = scene.voxels.blocks:new("Chest") chest.dynamic = true chest.geometry = TRANSPARENT function chest:created() e = self.entity self.base = scene:entity() self.base.parent = e self.base.position = vec3(0.5, 0.3, 0...
apache-2.0
The-HalcyonDays/darkstar
scripts/zones/Horlais_Peak/npcs/Hot_springs.lua
17
1948
----------------------------------- -- Area: Northern San d'Oria -- NPC: Hot Springs -- @Zone: 139 -- @pos 444 -37 -18 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globa...
gpl-3.0
nathwill/data-pipeline
heka/sandbox/filters/firefox_aggregator.lua
5
6329
-- 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/. --[[ Collects the cbufd, txt, and json output from multiple instances of an upstream Firefox sandbox filter (the filt...
mpl-2.0
The-HalcyonDays/darkstar
scripts/globals/items/rolanberry_(864_ce).lua
35
1205
----------------------------------------- -- ID: 4531 -- Item: rolanberry_864_ce) -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -3 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- ...
gpl-3.0
amir1213/teletamir
plugins/rae.lua
616
1312
do function getDulcinea( text ) -- Powered by https://github.com/javierhonduco/dulcinea local api = "http://dulcinea.herokuapp.com/api/?query=" local query_url = api..text local b, code = http.request(query_url) if code ~= 200 then return "Error: HTTP Connection" end dulcinea = json:decode(b) ...
gpl-2.0
The-HalcyonDays/darkstar
scripts/globals/items/moon_ball.lua
35
1183
----------------------------------------- -- ID: 4568 -- Item: moon_ball -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 3 -- Magic 3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Port_Bastok/npcs/Rosswald.lua
36
1683
----------------------------------- -- Area: Port Bastok -- NPC: Rosswald -- Only sells when Bastok controlls Zulkheim Region -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Port_Bastok...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Eastern_Altepa_Desert/npcs/Daborn_IM.lua
30
3062
----------------------------------- -- Area: Eastern Altepa Desert -- NPC: Daborn, I.M. -- Border Conquest Guards -- @pos 226.493 -12.231 260.194 114 ----------------------------------- package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/globals/co...
gpl-3.0
0dayZh/LoveClear
Resources/Script/Config/DebugConfig.lua
3
1128
--[[ Copyright (c) 2013 crosslife <hustgeziyang@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge...
mit
Feudalciv/Feudalciv
dependencies/tolua-5.2/src/bin/lua/declaration.lua
13
12335
-- tolua: declaration class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: declaration.lua,v 1.5 2011/01/13 13:43:46 fabraham Exp $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligatio...
gpl-2.0
rrpgfirecast/firecast
Plugins/Sheets/Ficha RPG meister/output/rdkObjs/FichaRPGmeister/03.Pericias.lfm.lua
1
40063
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmFichaRPGmeister3_svg() local obj = GUI.fromHandle(_obj...
apache-2.0
brianhang/nutscript2
gamemode/libraries/sh_currency.lua
1
2658
--[[ File: libraries/sh_currency.lua Purpose: Creates a system for storing information about the gamemode's main currency. --]] -- The money entity to use. nut.currency = {} nut.currency.plural = "dollars" nut.currency.singular = "dollar" nut.currency.symbol = "$" nut.currency.entity = "nut_money" -- Set...
mit
otservme/global1053
data/npc/scripts/Tibra.lua
1
8809
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type...
gpl-2.0
rgieseke/scintillua
lexers/nsis.lua
1
6905
-- Copyright 2006-2018 Robert Gieseke. See LICENSE. -- NSIS LPeg lexer -- Based on NSIS 2.46 docs: http://nsis.sourceforge.net/Docs/. local lexer = require('lexer') local token, word_match = lexer.token, lexer.word_match local P, R, S = lpeg.P, lpeg.R, lpeg.S local lex = lexer.new('nsis') -- Whitespace. lex:add_rule...
mit
otservme/global1053
data/actions/scripts/gray island/tanjis.lua
2
1452
function onUse(cid, item, fromPosition, itemEx, toPosition) local config = { storage = 933877, -- boss storage exaust = 933777, -- exaust storage hours = 10 } if getPlayerStorageValue(cid, config.storage) < 1 then return doPlayerSendCancel(cid, "You have to kill the boss before.") end if getPlayerStorage...
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Windurst_Walls/npcs/Juvillie.lua
38
1041
----------------------------------- -- Area: Windurst Walls -- NPC: Juvillie -- Type: Event Replayer -- @zone: 239 -- @pos -180.731 -3.451 143.138 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; --------...
gpl-3.0
coltonj96/UsefulCombinators
UsefulCombinators_0.1.4/prototypes/entity/entities.lua
4
58034
data:extend({ { type = "constant-combinator", name = "timer-combinator", icon = "__UsefulCombinators__/graphics/icons/timer-combinator.png", flags = {"placeable-neutral", "player-creation"}, minable = {hardness = 0.2, mining_time = 0.5, result = "timer-combinator"}, max_health = 50, ...
mit
The-HalcyonDays/darkstar
scripts/zones/Valkurm_Dunes/Zone.lua
6
4998
----------------------------------- -- -- Zone: Valkurm_Dunes (103) -- ----------------------------------- package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/Valkurm_Dunes/TextIDs"); ...
gpl-3.0
otservme/global1053
data/npc/scripts/Rottin Wood.lua
2
8930
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcH...
gpl-2.0
rrpgfirecast/firecast
Plugins/Sheets/Ficha RPG meister/output/rdkObjs/FichaRPGmeister/08.Companheiro.lfm.lua
1
64203
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmFichaRPGmeister8_svg() local obj = GUI.fromHandle(_obj...
apache-2.0
rrpgfirecast/firecast
Plugins/Sheets/Ficha T20/output/rdkObjs/Ficha T20/Main.lfm.lua
1
250085
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmT20() local obj = GUI.fromHandle(_obj_newObject("form"...
apache-2.0
hxw804781317/MT7620N
package/ralink/ui/luci-mtk/src/modules/admin-full/luasrc/model/cbi/admin_system/leds.lua
83
3272
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- m = ...
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Marjami_Ravine/npcs/HomePoint#1.lua
12
1195
----------------------------------- -- Area: Marjami Ravine -- NPC: HomePoint#1 -- @pos -23 0 174 50 ----------------------------------- package.loaded["scripts/zones/Marjami_Ravine/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Marjami_Ravine/TextIDs"); require("scripts/globals/homepo...
gpl-3.0
otservme/global1053
data/creaturescripts/scripts/gnomebase/warzone2.lua
1
1476
function onKill(cid, target) if(string.lower(getCreatureName(target)) == "parasite" and getGlobalStorageValue(3149) < 1) then pos = { {x = 33097, y = 31976, z = 11}, {x = 33097, y = 31977, z = 11}, {x = 33097, y = 31978, z = 11}, {x = 33097, y = 31979, z = 11} } barrier = false for i = 1, 4 do i...
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Saluhwa.lua
34
1475
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Saluhwa -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/zones/Aht_Urh...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Windurst_Woods/npcs/Hae_Jakkya.lua
19
1330
----------------------------------- -- Area: Windurst Woods -- NPC: Hae Jakkya -- Working 100% ----------------------------------- require("scripts/globals/settings"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; --...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Castle_Oztroja/mobs/Tzee_Xicu_the_Manifest.lua
27
1224
----------------------------------- -- Area: Castle Oztroja -- NPC: Tzee Xicu the Manifest ----------------------------------- require("scripts/globals/titles"); require("scripts/zones/Castle_Oztroja/TextIDs"); ----------------------------------- -- onMobSpawn Action ----------------------------------- ...
gpl-3.0
amir1213/teletamir
plugins/minecraft.lua
624
2605
local usage = { "!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565", "!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.", } local ltn12 = require "ltn12" local function mineSearch(ip, port, receiver) --25565 local responseText = "" l...
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Spire_of_Mea/npcs/Radiant_Aureole.lua
17
1077
----------------------------------- -- Area: Spire of Mea -- NPC: Radiant Aureole ----------------------------------- package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Spire_of_Mea/TextIDs"); ----------------------------------- -- onTrade...
gpl-3.0
codneutro/L2D
sys/lua/L2D/misc/utils.lua
1
5100
--- -- Misc functions -- @author: x[N]ir -- @release: 04/04/16 --- Maps names maps = {}; --- -- Displays the specified message in game -- -- @tparam string message a message to display -- function messageDebug(message) if (DEBUG_MODE) then msg(string.char(169).."255255255[DEBUG]: "..message); end end --- -- Pri...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Kazham/npcs/Kukupp.lua
19
3171
----------------------------------- -- Area: Kazham -- NPC: Kukupp -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); local path = { 43.067505, -11.000000, -177.214966, 43.583324, -11.000000, -178.104263, ...
gpl-3.0
rrpgfirecast/firecast
Plugins/Sheets/Ficha Exalted 3rd/output/rdkObjs/Ficha Exalted 3rd/Description.lfm.lua
3
17407
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmTemplateDescription() local obj = GUI.fromHandle(_obj_...
apache-2.0
ThatOdieGuy/vlc
share/lua/playlist/metachannels.lua
92
2096
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Rémi Duraffort <ivoire at videolan dot org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at y...
gpl-2.0
nathwill/data-pipeline
heka/sandbox/filters/firefox_active_instances.lua
5
3675
-- 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/. --[[ Firefox Active Instances *Example Heka Configuration* .. code-block:: ini [FirefoxActiveInstances] ty...
mpl-2.0
rrpgfirecast/firecast
Plugins/Sheets/Ficha RPG meister/output/rdkObjs/FichaRPGmeister/10.Anotacoes.lfm.lua
1
21861
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmFichaRPGmeister10_svg() local obj = GUI.fromHandle(_ob...
apache-2.0
The-HalcyonDays/darkstar
scripts/globals/spells/sword_madrigal.lua
13
1535
----------------------------------------- -- Spell: Sword Madrigal -- Gives party members accuracy ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Spire_of_Mea/npcs/_0l1.lua
36
1313
----------------------------------- -- Area: Spire_of_Mea -- NPC: web of regret ----------------------------------- package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/zones/Spire_of_Mea/TextIDs"); ---------------...
gpl-3.0
KlonD90/tarantool
src/lua/help.lua
8
2433
local doc = require('help.en_US') help = {} help[1] = {} help[1]["Help topics"] = { "Basics", "Administration" } help[2] = "To get help on a topic, type help('topic') (with quotes)" help[3] = "To get help on a function/object, type help(function) (without quotes)" help[4] = "To start tutorial, type tutorial()" tutori...
bsd-2-clause
rrpgfirecast/firecast
Plugins/Sheets/Ficha Tormenta 20/output/rdkObjs/Ficha Tormenta 20/DetailList.lfm.lua
3
5630
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmDetailList() local obj = GUI.fromHandle(_obj_newObject...
apache-2.0
The-HalcyonDays/darkstar
scripts/zones/Davoi/npcs/Zantaviat.lua
19
2238
----------------------------------- -- Area: Davoi -- NPC: Zantaviat -- Involved in Mission: The Davoi Report -- @pos 215 0.1 -10 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/globa...
gpl-3.0
hxw804781317/MT7620N
package/ralink/ui/luci-mtk/src/protocols/ipv6/luasrc/model/network/proto_4x6.lua
63
1522
--[[ LuCI - Network model - 6to4, 6in4 & 6rd protocol extensions Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> Copyright 2013 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 ...
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Port_Windurst/npcs/Drozga.lua
51
1440
----------------------------------- -- Area: Port Windurst -- NPC: Drozga -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/zones/Port_Windurst/TextIDs"); ----...
gpl-3.0
The-HalcyonDays/darkstar
scripts/globals/items/loach_gruel.lua
35
1674
----------------------------------------- -- ID: 5670 -- Item: loach_soup -- Food Effect: 4Hour,Group Food, All Races ----------------------------------------- -- Dexterity 2 -- Agility 2 -- Accuracy % 7 -- Accuracy Cap 30 -- HP % 7 -- HP Cap 30 -- Evasion 4 -- (Did Not Add Group Food Effect) -------------...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Sauromugue_Champaign/npcs/qm7.lua
8
2296
----------------------------------- -- Area: Sauromugue Champaign -- NPC: qm7 (???) (Tower 7) -- Involved in Quest: THF AF "As Thick As Thieves" -- @pos -193.869 15.400 276.837 120 ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil; ------------------------------...
gpl-3.0
vasilenkomike/tarantool
test/app/cfg.test.lua
4
5414
#!/usr/bin/env tarantool local tap = require('tap') local test = tap.test('cfg') local socket = require('socket') local fio = require('fio') test:plan(33) -------------------------------------------------------------------------------- -- Invalid values ----------------------------------------------------------------...
bsd-2-clause
google/filament
third_party/spirv-tools/external/spirv-headers/include/spirv/1.1/spirv.lua
59
26704
-- Copyright (c) 2014-2018 The Khronos Group Inc. -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and/or associated documentation files (the "Materials"), -- to deal in the Materials without restriction, including without limitation -- the rights to use, copy, mod...
apache-2.0
rrpgfirecast/firecast
Plugins/Sheets/Ficha Pathfinder 2e/output/rdkObjs/FichaPathfinder2e/04.Habilidades.lfm.lua
3
13319
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmFichaRPGmeister4_svg() local obj = GUI.fromHandle(_obj...
apache-2.0
rrpgfirecast/firecast
Plugins/Sheets/Konoha Heroes/output/rdkObjs/Ficha LH/LH.3.2.lfm.lua
1
3466
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmLH3_2() local obj = GUI.fromHandle(_obj_newO...
apache-2.0
sinavafa/xzy
plugins/info.lua
9
8956
do local Arian = 122662162 --put your id here(BOT OWNER ID) local function setrank(msg, name, value) -- setrank function local hash = nil if msg.to.type == 'chat' then hash = 'rank:'..msg.to.id..':variables' end if hash then redis:hset(hash, name, value) return send_msg('chat#id'..msg.to.id, 'مقام کار...
gpl-2.0
hxw804781317/MT7620N
package/ralink/ui/luci-mtk/src/modules/base/luasrc/ltn12.lua
83
11303
--[[ LuaSocket 2.0.2 license Copyright � 2004-2007 Diego Nehab Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, me...
gpl-2.0
rrpgfirecast/firecast
Plugins/Template/output/rdkObjs/ProjectName/ImportExport.lfm.lua
2
4219
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmImportExport() local obj = GUI.fromHandle(_obj_newObje...
apache-2.0
telldus/tellstick-lua-examples
sensors/FoogadgetsWPC3.lua
1
1084
-------------------------------------------------------------------------------- -- This script will set the watt value for your Foogadgets WPC3 sensor. This -- is helpful if you have connected WPC3 to your power meters impulsing LED. -- -- You can buy your own Wireless Pulse Counter 3 here: -- http://foogadgets.tictai...
mit
rrpgfirecast/firecast
Plugins/Sheets/Ficha Warhammer Fantasy/output/rdkObjs/WarhammerFantasy/Pericia.lfm.lua
1
6824
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmPericia() local obj = GUI.fromHandle(_obj_newObject("f...
apache-2.0
helal00/nginx-auth-custom
access.lua
1
22324
-- Copyright (C) 2015 Helal Uddin <helal00 at gmail.com> -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- -- Thi...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Cape_Teriggan/npcs/Cermet_Headstone.lua
8
3786
----------------------------------- -- Area: Cape Teriggan -- NPC: Cermet Headstone -- Involved in Mission: ZM5 Headstone Pilgrimage (Wind Headstone) -- @pos -107 -8 450 113 ----------------------------------- package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil; ----------------------------------- re...
gpl-3.0
otservme/global1053
data/npc/scripts/A Majestic Warwolf.lua
2
1845
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHa...
gpl-2.0
hxw804781317/MT7620N
package/ralink/ui/luci-mtk/src/applications/luci-radvd/luasrc/model/cbi/radvd/interface.lua
78
7996
--[[ 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...
gpl-2.0
coltonj96/UsefulCombinators
UsefulCombinators_0.4.2/migrations/UsefulCombinators_0.2.1.lua
24
1179
game.reload_script() for index, force in pairs(game.forces) do force.reset_technologies() if force.technologies["useful-combinators"].researched then force.recipes["random-combinator"].enabled = true force.recipes["comparator-combinator"].enabled = true force.recipes["converter-combinator"].enab...
mit
The-HalcyonDays/darkstar
scripts/globals/items/crescent_fish.lua
17
1332
----------------------------------------- -- ID: 4473 -- Item: crescent_fish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Inner_Horutoto_Ruins/npcs/_5cb.lua
6
1300
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: _5cb (Gate of Darkness) -- @pos -228 0 99 192 ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Inner_Horutoto_Ruins/TextI...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Qufim_Island/npcs/Numumu_WW.lua
30
3050
----------------------------------- -- Area: Qufim Island -- NPC: Numumu, W.W. -- Type: Border Conquest Guards -- @pos 179.093 -21.575 -15.282 126 ----------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); re...
gpl-3.0
sobhanss/tele
bot/seedbot.lua
1
10280
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
telldus/tellstick-lua-examples
zwave/Fibaro/Swipe.lua
1
1699
-- Define the names on your devices here: local remotecontrol = "Swipe" local device1 = "Swipe up/down" local device2 = "Swipe left/right" -- DO NOT EDIT BELOW THIS LINE -- COMMAND_CLASS_CENTRAL_SCENE = 0x5B CENTRAL_SCENE_NOTIFICATION = 0x03 local deviceManager = require "telldus.DeviceManager" function scene1(acti...
mit
The-HalcyonDays/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Areuhat1.lua
36
1069
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Areuhat -- @zone 80 -- @pos 21 0 22 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); ----------------------------------...
gpl-3.0
rgieseke/scintillua
lexers/ledger.lua
1
1622
-- Copyright 2015-2018 Charles Lehner. See LICENSE. -- ledger journal LPeg lexer, see http://www.ledger-cli.org/ local lexer = require('lexer') local token, word_match = lexer.token, lexer.word_match local P, R, S = lpeg.P, lpeg.R, lpeg.S local lex = lexer.new('ledger', {lex_by_line = true}) local delim = P('\t') + ...
mit
The-HalcyonDays/darkstar
scripts/zones/Northern_San_dOria/npcs/Heruze-Moruze.lua
23
1776
----------------------------------- -- Area: Northern San d'Oria -- NPC: Heruze-Moruze -- Involved in Mission: 2-3 Windurst -- @pos -56 -3 36 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Port_Bastok/npcs/Romilda.lua
36
2365
----------------------------------- -- Area: Port Bastok -- NPC: Romilda -- Involved in Quest: Forever to Hold -- Starts & Ends Quest: Till Death Do Us Part ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globa...
gpl-3.0
otservme/global1053
data/npc/scripts/Alternative Rock.lua
2
2211
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg...
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Apollyon/mobs/Earth_Elemental.lua
119
2423
----------------------------------- -- Area: Apollyon SW -- NPC: elemental ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); --------------------------...
gpl-3.0
rrpgfirecast/firecast
Plugins/Sheets/Ficha 7º Mar/sdk/rrpgLFM.lua
99
5179
require("rrpgUtil.lua"); require("rrpgGUI.lua"); local serpent = nil; local lfmObjectsStrongRef = {}; function lfm_getObject(ctrlOrHandle) if ctrlOrHandle == nil then return nil; elseif isNumber(ctrlOrHandle) then return lfmObjectsStrongRef[ctrlOrHandle]; else return ctrlOrHandle; end; end; function lfm_...
apache-2.0
rrpgfirecast/firecast
Plugins/Sheets/Ficha Starfinder/sdk/rrpgLFM.lua
99
5179
require("rrpgUtil.lua"); require("rrpgGUI.lua"); local serpent = nil; local lfmObjectsStrongRef = {}; function lfm_getObject(ctrlOrHandle) if ctrlOrHandle == nil then return nil; elseif isNumber(ctrlOrHandle) then return lfmObjectsStrongRef[ctrlOrHandle]; else return ctrlOrHandle; end; end; function lfm_...
apache-2.0
rrpgfirecast/firecast
Plugins/Sheets/Ficha Infinite RPG/sdk/rrpgLFM.lua
99
5179
require("rrpgUtil.lua"); require("rrpgGUI.lua"); local serpent = nil; local lfmObjectsStrongRef = {}; function lfm_getObject(ctrlOrHandle) if ctrlOrHandle == nil then return nil; elseif isNumber(ctrlOrHandle) then return lfmObjectsStrongRef[ctrlOrHandle]; else return ctrlOrHandle; end; end; function lfm_...
apache-2.0
rrpgfirecast/firecast
Plugins/Sheets/Ordem Paranormal/sdk/rrpgLFM.lua
99
5179
require("rrpgUtil.lua"); require("rrpgGUI.lua"); local serpent = nil; local lfmObjectsStrongRef = {}; function lfm_getObject(ctrlOrHandle) if ctrlOrHandle == nil then return nil; elseif isNumber(ctrlOrHandle) then return lfmObjectsStrongRef[ctrlOrHandle]; else return ctrlOrHandle; end; end; function lfm_...
apache-2.0
rrpgfirecast/firecast
Plugins/TablesDock/AutoUpdater/sdk/rrpgLFM.lua
99
5179
require("rrpgUtil.lua"); require("rrpgGUI.lua"); local serpent = nil; local lfmObjectsStrongRef = {}; function lfm_getObject(ctrlOrHandle) if ctrlOrHandle == nil then return nil; elseif isNumber(ctrlOrHandle) then return lfmObjectsStrongRef[ctrlOrHandle]; else return ctrlOrHandle; end; end; function lfm_...
apache-2.0