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 |
|---|---|---|---|---|---|
Scavenge/darkstar | scripts/zones/Riverne-Site_A01/npcs/Unstable_Displacement.lua | 17 | 1049 | -----------------------------------
-- Area: Riverne Site #A01
-- NPC: Unstable Displacement
-- ENM Battlefield
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Riverne-Si... | gpl-3.0 |
SvenRoederer/packages | libs/lua-math-polygon/src/math-polygon.lua | 1 | 1763 | local M = {}
-- Source with pseudocode: https://de.wikipedia.org/wiki/Punkt-in-Polygon-Test_nach_Jordan
-- see also https://en.wikipedia.org/wiki/Point_in_polygon
-- parameters: points A = (x_a, y_a), B = (x_b, y_b), C = (x_c, y_c)
-- return value: −1 if the ray from A to the right bisects the edge [BC] (the lower vor... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/items/mammut.lua | 41 | 1059 | -----------------------------------------
-- ID: 18503
-- Item: Mammut
-- Additional Effect: Ice Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
f... | gpl-3.0 |
smanolache/kong | spec/integration/04-admin_api/kong_routes_spec.lua | 1 | 4656 | local json = require "cjson"
local utils = require "kong.tools.utils"
local http_client = require "kong.tools.http_client"
local spec_helper = require "spec.spec_helpers"
local env = spec_helper.get_env() -- test environment
local dao_factory = env.dao_factory
describe("Admin API", function()
setup(function()
... | apache-2.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Widgets/chili/Skins/DarkHive/skin.lua | 17 | 4554 | --//=============================================================================
--// Skin
local skin = {
info = {
name = "DarkHive",
version = "0.1",
author = "luckywaldo7",
}
}
--//=============================================================================
--//
skin.general = {
--font ... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Mhaura/npcs/Willah_Maratahya.lua | 14 | 3824 | -----------------------------------
-- Area: Mhaura
-- NPC: Willah Maratahya
-- Title Change NPC
-- @pos 23 -8 63 249
-----------------------------------
require("scripts/globals/titles");
local title2 = { PURVEYOR_IN_TRAINING , ONESTAR_PURVEYOR , TWOSTAR_PURVEYOR , THREESTAR_PURVEYOR , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | lups/ParticleClasses/StaticParticles.lua | 10 | 10887 | -- $Id: StaticParticles.lua 3345 2008-12-02 00:03:50Z jk $
-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
local StaticParticles = {}
Stati... | gpl-2.0 |
Kyklas/luci-proto-hso | modules/base/luasrc/sauth.lua | 78 | 2928 | --[[
Session authentication
(c) 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
--- LuCI sess... | apache-2.0 |
Zero-K-Experiments/Zero-K-Experiments | effects/gauss.lua | 17 | 12979 |
local retEffects = {
["gauss_tag_l"] = {
tealflash = {
air = true,
class = [[CSimpleGroundFlash]],
count = 1,
ground = true,
water = true,
properties = {
colormap = [[0.5 1 1 0.03 0 0 0 0.01... | gpl-2.0 |
IronDominion/IronDominion | mods/id/bits/manager.lua | 1 | 2511 | eras = {
{["duration"] = 3000, ["prerequisite"] = "start_phase", ["text"] = "The game has started."},
{["duration"] = 4500, ["prerequisite"] = "early_phase1", ["text"] = "You've advanced to Early Phase I."},
{["duration"] = 4500, ["prerequisite"] = "early_phase2", ["text"] = "You've advanced to Early Phase II."}... | gpl-3.0 |
PredatorMF/Urho3D | Source/ThirdParty/LuaJIT/src/jit/p.lua | 40 | 9092 | ----------------------------------------------------------------------------
-- LuaJIT profiler.
--
-- Copyright (C) 2005-2016 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
--
-- This modul... | mit |
Scavenge/darkstar | scripts/globals/mobskills/Abrasive_Tantara.lua | 27 | 1028 | ---------------------------------------------
-- Abrasive Tantara
--
-- Description: Inflicts amnesia in an area of effect
-- Type: Enfeebling
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: 10' as well as single target outside of 10'
-- Notes: Doesn't use this if its horn is broken. It is possible for Abras... | gpl-3.0 |
cohadar/tanks-of-harmony-and-love | client.lua | 1 | 3766 | --- @module client
local client = {}
require "enet"
local conf = require "conf"
local tank = require "tank"
local bullets = require "bullets"
local utils = require "utils"
local world = require "world"
local history = require "history"
local text = require "text"
local effects = require "effects"
local _host = nil
lo... | mit |
Scavenge/darkstar | scripts/zones/North_Gustaberg/MobIDs.lua | 23 | 1385 | -----------------------------------
-- Area: North Gustaberg
-- Comments: -- posX, posY, posZ
--(Taken from 'mob_spawn_points' table)
-----------------------------------
-- Stinging Sophie
Stinging_Sophie=17211561;
Stinging_Sophie_PH={
[17211532] = '1', -- 352.974, -40.359, 472.914
[17211534] = '1', -- 353.313, -... | gpl-3.0 |
LuaDist2/vida | output/vida.lua | 3 | 15745 | if __COMBINER == nil then
__COMBINER = {
MODULE = {},
__nativeRequire = require,
require = function(id)
assert(type(id) == 'string', 'invalid require id:' .. tostring(id))
if package.loaded[id] then
return package.loaded[id]
end
... | mit |
xebecnan/UniLua | Assets/StreamingAssets/LuaRoot/lib/ffi.lua | 5 | 13616 | local cs = require "ffi.cs"
local CONSTRUCTOR = "_New"
local TYPE_ACCESS = "_Type"
local CONVERT_FROM = "_ConvertFrom"
----------------------------------------------------------------------
local type_alias = {
bool = "Boolean",
char = "Char",
byte = "Byte",
sbyte = "SByte",
short... | mit |
PicoleDeLimao/Ninpou2 | game/dota_addons/ninpou2/scripts/vscripts/items/nunoboko_no_ken.lua | 1 | 4323 | --[[
Author: PicoleDeLimao
Date: 04.09.2016
Attachs sword particle when equiped
]]
function Equip(event)
local caster = event.caster
local ability = event.ability
local damageIncrease = ability:GetLevelSpecialValueFor("elemental_damage_bonus", ability:GetLevel() - 1)
caster.nunobokoNoKenCount = (caster.nunoboko... | apache-2.0 |
1yvT0s/luvit | tests/test-fs-readfile-unlink.lua | 11 | 1448 | --[[
Copyright 2012-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 or... | apache-2.0 |
Zero-K-Experiments/Zero-K-Experiments | units/chicken_tiamat.lua | 3 | 8618 | unitDef = {
unitname = [[chicken_tiamat]],
name = [[Tiamat]],
description = [[Heavy Assault/Riot]],
acceleration = 0.36,
autoheal = 20,
brakeRate = 0.205,
buildCostEnergy = 0,
buildCostMetal = 0,
builder = false,
buil... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/The_Ashu_Talif/mobs/Ashu_Talif_Crew.lua | 10 | 1189 | -----------------------------------
-- Area: The Ashu Talif (The Black Coffin)
-- MOB: Ashu Talif Crew
-----------------------------------
require("scripts/globals/status");
local TheAshuTalif = require("scripts/zones/The_Ashu_Talif/IDs");
-----------------------------------
-- onMobSpawn Action
--------------------... | gpl-3.0 |
maksym1221/nlp-rnn | util/CharSplitLMMinibatchLoader.lua | 1 | 9489 | local rex = require 'rex_pcre'
-- Modified from https://github.com/oxford-cs-ml-2015/practical6
-- the modification included support for train/val/test splits
local CharSplitLMMinibatchLoader = {}
CharSplitLMMinibatchLoader.__index = CharSplitLMMinibatchLoader
function CharSplitLMMinibatchLoader.create(data_dir, bat... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Gadgets/feature_fx.lua | 6 | 1309 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
if not gadgetHandler:IsSyncedCode() then
return
end
--------------------------------------------------------------------------------
------------------------... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/items/serving_of_bass_meuniere_+1.lua | 12 | 1663 | -----------------------------------------
-- ID: 4346
-- Item: serving_of_bass_meuniere_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health % 3 (cap 130)
-- Dexterity 3
-- Agility 3
-- Mind -3
-- Ranged ACC % 6
-- Ranged ACC Cap 20
-----------------------------------------
require(... | gpl-3.0 |
xincun/nginx-openresty-windows | luajit-root/luajit/share/luajit-2.1.0-alpha/jit/dis_x86.lua | 17 | 29376 | ----------------------------------------------------------------------------
-- LuaJIT x86/x64 disassembler module.
--
-- Copyright (C) 2005-2013 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
--------------------------------------------------------------------------... | bsd-2-clause |
taxler/radish | lua/parse/substitution/charset/cswindows1252.lua | 1 | 1732 |
local byte = require 'parse.substitution.charset.byte'
return byte + {
['\x80'] = '\u{20ac}'; -- euro sign
['\x81'] = require 'parse.substitution.undefined_char';
['\x82'] = '\u{201a}'; -- single low-9 quotation mark
['\x83'] = '\u{192}'; -- latin small letter f with hook
['\x84'] = '\u{201e}'; -- double low-9 q... | mit |
omidtarh/wbot | bot/bot.lua | 1 | 6954 | 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 = '0.14.6'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
r... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | scripts/shipskirm.lua | 4 | 4625 | --Stupid dumb Bos converted to amazing awesome Lua (see http://packages.springrts.com/bos2lua/index.php)
include 'constants.lua'
--------------------------------------------------------------------
--pieces
--------------------------------------------------------------------
local hull = piece 'hull'
local neck = pi... | gpl-2.0 |
TeamFSIModding/FS17_Goweil_LT_Master | src/scripts/hud/hudProgressIcon.lua | 1 | 2703 | --
-- HudProgressIcon
--
-- @author TyKonKet
-- @date 06/04/2017
HudProgressIcon = {};
local HudProgressIcon_mt = Class(HudProgressIcon, Hud);
function HudProgressIcon:new(name, overlayFilename, x, y, width, height, parent, custom_mt)
if custom_mt == nil then
custom_mt = HudProgressIcon_mt;
end
se... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Port_Bastok/npcs/Kaede.lua | 14 | 2546 | -----------------------------------
-- Area: Port Bastok
-- NPC: Kaede
-- Start Quest: Ayame and Kaede
-- Involved in Quests: Riding on the Clouds
-- @pos 48 -6 67 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
PaulBatchelor/Soundpipe | modules/data/delay.lua | 4 | 1145 | sptbl["delay"] = {
files = {
module = "delay.c",
header = "delay.h",
example = "ex_delay.c",
},
func = {
create = "sp_delay_create",
destroy = "sp_delay_destroy",
init = "sp_delay_init",
compute = "sp_delay_compute",
},
params = {
ma... | mit |
Scavenge/darkstar | scripts/zones/Castle_Oztroja/npcs/_47c.lua | 14 | 2120 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47c (Handle)
-- Notes: Opens Trap Door (_47a) or Brass Door (_470)
-- @pos 17.717 -1.087 -14.320 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Behemoths_Dominion/npcs/Field_Manual.lua | 29 | 1051 | -----------------------------------
-- Field Manual
-- Area: Behemoth's Dominion
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
------------------------------... | gpl-3.0 |
Kyklas/luci-proto-hso | applications/luci-pbx/luasrc/controller/pbx.lua | 144 | 1448 | --[[
Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com>
This file is part of luci-pbx.
luci-pbx 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
... | apache-2.0 |
Scavenge/darkstar | scripts/globals/effects/dark_arts.lua | 65 | 2045 | -----------------------------------
--
--
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:recalculateAbilitiesTable();
local bonus = effect:getPower();
local helix = effect:get... | gpl-3.0 |
jnsbl/dotfiles | neovim/lua/plugins/init.lua | 1 | 2505 | vim.cmd [[packadd packer.nvim]]
require("packer").startup(function(use)
use "savq/paq-nvim" -- Let Packer manage itself
-- Appearance
use "bradcush/base16-nvim"
use "RRethy/nvim-base16"
use "kyazdani42/nvim-web-devicons"
use "nvim-lualine/lualine.nvim"
use "goolord/alpha-nvim"
use "lu... | unlicense |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Gadgets/unit_paralysis_damage.lua | 4 | 2516 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "Paralysis",
desc = "Handels paralysis system and adds extra_damage to lightning weapons",
... | gpl-2.0 |
Arashbrsh/lifemaic | plugins/invite.lua | 15 | 1046 | -- Invite other user to the chat group.
-- Use !invite name User_name or !invite id id_number
-- The User_name is the print_name (there are no spaces but _)
do
local function callback(extra, success, result)
vardump(success)
vardump(result)
end
local function run(msg, matches)
local user = matches[2]
-- Use... | gpl-2.0 |
lordporya1/6985 | plugins/autoleave.lua | 125 | 1025 | --[[
Kicking ourself (bot) from unmanaged groups.
When someone invited this bot to a group, the bot then will chek if the group is in its moderations (moderation.json). If not, the bot will exit immediately by kicking itself out of that group.
No switch available. You need to turn it on or off using !plugins command.... | gpl-2.0 |
opencpe/mand | mand/tests/nonunique_index_stresstest.lua | 2 | 2083 | require "libluadmconfig"
require "luaevent.core"
-- open configure session
evctx = luaevent.core.new()
rc, session = dmconfig.init(evctx)
if rc ~= dmconfig.r_ok then
error("Couldn't initiate session object or establish a connection to the server")
end
print "Initiating the session object was successful"
if sessi... | mpl-2.0 |
Scavenge/darkstar | scripts/globals/spells/bluemagic/saline_coat.lua | 26 | 1336 | -----------------------------------------
-- Spell: Saline Coat
-- Enhances magic defense
-- Spell cost: 66 MP
-- Monster Type: Luminians
-- Spell Type: Magical (Light)
-- Blue Magic Points: 3
-- Stat Bonus: VIT+2, AGI+2, MP+10
-- Level: 72
-- Casting Time: 3 seconds
-- Recast Time: 60 seconds
-- Duration: 60 seconds
-... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Mount_Zhayolm/npcs/Runic_Portal.lua | 24 | 1758 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: Runic Portal
-- Mount Zhayolm Teleporter Back to Aht Urgan Whitegate
-- @pos 688 -23 349 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Moun... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Upper_Jeuno/npcs/Zekobi-Morokobi.lua | 14 | 1051 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Zekobi-Morokobi
-- Type: Standard NPC
-- @zone 244
-- @pos 41.258 -5.999 -74.105
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Abyssea-Vunkerl/npcs/qm1.lua | 5 | 1346 | -----------------------------------
-- Zone: Abyssea-Vunkerl
-- NPC: qm1 (???)
-- Spawns Khalkotaur
-- @pos ? ? ? 217
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/deep-fried_shrimp_+1.lua | 12 | 1689 | -----------------------------------------
-- ID: 6277
-- Item: deep-fried_shrimp
-- Food Effect: 60Min, All Races
-----------------------------------------
-- VIT +4
-- Fire resistance +21
-- Accuracy +21% (cap 75)
-- Ranged Accuracy +21% (cap 75)
-- Subtle Blow +9
-----------------------------------------
require("sc... | gpl-3.0 |
Tkachov/scummvm | devtools/create_ultima/files/ultima6/scripts/u6/magic/circle_07/chain_bolt.lua | 18 | 1582 | local caster = magic_get_caster()
local actor = select_actor_with_projectile(0x188, caster)
if actor == nil then return end
local random = math.random
local exp = actor_hit(actor, random(1, 0x1e))
if exp ~= 0 then
caster.exp = caster.exp + exp
end
actor_yell_for_help(caster, actor, 1)
actor_hit_msg(actor)
local i... | gpl-3.0 |
Youka/NyuFX | templates/Fun/3D_cube.lua | 2 | 2434 | -- Cube rectangles
local cube = {nil, nil, nil, nil, nil, nil}
-- Front rectangle (frontface has points clockwise; 1 pixel overhang to fill gaps)
cube[1] = {
{-101, -101, 100},
{101, -101, 100},
{101, 101, 100},
{-101, 101, 100}
}
-- Back rectangle
cube[2] = {
math.rotate(cube[1][1], "y", 180),
math.rotate(cube[1... | lgpl-3.0 |
smanolache/kong | spec/plugins/jwt/hooks_spec.lua | 1 | 5589 | local json = require "cjson"
local http_client = require "kong.tools.http_client"
local spec_helper = require "spec.spec_helpers"
local cache = require "kong.tools.database_cache"
local jwt_encoder = require "kong.plugins.jwt.jwt_parser"
local STUB_GET_URL = spec_helper.STUB_GET_URL
local API_URL = spec_helper.API_URL... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Apollyon/mobs/Gorynich.lua | 17 | 1531 | -----------------------------------
-- Area: Apollyon NW
-- NPC: Kaiser Behemoth
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
-- onMobSpawn Action
-------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/The_Eldieme_Necropolis_[S]/npcs/Turbulent_Storm.lua | 29 | 1838 | -----------------------------------
-- Area: The Eldieme Necropolis [S]
-- NPC: Turbulent Storm
-- Note: Starts Quest "The Fighting Fourth"
-- @pos 422.461 -48.000 175
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis_[S]/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Port_Windurst/npcs/Boronene.lua | 14 | 1049 | -----------------------------------
-- Area: Port Windurst
-- NPC: Boronene
-- Type: Moghouse Renter
-- @zone 240
-- @pos 201.651 -13 229.584
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
---------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Waughroon_Shrine/bcnms/on_my_way.lua | 27 | 1994 | -----------------------------------
-- Area: Waughroon Shrine
-- Name: Mission Rank 7-2 (Bastok)
-- @pos -345 104 -260 144
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/global... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Qulun_Dome/npcs/_440.lua | 14 | 1602 | -----------------------------------
-- Area: Qulun Dome
-- NPC: Door
-- Involved in Mission: Magicite
-- @pos 60 24 -2 148
-----------------------------------
package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Qulun... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Widgets/chili_new/skins/DarkGlass/skin.lua | 43 | 1112 | --//=============================================================================
--// GlassSkin
local skin = {
info = {
name = "DarkGlass",
version = "0.11",
author = "jK",
depend = {
"Glass",
},
}
}
--//=============================================================================
... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Kazham/npcs/Vanono.lua | 14 | 1484 | -----------------------------------
-- Area: Kazham
-- NPC: Vanono
-- Type: Standard NPC
-- @zone 250
-- @pos -23.140 -5 -23.101
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
yohanesyuen/mal | lua/step8_macros.lua | 40 | 5392 | #!/usr/bin/env lua
local table = require('table')
local readline = require('readline')
local utils = require('utils')
local types = require('types')
local reader = require('reader')
local printer = require('printer')
local Env = require('env')
local core = require('core')
local List, Vector, HashMap = types.List, typ... | mpl-2.0 |
Scavenge/darkstar | scripts/zones/Windurst_Woods/npcs/Anillah.lua | 53 | 1829 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Anillah
-- Type: Clothcraft Image Support
-- @pos -34.800 -2.25 -119.950 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/RuAun_Gardens/npcs/Treasure_Coffer.lua | 14 | 3857 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: Treasure Coffer
-- @zone 130
-- @pos
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
requi... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Meriphataud_Mountains/npcs/Daruru_WW.lua | 14 | 3356 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Daruru, W.W.
-- Type: Border Conquest Guards
-- @pos -120.393 -25.822 -592.604 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Configs/StartBoxes/Iced Coffee v4.3.lua | 11 | 1915 | return {
[0] = {
boxes = {
{
{2501.6335449219, 753.90344238281},
{2172.1101074219, 430.34170532227},
{2216.1037597656, 386.40158081055},
{2320.662109375, 364.4716796875},
{2398.1352539063, 343.24713134766},
{2467.3872070313, 353.52038574219},
{2566.8725585938, 365.91967773438},
{26... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Quicksand_Caves/npcs/qm6.lua | 27 | 2110 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: ??? (qm6)
-- Bastok Mission 8.1 "The Chains That Bind Us"
-- @pos
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm9.lua | 14 | 1378 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: qm9 (???)
-- Spawns Alectryon
-- @pos ? ? ? 45
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[[... | gpl-3.0 |
cyclonetm/XmakanX | plugins/info.lua | 1 | 1930 | do
local function action_by_reply(extra, success, result)
local user_info = {}
local uhash = 'user:'..result.from.id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..result.from.id..':'..result.to.id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print_name(user)..' ['.... | gpl-2.0 |
swan524/BotOfLegend | MetaBuild/MetaBuild.lua | 1 | 5244 | class 'MetaBuild';
function MetaBuild:__init()
self:Alerte("MetaBuild loading..");
self.Items = {};
self.Sprite = {};
self.UseMetabuild = false;
self:GetData();
self:GetSprite();
self.MetaBuild = scriptConfig(" > MetaBuild", "MetaBuild");
self.MetaBuild:addParam("Enable", "Enable MetaBuild :", SCRIPT_PARAM_ON... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | units/armjeth.lua | 1 | 4768 | unitDef = {
unitname = [[armjeth]],
name = [[Gremlin]],
description = [[Cloaked Anti-Air Bot]],
acceleration = 0.5,
brakeRate = 0.32,
buildCostEnergy = 150,
buildCostMetal = 150,
buildPic = [[ARMJETH.png]],
... | gpl-2.0 |
tonyli71/kolla | docker/heka/plugins/decoders/os_syslog.lua | 6 | 1710 | -- Copyright 2016 Mirantis, Inc.
--
-- 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 or agreed to ... | apache-2.0 |
Scavenge/darkstar | scripts/globals/spells/raiton_san.lua | 21 | 1286 | -----------------------------------------
-- Spell: Raiton: San
-- Deals lightning damage to an enemy and lowers its resistance against earth.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | scripts/nsaclash.lua | 9 | 3737 | include "constants.lua"
include "RockPiece.lua"
local base = piece 'base'
local front = piece 'front'
local turret = piece 'turret'
local lbarrel = piece 'lbarrel'
local rbarrel = piece 'rbarrel'
local lflare = piece 'lflare'
local rflare = piece 'rflare'
local exhaust = piece 'exhaust'
local wakes = {}
for i =... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/spells/silencega.lua | 6 | 1124 | -----------------------------------------
-- Spell: Silence
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)... | gpl-3.0 |
Brenin/PJ-3100 | Working Launchers/Games/Stepmania/StepMania 5/Themes/_fallback/Scripts/03 ThemeAndGamePrefs.lua | 1 | 3329 | -- sm-ssc Default Theme Preferences Handler
function InitGamePrefs()
local Prefs =
{
};
local BPrefs =
{
{ "ComboOnRolls", false },
};
for idx,pref in ipairs(Prefs) do
if GetGamePref( pref[1] ) == nil then
SetGamePref( pref[1], pref[2] );
end;
end;
for idx,pref in ipairs(BPrefs) do
if GetGamePr... | mit |
Scavenge/darkstar | scripts/zones/Bastok_Mines/npcs/Tall_Mountain.lua | 29 | 1820 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Tall Mountain
-- Involved in Quest: Stamp Hunt
-- Finish Mission: Bastok 6-1
-- @pos 71 7 -7 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/bowl_of_dhalmel_stew.lua | 12 | 1754 | -----------------------------------------
-- ID: 4433
-- Item: Bowl of Dhalmel Stew
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 4
-- Agility 1
-- Vitality 2
-- Intelligence -2
-- Attack % 25
-- Attack Cap 45
-- Ranged ATT % 25
-- Ranged ATT Cap 45
----------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Maze_of_Shakhrami/npcs/qm2.lua | 14 | 1859 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: qm2
-- Type: Quest NPC
-- @pos 143 9 -219 198
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Maze_of_Shakhrami/TextIDs");
require("... | gpl-3.0 |
kirubz/Penlight | examples/seesubst.lua | 15 | 1272 | -- shows how replacing '@see module' in the Markdown documentation
-- can be done more elegantly using PL.
-- We either have something like 'pl.config' (a module reference)
-- or 'pl.seq.map' (a function reference); these cases must be distinguished
-- and a Markdown link generated pointing to the LuaDoc file.
require... | mit |
PredatorMF/Urho3D | bin/Data/LuaScripts/12_PhysicsStressTest.lua | 24 | 12743 | -- Physics stress test example.
-- This sample demonstrates:
-- - Physics and rendering performance with a high (1000) moving object count
-- - Using triangle meshes for collision
-- - Optimizing physics simulation by leaving out collision event signaling
-- - Usage of Lua Coroutine to yield/resume... | mit |
Scavenge/darkstar | scripts/zones/Beaucedine_Glacier/Zone.lua | 12 | 3024 | -----------------------------------
--
-- Zone: Beaucedine_Glacier (111)
--
-----------------------------------
package.loaded[ "scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Beaucedine_Glacier/TextIDs");
require("scripts/globals/missions");
require("scrip... | gpl-3.0 |
Scavenge/darkstar | scripts/mixins/abyssea_nm.lua | 20 | 2977 | -- Abyssea NM mixin (for non-force popped NMs)
-- Customization:
require("scripts/globals/mixins")
require("scripts/globals/abyssea")
g_mixins = g_mixins or {}
g_mixins.abyssea_nm = function(mob)
mob:addListener("ENGAGE", "ABYSSEA_WEAKNESS_SET", function(mob)
mob:setLocalVar("abyssea_magic_weak", getNewY... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/weaponskills/full_swing.lua | 25 | 1283 | -----------------------------------
-- Full Swing
-- Staff weapon skill
-- Skill Level: 200
-- Delivers a single-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget & Thunder Gorget.
-- Aligned with the Flame Belt & Thunder Belt.
-- Element: None
-- Modifiers: STR:50%
--... | gpl-3.0 |
Brenin/PJ-3100 | Working Launchers/Games/Stepmania/StepMania 5/NoteSkins/dance/midi-note-3d/NoteSkin.lua | 1 | 2448 | -- Haggen Daze
local ret = ... or {};
ret.RedirTable =
{
Up = "Down",
Down = "Down",
Left = "Down",
Right = "Down",
UpLeft = "Down",
UpRight = "Down",
};
local OldRedir = ret.Redir;
ret.Redir = function(sButton, sElement)
-- sButton, sElement = OldRedir(sButton, sElement);
if sElement == "Tap Fake"
then
... | mit |
BlockMen/minetest_next | mods/default/nodes/lava.lua | 2 | 2327 | minetest.register_node("default:lava_source", {
description = "Lava Source",
inventory_image = minetest.inventorycube("default_lava.png"),
drawtype = "liquid",
tiles = {
{
name = "default_lava_source_animated.png",
animation = {
type = "vertical_frames",
aspect_w = 16,
aspect_h = 16,
length ... | gpl-3.0 |
smanolache/kong | kong/plugins/rate-limiting/migrations/postgres.lua | 1 | 1069 | return {
{
name = "2015-08-03-132400_init_ratelimiting",
up = [[
CREATE TABLE IF NOT EXISTS ratelimiting_metrics(
api_id uuid,
identifier text,
period text,
period_date timestamp without time zone,
value integer,
PRIMARY KEY (api_id, identifier, period_dat... | apache-2.0 |
oceancn/luci-nwan | luci/modules/admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua | 3 | 3240 | --[[
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: mount.lu... | mit |
smanolache/kong | spec/plugins/hmac-auth/access_spec.lua | 4 | 23300 | local spec_helper = require "spec.spec_helpers"
local http_client = require "kong.tools.http_client"
local cjson = require "cjson"
local crypto = require "crypto"
local base64 = require "base64"
local PROXY_URL = spec_helper.PROXY_URL
local STUB_GET_URL = spec_helper.STUB_GET_URL
local STUB_POST_URL = spec_helper.STUB... | apache-2.0 |
Scavenge/darkstar | scripts/globals/items/remedy.lua | 7 | 1289 | -----------------------------------------
-- ID: 4155
-- Item: Remedy
-- Item Effect: This potion remedies status ailments.
-- Works on paralysis, silence, blindness, poison, and disease.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/bloody_bolt.lua | 26 | 1410 | -----------------------------------------
-- ID: 18151
-- Item: Bloody Bolt
-- Additional Effect: Drains HP
-----------------------------------------
require("scripts/globals/status");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
function onAdditionalEffect(playe... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | units/armjamt.lua | 3 | 3084 | unitDef = {
unitname = [[armjamt]],
name = [[Sneaky Pete]],
description = [[Area Cloaker/Jammer]],
activateWhenBuilt = true,
buildCostEnergy = 420,
buildCostMetal = 420,
builder =... | gpl-2.0 |
focusworld/antispam | 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 |
mamaddeveloper/jjhw | plugins/remind.lua | 362 | 1875 | local filename='data/remind.lua'
local cronned = load_from_file(filename)
local function save_cron(msg, text,date)
local origin = get_receiver(msg)
if not cronned[date] then
cronned[date] = {}
end
local arr = { origin, text } ;
table.insert(cronned[date], arr)
serialize_to_file(cronned, filename)
re... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Port_Jeuno/npcs/Sagheera.lua | 11 | 10850 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Sagheera
-- @pos -3 0.1 -9 246
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Western_Adoulin/npcs/Dewalt.lua | 14 | 2104 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Dewalt
-- Type: Standard NPC and Quest NPC
-- Involved with Quests: 'Flavors of our Lives'
-- 'Dont Ever Leaf Me'
-- @zone 256
-- @pos -23 0 28 256
-----------------------------------
require("scripts/globals/quests");
--... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/rolanberry_pie_+1.lua | 12 | 1285 | -----------------------------------------
-- ID: 4339
-- Item: rolanberry_pie_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 60
-- Intelligence 3
-- MP Regen While Healing 1
-----------------------------------------
require("scripts/globals/status");
---------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Metalworks/npcs/Kaela.lua | 14 | 1445 | -----------------------------------
-- Area: Metalworks
-- NPC: Kaela
-- Type: Adventurer's Assistant
-- @pos 40.167 -14.999 16.073 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scrip... | gpl-3.0 |
Brenin/PJ-3100 | Working Launchers/Games/Stepmania/StepMania 5/BackgroundEffects/Checkerboard2File2x2.lua | 1 | 1438 | local Color1 = color(Var "Color1");
local Color2 = color(Var "Color2");
local a1 = LoadActor(Var "File1") .. {
OnCommand= function(self)
self:cropto(SCREEN_WIDTH/2,SCREEN_HEIGHT/2):diffuse(Color1)
:effectclock("music")
-- Explanation in StretchNoLoop.lua.
if self.GetTexture then
self:GetTexture():rate(sel... | mit |
1yvT0s/luvit | tests/test-tls-connect-two-client.lua | 11 | 1196 |
require('tap')(function (test)
local fixture = require('./fixture-tls')
local tls = require('tls')
local options = {
cert = fixture.certPem,
key = fixture.keyPem
}
local serverConnected = 0
local clientConnected = 0
test("tls connect simple two client", function()
local server
server ... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Bastok_Mines/npcs/Titus.lua | 56 | 1742 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Titus
-- Alchemy Synthesis Image Support
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/crafting");
require... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/RuLude_Gardens/npcs/Goggehn.lua | 14 | 3163 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Goggehn
-- Involved in Mission: Bastok 3-3, 4-1
-- @zone 243
-- @pos 3 9 -76
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
-------------------------... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Widgets/gui_icon_sets.lua | 6 | 1827 | function widget:GetInfo() return {
name = "Icon Sets",
desc = "Manages alternate icon/buildpic sets.",
author = "Sprung",
license = "PD",
layer = 1,
enabled = true,
} end
options_path = 'Settings/Graphics/Unit Visibility/Radar Icons'
options_order = { 'coniconchassis' }
options = {
coniconc... | gpl-2.0 |
Scavenge/darkstar | scripts/commands/hide.lua | 62 | 1164 | ---------------------------------------------------------------------------------------------------
-- func: hide
-- desc: Hides the GM from other players.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = "s"
};
funct... | gpl-3.0 |
Promptitude/Badger-Derma | lua/autorun/client/dpoly.lua | 1 | 1602 | local meta = FindMetaTable( "Panel" )
function meta:SetVertices( verts )
self.vertices = {}
local radiusW = self:GetWide() / 2
local radiusH = self:GetTall() / 2
self.vertices[ #self.vertices + 1 ] = { x = radiusW, y = radiusH }
for i = 0, verts do
local a = math.rad( i / verts * -360 )
self.vert... | mit |
Scavenge/darkstar | scripts/zones/Lower_Jeuno/npcs/Matoaka.lua | 17 | 1146 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Matoaka
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
-- onTrade... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/qm10.lua | 14 | 1037 | -----------------------------------
-- Area: Phomiuna Aqueducts
-- NPC: qm10 (???)
-- Notes: Opens south door @ J-7
-- @pos 113.474 -26.000 91.610 27
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.