repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
Scavenge/darkstar | scripts/zones/Jugner_Forest_[S]/npcs/Roiloux_RK.lua | 14 | 1045 | -----------------------------------
-- Area: Jugner Forest (S)
-- NPC: Roiloux, R.K.
-- Type: Campaign Arbiter
-- @pos 70.493 -0.602 -9.185 82
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Jugner_Fores... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Shield.lua | 17 | 1494 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Shield
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEnga... | gpl-3.0 |
GabrielGanne/vpp-flowtable | src/vpp-api/lua/examples/cli/lua-cli.lua | 2 | 17117 | --[[
/*
* Copyright (c) 2016 Cisco and/or its affiliates.
* 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 appl... | apache-2.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Configs/cai/accessory/no_stuck_in_factory.lua | 13 | 3079 | -- function widget:GetInfo()
-- return {
-- name = "UnitNoStuckInFactory",
-- desc = "Always move unit away from factory's build yard & Remove an accidental build unit command from unit from factory. Prevent case of unit stuck in factory & to make sure unit can complete their move queue.",
-- au... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/PsoXja/npcs/_097.lua | 14 | 2875 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _097 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos 290.000 -1.925 -81.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Windurst_Woods/npcs/HomePoint#1.lua | 27 | 1278 | -----------------------------------
-- Area: Windurst Woods
-- NPC: HomePoint#1
-- @pos -98.588 0.001 -183.416 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Woods/TextIDs");
require("scripts/g... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Kamihr_Drifts/Zone.lua | 17 | 1219 | -----------------------------------
--
-- Zone: Kamihr Drifts
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Kamihr_Drifts/TextIDs"] = nil;
require("scripts/zones/Kamihr_Drifts/TextIDs");
-----------------------------------
-- onInitialize
----------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Den_of_Rancor/TextIDs.lua | 7 | 1121 | -- 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 = 6385; -- Obtained: <item>
GIL_OBTAINED = 6386; -- Obtained <number> gil
KEYITEM_OBTAINED = 6388; -- Obtain... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/abilities/curing_waltz.lua | 6 | 2663 | -----------------------------------
-- Ability: Curing Waltz
-- Heals HP to target player.
-- Obtained: Dancer Level 15
-- TP Required: 20%
-- Recast Time: 00:06
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- onAbility... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/spells/hojo_ichi.lua | 27 | 1249 | -----------------------------------------
-- Spell: Hojo:Ichi
-- Description: Inflicts Slow on target.
-- Edited from slow.lua
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------... | gpl-3.0 |
Grade-A-Software/Comcast-DASH-VLC | share/lua/playlist/pluzz.lua | 105 | 3740 | --[[
$Id$
Copyright © 2011 VideoLAN
Authors: Ludovic Fauvet <etix at l0cal dot com>
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 2 of the License, or
(at your option) any l... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/mobskills/Sweeping_Flail.lua | 39 | 1067 | ---------------------------------------------------
-- Sweeping Flail
-- Family: Bahamut
-- Description: Spins around to deal physical damage to enemies behind user. Additional effect: Knockback
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: 20' cone
-- Notes: Used when someone pulls hate from... | gpl-3.0 |
PicoleDeLimao/Ninpou2 | game/dota_addons/ninpou2/scripts/vscripts/items/yang_kusanagi_no_tsurugi.lua | 1 | 1169 | --[[
Author: PicoleDeLimao
Date: 03.04.2016
Deals area critical strike damage
]]
function CriticalStrike(event)
local caster = event.caster
local target = event.target
local ability = event.ability
local bonus = ability:GetLevelSpecialValueFor("crit_bonus", ability:GetLevel() - 1) / 100.0
local radius = abili... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Abyssea-Misareaux/npcs/qm13.lua | 14 | 1548 | -----------------------------------
-- Zone: Abyssea-Misareaux
-- NPC: qm13 (???)
-- Spawns Cirein-Croin
-- @pos ? ? ? 216
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
-------------------------------... | gpl-3.0 |
biggerlambda/zappos_classify | train.lua | 1 | 4770 | require "image"
require "loadcaffe"
require "io"
require "nn"
require "nnlr"
require "optim"
require "cunn"
require "cutorch"
require "data"
local utils = require "utils"
cmd = torch:CmdLine()
cmd:text()
cmd:option("-batchSize", "100", "BatchSize")
cmd:option("-epoch", "5", "epochs")
cmd:option("-lr", "1e-3", "learnin... | apache-2.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Widgets/chili/Controls/textbox.lua | 12 | 2553 | TextBox = Control:Inherit{
classname = "textbox",
padding = {0,0,0,0},
text = "line1\nline2",
autoHeight = true, --// sets height to text size, useful for embedding in scrollboxes
autoObeyLineHeight = true, --// (needs autoHeight) if true, autoHeight will obey the lineHeight (-> texts with the same li... | gpl-2.0 |
Dens0n/Conv_Music | time.lua | 1 | 3281 | require 'midiparse'
require 'lfs'
require 'optim'
require 'tools'
require 'xlua'
require 'rnn'
json = require 'json'
opt = get_args(arg, false)
require 'validate'
if opt.opencl then
require 'cltorch'
require 'clnn'
else
require 'torch'
require 'nn'
end
data_width = 89
curr_ep = 1
start_ep = 0
start_index = 1
t... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Chateau_dOraguille/npcs/Chaloutte.lua | 14 | 1066 | -----------------------------------
-- Area: Chateau d'Oraguille
-- NPC: Chaloutte
-- Type: Event Scene Replayer
-- @zone 233
-- @pos 10.450 -1 -11.985
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/maringna.lua | 12 | 1355 | -----------------------------------------
-- ID: 5888
-- Item: maringna
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP +9% (cap 160)
-- Increases rate of combat skill gains by 80%
-----------------------------------------
require("scripts/globals/status");
---------------------------... | gpl-3.0 |
kankaristo/premake-core | tests/actions/vstudio/vc2010/test_compile_settings.lua | 9 | 17526 | --
-- tests/actions/vstudio/vc2010/test_compile_settings.lua
-- Validate compiler settings in Visual Studio 2010 C/C++ projects.
-- Copyright (c) 2011-2013 Jason Perkins and the Premake project
--
local suite = test.declare("vstudio_vs2010_compile_settings")
local vc2010 = premake.vstudio.vc2010
local proje... | bsd-3-clause |
Scavenge/darkstar | scripts/zones/Ilrusi_Atoll/npcs/Excaliace.lua | 30 | 4512 | -----------------------------------
-- Area: Periqia
-- NPC: Excaliace
-----------------------------------
require("scripts/zones/Periqia/IDs");
require("scripts/globals/pathfind");
local start = {-322,-16.5,380};
local startToChoice1 = {
-320.349548, -16.046591, 379.684570
-318.312317, -16.046591, 379.5798... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Widgets/chili/Skins/Evolved/skin.lua | 1 | 17813 | --//=============================================================================
--// Skin
local skin = {
info = {
name = "Evolved",
version = "0.3",
author = "jK",
}
}
--//=============================================================================
--//
skin.general = {
focusColor = {0.94, ... | gpl-2.0 |
endlessm/chromium-browser | third_party/flatbuffers/src/samples/lua/MyGame/Sample/Weapon.lua | 17 | 1219 | -- automatically generated by the FlatBuffers compiler, do not modify
-- namespace: Sample
local flatbuffers = require('flatbuffers')
local Weapon = {} -- the module
local Weapon_mt = {} -- the class metatable
function Weapon.New()
local o = {}
setmetatable(o, {__index = Weapon_mt})
return o
end
functio... | bsd-3-clause |
Brenin/PJ-3100 | Working Launchers/Games/Stepmania/StepMania 5/NoteSkins/pump/default/UpLeft Receptor.lua | 1 | 1913 | local player = Var "Player" or GAMESTATE:GetMasterPlayerNumber()
local function Beat(self)
-- too many locals
local this = self:GetChildren()
local playerstate = GAMESTATE:GetPlayerState( player )
local songposition = playerstate:GetSongPosition() -- GAMESTATE:GetSongPosition()
local beat = songposition:GetSong... | mit |
Scavenge/darkstar | scripts/zones/Abyssea-La_Theine/npcs/qm1.lua | 14 | 1348 | -----------------------------------
-- Zone: Abyssea-LaTheine
-- NPC: qm1 (???)
-- Spawns Dozing Dorian
-- @pos ? ? ? 132
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)... | gpl-3.0 |
Joker-Developer/jokersuper | plugins/getlink.lua | 10 | 27315 | --[[
# For More Information ....!
# Developer : Aziz < @devss_bot > #Dev
# our channel: @help_tele
]]
do
local function check_member(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if memb... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Widgets/minimap_startbox_new.lua | 3 | 10232 | function widget:GetInfo() return {
name = "Start Boxes",
desc = "Shows start-boxes during placement",
author = "trepan, jK, Rafal, Sprung",
date = "2007-2015",
license = "GNU GPL, v2 or later",
layer = 1002,
enabled = true,
} end
VFS.Include ("LuaRules/Utilities/startbox_utilities.lua... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/spells/paralyze_ii.lua | 6 | 2230 | -----------------------------------------
-- Spell: Paralyze II
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND.
-- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point
-- Paralyze II value per point is '1' This is a co... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Bastok_Mines/npcs/Rashid.lua | 14 | 3726 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Rashid
-- Type: Mission Giver
-- @pos -8.444 -2 -123.575 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globa... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Yhoator_Jungle/npcs/qm3.lua | 14 | 1845 | -----------------------------------
-- Area: Davoi
-- NPC: ??? (qm3)
-- Involved in Quest: True will
-- @pos 203 0.1 82 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/global... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/weaponskills/rock_crusher.lua | 23 | 1258 | -----------------------------------
-- Rock Crusher
-- Staff weapon skill
-- Skill Level: 40
-- Delivers an earth elemental attack. Damage varies with TP.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: Earth
-- Modifiers: STR:40% ; INT:40%
-- 100%TP 200%TP 300%TP
-- 1.00 2.... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Mhaura/npcs/Numi_Adaligo.lua | 17 | 1384 | -----------------------------------
-- Area: Mhaura
-- NPC: Numi Adaligo
-- Involved In Quest: RYCHARDE_THE_CHEF
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/settings");
... | gpl-3.0 |
shayanchabok007/antispam_fox | 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/zones/Lower_Jeuno/npcs/_l08.lua | 7 | 2719 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @pos -44 0 -47 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
bitTM/bitTabchi | plugins/botmanager.lua | 1 | 5396 | do
local function saveplug(extra, success, result)
local msg = extra.msg
local name = extra.name
local receiver = get_receiver(msg)
if success then
local file = 'plugins/'..name..'.lua'
print('File saving to:', result)
os.rename(result, file)
print('File moved to:', file)
else
p... | unlicense |
Scavenge/darkstar | scripts/globals/weaponskills/wildfire.lua | 24 | 1622 | -----------------------------------
-- Wildfire
-- Skill Level: N/A
-- Description: Deals fire elemental damage. Enmity generation varies with TP. Armageddon: Aftermath.
-- Acquired permanently by completing the appropriate Walk of Echoes Weapon Skill Trials.
-- Can also be used by equipping Armageddon (85)/(90)/(95)/(... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Bastok_Markets/npcs/Rabid_Wolf_IM.lua | 13 | 5586 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Rabid Wolf, I.M.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Run Missions an... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/bataquiche_+1.lua | 12 | 1470 | -----------------------------------------
-- ID: 5169
-- Item: Bataquiche +1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 10
-- Agility 1
-- Vitality -1
-- Ranged Acc % 7
-- Ranged Acc Cap 20
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Configs/MetalSpots/Quoth_v1.lua | 17 | 1521 | return {
spots = {
{x = 2808, z = 6056, metal = 2.0400002002716},
{x = 5384, z = 5800, metal = 2.0400002002716},
{x = 6056, z = 1640, metal = 2.0400002002716},
{x = 136, z = 3144, metal = 2.0400002002716},
{x = 856, z = 1688, metal = 2.0400002002716},
{x = 712, z = 5896, metal = 2.0400002002716},
{x = 2104, z =... | gpl-2.0 |
taxler/radish | lua/parse/yaml/content_block.lua | 1 | 1192 |
local m = require 'lpeg'
local re = require 're'
local content_block = {}
local Carg_indent = m.Carg(1)
local Carg_tag_unquoted = m.Carg(2)
local Carg_tag_quoted = m.Carg(3)
local prefix_content_block = re.compile([[
prefix_content_block <- content_block {}
content_block <- literal / folded / sequence / map / f... | mit |
Zero-K-Experiments/Zero-K-Experiments | gamedata/modularcomms/dyncomms_predefined.lua | 3 | 5127 | return {
dyntrainer_strike = {
name = "Strike Trainer",
chassis = "strike",
modules = {
{"commweapon_heavymachinegun", "module_radarnet"},
{"module_ablative_armor", "module_autorepair"},
{"commweapon_lightninggun", "module_personal_cloak", "module_ablative_armor"},
{"module_high_power_servos", "modul... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Bastok_Markets/npcs/HomePoint#1.lua | 27 | 1277 | -----------------------------------
-- Area: Bastok Markets
-- NPC: HomePoint#1
-- @pos -293.048 -10 -102.558 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Bastok_Markets/TextIDs");
require("scripts/gl... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Sacrificial_Chamber/bcnms/amphibian_assault.lua | 19 | 1761 | -----------------------------------
-- Area: Sacrificial Chamber
-- Name: Amphibian Assualt
-- BCNM60
-----------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Sacrificial_Chamber/TextIDs");
---------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/smilodon_liver.lua | 12 | 1347 | -----------------------------------------
-- ID: 5668
-- Item: Smilodon Liver
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 5
-- Intelligence -7
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChec... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Bibiki_Bay/Zone.lua | 26 | 6165 | -----------------------------------
--
-- Zone: Bibiki_Bay (4)
--
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyi... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Gadgets/CAI/HeatmapHandler.lua | 9 | 8181 | --[[ Handles Heatmaps
* Use this file to create a heatmap object with a square size.
* Can add circles of heat or points.
* Is able to track units by unitID and update the heatmap based
on their position.
--]]
local ceil = math.ceil
local floor = math.floor
local max = math.max
local min = math.min
local abs = mat... | gpl-2.0 |
kirubz/Penlight | tests/test-stringx.lua | 3 | 13464 | local stringx = require 'pl.stringx'
local utils = require 'pl.utils'
local asserteq = require 'pl.test' . asserteq
local T = require 'pl.test'.tuple
local function FIX(s)
io.stderr:write('FIX:' .. s .. '\n')
end
-- isalpha
asserteq(T(stringx.isalpha''), T(false))
asserteq(T(stringx.isalpha' '), T(false))
asserteq... | mit |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Widgets/gui_persistent_build_spacing.lua | 6 | 1493 | function widget:GetInfo()
return {
name = "Persistent Build Spacing",
desc = "Recalls last build spacing set for each building and game [v2.0]",
author = "Niobium & DrHash",
date = "Sep 6, 2011",
license = "GNU GPL, v3 or later",
layer = 0,
enabled = true -- loa... | gpl-2.0 |
cyclonetm/XmakanX | plugins/admin.lua | 1 | 6695 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(rec... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/items/shrimp_cracker_+1.lua | 12 | 1497 | -----------------------------------------
-- ID: 5636
-- Item: shrimp_cracker_+1
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Vitality 2
-- Defense +10
-- Amorph Killer 12
-- Resist Virus 12
-- HP Recovered While Healing 9
-----------------------------------------
require("scripts/globa... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5f7.lua | 12 | 1101 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Leviathan's Gate
-- @pos 249 -34 100 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
-... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Port_Windurst/npcs/Breanainn.lua | 14 | 1037 | -----------------------------------
-- Area: Port Windurst
-- NPC: Breanainn
-- @zone 240
-- @pos 212 -6 96
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Port_Windurst/Tex... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/HomePoint#1.lua | 27 | 1295 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: HomePoint#1
-- @pos -21.129 0.001 -20.944 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
r... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/spells/bluemagic/sheep_song.lua | 27 | 1358 | -----------------------------------------
-- Spell: Sheep Song
-- Puts all enemies within range to sleep
-- Spell cost: 22 MP
-- Monster Type: Beasts
-- Spell Type: Magical (Light)
-- Blue Magic Points: 2
-- Stat Bonus: CHR+1, HP+5
-- Level: 16
-- Casting Time: Casting Time: 3 seconds
-- Recast Time: Recast Time: 60 se... | gpl-3.0 |
smanolache/kong | kong/cli/utils/ssl.lua | 3 | 2662 | local logger = require "kong.cli.utils.logger"
local utils = require "kong.tools.utils"
local IO = require "kong.tools.io"
local _M = {}
function _M.get_ssl_cert_and_key(kong_config)
local ssl_cert_path, ssl_key_path
if (kong_config.ssl_cert_path and not kong_config.ssl_key_path) or
(kong_config.ssl_key_path... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Upper_Delkfutts_Tower/npcs/_4e1.lua | 14 | 1209 | -----------------------------------
-- Area: Upper Delkfutt's Tower
-- NPC: Door
-- @pos 315 16 20 158
-----------------------------------
package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Upper_Delkfutt... | gpl-3.0 |
wkitty42/snort3 | src/managers/snort_plugin.lua | 5 | 1591 | ---------------------------------------------------------------------------
-- Copyright (C) 2014-2015 Cisco and/or its affiliates. All rights reserved.
--
-- This program is free software; you can redistribute it and/or modify it
-- under the terms of the GNU General Public License Version 2 as published
-- by the Fre... | gpl-2.0 |
omidtarh/wezard | plugins/face.lua | 641 | 3073 | local https = require("ssl.https")
local ltn12 = require "ltn12"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function request(imageUrl)
local api_key = mashape.api_key
if api_key:isempt... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | scripts/chickenflyerqueen.lua | 11 | 7563 | include "constants.lua"
local spGetUnitHealth = Spring.GetUnitHealth
--pieces
local body, head, tail, leftWing1, rightWing1, leftWing2, rightWing2 = piece("body","head","tail","lwing1","rwing1","lwing2","rwing2")
local leftThigh, leftKnee, leftShin, leftFoot, rightThigh, rightKnee, rightShin, rightFoot = piece("lthig... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | effects/michelle.lua | 18 | 12448 | -- michelle_ne
-- michelle_w
-- michelle
-- michelle_s
-- michelle_pacemaker
-- michelle_e
-- michelle_se
-- michelle_sw
-- michelle_n
-- michelle_nw
return {
["michelle_ne"] = {
rocks = {
air = true,
class = [[CSimpleParticleSystem]],
count = 1,
g... | gpl-2.0 |
kankaristo/premake-core | tests/config/test_linkinfo.lua | 9 | 2213 | --
-- tests/config/test_linkinfo.lua
-- Test the config object's link target accessor.
-- Copyright (c) 2012-2013 Jason Perkins and the Premake project
--
local suite = test.declare("config_linkinfo")
local config = premake.config
--
-- Setup and teardown
--
local wks, prj
function suite.setup()
_ACTION = "t... | bsd-3-clause |
Scavenge/darkstar | scripts/globals/weaponskills/victory_smite.lua | 26 | 1693 | -----------------------------------
-- Victory Smite
-- Hand-to-Hand Weapon Skill
-- Skill Level: N/A
-- Description: Delivers a fourfold attack. Chance of params.critical hit varies with TP.
-- Must have Verethragna (85)/(90)/(95)/(99)/(99-2) or Revenant Fists +1/+2/+3 equipped.
-- Aligned with the Light Gorget, Breez... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Northern_San_dOria/npcs/Baraka.lua | 14 | 2223 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Baraka
-- Involved in Missions 2-3
-- @pos 36 -2 -2 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Northern_San_dOria/TextIDs");... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/coffeecake_muffin_+1.lua | 12 | 1372 | -----------------------------------------
-- ID: 5656
-- Item: coffeecake_muffin_+1
-- Food Effect: 1Hr, All Races
-----------------------------------------
-- Mind 2
-- Strength -1
-- MP % 10 (cap 90)
-----------------------------------------
require("scripts/globals/status");
---------------------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0ro.lua | 14 | 1644 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna_Aqueduct... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/spells/jubaku_san.lua | 27 | 1700 | -----------------------------------------
-- Spell: Jubaku: San
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and INT.
-- taken from paralyze
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
--------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/AlTaieu/Zone.lua | 32 | 2324 | -----------------------------------
--
-- Zone: AlTaieu (33)
--
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/globals/titles");
require("scrip... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | units/armsptk.lua | 1 | 4825 | unitDef = {
unitname = [[armsptk]],
name = [[Recluse]],
description = [[Skirmisher Spider (Indirect Fire)]],
acceleration = 0.26,
brakeRate = 0.78,
buildCostEnergy = 280,
buildCostMetal = 280,
buildPic = [[ARM... | gpl-2.0 |
1yvT0s/luvit | tests/test-fs-chmod.lua | 11 | 3263 | --[[
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 |
Scavenge/darkstar | scripts/zones/Bastok_Markets_[S]/npcs/Engelhart.lua | 17 | 3579 | -----------------------------------
-- Area: Bastok Markets (S)
-- NPC: Engelhart
-- Quest NPC
-- pos -79 -4 -125
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok_Markets_[S]/TextIDs");
require("scrip... | gpl-3.0 |
opencpe/mand | libdmconfig/tests/lua_stresstest.lua | 2 | 1226 | -- This Source Code Form is subject to the terms of the Mozilla Public
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at http://mozilla.org/MPL/2.0/.
-- Lua stress test
require "libdmconfig"
-- open read/write session
rc, session = dmconfig.start(dmconfig.s_read... | mpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | units/tankriotraider.lua | 3 | 6393 | unitDef = {
unitname = [[tankriotraider]],
name = [[Panther]],
description = [[Riot/Raider Tank]],
acceleration = 0.125,
brakeRate = 0.1375,
buildCostEnergy = 180,
buildCostMetal = 180,
builder = false,
bui... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/weaponskills/shockwave.lua | 18 | 1486 | -----------------------------------
-- Shockwave
-- Great Sword weapon skill
-- Skill level: 150
-- Delivers an area of effect attack. Sleeps enemies. Duration of effect varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget.
-- Aligned with the Aqua Belt.
-- Element: None
-- Modifiers: STR:30... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Toraimarai_Canal/Zone.lua | 12 | 1644 | -----------------------------------
--
-- Zone: Toraimarai_Canal (169)
--
-----------------------------------
package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings")
require("scripts/globals/zone");
require("scripts/zones/Toraimarai_Canal/... | gpl-3.0 |
Scavenge/darkstar | scripts/commands/jail.lua | 26 | 2057 | ---------------------------------------------------------------------------------------------------
-- func: jail
-- desc: Sends the target player to jail. (Mordion Gaol)
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters ... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Qulun_Dome/npcs/qm1.lua | 14 | 1406 | -----------------------------------
-- Area: Qulun Dome
-- NPC: qm1 (???)
-- Used In Quest: Whence Blows the Wind
-- @pos 261 39 79 148
-----------------------------------
package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scrip... | gpl-3.0 |
omidtarh/botnew | 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 |
purebn/secure | 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 |
jdgwartney/meter-plugin-sdk-lua | framework.lua | 2 | 35884 | ---------------
---- ## A Boundary Plugin Framework for Luvit.
----
---- For easy development of custom Boundary.com plugins.
----
---- [Github Page](https://github.com/GabrielNicolasAvellaneda/boundary-plugin-framework-lua)
----
---- @author Gabriel Nicolas Avellaneda <avellaneda.gabriel@gmail.com>
---- @copyright Bou... | apache-2.0 |
Kyklas/luci-proto-hso | applications/luci-diag-devinfo/luasrc/controller/luci_diag/devinfo_common.lua | 76 | 5638 | --[[
Luci diag - Diagnostics controller module
(c) 2009 Daniel Dickinson
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
]]--
module("luci.cont... | apache-2.0 |
mum-chen/bit-util | src/input.lua | 1 | 1303 | -- =============================================================================
-- import
-- =============================================================================
local convert = require("convert")
_convert_base = convert.input_convert
_to_table = convert.binstr_to_table
-- ==============================... | mit |
PaulBatchelor/Soundpipe | modules/data/incr.lua | 3 | 1675 | sptbl["incr"] = {
files = {
module = "incr.c",
header = "incr.h",
example = "ex_incr.c",
},
func = {
create = "sp_incr_create",
destroy = "sp_incr_destroy",
init = "sp_incr_init",
compute = "sp_incr_compute",
},
params = {
mandatory ... | mit |
LORDMEHDI/testertard | bot/seedbot.lua | 1 | 10194 | 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 = '2'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
return... | gpl-2.0 |
rm-code/lofivi | conf.lua | 1 | 1525 | local GAME_TITLE = "LoFiVi";
local GAME_IDENTITY = "rmcode_LoFiVi";
local GAME_VERSION = "0159";
local LOVE_VERSION = "0.10.2";
-- ------------------------------------------------
-- Global Functions
-- ------------------------------------------------
---
-- Initialise löve's config file.
-- @param _conf
--
functi... | mit |
Scavenge/darkstar | scripts/globals/abilities/dark_maneuver.lua | 54 | 1332 | -----------------------------------
-- Ability: Dark Maneuver
-- Enhances the effect of dark attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
ahosein864/ahosein864 | plugins/banhammer.lua | 214 | 11956 |
local function pre_process(msg)
-- SERVICE MESSAGE
if msg.action and msg.action.type then
local action = msg.action.type
-- Check if banned user joins chat by link
if action == 'chat_add_user_link' then
local user_id = msg.from.id
print('Checking invited user '..user_id)
local banned ... | gpl-2.0 |
shashlik/android-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 |
Scavenge/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm9.lua | 14 | 1383 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm9 (???)
-- Involved in Quest: Hitting the Marquisate (THF AF3)
-- @pos -140.039 -5.500 285.999 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
Kyklas/luci-proto-hso | applications/luci-statistics/luasrc/model/cbi/luci_statistics/email.lua | 78 | 1934 | --[[
Luci configuration model for statistics - collectd email plugin configuration
(c) 2008 Freifunk Leipzig / 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... | apache-2.0 |
Zero-K-Experiments/Zero-K-Experiments | gamedata/modularcomms/dyncomm_chassis_generator.lua | 4 | 4031 | local chassisDefs = {
{
name = "dynstrike1",
weapons = {
"commweapon_peashooter",
"commweapon_beamlaser",
"commweapon_lparticlebeam",
"commweapon_shotgun",
"commweapon_shotgun_disrupt",
"commweapon_disruptor",
"commweapon_heavymachinegun",
"commweapon_heavymachinegun_disrupt",
"commweapo... | gpl-2.0 |
PaulBatchelor/Soundpipe | modules/data/peakeq.lua | 1 | 1528 | sptbl["peakeq"] = {
files = {
module = "peakeq.c",
header = "peakeq.h",
example = "ex_peakeq.c",
},
func = {
create = "sp_peakeq_create",
destroy = "sp_peakeq_destroy",
init = "sp_peakeq_init",
compute = "sp_peakeq_compute",
},
params = {
... | mit |
kankaristo/premake-core | tests/project/test_vpaths.lua | 16 | 3799 | --
-- tests/project/test_vpaths.lua
-- Automated test suite for the project support functions.
-- Copyright (c) 2011-2013 Jason Perkins and the Premake project
--
local suite = test.declare("project_vpaths")
local project = premake.project
--
-- Setup and teardown
--
local wks, prj
function suite.setup()
wks... | bsd-3-clause |
cohadar/tanks-of-harmony-and-love | libs/Quickie/button.lua | 1 | 3284 | --[[
Copyright (c) 2012 Matthias Richter
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribu... | mit |
takaaptech/Moses | spec/func_spec.lua | 5 | 6745 | require 'luacov'
local _ = require 'moses'
context('Utility functions specs', function()
context('identity', function()
test('returns the received value',function()
assert_equal(_.identity(1),1)
local v = {x = 0}
assert_equal(_.identity(v),v)
assert_not_equal(v,{x = 0})
end)... | mit |
Scavenge/darkstar | scripts/zones/Giddeus/npcs/Altar_of_Offerings.lua | 14 | 1719 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Alter Of Offering
-- Involved in Quest: A Crisis in the Making
-- Working 100%
-- @zone = 145
-- @pos = -137 17 177
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
requi... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/love_chocolate.lua | 12 | 1133 | -----------------------------------------
-- ID: 5230
-- Item: love_chocolate
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic Regen While Healing 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck... | gpl-3.0 |
mohammad2016mr/seed | 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... | agpl-3.0 |
Scavenge/darkstar | scripts/zones/Dynamis-Buburimu/mobs/Manifest_Icon.lua | 22 | 1181 | -----------------------------------
-- Area: Dynamis Buburimu
-- MOB: Manifest_Icon
-----------------------------------
package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Dynamis-Buburimu/TextIDs");
require("scripts/globals/dynamis");
-----------... | gpl-3.0 |
Tkachov/scummvm | devtools/create_ultima/files/ultima6/scripts/md/combat.lua | 18 | 16394 | -- [objectnum] = range
local range_weapon_tbl = {
[41] = 4,
[42] = 5,
[43] = 4,
[44] = 9,
[45] = 9,
[46] = 9,
[47] = 4,
[48] = 5,
[240] = 6,
[241] = 6,
[129] = 2,
[261] = 2,
[313] = 9,
[40] = 6,
[366] = 3,
[386] = 4,
[364] = 3,
[384] = 2,
}
function get_we... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Oldton_Movalpolos/npcs/Twinkbrix.lua | 14 | 2108 | -----------------------------------
-- Area: Oldton Movalpolos
-- NPC: Twinkbrix
-- Type: Warp NPC
-- @pos -292.779 6.999 -263.153 11
-----------------------------------
package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.