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 |
|---|---|---|---|---|---|
kaen/Zero-K | scripts/spherecloaker.lua | 15 | 2991 | local head = piece 'head'
local hips = piece 'hips'
local chest = piece 'chest'
local rthigh = piece 'rthigh'
local lthigh = piece 'lthigh'
local lshin = piece 'lshin'
local rshin = piece 'rshin'
local rfoot = piece 'rfoot'
local lfoot = piece 'lfoot'
local disc = piece 'disc'
local cloaker = piece 'cloaker' ... | gpl-2.0 |
kaen/Zero-K | lups/headers/mathenv.lua | 15 | 3508 | -- $Id: mathenv.lua 3345 2008-12-02 00:03:50Z jk $
---------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
--
-- file: mathenv.lua
-- brief: parses and processes custom lups effects... | gpl-2.0 |
legend18/dragonbone_cocos2dx-3.x | demos/cocos2d-x-3.x/DragonBonesCppDemos/cocos2d/cocos/scripting/lua-bindings/auto/api/PhysicsJointSpring.lua | 7 | 2012 |
--------------------------------
-- @module PhysicsJointSpring
-- @extend PhysicsJoint
-- @parent_module cc
--------------------------------
-- @function [parent=#PhysicsJointSpring] setAnchr2
-- @param self
-- @param #vec2_table vec2
--------------------------------
-- @function [parent=#PhysicsJointSpring... | mit |
ld-test/lua-cassandra | spec/integration/cql_types_spec.lua | 1 | 10079 | local utils = require "spec.spec_utils"
local cassandra = require "cassandra"
local _shm = "cql_types"
local _hosts = utils.hosts
local _keyspace = "resty_cassandra_cql_types_specs"
-- Define log level for tests
cassandra.set_log_level("ERR")
describe("CQL types integration", function()
local session
setup(func... | mit |
geanux/darkstar | scripts/zones/Southern_San_dOria_[S]/Zone.lua | 12 | 2469 | -----------------------------------
--
-- Zone: Southern_San_dOria_[S] (80)
--
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Southern_San_dOria_[S]/TextID... | gpl-3.0 |
tonylauCN/tutorials | openresty/debugger/lualibs/lexers/nemerle.lua | 5 | 2529 | -- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE.
-- Nemerle 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 = 'nemerle'}
-- Whitespace.
local ws = token(l.WHITESPACE, l.space^1)
-- Comments.
local li... | apache-2.0 |
h0tw1r3/mame | 3rdparty/genie/src/actions/fastbuild/fastbuild_solution.lua | 41 | 5961 | -- Generates a FASTBuild config file for a solution.
-- Note that table order iteration should be deterministic, so the .bff file content is not
-- arbitrarily changed each time it's generated. There are several places in this file
-- where sorts are done for that reason.
function premake.fastbuild.solution(sln)
-... | gpl-2.0 |
forward619/luci | build/luadoc/luadoc/init.lua | 172 | 1333 | -------------------------------------------------------------------------------
-- LuaDoc main function.
-- @release $Id: init.lua,v 1.4 2008/02/17 06:42:51 jasonsantos Exp $
-------------------------------------------------------------------------------
local require = require
local util = require "luadoc.util"
log... | apache-2.0 |
geanux/darkstar | scripts/globals/abilities/elemental_siphon.lua | 11 | 2885 | -----------------------------------
-- Ability: Elemental Siphon
-- Drains MP from your summoned spirit.
-- Obtained: Summoner level 50
-- Recast Time: 5:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/... | gpl-3.0 |
geanux/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Cattah_Pamjah.lua | 38 | 1050 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Cattah Pamjah
-- Type: Title Changer
-- @zone: 94
-- @pos -13.564 -2 10.673
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;... | gpl-3.0 |
geanux/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Kuron-Makaron.lua | 38 | 1054 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Kuron-Makaron
-- Type: Morale Manager
-- @zone: 94
-- @pos 10.422 -2.478 24.616
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ... | gpl-3.0 |
tonylauCN/tutorials | lua/debugger/lualibs/metalua/compiler/parser/common.lua | 9 | 1113 | --------------------------------------------------------------------------------
-- 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 distribut... | apache-2.0 |
aqasaeed/botw | plugins/admin.lua | 230 | 6382 | 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 |
geanux/darkstar | scripts/zones/Castle_Oztroja/npcs/Treasure_Chest.lua | 17 | 3300 | -----------------------------------
-- 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("scri... | gpl-3.0 |
geanux/darkstar | scripts/zones/FeiYin/npcs/Underground_Pool.lua | 17 | 2322 | -----------------------------------
-- Area: FeiYin
-- NPC: Underground Pool
-- Involved In Quest: Scattered into Shadow
-- @pos 7 0 32 204 (H-8)
-- @pos 7 0 247 204 (H-5)
-- @pos -168 0 247 204 (F-5)
-----------------------------------
package.loaded["scripts/zones/FeiYin/TextIDs"] = nil;
-------------------... | gpl-3.0 |
geanux/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Sulbahn.lua | 24 | 2069 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Sulbahn
-- Type: Alchemy Adv. Image Support
-- @pos -10.470 -6.25 -141.700 241
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
LiangMa/skynet | lualib/multicast.lua | 66 | 2283 | local skynet = require "skynet"
local mc = require "multicast.core"
local multicastd
local multicast = {}
local dispatch = setmetatable({} , {__mode = "kv" })
local chan = {}
local chan_meta = {
__index = chan,
__gc = function(self)
self:unsubscribe()
end,
__tostring = function (self)
return string.format("[M... | mit |
geanux/darkstar | scripts/zones/Gusgen_Mines/npcs/Degga.lua | 34 | 1186 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: Degga
-- Type: Standard Info NPC
-- @pos 40 -68 -259
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globa... | gpl-3.0 |
geanux/darkstar | scripts/globals/weaponskills/ukkos_fury.lua | 30 | 1805 | -----------------------------------
-- Ukko's Fury
-- Great Axe Weapon Skill
-- Skill Level: N/A
-- Description: Delivers a twofold attack that slows target. Chance of params.critical hit varies with TP. Ukonvasara: Aftermath.
-- Available only when equipped with Ukonvasara (85), Ukonvasara (90), Ukonvasara (95), ... | gpl-3.0 |
kaen/Zero-K | units/jumpriot.lua | 5 | 4705 | unitDef = {
unitname = [[jumpriot]],
name = [[Infernal]],
description = [[Riot Jumper]],
acceleration = 0.4,
brakeRate = 0.4,
buildCostEnergy = 260,
buildCostMetal = 260,
builder = false,
buildPic = [[... | gpl-2.0 |
tonylauCN/tutorials | lua/debugger/lualibs/lexers/javascript.lua | 5 | 2117 | -- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE.
-- JavaScript 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 = 'javascript'}
-- Whitespace.
local ws = token(l.WHITESPACE, l.space^1)
-- Comments.
lo... | apache-2.0 |
evilexecutable/ResourceKeeper | install/LuaRocks/lua/luarocks/fetch/svn.lua | 14 | 2187 |
--- Fetch back-end for retrieving sources from Subversion.
--module("luarocks.fetch.svn", package.seeall)
local svn = {}
local unpack = unpack or table.unpack
local fs = require("luarocks.fs")
local dir = require("luarocks.dir")
local util = require("luarocks.util")
--- Download sources for building a rock, using S... | gpl-2.0 |
girishramnani/Algorithm-Implementations | Fibonacci_series/Lua/Yonaba/fib_test.lua | 27 | 1042 | -- Tests for fib.lua
local fib = (require 'fib').fib
local fib_iter = (require 'fib').fib_iter
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if o... | mit |
legend18/dragonbone_cocos2dx-3.x | demos/cocos2d-x-3.x/DragonBonesCppDemos/cocos2d/cocos/scripting/lua-bindings/script/OpenglConstants.lua | 78 | 27074 | --Encapsulate opengl constants.
gl = gl or {}
gl.GCCSO_SHADER_BINARY_FJ = 0x9260
gl._3DC_XY_AMD = 0x87fa
gl._3DC_X_AMD = 0x87f9
gl.ACTIVE_ATTRIBUTES = 0x8b89
gl.ACTIVE_ATTRIBUTE_MAX_LENGTH = 0x8b8a
gl.ACTIVE_PROGRAM_EXT = 0x8259
gl.ACTIVE_TEXTURE = 0x84e0
gl.ACTIVE_UNIFORMS = 0x8b86
gl.ACTIVE_UNIFORM_M... | mit |
nekromant/lunartool | applets/servotool.lua | 1 | 3184 | -- PWM Control Utility
config = {
description = "Servotool Control Utility",
usage = {
"Outlet control: --on=outlet --reboot=outlet --off=outlet",
"PWM control --timer=a --ch=a|b --pwm=value",
"Servo: --servo=[a|b] --pwm",
"Global: --all=<1|0>"
},
--short options that need args
co... | gpl-3.0 |
serl/vlc | share/lua/modules/sandbox.lua | 96 | 4375 | --[==========================================================================[
sandbox.lua: Lua sandboxing facilities
--[==========================================================================[
Copyright (C) 2007 the VideoLAN team
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
This program is f... | gpl-2.0 |
geanux/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm13.lua | 34 | 1386 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm13 (???)
-- Involved in Quest: Hitting the Marquisate (THF AF3)
-- @pos -194.166 -5.500 139.969 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
r... | gpl-3.0 |
geanux/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Soimin-Oimin_CC.lua | 38 | 1054 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Soimin-Oimin, C.C.
-- Type: Retrace
-- @zone: 94
-- @pos -51.010 -6.276 213.678
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ... | gpl-3.0 |
geanux/darkstar | scripts/zones/Sealions_Den/npcs/Airship_Door.lua | 21 | 1823 | -----------------------------------
-- Area:
-- NPC: Airship_Door
-----------------------------------
package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missions");
require("scripts/zones/Sealions_Den/TextIDs");
... | gpl-3.0 |
nekromant/lunartool | pw-ctl.lua | 1 | 4055 | require "lunarusb"
if (config ~=nil) then
print("We're screwed!"..table.tostring(config));
end
-- Power Control Utility
config = {
description = "Outlet Control Utility",
usage = {
"Outlet control: --on=outlet --reboot=outlet",
"List avaliable outlets and their numbers: --outlets",
"Global:... | gpl-3.0 |
cfrankb/lgck-src | src/tools/wizscript/test.lua | 1 | 1629 | Script = {};
Script.__index = Script;
function Script:load()
-- get Wizard
local wizID = findWidget("wizard");
local wiz = QWizard:use(wizID);
wiz:setWindowTitle("Script Wizard");
-- create new page
local wizPage = QWizardPage:new();
wizPage:setSubTitle("4343443");
wizPage:setTitle("h... | gpl-3.0 |
tonylauCN/tutorials | lua/debugger/lualibs/lexers/pascal.lua | 5 | 2919 | -- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE.
-- Pascal 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 = 'pascal'}
-- Whitespace.
local ws = token(l.WHITESPACE, l.space^1)
-- Comments.
local line... | apache-2.0 |
geanux/darkstar | scripts/zones/Port_Windurst/npcs/_6o7.lua | 37 | 1091 | -----------------------------------
-- Area: Port Windurst
-- NPC: Door: Arrivals Entrance
-- @zone 240
-- @pos 212 -6 96
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("script... | gpl-3.0 |
tonylauCN/tutorials | lua/debugger/lualibs/lexers/html.lua | 2 | 6943 | -- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE.
-- HTML LPeg lexer.
local l = require('lexer')
local token, word_match = l.token, l.word_match
local P, R, S, V = lpeg.P, lpeg.R, lpeg.S, lpeg.V
local M = {_NAME = 'html'}
case_insensitive_tags = true
-- Whitespace.
local ws = token(l.WHITESPACE... | apache-2.0 |
geanux/darkstar | scripts/zones/Valkurm_Dunes/npcs/Prunilla_RK.lua | 30 | 3052 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Prunilla, R.K.
-- Type: Border Conquest Guards
-- @pos 908.245 -1.171 -411.504 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest")... | gpl-3.0 |
geanux/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fj.lua | 34 | 1109 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Leviathan's Gate
-- @pos 88 -34 100 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextID... | gpl-3.0 |
SirFrancisBillard/lua-projects | crimeplus/lua/entities/rp_sixpack.lua | 1 | 1158 | AddCSLuaFile()
ENT.Type = "anim"
ENT.Base = "base_gmodentity"
ENT.PrintName = "Alcohol Case"
ENT.Category = "Crime+"
ENT.Spawnable = true
ENT.Model = "models/props/cs_militia/caseofbeer01.mdl"
function ENT:Initialize()
self:SetModel(self.Model)
self:SetMoveType(MOVETYPE_VPHYSICS)
self:SetSolid(SOLID_VP... | gpl-3.0 |
Schwertspize/cuberite | Server/webadmin/template.lua | 5 | 5593 | -- Use a table for fast concatenation of strings
local SiteContent = {}
function Output(String)
table.insert(SiteContent, String)
end
function GetTableSize(Table)
local Size = 0
for key,value in pairs(Table) do
Size = Size + 1
end
return Size
end
function GetDefaultPage()
local PM = cRoot:Get():GetPlu... | apache-2.0 |
geanux/darkstar | scripts/globals/items/pot_of_san_dorian_tea.lua | 35 | 1209 | -----------------------------------------
-- ID: 4494
-- Item: pot_of_san_dorian_tea
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Vitality -2
-- Charisma 2
-----------------------------------------
require("scripts/globals/status");
----------------------------------------... | gpl-3.0 |
armankillerds021/test | plugins/settings.lua | 13 | 33964 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
mohammadclashclash/elll2014 | plugins/boobs.lua | 731 | 1601 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
geanux/darkstar | scripts/globals/items/serving_of_bison_steak.lua | 35 | 1776 | -----------------------------------------
-- ID: 5142
-- Item: serving_of_bison_steak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 6
-- Agility 1
-- Intelligence -3
-- Attack % 18
-- Attack Cap 90
-- Ranged ATT % 18
-- Ranged ATT Cap 90
-- Lizard Killer 5
--------... | gpl-3.0 |
stormchaser3000/minetest-skyblock | skyblock_levels/skyblock.levels.1.lua | 1 | 5035 | --[[
Skyblock for Minetest
Copyright (c) 2015 cornernote, Brett O'Donnell <cornernote@gmail.com>
Source Code: https://github.com/cornernote/minetest-skyblock
License: GPLv3
]]--
--[[
level 1 feats and rewards:
* dig_dirt x10 default:stick
* place_dirt x10 default:leaves 6
* place_sapling x1 default:tree
* ... | gpl-3.0 |
SirFrancisBillard/lua-projects | awesome_sweps/lua/weapons/billard_car_bomb.lua | 1 | 5216 | SWEP.PrintName = "Car Bomb"
SWEP.Author = "Sir Francis Billard"
SWEP.Instructions = "Left click to plant bomb.\nRight click to change bomb type.\nReload to change bomb timer."
SWEP.Spawnable = true
SWEP.ViewModel = "models/weapons/cstrike/c_c4.mdl"
SWEP.UseHands = true
SWEP.ViewModelFOV = 60
SWEP.WorldModel = ... | gpl-3.0 |
tonylauCN/tutorials | lua/debugger/lualibs/luacheck/main.lua | 2 | 21136 | local luacheck = require "luacheck"
local argparse = require "luacheck.argparse"
local builtin_standards = require "luacheck.builtin_standards"
local config = require "luacheck.config"
local options = require "luacheck.options"
local expand_rockspec = require "luacheck.expand_rockspec"
local multithreading = require "l... | apache-2.0 |
koreader/kindlepdfviewer | filechooser.lua | 1 | 22601 | require "rendertext"
require "keys"
require "graphics"
require "font"
require "filesearcher"
require "filehistory"
require "fileinfo"
require "inputbox"
require "selectmenu"
require "dialog"
require "readerchooser"
require "battery"
FileChooser = {
title_H = 40, -- title height
spacing = 36, -- spacing between lines... | gpl-3.0 |
geanux/darkstar | scripts/globals/items/balik_sandvici.lua | 35 | 1435 | -----------------------------------------
-- ID: 5590
-- Item: Balik Sandvici
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 3
-- Agility 1
-- Intelligence 3
-- Mind -2
-- Ranged ACC 5
-----------------------------------------
require("scripts/globals/status");
-... | gpl-3.0 |
geanux/darkstar | scripts/zones/Balgas_Dais/npcs/Armoury_Crate.lua | 36 | 1024 | -----------------------------------
-- Area: Balgas Dais
-- NPC: Armoury Crate
-- Balgas Dais Burning Cicrcle Armoury Crate
-----------------------------------
package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/... | gpl-3.0 |
SirFrancisBillard/lua-projects | workshop/billard_hacking/billard_hacking/lua/weapons/billard_hack_gun/shared.lua | 1 | 1662 | SWEP.Category = "Billard"
SWEP.Spawnable = true
SWEP.AdminOnly = false
SWEP.PrintName = "Hacking Gun"
SWEP.Base = "weapon_base"
SWEP.Purpose = "Select entities to hack"
SWEP.Instructions = "Left click to select entity to hack and right click to select a hacking device"
SWEP.HoldType = "ar2"
SWEP.ViewModel = "... | gpl-3.0 |
geanux/darkstar | scripts/zones/Southern_San_dOria/npcs/Phillone.lua | 34 | 1434 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Phillone
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quest... | gpl-3.0 |
serl/vlc | share/lua/meta/reader/filename.lua | 17 | 1684 | --[[
Gets an artwork for french TV channels
$Id$
Copyright © 2007 the VideoLAN team
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 la... | gpl-2.0 |
geanux/darkstar | scripts/zones/Horlais_Peak/bcnms/hostile_herbivores.lua | 19 | 1703 | -----------------------------------
-- Area: Horlias peak
-- Name: Hostile Herbivores
-- BCNM50
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Horlais_Peak/TextIDs");
-----------------------------------
-- EXAM... | gpl-3.0 |
legend18/dragonbone_cocos2dx-3.x | demos/cocos2d-x-3.x/DragonBonesCppDemos/cocos2d/cocos/scripting/lua-bindings/auto/api/Sprite.lua | 5 | 7894 |
--------------------------------
-- @module Sprite
-- @extend Node,TextureProtocol
-- @parent_module cc
--------------------------------
-- @overload self, cc.SpriteFrame
-- @overload self, string
-- @function [parent=#Sprite] setSpriteFrame
-- @param self
-- @param #string str
--------------------... | mit |
geanux/darkstar | scripts/globals/spells/learned_etude.lua | 18 | 1764 | -----------------------------------------
-- Spell: Learned Etude
-- Static INT Boost, BRD 26
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMa... | gpl-3.0 |
kaen/Zero-K | LuaUI/Widgets/chili_new/controls/layoutpanel.lua | 8 | 28063 | --//=============================================================================
--// This control is the base of any auto-layout panel, this includes:
--// grid, stackpanel, tables, itemlistview, listbox, radiogroups, ...
--//
--// Internal all childrens/items are handled via cells, which can be
--// freely aligned... | gpl-2.0 |
ExcelF/project-navel | smee/game_core/game.lua | 1 | 1222 | local Class = require "smee.libs.middleclass"
local GameComponent = require "smee.game_core.gamecomponent"
local Game = Class "Game"
-- CLASS CONSTRUCTOR
function Game:initialize()
-- a list of game components that will be updated every frame
self.components = {}
end
-- CALLED ON GAME START
-- load resources here... | mit |
mirkix/ardupilot | libraries/AP_Scripting/examples/copter-nav-script-time.lua | 11 | 3416 | -- Copter perform a simple maneuver in response to a NAV_SCRIPT_TIME mission command while the vehicle is in Auto mode
--
-- Create a simple mission like below
-- TAKEOFF, Alt:10m
-- NAV_SCRIPT_TIME, command=0 (not used in this script), timeout=30 (seconds), arg1=5 (square width in meters), arg2=10 (square height in me... | gpl-3.0 |
geanux/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rm.lua | 17 | 1337 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: _0rm (Oil lamp)
-- Notes: Opens South door at J-7 from inside.
-- @pos -63.703 -26.227 83.000 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
kaen/Zero-K | effects/ingeborg.lua | 25 | 15516 | -- ingeborg_2
-- ingeborg_3
-- ingeborg_9
-- ingeborg_7
-- ingeborg_8
-- ingeborg_ani
-- ingeborg_5
-- ingeborg_10
-- ingeborg_6
-- ingeborg
-- ingeborg_1
-- ingeborg_4
return {
["ingeborg_2"] = {
wezels = {
air = true,
class = [[CSimpleParticleSystem]],
count ... | gpl-2.0 |
kaen/Zero-K | LuaRules/Gadgets/unit_jumpjet_pilot_2.lua | 11 | 4195 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
if (not gadgetHandler:IsSyncedCode()) then
return false
end
function gadget:GetInfo()
return {
name = "Jumpjet Pilot 2014",
desc = "St... | gpl-2.0 |
geanux/darkstar | scripts/zones/Promyvion-Mea/Zone.lua | 25 | 7397 | -----------------------------------
--
-- Zone: Promyvion-Mea (20)
--
-----------------------------------
package.loaded["scripts/zones/Promyvion-Mea/TextIDs"] = nil;
----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/missions"... | gpl-3.0 |
Greentwip/CodyCobain | src/app/objects/gameplay/control/level_controller.lua | 1 | 9926 | -- Copyright 2014-2015 Greentwip. All Rights Reserved.
local level_controller = class("level_controller", cc.Node)
local energy_bar = import("app.objects.gameplay.level.ui.energy_bar")
local ready_object = import("app.objects.gameplay.level.ui.ready_object")
local pause_menu = import("app.objects.g... | gpl-3.0 |
geanux/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Shajaf.lua | 34 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Shajaf
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-----------... | gpl-3.0 |
geanux/darkstar | scripts/zones/Mhaura/npcs/Graine.lua | 34 | 1595 | -----------------------------------
-- Area: Mhaura
-- NPC: Graine
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/shop");
---------------... | gpl-3.0 |
geanux/darkstar | scripts/zones/Metalworks/npcs/Ghemp.lua | 24 | 2139 | -----------------------------------
-- Area: Metalworks
-- NPC: Ghemp
-- Type: Smithing Guild Master
-- @pos -109 2 27 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/glo... | gpl-3.0 |
kaen/Zero-K | gamedata/modularcomms/weapons/heavymachinegun.lua | 5 | 1354 | local name = "commweapon_heavymachinegun"
local weaponDef = {
name = [[Heavy Machine Gun]],
accuracy = 1024,
alphaDecay = 0.7,
areaOfEffect = 96,
burnblow = true,
craterBoost = 0.15,
craterMult = 0.3,
customParams... | gpl-2.0 |
geanux/darkstar | scripts/zones/Port_Windurst/npcs/Hohbiba-Mubiba.lua | 36 | 1753 | -----------------------------------
-- Area: Port Windurst
-- NPC: Hohbiba-Mubiba
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst... | gpl-3.0 |
azureru/nodemcu-wifi-relay | setup.lua | 1 | 2644 | -- file: setup.lua
local module = {}
local function wifi_wait_ip()
if wifi.sta.getip()== nil then
print("IP unavailable, Waiting...")
else
tmr.stop(1)
print("\n====================================")
print("ID is: " .. config.ID)
print("ESP8266 mode is: " .. wifi.getmode())
print("MAC addres... | mit |
ld-test/lua-cassandra | src/cassandra/types/frame_header.lua | 1 | 1800 | local bit = require "cassandra.utils.bit"
local Buffer = require "cassandra.buffer"
--- CONST
-- @section constants
local VERSION_CODES = {
[2] = {
REQUEST = 0x02,
RESPONSE = 0x82
},
[3] = {
REQUEST = 0x03,
RESPONSE = 0x83
}
}
--- FrameHeader
-- @section FrameHeader
local FrameHeader = Buffe... | mit |
geanux/darkstar | scripts/globals/weaponskills/knights_of_round.lua | 18 | 2076 | -----------------------------------
-- Knights Of Round
-- Sword Weapon Skill
-- Skill Level: N/A
-- Caliburn/Excalibur: Additional Effect: Regen.
-- Regen 10HP/Tick, duration varies with TP.
-- Available only when equipped with the Relic Weapons Caliburn (Dynamis use only) or Excalibur.
-- Also available withou... | gpl-3.0 |
geanux/darkstar | scripts/globals/weaponskills/shattersoul.lua | 30 | 2341 | -----------------------------------
-- Skill Level: 357
-- Description: Delivers a threefold attack. Decreases target's magic defense. Duration of effect varies with TP.
-- To obtain Shattersoul, the quest Martial Mastery must be completed and it must be purchased from the Merit Points menu.
-- Target's magic defen... | gpl-3.0 |
kaen/Zero-K | effects/ariel.lua | 25 | 6283 | -- ariel_splosh
-- ariel_gurgle
-- ariel_fizz_bubble
-- ariel_splash
-- ariel_fizz
-- torplosion
return {
["ariel_splosh"] = {
splosh = {
air = true,
class = [[CSimpleParticleSystem]],
count = 1,
ground = true,
water ... | gpl-2.0 |
tonylauCN/tutorials | lua/debugger/lualibs/luainspect/globals.lua | 4 | 7926 | -- LuaInspect.globals - identifier scope analysis
-- Locates locals, globals, and their definitions.
--
-- (c) D.Manura, 2008-2010, MIT license.
-- based on http://lua-users.org/wiki/DetectingUndefinedVariables
local M = {}
--! require 'luainspect.typecheck' (context)
local LA = require "luainspect.ast"
local func... | apache-2.0 |
bungle/lua-resty-nettle | lib/resty/nettle.lua | 1 | 3174 | return {
_VERSION = "2.1",
aes = require "resty.nettle.aes",
arcfour = require "resty.nettle.arcfour",
arctwo = require "resty.nettle.arctwo",
base16 = require "resty.nettle.base16",
base64 = require "resty.nettle.base64",
bcryp... | bsd-2-clause |
geanux/darkstar | scripts/zones/La_Theine_Plateau/npcs/qm3.lua | 28 | 2035 | -----------------------------------
-- Area: La Theine Plateau
-- NPC:??? (qm3)
-- Involved in Quest: I Can Hear A Rainbow
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/La_Theine_Plateau/TextIDs")... | gpl-3.0 |
joepie91/blip-grab | blip.lua | 1 | 15135 | dofile("urlcode.lua")
dofile("table_show.lua")
local url_count = 0
local tries = 0
local item_type = os.getenv('item_type')
local item_value = os.getenv('item_value')
local downloaded = {}
local addedtolist = {}
local removedlist = {}
local removed = false
local showname = nil
local lastpage = nil
-- Do not downloa... | unlicense |
geanux/darkstar | scripts/zones/Lower_Jeuno/npcs/Treasure_Coffer.lua | 17 | 74578 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Treasure Coffer
-- Type: Add-on NPC
-- @pos 41.169 3.899 -51.005 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
h0tw1r3/mame | 3rdparty/genie/tests/actions/vstudio/vc200x/test_mfc.lua | 54 | 1900 | --
-- tests/actions/vstudio/vc200x/test_mfc.lua
-- Validate ATL/MFC support in Visual Studio 200x C/C++ projects.
-- Copyright (c) 2011 Jason Perkins and the Premake project
--
T.vstudio_vs200x_mfc = { }
local suite = T.vstudio_vs200x_mfc
local vc200x = premake.vstudio.vc200x
--
-- Setup
--
local sln, prj, cfg
... | gpl-2.0 |
forward619/luci | applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua | 17 | 19842 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.ip")
require("luci.model.uci")
local knownParams = {
--
-- Widget Name Default(s) Description Option(s)
--
{ "Service", {
-- initialisation and daemon options
{ List... | apache-2.0 |
PSUdaemon/trafficserver | lib/luajit/src/jit/dis_ppc.lua | 88 | 20319 | ----------------------------------------------------------------------------
-- LuaJIT PPC disassembler module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT/X license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------... | apache-2.0 |
geanux/darkstar | scripts/globals/items/hellfire_sword.lua | 41 | 1073 | -----------------------------------------
-- ID: 16928
-- Item: Hellfire Sword
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------... | gpl-3.0 |
evilexecutable/ResourceKeeper | install/Lua/share/lua/5.1/payments/paypal/express_checkout.lua | 1 | 4895 | local concat
concat = table.concat
local types
types = require("tableshape").types
local extend, format_price, upper_keys, strip_numeric, valid_amount
do
local _obj_0 = require("payments.paypal.helpers")
extend, format_price, upper_keys, strip_numeric, valid_amount = _obj_0.extend, _obj_0.format_price, _obj_0.upper... | gpl-2.0 |
evilexecutable/ResourceKeeper | install/Lua/lib/lua/mime.lua | 2 | 2385 | -----------------------------------------------------------------------------
-- MIME support for the Lua language.
-- Author: Diego Nehab
-- Conforming to RFCs 2045-2049
-- RCS ID: $Id$
-----------------------------------------------------------------------------
------------------------------------------------------... | gpl-2.0 |
geanux/darkstar | scripts/zones/Vunkerl_Inlet_[S]/npcs/Leafy_Patch.lua | 45 | 1646 | -----------------------------------
-- Area: Vunkerl Inlet (S) (F-5)
-- NPC: Leafy Patch
-- Involved in Quests
-- @pos -418 -33 576
-----------------------------------
package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil;
package.loaded["scripts/globals/quests"] = nil;
-----------------------------------
re... | gpl-3.0 |
geanux/darkstar | scripts/globals/spells/quick_etude.lua | 18 | 1762 | -----------------------------------------
-- Spell: Quick Etude
-- Static AGI Boost, BRD 28
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagi... | gpl-3.0 |
omidtarh/wizard | plugins/domaintools.lua | 359 | 1494 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- 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 check(name)
local api = "https://domainsearch.p.mashape.com/index.php?"... | gpl-2.0 |
geanux/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Pahpe_Rauulih.lua | 38 | 1053 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Pahpe Rauulih
-- Type: Standard NPC
-- @zone: 94
-- @pos -39.740 -4.499 53.223
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n... | gpl-3.0 |
jiangzhhhh/slua | standalone/premake.lua | 2 | 1105 |
solution "slua-standalone"
configurations {
"Debug", "Release"
}
location ("./" .. (_ACTION or ""))
debugdir ("./bin")
debugargs { }
platforms { "Any CPU" }
--filter "platforms:x64"
--architecture "x64"
--filter "platforms:x32"
--architecture "x3... | mit |
geanux/darkstar | scripts/zones/Bastok_Markets/npcs/HomePoint#4.lua | 19 | 1195 | -----------------------------------
-- Area: Bastok Markets
-- NPC: HomePoint#4
-- @pos -191 -6 -68 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Bastok_Markets/TextIDs");
require("scripts/globals/home... | gpl-3.0 |
AliNiestani/ADMIN | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
sami2448/a | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
geanux/darkstar | scripts/zones/Abyssea-Konschtat/npcs/Atma_Fabricant.lua | 32 | 1104 | -----------------------------------
-- Zone: Abyssea - Konschtat
-- NPC: Atma Fabricant
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/abyssea");
require... | gpl-3.0 |
geanux/darkstar | scripts/zones/Northern_San_dOria/npcs/Castilchat.lua | 17 | 3336 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Castilchat
-- Starts Quest: Trial Size Trial by Ice
-- @pos -186 0 107 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
XanDDemoX/ESOAutoRecharge | Recharge/libs/LibAddonMenu-2.0/controls/texture.lua | 2 | 1557 | --[[textureData = {
type = "texture",
image = "file/path.dds",
imageWidth = 64, --max of 250 for half width, 510 for full
imageHeight = 32, --max of 100
tooltip = "Image's tooltip text.", --(optional)
width = "full", --or "half" (optional)
reference = "MyAddonTexture" --(optional) unique global reference ... | unlicense |
ghaznaviali1375/ali2 | plugins/saveplug.lua | 19 | 1055 | --Created by: @WaderTGTeam
--Powered by: @WaderTGTeam
--âڑ ï¸ڈCopyRight all right reservedâڑ ï¸ڈ
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:'... | gpl-2.0 |
sami2448/a | plugins/wiki.lua | 2 | 4097 | -- http://git.io/vUA4M
local socket = require "socket"
local JSON = require "cjson"
local wikiusage = {
"!wiki [text]: Read extract from default Wikipedia (EN)",
"!wiki(lang) [text]: Read extract from 'lang' Wikipedia. Example: !wikies hola",
"!wiki search [text]: Search articles on default Wikipedia (EN)",
"!... | gpl-2.0 |
PhearNet/scanner | bin/nmap-openshift/nselib/unittest.lua | 3 | 9380 | ---
-- Unit testing support for NSE libraries.
--
-- This library will import all NSE libraries looking for a global variable
-- <code>test_suite</code>. This must be a callable that returns true or false
-- and the number of tests that failed. For convenience, the
-- <code>unittest.TestSuite</code> class has this prop... | mit |
geanux/darkstar | scripts/globals/items/rolanberry_(864_ce).lua | 35 | 1205 | -----------------------------------------
-- ID: 4531
-- Item: rolanberry_864_ce)
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -3
-- Intelligence 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
forward619/luci | modules/luci-mod-admin-full/luasrc/controller/admin/uci.lua | 40 | 1769 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.admin.uci", package.seeall)
function index()
local redir = luci.http.formvalue("redir", true) or
luci.dispatcher.build_url(unpack(... | apache-2.0 |
geanux/darkstar | scripts/zones/Crawlers_Nest/npcs/qm3.lua | 14 | 1043 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: ??? - Drown Crawler (Spawn area 1)
-- @pos 4.045 -2.703 285.026 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Crawlers_Nest/Text... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.