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
Clavus/Conclavus
engine/lib/lovenoise/lovenoise.lua
2
7043
-- ... shameless library info copy from kikito :P local lovenoise = { _VERSION = 'v0.2.0', _DESCRIPTION = 'Noise Library for LOVE', _URL = 'https://github.com/icrawler/lovenoise', _LICENSE = [[ MIT LICENSE Copyright (c) 2014 Phoenix Enero Permission is hereby granted, free of ...
mit
shingenko/darkstar
scripts/globals/spells/valor_minuet_v.lua
18
1536
----------------------------------------- -- Spell: Valor Minuet V -- Grants Attack bonus to all allies. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,...
gpl-3.0
ArcherSys/ArcherSys
Lua/examples/iup/indent.lua
8
31522
-- For All Indents And Purposes local revision = 17 -- Original author: kristofer.karlsson@gmail.com -- IUP adaptation: pixel@grumpycoder.net -- For All Indents And Purposes - -- a indentation + syntax highlighting library -- All valid lua code should be processed correctly. -- Usage -------- -- hook the textboxes th...
mit
mmusial/prosody-modules
mod_list_inactive/mod_list_inactive.lua
21
1216
-- Copyright (C) 2012-2013 Kim Alvefur local um = require "core.usermanager"; local sm = require "core.storagemanager"; local dm_load = require "util.datamanager".load; local jid_join = require"util.jid".join; local multipliers = { d = 86400, -- day w = 604800, -- week m = 2629746, -- month y = 31556952, -- year ...
mit
Illarion-eV/Illarion-Content
handler/closedoor.lua
5
1268
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
shingenko/darkstar
scripts/globals/items/serving_of_crimson_jelly.lua
35
1426
----------------------------------------- -- ID: 5144 -- Item: serving_of_crimson_jelly -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic % 12 -- Magic Cap 85 -- Intelligence 6 -- Magic Regen While Healing 1 ----------------------------------------- require("scripts/global...
gpl-3.0
lixiantai/barrier_breaker
feeds/luci/applications/luci-asterisk/luasrc/model/cbi/asterisk.lua
80
5333
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at h...
gpl-2.0
shingenko/darkstar
scripts/zones/Port_San_dOria/npcs/HomePoint#2.lua
17
1255
----------------------------------- -- Area: Port San dOria -- NPC: HomePoint#2 -- @pos 48 -12.000 -105 232 ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Port_San_dOria/TextIDs"); require("script...
gpl-3.0
mmusial/prosody-modules
mod_s2s_keepalive/mod_s2s_keepalive.lua
32
1279
local st = require "util.stanza"; local keepalive_servers = module:get_option_set("keepalive_servers"); local keepalive_interval = module:get_option_number("keepalive_interval", 60); local host = module.host; local function send_pings() for remote_domain, session in pairs(hosts[host].s2sout) do if session.type ==...
mit
shingenko/darkstar
scripts/zones/Upper_Jeuno/npcs/Kasra.lua
34
1066
---------------------------------- -- Area: Upper Jeuno -- NPC: Kasra -- Type: Item Deliverer -- @zone: 244 -- @pos -34.555 7.999 90.702 -- ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/zones/Upper_Jeuno/TextIDs"); --------------------...
gpl-3.0
psychon/awesome
spec/gears/geometry_spec.lua
7
8640
--------------------------------------------------------------------------- -- @author Uli Schlachter -- @copyright 2017 Uli Schlachter --------------------------------------------------------------------------- local geo = require("gears.geometry") describe("gears.geometry", function() local rects = { { ...
gpl-2.0
TheAncientGoat/GodheadLips
data/system/model-editing.lua
1
2181
require "system/model" if not Los.program_load_extension("model-editing") then error("loading extension `model-editing' failed") end ------------------------------------------------------------------------------ --- Adds a material to the model. -- @param self Object. -- @param ... Arguments.<ul> -- <li>cull: Fal...
gpl-3.0
shingenko/darkstar
scripts/globals/items/choco-katana.lua
36
1156
----------------------------------------- -- ID: 5918 -- Item: Choco-katana -- Food Effect: 3 Min, All Races ----------------------------------------- -- Agility 1 -- Speed 12.5% ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0
Johnicholas/ceu
tight.lua
1
8200
TIGHT = false function OR_all (me, t) t = t or me me.tl_awaits = false me.tl_escapes = false me.tl_blocks = false for _, sub in ipairs(t) do if AST.isNode(sub) then me.tl_awaits = me.tl_awaits or sub.tl_awaits me.tl_escapes = me.tl_escapes or sub.tl_escapes ...
mit
shingenko/darkstar
scripts/zones/RuAun_Gardens/npcs/HomePoint#2.lua
17
1250
----------------------------------- -- Area: RuAun_Gardens -- NPC: HomePoint#2 -- @pos -499 -42 167 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/RuAun_Gardens/TextIDs"); require("scripts/glob...
gpl-3.0
yogome/HeroesSaludables
libs/helpers/spine-lua/SkeletonData.lua
1
1879
----------------------------------------------- Spine runtimes local path = ... local folder = path:match("(.-)[^%.]+$") local SkeletonData = {} ---------------------------------------------- Functions function SkeletonData.new () local self = { bones = {}, slots = {}, slotNameIndices = {}, skins = {}, even...
agpl-3.0
obsy/luci
applications/luci-app-splash/luasrc/controller/splash/splash.lua
40
4649
module("luci.controller.splash.splash", package.seeall) local uci = luci.model.uci.cursor() local util = require "luci.util" function index() entry({"admin", "services", "splash"}, cbi("splash/splash"), _("Client-Splash"), 90) entry({"admin", "services", "splash", "splashtext" }, form("splash/splashtext"), _("Splas...
apache-2.0
shingenko/darkstar
scripts/globals/weaponskills/entropy.lua
30
1670
----------------------------------- -- Entropy -- Scythe weapon skill -- Skill level: 357 -- Description: Delivers a fourfold attack that converts damage dealt into own MP. Damage varies with TP. -- In order to obtain Entropy, the quest Martial Mastery must be completed. -- MP recovery is about 15~25% of damage d...
gpl-3.0
psychon/awesome
lib/awful/prompt.lua
2
35347
--------------------------------------------------------------------------- --- Prompt module for awful. -- -- **Keyboard navigation**: -- -- The following readline keyboard shortcuts are implemented as expected: -- <table class='widget_list' border=1> -- <tr><th>Name</th><th>Usage</th></tr> -- <tr><td><kbd>CTRL+A<...
gpl-2.0
wagonrepairer/Zero-K
units/hoverscout.lua
8
5938
unitDef = { unitname = [[hoverscout]], name = [[Dagger]], description = [[Fast Attack Hovercraft]], acceleration = 0.066, brakeRate = 0.0835, buildCostEnergy = 85, buildCostMetal = 85, builder = false, buildPic = [[CORS...
gpl-2.0
AleksCore/Mr.Green-MTA-Resources
resources/[gameplay]/missiontimer/missiontimer_draw.lua
4
2392
local screenX,screenY = guiGetScreenSize() local bgWidth,bgHeight = 100, 20 --Robbed from arc_ function msToTimeStr(ms) if not ms then return '' end if ms < 0 then return "0","00","00" end local centiseconds = tostring(math.floor(math.fmod(ms, 1000)/10)) if #centiseconds == 1 then centiseconds = '0' ....
mit
shingenko/darkstar
scripts/globals/spells/bluemagic/battle_dance.lua
18
1957
----------------------------------------- -- Spell: Battle Dance -- Delivers an area attack. Additional effect: DEX Down. Duration of effect varies with TP -- Spell cost: 12 MP -- Monster Type: Beastmen -- Spell Type: Physical (Slashing) -- Blue Magic Points: 3 -- Stat Bonus: DEX+2 -- Level: 12 -- Casting Time...
gpl-3.0
AleksCore/Mr.Green-MTA-Resources
resources/[gameplay]/gcshop/lockednicks/lockednicks_c.lua
4
6607
local locknickGUI = { tab = {}, label = {}, button = {}, gridlist = {}, glcolumn = {} } local thePanel = false local slotsUsed,maxAmount,nickTable,locknickAllowed function createLockNickGUI(tp) thePanel = tp locknickGUI.tab[1] = guiCreateTab("Locked Nicks", tp) locknickGUI.label[1] = g...
mit
shingenko/darkstar
scripts/zones/Horlais_Peak/npcs/Burning_Circle.lua
17
1993
----------------------------------- -- Area: Horlais Peak -- NPC: Burning Circle -- Horlais Peak Burning Circle -- @pos -509 158 -211 139 ------------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm"); r...
gpl-3.0
openwayne/chaos_theory
mods/adv_spawning/api.lua
2
1930
------------------------------------------------------------------------------- -- advanced spawning mod -- --@license WTFP --@copyright Sapier --@author Sapier --@date 2013-12-05 -- ------------------------------------------------------------------------------- --------------------------------------------------------...
lgpl-2.1
TheAncientGoat/GodheadLips
data/godhead/scripts/server/feat.lua
1
8569
local oldinfo = Feat.get_info --- Adds the best possible effects to the feat. -- @param self Feat. -- @param args Arguments.<ul> -- <li>category: Category from which to pick effects.</li> -- <li>user: Object whose skills and inventory to use.</li></ul> Feat.add_best_effects = function(self, args) -- Solves the ma...
gpl-3.0
shingenko/darkstar
scripts/zones/Port_San_dOria/npcs/Noquerelle.lua
36
1376
----------------------------------- -- Area: Port San d'Oria -- NPC: Noquerelle -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/Te...
gpl-3.0
ArcherSys/ArcherSys
Lua/lua/pl/sip.lua
10
10077
--- Simple Input Patterns (SIP). -- SIP patterns start with '$', then a -- one-letter type, and then an optional variable in curly braces. -- -- sip.match('$v=$q','name="dolly"',res) -- ==> res=={'name','dolly'} -- sip.match('($q{first},$q{second})','("john","smith")',res) -- ==> res=={second='smith',first=...
mit
gcliupeng/queen-deamon
deps/lua/test/life.lua
888
2635
-- life.lua -- original by Dave Bollinger <DBollinger@compuserve.com> posted to lua-l -- modified to use ANSI terminal escape sequences -- modified to use for instead of while local write=io.write ALIVE="¥" DEAD="þ" ALIVE="O" DEAD="-" function delay() -- NOTE: SYSTEM-DEPENDENT, adjust as necessary for i=1,10000 do...
bsd-3-clause
shadobaker/TeleBeyond
plugins/weather.lua
9
5484
local function temps(K) local F = (K*1.8)-459.67 local C = K-273.15 return F,C end local function run(msg, matches) local res = http.request("http://api.openweathermap.org/data/2.5/weather?q="..URL.escape(matches[2]).."&appid=269ed82391822cc692c9afd59f4aabba") local jtab = JSON.decode(res) if jtab.name then i...
gpl-2.0
veden/Rampant
prototypes/utils/FireUtils.lua
1
36302
-- Copyright (C) 2022 veden -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later version. -- This program is distributed in the...
gpl-3.0
BSpike/MOOSE
Moose Development/Moose/Tasking/TaskZoneCapture.lua
1
10021
--- **Tasking** - The TASK_Protect models tasks for players to protect or capture specific zones. -- -- ==== -- -- ### Author: **Sven Van de Velde (FlightControl)** -- -- ### Contributions: MillerTime -- -- ==== -- -- @module TaskZoneCapture do -- TASK_ZONE_GOAL --- The TASK_ZONE_GOAL class -- @type TASK_Z...
gpl-3.0
Illarion-eV/Illarion-Content
alchemy/teaching/playerInventedPotions.lua
1
3955
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
apaszke/nn
PartialLinear.lua
8
3886
local PartialLinear, Module = torch.class('nn.PartialLinear', 'nn.Module') --[[ PartialLinear is a Linear layer that allows the user to a set a collection of column indices. When the column indices are set, the layer will behave like a Linear layer that only has those columns. Meanwhile, all parameters are preserved,...
bsd-3-clause
wagonrepairer/Zero-K
LuaUI/Configs/epicmenu_conf.lua
1
23793
local confdata = {} confdata.title = 'Z.K.' confdata.title_image = LUAUI_DIRNAME .. 'Images/ZK_logo.png' confdata.default_source_file = 'zk_keys.lua' --the file in ZIP archive where default key is stored. confdata.mission_keybinds_file = 'zk_keys.lua' --the filename to be used for Mission mod. set this to NIL if want t...
gpl-2.0
wagonrepairer/Zero-K
LuaUI/Widgets/chili_new/controls/textbox.lua
9
3160
--- TextBox module --- TextBox fields. -- Inherits from Control. -- @see control.Control -- @table TextBox -- @string[opt=""] text text contained in the editbox -- @bool[opt=true] autoHeight sets height to text size, useful for embedding in scrollboxes -- @bool[opt=true] autoObeyLineHeight (needs autoHeight) if true, ...
gpl-2.0
wagonrepairer/Zero-K
scripts/missiletower.lua
11
3093
include "constants.lua" -- Pieces local base = piece 'base' local body = piece 'body' local turret = piece 'turret' local launcher1 = piece 'launcher1' local launcher2 = piece 'launcher2' local firepoint1 = piece 'firepoint1' local firepoint2 = piece 'firepoint2' local shotNum = 1 local firepoint = {firepoint1...
gpl-2.0
shingenko/darkstar
scripts/zones/Quicksand_Caves/npcs/_5sa.lua
17
1273
----------------------------------- -- Area: Quicksand Caves -- NPC: Ornate Door -- Door blocked by Weight system -- @pos -418 0 790 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Quicksand_Cave...
gpl-3.0
shingenko/darkstar
scripts/zones/The_Celestial_Nexus/npcs/_513.lua
19
1399
----------------------------------- -- Area: Celestial Nexus -- NPC: _515 ----------------------------------- package.loaded["scripts/zones/The_Celestial_Nexus"] = nil; package.loaded["scripts/globals/bcnm"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/quests")...
gpl-3.0
shingenko/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/HomePoint#1.lua
16
1261
----------------------------------- -- 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
diz-vara/nn
SpatialZeroPadding.lua
20
5638
local SpatialZeroPadding, parent = torch.class('nn.SpatialZeroPadding', 'nn.Module') function SpatialZeroPadding:__init(pad_l, pad_r, pad_t, pad_b) parent.__init(self) self.pad_l = pad_l self.pad_r = pad_r or self.pad_l self.pad_t = pad_t or self.pad_l self.pad_b = pad_b or self.pad_l end function Spat...
bsd-3-clause
shingenko/darkstar
scripts/zones/Bostaunieux_Oubliette/npcs/Novalmauge.lua
17
4021
----------------------------------- -- Area: Bostaunieux Obliette -- NPC: Novalmauge -- Starts and Finishes Quest: The Rumor -- Involved in Quest: The Holy Crest, Trouble at the Sluice -- @pos 70 -24 21 167 ----------------------------------- package.loaded["scripts/zones/Bostaunieux_Oubliette/TextIDs"] = nil; ...
gpl-3.0
mmusial/prosody-modules
mod_isolate_host/mod_isolate_host.lua
31
1667
local jid = require "util.jid"; local jid_bare, jid_split = jid.bare, jid.split; local is_admin = require "core.usermanager".is_admin; local set = require "util.set"; local st = require "util.stanza"; local stanza_types = set.new{"message", "presence", "iq"}; local jid_types = set.new{"bare", "full", "host"}; local e...
mit
Shendow/Shenesis
Shenesis/lua/crimenetmanager.lua
1
2951
function CrimeNetManager:_find_online_games_shenesis(friends_only) if not (self._active_server_jobs_shenesis) then self._active_server_jobs_shenesis = {} end local function f(info) managers.network.matchmake:search_lobby_done() local room_list = info.room_list local attribute_list = info.attribute_list l...
mit
Illarion-eV/Illarion-Content
triggerfield/galmair_guard_patrol_2.lua
1
3565
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
soonhokong/travis_test
tests/lua/sect10.lua
1
1231
local env = environment() env = env:begin_section_scope() env = env:begin_section_scope() local nat = Const("nat") env = add_inductive(env, "nat", Type, "zero", nat, "succ", mk_arrow(nat, nat)) local zero = Const("zero") local succ = Const("succ")...
apache-2.0
kveratis/GameCode4
Source/GCC4/3rdParty/luaplus51-all/Src/Modules/orbit/src/orbit.lua
1
6706
local mk = require "mk" local util = require "mk.util" local blocks = require "mk.blocks" local themes = require "mk.themes" local template = require "mk.template" local _M = {} _M._NAME = "orbit" _M._VERSION = "3.0" _M._COPYRIGHT = "Copyright (C) 2007-2009 Kepler Project, Copyright (C) 2010 Fabio Mascare...
lgpl-3.0
shingenko/darkstar
scripts/zones/Northern_San_dOria/npcs/Excenmille.lua
38
1057
----------------------------------- -- Area: Northern San d'Oria -- NPC: Excenmille -- Type: Ballista Pursuivant -- @zone: 231 -- @pos -229.344 6.999 22.976 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"]...
gpl-3.0
Illarion-eV/Illarion-Content
npc/base/consequence/attribtrainer.lua
1
1111
--[[ Illarion Server This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it wi...
agpl-3.0
wagonrepairer/Zero-K
LuaUI/Widgets/chili/Controls/treeviewnode.lua
35
7992
--//============================================================================= TreeViewNode = Control:Inherit{ classname = "treeviewnode", padding = {16,0,0,0}, autosize = true, caption = "node", expanded = true, root = false, nodes = {}, treeview = nil, _nodes_hidden = {}, On...
gpl-2.0
wagonrepairer/Zero-K
LuaUI/Widgets/chili_new/controls/treeviewnode.lua
35
7992
--//============================================================================= TreeViewNode = Control:Inherit{ classname = "treeviewnode", padding = {16,0,0,0}, autosize = true, caption = "node", expanded = true, root = false, nodes = {}, treeview = nil, _nodes_hidden = {}, On...
gpl-2.0
xFleury/crawl-0.13.0-fairplay
source/dat/dlua/layout/omnigrid.lua
1
14576
------------------------------------------------------------------------------ -- omnigrid.lua: Create flexible layout grids by subdivision -- ------------------------------------------------------------------------------ omnigrid = {} omnigrid.grid_defaults = { subdivide_initial_chance = 100, -- % chance of subdiv...
gpl-2.0
cuberite/CuberitePluginChecker
Logger.lua
2
2128
-- Logger.lua -- Implements a logger that can output log messages and filter them based on loglevel local Logger = { -- The various log levels: ERROR = 9, -- Emitting this log also prints stacktrace and terminates the entire program WARNING = 5, INFO = 4, DEBUG = 3, TRACE = 1, } -- If currentLogL...
unlicense
shingenko/darkstar
scripts/zones/Dynamis-Windurst/Zone.lua
28
2485
----------------------------------- -- -- Zone: Dynamis-Windurst -- ----------------------------------- package.loaded["scripts/zones/Dynamis-Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Dynamis-Windurst/TextIDs"); ---------------...
gpl-3.0
shingenko/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/qm1.lua
17
1075
----------------------------------- -- Area: Temple of Uggalepih -- NPC: ??? (Tonberry Rattle ITEM) -- @pos 269 0 91 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Temple_of_Uggalepih/TextIDs...
gpl-3.0
TheAncientGoat/GodheadLips
data/system/vision.lua
1
5028
require "system/class" if not Los.program_load_extension("vision") then error("loading extension `vision' failed") end ------------------------------------------------------------------------------ Vision = Class() Vision.class_name = "Vision" Vision.dict = {} --- Creates a vision manager. -- @param clss Vision cl...
gpl-3.0
shingenko/darkstar
scripts/zones/Caedarva_Mire/Zone.lua
30
1903
----------------------------------- -- -- Zone: Caedarva_Mire (79) -- ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/Caedarva_Mire...
gpl-3.0
centreon/centreon-broker
simu/docker/lua/neb/service_checks.lua
1
2596
local data = {} local function build_check(host_id, service_id) local retval = { category = 1, element = 19, _type = 65555, command_line = "super_command_de_svc", service_id = service_id, host_id = host_id, } return retval end local service_checks = { name = "Service checks", -- id: ...
apache-2.0
shingenko/darkstar
scripts/globals/items/serving_of_elysian_eclair.lua
36
1430
----------------------------------------- -- ID: 5560 -- Item: Serving of Elysian Eclair -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10 -- MP +15 -- Intelligence +2 -- HP Recoverd while healing 2 -- MP Recovered while healing 2 --------------------------------...
gpl-3.0
PicassoCT/Journeywar
lups/ParticleClasses/SimpleParticles2.lua
1
15033
-- $Id: SimpleParticles2.lua 3171 2008-11-06 09:06:29Z det $ ----------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- local SimpleParticles2 = {} Si...
gpl-3.0
iiborn/M
plugins/invite.lua
393
1225
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
Aquanim/Zero-K
LuaRules/Gadgets/unit_target_priority.lua
1
15885
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- if not gadgetHandler:IsSyncedCode() then return end -------------------------------------------------------------------------------- ------------------------...
gpl-2.0
Arashbrsh/niko
plugins/invite.lua
5
1803
-- Invite other user to the chat group. -- Use !invite @username to invite a user by @username -- Use !invite ********* (where ********* is id_number) to invite a user by id_number -- Use !invite Type print_name Here to invite a user by print_name do -- Think it's kind of useless. Just to suppress '*** lua: attempt t...
gpl-2.0
PicassoCT/Journeywar
units/gaia/gNewsDrone.lua
1
1269
local unitName = "gnewsdrone" local unitDef = { name = "News Drone", Description = "INTERDIM NEWS reporting Live", objectName = "gNewsDrone.s3o", script = "gNewsDroneScript.lua", buildPic = "placeholder.png", --floater = true, --cost buildCostMetal = 2260, buildCostEnergy = 4130, buildTime = 190, --Health maxDamage = ...
gpl-3.0
kkvskkkk/NPLRuntime
Client/trunk/externals/bullet3/Demos3/premake4.lua
7
3743
function createDemos( demos, incdirs, linknames) for _, name in ipairs(demos) do project ( "App_" .. name ) kind "ConsoleApp" targetdir ".." includedirs {incdirs} configuration { "Windows" } defines { "GLEW_STATIC"} links { "opengl32","glu32","gdi32","winmm", "user32" } ...
gpl-2.0
Sakura-Winkey/LuCI
libs/luci-lib-nixio/docsrc/nixio.fs.lua
156
7907
--- Low-level and high-level filesystem manipulation library. module "nixio.fs" --- Check user's permission on a file. -- @class function -- @name nixio.fs.access -- @param path Path -- @param mode1 First Mode to check ["f", "r", "w", "x"] -- @param ... More Modes to check [-"-] -- @return true --- Strip the dire...
apache-2.0
immibis/wiremod
lua/entities/gmod_wire_damage_detector.lua
10
9655
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Damage Detector" ENT.Author = "Jimlad" ENT.WireDebugName = "Damage Detector" if CLIENT then return end -- No more client local DEFAULT = {n={},ntypes={},s={},stypes={},size=0} -- Global table to keep track of all detectors local Wi...
apache-2.0
b03605079/darkstar
scripts/zones/Horlais_Peak/npcs/relic.lua
42
1839
----------------------------------- -- Area: Horlais Peak -- NPC: <this space intentionally left blank> -- @pos 450 -40 -31 139 ----------------------------------- package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Horlais_Peak/TextIDs"); -----------...
gpl-3.0
Aquanim/Zero-K
scripts/shieldarty.lua
6
3898
-- Should work! --by Saktoth adapted from Chris Mackey include "constants.lua" -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- pieces local base = piece "base" local turret = piece "turret" local pelv...
gpl-2.0
thesrinivas/rakshak
rakshak-probe.bkup/userspace/sysdig/chisels/fdtime_by.lua
18
1437
--[[ Copyright (C) 2013-2014 Draios inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
gpl-2.0
scztt/sc3-plugins
source/StkInst/stkinsttest.lua
7
3370
--UGen definitions Stknames ={ "Clarinet", "BlowHole", "Saxofony", "Flute", "Brass", "BlowBotl", "Bowed", "Plucked", "StifKarp", "Sitar", "Mandolin", "Rhodey", "Wurley", "TubeBell", "HevyMetl", "PercFlut", "BeeThree", "FMVoices", ...
gpl-2.0
Aquanim/Zero-K
units/chicken_shield.lua
2
5718
return { chicken_shield = { unitname = [[chicken_shield]], name = [[Blooper]], description = [[Shield/Anti-Air]], acceleration = 1.08, activateWhenBuilt = true, brakeRate = 1.23, buildCostEnergy = 0, buildCostMetal = 0, builder ...
gpl-2.0
apc-llc/likwid
src/applications/likwid.lua
7
51608
local likwid = {} package.cpath = '<PREFIX>/lib/?.so;' .. package.cpath require("liblikwid") require("math") likwid.groupfolder = "<PREFIX>/share/likwid/perfgroups" likwid.version = <VERSION> likwid.release = <RELEASE> likwid.pinlibpath = "<PREFIX>/lib/liblikwidpin.so" likwid.dline = string.rep("=",80) likwid.hline =...
gpl-3.0
b03605079/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Sashosho.lua
34
1033
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Sashosho -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); ---------...
gpl-3.0
Aquanim/Zero-K
effects/nuke_450.lua
8
15855
-- nuke_450_seacloud_pillar -- nuke_450_landcloud_pillar -- nuke_450_seacloud_ring -- nuke_450 -- nuke_450_landcloud -- nuke_450_landcloud_topcap -- nuke_450_seacloud_cap -- nuke_450_landcloud_ring -- nuke_450_seacloud_topcap -- nuke_450_landcloud_cap -- nuke_450_seacloud return { ["nuke_450_seacloud_pillar"] = { ...
gpl-2.0
satanevil/cp-creed
plugins/plugins.lua
285
6096
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists( ...
gpl-2.0
mehrdad79/shield5
plugins/plugins.lua
285
6096
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists( ...
gpl-2.0
Radseq/otclient
modules/gamelib/const.lua
1
6759
-- @docconsts @{ FloorHigher = 0 FloorLower = 15 SkullNone = 0 SkullYellow = 1 SkullGreen = 2 SkullWhite = 3 SkullRed = 4 SkullBlack = 5 SkullOrange = 6 ShieldNone = 0 ShieldWhiteYellow = 1 ShieldWhiteBlue = 2 ShieldBlue = 3 ShieldYellow = 4 ShieldBlueSharedExp = 5 ShieldYellowSharedExp = 6 ShieldBlueNoSharedExpBlin...
mit
PicassoCT/Journeywar
gamedata/explosions/LightUponSmoke.lua
1
1060
-- dirt return { ["lightuponsmoke"] = { ashcloud={ air=true, class=[[CSimpleParticleSystem]], count=1, ground=true, water=false, properties={ texture=[[SmokeAshCloud]], colormap = [[0.6 0.2 0.2 0.9 0.5 0.5 0.5 0.6 0.5 0.5 0.5 0.5 0.5 0.5 0.65 0.75 0.5 0.5 ...
gpl-3.0
FlightControl-Master/MOOSE_MISSIONS
RAT - Random Air Traffic/Caucasus/RAT-007 - Commute/RAT-007 - Commute.lua
1
1322
-- Name: RAT-007 - Commute -- Author: funkyfranky -- Date Created: 24 Sep 2017 -- -- # Situation: -- -- Spawn several aircraft of the same type at Mozdok and let them fly to Mineralnye Vody. -- Once the aircraft arrives at its destination, it will be respawned there and fly back to Mozdok. -- Note that: -- We ...
gpl-3.0
xpol/luarocks
src/luarocks/admin_remove.lua
9
3267
--- Module implementing the luarocks-admin "remove" command. -- Removes a rock or rockspec from a rocks server. local admin_remove = {} package.loaded["luarocks.admin_remove"] = admin_remove local cfg = require("luarocks.cfg") local util = require("luarocks.util") local dir = require("luarocks.dir") local manif = req...
mit
redien/cbind
class_gen/ruby.lua
2
6948
-- cbind - A library for generating bindings. -- Written in 2014 by Jesper Oskarsson jesosk@gmail.com -- -- To the extent possible under law, the author(s) have dedicated all copyright -- and related and neighboring rights to this software to the public domain worldwide. -- This software is distributed without a...
cc0-1.0
romain-intel/bcc
src/lua/bcc/vendor/middleclass.lua
25
5973
local middleclass = { _VERSION = 'middleclass v4.0.0', _DESCRIPTION = 'Object Orientation for Lua', _URL = 'https://github.com/kikito/middleclass', _LICENSE = [[ MIT LICENSE Copyright (c) 2011 Enrique García Cota Permission is hereby granted, free of charge, to any person obtaining...
apache-2.0
b03605079/darkstar
scripts/zones/Pashhow_Marshlands/Zone.lua
2
2846
----------------------------------- -- -- Zone: Pashhow_Marshlands (109) -- ----------------------------------- package.loaded[ "scripts/zones/Pashhow_Marshlands/TextIDs"] = nil; package.loaded[ "scripts/globals/missions"] = nil; ----------------------------------- require("scripts/globals/zone"); require("s...
gpl-3.0
b03605079/darkstar
scripts/zones/Windurst_Woods/npcs/Wani_Casdohry.lua
36
1308
----------------------------------- -- Area: Windurst Woods -- NPC: Wani Casdohry ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Windurst_Woods/TextIDs"); --------...
gpl-3.0
b03605079/darkstar
scripts/zones/La_Theine_Plateau/TextIDs.lua
3
2029
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6382; -- Obtained: <item>. GIL_OBTAINED = 6383; -- Obtained <number> gil. KEYITEM_OBTAINED = 6385; -- Obtained...
gpl-3.0
b03605079/darkstar
scripts/zones/Moh_Gates/Zone.lua
34
1230
----------------------------------- -- -- Zone: Moh Gates -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Moh_Gates/TextIDs"] = nil; require("scripts/zones/Moh_Gates/TextIDs"); ----------------------------------- -- onInitialize ----------------...
gpl-3.0
b03605079/darkstar
scripts/zones/Port_Jeuno/npcs/HomePoint#1.lua
12
1246
----------------------------------- -- Area: Port Jeuno -- NPC: HomePoint#1 -- @pos 37.076 0.001 8.831 246 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Port_Jeuno/TextIDs"); require("scripts/globals...
gpl-3.0
b03605079/darkstar
scripts/zones/Temple_of_Uggalepih/TextIDs.lua
5
2212
-- 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
Aquanim/Zero-K
LuaRules/Configs/mex_shoot_defs.lua
4
1159
local defs = { --{ -- name = "cloakriot", -- fireHeight = 0, --}, { name = "vehriot", searchRange = 180, }, { name = "hoverdepthcharge", ignoreHeight = true, searchRange = 180, }, { name = "amphimpulse", searchRange = 80, }, { name = "jumpraid", ignoreHeight = true, }, { name = "tankrai...
gpl-2.0
b03605079/darkstar
scripts/zones/Outer_Horutoto_Ruins/npcs/_5ef.lua
19
3309
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Ancient Magical Gizmo #2 (F out of E, F, G, H, I, J) -- Involved In Mission: The Heart of the Matter ----------------------------------- package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil; ---------------------------------...
gpl-3.0
PicassoCT/Journeywar
LuaUI/widgets/gui_advplayerslist.lua
1
63990
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- Copyright (C) 2008. -- Licensed under the terms of the GNU GPL, v2 or later. -- ----------------------------------------------------------------------...
gpl-3.0
b03605079/darkstar
scripts/zones/East_Ronfaure/npcs/Croteillard.lua
38
1029
----------------------------------- -- Area: East Ronfaure -- NPC: Croteillard -- Type: Gate Guard -- @pos 87.426 -62.999 266.709 101 ----------------------------------- package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/zones/East_Ronfaure/TextIDs");...
gpl-3.0
b03605079/darkstar
scripts/zones/PsoXja/npcs/_09g.lua
17
1219
----------------------------------- -- Area: Pso'Xja -- NPC: Avatars Gate ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/PsoXja/TextIDs"); require("scripts/globals/keyite...
gpl-3.0
mkottman/LuaNode
lib/LuaNode/Net.lua
1
29851
--local util = require "util" --var util = require("util"); local Class = require "luanode.class" local EventEmitter = require "luanode.event_emitter" local luanode_stream = require "luanode.stream" local Timers = require "luanode.timers" -- TODO: arreglar el despelote de los fd's -- TODO: sacar el seeall module(.....
mit
GNOME/grilo-plugins
src/lua-factory/sources/grl-itunes-podcast.lua
4
7903
--[[ * Copyright (C) 2016 Grilo Project * * This library 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; version 2.1 of * the License, or (at your option) any later version. * * This library is ...
lgpl-2.1
arychen/GlobalCall
feeds/luci/modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/ipkg.lua
48
1667
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008-2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local ipkgfile = "/etc/opkg.conf" local distfeeds = "/etc/opkg/distfeeds.conf" local customfeeds = "/etc/opkg/customfeeds.conf" f = SimpleForm("ipkgconf"...
gpl-2.0
Sakura-Winkey/LuCI
applications/luci-app-siitwizard/luasrc/model/cbi/siitwizard.lua
68
9836
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008-2015 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local uci = require "luci.model.uci".cursor() local bit = require "nixio".bit local ip = require "luci.ip" -------------------- Init -------------------...
apache-2.0
b03605079/darkstar
scripts/globals/spells/learned_etude.lua
13
1758
----------------------------------------- -- Spell: Learned Etude -- Static INT Boost, BRD 26 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMa...
gpl-3.0
b03605079/darkstar
scripts/globals/weaponskills/skewer.lua
30
1368
----------------------------------- -- Skewer -- Polearm weapon skill -- Skill Level: 200 -- Delivers a three-hit attack. Chance of params.critical hit varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Light Gorget & Thunder Gorget. -- Aligned with the Light Belt & Thunder Belt. -- Element: N...
gpl-3.0