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
Tfifa/CIV6UI
URS/UnitPromotionPopup.lua
1
25341
-- =========================================================================== -- Popups when a Tech or Civic are completed -- =========================================================================== include("Civ6Common"); include("InstanceManager"); -- ==============================================================...
mit
dxmgame/dxm-cocos
src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/ClippingNode.lua
3
4257
-------------------------------- -- @module ClippingNode -- @extend Node -- @parent_module cc -------------------------------- -- If stencil has no childre it will not be drawn.<br> -- If you have custom stencil-based node with stencil drawing mechanics other then children-based,<br> -- then this method should retur...
mit
lzxm160/ming_frame
premake4.lua
58
2093
solution "muduo" projectdir = basedir() builddir = path.join(projectdir, '../build') installdir = path.join(projectdir, '../install') bindir = path.join(installdir, 'bin') libdir = path.join(installdir, 'lib') includedir = path.join(installdir, 'include') curheadersdir = includedir -- s...
bsd-3-clause
dxmgame/dxm-cocos
src/apps/lua-tests/Resources/src/VisibleRect.lua
11
2132
VisibleRect = class("VisibleRect") VisibleRect.__index = VisibleRect VisibleRect.s_visibleRect = cc.rect(0,0,0,0) function VisibleRect:lazyInit() if (self.s_visibleRect.width == 0.0 and self.s_visibleRect.height == 0.0) then --[[ local pEGLView = cc.EGLView:getInstance() local origin = ...
mit
TeoTwawki/darkstar
scripts/zones/Windurst_Waters/npcs/Ranpi-Monpi.lua
2
5262
----------------------------------- -- Area: Windurst Waters -- NPC: Ranpi-Monpi -- Starts and Finishes Quest: A Crisis in the Making -- Involved in quest: In a Stew, For Want of a Pot, The Dawn of Delectability -- !pos -116 -3 52 238 -- (outside the shop he is in) ----------------------------------- local ID = requi...
gpl-3.0
pierres/archlinux-mediawiki
extensions/Scribunto/includes/engines/LuaCommon/lualib/ustring/lower.lua
2
11417
-- This file is automatically generated by make-tables.php return { ["A"] = "a", ["B"] = "b", ["C"] = "c", ["D"] = "d", ["E"] = "e", ["F"] = "f", ["G"] = "g", ["H"] = "h", ["I"] = "i", ["J"] = "j", ["K"] = "k", ["L"] = "l", ["M"] = "m", ["N"] = "n", ["O"] = "o", ["P"] = "p", ["Q"] = "q", ["R"] = "r", ...
gpl-2.0
IoveSunny/DreamBox
feeds/luci/luci/luci/modules/admin-full/luasrc/model/cbi/admin_system/system.lua
3
4630
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2011 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://w...
gpl-2.0
ReWrite94/iLife
server/Manager/Vehicle/cCustomSirenManager.lua
2
2497
-- ####################################### -- ## Project: MTA iLife ## -- ## Name: CustomSirenManager.lua ## -- ## Author: Noneatme ## -- ## Version: 1.0 ## -- ## License: See top Folder ## -- ####################################### -- FUNCTIONS / METHODS -- local cFunc = {}; -- Local Functions local...
mit
WeakAuras/WeakAuras2
WeakAurasOptions/RegionOptions/Text.lua
1
12531
if not WeakAuras.IsLibsOK() then return end local AddonName, OptionsPrivate = ... local SharedMedia = LibStub("LibSharedMedia-3.0"); local L = WeakAuras.L; local screenWidth = math.ceil(GetScreenWidth() / 20) * 20; local indentWidth = 0.15 local hiddenFontExtra = function() return OptionsPrivate.IsCollapsed("text"...
gpl-2.0
dxmgame/dxm-cocos
src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/FadeTo.lua
11
1678
-------------------------------- -- @module FadeTo -- @extend ActionInterval -- @parent_module cc -------------------------------- -- initializes the action with duration and opacity <br> -- param duration in seconds -- @function [parent=#FadeTo] initWithDuration -- @param self -- @param #float duration -- @param #u...
mit
X-Coder/SBEP-Weapons
lua/effects/macsmokey/init.lua
1
1731
--[[--------------------------------------------------------- Initializes the effect. The data is a table of data which was passed from the server. ---------------------------------------------------------]] function EFFECT:Init( data ) -- This is how long the spawn effect -- takes from start to...
apache-2.0
Kurios/mudlet-dev
src/mudlet-lua/lua/geyser/GeyserColor.lua
19
6003
-------------------------------------- -- -- -- The Geyser Layout Manager by guy -- -- -- -------------------------------------- Geyser.Color = {} --- Converts color to 3 hex values as a string, no alpha, css style -- @return The color formatted as a h...
gpl-2.0
detect00r/zed-spam
plugins/rss.lua
700
5434
local function get_base_redis(id, option, extra) local ex = '' if option ~= nil then ex = ex .. ':' .. option if extra ~= nil then ex = ex .. ':' .. extra end end return 'rss:' .. id .. ex end local function prot_url(url) local url, h = string.gsub(url, "http://", "") local...
gpl-2.0
celophi/melia
system/scripts/npc/dungeon/d_thorn_39_2.lua
1
6168
----- Hunter Tracker Capt. Mintz ----- ----- npcselectdialog.ies | ClassName: THORN392_MQ_02 ----- ----- Dialog ----- ----- QuestIDs: THORN39_2_MQ01 | THORN39_2_MQ02 | THORN39_2_MQ03 | THORN39_2_MQ04 | THORN39_2_MQ06 | THORN39_1_MQ08 | THORN39_1_MQ07 ----- addnpc(147405, "QUEST_LV_0200_20150714_007052", "d_thorn_39_2"...
gpl-3.0
dxmgame/dxm-cocos
src/oslibs/cocos/cocos-src/tests/lua-tests/src/NodeTest/NodeTest.lua
6
21036
local kTagSprite1 = 1 local kTagSprite2 = 2 local kTagSprite3 = 3 local kTagSlider = 4 local s = cc.Director:getInstance():getWinSize() local scheduler = cc.Director:getInstance():getScheduler() local function getBaseLayer() local layer = cc.Layer:create() Helper.initWithLayer(layer) return layer end ------...
mit
TeoTwawki/darkstar
scripts/zones/Caedarva_Mire/npcs/_270.lua
11
1259
----------------------------------- -- Area: Caedarva Mire -- Door: Heavy Iron Gate -- !pos 540 -18 -441 79 ----------------------------------- local ID = require("scripts/zones/Caedarva_Mire/IDs") require("scripts/globals/keyitems") ----------------------------------- function onTrade(player, npc, trade) end functio...
gpl-3.0
JulianVolodia/vicious
contrib/dio.lua
16
2210
--------------------------------------------------- -- Licensed under the GNU General Public License v2 -- * (c) 2010, Adrian C. <anrxc@sysphere.org> --------------------------------------------------- -- {{{ Grab environment local ipairs = ipairs local setmetatable = setmetatable local table = { insert = table.inser...
gpl-2.0
ReWrite94/iLife
client/Classes/Hud/Handy/Elements/cHandyAppElement.lua
2
5115
-- -- Created by IntelliJ IDEA. -- User: Noneatme -- Date: 05.01.2015 -- Time: 22:24 -- Project: MTA iLife -- cHandyAppElement = {}; --[[ ]] local valid_hovermethods = { ["size"] = true, ["none"] = true, } -- /////////////////////////////// -- ///// OnClick ////// -- ///// Returns: void ////// -- ///////////...
mit
abbasgh12345/extremeboss
plugins/Welcome.lua
114
3529
local add_user_cfg = load_from_file('data/add_user_cfg.lua') local function template_add_user(base, to_username, from_username, chat_name, chat_id) base = base or '' to_username = '@' .. (to_username or '') from_username = '@' .. (from_username or '') chat_name = string.gsub(chat_name, '_', ' ') or '' c...
gpl-2.0
TeoTwawki/darkstar
scripts/globals/mobskills/suction.lua
11
1047
--------------------------------------------- -- Suction -- -- Description: Deals damage to a single target. Additional effect: Stun -- Type: Physical -- Utsusemi/Blink absorb: 1 shadow -- Range: Melee -- Notes: Stun doesn't always occur. --------------------------------------------- require("scripts/globals/sett...
gpl-3.0
jozeff3/devill
plugins/stats.lua
11
4121
--[[ # For More Information ....! # Developer : Aziz < @devss_bot > #Dev # our channel: @help_tele ]] 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 = 'msg...
gpl-2.0
cuit-zhaxin/quick-ng
cocos/scripting/lua-bindings/auto/api/ParticleSystem.lua
7
29398
-------------------------------- -- @module ParticleSystem -- @extend Node,TextureProtocol -- @parent_module cc -------------------------------- -- Gets the start size variance in pixels of each particle.<br> -- return The start size variance in pixels of each particle. -- @function [parent=#ParticleSystem] getStart...
mit
TeoTwawki/darkstar
scripts/zones/Southern_San_dOria/npcs/Hanaa_Punaa.lua
2
6465
----------------------------------- -- Area: Southern San d'Oria -- NPC: Hanaa Punaa -- Starts and Finishes: A Squire's Test, A Squire's Test II, A Knight's Test -- !zone 230 ------------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/keyitems"...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/weaponskills/blade_yu.lua
10
1621
----------------------------------- -- Blade Yu -- Katana weapon skill -- Skill Level: 290 -- Delivers a water elemental attack. Additional effect Poison. Durration varies with TP. -- Aligned with the Aqua Gorget & Soil Gorget. -- Aligned with the Aqua Belt & Soil Belt. -- Element: Water -- Modifiers: DEX:50% INT:50% ...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/AlTaieu/npcs/qm2.lua
12
1148
----------------------------------- -- Area: Al'Taieu -- NPC: ??? (Jailer of Justice Spawn) -- Allows players to spawn the Jailer of Justice by trading the Second Virtue, Deed of Moderation, and HQ Xzomit Organ to a ???. -- !pos , -278 0 -463 ----------------------------------- local ID = require("scripts/zones/AlTaie...
gpl-3.0
rgburke/wed
wedruntime/lua/lexers/groovy.lua
5
3177
-- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE. -- Groovy LPeg lexer. local l = require('lexer') local token, word_match = l.token, l.word_match local P, R, S = lpeg.P, lpeg.R, lpeg.S local M = {_NAME = 'groovy'} -- Whitespace. local ws = token(l.WHITESPACE, l.space^1) -- Comments. local line...
gpl-2.0
ajose01/rethinkdb
external/v8_3.30.33.16/tools/gcmole/gccause.lua
157
2313
-- Copyright 2011 the V8 project authors. All rights reserved. -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are -- met: -- -- * Redistributions of source code must retain the above copyright -- notice, this list of ...
agpl-3.0
jozeff3/devill
libs/lua-redis.lua
580
35599
local redis = { _VERSION = 'redis-lua 2.0.4', _DESCRIPTION = 'A Lua client library for the redis key value storage system.', _COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri', } -- The following line is used for backwards compatibility in order to keep the `Redis` -- global module name. Using...
gpl-2.0
BeyondTeam/BDMessenger
libs/lua-redis.lua
580
35599
local redis = { _VERSION = 'redis-lua 2.0.4', _DESCRIPTION = 'A Lua client library for the redis key value storage system.', _COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri', } -- The following line is used for backwards compatibility in order to keep the `Redis` -- global module name. Using...
gpl-3.0
jozeff3/devill
plugins/ar-en-sof2.lua
5
7891
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY jOker ▀▄ ▄▀ ▀▄ ▄▀ BY joker (@fuck_8_you) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY joker ▀▄ ▄▀ ▀▄ ▄▀ broadcast : زخرفة عربي و نكلش ▀▄ ▄▀ ▀▄▀...
gpl-2.0
TeoTwawki/darkstar
scripts/zones/Nashmau/npcs/Jajaroon.lua
12
1129
----------------------------------- -- Area: Nashmau -- NPC: Jajaroon -- Standard Merchant NPC ----------------------------------- local ID = require("scripts/zones/Nashmau/IDs") require("scripts/globals/shop") function onTrade(player,npc,trade) end function onTrigger(player,npc) local stock = { 2176...
gpl-3.0
Elv13/awesome-1
build-utils/check_for_invalid_requires.lua
7
3090
#!/usr/bin/env lua -- This uses the "depgraph" package to parse all source code and look for calls -- to require(). For all these uses, we make sure that it is allowed by the -- white-list below. This is done to mitigate the risk of cyclic dependencies -- between modules and to (hopefully) enforce a bit of sane code s...
gpl-2.0
cuit-zhaxin/quick-ng
cocos/scripting/lua-bindings/auto/api/JumpTiles3D.lua
7
2403
-------------------------------- -- @module JumpTiles3D -- @extend TiledGrid3DAction -- @parent_module cc -------------------------------- -- brief Get the amplitude rate of the effect.<br> -- return Return the amplitude rate of the effect. -- @function [parent=#JumpTiles3D] getAmplitudeRate -- @param self -- @retur...
mit
TeoTwawki/darkstar
scripts/zones/Metalworks/npcs/Karst.lua
2
1424
----------------------------------- -- Area: Metalworks -- NPC: Karst -- Type: President -- Involved in Bastok Missions 5-2 -- !pos 106 -21 0 237 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); ----------------------------------- function onTrade(player,np...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Bastok_Markets/npcs/Nbu_Latteh.lua
2
3140
----------------------------------- -- Area: Bastok Markets -- NPC: Nbu Latteh -- Starts & Finishes Quest: Mom, The Adventurer? -- Starts Quest: The Signpost Marks the Spot ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/titles"); r...
gpl-3.0
rgburke/wed
wedruntime/lua/lexers/xml.lua
5
2892
-- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE. -- XML LPeg lexer. local l = require('lexer') local token, word_match = l.token, l.word_match local P, R, S, V = lpeg.P, lpeg.R, lpeg.S, lpeg.V local M = {_NAME = 'xml'} -- Whitespace. local ws = token(l.WHITESPACE, l.space^1) -- Comments and CD...
gpl-2.0
teksw/txw
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) 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_print...
gpl-2.0
dani-sj/capitan03
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) 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_print...
gpl-2.0
ioiasff/ssse
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) 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_print...
gpl-2.0
soheildiss/sodism
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) 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_print...
gpl-2.0
ThisIsRedonkulous/HoneyBee
Angel-3.2/Code/Tools/BuildScripts/lua-lib/penlight-1.0.2/lua/pl/comprehension.lua
13
9071
--- List comprehensions implemented in Lua. -- -- See the [wiki page](http://lua-users.org/wiki/ListComprehensions) -- -- local C= require 'pl.comprehension' . new() -- -- C ('x for x=1,10') () -- ==> {1,2,3,4,5,6,7,8,9,10} -- C 'x^2 for x=1,4' () -- ==> {1,4,9,16} -- C '{x,x^2} for x=1,4' () -- ==...
gpl-2.0
TeoTwawki/darkstar
scripts/zones/Sealions_Den/mobs/Mammet-22_Zeta.lua
2
1841
----------------------------------- -- Area: Sealions Den -- Mob: Mammet-22_Zeta ----------------------------------- local ID = require("scripts/zones/Sealions_Den/IDs") require("scripts/globals/titles") ----------------------------------- function onMobInitialize(mob) mob:setMobMod(dsp.mobMod.EXP_BONUS, -100) ...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/items/windurst_taco.lua
11
1348
----------------------------------------- -- ID: 5172 -- Item: windurst_taco -- Food Effect: 30Min, All Races ----------------------------------------- -- MP 20 -- Vitality -1 -- Agility 5 -- MP Recovered While Healing 1 -- Ranged Accuracy % 8 (cap 10) -- Ranged Attack +1 ----------------------------------------- requi...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Sauromugue_Champaign_[S]/Zone.lua
2
1083
----------------------------------- -- -- Zone: Sauromugue_Champaign_[S] (98) -- ----------------------------------- local ID = require("scripts/zones/Sauromugue_Champaign_[S]/IDs") require("scripts/globals/quests") require("scripts/globals/zone") ----------------------------------- function onInitialize(zone) Upd...
gpl-3.0
kooiot/GoIoT
shared/io/serial/init.lua
1
3238
local rs232 = require("luars232") local class = {} --- Open serial port -- Linux -- port_name = "/dev/ttyS0" -- (Open)BSD -- port_name = "/dev/cua00" -- Windows --port_name = "COM1" -- @tparam string port_name the searial port name -- @tparam table option table -- @tparam function callback function(data) function cl...
gpl-2.0
T4Larson/OpenTomb
scripts/autoexec/tr3/CHAMBER.lua
3
1103
function autoexec_PreLoad() static_tbl[00] = {coll = COLLISION_TYPE_STATIC, shape = COLLISION_SHAPE_BOX}; -- Stone face static_tbl[10] = {coll = COLLISION_TYPE_NONE, shape = COLLISION_SHAPE_BOX}; -- Floodlight static_tbl[11] = {coll = COLLISION_TYPE_NONE, shape = COLLISION_SHAPE_BO...
lgpl-3.0
cuit-zhaxin/quick-ng
quick/framework/cc/components/ui/BasicLayoutProtocol.lua
20
3735
local Component = cc.Component local BasicLayoutProtocol = class("BasicLayoutProtocol", Component) local MAX = 999999 function BasicLayoutProtocol:ctor() BasicLayoutProtocol.super.ctor(self, "BasicLayoutProtocol") end function BasicLayoutProtocol:getLayoutSize() if self.layoutSize_ then return self....
mit
TeoTwawki/darkstar
scripts/zones/Port_Bastok/npcs/Ominous_Cloud.lua
3
2828
----------------------------------- -- Area: Port Bastok -- NPC: Ominous Cloud -- Type: Ninjutsu Toolbag Maker -- !pos 146.962 7.499 -63.316 236 ----------------------------------- local ID = require("scripts/zones/Port_Bastok/IDs"); function onTrade(player,npc,trade) local toolList = { {1161, 5308},...
gpl-3.0
981213/luci-1
modules/luci-mod-admin-full/luasrc/model/cbi/admin_status/processes.lua
75
1236
-- 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. f = SimpleForm("processes", translate("Processes"), translate("This list gives an overview over currently running system processes and their status.")) f.reset...
apache-2.0
TeoTwawki/darkstar
scripts/zones/Lebros_Cavern/instances/troll_fugitives.lua
12
1808
----------------------------------- -- -- Assault: Troll Fugitives -- ----------------------------------- local ID = require("scripts/zones/Lebros_Cavern/IDs") require("scripts/globals/instance") ----------------------------------- function afterInstanceRegister(player) local instance = player:getInstance() pl...
gpl-3.0
cuit-zhaxin/quick-ng
quick/samples/touch/src/app/includes/functions.lua
8
2675
function createTouchableSprite(p) local sprite = display.newScale9Sprite(p.image) sprite:setContentSize(p.size) local cs = sprite:getContentSize() local label = cc.ui.UILabel.new({ UILabelType = 2, text = p.label, color = p.labelColor}) label:align(display.CENTE...
mit
LuaDist/lrexlib-posix
test/oniguruma_sets.lua
6
5000
-- See Copyright Notice in the file LICENSE local luatest = require "luatest" local N = luatest.NT local function norm(a) return a==nil and N or a end local function fill (n, m) local t = {} for i = n, m, -1 do table.insert (t, i) end return t end local function set_named_subpatterns (lib, flg) return { ...
mit
TeoTwawki/darkstar
scripts/globals/items/whale_staff_+1.lua
12
1081
----------------------------------------- -- ID: 17534 -- Item: Whale Staff +1 -- Additional Effect: Water Damage ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------- function onAdditionalEffect(p...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Hazhalm_Testing_Grounds/npcs/_260.lua
2
1104
----------------------------------- -- Area: Hazhalm Testing Grounds -- NPC: Entry Gate (TOAU-36) ----------------------------------- local ID = require("scripts/zones/Hazhalm_Testing_Grounds/IDs"); require("scripts/globals/keyitems"); require("scripts/globals/missions"); require("scripts/globals/titles"); -----------...
gpl-3.0
jozeff3/devill
plugins/insta.lua
10
4264
--[[ # For More Information ....! # Developer : Aziz < @devss_bot > #Dev # our channel: @help_tele ]] local access_token = "3084249803.280d5d7.999310365c8248f8948ee0f6929c2f02" -- your api key local function instagramUser(msg, query) local receiver = get_receiver(msg) local url = "https://api.instagram.com/...
gpl-2.0
TeoTwawki/darkstar
scripts/zones/La_Theine_Plateau/npcs/Vicorpasse.lua
2
1733
----------------------------------- -- Area: La Theine Plateau -- NPC: Vicorpasse -- Involved in Mission: The Rescue Drill -- !pos -344 37 266 102 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); local ID = require("scripts/zones/La_Theine_Plateau/IDs"); ---...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/spells/bio_ii.lua
11
2275
----------------------------------------- -- Spell: Bio II -- Deals dark damage that weakens an enemy's attacks and gradually reduces its HP. ----------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/utils") ...
gpl-3.0
MHoroszowski/Automato-ATITD
scripts/cut_stones.lua
2
2460
-- Open windows with window_opener.lua -- Arrange them with winder_arranger.lua in rock saw mode -- Run this -- Profit! dofile("screen_reader_common.inc"); dofile("ui_utils.inc"); --local expected_windows = 40; -- Just to double check you don't have any extra windows open that it'll try to click on expecte...
mit
WeakAuras/WeakAuras2
WeakAurasOptions/SubRegionOptions/Border.lua
1
1692
if not WeakAuras.IsLibsOK() then return end local AddonName, OptionsPrivate = ... local L = WeakAuras.L; local function createOptions(parentData, data, index, subIndex) local options = { __title = L["Border %s"]:format(subIndex), __order = 1, border_visible = { type = "toggle", width = WeakA...
gpl-2.0
TeoTwawki/darkstar
scripts/globals/weaponskills/seraph_blade.lua
10
1346
----------------------------------- -- Seraph Blade -- Sword weapon skill -- Skill Level: 125 -- Deals light elemental damage to enemy. Damage varies with TP. -- Ignores shadows. -- Aligned with the Soil Gorget. -- Aligned with the Soil Belt. -- Element: Light -- Modifiers: STR:40% MND:40% -- 100%TP 200%TP 300%T...
gpl-3.0
abbasgh12345/extremeboss
plugins/admin.lua
230
6382
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
wiremod/wire
lua/entities/gmod_wire_thruster.lua
1
6944
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Thruster" ENT.RenderGroup = RENDERGROUP_BOTH -- TODO: this is only needed when they're active. ENT.WireDebugName = "Thruster" WireLib.ThrusterNetEffects = { ["fire_smoke"] = true } function ENT:SetEffect( name ) self:SetNWString( "E...
apache-2.0
TeoTwawki/darkstar
scripts/zones/Apollyon/mobs/Troglodyte_Dhalmel.lua
3
1209
----------------------------------- -- Area: Apollyon NE -- NPC: Troglodyte Dhalmel ----------------------------------- require("scripts/globals/limbus"); ----------------------------------- -- onMobSpawn Action ----------------------------------- ----------------------------------- -- onMobEngaged ----------------...
gpl-3.0
ReWrite94/iLife
client/Classes/Firework/Rocket/cRomanCandleBattery.lua
2
1359
-- -- Created by IntelliJ IDEA. -- User: Noneatme -- Date: 26.12.2014 -- Time: 00:26 -- Project: MTA iLife -- cRomanCandleBattery = {}; --[[ ]] -- /////////////////////////////// -- ///// New ////// -- ///// Returns: Object ////// -- /////////////////////////////// function cRomanCandleBattery:new(...) local o...
mit
TeoTwawki/darkstar
scripts/zones/Spire_of_Dem/bcnms/ancient_flames_beckon.lua
1
5058
----------------------------------- -- Area: Spire_of_Dem -- Name: ancient_flames_backon -- KSNM30 ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/battlefield") require("scripts/globals/keyitems"); require("scripts/globals/quests"); require("scripts/globals/missions"); r...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/items/betta.lua
11
1044
----------------------------------------- -- ID: 5139 -- Item: Betta -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----------------------------------------- ...
gpl-3.0
TeoTwawki/darkstar
scripts/globals/items/burning_cesti.lua
12
1073
----------------------------------------- -- ID: 16398 -- Item: Burning Cesti -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------- function onAdditionalEffect(pla...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Labyrinth_of_Onzozo/npcs/qm2.lua
2
1140
----------------------------------- -- Area: Labyrinth of Onzozo -- NPC: ??? (qm2) -- Involved in Quest: Yomi Okuri -- !pos -176 10 -60 213 ----------------------------------- local ID = require("scripts/zones/Labyrinth_of_Onzozo/IDs") require("scripts/globals/keyitems") ----------------------------------- function o...
gpl-3.0
kooiot/GoIoT
shared/msg/reply.lua
2
1062
--- Helper function for parsing the reply message local cjson = require 'cjson.safe' --- Decode the raw data to message object -- @function Module -- @tparam string raw the raw data -- @tparam string msg the message id to verify the raw data to make sure they have same id -- @treturn table message object -- @treturn...
gpl-2.0
TeoTwawki/darkstar
scripts/globals/items/dish_of_spaghetti_carbonara_+1.lua
11
1548
----------------------------------------- -- ID: 5199 -- Item: dish_of_spaghetti_carbonara_+1 -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 14 -- Health Cap 180 -- Magic 15 -- Strength 4 -- Vitality 2 -- Intelligence -3 -- Attack % 17 -- Attack Cap 70 -- Store TP 6 -------------...
gpl-3.0
detect00r/zed-spam
plugins/meme.lua
637
5791
local helpers = require "OAuth.helpers" local _file_memes = './data/memes.lua' local _cache = {} local function post_petition(url, arguments) local response_body = {} local request_constructor = { url = url, method = "POST", sink = ltn12.sink.table(response_body), headers = {}, red...
gpl-2.0
ReWrite94/iLife
client/Manager/Sound/cCustomWeaponSoundManager.lua
2
4996
-- ####################################### -- ## Project: MTA iLife ## -- ## Name: CustomWeaponSoundManager.lua ## -- ## Author: Noneatme ## -- ## Version: 1.0 ## -- ## License: See top Folder ## -- ####################################### -- FUNCTIONS / METHODS -- local cFunc = {}; -- Local Functions...
mit
swordday/lunar
lunar/fiber.lua
1
2125
local class = require("rtti").class local fiber = class("fiber") fiber.s_Guarded = false fiber.s_Fibers = {} fiber.s_WaitingFibers = {} -- fiber -- m_co coroutine -- m_paused boolean -- Initialize Function function fiber:ctor() end function fiber:init() end function fiber:release() end -- S...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Lower_Jeuno/npcs/Panta-Putta.lua
2
3806
----------------------------------- -- Area: Lower Jeuno -- NPC: Panta-Putta -- Starts and Finishes Quest: The Wonder Magic Set, The kind cardian -- Involved in Quests: The Lost Cardian -- !pos -61 0 -140 245 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); re...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Northern_San_dOria/npcs/Narcheral.lua
1
3774
----------------------------------- -- Area: Northern San d'Oria -- NPC: Narcheral -- Starts and Finishes Quest: Messenger from Beyond, Prelude of Black and White (Finish), Pieuje's Decision (Finish) -- !pos 129 -11 126 231 ----------------------------------- local ID = require("scripts/zones/Northern_San_dOria/IDs") ...
gpl-3.0
TeoTwawki/darkstar
scripts/zones/Ranguemont_Pass/IDs.lua
3
1367
----------------------------------- -- Area: Ranguemont_Pass ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.RANGUEMONT_PASS] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come ba...
gpl-3.0
Elv13/awesome-1
tests/examples/wibox/container/defaults/margin.lua
5
1382
--DOC_HIDE_ALL --DOC_GEN_IMAGE local wibox = require("wibox") local beautiful = require("beautiful") return { nil, { nil, { { text = "Before", align = "center", valign = "center", widget = wibox.widget.textbox, ...
gpl-2.0
TeoTwawki/darkstar
scripts/globals/spells/bluemagic/power_attack.lua
8
1541
----------------------------------------- -- 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
LuaDist2/dromozoa-json
test_patch.lua
3
3807
-- Copyright (C) 2015 Tomoyuki Fujimori <moyu@dromozoa.com> -- -- This file is part of dromozoa-json. -- -- dromozoa-json 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 -...
gpl-3.0
cuit-zhaxin/quick-ng
quick/samples/tests/src/game.lua
8
3945
require("config") require("framework.init") -- define global module game = {} function game.startup() cc.FileUtils:getInstance():addSearchPath("res/") game.enterMainScene() end function game.createMenu(items, callback) local menu = cc.ui.UIListView.new { viewRect = cc.rect(display.cx - 200, dis...
mit
TeoTwawki/darkstar
scripts/zones/Port_Bastok/npcs/Ferrol.lua
2
2755
----------------------------------- -- Area: Port Bastok -- NPC: Ferrol -- Starts Quest: Trial Size Trial by Earth -- !pos 33.708 6.499 -39.425 236 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/quests"); require("scripts/globals/teleports"); local ID = require("scripts...
gpl-3.0
wiremod/wire
lua/entities/gmod_wire_spu/cl_spuvm.lua
6
15619
-------------------------------------------------------------------------------- -- Override virtual machine functions and features -------------------------------------------------------------------------------- local VM = {} function ENT:OverrideVM() -- Store VM calls that will be overriden self.VM.BaseReset = s...
apache-2.0
TeoTwawki/darkstar
scripts/zones/Kuftal_Tunnel/npcs/qm6.lua
2
1586
----------------------------------- -- Area: Kuftal Tunnel -- NPC: ??? -- Involved in Mission: Bastok 8-2 ----------------------------------- local ID = require("scripts/zones/Kuftal_Tunnel/IDs") require("scripts/globals/keyitems") require("scripts/globals/missions") require("scripts/globals/npc_util") ---------------...
gpl-3.0
981213/luci-1
applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-pbx.lua
68
1923
-- 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 pbx_ael = module:option(ListV...
apache-2.0
weiboad/adbase
adbase/Head/wireshark_adhead.lua
1
3900
-- -- wireshark adhead 插件使用方法 -- MAC 平台下: -- -- 将该文件复制到/Applications/Wireshark.app/Contents/Resources/share/wireshark 目录下 -- 修改/Applications/Wireshark.app/Contents/Resources/share/wireshark/init.lua 在最后添加 -- dofile("wireshark_adhead.lua") -- 重新启动即可 -- -- 需要注意端口号,默认是10061, 如果不是请再该文件最后修改 -- -- do --[[ 创建一个新的...
apache-2.0
dani-sj/capitan03
plugins/boobs.lua
731
1601
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
miralireza2/last_stand
plugins/boobs.lua
731
1601
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
ReWrite94/iLife
client/Classes/util/Configs/cConfig_FriendlistConfig.lua
2
1229
-- ####################################### -- ## Project: iLife ## -- ## For MTA: San Andreas ## -- ## Name: Script.lua ## -- ## Author: Noneatme(Gunvarrel) ## -- ## Version: 1.0 ## -- ## License: See top Folder ## -- ####################################### cConfig_Friendlist = inherit(cConf...
mit
notcake/gcad
lua/gcad/space/shapes/planes/normalizedplane2d.lua
1
7327
local self = {} GCAD.NormalizedPlane2d = GCAD.MakeConstructor (self) local GCAD_Vector2d_Dot = GCAD.Vector2d.Dot local GCAD_Vector2d_Length = GCAD.Vector2d.Length local GCAD_UnpackedVector2d_Length = GCAD.UnpackedVector2d.Length local GCAD_UnpackedVector2d_Normalize = GCAD.UnpackedVector2d....
gpl-3.0
TeoTwawki/darkstar
scripts/zones/The_Garden_of_RuHmet/mobs/Awghrah.lua
3
2618
----------------------------------- -- Area: The Garden of Ru'Hmet -- MOB: Aw'ghrah ----------------------------------- require("scripts/globals/status"); ----------------------------------- function onMobSpawn(mob) -- Set core Skin and mob elemental resist/weakness; other elements set to 0. -- Set to non agg...
gpl-3.0
kaszubowski/nadzoru
class/scada/component/alarm.lua
1
2811
--[[ This file is part of nadzoru. nadzoru is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. nadzoru is distri...
lgpl-3.0
TeoTwawki/darkstar
scripts/globals/items/winterflower.lua
11
1056
----------------------------------------- -- ID: 5907 -- Item: Winterflower -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility +3 -- Intelligence +5 -- Charisma -5 -- Resist Virus +20 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/m...
gpl-3.0
dxmgame/dxm-cocos
src/apps/lua-empty-test/Resources/src/cocos/framework/extends/UIScrollView.lua
55
2042
--[[ 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
TeoTwawki/darkstar
scripts/globals/spells/aspir_ii.lua
12
1473
----------------------------------------- -- Spell: Aspir -- Drain functions only on skill level!! ----------------------------------------- require("scripts/globals/magic") require("scripts/globals/status") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,ta...
gpl-3.0
prapin/premake-core
src/base/validation.lua
10
4186
--- -- base/validation.lua -- -- Verify the contents of the project object before handing them off to -- the action/exporter. -- -- Copyright (c) 2002-2014 Jason Perkins and the Premake project --- local p = premake --- -- Validate the global container and all of its contents. --- function p.global.validate(self...
bsd-3-clause
LuaDist2/lua-log
lua/log/writer/net/server/zmq.lua
4
1302
local Z = require "log.writer.net.zmq._private.compat" local IMPL = require "log.writer.net.zmq._private.impl" local zmq, ETERM, zstrerror, zassert, zrecv = Z.zmq, Z.ETERM, Z.strerror, Z.assert, Z.recv local zerrcode = Z.errcode local log_packer = require "log.logformat.proxy.pack" local _M = {} functi...
mit
TeoTwawki/darkstar
scripts/zones/Open_sea_route_to_Al_Zahbi/IDs.lua
12
1193
----------------------------------- -- Area: Open_sea_route_to_Al_Zahbi ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.OPEN_SEA_ROUTE_TO_AL_ZAHBI] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot ob...
gpl-3.0
oeuftete/wx-xword
scripts/xword/preferences.lua
1
1063
-- ============================================================================ -- Preferences panels -- This script adds panels to the preferences dialog -- ============================================================================ -- Use this function to add a panel to the preferences dialog xword.prefe...
gpl-3.0
voydz/vektor
libs/AceTimer-3.0/AceTimer-3.0.lua
31
9798
--- **AceTimer-3.0** provides a central facility for registering timers. -- AceTimer supports one-shot timers and repeating timers. All timers are stored in an efficient -- data structure that allows easy dispatching and fast rescheduling. Timers can be registered -- or canceled at any time, even from within a running ...
mit
innovatormrityunjay/sipml5
asterisk/etc/extensions.lua
317
5827
CONSOLE = "Console/dsp" -- Console interface for demo --CONSOLE = "DAHDI/1" --CONSOLE = "Phone/phone0" IAXINFO = "guest" -- IAXtel username/password --IAXINFO = "myuser:mypass" TRUNK = "DAHDI/G2" TRUNKMSD = 1 -- TRUNK = "IAX2/user:pass@provider" -- -- Extensions are expected to be defined in a global table ...
bsd-3-clause