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/Castle_Zvahl_Keep/npcs/Treasure_Chest.lua | 17 | 3763 | -----------------------------------
-- Area: Castle Zvahl Keep
-- NPC: Treasure Chest
-- @zone 162
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Keep/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require(... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | units/amphbomb.lua | 3 | 3956 | unitDef = {
unitname = [[amphbomb]],
name = [[Limpet]],
description = [[Amphibious slow mine]],
acceleration = 0.25,
activateWhenBuilt = true,
brakeRate = 0.4,
buildCostEnergy = 100,
buildCostMetal = 100,
builder ... | gpl-2.0 |
Tkachov/scummvm | devtools/create_ultima/files/ultima6/scripts/common/common.lua | 18 | 9350 | --note nuvie direction values aren't the same as the original it uses the following scheme
--701
--6 2
--543
DIR_NORTH = 0
DIR_EAST = 1
DIR_SOUTH = 2
DIR_WEST = 3
DIR_NORTHEAST = 4
DIR_SOUTHEAST = 5
DIR_SOUTHWEST = 6
DIR_NORTHWEST = 7
DIR_NONE = 8
UI_STYLE_ORIG = 0
UI_STYLE_NEW = 1
UI_STYLE_O... | gpl-3.0 |
ihcfan/NautiPlot | hmi-cocos2d-x/cocos/scripting/lua/script/DeprecatedOpenglEnum.lua | 148 | 11934 | -- This is the DeprecatedEnum
DeprecatedClass = {} or DeprecatedClass
_G.GL_RENDERBUFFER_INTERNAL_FORMAT = gl.RENDERBUFFER_INTERNAL_FORMAT
_G.GL_LINE_WIDTH = gl.LINE_WIDTH
_G.GL_CONSTANT_ALPHA = gl.CONSTANT_ALPHA
_G.GL_BLEND_SRC_ALPHA = gl.BLEND_SRC_ALPHA
_G.GL_GREEN_BITS = gl.GREEN_BITS
_G.GL_STENCIL_REF = gl.STENCI... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Tombstone_Prototype.lua | 23 | 1257 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Tombstone Prototype
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("scripts/zo... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/roast_mushroom.lua | 12 | 1463 | -----------------------------------------
-- ID: 4410
-- Item: roast_mushroom
-- Food Effect: 30minutes, All Races
-----------------------------------------
-- Magic Points 10
-- Strength -1
-- Mind 3
-- Enmity -1
-- MP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status... | gpl-3.0 |
smanolache/kong | kong/cli/cmds/start.lua | 1 | 1254 | #!/usr/bin/env luajit
local meta = require "kong.meta"
local logger = require "kong.cli.utils.logger"
local services = require "kong.cli.utils.services"
local constants = require "kong.constants"
local config_loader = require "kong.tools.config_loader"
local args = require("lapp")(string.format([[
Start Kong with giv... | apache-2.0 |
1yvT0s/luvit | tests/test-dgram.lua | 11 | 1434 | --[[
Copyright 2014 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 agr... | apache-2.0 |
Scavenge/darkstar | scripts/globals/spells/bluemagic/smite_of_rage.lua | 33 | 1678 | -----------------------------------------
-- Spell: Smite of Rage
-- Damage varies with TP
-- Spell cost: 28 MP
-- Monster Type: Arcana
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 3
-- Stat Bonus: AGI+3
-- Level: 34
-- Casting Time: 0.5 seconds
-- Recast Time: 13 seconds
-- Skillchain Element(s): Wind (can... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Caedarva_Mire/npcs/Logging_Point.lua | 17 | 1085 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Caedarva_Mire/TextIDs");
---------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Northern_San_dOria/npcs/Rondipur.lua | 14 | 1062 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Rondipur
-- Type: Quest Giver
-- @zone 231
-- @pos -154.415 10.999 153.744
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
--... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | effects/gundam_constructionexp.lua | 26 | 4789 | -- blue_explosion
return {
["blue_explosion"] = {
dirt = {
count = 4,
ground = true,
properties = {
alphafalloff = 2,
alwaysvisible = true,
color = [[0.2, 0.1, 0.05]],
pos = [[r-10 r10, 0, r-10 r10]]... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/items/plate_of_yahata-style_carp_sushi.lua | 12 | 1423 | -----------------------------------------
-- ID: 5186
-- Item: plate_of_yahata-style_carp_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 2
-- Accuracy % 11 (cap 56)
-- HP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status")... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/AlTaieu/npcs/HomePoint#1.lua | 29 | 1238 | -----------------------------------
-- Area: AlTaieu
-- NPC: HomePoint#1
-- @pos 7 0 709 33
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/globals/homepoint");
----------------... | gpl-3.0 |
kankaristo/premake-core | tests/actions/vstudio/vc2010/test_extension_settings.lua | 9 | 1369 | --
-- tests/actions/vstudio/vc2010/test_extension_settings.lua
-- Check the import extension settings block of a VS 2010 project.
-- Copyright (c) 2014 Jason Perkins and the Premake project
--
local suite = test.declare("vs2010_extension_settings")
local vc2010 = premake.vstudio.vc2010
local project = premake.proje... | bsd-3-clause |
Zero-K-Experiments/Zero-K-Experiments | ModelMaterials_103/0_customskins.lua | 16 | 2011 | -- $Id$
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
local materials = {
altSkinS3o = {
shaderDefinitions = {
},
shader = include("ModelMaterials/Shaders/default.lua"),
... | gpl-2.0 |
haggen/OpenEUO | gui/menu.lua | 2 | 5065 | ----------------------------------------
-- Menu Code ---------------------------
----------------------------------------
--
-- This is where the main menu and the
-- toolbar are built.
--
----------------------------------------
--
-- table MenuItem
-- object EditPopup
-- object ClosePopup
--
-- function CreateM... | mit |
Zero-K-Experiments/Zero-K-Experiments | units/trem.lua | 1 | 4975 | unitDef = {
unitname = [[trem]],
name = [[Tremor]],
description = [[Heavy Saturation Artillery Tank]],
acceleration = 0.05952,
brakeRate = 0.124,
buildCostEnergy = 1500,
buildCostMetal = 1500,
builder = false... | gpl-2.0 |
kankaristo/premake-core | tests/project/test_config_maps.lua | 32 | 3971 | --
-- tests/project/test_config_maps.lua
-- Test mapping from workspace to project configurations.
-- Copyright (c) 2012-2014 Jason Perkins and the Premake project
--
local suite = test.declare("project_config_maps")
--
-- Setup and teardown
--
local wks, prj, cfg
function suite.setup()
wks = workspace("MyWor... | bsd-3-clause |
Scavenge/darkstar | scripts/zones/Castle_Zvahl_Baileys/npcs/Treasure_Coffer.lua | 13 | 4974 | -----------------------------------
-- Area: Castle Zvahl Baileys
-- NPC: Treasure Coffer
-- @zone 161
-- @pos -75 0 19
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Baileys/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/glob... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | units/chicken_leaper.lua | 3 | 3520 | unitDef = {
unitname = [[chicken_leaper]],
name = [[Leaper]],
description = [[Hopping Raider]],
acceleration = 0.5,
brakeRate = 0.205,
buildCostEnergy = 0,
buildCostMetal = 0,
builder = false,
buildPic = [[chicken_leape... | gpl-2.0 |
kankaristo/premake-core | tests/actions/make/workspace/test_default_config.lua | 18 | 1232 | --
-- tests/actions/make/test_default_config.lua
-- Validate generation of default configuration block for makefiles.
-- Copyright (c) 2012-2015 Jason Perkins and the Premake project
--
local suite = test.declare("make_default_config")
local p = premake
--
-- Setup/teardown
--
local wks, prj
function suite.se... | bsd-3-clause |
Scavenge/darkstar | scripts/zones/Fort_Karugo-Narugo_[S]/npcs/Rotih_Moalghett.lua | 14 | 1357 | ----------------------------------
-- Area: Fort Karugo Narugo [S]
-- NPC: Rotih_Moalghett
-- Type: Quest
-- @zone 96
-- @pos 280 -20 85
--
-----------------------------------
package.loaded["scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs"] = nil;
require("scripts/zones/Fort_Karugo-Narugo_[S]/TextIDs");
require("scr... | gpl-3.0 |
KKfo/gamecode4 | Extra/UtilityDemo/PreInit.lua | 44 | 2196 | -- PreInit.lua
-- Note: This file only defines the class() function from assets\scripts\PreInit.lua. The other stuff isn't needed
-- for this simple demo.
-----------------------------------------------------------------------------------------------------------------------
-- Classes & Inheritance
------------... | lgpl-3.0 |
xebecnan/UniLua | Assets/StreamingAssets/LuaRoot/sprite/hero.lua | 4 | 1634 | local UnityEngine = require "lib.unity_engine"
local GameObject = UnityEngine.GameObject
local MeshFilter = UnityEngine.MeshFilter
local Resources = UnityEngine.Resources
local Mesh = UnityEngine.Mesh
local Vector3 = UnityEngine.Vector3
local MeshRenderer = UnityE... | mit |
Scavenge/darkstar | scripts/globals/spells/impact.lua | 27 | 3601 | -----------------------------------------
-- Spell: Impact
-- Deals dark damage to an enemy and
-- decreases all 7 base stats by 20%
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
-----------------------------------------
-- onMagicCastingCheck
---------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/LaLoff_Amphitheater/bcnms/ark_angels_2.lua | 28 | 3113 | -----------------------------------
-- Area: LaLoff Amphitheater
-- Name: Ark Angels 2 (Tarutaru)
-----------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
require("scripts/globals/mis... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rt.lua | 14 | 1640 | -----------------------------------
-- 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/zones/Oldton_Movalpolos/npcs/Tarnotik.lua | 14 | 1772 | -----------------------------------
-- Area: Oldton Movalpolos
-- NPC: Tarnotik
-- Type: Standard NPC
-- @pos 160.896 10.999 -55.659 11
-----------------------------------
package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Oldton_Movalpolos/T... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/plate_of_ic_pilav_+1.lua | 12 | 1956 | -----------------------------------------
-- ID: 5585
-- Item: plate_of_ic_pilav_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health % 14
-- Health Cap 70
-- Strength 5
-- Vitality -2
-- Intelligence -2
-- Health Regen While Healing 1
-- Attack % 22
-- Attack Cap 70
-- Ranged ATT % ... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Nashmau/npcs/Pyopyoroon.lua | 28 | 2129 | -----------------------------------
-- Area: Nashmau
-- NPC: Pyopyoroon
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/settings");
require("scripts/glo... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | units/chicken_listener_b.lua | 3 | 2563 | unitDef = {
unitname = [[chicken_listener_b]],
name = [[Listener (burrowed)]],
description = [[Burrowing Mobile Seismic Detector]],
acceleration = 0.16,
activateWhenBuilt = false,
brakeRate = 0.205,
buildCostEnergy = 0,
buildCostMetal = 0,
... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Configs/lupsFXs.lua | 8 | 14418 | VFS.Include("LuaRules/Utilities/tablefunctions.lua")
----------------------------------------------------------------------------
-- GROUNDFLASHES -----------------------------------------------------------
----------------------------------------------------------------------------
groundFlash = {
life = 40,
... | gpl-2.0 |
DEVSEIKO/seikodev | plugins/banhammer.lua | 1 | 14534 | --[[
_____ _ _ _ _____ Dev @lIMyIl
|_ _|__| |__ / \ | | _| ____| Dev @li_XxX_il
| |/ __| '_ \ / _ \ | |/ / _| Dev @h_k_a
| |\__ \ | | |/ ___ \| <| |___ Dev @Aram_omar22
|_||___/_| |_/_/ \_\_|\_\_____| Dev @IXX_I_XXI
CH > @lTSHAKEl_CH
--]]
l... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/items/whale_staff_+1.lua | 41 | 1079 | -----------------------------------------
-- ID: 17534
-- Item: Whale Staff +1
-- Additional Effect: Water Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
----------------------------... | gpl-3.0 |
Kyklas/luci-proto-hso | modules/admin-mini/luasrc/model/cbi/mini/wifi.lua | 73 | 11663 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Abyssea-La_Theine/npcs/qm4.lua | 14 | 1344 | -----------------------------------
-- Zone: Abyssea-LaTheine
-- NPC: qm4 (???)
-- Spawns Adamastor
-- @pos ? ? ? 132
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaUI/Widgets/api_i18n.lua | 4 | 3410 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--[[
Example:
local tr
local hellWorld
function widget:Initialize()
tr=WG.initializeTranslation(GetInfo().name,langCallback)
hellWorld=tr("helloworld")
end
... | gpl-2.0 |
gmorishere/i | plugins/all.lua | 264 | 4202 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | scripts/amphtele.lua | 3 | 10283 | --linear constant 65536
include "constants.lua"
include "utility.lua"
include 'letsNotFailAtTrig.lua'
local base, pelvis, body = piece('base', 'pelvis', 'body')
local rthigh, rshin, rfoot, lthigh, lshin, lfoot = piece('rthigh', 'rshin', 'rfoot', 'lthigh', 'lshin', 'lfoot')
local holder, sphere = piece('holder', 'sphe... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Lower_Jeuno/npcs/Subash.lua | 14 | 1044 | ----------------------------------
-- Area: Lower Jeuno
-- NPC: Subash
-- Type: Item Deliverer
-- @zone 245
-- @pos -19.84 -0.101 -38.081
--
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
--------------------------... | gpl-3.0 |
Dens0n/Conv_Music | validate.lua | 1 | 1468 | require 'midiparse'
require 'lfs'
require 'rnn'
require 'optim'
if opt.opencl then
require 'cltorch'
require 'clnn'
else
require 'torch'
require 'nn'
end
function validate(model, rho, batchsize, dir, time)
local valid_data = create_dataset(dir, time, 0) --Faster than saving
valid_data = normalize_col(valid_data... | gpl-3.0 |
wilyrastin/catbot | plugins/inpm.lua | 1114 | 3008 | do
local function pairsByKeys (t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Castle_Oztroja/npcs/Treasure_Chest.lua | 14 | 3796 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: Treasure Chest
-- Involved In Quest: Scattered into Shadow
-- @pos 7.378 -16.293 -193.590 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/West_Sarutabaruta/npcs/Slow_Axe_IM.lua | 14 | 3344 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Slow Axe, I.M.
-- Type: Border Conquest Guards
-- @pos 399.450 -25.858 727.545 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
zozaiq/DEV_ZOZO | plugins/msg_checks.lua | 10 | 11403 | --[[
#
#ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
#:((
# For More Information ....!
# author: Aziz < @TH3_GHOST >
# our channel: @DevPointTeam
# Version: 1.1
#:))
#ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
#
]]
--Begi... | gpl-2.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Configs/MetalSpots/Altair_Crossing-V1.lua | 38 | 1516 | return {
spots = {
{x = 3864, z = 2136, metal = 2.2},
{x = 888, z = 4024, metal = 1},
{x = 3944, z = 184, metal = 1},
{x = 568, z = 1928, metal = 2.2},
{x = 1528, z = 1560, metal = 2.6},
{x = 3640, z = 2056, metal = ... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Kazham-Jeuno_Airship/npcs/Joosef.lua | 30 | 2300 | -----------------------------------
-- Area: Kazham-Jeuno Airship
-- NPC: Joosef
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham-Jeuno_Airship/TextIDs"] = nil;
require("scripts/zones/Kazham-Jeuno_Airship/TextIDs");
-----------------------------------
-- onTrade Action
-... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Western_Altepa_Desert/TextIDs.lua | 7 | 1562 | -- 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>. Try trading again after sorting your inventory.
ITEM_OBTAINED = 6385; ... | gpl-3.0 |
1yvT0s/wax | lib/stdlib/luaspec/luaspec.lua | 19 | 9172 | spec = {
contexts = {}, passed = 0, failed = 0, pending = 0, current = nil
}
Report = {}
Report.__index = Report
function Report:new(spec)
local report = {
num_passed = spec.passed,
num_failed = spec.failed,
num_pending = spec.pending,
total = spec.passed + spec.failed + spec.pending,
resu... | mit |
Scavenge/darkstar | scripts/zones/Qufim_Island/npcs/Sasa_IM.lua | 14 | 3330 | -----------------------------------
-- Area: Qufim Island
-- NPC: Sasa, I.M.
-- Type: Outpost Conquest Guards
-- @pos -245.366 -20.344 299.502 126
-------------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/conquest")... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/mobskills/Tidal_Slash.lua | 37 | 1331 | ---------------------------------------------
-- Tidal Slash
--
-- Description: Deals Water<a href="http://images.wikia.com/ffxi/images/b/b7/Exclamation.gif" class="image" title="Verification Needed" data-image-name="Exclamation.gif" id="Exclamation-gif"><img alt="Verification Needed" src="http://images1.wikia.nocook... | gpl-3.0 |
Kyklas/luci-proto-hso | modules/base/luasrc/cbi.lua | 76 | 40152 | --[[
LuCI - Configuration Bind Interface
Description:
Offers an interface for binding configuration values to certain
data types. Supports value and range validation and basic dependencies.
FileId:
$Id$
License:
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "Li... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Wajaom_Woodlands/Zone.lua | 12 | 4137 | -----------------------------------
--
-- Zone: Wajaom_Woodlands (51)
--
-----------------------------------
package.loaded["scripts/zones/Wajaom_Woodlands/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts... | gpl-3.0 |
1yvT0s/luvit | examples/app/libs/stack.lua | 8 | 2993 | --[[
Copyright 2012 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 agr... | apache-2.0 |
Scavenge/darkstar | scripts/zones/RuLude_Gardens/npcs/HomePoint#2.lua | 27 | 1264 | -----------------------------------
-- Area: RuLude_Gardens
-- NPC: HomePoint#2
-- @pos 53 9 -57 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/RuLude_Gardens/TextIDs");
require("scripts/globals/homepoi... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/items/gateau_aux_fraises.lua | 12 | 1575 | -----------------------------------------
-- ID: 5542
-- Item: Gateau aux fraises
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP 8
-- MP 8% Cap 50
-- Intelligence 1
-- HP Recovered while healing 1
-- MP Recovered while healing 1
-----------------------------------... | gpl-3.0 |
TeamFSIModding/FS17_Goweil_LT_Master | src/scripts/events/ladderStatusEvent.lua | 1 | 1078 | --
--Goweil LT Master
--
--TyKonKet (Team FSI Modding)
--
--19/04/2017
LadderStatusEvent = {};
LadderStatusEvent_mt = Class(LadderStatusEvent, Event);
InitEventClass(LadderStatusEvent, "LadderStatusEvent");
function LadderStatusEvent:emptyNew()
local self = Event:new(LadderStatusEvent_mt);
return self;
end
fu... | gpl-3.0 |
roboplus12/roboplus | plugins/google.lua | 722 | 1037 | local function googlethat(query)
local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&"
local parameters = "q=".. (URL.escape(query) or "")
-- Do the request
local res, code = https.request(api..parameters)
if code ~=200 then return nil end
local data = json:decode(res)
local r... | gpl-2.0 |
smanolache/kong | kong/plugins/runscope/handler.lua | 6 | 2213 | local runscope_serializer = require "kong.plugins.log-serializers.runscope"
local BasePlugin = require "kong.plugins.base_plugin"
local log = require "kong.plugins.runscope.log"
local ngx_log = ngx.log
local ngx_log_ERR = ngx.ERR
local string_find = string.find
local req_read_body = ngx.req.read_body
local req_get_hea... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Jugner_Forest/npcs/Cavernous_Maw_2.lua | 29 | 1894 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Cavernous Maw
-- @pos 246.318, -0.709, 5.706 104
-- Teleports Players to Abyssea - Vunkerl
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/se... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | LuaRules/Gadgets/hax_mantis_5480.lua | 5 | 1263 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
if not gadgetHandler:IsSyncedCode() then
return
end
--------------------------------------------------------------------------------
------------------------... | gpl-2.0 |
kjc88/sl4a | lua/json4lua/json/json.lua | 20 | 15751 | -----------------------------------------------------------------------------
-- JSON4Lua: JSON encoding / decoding support for the Lua language.
-- json Module.
-- Author: Craig Mason-Jones
-- Homepage: http://json.luaforge.net/
-- Version: 0.9.20
-- This module is released under the The GNU General Public Licen... | apache-2.0 |
Scavenge/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/_mf9.lua | 14 | 1429 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: _mf9 (Granite Door)
-- Notes: Opens with Prelate Key
-- @pos -60 -8 -99 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Templ... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Carpenters_Landing/mobs/Birdtrap.lua | 12 | 1417 | -----------------------------------
-- Area: Carpenters' Landing
-- MOB: Birdtrap
-- Note: Placeholder Orctrap
-----------------------------------
require("scripts/zones/Carpenters_Landing/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob, player... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/spells/bluemagic/death_ray.lua | 31 | 1571 | -----------------------------------------
-- Spell: Death Ray
-- Deals dark damage to an enemy
-- Spell cost: 49 MP
-- Monster Type: Amorphs
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 2
-- Stat Bonus: HP-5, MP+5
-- Level: 34
-- Casting Time: 4.5 seconds
-- Recast Time: 29.25 seconds
-- Magic Bursts on: Compres... | gpl-3.0 |
ihcfan/NautiPlot | hmi-cocos2d-x/samples/Lua/TestLua/Resources/luaScript/LayerTest/LayerTest.lua | 4 | 21958 | local scheduler = cc.Director:getInstance():getScheduler()
local kTagLayer = 1
local function createLayerDemoLayer(title, subtitle)
local layer = cc.Layer:create()
Helper.initWithLayer(layer)
local titleStr = title == nil and "No title" or title
local subTitleStr = subtitle == nil and "" or subtitle
... | gpl-2.0 |
Zefiros-Software/SerLib2 | zpm.lua | 1 | 1515 | -- [[
-- @cond ___LICENSE___
--
-- Copyright (c) 2016-2018 Zefiros Software.
--
-- 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... | mit |
Scavenge/darkstar | scripts/globals/abilities/curing_waltz_iii.lua | 6 | 2604 | -----------------------------------
-- Ability: Curing Waltz III
-- Heals HP to target player.
-- Obtained: Dancer Level 45
-- TP Required: 50%
-- Recast Time: 00:10
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- onAbi... | gpl-3.0 |
DebugClub/slua | build/luajit-2.0.4/src/jit/dis_x86.lua | 89 | 29330 | ----------------------------------------------------------------------------
-- LuaJIT x86/x64 disassembler module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
--------------------------------------------------------------------------... | mit |
mithrandir123/AICO | build/premake4.lua | 1 | 2519 | -- Use latest premake for VS2010 support
if (tonumber(string.sub((_PREMAKE_VERSION),1,3))<4.4) then
printf("You need Premake version 4.4 or higher!")
return
end
local cwd = os.getcwd()
local act=""
if (_ACTION)~=nil then
act = _ACTION
end
solution "AICO"
configurations { "Debug", "Release" }
... | mpl-2.0 |
Scavenge/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/qm7.lua | 57 | 2181 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: qm7 (??? - Ancient Papyrus Shreds)
-- Involved in Quest: In Defiant Challenge
-- @pos 105.275 -32 92.551 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
----------------------------... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | units/chicken_digger.lua | 3 | 4284 | unitDef = {
unitname = [[chicken_digger]],
name = [[Digger]],
description = [[Burrowing Scout/Raider]],
acceleration = 0.36,
activateWhenBuilt = true,
brakeRate = 0.205,
buildCostEnergy = 0,
buildCostMetal = 0,
builder = false,
... | gpl-2.0 |
taxler/radish | lua/radish/audio/loaders/game_music_emu.lua | 1 | 3423 |
local success, gme = pcall( require, 'exports.game_music_emu' )
if not (success and gme) then
return false
end
local ffi = require 'ffi'
local bit = require 'bit'
return function(path)
return function(output)
local channels = assert(tonumber(output.channels), 'channels must be specified')
local out_emu = ffi.... | mit |
Brenin/PJ-3100 | Working Launchers/Games/Stepmania/StepMania 5/Themes/default/Scripts/02 ThemePrefs.lua | 1 | 4312 | -- StepMania 5 Default Theme Preferences Handler
local function OptionNameString(str)
return THEME:GetString('OptionNames',str)
end
-- Example usage of new system (not fully implemented yet)
local Prefs =
{
AutoSetStyle =
{
Default = false,
Choices = { OptionNameString('Off'), OptionNameString('On') },
Values... | mit |
taxler/radish | packaging/extensions/platform_win32/lua/exports/mswindows/guids.lua | 1 | 1710 |
local crt = require 'exports.crt'
local ffi = require 'ffi'
ffi.cdef [[
typedef struct GUID { uint32_t Data1; uint16_t Data2, Data3; uint8_t Data4[8]; } GUID;
int32_t CoCreateGuid(GUID* out_guid);
]]
local ole32 = ffi.load 'ole32'
local t_guid; t_guid = ffi.metatype('GUID', {
__tostring = function(guid)
if... | mit |
Scavenge/darkstar | scripts/zones/Yhoator_Jungle/npcs/Field_Manual.lua | 29 | 1052 | -----------------------------------
-- Field Manual
-- Area: Yhoator Jungle
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
-----------------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Selbina/npcs/Bretta.lua | 14 | 1153 | -----------------------------------
-- Area: Selbina
-- NPC: Bretta
-- @pos Poor Bretta lost in the depths of the database. Go find her.
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
------------... | gpl-3.0 |
Kyklas/luci-proto-hso | applications/luci-statistics/luasrc/model/cbi/luci_statistics/ping.lua | 80 | 1397 | --[[
Luci configuration model for statistics - collectd ping 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 |
Scavenge/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Kopol-Rapol.lua | 14 | 1064 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Kopol-Rapol
-- Type: Standard NPC
-- @zone 94
-- @pos 131.179 -6.75 172.758
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
... | gpl-3.0 |
ramindel0761/tele_ir | libs/fakeredis.lua | 650 | 40405 | local unpack = table.unpack or unpack
--- Bit operations
local ok,bit
if _VERSION == "Lua 5.3" then
bit = (load [[ return {
band = function(x, y) return x & y end,
bor = function(x, y) return x | y end,
bxor = function(x, y) return x ~ y end,
bnot = function(x) return ~x end,
rshift = function(x... | gpl-3.0 |
Scavenge/darkstar | scripts/globals/mobskills/Dominion_Slash.lua | 15 | 1593 | ---------------------------------------------
-- Dominion Slash
--
-- Description: Performs an area of effect slashing weaponskill. Additional effect: Silence
-- Type: Physical
-- 2-3 Shadows
-- Range: Unknown radial
-- One source also mentions that it "can dispel important buffs."
------------------------------------... | gpl-3.0 |
Kyklas/luci-proto-hso | applications/luci-shairplay/luasrc/model/cbi/shairplay.lua | 5 | 2017 | --[[
LuCI - Lua Configuration Interface - Shairplay support
Copyright 2014 Álvaro Fernández Rojas <noltari@gmail.com>
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/license... | apache-2.0 |
Scavenge/darkstar | scripts/globals/spells/absorb-dex.lua | 9 | 1370 | --------------------------------------
-- Spell: Absorb-DEX
-- Steals an enemy's dexterity.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
---------------... | gpl-3.0 |
swan524/BotOfLegend | BaguetteKalye/BaguetteKayle.lua | 1 | 39474 | --[[
Script by spyk for Kayle.
=> BaguetteKayle.lua
- Github link : https://github.com/spyk1/BoL/blob/master/BaguetteKalye/BaguetteKayle.lua
- Forum Thread : http://forum.botoflegends.com/topic/92596-beta-baguette-kayle/
]]--
if myHero.charName ~= "Kayle" then return end
function EnvoiMessage(msg)
PrintChat("<... | gpl-2.0 |
Scavenge/darkstar | scripts/zones/Riverne-Site_A01/mobs/Hippogryph.lua | 13 | 1743 | -----------------------------------
-- Area: Riverne Site A01
-- MOB: Hippogryph
-----------------------------------
-----------------------------------
-- onMobRoam
-----------------------------------
function onMobRoam(mob)
local Heliodromos_Table =
{
16900110,
16900111,
16900112
... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Lower_Jeuno/npcs/Chetak.lua | 17 | 1423 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Chetak
-- 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 |
adriamarcet/WG_premium_text-files | tuto-duelo_fr.lua | 1 | 2431 | --<< Textos del tutorial >>--
local tableText = {
blancas = {
--<< START translate >>--
btnSetSalir = "Quitter",
btnSetContinuar = "Continuer à jouer",
btnFinAcabar = "Terminer",
btnFinContinuar = "Continuer"
--<< END translate >>--
},
negras = {
--<< START translate // transform && for \n and... | mit |
Scavenge/darkstar | scripts/zones/Temenos/mobs/Water_Elemental.lua | 28 | 1791 | -----------------------------------
-- Area: Temenos E T
-- NPC: Water_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------... | gpl-3.0 |
Scavenge/darkstar | scripts/zones/Cloister_of_Tremors/mobs/Titan_Prime.lua | 23 | 2778 | -----------------------------------
-- Area: Cloister of Tremors
-- MOB: Titan Prime
-- Involved in Quest: Trial by Earth
-- Involved in Mission: ASA-4 Sugar Coated Directive
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/status")... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | gamedata/modularcomms/weapons/lightninggun_improved.lua | 4 | 1303 | local name = "commweapon_lightninggun_improved"
local weaponDef = {
name = [[Heavy Lightning Gun]],
areaOfEffect = 8,
beamTTL = 12,
craterBoost = 0,
craterMult = 0,
customParams = {
extra_damage_mult = [[0.266667]],
slot = [[5]... | gpl-2.0 |
dani-sj/evilbot03 | plugins/stats.lua | 168 | 4001 | do
-- Returns a table with `name` and `msgs`
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_prin... | gpl-2.0 |
Grade-A-Software/Comcast-DASH-VLC | share/lua/modules/dkjson.lua | 95 | 25741 | --[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.1*
This module writes no global values, not even the module table.
Import it using
json = require ("dkjson")
Exported functions and values:
`json.encode (object [, state])`
--------------------------------
... | gpl-2.0 |
Scavenge/darkstar | scripts/globals/weaponskills/calamity.lua | 25 | 1516 | -----------------------------------
-- Calamity
-- Axe weapon skill
-- Skill level: 200 (Beastmasters and Warriors only.)
-- Delivers a single-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget & Thunder Gorget.
-- Aligned with the Soil Belt & Thunder Belt.
-- Element: N... | gpl-3.0 |
Zero-K-Experiments/Zero-K-Experiments | scripts/corsilo.lua | 10 | 3215 | local base = piece 'base'
local tube = piece 'tube'
local tower = piece 'tower'
local nuke = piece 'nuke'
local hoses = piece 'hoses'
local doorl = piece 'doorl'
local doorr = piece 'doorr'
local point = piece 'point'
include "constants.lua"
local RESTORE_DELAY = 3000
local openingDoors = false
local doorsAre... | gpl-2.0 |
focusworld/antispam | plugins/ingroup.lua | 527 | 44020 | do
-- Check Member
local function check_member_autorealm(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 member_id ~= our_id then
-- Group configuration
data[tostr... | gpl-2.0 |
mortezamosavy999/monsterTG | plugins/ingroup.lua | 527 | 44020 | do
-- Check Member
local function check_member_autorealm(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 member_id ~= our_id then
-- Group configuration
data[tostr... | gpl-2.0 |
purebn/secure | libs/redis.lua | 566 | 1214 | local Redis = require 'redis'
local FakeRedis = require 'fakeredis'
local params = {
host = os.getenv('REDIS_HOST') or '127.0.0.1',
port = tonumber(os.getenv('REDIS_PORT') or 6379)
}
local database = os.getenv('REDIS_DB')
local password = os.getenv('REDIS_PASSWORD')
-- Overwrite HGETALL
Redis.commands.hgetall = ... | gpl-2.0 |
OpenPrograms/mpmxyz-Programs | usr/lib/mpm/stack.lua | 3 | 1779 | -----------------------------------------------------
--name : lib/stack.lua
--description: stack - simple and efficient stack manipulation
--author : mpmxyz
--github page: https://github.com/mpmxyz/ocprograms
--forum page : http://oc.cil.li/index.php?/topic/
--------------------------------------------------... | mit |
PicoleDeLimao/Ninpou2 | game/dota_addons/ninpou2/scripts/vscripts/internal/events.lua | 7 | 3110 | -- The overall game state has changed
function GameMode:_OnGameRulesStateChange(keys)
if GameMode._reentrantCheck then
return
end
local newState = GameRules:State_Get()
if newState == DOTA_GAMERULES_STATE_WAIT_FOR_PLAYERS_TO_LOAD then
self.bSeenWaitForPlayers = true
elseif newState == DOTA_GAMERULES_... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.