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
hamsterready/love-console
console.lua
1
17101
local console = { _VERSION = 'love-console v0.1.0', _DESCRIPTION = 'Simple love2d console overlay', _URL = 'https://github.com/hamsterready/love-console', _LICENSE = [[ The MIT License (MIT) Copyright (c) 2014 Maciej Lopacinski Permission is hereby granted, free of charge, to any person obta...
mit
gedads/Neodynamis
scripts/zones/Mhaura/npcs/Graine.lua
17
1634
----------------------------------- -- Area: Mhaura -- NPC: Graine -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts/globals/shop"); --------------------------...
gpl-3.0
gedads/Neodynamis
scripts/globals/mobskills/tidal_slash.lua
37
1331
--------------------------------------------- -- Tidal Slash -- -- Description: Deals Water<a href="http://images.wikia.com/ffxi/images/b/b7/Exclamation.gif" class="image" title="Verification Needed" data-image-name="Exclamation.gif" id="Exclamation-gif"><img alt="Verification Needed" src="http://images1.wikia.nocook...
gpl-3.0
Amorph/premake-stable
tests/base/test_os.lua
9
3145
-- -- tests/base/test_os.lua -- Automated test suite for the new OS functions. -- Copyright (c) 2008-2011 Jason Perkins and the Premake project -- T.os = { } local suite = T.os -- -- os.findlib() tests -- function suite.findlib_FindSystemLib() if os.is("windows") then test.istrue(os.findl...
bsd-3-clause
hades2013/openwrt-mtk
package/ralink/ui/luci-mtk/src/applications/luci-openvpn/luasrc/model/cbi/openvpn.lua
65
3316
--[[ 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$ ]]-- loc...
gpl-2.0
pedro-andrade-inpe/terrame
packages/base/tests/observer/alternative/Chart.lua
3
13419
------------------------------------------------------------------------------------------- -- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling. -- Copyright (C) 2001-2017 INPE and TerraLAB/UFOP -- www.terrame.org -- This code is part of the TerraME framework. -- This framework is f...
lgpl-3.0
gedads/Neodynamis
scripts/globals/spells/bluemagic/queasyshroom.lua
31
1990
----------------------------------------- -- Spell: Queasyshroom -- Additional effect: Poison. Duration of effect varies with TP -- Spell cost: 20 MP -- Monster Type: Plantoids -- Spell Type: Physical (Piercing) -- Blue Magic Points: 2 -- Stat Bonus: HP-5, MP+5 -- Level: 8 -- Casting Time: 2 seconds -- Recast Time: 15 ...
gpl-3.0
starlightknight/darkstar
scripts/globals/spells/kaustra.lua
12
1382
-------------------------------------- -- Spell: Kaustra -- Consumes 20% of your maximum MP. Relentless -- dark damage slowly devours an enemy. -------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/magic") ----------------------------------...
gpl-3.0
starlightknight/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Louxiard.lua
9
1999
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Louxiard -- !pos -93 -4 49 80 ----------------------------------- require("scripts/globals/quests"); ----------------------------------- function onTrade(player,npc,trade) if (player:getQuestStatus(CRYSTAL_WAR,dsp.quest.id.crystalWar.GIFTS...
gpl-3.0
mmaxs/pull_requests--ettercap
src/lua/share/scripts/inject_http.lua
12
3282
--- -- Copyright (C) Ryan Linn and Mike Ryan -- -- 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. -- --...
gpl-2.0
starlightknight/darkstar
scripts/zones/Upper_Jeuno/npcs/Monberaux.lua
9
5690
----------------------------------- -- Area: Upper Jeuno -- NPC: Monberaux -- Starts and Finishes Quest: The Lost Cardian (finish), The kind cardian (start) -- Involved in Quests: Save the Clock Tower -- !pos -43 0 -1 244 ----------------------------------- local ID = require("scripts/zones/Upper_Jeuno/IDs"); require(...
gpl-3.0
ABrandau/OpenRA
mods/d2k/maps/atreides-03b/atreides03b-AI.lua
4
1514
--[[ Copyright 2007-2019 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
starlightknight/darkstar
scripts/globals/mobskills/promyvion_brume.lua
11
1031
--------------------------------------------- -- Promyvion Brume -- -- Description: AoE Additional effect: poison -- Type: Magical Water -- Utsusemi/Blink absorb: Wipes shadows -- Range: 10' cone -- Notes: Additional effect can be removed with Poisona. --------------------------------------------- require("script...
gpl-3.0
gedads/Neodynamis
scripts/globals/items/pipin_hot_popoto.lua
12
1281
----------------------------------------- -- ID: 4282 -- Item: pipin_hot_popoto -- Food Effect: 60Min, All Races ----------------------------------------- -- HP 25 -- Vitality 3 -- HP recovered while healing 1 ----------------------------------------- require("scripts/globals/status"); -------------------------------...
gpl-3.0
starlightknight/darkstar
scripts/globals/mobskills/final_retribution.lua
11
1112
--------------------------------------------- -- Final Retribution -- Family: Corse -- Description: Damages enemies in an area of effect. Additional effect: Stun -- Type: Physical -- Utsusemi/Blink absorb: 1-3 shadows -- Range: Radial -- Notes: Only used by some notorious monsters like Xolotl. ------------------...
gpl-3.0
mmaxs/pull_requests--ettercap
src/lua/share/third-party/stdlib/src/xml.lua
17
2787
-- XML extensions to string module. -- @class module -- @name xml require "base" require "string_ext" --- Write a table as XML. -- The input format is assumed to be that output by luaexpat. -- @param t table to print. -- In each element, tag is its name, attr is the table of attributes, -- and the sub-elements are h...
gpl-2.0
mynameiscraziu/sickout21
plugins/ingroup.lua
14
27651
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
jszakmeister/packages
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/cpu.lua
74
1429
-- stat/cpu collector local function scrape() local stat = get_contents("/proc/stat") -- system boot time, seconds since epoch metric("node_boot_time_seconds", "gauge", nil, string.match(stat, "btime ([0-9]+)")) -- context switches since boot (all CPUs) metric("node_context_switches_total", "counter", n...
gpl-2.0
strava/thrift
lib/lua/TServer.lua
11
4181
-- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you ma...
apache-2.0
gedads/Neodynamis
scripts/globals/mobskills/everyones_grudge.lua
36
1591
--------------------------------------------- -- Everyones Grudge -- -- Notes: Invokes collective hatred to spite a single target. -- Damage done is 5x the amount of tonberries you have killed! For NM's using this it is 50 x damage. --------------------------------------------- require("scripts/globals/settings");...
gpl-3.0
starlightknight/darkstar
scripts/globals/spells/foe_requiem.lua
12
1829
----------------------------------------- -- Spell: Foe Requiem ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0 end funct...
gpl-3.0
ld-test/turbo
examples/websocketclient.lua
8
2146
--- Turbo.lua WebSocketClient example. -- -- Copyright 2013 John Abrahamsen -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless r...
apache-2.0
starlightknight/darkstar
scripts/globals/abilities/box_step.lua
12
7949
----------------------------------- -- Ability: Box Step -- Lowers target's defense. If successful, you will earn two Finishing Moves. -- Obtained: Dancer Level 30 -- TP Required: 10% -- Recast Time: 00:05 -- Duration: First Step lasts 1 minute, each following Step extends its current duration by 30 seconds. ----------...
gpl-3.0
thel3l/kali-nethunter
nethunter-installer/update/system/bin/scripts/test_t55x7_fsk.lua
5
2638
local cmds = require('commands') local getopt = require('getopt') local bin = require('bin') local utils = require('utils') example =[[ 1. script run test_t55x7_fsk ]] author = "Iceman" usage = "script run test_t55x7_fsk" desc =[[ This script will program a T55x7 TAG with the configuration: block 0x00 data 0x000100 T...
gpl-2.0
starlightknight/darkstar
scripts/globals/items/behemoth_steak.lua
11
1728
----------------------------------------- -- ID: 6464 -- Item: behemoth_steak -- Food Effect: 180Min, All Races ----------------------------------------- -- HP +40 -- STR +7 -- DEX +7 -- INT -3 -- Attack +23% (cap 160) -- Ranged Attack +23% (cap 160) -- Triple Attack +1% -- Lizard Killer +4 -- hHP +4 ------------------...
gpl-3.0
Craige/prosody-modules
mod_carbons/mod_carbons.lua
32
5142
-- XEP-0280: Message Carbons implementation for Prosody -- Copyright (C) 2011 Kim Alvefur -- -- This file is MIT/X11 licensed. local st = require "util.stanza"; local jid_bare = require "util.jid".bare; local xmlns_carbons = "urn:xmpp:carbons:2"; local xmlns_carbons_old = "urn:xmpp:carbons:1"; local xmlns_carbons_real...
mit
gedads/Neodynamis
scripts/zones/Abyssea-Konschtat/mobs/Turul.lua
17
2144
----------------------------------- -- Area: Abyssea - Konschtat (15) -- Mob: Turul ----------------------------------- require("scripts/globals/status"); mixins = { require("scripts/mixins/families/amphiptere") } ----------------------------------- -- onMobInitialize ----------------------------------- function ...
gpl-3.0
starlightknight/darkstar
scripts/zones/Temenos/bcnms/central_temenos_1st_floor.lua
9
1338
----------------------------------- -- Area: Temenos -- Name: Central Temenos 1st Floor ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/battlefield") require("scripts/globals/keyitems"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBattlefieldTick(ba...
gpl-3.0
gedads/Neodynamis
scripts/zones/Inner_Horutoto_Ruins/npcs/_5ca.lua
3
2300
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Mahogany Door -- Involved In Quest: Making Headlines -- Involved in Mission 2-1 -- !pos -11 0 20 192 ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- req...
gpl-3.0
gedads/Neodynamis
scripts/zones/Windurst_Woods/npcs/Aja-Panja.lua
3
1051
----------------------------------- -- Area: Windurst Woods -- NPC: Aja-Panja -- Type: Standard NPC -- @zone 241 -- !pos -7.251 -6.55 -134.127 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; -------------...
gpl-3.0
Eric-Dang/pbc_test
bin/lua/test.lua
1
1661
------------------------------------------------------------------------------------------------------------------------------------------ local io = io local print = print local ipairs = ipairs local require = require -----------------------------------------------------------------------------------------------------...
mit
starlightknight/darkstar
scripts/globals/items/shall_shell.lua
11
1072
----------------------------------------- -- ID: 4484 -- Item: shall_shell -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity -5 -- Vitality 4 -- Defense % 16.4 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") --------------...
gpl-3.0
starlightknight/darkstar
scripts/globals/items/serving_of_red_curry.lua
11
1910
----------------------------------------- -- ID: 4298 -- Item: serving_of_red_curry -- Food Effect: 3 hours, All Races ----------------------------------------- -- HP +25 -- Strength +7 -- Agility +1 -- Intelligence -2 -- HP recovered while healing +2 -- MP recovered while healing +1 -- Attack +23% (Cap: 150@652 Base A...
gpl-3.0
padrinoo1/televagir
plugins/banhammer.lua
106
11894
local function pre_process(msg) -- 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('Checking invited user '..user_id) local banned ...
gpl-2.0
soccermitchy/heroku-lapis
opt/src/luarocks/src/luarocks/pack.lua
20
7450
--- Module implementing the LuaRocks "pack" command. -- Creates a rock, packing sources or binaries. --module("luarocks.pack", package.seeall) local pack = {} package.loaded["luarocks.pack"] = pack local unpack = unpack or table.unpack local path = require("luarocks.path") local repos = require("luarocks.repos") loc...
gpl-2.0
gedads/Neodynamis
scripts/globals/spells/bluemagic/cannonball.lua
33
1721
----------------------------------------- -- Spell: Cannonball -- Damage varies with TP -- Spell cost: 66 MP -- Monster Type: Vermin -- Spell Type: Physical (Blunt) -- Blue Magic Points: 3 -- Stat Bonus: STR+1, DEX+1 -- Level: 70 -- Casting Time: 0.5 seconds -- Recast Time: 28.5 seconds -- Skillchain Element(s): Fusion...
gpl-3.0
starlightknight/darkstar
scripts/commands/getmobaction.lua
12
1078
--------------------------------------------------------------------------------------------------- -- func: getmobaction -- desc: Prints mob's current action to the command user. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, pa...
gpl-3.0
pravsingh/Algorithm-Implementations
Bresenham_Based_Supercover_Line/Lua/Yonaba/bresenham_based_supercover_test.lua
27
1151
-- Tests for bresenham.lua local supercover_line = require 'bresenham_based_supercover' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass ...
mit
Maxsteam/4568584657657
plugins/wiki.lua
735
4364
-- http://git.io/vUA4M local socket = require "socket" local JSON = require "cjson" local wikiusage = { "!wiki [text]: Read extract from default Wikipedia (EN)", "!wiki(lang) [text]: Read extract from 'lang' Wikipedia. Example: !wikies hola", "!wiki search [text]: Search articles on default Wikipedia (EN)", "!...
gpl-2.0
starlightknight/darkstar
scripts/globals/abilities/martyr.lua
11
1706
----------------------------------- -- Ability: Martyr -- Sacrifices HP to heal a party member double the amount. -- Obtained: White Mage Level 75 -- Recast Time: 0:10:00 -- Duration: Instant -- Target: Party member, cannot target self. ----------------------------------- require("scripts/globals/status") require("scri...
gpl-3.0
O-P-E-N/CC-ROUTER
feeds/luci/modules/luci-base/luasrc/model/network.lua
1
33984
-- Copyright 2009-2015 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local type, next, pairs, ipairs, loadfile, table = type, next, pairs, ipairs, loadfile, table local tonumber, tostring, math = tonumber, tostring, math local require = require local nxo = require "nixio...
gpl-2.0
dantezhu/neon
examples/demo1/src/cocos/framework/extends/MenuEx.lua
57
1228
--[[ Copyright (c) 2011-2014 chukong-inc.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, publish, dis...
mit
jackkkk21/botjack
plugins/stats.lua
168
4001
do -- Returns a table with `name` and `msgs` local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_prin...
gpl-2.0
starlightknight/darkstar
scripts/zones/Lower_Jeuno/npcs/Tuh_Almobankha.lua
9
3900
----------------------------------- -- Area: Lower Jeuno -- NPC: Tuh Almobankha -- Title Change NPC -- !pos -14 0 -61 245 ----------------------------------- require("scripts/globals/titles") ----------------------------------- local eventId = 10014 local titleInfo = { { cost = 200, title = ...
gpl-3.0
telergybot/infernalmann
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
starlightknight/darkstar
scripts/zones/Southern_San_dOria/npcs/Rosel.lua
9
2611
----------------------------------- -- Area: Southern San d'Oria -- NPC: Rosel -- Starts and Finishes Quest: Rosel the Armorer -- !zone 230 ------------------------------------- local ID = require("scripts/zones/Southern_San_dOria/IDs"); require("scripts/globals/settings"); require("scripts/globals/keyitems"); require...
gpl-3.0
starlightknight/darkstar
scripts/globals/effects/transcendency.lua
12
1636
----------------------------------- require("scripts/globals/status") ----------------------------------- function onEffectGain(target,effect) target:addMod(dsp.mod.HP, 9000) target:addMod(dsp.mod.MP, 9000) target:addMod(dsp.mod.REGEN, 300) target:addMod(dsp.mod.REFRESH, 300) target:addMod(dsp.mod....
gpl-3.0
O-P-E-N/CC-ROUTER
feeds/luci/applications/luci-app-statistics/luasrc/statistics/i18n.lua
39
1879
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.i18n", package.seeall) require("luci.util") require("luci.i18n") Instance = luci.util.class() function Instance.__init__( self, graph ) self.i18n = luci.i18n se...
gpl-2.0
gedads/Neodynamis
scripts/zones/Abyssea-Empyreal_Paradox/Zone.lua
33
1376
----------------------------------- -- -- Zone: Abyssea - Empyreal_Paradox -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Empyreal_Paradox/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Ab...
gpl-3.0
tommy3/Urho3D
Source/ThirdParty/LuaJIT/dynasm/dasm_arm64.lua
33
34807
------------------------------------------------------------------------------ -- DynASM ARM64 module. -- -- Copyright (C) 2005-2016 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ -- Module information: local _...
mit
gedads/Neodynamis
scripts/zones/Rolanberry_Fields/npcs/Cavernous_Maw.lua
3
2921
----------------------------------- -- Area: Rolanberry Fields -- NPC: Cavernous Maw -- !pos -198 8 361 110 -- Teleports Players to Rolanberry Fields [S] ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil; ----------------------------------- require("scripts/globals/se...
gpl-3.0
blogic/packages
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/bmx6.lua
78
1115
#!/usr/bin/lua local json = require "cjson" local function interpret_suffix(rate) local value = string.sub(rate, 1, -2) local suffix = string.sub(rate, -1) if suffix == "K" then return tonumber(value) * 10^3 end if suffix == "M" then return tonumber(value) * 10^6 end if suffix == "G" then return tonumber(va...
gpl-2.0
disslove85/NOVA1-BOT
libs/redis.lua
566
1214
local Redis = require 'redis' local FakeRedis = require 'fakeredis' local params = { host = os.getenv('REDIS_HOST') or '127.0.0.1', port = tonumber(os.getenv('REDIS_PORT') or 6379) } local database = os.getenv('REDIS_DB') local password = os.getenv('REDIS_PASSWORD') -- Overwrite HGETALL Redis.commands.hgetall = ...
gpl-2.0
starlightknight/darkstar
scripts/zones/Windurst_Woods/npcs/Mourices.lua
9
3101
----------------------------------- -- Area: Windurst Woods -- NPC: Mourices -- Involved In Mission: Journey Abroad -- !pos -50.646 -0.501 -27.642 241 ----------------------------------- require("scripts/globals/keyitems") require("scripts/globals/missions") require("scripts/globals/npc_util") ------------------------...
gpl-3.0
dimitarcl/premake-dev
tests/actions/vstudio/cs2005/projectelement.lua
2
1144
-- -- tests/actions/vstudio/cs2005/projectelement.lua -- Validate generation of <Project/> element in Visual Studio 2005+ .csproj -- Copyright (c) 2009-2011 Jason Perkins and the Premake project -- T.vstudio_cs2005_projectelement = { } local suite = T.vstudio_cs2005_projectelement local cs2005 = premake.vstudio.cs2...
bsd-3-clause
gedads/Neodynamis
scripts/zones/Tavnazian_Safehold/npcs/Justinius.lua
3
1989
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Justinius -- Involved in mission : COP2-3 -- !pos 76 -34 68 26 ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("sc...
gpl-3.0
SuetyDig/IntWars
lua/config.lua
3
1066
players = { ["player1"] = { ["rank"] = "DIAMOND", ["name"] = "Test", ["champion"] = "Ezreal", ["team"] = "BLUE", -- BLUE or PURPLE ["skin"] = 0, ["summoner1"] = "HEAL", ["summoner2"] = "FLASH", ["ribbon"] = 2, -- [ 1 = Leader (Yellow) ] [ 2 = Mentor (Blue) ] [ 4 = Cooperative (Green) ] ["icon"] = 0 -...
gpl-3.0
alomina007/asli
plugins/admin.lua
3
7404
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(rec...
gpl-2.0
gedads/Neodynamis
scripts/zones/Desuetia_Empyreal_Paradox/Zone.lua
30
1470
----------------------------------- -- -- Zone: Desuetia Empyreal Paradox (290) -- ----------------------------------- package.loaded["scripts/zones/Desuetia_Empyreal_Paradox/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Desuetia_Empyreal_Paradox/TextIDs"); require("scripts/globals/settin...
gpl-3.0
strava/thrift
lib/lua/TTransport.lua
115
2800
-- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you ma...
apache-2.0
gedads/Neodynamis
scripts/globals/items/slice_of_salted_hare.lua
12
1263
----------------------------------------- -- ID: 5737 -- Item: slice_of_salted_hare -- Food Effect: 30Min, All Races ----------------------------------------- -- HP 10 -- Strength 1 -- hHP +1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIt...
gpl-3.0
gedads/Neodynamis
scripts/zones/Halvung/npcs/qm2.lua
3
1318
----------------------------------- -- Area: Halvung -- NPC: ??? (Spawn Dextrose(ZNM T2)) -- !pos -144 11 464 62 ----------------------------------- package.loaded["scripts/zones/Halvung/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Halvung/TextIDs"); require("scripts/globals/status"); -...
gpl-3.0
mishin/Algorithm-Implementations
Newton_Raphson/Lua/Yonaba/newtonraphson.lua
52
1091
-- Newton (Raphson) root finding algorithm implementation -- See : http://en.wikipedia.org/wiki/Newton%27s_method -- Fuzzy equality test local function fuzzyEqual(a, b, eps) local eps = eps or 1e-4 return (math.abs(a - b) < eps) end -- Evaluates the derivative of function f at x0 -- Uses Newton's centered slope a...
mit
zzzaaiidd/TCHUKY
data/config.lua
1
1386
do local _ = { about_text = "▫️Welcome to TCHUKY V8 For more information Subscribe to the channel @zzzaiddd \n https://github.com/zzzaaiidd/TCHUKY\n\n▫️Dev @zzaiddd\n\n▫️ Dev Bot @zzaiddd_bot\n\n ▫️channel@ zzzaiddd ", enabled_plugins = { "badword", "admin", "ingroup", "stats", "anti_spam", ...
gpl-2.0
raymondtfr/forgottenserver
data/npc/lib/npcsystem/modules.lua
3
38824
-- Advanced NPC System by Jiddo if Modules == nil then -- default words for greeting and ungreeting the npc. Should be a table containing all such words. FOCUS_GREETWORDS = {"hi", "hello"} FOCUS_FAREWELLWORDS = {"bye", "farewell"} -- The words for requesting trade window. SHOP_TRADEREQUEST = {"trade"} -- The w...
gpl-2.0
gedads/Neodynamis
scripts/globals/items/serving_of_vermillion_jelly.lua
12
1416
----------------------------------------- -- ID: 5158 -- Item: Vermillion Jelly -- Food Effect: 4 hours, All Races ----------------------------------------- -- MP +12%(Cap: 90@750 Base MP) -- Intelligence +6 -- MP Recovered While Healing +2 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
starlightknight/darkstar
scripts/zones/Port_Bastok/npcs/Qiji.lua
9
1592
----------------------------------- -- Area: Port Bastok -- NPC: Qiji -- Starts & Ends Quest: Forever to Hold ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); local ID = require("scripts/zones/Port_Bastok/IDs"); ----------------------------------- function onTr...
gpl-3.0
ABrandau/OpenRA
mods/cnc/maps/nod07b/nod07b-AI.lua
4
6205
--[[ Copyright 2007-2019 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
dantezhu/neon
examples/demo1/src/cocos/framework/extends/UICheckBox.lua
57
1436
--[[ Copyright (c) 2011-2014 chukong-inc.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, publish, di...
mit
starlightknight/darkstar
scripts/globals/spells/bluemagic/cocoon.lua
12
1218
----------------------------------------- -- Spell: Cocoon -- Enhances defense -- Spell cost: 10 MP -- Monster Type: Vermin -- Spell Type: Magical (Earth) -- Blue Magic Points: 1 -- Stat Bonus: VIT+3 -- Level: 8 -- Casting Time: 1.75 seconds -- Recast Time: 60 seconds -- Duration: 90 seconds -- -- Combos: None --------...
gpl-3.0
starlightknight/darkstar
scripts/globals/items/coral_butterfly.lua
11
1054
----------------------------------------- -- ID: 4580 -- Item: Coral Butterfly -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") --------------------------------...
gpl-3.0
starlightknight/darkstar
scripts/zones/Apollyon/bcnms/nw_apollyon.lua
9
1251
----------------------------------- -- Area: Appolyon -- Name: NW Apollyon ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/battlefield") require("scripts/globals/keyitems"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBattlefieldTick(battlefield, ti...
gpl-3.0
mahdib9/54
plugins/stats.lua
81
4126
do -- Returns a table with `name` and `msgs` local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_prin...
gpl-2.0
starlightknight/darkstar
scripts/zones/Horlais_Peak/bcnms/horns_of_war.lua
9
1059
----------------------------------- -- Horns of War -- Horlais Peak KSNM, Themis Orb -- !additem 1553 ----------------------------------- require("scripts/globals/battlefield") ----------------------------------- function onBattlefieldInitialise(battlefield) battlefield:setLocalVar("loot", 1) end function onBattl...
gpl-3.0
O-P-E-N/CC-ROUTER
feeds/luci/applications/luci-app-dump1090/luasrc/model/cbi/dump1090.lua
37
4987
-- Copyright 2014 Álvaro Fernández Rojas <noltari@gmail.com> -- Licensed to the public under the Apache License 2.0. m = Map("dump1090", "dump1090", translate("dump1090 is a Mode S decoder specifically designed for RTLSDR devices, here you can configure the settings.")) s = m:section(TypedSection, "dump1090", "") s.a...
gpl-2.0
ABrandau/OpenRA
mods/cnc/maps/gdi04b/gdi04b.lua
4
6237
--[[ Copyright 2007-2019 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
gedads/Neodynamis
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Tabar.lua
17
1486
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Animated Tabar ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEngag...
gpl-3.0
gedads/Neodynamis
scripts/zones/Northern_San_dOria/npcs/Shomo_Pochachilo.lua
3
1319
----------------------------------- -- Area: Northern San d'Oria -- NPC: Shomo Pochachilo -- Type: Standard Info NPC -- @zone 231 -- !pos 28.369 -0.199 30.061 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
teleowner/TELEOWNER
supergroup.lua
2
92532
--Begin supergrpup.lua --Check members #Add supergroup local function check_member_super(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg if success == 0 then send_large_msg(receiver, "ابتدا مرا ادمین کنید!") end for k,v in pairs(result) do ...
gpl-2.0
SuperStarPL/PonyPlayerModels
pony_player_models/lua/ppm/render_texture.lua
2
23696
if CLIENT then function PPM.TextureIsOutdated(ent, name, newhash) if !PPM.isValidPony(ent) then return true end if ent.ponydata_tex==nil then return true end if ent.ponydata_tex[name]==nil then return true end if ent.ponydata_tex[name.."_hash"]==nil then return true end if ent.ponydata_tex[name.."_hash"]!=...
gpl-3.0
ABrandau/OpenRA
mods/cnc/maps/funpark01/scj01ea.lua
4
3959
--[[ Copyright 2007-2019 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
arrayfire/arrayfire_lua
examples/unified/basic.lua
4
1871
--[[ /******************************************************* * Copyright (c) 2015, ArrayFire * All rights reserved. * * This file is distributed under 3-clause BSD license. * The complete license agreement can be obtained at: * http://arrayfire.com/licenses/BSD-3-Clause *****************************************...
bsd-3-clause
EMCTEAM-IRAN/superflux-bot
plugins/toimage.lua
1
1080
local function tosticker(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/sticker.png' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) send_photo(get_receiver(msg), file, ok_cb, false) redis:del("sti...
gpl-3.0
timroes/awesome
docs/06-appearance.md.lua
2
6204
#! /usr/bin/lua local args = {...} local gio = require("lgi").Gio local gobject = require("lgi").GObject local glib = require("lgi").GLib local name_attr = gio.FILE_ATTRIBUTE_STANDARD_NAME local type_attr = gio.FILE_ATTRIBUTE_STANDARD_TYPE -- Like pairs(), but iterate over keys in a sorted manner. Does not support -...
gpl-2.0
ramtintz/tabchi
bot.lua
1
35284
redis = (loadfile "redis.lua")() redis = redis.connect('127.0.0.1', 6379) function dl_cb(arg, data) end function get_admin () if redis:get('botBOT-IDadminset') then return true else print("\n\27[32m لازمه کارکرد صحیح ، فرامین و امورات مدیریتی ربات تبلیغ گر <<\n تعریف کاربری به عنوان مدیر ا...
agpl-3.0
vadrak/ArenaLive
components/CastHistory.lua
1
9906
--[[** * Stores and displays up to the last ten spells that a unit cast. * * TODO: Automatically update version number on commit. ]] local addonName, L = ...; local version = 20170617; local CastHistory = DeliUnitFrames:getClass("ArenaLiveCastHistory"); if (CastHistory and CastHistory.version >= version) then -...
mit
andywingo/snabbswitch
lib/ljsyscall/syscall/osx/types.lua
18
9044
-- OSX types 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 function init(types) local abi = require ...
apache-2.0
Tardan/factory-mod-UpGrade
prototypes/base-mod/recipes/transport-belt.lua
1
1789
data:extend( { { type = "recipe", name = "medium-basic-transport-belt-to-ground", enabled = "false", energy_required = 1, ingredients = { {"iron-plate", 30}, {"basic-transport-belt", 15} }, result_count = 2, result = "medium-basic-transport-belt-to-ground" }, { ...
gpl-3.0
unusualcrow/redead_reloaded
entities/entities/sent_barrel_radioactive/init.lua
1
2527
AddCSLuaFile( "cl_init.lua" ) AddCSLuaFile( "shared.lua" ) include("shared.lua") ENT.HitSound = Sound( "Metal_Barrel.ImpactSoft" ) ENT.DieSound = Sound( "Breakable.Metal" ) ENT.Model = Model( "models/props/de_train/barrel.mdl" ) ENT.Damage = 60 ENT.Radius = 300 ENT.Skins = {0,1,7} function ENT:Initialize() local ...
mit
vrld/shine
init.lua
1
4932
--[[ The MIT License (MIT) Copyright (c) 2017 Matthias Richter 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, m...
mit
timroes/awesome
lib/gears/filesystem.lua
2
5618
--------------------------------------------------------------------------- --- Filesystem module for gears -- -- @module gears.filesystem --------------------------------------------------------------------------- -- Grab environment we need local Gio = require("lgi").Gio local gstring = require("gears.string") local...
gpl-2.0
czfshine/Don-t-Starve
data/scripts/DLC001_prefab_files.lua
1
3375
local PREFABFILES = { "acorn", "altar_prototyper", "amulet", "armor_ruins", "armor_sanity", "armor_slurper", "ash", "backpack", "balloon", "balloons_empty", "bearger", "bedroll_furry", "bedroll_straw", "bee", "beebox", "beefaloherd", "beefalowool", "beehive", "berrybush", "bigfoo...
gpl-2.0
iranddos/yagop
plugins/gnuplot.lua
622
1813
--[[ * Gnuplot plugin by psykomantis * dependencies: * - gnuplot 5.00 * - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html * ]] -- Gnuplot needs absolute path for the plot, so i run some commands to find where we are local outputFile = io.popen("pwd","r") io.input(outputFile...
gpl-2.0
CrazyEddieTK/Zero-K
LuaUI/Widgets/chili/simple examples/Widgets/gui_chiliguidemo.lua
17
8506
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function widget:GetInfo() return { name = "chiliGUIDemo", desc = "GUI demo for robocracy", author = "quantum", date = "WI...
gpl-2.0
czfshine/Don-t-Starve
data/DLC0001/scripts/prefab0001.lua
1
6476
PREFABFILES = { "abigail", "abigail_flower", "accomplishment_shrine", "acorn", "adventure_portal", "altar_prototyper", "amulet", "animal_track", "anim_test", "armor_grass", "armor_marble", "armor_ruins", "armor_sanity", "armor_slurper", "armor_snurtleshell", "armor_wood", "ash", "axe...
gpl-2.0
CrazyEddieTK/Zero-K
ModelMaterials_103/1_normalmapping.lua
11
4407
-- $Id$ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- local materials = { normalMappedS3o = { shaderDefinitions = { "#define use_perspective_correct_shadows", "#define use_nor...
gpl-2.0
alivilteram/mus1p
bot/bot.lua
1
6931
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") local f = assert(io.popen('/usr/bin/git describe --tags', 'r')) VERSION = assert(f:read('*a')) f:close() -- This function is ...
gpl-3.0
CrazyEddieTK/Zero-K
LuaRules/Gadgets/unit_missilesilo.lua
4
7738
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function gadget:GetInfo() return { name = "Missile Silo Controller", desc = "Handles missile silos", author = "KingRaptor (L.J. Lim)", d...
gpl-2.0
100acrebb/ulogs
ultimatelogs/lua/ultimatelogs/logtypes/OFF/ulogs_darkrp_demote.lua
2
1969
--[[ _ _ _ _ _ _ _ | | | || || | (_) | | | | | | | || || |_ _ _ __ ___ __ _ | |_ ___ | | ___ __ _ ___ | | | || || __|| || '_ ` _ \ / _` || __| / _ \ | | / _ \ / _` |...
mit
repstd/modified_vlc
share/lua/playlist/katsomo.lua
97
2906
--[[ Translate www.katsomo.fi video webpages URLs to the corresponding movie URL $Id$ Copyright © 2009 the VideoLAN team 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 o...
gpl-2.0