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 |
|---|---|---|---|---|---|
zozaiq/DEV_ZOZO | tg/lock_media.lua | 14 | 1480 | --[[
#
#ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
#:((
# For More Information ....!
# Developer : Aziz < @TH3_GHOST >
# our channel: @DevPointTeam
# Version: 1.1
#:))
#ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
#
]]
lo... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/mobskills/Nullifying_Dropkick.lua | 58 | 1046 | ---------------------------------------------
-- Nullifying Dropkick
--
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/zones/Empyreal_Paradox/TextIDs");
-----------------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Mhaura/npcs/Lacia.lua | 17 | 3304 | -----------------------------------
-- Area: Mhaura
-- NPC: Lacia
-- Starts Quest: Trial Size Trial By Lightning
-- The "TrialSizeLightning_date" still needs to be set at the BCNM/Mob level to reflect defeat by the Avatar
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Throne_Room/mobs/Shadow_Lord.lua | 23 | 5454 | -----------------------------------
-- Area: Throne Room
-- MOB: Shadow Lord
-- Mission 5-2 BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMob... | gpl-3.0 |
kasicass/gearx | bin/server.lua | 1 | 4980 | -- emacs: -*- mode: lua; coding: utf-8; -*-
--[[
Copyright (C) 2007 GearX Team
This source code 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 2.1 of the Licen... | lgpl-2.1 |
nmacs/lm3s-uclinux | lib/liblua/luasocket-2.0.2/samples/cddb.lua | 56 | 1415 | local socket = require("socket")
local http = require("socket.http")
if not arg or not arg[1] or not arg[2] then
print("luasocket cddb.lua <category> <disc-id> [<server>]")
os.exit(1)
end
local server = arg[3] or "http://freedb.freedb.org/~cddb/cddb.cgi"
function parse(body)
local lines = string.gfind(bo... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Western_Adoulin/npcs/Barenngo.lua | 14 | 1459 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Barenngo
-- Type: Standard NPC and Quest NPC
-- Involved with Quests: 'Dont Ever Leaf Me'
-- @zone 256
-- @pos -101 3 14 256
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
-- onTrade A... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/effects/sublimation_activated.lua | 26 | 2143 | -----------------------------------
--
--
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
end;
-----------------------------------
-- onEffectTick Action
-----... | gpl-3.0 |
kasicass/gearx | bin/lua/scenehighscore.lua | 1 | 2309 | -- emacs: -*- mode: lua; coding: utf-8; -*-
--[[
Copyright (C) 2007 GearX Team
This source code 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 2.1 of the Licen... | lgpl-2.1 |
Scavenge/darkstar | scripts/globals/spells/sheepfoe_mambo.lua | 27 | 1608 | -----------------------------------------
-- Spell: Sheepfoe Mambo
-- Grants evasion bonus to all members.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caste... | gpl-3.0 |
mamaddeveloper/jjhw | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name.... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/items/bunch_of_gysahl_greens.lua | 12 | 1609 | -----------------------------------------
-- ID: 4545
-- Item: Bunch of Gysahl Greens
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility +3
-- Vitality -5
-- Additional Effect with Chocobo Shirt
-- Agility +10
-----------------------------------------
require("scripts/globals/status")... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Port_Bastok/TextIDs.lua | 6 | 5180 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6383; -- You cannot obtain the item (item>. Try trading again after sorting your inventory.
... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Selbina/npcs/Wenzel.lua | 14 | 1051 | ----------------------------------
-- Area: Selbina
-- NPC: Wenzel
-- Type: Item Deliverer
-- @pos 31.961 -14.661 57.997 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
---------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Quicksand_Caves/npcs/Goblin_Geologist.lua | 14 | 1039 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Goblin Geologist
-- Type: Mission
-- @pos -737.000 -11.125 -550.000 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Caves/... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | units/geo.lua | 3 | 3069 | unitDef = {
unitname = [[geo]],
name = [[Geothermal Generator]],
description = [[Medium Powerplant (+25)]],
acceleration = 0,
activateWhenBuilt = true,
brakeRate = 0,
buildCostEnergy ... | gpl-2.0 |
Brenin/PJ-3100 | Working Launchers/Games/Stepmania/StepMania 5/Themes/default/BGAnimations/ScreenCaution overlay/default.lua | 1 | 1275 | local t = Def.ActorFrame {};
-- Fade
t[#t+1] = Def.ActorFrame {
InitCommand=cmd(Center);
Def.Quad {
InitCommand=cmd(scaletoclipped,SCREEN_WIDTH,SCREEN_HEIGHT);
OnCommand=cmd(diffuse,Color.Black;diffusealpha,0;linear,0.5;diffusealpha,0.75);
OffCommand=cmd(linear,0.25;diffusealpha,0);
};
};
-- Emblem
t[#t+1] =... | mit |
flux-framework/flux-core | src/bindings/lua/ping.lua | 5 | 2151 | #!/usr/bin/env lua
-------------------------------------------------------------
-- Copyright 2014 Lawrence Livermore National Security, LLC
-- (c.f. AUTHORS, NOTICE.LLNS, COPYING)
--
-- This file is part of the Flux resource manager framework.
-- For details, see https://github.com/flux-framework.
--
-- SPDX-License-... | lgpl-3.0 |
Scavenge/darkstar | scripts/zones/Southern_San_dOria/npcs/Andecia.lua | 13 | 3192 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Andecia
-- Starts and Finishes Quest: Grave Concerns
-- @zone 230
-- @pos 167 0 45
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/So... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | units/corstorm.lua | 1 | 4782 | unitDef = {
unitname = [[corstorm]],
name = [[Rogue]],
description = [[Skirmisher Bot (Indirect Fire)]],
acceleration = 0.25,
brakeRate = 0.2,
buildCostEnergy = 120,
buildCostMetal = 120,
buildPic = [[CORSTORM... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/mobskills/Gregale_Wing_Air.lua | 33 | 1081 | ---------------------------------------------
-- Gregale Wing
--
-- Description: An icy wind deals Ice damage to enemies within a very wide area of effect. Additional effect: Paralyze
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 30' radial.
-- Notes: Used only Jormungand and Isgebind
-------... | gpl-3.0 |
omidtarh/wbot | plugins/who.lua | 1 | 1112 |
local PLUGIN = {}
PLUGIN.doc = [[
/me
Get the user ID for yourself and the group. Use it in a reply to get info for the sender of the original message.
]]
PLUGIN.triggers = {
'^/me',
'^/ping',
'^/who$'
}
function PLUGIN.action(msg)
if msg.from.id == msg.chat.id then
to_name = '@' .. bot.username .. ' (' ..... | gpl-2.0 |
angking0802wu/UniLua | Assets/StreamingAssets/LuaRoot/test/errors.lua | 9 | 10405 | print("testing errors")
local debug = require"debug"
-- avoid problems with 'strict' module (which may generate other error messages)
local mt = getmetatable(_G) or {}
local oldmm = mt.__index
mt.__index = nil
function doit (s)
local f, msg = load(s)
if f == nil then return msg end
local cond, msg = pcall(f)
... | mit |
Zero-K-Experiments/Zero-K-Experiments | scripts/armflea.lua | 2 | 13548 | local body = piece 'body'
local turret = piece 'turret'
local flare = piece 'flare'
local barrel = piece 'barrel'
local lfupleg = piece 'lfupleg'
local lrupleg = piece 'lrupleg'
local rrupleg = piece 'rrupleg'
local head = piece 'head'
local rfupleg = piece 'rfupleg'
local rrleg = piece 'rrleg'
local rfleg = ... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Gadgets/unit_nofriendlyfire.lua | 11 | 2424 | -- $Id: unit_nofriendlyfire.lua 3171 2008-11-06 09:06:29Z det $
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "No Friendly Fire",
desc = "Add... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/abilities/earth_maneuver.lua | 19 | 1610 | -----------------------------------
-- Ability: Earth Maneuver
-- Enhances the effect of earth attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
kirubz/Penlight | lua/pl/strict.lua | 28 | 3839 | --- Checks uses of undeclared global variables.
-- All global variables must be 'declared' through a regular assignment
-- (even assigning `nil` will do) in a main chunk before being used
-- anywhere or assigned to inside a function. Existing metatables `__newindex` and `__index`
-- metamethods are respected.
--
-- Yo... | mit |
Dyaxler/SpartanUI | Modules/Artwork/MenuTrays.lua | 1 | 6584 | local _G, SUI = _G, SUI
local L = SUI.L
local module = SUI:GetModule('Artwork_Core')
module.Trays = false
local trayWatcher = CreateFrame('Frame')
local settings = {}
local trayIDs = {
'left',
'right'
}
local SetBarVisibility = function(side, state)
if side == 'left' and state == 'hide' then
-- BT4BarStanceBar
... | gpl-3.0 |
RockySeven3161/TeleSeed | bot/utils.lua | 26 | 17219 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0r5.lua | 14 | 1320 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Ornate Gate
-- @pos -95 -24 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna_Aqued... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/fulm-long_salmon_sub.lua | 12 | 1486 | -----------------------------------------
-- ID: 4266
-- Item: fulm-long_salmon_sub
-- Food Effect: 60Min, All Races
-----------------------------------------
-- DEX +2
-- VIT +1
-- AGI +1
-- INT +2
-- MND -2
-- Ranged Accuracy +3
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Northern_San_dOria/npcs/Arienh.lua | 14 | 1034 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Arienh
-- Type: Standard Dialogue NPC
-- @zone 231
-- @pos -37.292 -2.000 -6.817
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");
--... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Pashhow_Marshlands_[S]/npcs/qm1.lua | 17 | 1116 | -----------------------------------
-- Area: Pashhow_Marshlands(S)
-- NPC: ??? (Kinepikwa)
-- Allow player to spawn Kinepikwa with Peiste pellets
--
-----------------------------------
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
functi... | gpl-3.0 |
Brenin/PJ-3100 | Working Launchers/Games/Stepmania/StepMania 5/Docs/Themerdocs/Examples/Example_Actors/Toasty.lua | 1 | 2035 | -- This is an example for the toasty animation used by ScreenGameplay.
-- To try it out, put it in BGAnimations/ScreenGameplay toasty.lua
-- The toasty animation is loaded as a transition by ScreenGameplay, which
-- means that StartTransitioningCommand is played to activate it.
-- However, the details of the toasty ar... | mit |
Scavenge/darkstar | scripts/globals/abilities/mug.lua | 8 | 1647 | -----------------------------------
-- Ability: Mug
-- Steal gil from enemy.
-- Obtained: Thief Level 35
-- Recast Time: 5:00
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- onAbilityCheck
------------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/abilities/eagle_eye_shot.lua | 26 | 2067 | -----------------------------------
-- Ability: Eagle Eye Shot
-- Delivers a powerful and accurate ranged attack.
-- Obtained: Ranger Level 1
-- Recast Time: 1:00:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals... | gpl-3.0 |
endlessm/chromium-browser | third_party/flatbuffers/src/tests/namespace_test/NamespaceC/TableInC.lua | 12 | 1513 | -- automatically generated by the FlatBuffers compiler, do not modify
-- namespace: NamespaceC
local flatbuffers = require('flatbuffers')
local TableInC = {} -- the module
local TableInC_mt = {} -- the class metatable
function TableInC.New()
local o = {}
setmetatable(o, {__index = TableInC_mt})
return o... | bsd-3-clause |
Scavenge/darkstar | scripts/zones/RuAun_Gardens/npcs/Pincerstone.lua | 17 | 4173 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: Pincerstone
-- NPCs which activates the blue teleports in sky
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuAun_Gardens/TextIDs");
------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Port_Bastok/npcs/Fo_Mocorho.lua | 59 | 1038 | -----------------------------------
-- Area: Port Bastok
-- NPC: Fo Mocorho
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Port_Bastok/TextIDs");
--... | gpl-3.0 |
endlessm/chromium-browser | third_party/spirv-headers/src/include/spirv/unified1/spirv.lua | 1 | 49282 | -- Copyright (c) 2014-2020 The Khronos Group Inc.
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and/or associated documentation files (the "Materials"),
-- to deal in the Materials without restriction, including without limitation
-- the rights to use, copy, mod... | bsd-3-clause |
PicoleDeLimao/Ninpou2 | game/dota_addons/ninpou2/scripts/vscripts/libraries/physics.lua | 10 | 101647 | PHYSICS_VERSION = "1.01"
PHYSICS_NAV_NOTHING = 0
PHYSICS_NAV_HALT = 1
PHYSICS_NAV_SLIDE = 2
PHYSICS_NAV_BOUNCE = 3
PHYSICS_NAV_GROUND = 4
PHYSICS_GROUND_NOTHING = 0
PHYSICS_GROUND_ABOVE = 1
PHYSICS_GROUND_LOCK = 2
COLLIDER_SPHERE = 0
COLLIDER_BOX = 1
COLLIDER_AABOX = 2
PHYSICS_THINK = 0.01
if Physics == nil then
... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Meriphataud_Mountains/npcs/Stone_Monument.lua | 14 | 1312 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 450.741 2.110 -290.736 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Port_Bastok/npcs/Evi.lua | 17 | 2244 | -----------------------------------
-- Area: Port Bastok
-- NPC: Evi
-- Starts Quests: Past Perfect (100%)
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require(... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Windurst_Walls/npcs/Burute-Sorute.lua | 14 | 5045 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Burute-Sorute
-- Type: Title Change NPC
-- @zone 239
-- @pos 0.080 -10.765 5.394 239
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
require("scripts/globals/titles");
local title2 = { NEW_ADVENTU... | gpl-3.0 |
omidtarh/wbot | plugins/qr.lua | 637 | 1730 | --[[
* qr plugin uses:
* - http://goqr.me/api/doc/create-qr-code/
* psykomantis
]]
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors)... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | units/corgarp.lua | 3 | 4687 | unitDef = {
unitname = [[corgarp]],
name = [[Wolverine]],
description = [[Artillery Minelayer Vehicle]],
acceleration = 0.0282,
brakeRate = 0.08,
buildCostEnergy = 260,
buildCostMetal = 260,
builder = false,
buildPic = ... | gpl-2.0 |
1yvT0s/luvit | deps/tls/init.lua | 2 | 2856 | --[[
Copyright 2014-2015 The Luvit Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... | apache-2.0 |
flux-framework/flux-core | src/bindings/lua/Test/More.lua | 2 | 10166 | --- @diagnostic disable
--
-- lua-TestMore : <http://fperrad.github.com/lua-TestMore/>
--
local loadstring = loadstring or load
local pairs = pairs
local pcall = pcall
local require = require
local tostring = tostring
local type = type
local match = require 'string'.match
local unpack = require 'table'.unpack or unpac... | lgpl-3.0 |
Brilliant-Minds/BMN-Powder-Toy | src/lua/socket/socket.lua | 146 | 4061 | -----------------------------------------------------------------------------
-- LuaSocket helper module
-- Author: Diego Nehab
-- RCS ID: $Id: socket.lua,v 1.22 2005/11/22 08:33:29 diego Exp $
-----------------------------------------------------------------------------
-----------------------------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Port_Jeuno/npcs/Leyla.lua | 17 | 1514 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Leyla
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Acti... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Widgets/gui_transporting.lua | 11 | 10222 | -- $Id: gui_transporting.lua 3171 2008-11-06 09:06:29Z det $
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file: gui_transporting.lua
-- brief: Display the units currently being transported
-... | gpl-2.0 |
endlessm/chromium-browser | third_party/skia/tools/lua/bitmap_statistics.lua | 207 | 1862 | function string.startsWith(String,Start)
return string.sub(String,1,string.len(Start))==Start
end
function string.endsWith(String,End)
return End=='' or string.sub(String,-string.len(End))==End
end
local canvas = nil
local num_perspective_bitmaps = 0
local num_affine_bitmaps = 0
local num_scaled_bitmaps = 0
loc... | bsd-3-clause |
RadonX-ROM/external_skia | tools/lua/bitmap_statistics.lua | 207 | 1862 | function string.startsWith(String,Start)
return string.sub(String,1,string.len(Start))==Start
end
function string.endsWith(String,End)
return End=='' or string.sub(String,-string.len(End))==End
end
local canvas = nil
local num_perspective_bitmaps = 0
local num_affine_bitmaps = 0
local num_scaled_bitmaps = 0
loc... | bsd-3-clause |
Zero-K-Experiments/Zero-K-Experiments | scripts/hoveraa.lua | 11 | 1989 | local base = piece 'base'
local body = piece 'body'
local turret = piece 'turret'
local ground1 = piece 'ground1'
local missile = piece 'missile'
local firepoint = piece 'firepoint'
local wakes = {}
for i = 1, 8 do
wakes[i] = piece ('wake' .. i)
end
include "constants.lua"
local SIG_MOVE = 1
local SIG_AIM = 2... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Gadgets/unit_priority.lua | 1 | 25355 | -- $Id$
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
--
-- Copyright (C) 2009.
-- Licensed under the terms of the GNU GPL, v2 or later.
--
-----------------------------------------------------------... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Halvung/mobs/Gurfurlur_the_Menacing.lua | 17 | 2097 | -----------------------------------
-- Area: Halvung
-- MOB: Gurfurlur the Menacing
-----------------------------------
require("scripts/globals/titles");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Middle_Delkfutts_Tower/npcs/Treasure_Chest.lua | 17 | 3792 | -----------------------------------
-- Area: Middle Delkfutt's Tower
-- NPC: Treasure Chest
-- Involved In Quest: Wings of Gold
-- @zone 157
-----------------------------------
package.loaded["scripts/zones/Middle_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/King_Ranperres_Tomb/npcs/Tombstone.lua | 13 | 3113 | -----------------------------------
-- Area: King Ranperre's Tomb
-- NPC: Tombstone
-- Involved in Quest: Grave Concerns
-- @pos 1 0.1 -101 190
-----------------------------------
package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")... | gpl-3.0 |
kirubz/Penlight | lua/pl/app.lua | 26 | 5794 | --- Application support functions.
-- See @{01-introduction.md.Application_Support|the Guide}
--
-- Dependencies: `pl.utils`, `pl.path`
-- @module pl.app
local io,package,require = _G.io, _G.package, _G.require
local utils = require 'pl.utils'
local path = require 'pl.path'
local app = {}
local function check_script... | mit |
Scavenge/darkstar | scripts/zones/Bhaflau_Thickets/mobs/Marid.lua | 12 | 1472 | -----------------------------------
-- Area: Bhaflau Thickets
-- MOB: Marid
-- Note: Place holder Mahishasura
-----------------------------------
require("scripts/zones/Bhaflau_Thickets/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob, player, i... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/weaponskills/freezebite.lua | 23 | 1281 | -----------------------------------
-- Freezebite
-- Great Sword weapon skill
-- Skill Level: 100
-- Delivers an ice elemental attack. Damage varies with TP.
-- Aligned with the Snow Gorget & Breeze Gorget.
-- Aligned with the Snow Belt & Breeze Belt.
-- Element: Ice
-- Modifiers: STR:30% ; INT:20%
-- 100%TP 200%TP ... | gpl-3.0 |
A-N-bot/anonymous | plugins/inrealm.lua | 850 | 25085 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
mortezamosavy999/monsterTG | plugins/inrealm.lua | 850 | 25085 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
ioiasff/yrew | plugins/inrealm.lua | 850 | 25085 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
kirubz/Penlight | tests/test-seq.lua | 8 | 1439 | local input = require 'pl.input'
local seq = require 'pl.seq'
local asserteq = require('pl.test').asserteq
local utils = require 'pl.utils'
local stringio = require 'pl.stringio'
local unpack = utils.unpack
local L = utils.string_lambda
local S = seq.list
local C = seq.copy
local C2 = seq.copy2
asserteq (seq.sum(inp... | mit |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Configs/customcmds.h.lua | 2 | 3302 | --------------------------------------------------------------------------------
--
-- Proposed Command ID Ranges:
--
-- all negative: Engine (build commands)
-- 0 - 999: Engine
-- 1000 - 9999: Group AI
-- 10000 - 19999: LuaUI
-- 20000 - 29999: LuaCob
-- 30000 - 39999: LuaRules
--
-- if you... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | units/bomberassault.lua | 3 | 4445 | unitDef = {
unitname = [[bomberassault]],
name = [[Eclipse]],
description = [[Assault Bomber (Anti-Static)]],
--autoheal = 25,
brakerate = 0.4,
buildCostEnergy = 1000,
buildCostMetal = 1000,
builder = false,
buildPic = [[b... | gpl-2.0 |
flux-framework/flux-core | t/shell/initrc/tests/0002-shell-env.lua | 7 | 1514 | require 'fluxometer' -- pulls in Test.More
ok (shell.setenv ("FOO", "bar"), "setenv FOO=bar")
ok (shell.getenv ("FOO") == "bar", "getenv gets env var just set")
ok (shell.unsetenv ("FOO"), "unsetenv works")
ok (shell.getenv ("FOO") == nil, "getenv doesn't see var just unset")
ok (shell.setenv ("TEST", "xxxy... | lgpl-3.0 |
Scavenge/darkstar | scripts/zones/West_Ronfaure/npcs/Colmaie.lua | 14 | 1157 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Colmaie
-- Type: Standard NPC
-- @pos -133.627 -61.999 272.373 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
-----------------------------------
-- onTrade A... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/culinarians_belt.lua | 12 | 1180 | -----------------------------------------
-- ID: 15451
-- Item: Culinarian's Belt
-- Enchantment: Synthesis image support
-- 2Min, All Races
-----------------------------------------
-- Enchantment: Synthesis image support
-- Duration: 2Min
-- Alchemy Skill +3
-----------------------------------------
require("scripts... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Valkurm_Dunes/npcs/qm4.lua | 14 | 1052 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: qm4 (???)
-- Involved in quest: Pirate's Chart
-- @pos -160 4 -131 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Valkurm_Dunes/TextIDs");... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Uleguerand_Range/npcs/HomePoint#3.lua | 27 | 1258 | -----------------------------------
-- Area: Uleguerand_Range
-- NPC: HomePoint#3
-- @pos
-----------------------------------
package.loaded["scripts/zones/Uleguerand_Range/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Uleguerand_Range/TextIDs");
require("scripts/globals/homepoint");
... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Outer_Horutoto_Ruins/npcs/_5eh.lua | 17 | 3743 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Ancient Magical Gizmo #4 (H 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;
-----------------------------------
re... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Widgets/gui_attack_aoe.lua | 2 | 22850 | -- $Id: gui_attack_aoe.lua 3823 2009-01-19 23:40:49Z evil4zerggin $
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
local versionNumber = "v3.1"
function widget:GetInfo()
return {
name = "Attack Ao... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Selbina/npcs/Chutarmire.lua | 17 | 1765 | -----------------------------------
-- Area: Selbina
-- NPC: Chutarmire
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/shop");
-------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/Dedden_IM.lua | 14 | 3347 | -----------------------------------
-- Area: The Sanctuary of Zi'Tah
-- NPC: Dedden, I.M.
-- Border Conquest Guards
-- @pos -252.454 -1.958 624.366 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/danceshroom.lua | 12 | 1190 | -----------------------------------------
-- ID: 4375
-- Item: danceshroom
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -5
-- Mind 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/abilities/pets/tail_whip.lua | 30 | 1284 | ---------------------------------------------------
-- Tail Whip M=5
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/summon");
-----------------------------------------------... | gpl-3.0 |
Kyklas/luci-proto-hso | modules/admin-full/luasrc/model/cbi/admin_system/fstab/swap.lua | 84 | 1922 | --[[
LuCI - Lua Configuration Interface
Copyright 2010 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
lo... | apache-2.0 |
Zero-K-Experiments/Zero-K-Experiments | effects/gundam_crawlexplode.lua | 50 | 8555 | -- small_nuke_explosion_fx
return {
["small_nuke_explosion_fx"] = {
usedefaultexplosions = false,
g_blast = {
air = true,
class = [[CSimpleParticleSystem]],
count = 1,
ground = true,
water = true,
properties... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | effects/xta_crawlexplode.lua | 50 | 8555 | -- small_nuke_explosion_fx
return {
["small_nuke_explosion_fx"] = {
usedefaultexplosions = false,
g_blast = {
air = true,
class = [[CSimpleParticleSystem]],
count = 1,
ground = true,
water = true,
properties... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/items/pork_cutlet_rice_bowl.lua | 12 | 2048 | -----------------------------------------
-- ID: 6406
-- Item: pork_cutlet_rice_bowl
-- Food Effect: 180Min, All Races
-----------------------------------------
-- HP +60
-- MP +60
-- STR +7
-- VIT +3
-- AGI +5
-- INT -7
-- Fire resistance +20
-- Attack +23% (cap 125)
-- Ranged Attack +23% (cap 125)
-- Store TP +4
----... | gpl-3.0 |
omid1212/spam | plugins/plugins.lua | 17 | 5153 | 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 |
Scavenge/darkstar | scripts/zones/Yhoator_Jungle/npcs/qm2.lua | 14 | 1953 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: ??? Used for Norg quest "Stop Your Whining"
-- @pos -94.073 -0.999 22.295 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
r... | gpl-3.0 |
tempbottle/tundra | scripts/tundra/tools/msvc-winsdk.lua | 28 | 4318 | -- msvc-winsdk.lua - Use Microsoft Windows SDK 7.1 or later to build.
module(..., package.seeall)
local native = require "tundra.native"
local os = require "os"
if native.host_platform ~= "windows" then
error("the msvc toolset only works on windows hosts")
end
local function get_host_arch()
local snative = nati... | gpl-3.0 |
smanolache/kong | spec/plugins/key-auth/api_spec.lua | 1 | 4207 | local json = require "cjson"
local http_client = require "kong.tools.http_client"
local spec_helper = require "spec.spec_helpers"
describe("key-auth credentials API", function()
local BASE_URL, credential, consumer
setup(function()
spec_helper.prepare_db()
spec_helper.start_kong()
end)
teardown(funct... | apache-2.0 |
Dyaxler/SpartanUI | Modules/Style_War/Style.lua | 1 | 10278 | local SUI = SUI
local L = SUI.L
local Artwork_Core = SUI:GetModule('Artwork_Core')
local module = SUI:GetModule('Style_War')
----------------------------------------------------------------------------------------------------
local InitRan = false
function module:OnInitialize()
--Enable the in the Core options screen
... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Kleh_Engyumoh.lua | 14 | 1064 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Kleh Engyumoh
-- Type: Standard NPC
-- @zone 94
-- @pos -54.962 -4.5 57.701
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Selbina/npcs/Romeo.lua | 14 | 2522 | -----------------------------------
-- Area: Selbina
-- NPC: Romeo
-- Starts and Finishes Quest: Donate to Recycling
-- @zone 248
-- @pos -11 -11 -6
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Leujaoam_Sanctum/npcs/rune_of_release.lua | 30 | 1891 | -----------------------------------
-- Area: Leujaoam Sanctum
-----------------------------------
require("scripts/globals/besieged")
require("scripts/zones/Leujaoam_Sanctum/IDs");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----... | gpl-3.0 |
dani-sj/evilbot03 | plugins/info_en.lua | 11 | 8191 | --[[
#
# Show users information in groups
#
# author: Arian < @Dragon_Born >
# our channel: @GPMod
# Version: 2016-04-02
#
# Features added:
# -- setrank on reply
# -- get users info with their IDs and @username
#
]]
do
local Arian = 99530862 --put your id here(BOT OWNER ID)
local function setrank(msg, name, value)... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Palborough_Mines/npcs/Mythril_Seam.lua | 14 | 2847 | -----------------------------------
-- Area: Palborough Mines
-- NPC: Mythril Seam
-- Involved In Mission: Journey Abroad
-- Involved in quest: Rock Racketeer
-- @zone 143
-- @pos -68 -7 173 // Rock Racketeer @pos 210 -32 -63
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Sealions_Den/bcnms/warriors_path.lua | 26 | 2441 | -----------------------------------
-- Area: Sealion's Den
-- Name: warriors_path
-- bcnmID : 993
-----------------------------------
package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/... | gpl-3.0 |
taxler/radish | lua/parse/xml/prefix/before_document.lua | 1 | 3279 |
-- NOT including declaration
local re = require 're'
return re.compile([[
prefix_prolog <- {| misc* (doctype misc*)? |} {}
misc <- %COMMENT / %C_PI / %s+
doctype <- '<!DOCTYPE' {|
%s+
{:name: %NAME :}
(%s+ external_id)?
%s*
('[' (markupdecl / declsep)* ']' %s*)?
{:type: ''->'docty... | mit |
Scavenge/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Loillie.lua | 14 | 1633 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Loillie
-- @zone 80
-- @pos 78 -8 -23
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/quests");
--------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Batallia_Downs/npcs/qm4.lua | 17 | 1589 | -----------------------------------
-- Area: Batallia Downs
-- NPC: qm4 (???)
--
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Batallia_Downs/TextIDs");
require("scripts/globals/keyitems");
require("scrip... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Gueriette.lua | 14 | 1930 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Gueriette
-- Type: Outpost Vendor
-- @pos -24 -59 -120 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/weaponskills/blast_arrow.lua | 15 | 1376 | -----------------------------------
-- Blast Arrow
-- Archery weapon skill
-- Skill level: 200
-- Delivers a melee-distance ranged attack. params.accuracy varies with TP.
-- Aligned with the Snow Gorget & Light Gorget.
-- Aligned with the Snow Belt & Light Belt.
-- Element: None
-- Modifiers: STR:16% ; AGI:25%
-- 100%T... | gpl-3.0 |
kankaristo/premake-core | src/base/container.lua | 6 | 8270 | ---
-- container.lua
-- Implementation of configuration containers.
-- Copyright (c) 2014 Jason Perkins and the Premake project
---
local p = premake
p.container = {}
local container = p.container
---
-- Keep a master dictionary of container class, so they can be easily looked
-- up by name (technically you cou... | bsd-3-clause |
ArchonTeam/Soft_TG | plugins/antifa.lua | 8 | 1293 | ntifa = {}-- An empty table for solving multiple kicking problem
do
local function run(msg, matches)
if msg.to.type == 'chat' then
if is_momod(msg) then -- Ignore mods,owner,admins
return
end
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)]['settings']['antifa'] then
if data... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.