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 |
|---|---|---|---|---|---|
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Cimeries.lua | 2 | 1094 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Marquis Cimeries
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitializ... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/spells/kurayami_ni.lua | 2 | 1068 | -----------------------------------------
-- Spell: Kurayami:Ni
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,target,... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/abilities/pets/sand_breath.lua | 25 | 1254 | ---------------------------------------------------
-- Sand Breath
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onAbilityChe... | gpl-3.0 |
uuuuuuBoT/uuuuuuBoT | plugins/plugins.lua | 8 | 6787 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY(@AHMED_ALOBIDE) ▀▄ ▄▀
▀▄ ▄▀ BY(@hussian_9) ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄▀... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Nashmau/npcs/Nanaroon.lua | 38 | 1029 | ----------------------------------
-- Area: Nashmau
-- NPC: Nanaroon
-- Type: Item Deliverer
-- @pos -2.404 -6 37.141 53
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
-----------------------... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Giddeus/npcs/Altar_of_Offerings.lua | 6 | 1637 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Alter Of Offering
-- Involved in Quest: A Crisis in the Making
-- Working 100%
-- @zone = 145
-- @pos = -137 17 177
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
requ... | gpl-3.0 |
rlowrance/re | geocoding-valid.lua | 1 | 4284 | -- parcels-sfr-geocoding-valid.lua
-- main program to create file OUTPUT/geocoding-valid.csv
-- INPUT FILES
-- RAW/geocoding.tsv : all geocodings
-- OUTPUT FILES
-- OUTPUT/geocoding-valid.csv: CSV file containing just the geocoding records
-- for which both latitude and longitude are
... | gpl-3.0 |
everslick/awesome | lib/wibox/layout/fixed.lua | 2 | 4672 | ---------------------------------------------------------------------------
-- @author Uli Schlachter
-- @copyright 2010 Uli Schlachter
-- @release @AWESOME_VERSION@
-- @classmod wibox.layout.fixed
---------------------------------------------------------------------------
local base = require("wibox.widget.base")
loc... | gpl-2.0 |
fruitwasp/DarkRP | gamemode/libraries/simplerr.lua | 6 | 22465 | local CompileFile = CompileFile
local CompileString = CompileString
local debug = debug
local error = error
local file = file
local hook = hook
local include = include
local isfunction = isfunction
local isstring = isstring
local math = math
local os = os
local string = string
local table = table
local tonumber = tonum... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/marinara_pizza.lua | 3 | 1633 | -----------------------------------------
-- ID: 5743
-- Item: marinara_pizza
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Health Points 20
-- Attack +20% (cap 50 @ 250 base attack)
-- Accuracy +10% (cap 40+ @ 400+ base accuracy) *Wiki doesnt know for sure, its uncorfirmed on how high... | gpl-3.0 |
Zytharian/ADHQ | src/ServerClasses/Transporter.lua | 1 | 7634 | -- Zytharian (roblox: Legend26)
-- Services
local projectRoot = game:GetService("ServerScriptService")
local RS = game:GetService("ReplicatedStorage")
-- Includes
local Classes = require(projectRoot.Modules.ClassSystem)
local Util = require(projectRoot.Modules.Utilities)
local LEnums = require(projectRoot.Modules.Enu... | mit |
daVoodooShuffle/OpenRA | mods/cnc/maps/nod05/nod05.lua | 6 | 11199 | --[[
Copyright 2007-2017 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you 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 vers... | gpl-3.0 |
premake/premake-core | modules/gmake/tests/cs/test_sources.lua | 15 | 1449 | --
-- tests/actions/make/cs/test_sources.lua
-- Tests source file listings for C# Makefiles.
-- Copyright (c) 2013-2014 Jason Perkins and the Premake project
--
local p = premake
local suite = test.declare("make_cs_sources")
local make = p.make
local cs = p.make.cs
local project = p.project
--
-- Setup
--
loc... | bsd-3-clause |
Sonicrich05/FFXI-Server | scripts/globals/items/rolanberry.lua | 35 | 1197 | -----------------------------------------
-- ID: 4365
-- Item: rolanberry
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -4
-- Intelligence 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Abyssea-Konschtat/npcs/Cavernous_Maw.lua | 2 | 1214 | -----------------------------------
-- Cavernous Maw
-- Teleport konsh
-----------------------------------
package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/teleports");... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/weaponskills/tachi_hobaku.lua | 18 | 1659 | -----------------------------------
-- Tachi Hobaku
-- Great Katana weapon skill
-- Skill Level: 30
-- Stuns enemy. Chance of stun varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Snow Gorget.
-- Aligned with the Snow Belt.
-- Element: None
-- Modifiers: STR:60%
-- 100%TP 200%TP 300%... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Port_Windurst/npcs/Porter_Moogle.lua | 41 | 1533 | -----------------------------------
-- Area: Port Windurst
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 240
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Windurst/TextID... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Rabao/npcs/Edigey.lua | 17 | 2501 | -----------------------------------
-- Area: Rabao
-- NPC: Edigey
-- Starts and Ends Quest: Don't Forget the Antidote
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
require("scripts/globals/titles");
require("scripts/globals/settings");
require("scripts/globals/quests... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Abdhaljs_Isle-Purgonorgo/Zone.lua | 34 | 1365 | -----------------------------------
--
-- Zone: Abdhaljs_Isle-Purgonorgo
--
-----------------------------------
package.loaded["scripts/zones/Abdhaljs_Isle-Purgonorgo/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Abdhaljs_Isle-Purgonorgo/TextI... | gpl-3.0 |
DrMelon/OpenRA | mods/cnc/maps/nod06a/nod06a.lua | 2 | 7524 | NodStartUnitsRight = { 'ltnk', 'bike', 'e1', 'e1', 'e3', 'e3' }
NodStartUnitsLeft = { 'ltnk', 'ltnk', 'bggy', 'e1', 'e1', 'e1', 'e1', 'e3', 'e3', 'e3', 'e3' }
Chn1Units = { 'e1', 'e1', 'e1', 'e1', 'e1' }
Chn2Units = { 'e2', 'e2', 'e2', 'e2', 'e2' }
Obj2Units = { 'ltnk', 'bike', 'e1', 'e1', 'e1' }
Chn3CellTriggerActiva... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Bastok_Mines/npcs/Roh_Latteh.lua | 3 | 2480 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Roh Latteh
-- Involved in Quest: Mom, The Adventurer?
-- Finishes Quest: The Signpost Marks the Spot
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Temenos/mobs/Skadi.lua | 16 | 1193 | -----------------------------------
-- Area: Temenos N T
-- NPC: Skadi
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-------------------------------... | gpl-3.0 |
kidaa/lua-lluv | test/test-udp-send-ctx.lua | 4 | 1187 | local uv = require"lluv"
local host, port = "127.0.0.1", 5555
local server = uv.udp():bind(host,port)
print(server:start_recv(function(self, err, msg, flag, host, port)
if err then
print("Server error:", err)
return server:close()
end
print("Server read:", msg, host, port)
server:send(host, port, ms... | mit |
correa/domoticz | dzVents/runtime/device-adapters/generic_device.lua | 1 | 6100 | local Time = require('Time')
local TimedCommand = require('TimedCommand')
-- some states will be 'booleanized'
local function stateToBool(state, _states)
state = string.lower(state)
local info = _states[state]
local b
if (info) then
b = _states[state]['b']
end
if (b == nil) then b = false end
return b
end
l... | gpl-3.0 |
nagyist/assembla-ltrplugins | trunk/Hello(Gen-Rel)World/Hello(Released)World.lrplugin/Init.lua | 1 | 2736 | --[[
Init.lua (plugin initialization module)
--]]
-- Unstrictify _G
local mt = getmetatable( _G ) or {}
mt.__newIndex = function( t, n, v )
rawset( t, n, v )
end
mt.__index = function( t, n )
return rawget( t, n )
end
setmetatable( _G, mt )
-- I N I T I A L I Z E L O A D E R
do
local LrPath... | artistic-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/items/plate_of_patlican_salata.lua | 3 | 1102 | -----------------------------------------
-- ID: 5582
-- Item: plate_of_patlican_salata
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 4
-- Vitality -1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Kazham/npcs/Gatih_Mijurabi.lua | 4 | 1031 | -----------------------------------
-- Area: Kazham
-- NPC: Gatih Mijurabi
-- Type: Standard NPC
-- @zone: 250
-- @pos: 58.249 -13.086 -49.084
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
------------------... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/spells/bluemagic/terror_touch.lua | 4 | 1170 | require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/bluemagic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,target,spell)
return 0;
end;
function onSpellCast(caster,target,spell)
... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | In Development/servius_development/tfa_training_weapons/expanded_pack/lua/weapons/tfa_westar_plain_training/shared.lua | 1 | 2670 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "Westar : CWA"
SWEP.Author = "TFA, Servius"
SWEP.ViewModelFOV = 50
SWEP.Slot = 2
SWEP.SlotPos = 3
end
SWEP.Base = "tfa_swsft_base_servius_training"
SWEP.Category = "TFA Star Wars: Training"
SWEP.Spawnabl... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Middle_Delkfutts_Tower/npcs/qm1.lua | 17 | 1563 | -----------------------------------
-- Area: Middle Delfutt's Tower
-- NPC: ??? (qm1)
-- Involved In Quest: Blade of Evil
-- @pos 84 -79 77 157
-----------------------------------
package.loaded["scripts/zones/Middle_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
aunderwo/GameWithNoName | pl/stringx.lua | 4 | 14666 | --- Python-style extended string library.
--
-- see 3.6.1 of the Python reference.
-- If you want to make these available as string methods, then say
-- `stringx.import()` to bring them into the standard `string` table.
--
-- See @{03-strings.md|the Guide}
--
-- Dependencies: `pl.utils`
-- @module pl.stringx
local util... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Upper_Jeuno/npcs/Laila.lua | 2 | 2355 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Laila
-- Type: Job Quest Giver
-- @zone: 244
-- @pos: -54.045 -1 100.996
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
--------------------... | gpl-3.0 |
NDOrg/qghl2rp | plugins/tying/items/sh_tie.lua | 3 | 1401 | ITEM.name = "Zip Tie"
ITEM.desc = "An orange zip-tie used to restrict players."
ITEM.price = 50
ITEM.model = "models/items/crossbowrounds.mdl"
ITEM.factions = {FACTION_CP, FACTION_OW}
ITEM.functions.Use = {
onRun = function(item)
if (item.beingUsed) then
return false
end
local client = item.player
local da... | gpl-2.0 |
bright-things/ionic-luci | protocols/luci-proto-ipv6/luasrc/model/network/proto_4x6.lua | 45 | 1415 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Copyright 2013 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local netmod = luci.model.network
local _, p
for _, p in ipairs({"dslite", "map", "464xlat"}) do
local proto = netmod:register_protocol(p)
function proto.... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Dynamis-Xarcabard/Zone.lua | 28 | 2645 | -----------------------------------
--
-- Zone: Dynamis-Xarcabard
--
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
------------... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Ranguemont_Pass/Zone.lua | 2 | 1348 | -----------------------------------
--
-- Zone: Ranguemont_Pass (166)
--
-----------------------------------
package.loaded["scripts/zones/Ranguemont_Pass/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Ranguemont_Pass/TextIDs");
-----------------------------------
-- onInitialize
-------... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Windurst_Woods/npcs/Roberta.lua | 17 | 2132 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Roberta
-- Working 100%
-- @zone 241
-- @pos 21 -4 -157
-----------------------------------
require("scripts/globals/settings");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTr... | gpl-3.0 |
premake/premake-core | binmodules/luasocket/etc/lp.lua | 45 | 11516 | -----------------------------------------------------------------------------
-- LPD support for the Lua language
-- LuaSocket toolkit.
-- Author: David Burgess
-- Modified by Diego Nehab, but David is in charge
-----------------------------------------------------------------------------
--[[
if you have any ques... | bsd-3-clause |
Sonicrich05/FFXI-Server | scripts/zones/Port_Bastok/npcs/Mine_Konte.lua | 17 | 1121 | -----------------------------------
-- Area: Port Bastok
-- NPC: Mine Konte
-- Involved in Quest: Out of One's Shell
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc... | gpl-3.0 |
fruitwasp/DarkRP | gamemode/modules/language/sh_english.lua | 2 | 24310 | --[[-----------------------------------------------------------------------
English (example) language file
---------------------------------------------------------------------------
This is the english language file. The things on the left side of the equals sign are the things you should leave alone
The parts betwe... | mit |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/La_Theine_Plateau/npcs/Cavernous_Maw.lua | 2 | 1236 | -----------------------------------
-- Cavernous Maw
-- Teleport aby latheine
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/telep... | gpl-3.0 |
SimCMinMax/EasyRaid | HeroRotation_Warrior/Overrides.lua | 1 | 2062 | --- ============================ HEADER ============================
-- HeroLib
local HL = HeroLib
local Cache = HeroCache
local Unit = HL.Unit
local Player = Unit.Player
local Pet = Unit.Pet
local Target = Unit.Target
local Spell = HL.Spell
local Item = HL.Item
-- HeroRotation
local HR = Hero... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Northern_San_dOria/npcs/Cauzeriste.lua | 2 | 1189 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Cauzeriste
-- Guild Merchant NPC: Woodworking Guild
-- @zone 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/mobskills/Wind_Shear_ZNM.lua | 25 | 1125 | ---------------------------------------------
-- Wind Shear
--
-- Description: Deals damage to enemies within an area of effect. Additional effect: Knockback
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: 10' radial
-- Notes: The knockback is rather severe. Vulpangue uses an enhanced ver... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/weaponskills/infernal_scythe.lua | 4 | 1498 | -----------------------------------
-- Infernal Scythe
-- Scythe weapon skill
-- Skill Level: 300
-- Deals darkness elemental damage and lowers target's attack. Duration of effect varies with TP.
-- Attack Down effect is -25% attack.
-- Aligned with the Shadow Gorget & Aqua Gorget.
-- Aligned with the Shadow Belt & A... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/The_Garden_of_RuHmet/npcs/_0z0.lua | 17 | 1895 | -----------------------------------
-- Area: The_Garden_of_RuHmet
-- NPC: _0z0
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/The_Garden_of_RuHmet/TextIDs");... | gpl-3.0 |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader/[TFA][AT] Expanded Pack/lua/weapons/tfa_e11/shared.lua | 1 | 4378 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "E-11"
SWEP.Author = "TFA, Servius"
SWEP.ViewModelFOV = 70
SWEP.Slot = 2
SWEP.SlotPos = 3
end
SWEP.Base = "tfa_3dscoped_base"
SWEP.Category = "TFA Star Wars"
SWEP.Spawnable = true
SWEP.AdminSpawnable = true
SWEP.HoldType = ... | apache-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/RuLude_Gardens/npcs/Nelcabrit.lua | 4 | 2745 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Nelcabrit
-- Involved in Mission: San d'Oria 3-3, 4-1
-- @pos -32 9 -49 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
--------------------------... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/globals/bcnm.lua | 2 | 22724 | require("scripts/globals/status");
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("scripts/globals/quests");
-- NEW SYSTEM BCNM NOTES
-- The "core" functions TradeBCNM EventUpdateBCNM EventTriggerBCNM EventFinishBCNM all return TRUE if the action performed is covered by the function.... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/spells/exuviation.lua | 18 | 1244 | -----------------------------------------
-- Spell: Exuviation
-- Restores HP and removes one detrimental magic effect.
-- Can be used with Diffusion.
-- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html
-----------------------------------------
require("scripts/globals/settin... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Oldton_Movalpolos/npcs/Treasure_Chest.lua | 19 | 3010 | -----------------------------------
-- Area: Oldton Movalpolos
-- NPC: Treasure Chest
-- @zone 11
-----------------------------------
package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/globals/items/bowl_of_cursed_soup.lua | 35 | 1602 | -----------------------------------------
-- ID: 4235
-- Item: Bowl of Cursed Soup
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength -7
-- Dexterity -7
-- Agility -7
-- Vitality -7
-- Intelligence -7
-- Mind -7
-- Charisma -7
-----------------------------------------
... | gpl-3.0 |
FelixPe/nodemcu-firmware | lua_examples/ucglib/GT_clip.lua | 7 | 2166 | -- luacheck: globals T r disp millis lcg_rnd
local M, module = {}, ...
_G[module] = M
function M.run()
-- make this a volatile module:
package.loaded[module] = nil
print("Running component clip...")
disp:setColor(0, 0x00, 0xd1, 0x5e) -- dark green
disp:setColor(1, 0xff, 0xf7, 0x61) -- yellow
... | mit |
patverga/torch-relation-extraction | bin/process/util/WordEmbedding2Torch.lua | 1 | 2728 | --
-- User: pat
-- Date: 9/17/15
--
require 'torch'
--[[
Takes a word embedding file and a vocab2index map file and exports a tac
tensor containing all words from the vocab map initialized from the word embedding
file when it exists, or randomly in [-.1,.1] otherwise
]]--
local cmd = torch.CmdLine()
cmd:... | mit |
bright-things/ionic-luci | applications/luci-app-radvd/luasrc/model/cbi/radvd/dnssl.lua | 61 | 2025 | -- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local sid = arg[1]
local utl = require "luci.util"
m = Map("radvd", translatef("Radvd - DNSSL"),
translate("Radvd is a router advertisement daemon for IPv6. " ..
"It listens to router solicitations and sends... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/Windurst_Waters_[S]/npcs/Renten-Tonten.lua | 38 | 1053 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Renten-Tonten
-- Type: Standard NPC
-- @zone: 94
-- @pos 133.840 -6.75 173.305
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Windurst_Waters_[S]/npcs/Pebul-Tabul.lua | 38 | 1048 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Pebul-Tabul
-- Type: Standard NPC
-- @zone: 94
-- @pos -68.500 -4.5 3.694
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-... | gpl-3.0 |
mehrpouya81/gamer3 | 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 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Port_San_dOria/npcs/Miene.lua | 2 | 2763 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Miene
-- NPC for Quest "The Pickpocket"
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/settings");
requ... | gpl-3.0 |
aunderwo/GameWithNoName | Dusk/dusk_core/external/crc32lua.lua | 5 | 3210 | --[[
dmlib.crc32
CRC-32 checksum implemented entirely in Lua. This is similar to [1-2].
References
[1] http://www.axlradius.com/freestuff/CRC32.java
[2] http://www.gamedev.net/reference/articles/article1941.asp
[3] http://java.sun.com/j2se/1.5.0/docs/api/java/util/zip/CRC32.html
[4] http://www.dsource.org/proj... | mit |
Sonicrich05/FFXI-Server | scripts/globals/abilities/pets/healing_breath_ii.lua | 18 | 1467 | ---------------------------------------------------
-- Healing Breath II
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onAbil... | gpl-3.0 |
moquist/raft.js | research_class/pgfplots/tex/generic/pgfplots/lua/pgfplots/pgfplotstexio.lua | 4 | 16825 | -- This file has dependencies to BOTH, the TeX part of pgfplots and the LUA part.
-- It is the only LUA component with this property.
--
-- Its purpose is to encapsulate the communication between TeX and LUA in a central LUA file
--
--
-- Here is the idea how the TeX backend communicates with the LUA backend:
--
-- * T... | mpl-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Windurst_Walls/npcs/_6n8.lua | 4 | 1254 | -----------------------------------
-- Area: Windurst Walls
-- Door: Priming Gate
-- Involved in quest: Toraimarai Turmoil
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/Windurst_Walls/TextIDs");
-----------------------------------
... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Port_San_dOria/npcs/Home_Point.lua | 4 | 1145 | -----------------------------------
-- Area: Port San d`Oria
-- NPC: Home Point
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("scripts/zones/Port_San_dOria/TextIDs");
-----------------------------------
-- onTrade Action
... | gpl-3.0 |
mandrav/moai_pex_editor | src/color_dialog.lua | 1 | 3585 | module(..., package.seeall)
local PAD = 10
function onCreate(e)
local width = (type(e.size) == "table" and e.size and e.size[1]) or 480
local height = (type(e.size) == "table" and e.size and e.size[2]) or 320
local colorNames = {"Red", "Green", "Blue"}
print(width, height)
color = e.value or ... | mit |
Sonicrich05/FFXI-Server | scripts/zones/Qulun_Dome/mobs/Diamond_Quadav.lua | 27 | 1447 | -----------------------------------
-- Area: Qulun_Dome
-- NM: Diamond_Quadav
-- Note: PH for Za Dha Adamantking PH
-----------------------------------
require("scripts/zones/Qulun_Dome/TextIDs");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMo... | gpl-3.0 |
Dual-Boxing/Jamba | Libs/UTF8/utf8.lua | 2 | 8257 | -- $Id: utf8.lua 179 2009-04-03 18:10:03Z pasta $
--
-- Provides UTF-8 aware string functions implemented in pure lua:
-- * string.utf8len(s)
-- * string.utf8sub(s, i, j)
-- * string.utf8reverse(s)
--
-- If utf8data.lua (containing the lower<->upper case mappings) is loaded, these
-- additional functions are available:... | mit |
SnakeSVx/spacebuild | lua/entities/storage_liquid_water/init.lua | 5 | 2731 | AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include('shared.lua')
--ToDo: Add HeatUP? = toSteam
function ENT:Initialize()
self.BaseClass.Initialize(self)
self.damaged = 0
self.vent = false
if not (WireAddon == nil) then
self.WireDebugName = self.PrintName
self.Inputs = Wire... | apache-2.0 |
Servius/tfa-sw-weapons-repository | Live Addons/servius_uploader_legacy/tfa_swrp_mega_pack/lua/weapons/tfa_swch_ll30/shared.lua | 1 | 3391 | if ( SERVER ) then
AddCSLuaFile( "shared.lua" )
end
if ( CLIENT ) then
SWEP.PrintName = "LL-30"
SWEP.Author = "TFA, Servius"
SWEP.ViewModelFOV = 70
SWEP.Slot = 1
SWEP.SlotPos = 5
SWEP.WepSelectIcon = surface.GetTextureID("HUD/killicons/LL30")
killicon.Add( "weapon_752_ll30", "HUD/killicons/L... | apache-2.0 |
Sonicrich05/FFXI-Server | scripts/zones/PsoXja/npcs/_09e.lua | 17 | 1614 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _09e (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos -330.000 14.074 -261.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Pso... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Cape_Teriggan/Zone.lua | 2 | 1846 | -----------------------------------
--
-- Zone: Cape_Teriggan (113)
--
-----------------------------------
package.loaded[ "scripts/zones/Cape_Teriggan/TextIDs"] = nil;
require("scripts/zones/Cape_Teriggan/TextIDs");
require("scripts/globals/icanheararainbow");
require("scripts/globals/weather");
-------------------... | gpl-3.0 |
kyroskoh/kong | spec/integration/dao/cassandra/migrations_spec.lua | 7 | 6857 | local DAO = require "kong.dao.cassandra.factory"
local cassandra = require "cassandra"
local Migrations = require "kong.tools.migrations"
local spec_helper = require "spec.spec_helpers"
--
-- Stubs, instanciation and custom assertions
--
local TEST_KEYSPACE = "kong_migrations_tests"
local PLUGIN_MIGRATIONS_STUB = req... | apache-2.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Qufim_Island/npcs/Tsonga-Hoponga_WW.lua | 4 | 2900 | -----------------------------------
-- Area: Qufim Island
-- NPC: Tsonga-Hoponga, W.W.
-- Outpost Conquest Guards
-- @pos -245.366 -20.344 299.502 126
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest")... | gpl-3.0 |
kidaa/ffxinfinity | FFXI Server-Development/Build Files/scripts/zones/Southern_San_dOria/npcs/Miogique.lua | 6 | 2052 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Miogique
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop");
requ... | gpl-3.0 |
Sonicrich05/FFXI-Server | scripts/zones/Nashmau/npcs/Porter_Moogle.lua | 41 | 1514 | -----------------------------------
-- Area: Nashmau
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 53
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scrip... | gpl-3.0 |
cwarden/mysql-proxy | lib/active-transactions.lua | 40 | 2468 | --[[ $%BEGINLICENSE%$
Copyright (c) 2008, 2009, 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 |
Igdra/darkstar | scripts/globals/weaponskills/steel_cyclone.lua | 26 | 1617 | -----------------------------------
-- Steel Cyclone
-- Great Axe weapon skill
-- Skill level: 240
-- Delivers a single-hit attack. Damage varies with TP.
-- In order to obtain Steel Cyclone, the quest The Weight of Your Limits must be completed.
-- Will stack with Sneak Attack.
-- Aligned with the Breeze Gorget, Aqua ... | gpl-3.0 |
Bo98/DarkRP | gamemode/modules/f1menu/cl_chatcommandlabel.lua | 13 | 1205 | local PANEL = {}
local green = Color(0, 150, 0)
local red = Color(160, 20, 20)
function PANEL:Init()
self:SetFont("DarkRPHUD2")
self:SetColor(green)
self:DockMargin(0, 5, 0, 0)
end
function PANEL:setChatCommand(command)
self.chatCommand = command
local text = string.format("%s%s - %s", GAMEMODE.C... | mit |
Igdra/darkstar | scripts/globals/mobskills/Haymaker.lua | 33 | 1189 | ---------------------------------------------
-- Haymaker
--
-- Description: Punches the daylights out of all targets in front. Additional effect: Amnesia
-- Type: Physical
-- Utsusemi/Blink absorb: Unknown
-- Range: Front cone
-- Notes: Only used by Gurfurlur the Menacing.
---------------------------------------... | gpl-3.0 |
seem-sky/fceuxd | output/luaScripts/PunchOutStats.lua | 3 | 2171 | --Mike Tyson's Punch Out!!
--Shows Oppoenent & Mac's Health and damage amounts.
--adelikat
local EHP = 0x0398 -- Enemy HP address
local EHPx= 178
local EHPy= 14
local EnemyHP = 0
local lastEHP = 0
local MHP = 0x0391 -- Mac HP address
local MHPx = 122
local MHPy = 14
local MacHP = 0
local lastMHP = 0
local OppKnock... | gpl-2.0 |
Igdra/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/_mf8.lua | 14 | 1429 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: _mf8 (Granite Door)
-- Notes: Opens with Prelate Key
-- @pos -11 -8 -99 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Templ... | gpl-3.0 |
mmdk95/cuberite | MCServer/Plugins/APIDump/Hooks/OnWeatherChanging.lua | 42 | 1369 | return
{
HOOK_WEATHER_CHANGING =
{
CalledWhen = "The weather is about to change",
DefaultFnName = "OnWeatherChanging", -- also used as pagename
Desc = [[
This hook is called when the current weather has expired and a new weather is selected. Plugins may
override the new weather being set.</p>
<p>
T... | apache-2.0 |
Igdra/darkstar | scripts/globals/spells/shellra_v.lua | 26 | 1101 | -----------------------------------------
-- Spell: Shellra
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spel... | gpl-3.0 |
Igdra/darkstar | scripts/zones/Yhoator_Jungle/npcs/qm2.lua | 14 | 1953 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: ??? Used for Norg quest "Stop Your Whining"
-- @pos -94.073 -0.999 22.295 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
r... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/weaponskills/tachi_kasha.lua | 18 | 1884 | -----------------------------------
-- Tachi Kasha
-- Great Katana weapon skill
-- Skill Level: 250
-- Paralyzes target. Damage varies with TP.
-- Paralyze effect duration is 60 seconds when unresisted.
-- In order to obtain Tachi: Kasha, the quest The Potential Within must be completed.
-- Will stack with Sneak Attack... | gpl-3.0 |
Igdra/darkstar | scripts/globals/weaponskills/sickle_moon.lua | 25 | 1727 | -----------------------------------
-- Sickle Moon
-- Great Sword weapon skill
-- Skill level: 200
-- Delivers a two-hit attack. Damage varies with TP.
-- Modifiers: STR:40% ; AGI:40%
-- 100%TP 200%TP 300%TP
-- 1.5 2 2.75
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
mohammad4g/woomo | plugins/stats.lua | 43 | 4082 | do
-- Returns a table with `name` and `msgs`
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_prin... | gpl-2.0 |
Igdra/darkstar | scripts/globals/items/plate_of_salmon_sushi_+1.lua | 18 | 1470 | -----------------------------------------
-- ID: 5664
-- Item: plate_of_salmon_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 2
-- Accuracy % 15
-- Ranged ACC % 15
-----------------------------------------
require("scripts/globals/status");
----------------------------... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/zones/halfling-ruins/npcs.lua | 2 | 5009 | -- 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 |
kjl2y/darkstar | scripts/globals/items/handful_of_bloody_chocolate.lua | 18 | 1149 | -----------------------------------------
-- ID: 5646
-- Item: handful_of_bloody_chocolate
-- Food Effect: 1hour, All Races
-----------------------------------------
-- MP Recovered While Healing 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Nashmau/npcs/Pyopyoroon.lua | 28 | 2129 | -----------------------------------
-- Area: Nashmau
-- NPC: Pyopyoroon
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/settings");
require("scripts/glo... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Lufaise_Meadows/npcs/Chilaumme_RK.lua | 13 | 3328 | -----------------------------------
-- Area: Lufaise Meadows
-- NPC: Chilaumme, R.K.
-- Border Conquest Guards
-- @pos 414.659 0.905 -52.417 24
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
re... | gpl-3.0 |
mattrudder/tundra | scripts/tundra/tools/vbcc.lua | 25 | 1563 | module(..., package.seeall)
local native = require "tundra.native"
function apply(env, options)
-- load the generic C toolset first
tundra.unitgen.load_toolset("generic-cpp", env)
-- Also add assembly support.
tundra.unitgen.load_toolset("generic-asm", env)
local vbcc_root = assert(native.getenv("VBCC"), "... | gpl-3.0 |
l0k1/naev | dat/missions/empire/emp_cargo00.lua | 2 | 3677 | --[[
Simple cargo mission that opens up the Empire cargo missions.
Author: bobbens
minor edits by Infiltrator
]]--
include "dat/scripts/numstring.lua"
include "dat/scripts/jumpdist.lua"
bar_desc = _("You see an Empire Lieutenant who seems to be looking at you.")
misn_title = _("Empire Recruitment")
mis... | gpl-3.0 |
Igdra/darkstar | scripts/globals/mobskills/Pyric_Bulwark.lua | 27 | 1086 | ---------------------------------------------
-- Pyric Bulwark
--
-- Description: Grants a Physical Shield effect for a time.
-- Type: Enhancing
--
-- Range: Self
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstert... | gpl-3.0 |
kjl2y/darkstar | scripts/globals/mobskills/Pyric_Bulwark.lua | 27 | 1086 | ---------------------------------------------
-- Pyric Bulwark
--
-- Description: Grants a Physical Shield effect for a time.
-- Type: Enhancing
--
-- Range: Self
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstert... | gpl-3.0 |
kjl2y/darkstar | scripts/zones/Yuhtunga_Jungle/npcs/Richacha_WW.lua | 13 | 3328 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Richacha, W.W.
-- Border Conquest Guards
-- @pos -241.334 -1 478.602 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
requ... | gpl-3.0 |
festevezga/ToME---t-engine4 | game/modules/tome/data/zones/reknor/events.lua | 3 | 1172 | -- 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 |
liu1s/redis-storage | deps/lua/src/jit/v.lua | 17 | 5614 | ----------------------------------------------------------------------------
-- Verbose mode of the LuaJIT compiler.
--
-- Copyright (C) 2005-2012 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
-------------------------------------------------------------------------... | bsd-3-clause |
festevezga/ToME---t-engine4 | game/modules/tome/data/gfx/particles/mucus.lua | 2 | 1503 | -- 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.