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 |
|---|---|---|---|---|---|
plajjan/snabbswitch | lib/ljsyscall/syscall/bsd/syscalls.lua | 15 | 12985 | -- syscalls shared by BSD based operating systems
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string =
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string
local abi =... | apache-2.0 |
MuhammadWang/MCServer | MCServer/Plugins/APIDump/Hooks/OnPlayerPlacedBlock.lua | 2 | 1850 | return
{
HOOK_PLAYER_PLACED_BLOCK =
{
CalledWhen = "After a player has placed a block. Notification only.",
DefaultFnName = "OnPlayerPlacedBlock", -- also used as pagename
Desc = [[
This hook is called after a {{cPlayer|player}} has placed a block in the {{cWorld|world}}. The block
is already added to th... | apache-2.0 |
nesstea/darkstar | scripts/zones/Cloister_of_Tides/bcnms/trial_by_water.lua | 30 | 1857 | -----------------------------------
-- Area: Cloister of Tides
-- BCNM: Trial by Water
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Tides/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/quests");
require("scripts/zones/... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Davoi/npcs/Zantaviat.lua | 13 | 2384 | -----------------------------------
-- Area: Davoi
-- NPC: Zantaviat
-- Involved in Mission: The Davoi Report
-- @pos 215 0.1 -10 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/globa... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/herculean_etude.lua | 27 | 1615 | -----------------------------------------
-- Spell: Herculean Etude
-- Static STR Boost, BRD 74
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function on... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Qufim_Island/npcs/Swirling_Vortex.lua | 17 | 1334 | -----------------------------------
-- Area: Qufim Island
-- NPC: Swirling Vortex
-- Entrance to Qufim Island
-- @pos -436.000 -13.499 340.117 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/t... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/The_Shrouded_Maw/npcs/MementoCircle.lua | 12 | 1419 | -----------------------------------
-- Area: The_Shrouded_Maw
-- NPC: MementoCircle
-----------------------------------
package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/glob... | gpl-3.0 |
amirmrbad/teleatom | plugins/ingroup.lua | 87 | 48801 | 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 |
UnfortunateFruit/darkstar | scripts/globals/items/bowl_of_sophic_stew.lua | 35 | 1482 | -----------------------------------------
-- ID: 5180
-- Item: bowl_of_sophic_stew
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- Dexterity 6
-- Intelligence 6
-- Mind 6
-- HP Recovered While Healing 3
-- MP Recovered While Healing 3
-----------------------------------------
r... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/West_Ronfaure/npcs/Zovriace.lua | 35 | 38319 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Zovriace
-- Type: Patrol NPC
-- @pos -436.356 -15.851 -258.168 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/pathfind");
--------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Periqia/instances/seagull_grounded.lua | 32 | 4662 | -----------------------------------
--
-- Assault: Seagull Grounded
--
-----------------------------------
require("scripts/zones/Periqia/IDs");
-----------------------------------
-- afterInstanceRegister
-----------------------------------
function afterInstanceRegister(player)
local instance = player:getIns... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Mamool_Ja_Training_Grounds/Zone.lua | 17 | 1101 | -----------------------------------
--
-- Zone: Mamool_Ja_Training_Grounds
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Mamool_Ja_Training_Grounds/TextIDs"] = nil;
require("scripts/zones/Mamool_Ja_Training_Grounds/TextIDs");
------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/tachi_kagero.lua | 30 | 1533 | -----------------------------------
-- Tachi Kagero
-- Great Katana weapon skill
-- Skill Level: 100
-- Deals fire elemental damage to enemy. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget.
-- Aligned with the Flame Belt.
-- Element: Fire
-- Modifiers: STR:75%
-- 100%... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/strip_of_smoked_mackerel.lua | 18 | 1181 | -----------------------------------------
-- ID: 5943
-- Item: Strip of Smoked Mackerel
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Agility 4
-- Vitality -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/dextrous_etude.lua | 27 | 1846 | -----------------------------------------
-- Spell: Dextrous Etude
-- Static DEX Boost, BRD 32
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onM... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_!Core/language/italian_ui.lua | 3 | 30070 | local L = Librarian("Linguist"):Lang("itIT");
if not L then return; end
L["Conversation"] = "Conversazione"
L["General"] = "Generale"
L["LocalDefense"] = "DifesaLocale"
L["LookingForGroup"] = "CercaGruppo"
L["Trade"] = "Commercio"
L["WorldDefense"] = "DifesaMondiale"
L["S_Conversation"] = ... | mit |
nesstea/darkstar | scripts/zones/The_Eldieme_Necropolis_[S]/npcs/Turbulent_Storm.lua | 29 | 1838 | -----------------------------------
-- Area: The Eldieme Necropolis [S]
-- NPC: Turbulent Storm
-- Note: Starts Quest "The Fighting Fourth"
-- @pos 422.461 -48.000 175
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis_[S]/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
akdor1154/awesome | lib/menubar/menu_gen.lua | 1 | 5343 | ---------------------------------------------------------------------------
--- Menu generation module for menubar
--
-- @author Antonio Terceiro
-- @copyright 2009, 2011-2012 Antonio Terceiro, Alexander Yakushev
-- @release @AWESOME_VERSION@
-- @module menubar.menu_gen
-------------------------------------------------... | gpl-2.0 |
dpino/snabbswitch | src/apps/ipv4/fragment.lua | 3 | 10489 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
-- IPv4 fragmentation (RFC 791)
module(..., package.seeall)
local bit = require("bit")
local ffi = require("ffi")
local lib = require("core.lib")
local packet = require("core.packet")
local counter = require("c... | apache-2.0 |
nesstea/darkstar | scripts/zones/Port_Windurst/npcs/Pherchabalet.lua | 13 | 1054 | -----------------------------------
-- Area: Port Windurst
-- NPC: Pherchabalet
-- Type: Standard NPC
-- @zone: 240
-- @pos 34.683 -5.999 137.447
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
----------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Sable_Breath.lua | 7 | 1205 | ---------------------------------------------
-- Sable Breath
--
-- Description: Deals darkness damage to enemies within a fan-shaped area.
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes: Used only by Vrtra and Azdaja
---------------------------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/weaponskills/black_halo.lua | 11 | 1536 | -----------------------------------
-- Black Halo
-- Club weapon skill
-- Skill level: 230
-- In order to obtain Black Halo, the quest Orastery Woes must be completed.
-- Delivers a two-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget, Thunder Gorget & Breeze Gorget.... | gpl-3.0 |
craigbarnes/lua-gumbo | test/tostring.lua | 3 | 1730 | local gumbo = require "gumbo"
local tostring, assert = tostring, assert
local _ENV = nil
local input = [[
<!-- comment node -->
text node
<div id=div1 class=block>text</div>
<div id=div2 class='"quotes" & amps'>text</div>
]]
local document = assert(gumbo.parse(input))
do -- Element:__tostring()
local body = asse... | apache-2.0 |
nesstea/darkstar | scripts/zones/RaKaznar_Turris/Zone.lua | 32 | 1269 | -----------------------------------
--
-- Zone: Ra’Kanzar Turris (277)
--
-----------------------------------
package.loaded["scripts/zones/RaKaznar_Turris/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/RaKaznar_Turris/TextIDs");
----------------------... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_Maps/SVUI_Maps.lua | 1 | 33410 | --[[
##########################################################
S V U I By: Failcoder
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.se... | mit |
nesstea/darkstar | scripts/globals/items/bowl_of_ambrosia.lua | 17 | 2298 | -----------------------------------------
-- ID: 4511
-- Item: Bowl of Ambrosia
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health 7
-- Magic 7
-- Strength 7
-- Dexterity 7
-- Agility 7
-- Vitality 7
-- Intelligence 7
-- Mind 7
-- Charisma 7
-- Health Regen While Healing 7
-- Magic Re... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_Jeuno/npcs/Pitantimand.lua | 13 | 1832 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Pitantimand
-- Involved in Quests: Save the Clock Tower
-- @zone 246
-- @pos -63 8 46
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
re... | gpl-3.0 |
coollhc/arducopter | Tools/CHDK-Scripts/Cannon S100/3DR_EAI_S100.lua | 178 | 29694 |
--[[
KAP UAV Exposure Control Script v3.2
-- Released under GPL by waterwingz and wayback/peabody
http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script
3DR EAI 1.0 is a fork of KAP 3.1 with settings specific to Canon cameras triggered off the Pixhawk autopilot.
Changelog:
-Modified Tv, Av, and... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/hexa_strike.lua | 30 | 1465 | -----------------------------------
-- Hexa Strike
-- Club weapon skill
-- Skill level: 220
-- Delivers a six-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Flame Gorget & Light Gorget.
-- Aligned with the Flame Belt & Light Belt.
-- Element: None
-- ... | gpl-3.0 |
bowlofstew/Macaroni | Main/Generators/Cpp/FunctionFileGenerator.lua | 2 | 6072 | require "Macaroni.Model.Cpp.Access";
require "Macaroni.Model.Block";
require "Cpp/Common";
require "Cpp/ClassFileGenerator";
require "Macaroni.Model.FileName";
require "Macaroni.Model.Reason";
require "Macaroni.Model.Cpp.ClassParent";
require "Macaroni.Model.Cpp.ClassParentList";
require "Macaroni.Model.Source";
loca... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Chateau_dOraguille/npcs/Nachou.lua | 38 | 1046 | -----------------------------------
-- Area: Chateau d'Oraguille
-- NPC: Nachou
-- Type: Standard NPC
-- @zone: 233
-- @pos -39.965 -3.999 34.292
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
---... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Cloister_of_Storms/bcnms/carbuncle_debacle.lua | 30 | 1516 | -----------------------------------
-- Area: Cloister of Storms
-- BCNM: Carbuncle Debacle
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Cloister_of_Storms/TextIDs");
require("scripts/globals/settings")... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Hashayra.lua | 34 | 1033 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Hashayra
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
---------... | gpl-3.0 |
waitwaitforget/torch7 | init.lua | 25 | 4488 |
-- We are using paths.require to appease mkl
-- Make this work with LuaJIT in Lua 5.2 compatibility mode, which
-- renames string.gfind (already deprecated in 5.1)
if not string.gfind then
string.gfind = string.gmatch
end
if not table.unpack then
table.unpack = unpack
end
require "paths"
paths.require "libto... | bsd-3-clause |
dhruvparamhans/torch7 | init.lua | 25 | 4488 |
-- We are using paths.require to appease mkl
-- Make this work with LuaJIT in Lua 5.2 compatibility mode, which
-- renames string.gfind (already deprecated in 5.1)
if not string.gfind then
string.gfind = string.gmatch
end
if not table.unpack then
table.unpack = unpack
end
require "paths"
paths.require "libto... | bsd-3-clause |
jj918160/cocos2d-x-samples | samples/FantasyWarrior3D/src/cocos/cocos2d/bitExtend.lua | 104 | 1590 | -- bit operation
bit = bit or {}
bit.data32 = {}
for i=1,32 do
bit.data32[i]=2^(32-i)
end
function bit._b2d(arg)
local nr=0
for i=1,32 do
if arg[i] ==1 then
nr=nr+bit.data32[i]
end
end
return nr
end
function bit._d2b(arg)
arg = arg >= 0 and arg or (0xFFFFFFFF + a... | mit |
nesstea/darkstar | scripts/globals/effects/dex_down.lua | 34 | 1107 | -----------------------------------
--
-- EFFECT_DEX_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if ((target:getStat(MOD_DEX) - effect:ge... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/poison.lua | 10 | 1377 | -----------------------------------------
-- Spell: Poison
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,t... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/abilities/no_foot_rise.lua | 28 | 2102 | -----------------------------------
-- Ability: No Foot Rise
-- Instantly grants additional Finishing Moves.
-- Obtained: Dancer Level 75 Merit Group 2
-- Recast Time: 3 minutes
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-... | gpl-3.0 |
error454/SteamShiva | Resources/Scripts/Steam_Handler_onDebugToggleAchievement.lua | 1 | 1415 | --------------------------------------------------------------------------------
-- Handler.......... : onDebugToggleAchievement
-- Author........... :
-- Description...... :
--------------------------------------------------------------------------------
----------------------------------------------------------... | mit |
UnfortunateFruit/darkstar | scripts/commands/tp.lua | 26 | 1203 | ---------------------------------------------------------------------------------------------------
-- func: @tp <amount> <player>
-- desc: Sets a players tp.
-- current known issue: pet tp fails to be set
---------------------------------------------------------------------------------------------------
cmdprop... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Sauromugue_Champaign/npcs/Cavernous_Maw.lua | 27 | 2910 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: Cavernous Maw
-- Teleports Players to Sauromugue_Champaign_S
-- @pos 369 8 -227 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Ship_bound_for_Mhaura/Zone.lua | 13 | 1451 | -----------------------------------
--
-- Zone: Ship_bound_for_Mhaura (221)
--
-----------------------------------
package.loaded["scripts/zones/Ship_bound_for_Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Ship_bound_for_Mhaura/TextIDs");
---... | gpl-3.0 |
VurtualRuler98/kswep2-NWI | lua/entities/sent_kgrend_mk2_he.lua | 1 | 1306 | ENT.Type = "Anim"
ENT.Base = "sent_kgren_base"
ENT.PrintName = "Grenade"
ENT.Author = "VurtualRuler98"
ENT.Contact = "steam"
ENT.Purpose = "Getting more ammo!"
ENT.Instructions = "Spawn. Use. Reload."
ENT.Category = "Vurtual's base"
ENT.Spawnable = false
ENT.AdminSpawnable = false
ENT.FragDamage=15
ENT.FragRad... | apache-2.0 |
johnmccabe/dockercraft | world/Plugins/APIDump/main_APIDump.lua | 7 | 53636 | -- main.lua
-- Implements the plugin entrypoint (in this case the entire plugin)
-- Global variables:
local g_Plugin = nil
local g_PluginFolder = ""
local g_Stats = {}
local g_TrackedPages = {}
local function LoadAPIFiles(a_Folder, a_DstTable)
assert(type(a_Folder) == "string")
assert(type(a_DstTable) == ... | apache-2.0 |
ndbeals/Luabox | lua/luabox/ui/splitter.lua | 2 | 4679 | PANEL = {}
PANEL.ClassName = "Luabox_Splitter"
PANEL.Base = "DPanel"
local colors = {
Gray = Color (0x80, 0x80, 0x80, 0xFF),
DarkGray = Color (0xA9, 0xA9, 0xA9, 0xFF),
LightGray = Color (0xD3, 0xD3, 0xD3, 0xFF),
Gray707070 = Color (0x70, 0x70, 0x70, 0xFF),
Outline = Color ( 59 , 59 , ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_Jeuno/npcs/Jaipal.lua | 30 | 1260 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Jaipal
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
--------------------------------... | gpl-3.0 |
heyuqi/wxFormBuilder | build/premake/4.3/tests/test_vs2005_sln.lua | 7 | 8892 | --
-- tests/test_vs2005_sln.lua
-- Automated test suite for Visual Studio 2005 solution generation.
-- Copyright (c) 2009 Jason Perkins and the Premake project
--
T.vs2005_sln = { }
--
-- Configure a solution for testing
--
local sln
function T.vs2005_sln.setup()
sln = solution "MySolution"
configurations { "... | gpl-2.0 |
vonflynee/opencomputersserver | world/opencomputers/506bbd88-8247-4944-9b91-7506cac9fcb5/lib/keyboard.lua | 13 | 4645 | local keyboard = {pressedChars = {}, pressedCodes = {}}
keyboard.keys = {
["1"] = 0x02,
["2"] = 0x03,
["3"] = 0x04,
["4"] = 0x05,
["5"] = 0x06,
["6"] = 0x07,
["7"] = 0x08,
["8"] = 0x09,
["9"] = 0x0A,
["0"] ... | mit |
nesstea/darkstar | scripts/zones/Jugner_Forest_[S]/npcs/Gate_Sentry.lua | 13 | 1043 | -----------------------------------
-- Area: Jugner Forest (S)
-- NPC: Gate Sentry
-- Type: Standard NPC
-- @pos -265.235 -2.399 405.246 82
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Jugner_Forest_... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Gueriette.lua | 13 | 1910 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Gueriette
-- Type: Outpost Vendor
-- @pos -24 -59 -120 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts... | gpl-3.0 |
jj918160/cocos2d-x-samples | samples/KillBug/src/cocos/cocos2d/json.lua | 106 | 15353 | -----------------------------------------------------------------------------
-- JSON4Lua: JSON encoding / decoding support for the Lua language.
-- json Module.
-- Author: Craig Mason-Jones
-- Homepage: http://json.luaforge.net/
-- Version: 0.9.40
-- This module is released under the MIT License (MIT).
-- Please see L... | mit |
UnfortunateFruit/darkstar | scripts/globals/items/hellsteak_+1.lua | 35 | 1728 | -----------------------------------------
-- ID: 5610
-- Item: hellsteak_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health 20
-- Strength 6
-- Intelligence -2
-- Health Regen While Healing 2
-- Attack % 19
-- Ranged ATT % 19
-- Dragon Killer 5
-- Demon Killer 5
------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/The_Shrouded_Maw/bcnms/darkness_named.lua | 10 | 2509 | -----------------------------------
-- Area: The_Shrouded_Maw
-- Name: darkness_named
-----------------------------------
package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/zones/Th... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/caedarva_frog.lua | 18 | 1463 | -----------------------------------------
-- ID: 5465
-- Item: Caedarva Frog
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Agility 2
-- Mind -4
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
------------------------------------... | gpl-3.0 |
zuzuf/TA3D | src/ta3d/mods/ta3d/scripts/corape.lua | 2 | 4761 | -- Core Attack Gunship script
createUnitScript("corape")
__this:piece( "barrel","flare", "base", "thrust1", "thrust2", "fan", "b1", "b2", "b3", "b4", "b5", "b6" )
__this.SMOKEPIECE1 = __this.base
#include "StateChg.lh"
#include "smokeunit.lh"
__this.Animate = function(this)
while true do
if this.active... | gpl-2.0 |
cmassiot/vlc-broadcast | share/lua/sd/jamendo.lua | 6 | 6258 | --[[
$Id$
Copyright © 2010 VideoLAN and AUTHORS
Authors: Fabio Ritrovato <sephiroth87 at videolan dot org>
Rémi Duraffort <ivoire at videolan dot 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 So... | gpl-2.0 |
MuhammadWang/MCServer | lib/tolua++/src/bin/lua/enumerate.lua | 15 | 3493 | -- tolua: enumerate class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: enumerate.lua,v 1.3 2000/01/24 20:41:15 celes Exp $
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has no obligation to pr... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Valkurm_Dunes/npcs/Fighting_Ant_IM.lua | 30 | 3046 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Fighting Ant, I.M.
-- 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 |
UnfortunateFruit/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rq.lua | 17 | 1455 | -----------------------------------
-- 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... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Halvung/mobs/Wheel_Wamoura.lua | 30 | 1540 | -----------------------------------
-- Area: Halvung
-- MOB: Wheel Wamoura
-----------------------------------
require("scripts/globals/status");
-- TODO: Damage resistances in streched and curled stances. Halting movement during stance change.
-----------------------------------
-- OnMobSpawn Action
---------------... | gpl-3.0 |
koofr/thrift | lib/lua/Thrift.lua | 4 | 6741 | --
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you ma... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/RuAun_Gardens/npcs/HomePoint#1.lua | 12 | 1246 | -----------------------------------
-- Area: RuAun_Gardens
-- NPC: HomePoint#1
-- @pos 5 -42 526 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/globals... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Horlais_Peak/bcnms/double_dragonian.lua | 13 | 1770 | -----------------------------------
-- Area: Horlias peak
-- Name: double_dragonian
-- KSNM30
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/zones/... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_UnitFrames/libs/oUF_1.6.9/colors.lua | 8 | 3951 | local parent, ns = ...
local oUF = ns.oUF
local Private = oUF.Private
local frame_metatable = Private.frame_metatable
local colors = {
smooth = {
1, 0, 0,
1, 1, 0,
0, 1, 0
},
disconnected = {.6, .6, .6},
tapped = {.6,.6,.6},
class = {},
reaction = {},
}
-- We do this because people edit the vars directly... | mit |
Irubataru/dotfiles | roles/awesome/config/modules/launcher.lua | 1 | 1367 | local awful = require("awful")
local hotkeys_popup = require("awful.hotkeys_popup").widget
local apps = require("config.apps")
local homedir = os.getenv("HOME")
return awful.menu({
items = {
{
"programs",
{
{ "browser", apps.default.web_browser },
{ "games", apps.default.game },
... | mit |
nesstea/darkstar | scripts/zones/Selbina/npcs/Herminia.lua | 13 | 1311 | -----------------------------------
-- Area: Selbina
-- NPC: Herminia
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/shop");
---------------------... | gpl-3.0 |
Mashape/kong | spec/fixtures/custom_plugins/kong/plugins/with-migrations/migrations/001_14_to_15.lua | 2 | 1396 | return {
postgres = {
up = [[
DO $$
BEGIN
ALTER TABLE IF EXISTS ONLY "foos" ADD "shape" TEXT UNIQUE;
EXCEPTION WHEN DUPLICATE_COLUMN THEN
-- Do nothing, accept existing state
END;
$$;
]],
teardown = function(connector, _)
assert(connector:connect_migrat... | apache-2.0 |
aminsa2000/create-me | plugins/english_lang.lua | 20 | 17692 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_Bastok/npcs/Qiji.lua | 36 | 2002 | -----------------------------------
-- Area: Port Bastok
-- NPC: Qiji
-- Starts & Ends Quest: Forever to Hold
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests")... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Mijin_Gakure.lua | 7 | 1158 | ---------------------------------------------------
-- Ranged Attack
-- Deals a ranged attack to a single target.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
-------------------------------------... | gpl-3.0 |
dpino/snabbswitch | src/apps/bridge/mac_table.lua | 4 | 21875 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
--
-- This module implements a MAC address table as part of the learning
-- bridge app (apps.bridge.learning). It associates a MAC address
-- with the bridge port on which the last packet originating from the
-- address has been seen by the... | apache-2.0 |
hussian/hell_iraq | plugins/music_eng.lua | 8 | 3659 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY(@AHMED_ALOBIDE) ▀▄ ▄▀
▀▄ ▄▀ BY(@hussian_9) ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄▀... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Port_Jeuno/npcs/Chaka_Skitimah.lua | 30 | 1269 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Chaka Skitimah
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------... | gpl-3.0 |
inmation/library | inmation/object.lua | 1 | 29527 | -- inmation.object
-- inmation Script Library Lua Script
--
-- (c) 2017 inmation
--
-- Version history:
--
-- 20170911.3 Solved false negative when checking if property exists. Its value can be nil.
-- 20170206.2 Renamed previous Type is now ModelClass. New Type is to support third argument of inmation.createobject... | mit |
UnfortunateFruit/darkstar | scripts/zones/Lower_Delkfutts_Tower/Zone.lua | 13 | 3674 | -----------------------------------
--
-- Zone: Lower_Delkfutts_Tower (184)
--
-----------------------------------
package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/gl... | gpl-3.0 |
malortie/gmod-addons | th_weapons/lua/entities/ent_weapon_th_flamethrower/init.lua | 1 | 1192 | -- Only enable this addon if HL:S is mounted.
if !IsHL1Mounted() then return end
-------------------------------------
-- Weapon Flamethrower spawning.
-------------------------------------
AddCSLuaFile('cl_init.lua')
AddCSLuaFile('shared.lua')
include('shared.lua')
-- Define a global variable to ease calling base c... | gpl-3.0 |
dpino/snabbswitch | src/apps/csv.lua | 15 | 1667 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(...,package.seeall)
local app = require("core.app")
local ffi = require("ffi")
local C = ffi.C
-- Frequency at which lines are added to the CSV file.
-- (XXX should be an argument to the app.)
interval = 1.0
CSV = {}
function CSV... | apache-2.0 |
amirmrbad/teleatom | plugins/invite.lua | 1111 | 1195 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
Samanj5/Assassin | plugins/invite.lua | 1111 | 1195 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
Mashape/kong | spec/03-plugins/03-http-log/01-log_spec.lua | 1 | 18005 | local cjson = require "cjson"
local helpers = require "spec.helpers"
for _, strategy in helpers.each_strategy() do
describe("Plugin: http-log (log) [#" .. strategy .. "]", function()
local proxy_client
lazy_setup(function()
local bp = helpers.get_db_utils(strategy, {
"routes",
... | apache-2.0 |
nesstea/darkstar | scripts/zones/Mhaura/npcs/Take.lua | 29 | 4533 | -----------------------------------
-- Area: Mhaura
-- NPC: Take
-- Involved In Quest: RYCHARDE_THE_CHEF
-- Starts and finishes quest: Expertice
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scr... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Batallia_Downs/npcs/Cavernous_Maw.lua | 13 | 2359 | -----------------------------------
-- Area: Batallia Downs
-- NPC: Cavernous Maw
-- @pos -48 0.1 435 105
-- Teleports Players to Batallia Downs [S]
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
heyuqi/wxFormBuilder | build/premake/4.3/src/actions/vstudio/vs200x_vcproj.lua | 6 | 17832 | --
-- vs200x_vcproj.lua
-- Generate a Visual Studio 2002-2008 C/C++ project.
-- Copyright (c) 2009, 2010 Jason Perkins and the Premake project
--
premake.vstudio.vcproj = { }
local vcproj = premake.vstudio.vcproj
--
-- Write out the <Configuration> element.
--
function vcproj.Configuration(name, cfg)
_p(2,'<Conf... | gpl-2.0 |
plajjan/snabbswitch | src/lib/protocol/icmp/nd/na.lua | 15 | 1480 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local ffi = require("ffi")
local C = ffi.C
local bitfield = require("core.lib").bitfield
local nd_header = require("lib.protocol.icmp.nd.header")
local proto_header = require("lib.protocol.header")
local na = su... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/globals/items/holy_maul.lua | 16 | 1032 | -----------------------------------------
-- ID: 17080
-- Item: Holy Maul
-- Additional Effect: Light Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
---------------------------------... | gpl-3.0 |
vonflynee/opencomputersserver | world/opencomputers/a3abb948-eba5-4c6b-9388-1bb1f150ed2b/lib/internet.lua | 7 | 2908 | local buffer = require("buffer")
local component = require("component")
local event = require("event")
local internet = {}
-------------------------------------------------------------------------------
function internet.request(url, data)
checkArg(1, url, "string")
checkArg(2, data, "string", "table", "nil")
... | mit |
vonflynee/opencomputersserver | world/opencomputers/7c9ad1a8-61e1-4046-a969-190bd5607730/lib/internet.lua | 7 | 2908 | local buffer = require("buffer")
local component = require("component")
local event = require("event")
local internet = {}
-------------------------------------------------------------------------------
function internet.request(url, data)
checkArg(1, url, "string")
checkArg(2, data, "string", "table", "nil")
... | mit |
vonflynee/opencomputersserver | world/opencomputers/6d437cc7-8fe8-4147-8a29-4c8b62fcedc7/lib/internet.lua | 7 | 2908 | local buffer = require("buffer")
local component = require("component")
local event = require("event")
local internet = {}
-------------------------------------------------------------------------------
function internet.request(url, data)
checkArg(1, url, "string")
checkArg(2, data, "string", "table", "nil")
... | mit |
johnmccabe/dockercraft | world/Plugins/APIDump/Hooks/OnPlayerTossingItem.lua | 36 | 1162 | return
{
HOOK_PLAYER_TOSSING_ITEM =
{
CalledWhen = "A player is tossing an item. Plugin may override / refuse.",
DefaultFnName = "OnPlayerTossingItem", -- also used as pagename
Desc = [[
This hook is called when a {{cPlayer|player}} has tossed an item. The
{{cPickup|pickup}} has not been spawned yet. Plu... | apache-2.0 |
NezzKryptic/Wire-Extras | lua/weapons/gmod_tool/stools/wire_hsholoemitter.lua | 4 | 4788 | TOOL.Category = "Wire Extras/Visuals/Holographic"
TOOL.Name = "HighSpeed Holoemitter"
TOOL.Command = nil
TOOL.ConfigName = ""
TOOL.Tab = "Wire"
if ( CLIENT ) then
language.Add( "Tool.wire_hsholoemitter.name", "Highspeed Holoemitter Tool (Wire)" )
language.Add( "Tool.wire_hsholoemitter.desc", "Sp... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Leujaoam_Sanctum/IDs.lua | 29 | 3167 | Leujaoam = {
text = {
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6378, -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6381, -- Obtained: <item>
GIL_OBTAINED = 6384, -- Obtained <number> gil
KEYITEM_OBTAINED = 6384, -- Obtain... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Southern_San_dOria/npcs/Thadiene.lua | 34 | 1983 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Thadiene
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/sho... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/bio_ii.lua | 26 | 2191 | -----------------------------------------
-- Spell: Bio II
-- Deals dark damage that weakens an enemy's attacks and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
----------------------------... | gpl-3.0 |
Ale32bit/Osmium | src/installer.lua | 1 | 5006 |
if not term.isColor() then
print("Osmium only supports advanced terminals.")
return
end
local old = os.pullEvent
os.pullEvent = os.pullEventRaw
local files = {
["src/init.lua"] = "/.Osmium/init.lua",
["src/vfs.lua"] = "/.Osmium/vfs.lua",
["src/appEngine.lua"] = "/.Osmium/appEngine.lua",
["src/ap... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Arrapago_Reef/npcs/qm10.lua | 7 | 3086 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: ???
-- Starts: Corsair Af1 ,AF2 ,AF3
-- @pos 457.128 -8.249 60.795 54
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/quests");
require("scripts/globals/titles");
require("scripts/zones/Arrapago_Reef/Tex... | gpl-3.0 |
hussian/hell_iraq | plugins/ar-lock-fwd.lua | 3 | 1675 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY(@AHMED_ALOBIDE) ▀▄ ▄▀
▀▄ ▄▀ BY(@hussian_9) ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ (ملف اعادة توجيه)) ▀▄ ▄▀ ... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Beadeaux/TextIDs.lua | 22 | 1373 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obtained... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_Skins/components/blizzard/worldmap.lua | 1 | 4738 | --[[
##############################################################################
S V U I By: Failcoder
##############################################################################
--]]
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.select;
--[[ ADDON ]]--
local SV = _G['SVUI'];
lo... | mit |
nesstea/darkstar | scripts/zones/Sealions_Den/Zone.lua | 30 | 2133 | -----------------------------------
--
-- Zone: Sealions_Den (32)
--
-----------------------------------
package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Sealions_Den/TextIDs");
---------------------------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.