repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
ChaoticMind/OpenRA | mods/ra/maps/soviet-04a/soviet04a-AI.lua | 19 | 3060 | IdleHunt = function(unit) if not unit.IsDead then Trigger.OnIdle(unit, unit.Hunt) end end
IdlingUnits = function()
local lazyUnits = Greece.GetGroundAttackers()
Utils.Do(lazyUnits, function(unit)
Trigger.OnDamaged(unit, function()
Trigger.ClearAll(unit)
Trigger.AfterDelay(0, function() IdleHunt(unit) end)
... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Machionage.lua | 3 | 1584 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Machionage
-- @zone 80
-- @pos -255 -3 109
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/quests... | gpl-3.0 |
bacsmar/Urho3D | Source/ThirdParty/toluapp/src/bin/lua/variable.lua | 24 | 9336 | -- tolua: variable class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: $
-- 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 provide maintenance, support, updates,
-- enhancement... | mit |
LegionXI/darkstar | scripts/globals/abilities/water_maneuver.lua | 19 | 1610 | -----------------------------------
-- Ability: Water Maneuver
-- Enhances the effect of water attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
bittorf/luci | applications/luci-app-transmission/luasrc/model/cbi/transmission.lua | 66 | 13028 | -- Copyright 2012 Gabor Varga <vargagab@gmail.com>
-- Licensed to the public under the Apache License 2.0.
require("luci.sys")
require("luci.util")
require("luci.model.ipkg")
local uci = require "luci.model.uci".cursor()
local trport = uci:get_first("transmission", "transmission", "rpc_port") or 9091
local running = ... | apache-2.0 |
ibm2431/darkstar | scripts/zones/RuLude_Gardens/npcs/Maat.lua | 9 | 10206 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Maat
-- Starts and Finishes Quest: Limit Break Quest 1-5
-- Involved in Quests: Beat Around the Bushin
-- !pos 8 3 118 243
-----------------------------------
local ID = require("scripts/zones/RuLude_Gardens/IDs")
require("scripts/globals/keyitems")
... | gpl-3.0 |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ScaleFrame.lua | 18 | 1514 |
--------------------------------
-- @module ScaleFrame
-- @extend Frame
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ScaleFrame] setScaleY
-- @param self
-- @param #float scaleY
-- @return ScaleFrame#ScaleFrame self (return value: ccs.ScaleFrame)
-------------------------... | mit |
ibm2431/darkstar | scripts/globals/mobskills/colossal_blow.lua | 11 | 1112 | ---------------------------------------------------
-- Colossal_Blow
-- Deals damage to a single target.
--
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmoves")
----------------------------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/spells/bluemagic/grand_slam.lua | 27 | 1742 | -----------------------------------------
-- Spell: Grand Slam
-- Delivers an area attack. Damage varies with TP
-- Spell cost: 24 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 2
-- Stat Bonus: INT+1
-- Level: 30
-- Casting Time: 1 seconds
-- Recast Time: 14.25 seconds
--... | gpl-3.0 |
lxndr/gswatcher | src/protocols/lib/CompoundResponse.lua | 1 | 1650 | local Object = require("lib/classic")
---@class Packet
---@field reqid integer
---@field number integer
---@field data string
---@field total integer
local CompoundResponse = Object:extend()
function CompoundResponse:new()
self.reqid = nil
self.packets = {}
self.total = nil
end
---@param packet Packet
functio... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Ulamaal.lua | 19 | 2311 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Ulamaal
-- Type: Standard NPC
-- @pos 93.512 -7.5 -128.530 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/La_Theine_Plateau/npcs/Equesobillot.lua | 17 | 2303 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Equesobillot
-- Involved in Mission: The Rescue Drill
-- @pos -287 9 284 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Windurst_Waters/npcs/Machitata.lua | 14 | 1702 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Machitata
-- Involved in Quest: Hat in Hand
-- Working 100%
-- @zone = 238
-- @pos = 163 0 -22
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Grand_Palace_of_HuXzoi/npcs/qm1.lua | 12 | 1797 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- NPC: ???
-- Note: Spawns Ix'Aern (MNK)
-- !pos 460 0 540
-----------------------------------
local ID = require("scripts/zones/Grand_Palace_of_HuXzoi/IDs");
require("scripts/globals/npc_util");
require("scripts/globals/status");
------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/weaponskills/tachi_kagero.lua | 25 | 1434 | -----------------------------------
-- 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%TP 200%... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Yhoator_Jungle/npcs/Guddal_IM.lua | 30 | 3048 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Guddal, I.M.
-- Border Conquest Guards
-- @pos -84.113 -0.449 224.902 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
requi... | gpl-3.0 |
chris5560/openwrt-packages | net/wifidog-ng/files/wifidog-ng/ubus.lua | 22 | 3928 | --[[
Copyright (C) 2018 Jianhui Zhao <jianhuizhao329@gmail.com>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later vers... | gpl-2.0 |
LegionXI/darkstar | scripts/globals/items/mammut.lua | 41 | 1059 | -----------------------------------------
-- ID: 18503
-- Item: Mammut
-- Additional Effect: Ice Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
f... | gpl-3.0 |
SIfoxDevTeam/wireshark | epan/wslua/console.lua | 19 | 3481 | -- console
-- A console and a window to execute commands in lua
--
-- (c) 2006 Luis E. Garcia Ontanon <luis@ontanon.org>
--
-- Wireshark - Network traffic analyzer
-- By Gerald Combs <gerald@wireshark.org>
-- Copyright 1998 Gerald Combs
--
-- This program is free software; you can redistribute it and/or
-- modify it un... | gpl-2.0 |
LegionXI/darkstar | scripts/zones/Sacrificial_Chamber/mobs/Pevv the Riverleaper.lua | 19 | 1573 | -----------------------------------
-----------------------------------
-- Area: Sacrificial Chamber
-- MOB: Pevv the Riverleaper
-- BCNM: Amphibian Assault
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Sacrificial Chamber/MobIDs");
-----------------------------------
... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/weaponskills/savage_blade.lua | 10 | 1597 | -----------------------------------
-- Savage Blade
-- Sword weapon skill
-- Skill Level: 240
-- Delivers an aerial attack comprised of two hits. Damage varies with TP.
-- In order to obtain Savage Blade, the quest Old Wounds must be completed.
-- Will stack with Sneak Attack.
-- Aligned with the Breeze Gorget, Thunder... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Windurst_Woods/npcs/Pattsu-Yabittsu.lua | 17 | 1124 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Pattsu-Yabittsu
-- Warps players to Windurst Waters
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Woods/TextIDs");
---------------... | gpl-3.0 |
alerque/sile | core/nodefactory.lua | 1 | 19430 | local nodefactory = {}
-- This infinity needs to be smaller than an actual infinity but bigger than the infinite stretch
-- added by the typesetter. See https://github.com/sile-typesetter/sile/issues/227
local infinity = SILE.measurement(1e13)
local function _maxnode (nodes, dim)
local dims = SU.map(function (node)... | mit |
greasydeal/darkstar | scripts/zones/Rabao/TextIDs.lua | 4 | 2028 | -- 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 |
greasydeal/darkstar | scripts/globals/mobskills/Smoke_Discharger.lua | 7 | 1255 | ---------------------------------------------------
-- Smoke_Discharger
-- Description:
-- Type: Magical
-- additional effect : Petrification.
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
--... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/QuBia_Arena/mobs/Vangknok_of_Clan_Death.lua | 24 | 2525 | -----------------------------------
-- Area: QuBia_Arena
-- Mission 9-2 SANDO
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/missions");
require("scripts/zones/QuBia_Arena/TextIDs");
-----------------------------------
-- onMobSpawn A... | gpl-3.0 |
naclander/tome | game/modules/example_realtime/data/timed_effects.lua | 7 | 1281 | -- ToME - Tales of Middle-Earth
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any la... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/balik_sis_+1.lua | 12 | 1666 | -----------------------------------------
-- ID: 5601
-- Item: Balik Sis +1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 5
-- Mind -2
-- Attack % 15
-- Attack Cap 70
-- Ranged ACC 2
-- Ranged ATT % 15
-- Ranged ATT Cap 70
-----------------------------------------
require("scr... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/weaponskills/uriel_blade.lua | 22 | 1443 | -----------------------------------
-- Uriel Blade
-- Sword weapon skill
-- Skill Level: N/A
-- Description: Delivers an area attack that deals light elemental damage. Damage varies with TP. Additional effect Flash.
-- AoE range ??.
-- Only available during Campaign Battle while wielding a Griffinclaw.
-- Aligned with ... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Al_Zahbi/npcs/Najelith.lua | 14 | 1041 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Najelith
-- Type: Galeserpent General
-- @zone 48
-- @pos -64.526 -8 39.372
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Windurst_Walls/npcs/Chawo_Shipeynyo.lua | 14 | 1053 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Chawo Shipeynyo
-- Type: Standard NPC
-- @zone 239
-- @pos 3.593 -17 124.069
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------... | gpl-3.0 |
MarcusChang/Repo-QUANTengine | QUANTengine/QuantENGINE_API/QuantMGR/ParameterManager/VolPathSpec/stateless.lua | 1 | 2013 | local QuantCORE = QuantCORE();
local ParameterManager = QuantCORE:ParameterManager();
function OnParameterNotify( key, paramType )
print("OnParameterNotify()");
print("Key="..key);
print("Parameter type="..ParameterTypeToString(paramType));
-- Get table of VolPathSpecification for key
local specs ... | gpl-2.0 |
naclander/tome | game/modules/tome/data/talents/celestial/twilight.lua | 1 | 14008 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/shogun_rice_ball.lua | 30 | 1451 | -----------------------------------------
-- 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
-- Double Attack ... | gpl-3.0 |
icyxp/kong | spec/03-plugins/26-oauth2/01-schema_spec.lua | 10 | 2040 | local validate_entity = require("kong.dao.schemas_validation").validate_entity
local oauth2_schema = require "kong.plugins.oauth2.schema"
describe("Plugin: oauth2 (schema)", function()
it("does not require `scopes` when `mandatory_scope` is false", function()
local ok, errors = validate_entity({enable_authorizat... | apache-2.0 |
LegionXI/darkstar | scripts/zones/Northern_San_dOria/npcs/HomePoint#4.lua | 14 | 1279 | -----------------------------------
-- Area: Northern San dOria
-- NPC: HomePoint#4
-- @pos -132 12 195 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Northern_San_dOria/TextIDs");
require("scripts/... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Cloister_of_Storms/IDs.lua | 12 | 1097 | -----------------------------------
-- Area: Cloister_of_Storms
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.CLOISTER_OF_STORMS] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the ... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Spire_of_Mea/npcs/_0l1.lua | 66 | 1350 | -----------------------------------
-- Area: Spire_of_Mea
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Mea/TextIDs");
-------------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Spire_of_Mea/npcs/_0l2.lua | 66 | 1350 | -----------------------------------
-- Area: Spire_of_Mea
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Mea/TextIDs");
-------------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Den_of_Rancor/npcs/HomePoint#2.lua | 27 | 1263 | -----------------------------------
-- Area: Den_of_Rancor
-- NPC: HomePoint#2
-- @pos 182 34 -62 160
-----------------------------------
package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Den_of_Rancor/TextIDs");
require("scripts/globals/homepoin... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Kuftal_Tunnel/mobs/Phantom_Worm.lua | 27 | 1396 | -----------------------------------
-- Area: Kuftal Tunnel (173)
-- Mob: Phantom Worm
-----------------------------------
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob,killer)
local npc = GetNPCByID(17490254);
npc:hideNPC(900);
local randpos =... | gpl-3.0 |
icyxp/kong | kong/plugins/statsd/migrations/cassandra.lua | 5 | 2341 | return {
{
name = "2017-06-09-160000_statsd_schema_changes",
up = function(_, _, dao)
local plugins, err = dao.plugins:find_all { name = "statsd" }
if err then
return err
end
local default_metrics = {
request_count = {
name = "request_count",
... | apache-2.0 |
naclander/tome | game/modules/tome/data/gfx/particles/discharge_bolt.lua | 6 | 1622 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Cloister_of_Tremors/npcs/Earth_Protocrystal.lua | 12 | 1761 | -----------------------------------
-- Area: Cloister of Tremors
-- NPC: Earth Protocrystal
-- Involved in Quest: Trial by Earth
-- @pos -539 1 -493 209
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/k... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/weaponskills/tachi_suikawari.lua | 9 | 1421 | -----------------------------------
-- Tachi Suikawari
-- Great Katana weapon skill
-- Is the joke variant of Tachi: Kaiten, using the same animation.
-- Skill level: N/A Only usable when equipping Melon Slicer
-- Number of watermelons sliced varies with TP.
-- Element: Fusion
-- Modifiers: STR:80% (Using Tachi: Kaiten... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Monarch_Linn/mobs/Ouryu.lua | 7 | 2506 | -----------------------------------
-- Area:
-- MOB: Ouryu
-----------------------------------
require("scripts/globals/titles");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
mob:SetMobSkillAttack(0); -- resetting so it doesn't respawn in ... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/The_Eldieme_Necropolis_[S]/npcs/Layton.lua | 14 | 2046 | -----------------------------------
-- Area: The Eldieme Necropolis (S)
-- NPC: Layton
-- Type: Standard Merchant NPC
-- Note: Available during Campaign battles
-- @pos 382.679 -39.999 3.541 175
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis_[S]/TextIDs"] = nil;
--------------... | gpl-3.0 |
mathiasbynens/PokeBot | util/input.lua | 1 | 2088 | local Input = {}
local Bridge = require "util.bridge"
local Memory = require "util.memory"
local Utils = require "util.utils"
local lastSend
local currentButton, remainingFrames, setForFrame
local debug
local bCancel = true
local function bridgeButton(btn)
if btn ~= lastSend then
lastSend = btn
Bridge.input(btn... | mit |
ibm2431/darkstar | scripts/zones/Open_sea_route_to_Mhaura/IDs.lua | 12 | 1179 | -----------------------------------
-- Area: Open_sea_route_to_Mhaura
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.OPEN_SEA_ROUTE_TO_MHAURA] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtai... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/sleepshroom.lua | 12 | 1178 | -----------------------------------------
-- ID: 4374
-- Item: sleepshroom
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -3
-- Mind 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Mount_Zhayolm/npcs/Runic_Portal.lua | 17 | 1855 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: Runic Portal
-- Mount Zhayolm Teleporter Back to Aht Urgan Whitegate
-- @pos 688 -23 349 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
gOOvER/Factionizer | Libs/AceGUI-3.0/widgets/AceGUIWidget-InteractiveLabel.lua | 51 | 2814 | --[[-----------------------------------------------------------------------------
InteractiveLabel Widget
-------------------------------------------------------------------------------]]
local Type, Version = "InteractiveLabel", 20
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidg... | gpl-3.0 |
ricker75/Global-Server | data/npc/scripts/A Lost Basher.lua | 2 | 1362 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg)... | gpl-2.0 |
softer/prosody-modules | mod_auth_any/mod_auth_any.lua | 32 | 1863 | -- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local datamanager = require "util.datamanager";
local log = require "util.logger".init("auth_any");
local ... | mit |
naclander/tome | game/modules/tome/dialogs/ShowIngredients.lua | 3 | 2788 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Castle_Oztroja/npcs/_47c.lua | 14 | 2120 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47c (Handle)
-- Notes: Opens Trap Door (_47a) or Brass Door (_470)
-- @pos 17.717 -1.087 -14.320 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Castle_Oztroja/mobs/Mee_Deggi_the_Punisher.lua | 12 | 1287 | -----------------------------------
-- Area: Castle Oztroja (151)
-- MOB: Mee_Deggi_the_Punisher
-----------------------------------
-----------------------------------
-- onMobSpawn
-----------------------------------
function onMobSpawn(mob)
if (math.random(1,100) <= 5) then -- Hardcoded "this or this item" dr... | gpl-3.0 |
ekmartin/mal | lua/step6_file.lua | 40 | 3471 | #!/usr/bin/env lua
local table = require('table')
local readline = require('readline')
local utils = require('utils')
local types = require('types')
local reader = require('reader')
local printer = require('printer')
local Env = require('env')
local core = require('core')
local List, Vector, HashMap = types.List, typ... | mpl-2.0 |
LegionXI/darkstar | scripts/zones/Western_Adoulin/npcs/Ledericus.lua | 14 | 1718 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Ledericus
-- Type: Shop NPC
-- @zone 256
-- @pos 37 32 117 256
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("script... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Mhasbaf.lua | 14 | 1044 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Mhasbaf
-- Type: Standard NPC
-- @pos 54.701 -6.999 11.387 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_White... | gpl-3.0 |
bittorf/luci | applications/luci-app-pbx/luasrc/controller/pbx.lua | 144 | 1448 | --[[
Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com>
This file is part of luci-pbx.
luci-pbx 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 3 of the License, or
... | apache-2.0 |
ibm2431/darkstar | scripts/globals/items/dish_of_spaghetti_melanzane.lua | 11 | 1192 | -----------------------------------------
-- ID: 5213
-- Item: dish_of_spaghetti_melanzane
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 25
-- Health Cap 100
-- Vitality 2
-- Store TP 6
-- Resist sleep 10
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/dish_of_spaghetti_ortolana_+1.lua | 12 | 1556 | -----------------------------------------
-- ID: 5659
-- Item: Dish of Spafhetti Ortolana
-- Food Effect: 1 Hr, All Races
-----------------------------------------
-- Agility 2
-- Vitality 2
-- HP +30% Cap 75
-- StoreTP +6
-- Resist Blind +10
-----------------------------------------
require("scripts/globals/status");... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/effects/addendum_black.lua | 65 | 2045 | -----------------------------------
--
--
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:recalculateAbilitiesTable();
local bonus = effect:getPower();
local helix = effect:get... | gpl-3.0 |
Igalia/snabbswitch | src/program/snsh/snsh.lua | 6 | 3538 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local lib = require("core.lib")
local usage = require("program.snsh.README_inc")
local long_opts = {
["package-path"] = "P",
eval = "e",
load = "l",
program = "p",
test = "t",
interactive = "i... | apache-2.0 |
Igalia/snabbswitch | src/apps/ipv4/arp.lua | 2 | 12179 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
-- ARP address resolution (RFC 826)
-- Given a remote IPv4 address, try to find out its MAC address.
-- If resolution succeeds:
-- All packets coming through the 'south' interface (ie, via the network card)
-- are silently forwarded (unles... | apache-2.0 |
naclander/tome | game/engines/default/engine/ui/Base.lua | 3 | 7869 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later version.... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Port_Windurst/npcs/Janshura-Rashura.lua | 19 | 2704 | -----------------------------------
-- Area: Port Windurst
-- NPC: Janshura Rashura
-- Starts Windurst Missions
-- @pos -227 -8 184 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
----------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/serving_of_flint_caviar.lua | 35 | 1434 | -----------------------------------------
-- ID: 4276
-- Item: serving_of_flint_caviar
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 10
-- Magic 10
-- Dexterity 4
-- Mind -1
-- Charisma 4
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Attohwa_Chasm/npcs/Cradle_of_Rebirth.lua | 10 | 1965 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: Cradle_of_Rebirth
-----------------------------------
package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Attohwa_Chasm/TextIDs");
require("scripts/globals/settings");
re... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/abilities/scavenge.lua | 29 | 2534 | -----------------------------------
-- Ability: Scavenge
-- Searches the ground around user for items.
-- Obtained: Ranger Level 10
-- Recast Time: 3:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
... | gpl-3.0 |
MarkSill/Pacturn | main.lua | 1 | 10100 | version = "1.0"
lg = love.graphics
lf = love.filesystem
map = nil
entities = nil
ghostPositions = nil
isSuper = false
superTurns = 0
currentTurn = "starting"
moves = 10
score = 0
sound = require("sounds")
restartcount = 340
function love.load()
math.randomseed(os.time())
isSuper = false
superTurns = 0
currentTurn ... | mit |
Geigerkind/DPSMateTBC | DPSMate_OHealingTaken/DPSMate_OHealingTaken.lua | 1 | 5347 | -- Global Variables
DPSMate.Modules.OHealingTaken = {}
DPSMate.Modules.OHealingTaken.Hist = "OHealingTaken"
DPSMate.Options.Options[1]["args"]["OHealingTaken"] = {
order = 81,
type = 'toggle',
name = DPSMate.L["OHealingTaken"],
desc = DPSMate.L["show"].." "..DPSMate.L["OHealingTaken"]..".",
get = function() return... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Signpost.lua | 10 | 1325 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: Signpost
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Tahrongi_Canyon/TextIDs");
-----------------------------------
-- onTrade Action
... | gpl-3.0 |
evrooije/beerarchy | mods/00_bt_nodes/farming/cocoa.lua | 1 | 4344 |
local S = farming.intllib
-- place cocoa
function place_cocoa(itemstack, placer, pointed_thing, plantname)
local pt = pointed_thing
-- check if pointing at a node
if not pt or pt.type ~= "node" then
return
end
local under = minetest.get_node(pt.under)
-- return if any of the nodes are not registered
if n... | lgpl-2.1 |
ibm2431/darkstar | scripts/zones/Spire_of_Vahzl/bcnms/desires_of_emptiness.lua | 9 | 1551 | -----------------------------------
-- Desires of Emptiness
-- Spire of Vahzl mission battlefield
-----------------------------------
require("scripts/globals/battlefield")
require("scripts/globals/missions")
require("scripts/globals/titles")
-----------------------------------
function onBattlefieldTick(battlefield, ... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/spells/sage_etude.lua | 12 | 1613 | -----------------------------------------
-- Spell: Sage Etude
-- Static INT Boost, BRD 66
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spe... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/shiranui.lua | 15 | 1514 | -----------------------------------------
-- ID: 17774
-- Item: Shiranui
-- Additional Effect: Light Damage (night time only)
-----------------------------------------
require("scripts/globals/status");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
funct... | gpl-3.0 |
naclander/tome | game/modules/tome/data/chats/shertul-fortress-butler.lua | 3 | 11366 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/TableView.lua | 16 | 4111 |
--------------------------------
-- @module TableView
-- @extend ScrollView,ScrollViewDelegate
-- @parent_module cc
--------------------------------
-- Updates the content of the cell at a given index.<br>
-- param idx index to find a cell
-- @function [parent=#TableView] updateCellAtIndex
-- @param self
-- @param #... | mit |
LegionXI/darkstar | scripts/zones/Cloister_of_Gales/bcnms/carbuncle_debacle.lua | 30 | 1596 | -----------------------------------
-- Area: Cloister of Gales
-- BCNM: Carbuncle Debacle
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Gales/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Cloister_of_Gales/TextIDs");
require("scripts/globals/settings");
r... | gpl-3.0 |
naclander/tome | game/modules/tome/data/chats/temporal-rift-end.lua | 3 | 2093 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/PsoXja/Zone.lua | 28 | 5064 | -----------------------------------
--
-- Zone: PsoXja (9)
--
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/zones/PsoXja/TextIDs");
require("scripts/g... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Woh_Gates/Zone.lua | 30 | 1245 | -----------------------------------
--
-- Zone: Woh Gates
--
-----------------------------------
package.loaded["scripts/zones/Woh_Gates/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Woh_Gates/TextIDs");
-----------------------------------
-- onIniti... | gpl-3.0 |
Igalia/snabbswitch | lib/pflua/tests/pfquickcheck/pflang_math.lua | 25 | 2387 | #!/usr/bin/env luajit
module(..., package.seeall)
local io = require("io")
local codegen = require("pf.backend")
local expand = require("pf.expand")
local parse = require("pf.parse")
local pfcompile = require("pfquickcheck.pfcompile")
local libpcap = require("pf.libpcap")
local bpf = require("pf.bpf")
local utils = re... | apache-2.0 |
ibm2431/darkstar | scripts/globals/mobskills/gravitic_horn.lua | 11 | 1687 | ---------------------------------------------------
-- Gravitic Horn
-- Family: Antlion (Only used by Formiceros subspecies)
-- Description: Heavy wind, Throat Stab-like damage in a fan-shaped area of effect. Resets enmity.
-- Type: Magical
-- Can be dispelled: N/A
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Co... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/_4fx.lua | 10 | 1862 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Granite Door
-- @pos 340 0.1 329 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/keyitem... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Windurst_Walls/npcs/Moan-Maon.lua | 14 | 1461 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Moan-Maon
-- Type: Standard NPC
-- @pos 88.244 -6.32 148.912 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scri... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Lower_Jeuno/npcs/_l11.lua | 36 | 1549 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -9 0 12
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fb.lua | 34 | 1110 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Leviathan's Gate
-- @pos 249 -34 -60 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextI... | gpl-3.0 |
softer/prosody-modules | mod_pep_vcard_avatar/mod_pep_vcard_avatar.lua | 31 | 4360 | -- Prosody IM
-- Copyright (C) 2008-2014 Matthew Wild
-- Copyright (C) 2008-2014 Waqas Hussain
-- Copyright (C) 2014 Kim Alvefur
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local st = require "util.stanza"
local base64 = require"util.encodings".... | mit |
LegionXI/darkstar | scripts/zones/Al_Zahbi/npcs/Dahaeel.lua | 14 | 1038 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Dahaeel
-- Type: Standard NPC
-- @zone 48
-- @pos -58.732 -6.999 68.096
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
--------------------------... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Rabao/npcs/Edigey.lua | 9 | 2159 | -----------------------------------
-- Area: Rabao
-- NPC: Edigey
-- Starts and Ends Quest: Don't Forget the Antidote
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/settings");
require("scripts/globals/quests");
local ID = require("scripts/zones/Rabao/IDs");
-----------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Metalworks/npcs/Invincible_Shield.lua | 14 | 1439 | -----------------------------------
-- Area: Metalworks
-- NPC: Invincible Shield
-- Type: Ballista
-- @pos -51.083 -11 2.126 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zon... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Outer_Horutoto_Ruins/npcs/_5eb.lua | 9 | 1936 | -----------------------------------
-- Area: Outer Horutoto Ruins
-- NPC: Gate: Magical Gizmo
-- Involved In Mission: Full Moon Fountain
-- !pos -291 0 -659 194
-----------------------------------
local ID = require("scripts/zones/Outer_Horutoto_Ruins/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/... | gpl-3.0 |
greasydeal/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 |
ibm2431/darkstar | scripts/globals/items/nosteau_herring.lua | 11 | 1054 | -----------------------------------------
-- ID: 4482
-- Item: nosteau_herring
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
--------------------------------... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Kuftal_Tunnel/globals.lua | 11 | 1965 | -- Zone: Kuftal Tunnel (174)
-- Desc: this file contains functions that are shared by multiple luas in this zone's directory
-----------------------------------
local ID = require("scripts/zones/Kuftal_Tunnel/IDs")
require("scripts/globals/status")
-----------------------------------
KUFTAL_TUNNEL = {
--[[........... | gpl-3.0 |
greasydeal/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 |
naclander/tome | game/modules/tome/data/gfx/particles/directional_shout.lua | 3 | 2471 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.