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
PicassoCT/Journeywar
LuaUI/widgets/chili/skins/DarkGlass/skin.lua
43
1112
--//============================================================================= --// GlassSkin local skin = { info = { name = "DarkGlass", version = "0.11", author = "jK", depend = { "Glass", }, } } --//============================================================================= ...
gpl-3.0
Aquanim/Zero-K
LuaUI/Widgets/gui_chili_chat2_1.lua
6
33757
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- TODO : extract code that can be shared between widgets (parsing) and maybe move it to cawidget and add new callin -- TODO (maybe) : extract code that can ...
gpl-2.0
aliarshad2000/hunterbot
bot/seedbot.lua
1
8611
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 = '1.0' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then retu...
gpl-2.0
felipeprov/premake-core
tests/actions/vstudio/vc200x/test_project_refs.lua
7
1848
-- -- tests/actions/vstudio/vc200x/test_project_refs.lua -- Validate project references in Visual Studio 200x C/C++ projects. -- Copyright (c) 2011-2012 Jason Perkins and the Premake project -- T.vstudio_vs200x_project_refs = { } local suite = T.vstudio_vs200x_project_refs local vc200x = premake.vstudio.vc200x --...
bsd-3-clause
b03605079/darkstar
scripts/zones/Port_Windurst/npcs/Kuroido-Moido.lua
15
3894
----------------------------------- -- Area: Port Windurst -- NPC: Kuriodo-Moido -- Involved In Quest: Making Amends, Wonder Wands -- Starts and Finishes: Making Amens! -- Working 100% ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ---------------------------...
gpl-3.0
PicassoCT/Journeywar
units/gaia/gTriggerZone.lua
1
1156
local unitName = "triggerzone" local unitDef = { name = "Trigger", Description = "Triggers Any ActionZone guarded", objectName = "gZoneMarker.s3o", script = "gZoneScript.lua", buildPic = "placeholder.png", levelGround =false, --cost upRight=true, buildCostMetal = 15, buildCostEnergy = 1, buildTime = 1, --Health maxDama...
gpl-3.0
node-wot/node-wot
lua_modules/bh1750/bh1750_Example2.lua
89
1719
-- *************************************************************************** -- BH1750 Example Program for ESP8266 with nodeMCU -- BH1750 compatible tested 2015-1-30 -- -- Written by xiaohu -- -- MIT license, http://opensource.org/licenses/MIT -- ***********************************************************************...
mit
PHYsicalAttack/Interest
November_Rain.lua
1
1728
--November Rain singer:Guns N'Roses When I look into your eyes I can see a love restrained But darlin' when I hold you,don't know I feel the same 'Cause nothin' lasts forever and we both know heats can change And it's hard to hold a candle in the cold november rain We've been through this such a long long time Just try...
gpl-3.0
Wiladams/LJIT2s2n
examples/s2nc.lua
1
7530
#include <sys/types.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <sys/poll.h> #include <netdb.h> #include <stdlib.h> #include <signal.h> #include <unistd.h> #include <string.h> #include <stdio.h> #include <getopt.h> #include <errno.h> #include <s2n.h> local function usage() fprintf(stderr, "usa...
mit
b03605079/darkstar
scripts/zones/Konschtat_Highlands/npcs/Signpost2.lua
34
1033
----------------------------------- -- Area: Konschtat Highlands -- NPC: Signpost -- @pos 387 32 386 108 ----------------------------------- package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Konschtat_Highlands/TextIDs"); ---------...
gpl-3.0
ahmedalobaidyshado/dev_ahm3d
plugins/ar-me.lua
2
1586
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY Th3_BOOS ▀▄ ▄▀ ▀▄ ▄▀ BY Th3_BOOS (@Th3_BOOS) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY Th3_BOOS ▀▄ ▄▀ ▀▄ ▄▀ ME BOT : شنو اني ▀▄ ▄▀ ▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄...
gpl-2.0
Aquanim/Zero-K
units/planelightscout.lua
2
1988
return { planelightscout = { unitname = [[planelightscout]], name = [[Sparrow]], description = [[Light Scout Plane]], brakerate = 0.4, buildCostMetal = 235, builder = false, buildPic = [[planelightscout.png]], canFly = ...
gpl-2.0
geoffleyland/rima
lua/test/strict.lua
1
1830
-- -- rima's version of strict.lua -- also found in the lua distribution, in penlight, in idle and discussed -- here: http://lua-users.org/wiki/DetectingUndefinedVariables -- -- In addition to behaving like the original, this version overrides -- module and setfenv to make any new global environments strict. -- Because...
mit
b03605079/darkstar
scripts/zones/Monarch_Linn/mobs/Mammet-19_Epsilon.lua
6
3622
----------------------------------- -- Area: Monarch Linn -- NPC: Mammet 19 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; -------------------------------...
gpl-3.0
b03605079/darkstar
scripts/globals/items/plate_of_salmon_sushi.lua
35
1477
----------------------------------------- -- ID: 5663 -- Item: plate_of_salmon_sushi -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 1 -- Accuracy % 14 -- Ranged ACC % 14 ----------------------------------------- require("scripts/globals/status"); -------------------...
gpl-3.0
DI3HARD139/dcb-everamzah-
mods/xdecor/legacy.lua
1
4389
xdecor.register("cardboard_box", { description = "Cardboard Box", inventory = {size=8}, infotext = "Cardboard Box", groups = {snappy=3, flammable=3}, tiles = {"xdecor_cardbox_top.png", "xdecor_cardbox_top.png", "xdecor_cardbox_sides.png"}, node_box = { type = "fixed", fixed = {{-0.3125, -0.5, -0.3125, 0.3125...
gpl-3.0
b03605079/darkstar
scripts/zones/South_Gustaberg/MobIDs.lua
36
1267
----------------------------------- -- Area: South Gustaberg -- Comments: -- posX, posY, posZ --(Taken from 'mob_spawn_points' table) ----------------------------------- -- Leaping Lizzy Leaping_Lizzy=17215888; Leaping_Lizzy_PH={ [17215864] = '1', -- -228.159, 18.045, -411.726 [17215863] = '1', -- -260...
gpl-3.0
b03605079/darkstar
scripts/globals/mobskills/High-Tension_Discharger.lua
6
1249
--------------------------------------------------- -- High-Tension_Discharger -- Description: -- Type: Magical -- additional effect : Stun --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpmoves"); --...
gpl-3.0
b03605079/darkstar
scripts/zones/Bostaunieux_Oubliette/Zone.lua
2
2338
----------------------------------- -- -- Zone: Bostaunieux_Oubliette (167) -- ----------------------------------- package.loaded["scripts/zones/Bostaunieux_Oubliette/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Bostaunieux_Oubliette/TextIDs"...
gpl-3.0
Anubhav652/GTW-RPG
[resources]/GTWpolice/data.lua
1
4050
--[[ ******************************************************************************** Project owner: RageQuit community Project name: GTW-RPG Developers: Mr_Moose Source code: https://github.com/GTWCode/GTW-RPG/ Bugtracker: http://forum.404rq.com/bug-reports/ Suggestions: http://forum.404rq.com/mta-se...
gpl-3.0
PicassoCT/Journeywar
scripts/jfiredancegliderscript.lua
1
2455
include "createCorpse.lua" include "lib_OS.lua" include "lib_UnitScript.lua" include "lib_Animation.lua" include "lib_Build.lua" TablesOfPiecesGroups = {} function script.HitByWeapon(x, z, weaponDefID, damage) end center = piece "center" aimpiece = piece "Glider" function script.Create() generatepiecesTableAndA...
gpl-3.0
Aquanim/Zero-K
effects/gundam_rocketlaunch.lua
26
2320
-- rocketlaunch return { ["rocketlaunch"] = { groundflash = { air = true, circlealpha = 0.6, circlegrowth = 6, flashalpha = 0.9, flashsize = 120, ground = true, ttl = 13, water = t...
gpl-2.0
arychen/GlobalCall
feeds/packages/net/luci-app-bcp38/files/bcp38-cbi.lua
100
1840
--[[ LuCI - Lua Configuration Interface Copyright 2014 Toke Høiland-Jørgensen <toke@toke.dk> 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$ ]]-- ...
gpl-2.0
stars2014/quick-ng
quick/framework/cc/ui/UISlider.lua
7
19281
--[[ 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
b03605079/darkstar
scripts/globals/items/hellfire_axe.lua
16
1030
----------------------------------------- -- ID: 16713 -- Item: Hellfire Axe -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -------------------------------...
gpl-3.0
Azrael1/treelstm
util/Vocab.lua
1
2994
--[[ A vocabulary object. Initialized from a file with one vocabulary token per line. Maps between vocabulary tokens and indices. If an UNK token is defined in the vocabulary, returns the index to this token if queried for an out-of-vocabulary token. --]] local Vocab = torch.class('treelstm.Vocab') function Vocab:_...
gpl-2.0
cosmy1/Urho3D
bin/Data/LuaScripts/Utilities/2D/Sample2D.lua
5
20053
-- Convenient functions for Urho2D samples: -- - Generate collision shapes from a tmx file objects -- - Create Spriter Imp character -- - Load Mover script object class from file -- - Create enemies, coins and platforms to tile map placeholders -- - Handle camera zoom using PageUp, PageDown and MouseWhee...
mit
b03605079/darkstar
scripts/globals/mobskills/Bai_Wing.lua
6
1098
--------------------------------------------- -- Bai Wing -- -- Description: A hot wind deals Fire damage to enemies within a very wide area of effect. Additional effect: Plague -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: 30' radial. -- Notes: Used only by Ouryu and Cuelebre while fl...
gpl-3.0
felipeprov/premake-core
tests/tools/test_msc.lua
3
6283
-- -- tests/test_msc.lua -- Automated test suite for the Microsoft C toolset interface. -- Copyright (c) 2012-2013 Jason Perkins and the Premake project -- local suite = test.declare("tools_msc") local msc = premake.tools.msc -- -- Setup/teardown -- local sln, prj, cfg function suite.setup() sln, prj = test...
bsd-3-clause
b03605079/darkstar
scripts/zones/Den_of_Rancor/TextIDs.lua
5
1067
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6382; -- Obtained: <item> GIL_OBTAINED = 6383; -- Obtained <number> gil KEYITEM_OBTAINED = 6385; -- Obtain...
gpl-3.0
stars2014/quick-ng
quick/samples/tests/src/tests/framework/cloneTest.lua
8
5289
local CloneTestScene = game.createSceneClass("CloneTestScene") function CloneTestScene:ctor() cc.FileUtils:getInstance():addSearchPath("src/") self:prepare({ description = "the left widget is clone from right" }) self:cloneTest() end function CloneTestScene:cloneTest() self:cloneButton()...
mit
Aquanim/Zero-K
effects/gundam_comm_explosiona.lua
26
4807
-- comm_explosiona return { ["comm_explosiona"] = { dirt = { count = 4, ground = true, properties = { alphafalloff = 2, alwaysvisible = true, color = [[0.2, 0.1, 0.05]], pos = [[r-10 r10, 0, r-10 r10...
gpl-2.0
b03605079/darkstar
scripts/globals/weaponskills/red_lotus_blade.lua
30
1295
----------------------------------- -- Red Lotus Blade -- Sword weapon skill -- Skill Level: 50 -- Deals fire elemental damage to enemy. Damage varies with TP. -- Aligned with the Flame Gorget & Breeze Gorget. -- Aligned with the Flame Belt & Breeze Belt. -- Element: Fire -- Modifiers: STR:40% ; INT:40% -- 100...
gpl-3.0
shahabsaf1/newdev
bot/seedbot.lua
1
9943
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 = '1.0' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then retu...
gpl-2.0
Sakura-Winkey/LuCI
applications/luci-app-firewall/luasrc/model/cbi/firewall/zones.lua
45
2025
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local ds = require "luci.dispatcher" local fw = require "luci.model.firewall" local m, s, o, p, i, v m = Map("firewall", translate("Firewall - Zone Settings"), translate("The firewall creates zones over your...
apache-2.0
BlindGarret/gamecode4
Assets/Scripts/LevelPostInit.lua
44
1877
--======================================================================== -- ActorManager.lua : Executed after initializing the level -- -- Part of the GameCode4 Application -- -- GameCode4 is the sample application that encapsulates much of the source code -- discussed in "Game Coding Complete - 4th Edition" by...
lgpl-3.0
b03605079/darkstar
scripts/globals/weaponskills/spinning_axe.lua
30
1364
----------------------------------- -- Spinning Axe -- Axe weapon skill -- Skill level: 150 -- Single-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Flame Gorget, Soil Gorget & Thunder Gorget. -- Aligned with the Flame Belt, Soil Belt & Thunder Belt. -- Element: None --...
gpl-3.0
node-wot/node-wot
app/cjson/tests/test.lua
112
18076
#!/usr/bin/env lua -- Lua CJSON tests -- -- Mark Pulford <mark@kyne.com.au> -- -- Note: The output of this script is easier to read with "less -S" local json = require "cjson" local json_safe = require "cjson.safe" local util = require "cjson.util" local function gen_raw_octets() local chars = {} for i = 0, ...
mit
latlontude/Atlas
lib/ro-pooling.lua
40
7080
--[[ $%BEGINLICENSE%$ Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. 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; version 2 of the License. This program is distribut...
gpl-2.0
PicassoCT/Journeywar
lups/ParticleClasses/Ribbons.lua
1
11264
-- $Id: Ribbons.lua 3171 2008-11-06 09:06:29Z det $ ----------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- --// only works with >=77b1 if (Game.ve...
gpl-3.0
DawshArian/RadioSatan
plugins/english_lang.lua
20
17692
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-2.0
immibis/wiremod
lua/entities/gmod_wire_expression2/core/custom/prop.lua
1
13862
/******************************************************************************\ Prop Core by MrFaul started by ZeikJT report any wishes, issues to Mr.Faul@gmx.de (GER or ENG pls) \******************************************************************************/ E2Lib.RegisterExtension("propcore", false) PropCore = {} l...
apache-2.0
b03605079/darkstar
scripts/commands/additem.lua
3
1361
--------------------------------------------------------------------------------------------------- -- func: @additem <itemId> <quantity> <aug1> <v1> <aug2> <v2> <aug3> <v3> <aug4> <v4> <trial> -- auth: <Unknown> -- desc: Adds an item to the GMs inventory. -----------------------------------------------------------...
gpl-3.0
b03605079/darkstar
scripts/zones/Port_Bastok/npcs/Qiji.lua
36
2002
----------------------------------- -- Area: Port Bastok -- NPC: Qiji -- Starts & Ends Quest: Forever to Hold ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests")...
gpl-3.0
centaure/S4
examples/Liu_OE_17_21897_2009/fig3c.lua
7
1476
-- Fig. 3c of -- Victor Liu, Michelle Povinelli, and Shanhui Fan, -- "Resonance-enhanced optical forces between coupled photonic crystal slabs", -- Optics Express, Vol. 17, No. 24, 2009 S = S4.NewSimulation() S:SetLattice({1,0}, {0,0}) -- 1D lattice S:SetNumG(27) -- Material definition S:AddMaterial("Silico...
gpl-2.0
stevedonovan/Penlight
lua/pl/comprehension.lua
3
9062
--- 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' () -- ==...
mit
just-another-one-timmy/wireshark
test/lua/pinfo.lua
24
11221
-- test script for Pinfo and Address functions -- use with dhcp.pcap in test/captures directory local major, minor, micro = get_version():match("(%d+)%.(%d+)%.(%d+)") if major then major = tonumber(major) minor = tonumber(minor) micro = tonumber(micro) else major = 99 minor = 99 micro = 99 end ...
gpl-2.0
b03605079/darkstar
scripts/zones/Bastok_Markets/npcs/Hortense.lua
36
1972
----------------------------------- -- Area: Bastok Markets -- NPC: Hortense -- Standard Merchant NPC -- -- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require...
gpl-3.0
b03605079/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/HomePoint#1.lua
12
1260
----------------------------------- -- Area: Southern_San_dOria_[S] -- NPC: HomePoint#1 -- @pos ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); require("s...
gpl-3.0
b03605079/darkstar
scripts/globals/items/bowl_of_witch_stew.lua
35
1461
----------------------------------------- -- ID: 4344 -- Item: witch_stew -- Food Effect: 4hours, All Races ----------------------------------------- -- Magic Points 45 -- Strength -1 -- Mind 4 -- MP Recovered While Healing 4 -- Enmity -4 ----------------------------------------- require("scripts/globals/s...
gpl-3.0
ntrischi/dotfiles
.config/awesome/eminent/init.lua
11
1471
------------------------------------------ -- Effortless wmii-style dynamic tagging. ------------------------------------------ -- Lucas de Vries <lucas@glacicle.org> -- Licensed under the WTFPL version 2 -- * http://sam.zoy.org/wtfpl/COPYING ----------------------------------------- -- Cut version ------------------...
gpl-2.0
ahmedalobaidyshado/dev_ahm3d
plugins/ar-getlink.lua
3
28083
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY Th3_BOOS ▀▄ ▄▀ ▀▄ ▄▀ BY Th3_BOOS (@Th3_BOOS) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY Th3_BOOS ▀▄ ▄▀ ▀▄ ▄▀ A SPECiAL LINK : الرابط خاص ▀▄ ▄▀ ▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄...
gpl-2.0
larsnorbergofficial/DiabolicUI
modules/unitframes/elements/power.lua
2
8321
local _, Engine = ... local Handler = Engine:GetHandler("UnitFrame") local C = Engine:GetDB("Data: Colors") local F = Engine:GetDB("Library: Format") -- Lua API local math_floor = math.floor local pairs = pairs local tonumber = tonumber local tostring = tostring local unpack = unpack -- WoW API local GetSpecializatio...
mit
b03605079/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Renten-Tonten.lua
38
1053
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Renten-Tonten -- Type: Standard NPC -- @zone: 94 -- @pos 133.840 -6.75 173.305 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n...
gpl-3.0
b03605079/darkstar
scripts/globals/abilities/divine_waltz.lua
3
1830
----------------------------------- -- Ability: Divine Waltz ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- onUseAbility ----------------------------------- function onAbilityCheck(player,target,ability) ...
gpl-3.0
bakpakin/heroku-buildpack-moonmint
heroku/share/lua/5.1/luarocks/fs/unix/tools.lua
7
7585
--- fs operations implemented with third-party tools for Unix platform abstractions. local tools = {} local fs = require("luarocks.fs") local dir = require("luarocks.dir") local cfg = require("luarocks.cfg") local vars = cfg.variables --- Adds prefix to command to make it run from a directory. -- @param directory s...
mit
xpol/luarocks
src/luarocks/fs/unix/tools.lua
7
7585
--- fs operations implemented with third-party tools for Unix platform abstractions. local tools = {} local fs = require("luarocks.fs") local dir = require("luarocks.dir") local cfg = require("luarocks.cfg") local vars = cfg.variables --- Adds prefix to command to make it run from a directory. -- @param directory s...
mit
pezhmanEX/first
plugins/invite.lua
1111
1195
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
TahaLord/Guardian
plugins/invite.lua
1111
1195
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
hfjgjfg/grt12
plugins/invite.lua
1111
1195
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
mbmahdi/mb_bot
plugins/invite.lua
1111
1195
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
virtualopensystems/snabbswitch
src/lib/virtio/virtq.lua
15
3106
-- Implements virtio virtq module(...,package.seeall) local freelist = require("core.freelist") local lib = require("core.lib") local memory = require("core.memory") local ffi = require("ffi") local C = ffi.C local band = bit.band local rshift = bit.rshift require("lib.virtio.virtio.h...
apache-2.0
b03605079/darkstar
scripts/zones/Gustav_Tunnel/mobs/macroplasm.lua
5
1096
---------------------------------- -- Area: Gustav Tunnel -- MOB: macroplasm ----------------------------------- package.loaded["scripts/zones/Gustav_Tunnel/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/zones/Gustav_Tunnel/TextIDs"); ---------------------...
gpl-3.0
lualatex/luaotfload
src/luaotfload-resolvers.lua
2
11007
#!/usr/bin/env texlua ----------------------------------------------------------------------- -- FILE: luaotfload-resolvers.lua -- USAGE: ./luaotfload-resolvers.lua -- DESCRIPTION: Resolvers for hooking into the fontloader -- REQUIREMENTS: Luaotfload and a decent bit of courage -- AUTHOR: Ph...
gpl-2.0
PicassoCT/Journeywar
units/centrail/cComEnderNukeLvl3.lua
1
1268
local unitName = "ccomendernukelvl3" local unitDef = { name = "Explosions", Description = "We will meet again, dont know where dont know when, but we all go together when we go. <Projectile>", objectName = "cComENuke.s3o", script = "cnukescript.lua", buildPic = "placeholder.png", --floater = true, --cost build...
gpl-3.0
b03605079/darkstar
scripts/zones/Arrapago_Reef/npcs/_jic.lua
30
3664
----------------------------------- -- Area: Arrapago Reef -- Door: Runic Seal -- @pos 36 -10 620 54 ----------------------------------- package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/missions"); ...
gpl-3.0
greg100795/xenia
src/xenia/app/premake5.lua
1
1762
project_root = "../../.." include(project_root.."/build_tools") group("src") project("xenia-app") uuid("d7e98620-d007-4ad8-9dbd-b47c8853a17f") kind("WindowedApp") targetname("xenia") language("C++") links({ "beaengine", "elemental-forms", "gflags", "xenia-apu", "xenia-apu-nop", "xenia...
bsd-3-clause
PicassoCT/Journeywar
gamedata/explosions/fireSparks.lua
1
1621
-- beamimpact return { ["fireSparks"] = { poof02 = { air = true, class = [[CSimpleParticleSystem]], count = 1, ground = true, water = true, properties = { airdrag = 0.2, alwaysvis...
gpl-3.0
Anubhav652/GTW-RPG
[resources]/GTWplayerblips/playerblips.lua
1
6272
--[[ ******************************************************************************** Project owner: RageQuit community Project name: GTW-RPG Developers: Mr_Moose Source code: https://github.com/GTWCode/GTW-RPG/ Bugtracker: http://forum.404rq.com/bug-reports/ Suggestions: http://forum.404rq.com/mta-se...
gpl-3.0
moteus/luacov-coveralls
src/luacov/coveralls/CiRepo.lua
2
2134
local GitRepo = require"luacov.coveralls.repo.git" local ApvRepo = require"luacov.coveralls.repo.appveyor" local ci = require"luacov.coveralls.CiInfo" local function try_any_repo(repo_path) -- currenly support only git local repo, err = GitRepo:new(repo_path) if repo then return repo, "git" end repo, er...
mit
b03605079/darkstar
scripts/zones/Metalworks/npcs/Elayne.lua
34
1429
----------------------------------- -- Area: Metalworks -- NPC: Elayne -- Involved in Quest: Stamp Hunt ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Metalworks/TextID...
gpl-3.0
geoffleyland/rima
lua/rima/operators/product.lua
1
3337
-- Copyright (c) 2009-2012 Incremental IP Limited -- see LICENSE for license information local object = require("rima.lib.object") local operator = require("rima.operator") local lib = require("rima.lib") local core = require("rima.core") local closure = require("rima.closure") local mul = require("rima.operators.mul"...
mit
b03605079/darkstar
scripts/zones/Dynamis-Xarcabard/npcs/qm1.lua
19
1356
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: ??? (Spawn when mega is defeated) ----------------------------------- package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems...
gpl-3.0
stars2014/quick-ng
cocos/scripting/lua-bindings/auto/api/SimpleAudioEngine.lua
18
8318
-------------------------------- -- @module SimpleAudioEngine -- @parent_module cc -------------------------------- -- Preload background music.<br> -- param filePath The path of the background music file.<br> -- js NA<br> -- lua preloadMusic -- @function [parent=#SimpleAudioEngine] preloadBackgroundMusic -- @param ...
mit
b03605079/darkstar
scripts/zones/Beadeaux/npcs/Haggleblix.lua
19
7221
----------------------------------- -- Area: Beadeaux -- NPC: Haggleblix -- Type: Dynamis NPC -- @pos -255.847 0.595 106.485 147 ----------------------------------- package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/glo...
gpl-3.0
b03605079/darkstar
scripts/zones/Qulun_Dome/mobs/Diamond_Quadav.lua
6
1454
----------------------------------- -- Area: Qulun_Dome -- NM: Diamond_Quadav -- Note: PH for Za Dha Adamantking PH ----------------------------------- require("scripts/zones/Qulun_Dome/TextIDs"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function OnM...
gpl-3.0
ArchiveTeam/ancestry-grab
ancestry.lua
1
8478
dofile("urlcode.lua") dofile("table_show.lua") JSON = (loadfile "JSON.lua")() local url_count = 0 local tries = 0 local item_type = os.getenv('item_type') local item_value = os.getenv('item_value') local downloaded = {} local addedtolist = {} downloaded["http://genforum.genealogy.com/javascript/TSpacer_wrapper.js"] ...
unlicense
xpol/luarocks
src/luarocks/upload/api.lua
3
8533
local api = {} local cfg = require("luarocks.cfg") local fs = require("luarocks.fs") local util = require("luarocks.util") local persist = require("luarocks.persist") local multipart = require("luarocks.upload.multipart") local Api = {} local function upload_config_file() local conf = cfg.which_config() if no...
mit
arcemu/arcemu
src/scripts/lua/Stable Scripts/Outland/Magisters Terrace/UNIT-MagistersTerrace-SisterofTorment.lua
30
1613
--[[ ******************************** * * * The Moon Project * * * ******************************** This software is provided as free and open source by the staff of The Moon Project, in accordance with the GPL license. This means we provide the so...
agpl-3.0
Aquanim/Zero-K
LuaRules/Gadgets/unit_is_on_fire.lua
2
8663
-- $Id: unit_is_on_fire.lua 3309 2008-11-28 04:25:20Z google frog $ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function gadget:GetInfo() return { name = "Units on fire", desc = "Aa...
gpl-2.0
Aquanim/Zero-K
LuaRules/Gadgets/lups_flame_jitter.lua
6
6322
-- $Id: lups_flame_jitter.lua 3643 2009-01-03 03:00:52Z jk $ ------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------- function gadget:GetInfo() return { name = "Lups Flamethrower Jitter", d...
gpl-2.0
Zenny89/darkstar
scripts/zones/Port_Windurst/npcs/Tohopka.lua
38
1032
----------------------------------- -- Area: Port Windurst -- NPC: Tohopka -- Type: Standard NPC -- @zone: 240 -- @pos -105.723 -10 83.813 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; -----------------...
gpl-3.0
squeek502/lit
libs/metrics.lua
4
1766
local metricsBase = {} return { -- Returns all metrics as they're known so far. all = function() return metricsBase end, -- Resets to initial conditions (no metrics defined). reset = function() metricsBase = {} end, -- Defines a new metric, and sets its initial value. If no value is provided, ...
apache-2.0
mercury233/ygopro-scripts
c44190146.lua
2
5395
--デメット爺さん function c44190146.initial_effect(c) Duel.EnableGlobalFlag(GLOBALFLAG_DETACH_EVENT) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(44190146,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetCountLimit(1,44190146) e1:SetRange(LOCATION_MZ...
gpl-2.0
mjssw/cuberite
Server/Plugins/APIDump/Hooks/OnPlayerUsedBlock.lua
36
2386
return { HOOK_PLAYER_USED_BLOCK = { CalledWhen = "A player has just used a block (chest, furnace...). Notification only.", DefaultFnName = "OnPlayerUsedBlock", -- also used as pagename Desc = [[ This hook is called after a {{cPlayer|player}} has right-clicked a block that can be used, such as a {{cChestE...
apache-2.0
mercury233/ygopro-scripts
c30328508.lua
6
2057
--シャドール・リザード function c30328508.initial_effect(c) --flip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(30328508,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY) e1:SetCountLimit(1,...
gpl-2.0
Zenny89/darkstar
scripts/zones/Kazham/npcs/Tsahbi_Ifalombo.lua
15
1099
----------------------------------- -- Area: Kazham -- NPC: Tsahbi Ifalombo -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action -------------------------...
gpl-3.0
rouing/FHLG-BW
entities/entities/drugfactory/init.lua
1
7060
-- ============================================ -- = = -- = Crate SENT by Mahalis = -- = = -- ============================================ // copy pasta from DURG lab AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.l...
unlicense
mercury233/ygopro-scripts
c95825679.lua
2
2040
--デーモンの降臨 function c95825679.initial_effect(c) c:EnableReviveLimit() --code aux.EnableChangeCode(c,70781052) --indes local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_SINGLE) e2:SetCode(EFFECT_INDESTRUCTABLE_BATTLE) e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e2:SetRange(LOCATION_MZONE) e2:SetValue(c9582567...
gpl-2.0
notcake/gcompute
lua/gcompute/ast/functiontype.lua
1
2518
local self = {} self.__Type = "FunctionType" GCompute.AST.FunctionType = GCompute.AST.MakeConstructor (self, GCompute.AST.Expression) function self:ctor () self.Name = "[Unknown Identifier]" self.ReturnTypeExpression = nil self.ParameterList = GCompute.AST.ParameterList () end function self:ComputeMe...
gpl-3.0
mercury233/ygopro-scripts
c65749035.lua
2
2305
--氷結界の龍 グングニール function c65749035.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsAttribute,ATTRIBUTE_WATER),1) c:EnableReviveLimit() --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(65749035,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE...
gpl-2.0
rouing/FHLG-BW
entities/entities/item_superdrug/init.lua
3
1607
AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include('shared.lua') function ENT:SpawnFunction( ply, tr ) if ( !tr.Hit ) then return end local SpawnPos = tr.HitPos + tr.HitNormal * 20 local ent = ents.Create( "item_superdrug" ) ent:SetPos( SpawnPos ) ent:Spawn() ent:Activate() return ent end f...
unlicense
mercury233/ygopro-scripts
c43722862.lua
2
3643
--WW-アイス・ベル function c43722862.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(43722862,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DECKDES) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,43722862) e1:SetCondition(c4372286...
gpl-2.0
mercury233/ygopro-scripts
c34236961.lua
9
1542
--アンティ勝負 function c34236961.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c34236961.target) e1:SetOperation(c34236961.activate) c:RegisterEffect(e1) end function c34236961.t...
gpl-2.0
mercury233/ygopro-scripts
c64797746.lua
2
3603
--極星宝スヴァリン function c64797746.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --disable local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(64797746,0)) e2:SetCategory(CATEGORY_DISABLE) e2:SetType(EFFECT...
gpl-2.0
mercury233/ygopro-scripts
c20638610.lua
6
1836
--竜の転生 function c20638610.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_REMOVE+CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) e1:SetTarget(c20638610.target)...
gpl-2.0
mercury233/ygopro-scripts
c7194917.lua
2
2305
--No.52 ダイヤモンド・クラブ・キング function c7194917.initial_effect(c) c:SetUniqueOnField(1,0,7194917) --xyz summon aux.AddXyzProcedure(c,nil,4,2) c:EnableReviveLimit() --atk/def local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(7194917,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetC...
gpl-2.0
noname007/koreader
frontend/apps/reader/modules/readerdogear.lua
5
2078
local InputContainer = require("ui/widget/container/inputcontainer") local RightContainer = require("ui/widget/container/rightcontainer") local ImageWidget = require("ui/widget/imagewidget") local GestureRange = require("ui/gesturerange") local UIManager = require("ui/uimanager") local Device = require("device") local ...
agpl-3.0
rigeirani/pm
plugins/invite.lua
1111
1195
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0
ashkanpj/beny
plugins/invite.lua
1111
1195
do local function callbackres(extra, success, result) -- Callback for res_user in line 27 local user = 'user#id'..result.id local chat = 'chat#id'..extra.chatid if is_banned(result.id, extra.chatid) then -- Ignore bans send_large_msg(chat, 'User is banned.') elseif is_gbanned(result.id) then -- I...
gpl-2.0