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 |
|---|---|---|---|---|---|
geanux/darkstar | scripts/zones/Norg/npcs/Colleraie.lua | 38 | 1028 | -----------------------------------
-- Area: Norg
-- NPC: Colleraie
-- Type: Event Scene Replayer
-- @zone: 252
-- @pos -24.684 0.097 -39.409
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
---------------------... | gpl-3.0 |
geanux/darkstar | scripts/zones/Windurst_Walls/npcs/Koru-Moru.lua | 24 | 11008 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Koru-Moru
-- Starts & Ends Quest: Star Struck
-- Involved in Quest: Making the Grade, Riding on the Clouds
-- @pos -120 -6 124 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
package.loade... | gpl-3.0 |
evilexecutable/ResourceKeeper | install/LuaRocks/lua/luarocks/cfg.lua | 2 | 22542 | --- Configuration for LuaRocks.
-- Tries to load the user's configuration file and
-- defines defaults for unset values. See the
-- <a href="http://luarocks.org/en/Config_file_format">config
-- file format documentation</a> for details.
--
-- End-users shouldn't edit this file. They can override any defaults
-- set in ... | gpl-2.0 |
evilexecutable/ResourceKeeper | install/Lua/lib/lua/luarocks/path.lua | 2 | 11581 |
--- LuaRocks-specific path handling functions.
-- All paths are configured in this module, making it a single
-- point where the layout of the local installation is defined in LuaRocks.
module("luarocks.path", package.seeall)
local dir = require("luarocks.dir")
local cfg = require("luarocks.cfg")
local util = require... | gpl-2.0 |
mirkix/ardupilot | libraries/AP_Scripting/tests/strings.lua | 26 | 13753 | -- $Id: strings.lua,v 1.86 2016/11/07 13:11:28 roberto Exp roberto $
--[[
*****************************************************************************
* Copyright (C) 1994-2016 Lua.org, PUC-Rio.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated document... | gpl-3.0 |
geanux/darkstar | scripts/zones/Rabao/npcs/Waylea.lua | 38 | 1048 | -----------------------------------
-- Area: Rabao
-- NPC: Waylea
-- Type: Reputation
-- @zone: 247
-- @pos 12.384 4.658 -32.392
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
Pritchy96/OpenRA | mods/ra/maps/allies-05a/allies05a.lua | 8 | 8576 | if Map.Difficulty == "Easy" then
TanyaType = "e7"
ReinforceCash = 5000
HoldAITime = DateTime.Minutes(3)
else
TanyaType = "e7.noautotarget"
ChangeStance = true
ReinforceCash = 2500
HoldAITime = DateTime.Minutes(2)
end
SpyType = { "spy" }
SpyEntryPath = { SpyEntry.Location, SpyLoadout.Location }
InsertionTranspor... | gpl-3.0 |
geanux/darkstar | scripts/zones/Qufim_Island/npcs/Numumu_WW.lua | 30 | 3050 | -----------------------------------
-- Area: Qufim Island
-- NPC: Numumu, W.W.
-- Type: Border Conquest Guards
-- @pos 179.093 -21.575 -15.282 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
re... | gpl-3.0 |
kaen/Zero-K | effects/gundam_artillery_explosion.lua | 25 | 3488 | -- artillery_explosion
return {
["artillery_explosion"] = {
dirt = {
count = 4,
ground = true,
properties = {
alphafalloff = 2,
alwaysvisible = true,
color = [[0.2, 0.1, 0.05]],
pos = [[r-25 r25, 0, ... | gpl-2.0 |
Schwertspize/cuberite | Server/Plugins/APIDump/Hooks/OnChunkGenerated.lua | 36 | 2855 | return
{
HOOK_CHUNK_GENERATED =
{
CalledWhen = "After a chunk was generated. Notification only.",
DefaultFnName = "OnChunkGenerated", -- also used as pagename
Desc = [[
This hook is called when world generator finished its work on a chunk. The chunk data has already
been generated and is about to be stor... | apache-2.0 |
geanux/darkstar | scripts/globals/spells/regen_ii.lua | 18 | 1525 | -----------------------------------------
-- Spell: Regen II
-- Gradually restores target's HP.
-----------------------------------------
-- Cleric's Briault enhances the effect
-- Scale down duration based on level
-- Composure increases duration 3x
-----------------------------------------
require("scripts/... | gpl-3.0 |
legend18/dragonbone_cocos2dx-3.x | demos/cocos2d-x-3.x/DragonBonesCppDemos/cocos2d/cocos/scripting/lua-bindings/auto/api/Armature.lua | 6 | 4653 |
--------------------------------
-- @module Armature
-- @extend Node,BlendProtocol
-- @parent_module ccs
--------------------------------
-- @function [parent=#Armature] getBone
-- @param self
-- @param #string str
-- @return Bone#Bone ret (return value: ccs.Bone)
--------------------------------
-- @functi... | mit |
ExcelF/project-navel | smee/libs/jumper/core/heuristics.lua | 9 | 3588 | --- Heuristic functions for search algorithms.
-- A <a href="http://theory.stanford.edu/~amitp/GameProgramming/Heuristics.html">distance heuristic</a>
-- provides an *estimate of the optimal distance cost* from a given location to a target.
-- As such, it guides the pathfinder to the goal, helping it to decide which ... | mit |
geanux/darkstar | scripts/zones/AlTaieu/mobs/Jailer_of_Love.lua | 23 | 5580 | -----------------------------------
-- Area: Al'Taieu
-- NM: Jailer of Love
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
----------... | gpl-3.0 |
mullikine/vlc | share/lua/playlist/mpora.lua | 97 | 2565 | --[[
$Id$
Copyright © 2009 the VideoLAN team
Authors: Konstantin Pavlov (thresh@videolan.org)
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 opt... | gpl-2.0 |
geanux/darkstar | scripts/zones/Port_Bastok/npcs/Romilda.lua | 36 | 2365 | -----------------------------------
-- Area: Port Bastok
-- NPC: Romilda
-- Involved in Quest: Forever to Hold
-- Starts & Ends Quest: Till Death Do Us Part
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
famellad/oldschool-scroller | lua-staging/stage.lua | 1 | 1464 | Class = require 'libs.hump.class'
Stage = Class{}
function Stage:init ()
self.name = "" -- Name for the stage
self.act = 0 -- Act number
self.background = nil
--self.palette?
-- TODO cutscenes
-- self.initCutscene = nil
-- self.endCutscene = nil
self.challenges = {} -- List of c... | gpl-2.0 |
geanux/darkstar | scripts/globals/items/serving_of_yellow_curry.lua | 35 | 2067 | -----------------------------------------
-- ID: 4517
-- Item: serving_of_yellow_curry
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Health Points 20
-- Strength 5
-- Agility 2
-- Intelligence -4
-- HP Recovered While Healing 2
-- MP Recovered While Healing 1
-- Attack 20% (... | gpl-3.0 |
kaen/Zero-K | lups/ParticleClasses/NanoParticles.lua | 13 | 12525 | -- $Id: NanoParticles.lua 3171 2008-11-06 09:06:29Z det $
-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
local NanoParticles = {}
NanoPart... | gpl-2.0 |
PhearNet/scanner | bin/nmap-openshift/nselib/data/psexec/drives.lua | 8 | 1334 | ---This configuration file pulls info about a given harddrive
-- Any variable in the 'config' table in smb-psexec.nse can be overriden in the
-- 'overrides' table. Most of them are not really recommended, such as the host,
-- key, etc.
overrides = {}
--overrides.timeout = 40
modules = {}
local mod
mod = {}
mod.uploa... | mit |
ExcelF/project-navel | libs/jumper/grid.lua | 4 | 15725 | --- The Grid class.
-- Implementation of the `grid` class.
-- The `grid` is a implicit graph which represents the 2D
-- world map layout on which the `pathfinder` object will run.
-- During a search, the `pathfinder` object needs to save some critical values. These values are cached within each `node`
-- object, and th... | mit |
evilexecutable/ResourceKeeper | install/Lua/share/lua/5.1/ltn12.lua | 71 | 8331 | -----------------------------------------------------------------------------
-- LTN12 - Filters, sources, sinks and pumps.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
------------------------------------------------------------------------... | gpl-2.0 |
legend18/dragonbone_cocos2dx-3.x | demos/cocos2d-x-3.x/DragonBonesCppDemos/cocos2d/external/lua/luasocket/ltn12.lua | 71 | 8331 | -----------------------------------------------------------------------------
-- LTN12 - Filters, sources, sinks and pumps.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
------------------------------------------------------------------------... | mit |
kaen/Zero-K | LuaRules/Gadgets/astar.lua | 25 | 7226 | ---------------------------------------------------------------------
--[[
author: quantum
GPL v2 or later
http://www.policyalmanac.org/games/aStarTutorial.htm
http://en.wikipedia.org/wiki/A*_search_algorithm
use: override IsBlocked, GetDistance, etc and run aStar.GetPath
-- example -----------------------------... | gpl-2.0 |
geanux/darkstar | scripts/zones/West_Ronfaure/TextIDs.lua | 7 | 1654 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6393; -- You cannot obtain the item <item> come back again after sorting your inventory.
ITEM_OBTAINED = 6397; -- Obtained: <item>.
GIL_OBTAINED = 6398; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6400; -- Obt... | gpl-3.0 |
blackops97/SAJJAD.iq | plugins/ingroup.lua | 1 | 60293 | 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.peer_id
if member_id ~= our_id then
-- Group configuration
data[... | gpl-2.0 |
bilysoo/testing | packages/unittest++/1.5.0/src/premake5.lua | 1 | 2057 | ----------------------------------------------------------------------------------------------------
--
-- premake5.lua
-- premake build configuration for momo
----------------------------------------------------------------------------------------------------
location('build')
root_dir = _WORKING_DIR
build_dir = pat... | mit |
geanux/darkstar | scripts/globals/items/steamed_crayfish.lua | 35 | 1239 | -----------------------------------------
-- ID: 4338
-- Item: steamed_crayfish
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Defense % 30
-- Defense Cap 30
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------... | gpl-3.0 |
geanux/darkstar | scripts/globals/mobskills/freezebite.lua | 26 | 1287 | -----------------------------------
-- Freezebite
-- Great Sword weapon skill
-- Skill Level: 100
-- Delivers an ice elemental attack. Damage varies with TP.
-- Aligned with the Snow Gorget & Breeze Gorget.
-- Aligned with the Snow Belt & Breeze Belt.
-- Element: Ice
-- Modifiers: STR:30% ; INT:20%
-- 100%TP ... | gpl-3.0 |
geanux/darkstar | scripts/globals/items/shogun_rice_ball.lua | 21 | 1509 | -----------------------------------------
-- ID: 4278
-- Item: Shogun Rice Ball
-- Food Effect: 60Min, All Races
-----------------------------------------
-- HP +20
-- Dex +4
-- Vit +4
-- Chr +4
-- Effect with enhancing equipment (Note: these are latents on gear with the effect)
-- Atk +50
-- Def +30
-- Do... | gpl-3.0 |
geanux/darkstar | scripts/globals/items/plate_of_mushroom_paella.lua | 36 | 1409 | -----------------------------------------
-- ID: 5970
-- Item: Plate of Mushroom Paella
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- HP 40
-- Strength -1
-- Mind 5
-- Magic Accuracy 5
-- Undead Killer 5
-----------------------------------------
require("scripts/globals/status");
-----... | gpl-3.0 |
omidtarh/wizard | plugins/danbooru.lua | 616 | 1750 | do
local URL = "http://danbooru.donmai.us"
local URL_NEW = "/posts.json"
local URL_POP = "/explore/posts/popular.json"
local scale_day = "?scale=day"
local scale_week = "?scale=week"
local scale_month = "?scale=month"
local function get_post(url)
local b, c, h = http.request(url)
if c ~= 200 then return nil end
... | gpl-2.0 |
kaen/Zero-K | LuaUI/Widgets/gui_replace_cloak_con_order.lua | 12 | 2136 |
function widget:GetInfo()
return {
name = "Replace Cloak Con Orders",
desc = "Prevents constructor accidental decloak in enemy territory by replacing Repair, Reclaim and Rez with Move. .\n\nNOTE:Use command menu or command hotkeys to override.",
author = "GoogleFrog",
date = "13 Au... | gpl-2.0 |
h0tw1r3/mame | 3rdparty/genie/src/actions/ninja/ninja_base.lua | 3 | 3090 | --
-- Name: ninja_base.lua
-- Purpose: Define the ninja action.
-- Author: Stuart Carnie (stuart.carnie at gmail.com)
--
local ninja = premake.ninja
function ninja.esc(value)
value = value:gsub("%$", "$$") -- TODO maybe there is better way
value = value:gsub(":", "$:")
value = value:gsub("\n", "$\n... | gpl-2.0 |
mirkix/ardupilot | libraries/AP_Scripting/examples/frsky_rpm.lua | 22 | 1701 | --[[
Simple example that sends rpm info down the frsky link
it works with SPort using SERIAL_PROTOCOL=4,10 and with
FPort using SERIAL_PROTOCOL=23.
We'll be using OpenTX genuine RPM data IDs (https://github.com/opentx/opentx/blob/2.3/radio/src/telemetry/frsky.h)
RPM_FIRST_ID 0x0500
RPM_LAST_ID 0x05... | gpl-3.0 |
geanux/darkstar | scripts/zones/Bhaflau_Thickets/Zone.lua | 27 | 3711 | -----------------------------------
--
-- Zone: Bhaflau_Thickets (52)
--
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/globals/settings");
requir... | gpl-3.0 |
geanux/darkstar | scripts/globals/spells/dokumori_ichi.lua | 18 | 1202 | -----------------------------------------
-- Spell: Dokumori: Ichi
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targ... | gpl-3.0 |
geanux/darkstar | scripts/globals/mobskills/Tail_Crush.lua | 25 | 1026 | ---------------------------------------------
-- Tail Crush
--
-- Description: Smashes a single target with its tail. Additional effect: Poison
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes:
---------------------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
geanux/darkstar | scripts/zones/Bastok_Mines/npcs/Sodragamm.lua | 38 | 1086 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Sodragamm
-- Type: Item Deliverer
-- @zone: 234
-- @pos -24.741 -1 -64.944
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scrip... | gpl-3.0 |
marek-g/vlc-signio | share/lua/modules/simplexml.lua | 103 | 3732 | --[==========================================================================[
simplexml.lua: Lua simple xml parser wrapper
--[==========================================================================[
Copyright (C) 2010 Antoine Cellerier
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
This progra... | gpl-2.0 |
371816210/vlc_vlc | share/lua/modules/simplexml.lua | 103 | 3732 | --[==========================================================================[
simplexml.lua: Lua simple xml parser wrapper
--[==========================================================================[
Copyright (C) 2010 Antoine Cellerier
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
This progra... | gpl-2.0 |
geanux/darkstar | scripts/zones/Abyssea-Uleguerand/npcs/Cavernous_Maw.lua | 17 | 1247 | -----------------------------------
-- Area: Abyssea - Uleguerand
-- NPC: Cavernous Maw
-- @pos -246.000, -40.600, -520.000 253
-- Notes: Teleports Players to Xarcabard
-----------------------------------
package.loaded["scripts/zones/Abyssea-Uleguerand/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
geanux/darkstar | scripts/zones/Caedarva_Mire/npcs/Nasheefa.lua | 19 | 1384 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Nasheefa
-- Type: Alzadaal Undersea Ruins
-- @pos -440.998 0.107 -740.015 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
geanux/darkstar | scripts/globals/spells/bluemagic/feather_storm.lua | 18 | 2042 | -----------------------------------------
-- Spell: Feather Storm
-- Additional effect: Poison. Chance of effect varies with TP
-- Spell cost: 12 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 3
-- Stat Bonus: CHR+2, HP+5
-- Level: 12
-- Casting Time: 0.5 seconds
-- Reca... | gpl-3.0 |
vvtam/vlc | share/lua/intf/dumpmeta.lua | 98 | 2125 | --[==========================================================================[
dumpmeta.lua: dump a file's meta data on stdout/stderr
--[==========================================================================[
Copyright (C) 2010 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
Th... | gpl-2.0 |
371816210/vlc_vlc | share/lua/intf/dumpmeta.lua | 98 | 2125 | --[==========================================================================[
dumpmeta.lua: dump a file's meta data on stdout/stderr
--[==========================================================================[
Copyright (C) 2010 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
Th... | gpl-2.0 |
kaen/Zero-K | 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 |
ExcelF/project-navel | libs/jumper/pathfinder.lua | 7 | 14513 | --- The Pathfinder class
--
-- Implementation of the `pathfinder` class.
local _VERSION = ""
local _RELEASEDATE = ""
if (...) then
-- Dependencies
local _PATH = (...):gsub('%.pathfinder$','')
local Utils = require (_PATH .. '.core.utils')
local Assert = require (_PATH .. '.core.assert')
local Heap ... | mit |
geanux/darkstar | scripts/globals/pets.lua | 37 | 36137 | -----------------------------------
--
-- PETS ID
--
-----------------------------------
-----------------------------------
-- PETTYPE
-----------------------------------
PETTYPE_AVATAR = 0;
PETTYPE_WYVERN = 1;
PETTYPE_JUGPET = 2;
PETTYPE_CHARMED_MOB = 3;
PETTYPE... | gpl-3.0 |
kobreu/compiler | testinput/lua5.1-tests/files.lua | 1 | 8821 |
print('testing i/o')
assert(io.input(io.stdin) == io.stdin)
assert(io.output(io.stdout) == io.stdout)
assert(type(io.input()) == "userdata" and io.type(io.output()) == "file")
assert(io.type(8) == nil)
local a = {}; setmetatable(a, {})
assert(io.type(a) == nil)
local a,b,c = io.open('xuxu_nao_existe')
assert(not a... | gpl-3.0 |
geanux/darkstar | scripts/zones/Riverne-Site_A01/npcs/_0u2.lua | 17 | 1341 | -----------------------------------
-- Area: Riverne Site #A01
-- NPC: Unstable Displacement
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_A01/Text... | gpl-3.0 |
dusdong/google-diff-match-patch | lua/diff_match_patch.lua | 265 | 73869 | --[[
* Diff Match and Patch
*
* Copyright 2006 Google Inc.
* http://code.google.com/p/google-diff-match-patch/
*
* Based on the JavaScript implementation by Neil Fraser.
* Ported to Lua by Duncan Cross.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance ... | apache-2.0 |
bverhagen/exec-helper | src/plugins/src/scripts/cmake.lua | 1 | 1833 | task:add_args({'cmake'})
local mode = one(config['mode']) or 'generate'
if mode ~= 'generate' and mode ~= 'build' and mode ~= 'install' then
user_feedback_error('You must define a valid mode! Options are: generate, build or install.')
input_error('You must define a valid mode!')
end
if mode == 'generate' the... | bsd-3-clause |
geanux/darkstar | scripts/zones/AlTaieu/mobs/Ru_aern.lua | 16 | 2749 | -----------------------------------
-- Area: Al'Taieu
-- NPC: Ru_aern
-----------------------------------
require("scripts/globals/missions");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
end;
-------------------------... | gpl-3.0 |
tonylauCN/tutorials | openresty/debugger/lualibs/lexers/applescript.lua | 5 | 2885 | -- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE.
-- Applescript LPeg lexer.
local l = require('lexer')
local token, word_match = l.token, l.word_match
local P, R, S = lpeg.P, lpeg.R, lpeg.S
local M = {_NAME = 'applescript'}
-- Whitespace.
local ws = token(l.WHITESPACE, l.space^1)
-- Comments.
... | apache-2.0 |
SirFrancisBillard/lua-projects | awesome_sweps/lua/weapons/billard_boomstick.lua | 1 | 4706 | local fuck = GESTURE_SLOT_ATTACK_AND_RELOAD
SWEP.PrintName = "Boomstick"
SWEP.Author = "Sir Francis Billard"
SWEP.Instructions = "Left click to blow down doors or people.\nRight click to launch a rocket."
SWEP.Spawnable = true
SWEP.ViewModel = "models/weapons/c_shotgun.mdl"
SWEP.UseHands = true
SWEP.ViewMode... | gpl-3.0 |
geanux/darkstar | scripts/globals/spells/bluemagic/saline_coat.lua | 18 | 1375 | -----------------------------------------
-- 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: 6... | gpl-3.0 |
tonylauCN/tutorials | lua/debugger/lualibs/luacheck/lua_fs.lua | 5 | 1954 | local utils = require "luacheck.utils"
local lua_fs = {}
-- Quotes an argument for a command for os.execute or io.popen.
-- Same code has been contributed to pl.
local function quote_arg(argument)
if utils.is_windows then
if argument == "" or argument:find('[ \f\t\v]') then
-- Need to quote the argu... | apache-2.0 |
geanux/darkstar | scripts/zones/Port_San_dOria/npcs/Milva.lua | 36 | 1839 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Milva
-- Only sells when San d'Oria has control of Sarutabaruta
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require(... | gpl-3.0 |
semyon422/lua-mania | src/vsrg/Note.lua | 2 | 2631 | local init = function(vsrg, game)
--------------------------------
local Note = vsrg.HitObject:new({})
Note.new = function(self, note)
setmetatable(note, self)
self.__index = self
return note
end
Note.update = function(self)
local currentTime = self.column.map.currentTime
local deltaStartTime = (self.startTime... | gpl-3.0 |
geanux/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5f9.lua | 34 | 1106 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Shiva's Gate
-- @pos 270 -34 -60 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs")... | gpl-3.0 |
tonylauCN/tutorials | openresty/debugger/lualibs/metalua/compiler/parser/expr.lua | 4 | 9479 | -------------------------------------------------------------------------------
-- Copyright (c) 2006-2013 Fabien Fleutot and others.
--
-- All rights reserved.
--
-- This program and the accompanying materials are made available
-- under the terms of the Eclipse Public License v1.0 which
-- accompanies this distributi... | apache-2.0 |
kaen/Zero-K | gamedata/explosions_post.lua | 17 | 1247 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- Load CA's effects from ./effects and not ./gamedata/explosions
--
local luaFiles = VFS.DirList('effects', '*.lua', '*.tdf')
--couldn't be arsed to con... | gpl-2.0 |
geanux/darkstar | scripts/globals/weaponskills/swift_blade.lua | 30 | 1389 | -----------------------------------
-- Swift Blade
-- Sword weapon skill
-- Skill Level: 225
-- Delivers a three-hit attack. params.accuracy varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget & Soil Gorget.
-- Aligned with the Shadow Belt & Soil Belt.
-- Element: None
-- Modifie... | gpl-3.0 |
geanux/darkstar | scripts/zones/Castle_Oztroja/npcs/_47m.lua | 17 | 1571 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47m (Torch Stand)
-- Notes: Opens door _471 near password #3
-- @pos -45.230 -17.832 17.668 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
geanux/darkstar | scripts/globals/items/skewer_of_m&p_chicken.lua | 36 | 1336 | -----------------------------------------
-- ID: 5639
-- Item: Skewer of M&P Chicken
-- Food Effect: 3Min, All Races
-----------------------------------------
-- Strength 5
-- Intelligence -5
-- Attack % 25
-- Attack Cap 154
-----------------------------------------
require("scripts/globals/status");
----------------... | gpl-3.0 |
geanux/darkstar | scripts/globals/items/pickled_herring.lua | 35 | 1360 | -----------------------------------------
-- ID: 4490
-- Item: Pickled Herring
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 3
-- Mind -3
-- Attack % 12
-- Ranged ATT % 12
-----------------------------------------
require("scripts/globals/status");
--------------... | gpl-3.0 |
kaen/Zero-K | scripts/corcom_alt.lua | 16 | 8793 | include "constants.lua"
local spSetUnitShieldState = Spring.SetUnitShieldState
--------------------------------------------------------------------------------
-- pieces
--------------------------------------------------------------------------------
local torso = piece 'torso'
local lfirept = piece 'lfirept'
local... | gpl-2.0 |
SurenaTeam/TeleSurena | plugins/addsudo.lua | 3 | 1268 | local function reload_plugins()
plugins = {}
load_plugins()
end
function is_botowner(msg)
local var = false
local admins = {232006008,239832443}
for k,v in pairs(admins) do
if msg.from.id == v then
var = true
end
end
return var
end
local function is_sudouser( id )
for k,v in pairs(_config.... | agpl-3.0 |
semyon422/lua-mania | src/rglib/bms/Beatmap/import/init.lua | 1 | 11007 | local init = function(Beatmap, bms)
--------------------------------
local import = function(self, filePath)
local breakedPath = explode("/", filePath)
self.mapFileName = breakedPath[#breakedPath]
self.mapPath = string.sub(filePath, 1, #filePath - #self.mapFileName - 1)
self.hitSoundsRules = {
formats = {"wav",... | gpl-3.0 |
Weol/URM | lua/ulx/modules/sh/commands.lua | 1 | 11684 | local CATAGORY = "URM"
TIIP = TIIP or {}
TIIP.URM = TIIP.URM or {}
TIIP.URM.RestrictTypes = {entity = {"entity"},prop = {"prop"},npc = {"npc"},vehicle = {"vehicle"},swep = "weapon",pickup = "pickup",effect = {"effect"}, tool = {"tool"},ragdoll = {"ragdoll"}}
TIIP.URM.RestrictTypesKeys = {"entity","prop","npc","vehicl... | mit |
geanux/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 = 6382; -- You cannot obtain the <item>. Try trading again after sorting your inventory.
ITEM_OBTAINED = 6383; ... | gpl-3.0 |
evilexecutable/ResourceKeeper | install/Lua/lib/lua/sendmail.lua | 1 | 10498 | -- sendmail.lua v0.1.0 (2013-01)
-- Copyright (c) 2013 Alexey Melnichuk
--
-- 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
-- ... | gpl-2.0 |
Nikketa/guild-bank-snapshots | Scan.lua | 1 | 6432 | local Addon, ns = ...
local Frame = ns.Frame
local db = ns.db
local has_bagnon = ns.has_bagnon
-- /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////... | gpl-3.0 |
geanux/darkstar | scripts/zones/Northern_San_dOria/npcs/Capiria.lua | 14 | 1477 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Capiria
-- Type: Involved in Quest (Flyers for Regine)
-- @zone: 231
-- @pos -127.355 0.000 130.461
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_... | gpl-3.0 |
Pritchy96/OpenRA | mods/cnc/maps/nod04a/nod04a.lua | 4 | 10767 | NodUnitsBuggy = { 'bggy', 'bggy', 'bggy', 'bggy', 'bggy' }
NodUnitsBikes = { 'bike', 'bike', 'bike' }
NodUnitsGunner = { 'e1', 'e1', 'e1', 'e1', 'e1', 'e1' }
NodUnitsRocket = { 'e3', 'e3', 'e3', 'e3', 'e3', 'e3' }
Atk6Units = { 'c1', 'c2', 'c3' }
Atk5Units = { 'e1', 'e1', 'e2', 'e2' }
Atk1Units = { 'e1', 'e1' }
XxxxUn... | gpl-3.0 |
h0tw1r3/mame | 3rdparty/genie/tests/project/test_vpaths.lua | 51 | 3834 | --
-- tests/project/test_vpaths.lua
-- Automated test suite for the project support functions.
-- Copyright (c) 2011-2012 Jason Perkins and the Premake project
--
T.project_vpaths = { }
local suite = T.project_vpaths
local project = premake.project
--
-- Setup and teardown
--
local sln
function suite.setup()
... | gpl-2.0 |
geanux/darkstar | scripts/zones/North_Gustaberg/npcs/Heavy_Fog_IM.lua | 30 | 3055 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Heavy Fog, I.M.
-- Type: Border Conquest Guards
-- @pos -520.704 38.75 560.258 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conque... | gpl-3.0 |
tahashakiba/zz | 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 |
mohammadclashclash/elll2014 | 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 |
geanux/darkstar | scripts/commands/giveitem.lua | 27 | 1612 | ---------------------------------------------------------------------------------------------------
-- func: @giveitem <player> <itemId> <amount> <aug1> <v1> <aug2> <v2> <aug3> <v3> <aug4> <v4>
-- desc: Gives an item to the target player.
------------------------------------------------------------------------------... | gpl-3.0 |
geanux/darkstar | scripts/zones/San_dOria-Jeuno_Airship/npcs/Ricaldo.lua | 19 | 2057 | -----------------------------------
-- Area: San d'Oria-Jeuno Airship
-- NPC: Ricaldo
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/San_dOria-Jeuno_Airship/TextIDs"] = nil;
require("scripts/zones/San_dOria-Jeuno_Airship/TextIDs");
-----------------------------------
-- onTra... | gpl-3.0 |
geanux/darkstar | scripts/globals/items/bowl_of_loach_soup.lua | 36 | 1539 | -----------------------------------------
-- ID: 5671
-- Item: Bowl of Loach Soup
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- Dexterity 4
-- Agility 4
-- Accuracy 7% Cap 50
-- HP 7% Cap 50
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
-----... | gpl-3.0 |
kaen/Zero-K | 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 |
geanux/darkstar | scripts/globals/items/crescent_fish.lua | 18 | 1333 | -----------------------------------------
-- ID: 4473
-- Item: crescent_fish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
geanux/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Porter_Moogle.lua | 41 | 1547 | -----------------------------------
-- Area: Tavnazian_Safehold
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 26
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Tavnazian_S... | gpl-3.0 |
geanux/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/_4w4.lua | 17 | 2639 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Gold Beastcoin Door
-- @zone 176
-- @pos 60 8.55 -80
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require(... | gpl-3.0 |
geanux/darkstar | scripts/globals/items/thundermelon.lua | 35 | 1199 | -----------------------------------------
-- ID: 4412
-- Item: thundermelon
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -6
-- Intelligence 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- On... | gpl-3.0 |
evilexecutable/ResourceKeeper | install/Lua/lib/lua/logging/socket.lua | 3 | 1196 | -------------------------------------------------------------------------------
-- Sends the logging information through a socket using luasocket
--
-- @author Thiago Costa Ponte (thiago@ideais.com.br)
--
-- @copyright 2004-2011 Kepler Project
--
-------------------------------------------------------------------------... | gpl-2.0 |
Schwertspize/cuberite | Server/Plugins/APIDump/Hooks/OnPlayerSpawned.lua | 44 | 1282 | return
{
HOOK_PLAYER_SPAWNED =
{
CalledWhen = "After a player (re)spawns in the world to which they belong to.",
DefaultFnName = "OnPlayerSpawned", -- also used as pagename
Desc = [[
This hook is called after a {{cPlayer|player}} has spawned in the world. It is called after
{{OnLogin|HOOK_LOGIN}} and {{O... | apache-2.0 |
kaen/Zero-K | gamedata/modularcomms/weapons/shockrifle.lua | 6 | 1076 | local name = "commweapon_shockrifle"
local weaponDef = {
name = [[Shock Rifle]],
areaOfEffect = 16,
colormap = [[0 0 0 0 0 0 0.2 0.2 0 0 0.5 0.5 0 0 0.7 0.7 0 0 1 1 0 0 1 1]],
craterBoost = 0,
craterMult = 0,
customParams ... | gpl-2.0 |
geanux/darkstar | scripts/zones/Metalworks/npcs/Lorena.lua | 17 | 2528 | -----------------------------------
-- Area: Metalworks
-- NPC: Lorena
-- Type: Blacksmithing Guildworker's Union Representative
-- @zone: 237
-- @pos -104.990 1 30.995
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("scripts/zones/Metalworks/TextIDs");
requir... | gpl-3.0 |
geanux/darkstar | scripts/globals/items/quus.lua | 18 | 1314 | -----------------------------------------
-- ID: 5793
-- Item: quus
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
yurenyong123/nodemcu-firmware | lua_examples/yet-another-ds18b20.lua | 79 | 1924 | ------------------------------------------------------------------------------
-- DS18B20 query module
--
-- LICENCE: http://opensource.org/licenses/MIT
-- Vladimir Dronnikov <dronnikov@gmail.com>
--
-- Example:
-- dofile("ds18b20.lua").read(4, function(r) for k, v in pairs(r) do print(k, v) end end)
------------------... | mit |
geanux/darkstar | scripts/globals/items/king_truffle.lua | 35 | 1193 | -----------------------------------------
-- ID: 4386
-- King Truffle
-- 5 Minutes, food effect, All Races
-----------------------------------------
-- Strength -6
-- Mind +4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
geanux/darkstar | scripts/zones/RuAun_Gardens/Zone.lua | 28 | 15340 | -----------------------------------
--
-- Zone: RuAun_Gardens (130)
--
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions");
require("scripts/globals/conque... | gpl-3.0 |
mullikine/vlc | share/lua/playlist/anevia_streams.lua | 112 | 3664 | --[[
$Id$
Parse list of available streams on Anevia Toucan servers.
The URI http://ipaddress:554/list_streams.idp describes a list of
available streams on the server.
Copyright © 2009 M2X BV
Authors: Jean-Paul Saman <jpsaman@videolan.org>
This program is free software; you can redistribute it and/or modify
... | gpl-2.0 |
geanux/darkstar | scripts/globals/items/bowl_of_mushroom_soup.lua | 35 | 1384 | -----------------------------------------
-- ID: 4419
-- Item: mushroom_soup
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Magic Points 20
-- Strength -1
-- Mind 2
-- MP Recovered While Healing 1
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
sepehrpk/bot1 | plugins/bugzilla.lua | 611 | 3983 | do
local BASE_URL = "https://bugzilla.mozilla.org/rest/"
local function bugzilla_login()
local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password
print("accessing " .. url)
local res,code = https.request( url )
local data = json:decode(res)
return data
... | gpl-2.0 |
mohammadclashclash/elll2014 | bot/bot.lua | 4 | 7076 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.