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 |
|---|---|---|---|---|---|
waytim/darkstar | scripts/zones/GM_Home/npcs/Trader.lua | 32 | 1090 | -----------------------------------
-- Area: GM Home
-- NPC: Trader
-- Type: Debug NPC for testing trades.
-----------------------------------
package.loaded["scripts/zones/GM_Home/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/GM_Home/TextIDs");
-----------------------------------
-- on... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Bastok_Mines/npcs/Deadly_Spider.lua | 3 | 1414 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Deadly Spider
-- Involved in Quest: Stamp Hunt
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Bastok_Mines/Tex... | gpl-3.0 |
GregSatre/nn | ParallelCriterion.lua | 18 | 1309 | local ParallelCriterion, parent = torch.class('nn.ParallelCriterion', 'nn.Criterion')
function ParallelCriterion:__init(repeatTarget)
parent.__init(self)
self.criterions = {}
self.weights = {}
self.gradInput = {}
self.repeatTarget = repeatTarget
end
function ParallelCriterion:add(criterion, weight)
... | bsd-3-clause |
TheOnePharaoh/YGOPro-Custom-Cards | script/c99980340.lua | 1 | 2296 | --HN - Leanbox
function c99980340.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--Mill
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_DESTROY)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
... | gpl-3.0 |
LuaDist2/prosody | core/storagemanager.lua | 2 | 4872 |
local type, pairs = type, pairs;
local setmetatable = setmetatable;
local config = require "core.configmanager";
local datamanager = require "util.datamanager";
local modulemanager = require "core.modulemanager";
local multitable = require "util.multitable";
local hosts = hosts;
local log = require "util.logger".init... | mit |
deepmind/classic | classic/Class.lua | 2 | 17772 | local classic = assert(classic, 'metaclass should not be required directly')
-- Argument checking: check that self was correctly passed.
local function checkSelf(self, name)
if type(self) ~= 'table' then
error(name .. "() must be called on a class. Did you forget the colon?", 3)
end
end
-- Argument checking: ... | bsd-3-clause |
TheOnePharaoh/YGOPro-Custom-Cards | script/c100000876.lua | 2 | 1663 | --Created and coded by Rising Phoenix
function c100000876.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCountLimit(1,100000876+EFFECT_COUNT_CODE_OATH)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET... | gpl-3.0 |
waytim/darkstar | scripts/globals/spells/bluemagic/radiant_breath.lua | 25 | 2259 | -----------------------------------------
-- Spell: Radiant Breath
-- Deals light damage to enemies within a fan-shaped area of effect originating from the caster. Additional effect: Slow and Silence.
-- Spell cost: 116 MP
-- Monster Type: Wyverns
-- Spell Type: Magical (Light)
-- Blue Magic Points: 4
-- Stat Bonus: CH... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/spells/gain-agi.lua | 2 | 2309 | --------------------------------------
-- Spell: Gain-AGI
-- Boosts targets AGI stat
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
----------------------------... | gpl-3.0 |
waytim/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/Stone_Picture_Frame.lua | 27 | 3762 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Stone Picture Frame
-- Notes: Opens door to Den of Rancor using Painbrush of Souls
-- @pos -52.239 -2.089 10.000 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
------------------------... | gpl-3.0 |
waytim/darkstar | scripts/zones/Castle_Oztroja/npcs/Kaa_Toru_the_Just.lua | 13 | 1656 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: Kaa Toru the Just
-- Type: Mission NPC [ Windurst Mission 6-2 NPC ]~
-- @pos -100.188 -62.125 145.422 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/weaponskills/rock_crusher.lua | 4 | 1173 | -----------------------------------
-- Rock Crusher
-- Staff weapon skill
-- Skill Level: 40
-- Delivers an earth elemental attack. Damage varies with TP.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: Earth
-- Modifiers: STR:20% ; INT:20%
-- 100%TP 200%TP 300%TP
-- 1.... | gpl-3.0 |
waytim/darkstar | scripts/zones/Silver_Sea_Remnants/Zone.lua | 17 | 1080 | -----------------------------------
--
-- Zone: Silver_Sea_Remnants
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Silver_Sea_Remnants/TextIDs"] = nil;
require("scripts/zones/Silver_Sea_Remnants/TextIDs");
-----------------------------------
-- onInitializ... | gpl-3.0 |
waytim/darkstar | scripts/zones/Northern_San_dOria/npcs/Esqualea.lua | 13 | 1411 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Esqualea
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
requi... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Bibiki_Bay/npcs/Fheli_Lapatzuo.lua | 5 | 1081 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: Fheli Lapatzuo
-- Type: Manaclipper
-- @zone: 4
-- @pos: 488.793 -4.003 709.473
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
--------------... | gpl-3.0 |
waytim/darkstar | scripts/zones/Windurst_Woods/npcs/Mheca_Khetashipah.lua | 13 | 1061 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Mheca Khetashipah
-- Type: Standard NPC
-- @zone: 241
-- @pos 66.881 -6.249 185.752
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
---... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c20912223.lua | 1 | 2399 | --The Indestructable Sword Bekatowa
function c20912223.initial_effect(c)
c:SetUniqueOnField(1,0,20912223)
aux.AddEquipProcedure(c,0,aux.FilterBoolFunction(Card.IsRace,RACE_WARRIOR))
--Untargetable
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_EQUIP)
e2:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
e2:SetValue... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Rabao/npcs/Brave_Wolf.lua | 6 | 1434 | -----------------------------------
-- Area: Rabao
-- NPC: Brave Wolf
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/zones/Rabao/TextIDs");
-----------------------------------
-- onTrade Action
-------... | gpl-3.0 |
waytim/darkstar | scripts/zones/Windurst_Waters/npcs/Furakku-Norakku.lua | 25 | 4882 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Furakku-Norakku
-- Involved in Quests: Early Bird Catches the Bookworm, Chasing Tales, Class Reunion
-- @pos -19 -5 101 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
------------------------... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Northern_San_dOria/npcs/Boncort.lua | 4 | 1921 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Boncort
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop");
requi... | gpl-3.0 |
hacker44-h44/spammer | plugins/anti-flood.lua | 281 | 2422 | local NUM_MSG_MAX = 5 -- Max number of messages per TIME_CHECK seconds
local TIME_CHECK = 5
local function kick_user(user_id, chat_id)
local chat = 'chat#id'..chat_id
local user = 'user#id'..user_id
chat_del_user(chat, user, function (data, success, result)
if success ~= 1 then
local text = 'I can\'t k... | gpl-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Waters/Zone.lua | 2 | 2723 | -----------------------------------
--
-- Zone: Windurst_Waters (238)
--
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/globals/server");
require("scripts/globals/settings");
require("scripts/globals/missions");
require("scripts/zones/Windurst_Waters... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c99199028.lua | 2 | 4885 | --The Future Gear Kid
function c99199028.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--splimit
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetRange(LOCATION_PZONE)
e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DIS... | gpl-3.0 |
thisishmed/butler | plugins/invite.lua | 12 | 4020 | do
local function invite_user(chat_id, user_id, type_id)
if is_banned(user_id, chat_id) then
return send_large_msg('chat#id'..chat_id, 'Invitation canceled.\n'
..'ID'..user_id..' is (super)banned.')
end
chat_add_user('chat#id'..chat_id, 'user#id'..user_id, ok_cb, false)
end
local function resolve_username(extra... | gpl-2.0 |
galek/crown | 3rdparty/luajit/src/jit/dump.lua | 5 | 20214 | ----------------------------------------------------------------------------
-- LuaJIT compiler dump module.
--
-- Copyright (C) 2005-2021 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
--
-... | mit |
TheOnePharaoh/YGOPro-Custom-Cards | script/c100000831.lua | 2 | 2868 | --Created and coded by Rising Phoenix
function c100000831.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(100000831,0))
e1:SetCategory(CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLED)
e1:SetCondition(c100000831.retcon)
e1... | gpl-3.0 |
Em30-tm-lua/Emc | .luarocks/share/lua/5.2/luarocks/repos.lua | 20 | 11978 |
--- Functions for managing the repository on disk.
--module("luarocks.repos", package.seeall)
local repos = {}
package.loaded["luarocks.repos"] = repos
local fs = require("luarocks.fs")
local path = require("luarocks.path")
local cfg = require("luarocks.cfg")
local util = require("luarocks.util")
local dir = require(... | gpl-2.0 |
jixianliang/DBProxy | lib/proxy/balance.lua | 41 | 2807 | --[[ $%BEGINLICENSE%$
Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the
License.
This program is dis... | gpl-2.0 |
waytim/darkstar | scripts/globals/spells/burn.lua | 17 | 1851 | -----------------------------------------
-- Spell: Burn
-- Deals fire damage that lowers an enemy's intelligence and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
--------------------------... | gpl-3.0 |
waytim/darkstar | scripts/zones/Bhaflau_Remnants/Zone.lua | 19 | 1071 | -----------------------------------
--
-- Zone: Bhaflau_Remnants
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Bhaflau_Remnants/TextIDs"] = nil;
require("scripts/zones/Bhaflau_Remnants/TextIDs");
-----------------------------------
-- onInitialize
-------... | gpl-3.0 |
waytim/darkstar | scripts/zones/Yhoator_Jungle/npcs/Logging_Point.lua | 13 | 1068 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Yhoator_Jungle/TextIDs");
------------... | gpl-3.0 |
Guim3/IcGAN | generation/reconstructWithVariations.lua | 1 | 8523 | require 'image'
require 'nn'
optnet = require 'optnet'
disp = require 'display'
torch.setdefaulttensortype('torch.FloatTensor')
-- Load parameters from config file
assert(loadfile("cfg/generateConfig.lua"))(1)
-- one-line argument parser. Parses environment variables to override the defaults
for k,v in pairs(opt) do o... | bsd-3-clause |
waytim/darkstar | scripts/zones/Monastic_Cavern/TextIDs.lua | 22 | 1704 | -- 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 |
chatid/fend | signalfd.lua | 1 | 3194 | local next = next
local pairs = pairs
local ffi = require "ffi"
local new_file = require "fend.file".wrap
require "fend.common"
include "stdio"
include "string"
include "errno"
include "sys/signalfd"
local sigfiles_map = setmetatable ( { } , { __mode = "k" } )
local signal_cb_table = {
read = function ( file , cbs ... | mit |
waytim/darkstar | scripts/zones/Zeruhn_Mines/npcs/Grounds_Tome.lua | 30 | 1079 | -----------------------------------
-- Area: Zeruhn Mines
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,tra... | gpl-3.0 |
zorfmorf/loveprojects | colonycontrol/src/lib/hump/camera.lua | 47 | 3388 | --[[
Copyright (c) 2010-2013 Matthias Richter
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | apache-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Xarcabard/npcs/Pelogrant.lua | 2 | 1728 | -----------------------------------
-- Area: Xarcabard
-- NPC: Pelogrant
-- @pos 210 -22 -201 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
require("scripts/zone... | gpl-3.0 |
pedrohenriquerls/cocos2d_ruby_binding | frameworks/cocos2d-x/cocos/scripting/lua-bindings/script/extension/DeprecatedExtensionEnum.lua | 40 | 1369 |
_G.kCCControlStepperPartMinus = cc.CONTROL_STEPPER_PART_MINUS
_G.kCCControlStepperPartPlus = cc.CONTROL_STEPPER_PART_PLUS
_G.kCCControlStepperPartNone = cc.CONTROL_STEPPER_PART_NONE
_G.CCControlEventTouchDown = cc.CONTROL_EVENTTYPE_TOUCH_DOWN
_G.CCControlEventTouchDragInside = cc.CONTROL_... | mit |
waytim/darkstar | scripts/globals/abilities/spirit_link.lua | 17 | 2738 | -----------------------------------
-- Ability: Spirit Link
-- Sacrifices own HP to heal Wyvern's HP.
-- Obtained: Dragoon Level 25
-- Recast Time: 1:30
-- Duration: Instant
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onAbilityCheck
-------------------... | gpl-3.0 |
GregSatre/nn | SpatialFullConvolutionMap.lua | 44 | 1990 | local SpatialFullConvolutionMap, parent = torch.class('nn.SpatialFullConvolutionMap', 'nn.Module')
function SpatialFullConvolutionMap:__init(conMatrix, kW, kH, dW, dH)
parent.__init(self)
dW = dW or 1
dH = dH or 1
self.kW = kW
self.kH = kH
self.dW = dW
self.dH = dH
self.connTable = conMatrix
... | bsd-3-clause |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Castle_Oztroja/npcs/_47c.lua | 2 | 1231 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: Handle
-- Open trap door or brass door
-- @pos 20 0 -13 151
-----------------------------------
require("scripts/globals/missions");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(play... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/La_Theine_Plateau/npcs/Tayula.lua | 4 | 1041 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Tayula
-- Type: Mission
-- @zone: 102
-- @pos: -311.785 50.351 182.063
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
--------... | gpl-3.0 |
waytim/darkstar | scripts/zones/Windurst_Woods/npcs/HomePoint#1.lua | 27 | 1278 | -----------------------------------
-- Area: Windurst Woods
-- NPC: HomePoint#1
-- @pos -98.588 0.001 -183.416 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Woods/TextIDs");
require("scripts/g... | gpl-3.0 |
GregSatre/nn | SpatialFullConvolution.lua | 42 | 1589 | local SpatialFullConvolution, parent = torch.class('nn.SpatialFullConvolution','nn.Module')
function SpatialFullConvolution:__init(nInputPlane, nOutputPlane, kW, kH, dW, dH)
parent.__init(self)
dW = dW or 1
dH = dH or 1
self.nInputPlane = nInputPlane
self.nOutputPlane = nOutputPlane
self.kW = kW
... | bsd-3-clause |
waytim/darkstar | scripts/globals/spells/chocobo_mazurka.lua | 27 | 1162 | -----------------------------------------
-- Spell: Chocobo Mazurka
-- Gives party members enhanced movement
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(cas... | gpl-3.0 |
unXedDani/Artal | tests/main.lua | 1 | 1342 | local tests = {}
for i, file in ipairs(love.filesystem.getDirectoryItems("cases")) do
if file:match(".lua$") then
local thread = love.thread.newThread("cases/" .. file)
thread:start()
table.insert(
tests,
{
name = file,
thread = thread,
}
)
end
end
local RUNNING, ... | mit |
waytim/darkstar | scripts/zones/Windurst_Waters/npcs/Yuli_Yaam.lua | 13 | 1908 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Yuli Yaam
-- Involved In Quest: Wondering Minstrel
-- Working 100%
-- @zone = 238
-- @pos = -61 -4 23
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------... | gpl-3.0 |
CaptainPRICE/wire | lua/entities/gmod_wire_relay.lua | 10 | 4490 | AddCSLuaFile()
DEFINE_BASECLASS( "base_wire_entity" )
ENT.PrintName = "Wire Relay"
ENT.WireDebugName = "Relay"
ENT.Author = "tad2020"
if CLIENT then return end -- No more client
function ENT:Initialize()
self:PhysicsInit( SOLID_VPHYSICS )
self:SetMoveType( MOVETYPE_VPHYSICS )
self:SetSolid( SOLID_VPHYSI... | apache-2.0 |
waytim/darkstar | scripts/zones/Windurst_Woods/npcs/Gioh_Ajihri.lua | 28 | 2994 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Gioh Ajihri
-- Starts & Finishes Repeatable Quest: Twinstone Bonding
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scr... | gpl-3.0 |
wanmaple/MWFrameworkForCocosLua | frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ClippingRectangleNode.lua | 10 | 1311 |
--------------------------------
-- @module ClippingRectangleNode
-- @extend Node
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ClippingRectangleNode] isClippingEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @fun... | apache-2.0 |
amitshaked/resmatch | src/pipeline/refinement.lua | 1 | 1643 | local M = {}
function M.refine(disp, vols, opt, dataset, sm_skip, sm_terminate, disp_max, conf, t1, t2)
local sm_active = true
if dataset.name == 'kitti' or dataset.name == 'kitti2015' then
local outlier = torch.CudaTensor():resizeAs(disp[2]):zero()
curesmatch.outlier_detection(disp[2], disp[1], ou... | bsd-2-clause |
waytim/darkstar | scripts/zones/Arrapago_Reef/mobs/Medusa.lua | 20 | 1467 | -----------------------------------
-- Area: Arrapago Reef
-- MOB: Medusa
-- @pos -458 -20 458
-- TODO: resists, attack/def boosts
-----------------------------------
require("scripts/globals/titles");
require("scripts/zones/Arrapago_Reef/TextIDs");
-----------------------------------
-- onMobSpawn Action
----------... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c512000063.lua | 2 | 1328 | --サモンクローズ
function c512000063.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c512000063.cost)
e1:SetTarget(c512000063.target)
e1:SetOperation(c512000063... | gpl-3.0 |
TheEggi/FTCCustom | sct/Functions.lua | 1 | 6005 |
--[[----------------------------------------------------------
SCROLLING COMBAT TEXT FUNCTIONS
-----------------------------------------------------------
* Relevant functions for the scrolling combat text component
* Runs during FTC:Initialize()
]]--
FTC.SCT = {}
function FTC.SCT:Initialize()
-- Setup tabl... | apache-2.0 |
CaptainPRICE/wire | lua/entities/gmod_wire_eyepod.lua | 9 | 8963 | AddCSLuaFile()
DEFINE_BASECLASS( "base_wire_entity" )
ENT.PrintName = "Wire Eye Pod"
ENT.Purpose = "To control the player's view in a pod and output their mouse movements"
ENT.WireDebugName = "Eye Pod"
if CLIENT then
local enabled = false
local rotate90 = false
local freezePitch = true
local freezeY... | apache-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/weaponskills/glory_slash.lua | 4 | 1279 | -----------------------------------
-- Glory Slash
-- Sword weapon skill
-- Skill Level: NA
-- Only avaliable during Campaign Battle while weilding Lex Talionis.
-- Delivers and area attacj that deals triple damage. Damage varies with TP. Additional effect Stun.
-- Will stack with Sneak Attack.
-- Aligned with the Flam... | gpl-3.0 |
Contatta/prosody-modules | mod_watchuntrusted/mod_watchuntrusted.lua | 5 | 2563 | local jid_prep = require "util.jid".prep;
local secure_auth = module:get_option_boolean("s2s_secure_auth", false);
local secure_domains, insecure_domains =
module:get_option_set("s2s_secure_domains", {})._items, module:get_option_set("s2s_insecure_domains", {})._items;
local untrusted_fail_watchers = module:get_opti... | mit |
tomyun/Gearsystem | platforms/ios/dependencies/SDL-2.0.4-9174/premake/premake4.lua | 9 | 19887 | -- Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- arising from the use of this software.
--
-- Permission is granted to anyone to use this software for any purp... | gpl-3.0 |
waytim/darkstar | scripts/zones/Grand_Palace_of_HuXzoi/npcs/_iyb.lua | 13 | 1259 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- NPC: Particle Gate
-- @pos 1 0.1 -320 34
-----------------------------------
package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Grand_Palace_of_HuXzoi/TextIDs");
--... | gpl-3.0 |
waytim/darkstar | scripts/zones/Port_San_dOria/npcs/Ambleon.lua | 13 | 1061 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Ambleon
-- Type: NPC World Pass Dealer
-- @zone: 232
-- @pos 71.622 -17 -137.134
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
---... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Mount_Zhayolm/npcs/Bapokk.lua | 2 | 1504 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: Bapokk
-- Handles access to Alzadaal Ruins
-- @pos -20 -6 276 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mount_Zhayolm/TextIDs");
----... | gpl-3.0 |
TienHP/Aquaria | files/scripts/entities/wisker.lua | 6 | 3979 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 later vers... | gpl-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/mobskills/Gate_of_Tartarus.lua | 10 | 1071 | ---------------------------------------------
-- Gate of Tartarus
--
-- Description: Lowers target's attack. Additional effect: Refresh
-- Type: Physical
-- Shadow per hit
-- Range: Melee
---------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
requir... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c77628934.lua | 1 | 4076 | --Paladin of the Black Art
function c77628934.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcFun2(c,aux.FilterBoolFunction(Card.IsSetCard,0xba003),aux.FilterBoolFunction(Card.IsRace,RACE_ZOMBIE),true)
--spsummon condition
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c58431894.lua | 2 | 3338 | --Vocaloid Hatsune Miku
function c58431894.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x0dac405),aux.NonTuner(Card.IsRace,RACE_MACHINE),1)
c:EnableReviveLimit()
--remove
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(58431894,0))
e1:SetCateg... | gpl-3.0 |
waytim/darkstar | scripts/globals/weaponskills/skewer.lua | 11 | 1366 | -----------------------------------
-- Skewer
-- Polearm weapon skill
-- Skill Level: 200
-- Delivers a three-hit attack. Chance of params.critical hit varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Light Gorget & Thunder Gorget.
-- Aligned with the Light Belt & Thunder Belt.
-- Element: None
-- M... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c77777831.lua | 2 | 6245 | --Legendary Wyrm Aganos
function c77777831.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetDescription(aux.Stringid(77777831,0))
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--Psummon
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_CONTINUOUS+E... | gpl-3.0 |
db260179/openwrt-bpi-r1-luci | applications/luci-app-p2pblock/luasrc/model/cbi/luci_fw/p2pblock.lua | 1 | 1515 | -- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local sys = require "luci.sys"
m = Map("freifunk_p2pblock", translate("P2P-Block"),
translate("P2P-Block is a greylisting mechanism to block various peer-to-peer protocols for non-whitelisted clients."))
s = ... | apache-2.0 |
onlinetservers/sudo_bots | plugins/plugins.lua | 5 | 6499 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists( ... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Bearclaw_Pinnacle/bcnms/flames_for_the_dead.lua | 2 | 1743 | -----------------------------------
-- Area: Bearclaw_Pinnacle
-- Name: flames_for_the_dead
-- bcnmID : 640
--ennemy: Snoll_Tzar 16801793 16801794 16801795 group 176
-----------------------------------
package.loaded["scripts/zones/Bearclaw_Pinnacle/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
steven-jackson/PersonalLoot | libs/AceGUI-3.0/widgets/AceGUIWidget-Icon.lua | 5 | 3939 | --[[-----------------------------------------------------------------------------
Icon Widget
-------------------------------------------------------------------------------]]
local Type, Version = "Icon", 21
local AceGUI = LibStub and LibStub("AceGUI-3.0", true)
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or ... | gpl-3.0 |
waytim/darkstar | scripts/zones/Abyssea-Uleguerand/Zone.lua | 33 | 1487 | -----------------------------------
--
-- Zone: Abyssea - Uleguerand
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Uleguerand/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abyssea-Ulegue... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c99990003.lua | 2 | 2753 | --SAO - Kirito SAO
function c99990003.initial_effect(c)
--Special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(99990003,0))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c99990003.... | gpl-3.0 |
MinFu/luci | applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_network.lua | 79 | 1459 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local sys = require"luci.sys"
local ip = require "luci.ip"
m = Map("coovachilli")
-- tun
s1 = m:section(TypedSection, "tun")
s1.anonymous = true
s1:option(... | apache-2.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c90000079.lua | 2 | 5952 | --Black Flag Gunner
function c90000079.initial_effect(c)
--Pendulum Summon
aux.EnablePendulumAttribute(c)
--Pendulum Limit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e1:SetCode(EFFECT_CANNOT_SPECIAL_... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/bowl_of_delicious_puls.lua | 3 | 1208 | -----------------------------------------
-- ID: 4533
-- Item: Bowl of Delicious Puls
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Dexterity -1
-- Vitality 3
-- Health Regen While Healing 5
-----------------------------------------
require("scripts/globals/status");
-----------------... | gpl-3.0 |
hacker44-h44/spammer | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name.... | gpl-2.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c344000038.lua | 2 | 1375 | function c344000038.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcCodeFun(c,344000023,aux.FilterBoolFunction(Card.IsRace,RACE_MACHINE),2,false,false)
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(344000038,0))
e3:SetCategory(CATEGORY_DESTROY)
e3:SetType(EFFECT_TYPE_I... | gpl-3.0 |
TienHP/Aquaria | files/scripts/entities/_unused/lumitebreeder.lua | 6 | 3488 | -- Copyright (C) 2007, 2010 - Bit-Blot
--
-- This file is part of Aquaria.
--
-- Aquaria 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 later vers... | gpl-2.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Port_San_dOria/Zone.lua | 2 | 2194 | -----------------------------------
--
-- Zone: Port_San_dOria (232)
--
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("scripts/globals/server");
require("scripts/globals/settings");
require("scripts/zones/Port_San_dOria/TextIDs");
---------------------------... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c77777708.lua | 2 | 3373 | --Witchcrafter Kimmy
function c77777708.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--splimit
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetRange(LOCATION_PZONE)
e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISA... | gpl-3.0 |
waytim/darkstar | scripts/globals/abilities/drain_samba_ii.lua | 25 | 1434 | -----------------------------------
-- Ability: Drain Samba II
-- Inflicts the next target you strike with Drain Daze, allowing all those engaged in battle with it to drain its HP.
-- Obtained: Dancer Level 35
-- TP Required: 25%
-- Recast Time: 1:00
-- Duration: 1:30
-----------------------------------
require("scri... | gpl-3.0 |
waytim/darkstar | scripts/globals/items/goblin_pie.lua | 18 | 1573 | -----------------------------------------
-- ID: 4539
-- Item: goblin_pie
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 12
-- Magic 12
-- Dexterity -1
-- Agility 3
-- Vitality -1
-- Charisma -5
-- Defense % 9
-----------------------------------------
require("scripts/globals/stat... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/crescent_fish.lua | 2 | 1150 | -----------------------------------------
-- ID: 4473
-- Item: crescent_fish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
internetisalie/lua-for-idea | testdata/non-test-system-files/lua5.1-tests/db.lua | 18 | 12088 | -- testing debug library
local function dostring(s) return assert(loadstring(s))() end
print"testing debug library and debug information"
do
local a=1
end
function test (s, l, p)
collectgarbage() -- avoid gc during trace
local function f (event, line)
assert(event == 'line')
local l = table.remove(l, ... | apache-2.0 |
Kapiainen/Lauhdutin | dist/@Resources/settings/slots/slot.lua | 1 | 3257 | local Slot
do
local _class_0
local _base_0 = {
update = function(self, setting)
if setting == nil then
return SKIN:Bang(('[!HideMeterGroup "Slot%d"]'):format(self.index))
end
SKIN:Bang(('[!SetOption "Slot%dTitle" "Text" "%s"]'):format(self.index, setting.title))
SKIN:Bang(('[!Set... | mit |
waytim/darkstar | scripts/zones/Toraimarai_Canal/npcs/Tome_of_Magic.lua | 13 | 1839 | -----------------------------------
-- Area: Toraimarai Canal
-- NPC: Tome of Magic ( Needed for Mission )
-- Involved In Windurst Mission 7-1
-- @zone 169
-- @pos 142 13 -13 169 <many>
-----------------------------------
package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil;
require("scripts/zones/Toraimarai... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Walls/npcs/Seven_of_Diamonds.lua | 4 | 1116 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Seven of Diamonds
-- Type: Standard NPC
-- @zone: 239
-- @pos: 6.612 -3.5 278.553
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----... | gpl-3.0 |
waytim/darkstar | scripts/zones/Bibiki_Bay/npcs/Clamming_Point.lua | 13 | 6769 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: Clamming Point
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
require("scripts/zones/Bibiki_Bay/TextIDs");
require("scripts/globals/keyitems");
-----------------------------------
-- Local Variables
------... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Lower_Jeuno/npcs/Geuhbe.lua | 5 | 1036 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Geuhbe
-- Type: Event Scene Replayer
-- @zone: 245
-- @pos: -74.309 -1 -114.174
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-------------... | gpl-3.0 |
dkerr64/astlinux | package/prosody/modules/mod_listusers.lua | 34 | 2522 | function module.command(args)
local action = table.remove(args, 1);
if not action then -- Default, list registered users
local data_path = CFG_DATADIR or "data";
if not pcall(require, "luarocks.loader") then
pcall(require, "luarocks.require");
end
local lfs = require "lfs";
function decode... | gpl-3.0 |
amostalong/SSFS | Assets/LuaFramework/ToLua/Lua/cjson/util.lua | 170 | 6837 | local json = require "cjson"
-- Various common routines used by the Lua CJSON package
--
-- Mark Pulford <mark@kyne.com.au>
-- Determine with a Lua table can be treated as an array.
-- Explicitly returns "not an array" for very sparse arrays.
-- Returns:
-- -1 Not an array
-- 0 Empty table
-- >0 Highest index ... | mit |
waytim/darkstar | scripts/zones/RuLude_Gardens/npcs/Adolie.lua | 13 | 1477 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Adolie
-- @zone 243
-- @pos -35 2 59
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/RuLude_Gardens/TextI... | gpl-3.0 |
internetisalie/lua-for-idea | include/stdlibrary/math.lua | 2 | 3822 | --- standard mathematical functions.
-- @module math
module"math"
--local math = {}
---
-- Returns the absolute value of `x`.
function math.abs(x) return 0 end
---
-- Returns the arc cosine of `x` (in radians).
function math.acos(x) return 0 end
---
-- Returns the arc sine of `x` (in radians).
funct... | apache-2.0 |
waytim/darkstar | scripts/globals/items/holy_bolt.lua | 26 | 1227 | -----------------------------------------
-- ID: 18153
-- Item: Holy Bolt
-- Additional Effect: Light Damage
-- Bolt dmg is affected by light/dark staves and Chatoyant
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- o... | gpl-3.0 |
waytim/darkstar | scripts/zones/Windurst_Walls/npcs/HomePoint#2.lua | 27 | 1270 | -----------------------------------
-- Area: Windurst Walls
-- NPC: HomePoint#2
-- @pos -212 0.001 -99 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Walls/TextIDs");
require("scripts/globals/h... | gpl-3.0 |
TheOnePharaoh/YGOPro-Custom-Cards | script/c103950020.lua | 2 | 2474 | --Light Shard Dragon
function c103950020.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--ATK trace
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_ADJUST)
e1:SetRange(LOCATION_MZONE)
e1:SetOpe... | gpl-3.0 |
waytim/darkstar | scripts/globals/items/crayfish.lua | 18 | 1409 | -----------------------------------------
-- ID: 4472
-- Item: crayfish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -3
-- Vitality 1
-- defense 10
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
ffxinfinity/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/galkan_sausage_+2.lua | 3 | 1249 | -----------------------------------------
-- ID: 5860
-- Item: galkan_sausage_+2
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 5
-- Intelligence -6
-- Attack 11
-- Ranged Attack 11
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
waytim/darkstar | scripts/globals/mobskills/Gregale_Wing_Air.lua | 33 | 1081 | ---------------------------------------------
-- Gregale Wing
--
-- Description: An icy wind deals Ice damage to enemies within a very wide area of effect. Additional effect: Paralyze
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 30' radial.
-- Notes: Used only Jormungand and Isgebind
-------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.