repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
starlightknight/darkstar | scripts/globals/items/beluga.lua | 12 | 1066 | -----------------------------------------
-- ID: Beluga
-- Beluga
-- Additional Effect: Ice Damage
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------
function onAdditionalEffect(player,target,da... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/items/bowl_of_goulash.lua | 11 | 1252 | -----------------------------------------
-- ID: 5750
-- Item: bowl_of_goulash
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- VIT +3
-- INT -2
-- Accuracy +10% (cap 54)
-- DEF +10% (cap 30)
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/weaponskills/avalanche_axe.lua | 10 | 1392 | -----------------------------------
-- Avalanche Axe
-- Axe weapon skill
-- Skill level: 100
-- Delivers a single-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget & Thunder Gorget.
-- Aligned with the Soil Belt & Thunder Belt.
-- Element: None
-- Modifiers: STR:30%
-- ... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/abilities/tranquility.lua | 4 | 1196 | -----------------------------------
-- Ability: Tranquility
-- Your next white magic spell will generate less enmity.
-- Obtained: Scholar Level 75 Tier 2 Merit Points
-- Recast Time: Stratagem Charge
-- Duration: 1 white magic spell or 60 seconds, whichever occurs first
--
-- Level |Charges |Recharge Time per Charge... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Port_San_dOria/npcs/Coullave.lua | 17 | 1986 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Coullave
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/globals/quests");... | gpl-3.0 |
keplerproject/luarocks | src/luarocks/cmd/init.lua | 1 | 5373 |
local init = {}
local cfg = require("luarocks.core.cfg")
local fs = require("luarocks.fs")
local path = require("luarocks.path")
local deps = require("luarocks.deps")
local dir = require("luarocks.dir")
local util = require("luarocks.util")
local persist = require("luarocks.persist")
local write_rockspec = require("l... | mit |
pedro-andrade-inpe/terrame | packages/base/examples/deforestation.lua | 3 | 4809 | -- @example Amazonia deforestation models. It uses a top-down approach
-- with three strategies to compute deforestation potential.
-- The first strategy compute the deforestation potential based on
-- the deforestation of neighbor cells. The second one uses the result
-- of a statistical regression using distance to u... | lgpl-3.0 |
gedads/Neodynamis | 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 |
gedads/Neodynamis | scripts/zones/Qulun_Dome/mobs/Za_Dha_Adamantking.lua | 3 | 1289 | -----------------------------------
-- Area: Qulun Dome
-- NM: Za Dha Adamantking
-----------------------------------
require("scripts/globals/titles");
require("scripts/zones/Qulun_Dome/TextIDs");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)... | gpl-3.0 |
boliu/synchronicity | share/lua/modules/simplexml.lua | 103 | 3732 | --[==========================================================================[
simplexml.lua: Lua simple xml parser wrapper
--[==========================================================================[
Copyright (C) 2010 Antoine Cellerier
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
This progra... | gpl-2.0 |
gedads/Neodynamis | scripts/globals/abilities/hunters_roll.lua | 1 | 2602 | -----------------------------------
-- Ability: Hunter's Roll
-- Enhances accuracy and ranged accuracy for party members within area of effect
-- Optimal Job: Ranger
-- Lucky Number: 4
-- Unlucky Number: 8
-- Level: 11
--
-- Die Roll |Without RNG |With RNG
-- -------- ------------ -------
-- 1 |+10 ... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Chateau_dOraguille/npcs/Rahal.lua | 3 | 6319 | -----------------------------------
-- Area: Chateau d'Oraguille
-- NPC: Rahal
-- Involved in Quests: The Holy Crest, Lure of the Wildcat (San d'Oria)
-- !pos -28 0.1 -6 233
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Nashmau/npcs/Fhe_Maksojha.lua | 9 | 1768 | -----------------------------------
-- Area: Nashmau
-- NPC: Fhe Maksojha
-- Type: Standard NPC
-- !pos 19.084 -7 71.287 53
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
local ID = require("scripts/zones/Nashmau/IDs");
-----------------------------------
f... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Labyrinth_of_Onzozo/mobs/Goblin_Shepherd.lua | 3 | 1216 | -----------------------------------
-- Area: Labyrinth of Onzozo
-- MOB: Goblin Shepherd
-- Note: Place holder Soulstealer Skullnix
-----------------------------------
require("scripts/globals/groundsofvalor");
require("scripts/zones/Labyrinth_of_Onzozo/MobIDs");
-----------------------------------
-- onMobDeath
---... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Kamihr_Drifts/Zone.lua | 17 | 1219 | -----------------------------------
--
-- Zone: Kamihr Drifts
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Kamihr_Drifts/TextIDs"] = nil;
require("scripts/zones/Kamihr_Drifts/TextIDs");
-----------------------------------
-- onInitialize
----------------... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Lower_Jeuno/npcs/Mataligeat.lua | 9 | 1354 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Mataligeat
-- Standard Info NPC
-- !pos -24 0 -60 245
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigger(player,npc)
local painfulMemory = player:getQuestStatus(JEUNO,dsp.quest.id.jeuno.PAINFUL_MEMORY);
... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Norg/npcs/Shivivi.lua | 3 | 3175 | -----------------------------------
-- Area: Norg
-- NPC: Shivivi
-- Starts Quest: Secret of the Damp Scroll
-- @zone 252
-- !pos 68.729 -6.281 -6.432
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require... | gpl-3.0 |
SuperStarPL/PonyPlayerModels | pony_player_models/lua/ppm/bonesystem.lua | 2 | 12773 |
if CLIENT then
function PPM.setupBones(ent)
if !PPM.isValidPonyLight(ent) then return end
end
PPM.skeletons= {}
function PPM.parseSkeleton(skn,str)
local sceleton = {}
local lines = string.Split(str,"\n")
//MsgN("scel decomp")
for i=1,table.Count( lines) do
local arms = string.Split(lines[i]," "... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Southern_San_dOria/npcs/Esmallegue.lua | 3 | 1528 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Esmallegue
-- General Info NPC
-- @zone 230
-- !pos 0 2 -83
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria/Tex... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Jugner_Forest_[S]/npcs/qm6.lua | 3 | 1944 | -----------------------------------
-- Area: Jugner Forest (S)
-- NPC: ???
-- Type: Quest NPC
-- !pos 68 -0.5 324 82
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Jugner_Forest_[S]/TextIDs");
require("... | gpl-3.0 |
shiyou0130011/CLONED-google-diff-match-patch | lua/diff_match_patch.lua | 265 | 73869 | --[[
* Diff Match and Patch
*
* Copyright 2006 Google Inc.
* http://code.google.com/p/google-diff-match-patch/
*
* Based on the JavaScript implementation by Neil Fraser.
* Ported to Lua by Duncan Cross.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance ... | apache-2.0 |
gedads/Neodynamis | scripts/zones/Sacrificial_Chamber/npcs/_4j4.lua | 8 | 1408 | -----------------------------------
-- Area: Sacrificial Chamber
-- NPC: Mahogany Door
-- !pos 300 30 -324 163
-------------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missio... | gpl-3.0 |
keplerproject/luarocks | src/luarocks/admin/cmd/make_manifest.lua | 2 | 1717 |
--- Module implementing the luarocks-admin "make_manifest" command.
-- Compile a manifest file for a repository.
local make_manifest = {}
local writer = require("luarocks.manif.writer")
local index = require("luarocks.admin.index")
local cfg = require("luarocks.core.cfg")
local util = require("luarocks.util")
local d... | mit |
gedads/Neodynamis | scripts/globals/items/serving_of_monastic_sautee.lua | 12 | 1320 | -----------------------------------------
-- ID: 4293
-- Item: serving_of_monastic_sautee
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Agility 1
-- Ranged ACC % 7
-- Ranged ACC Cap 20
-----------------------------------------
require("scripts/globals/status");
-----------------------... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/mobskills/high-tension_discharger.lua | 15 | 1365 | ---------------------------------------------------
-- High-Tension_Discharger
-- Description: Discharges a powerful current that deals Lightning damage to players in a fan-shaped area.
-- Additional effect: Stun
-- Type: Magical
---------------------------------------------
require("scripts/globals/monstertpmoves");
... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/RuLude_Gardens/npcs/Dabih_Jajalioh.lua | 12 | 1452 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Dabih Jajalioh
-- Standard Merchant NPC
-- TODO: Add support for occasional stock.
-----------------------------------
local ID = require("scripts/zones/RuLude_Gardens/IDs")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
fun... | gpl-3.0 |
Craige/prosody-modules | mod_couchdb/couchdb/couchapi.lib.lua | 32 | 2213 |
local setmetatable = setmetatable;
local pcall = pcall;
local type = type;
local t_concat = table.concat;
local print = print;
local socket_url = require "socket.url";
local http = require "socket.http";
local ltn12 = require "ltn12";
--local json = require "json";
local json = module:require("couchdb/js... | mit |
starlightknight/darkstar | scripts/globals/items/plate_of_salmon_sushi_+1.lua | 11 | 1294 | -----------------------------------------
-- ID: 5664
-- Item: plate_of_salmon_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 2
-- Accuracy % 15 (cap 72)
-- Ranged ACC % 15 (cap 72)
-- Resist Sleep +2
-----------------------------------------
require("scripts/globals/sta... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Caedarva_Mire/npcs/Kwadaaf.lua | 3 | 1411 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Kwadaaf
-- Type: Entry to Alzadaal Undersea Ruins
-- !pos -639.000 12.323 -260.000 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitem... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/mobskills/crystal_weapon.lua | 37 | 1031 | ---------------------------------------------
-- Crystal Weapon
--
-- Description: Invokes the power of a crystal to deal magical damage of a random element to a single target.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown
-- Notes: Can be Fire, Earth, Wind, or Water element. Funct... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/items/slice_of_juicy_mutton.lua | 11 | 1089 | -----------------------------------------
-- ID: 4335
-- Item: slice_of_juicy_mutton
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Strength 3
-- Intelligence -1
-- Attack % 27
-- Attack Cap 35
-----------------------------------------
require("scripts/globals/status")
require("scripts/g... | gpl-3.0 |
DEVSTAEM/TAEMNEW | plugins/setwelcome.lua | 1 | 1680 | local function run(msg, matches, callback, extra)
local data = load_data(_config.moderation.data)
local group_welcome = data[tostring(msg.to.id)]['group_welcome']
-------------------------- Data Will be save on Moderetion.json
if matches[1] == 'حذف الترحيب' and not matches[2] and is_owner(msg) then
data[tostr... | gpl-2.0 |
pravsingh/Algorithm-Implementations | Selection_Sort/Lua/Yonaba/selection_sort_test.lua | 27 | 1395 | -- Tests for selection_sort.lua
local selection_sort = require 'selection_sort'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass +... | mit |
gedads/Neodynamis | scripts/globals/mobskills/gregale_wing.lua | 33 | 1230 | ---------------------------------------------
-- 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 by Jormungand and Isgebind
----... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Silver_Sea_route_to_Nashmau/npcs/Jidwahn.lua | 3 | 1216 | -----------------------------------
-- Area: Silver sea route to Mhaura
-- NPC: Jidwahn
-- Guild Merchant NPC: Fishing Guild
-- !pos 4.986 -2.101 -12.026 58
-----------------------------------
package.loaded["scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/spells/bluemagic/awful_eye.lua | 5 | 1651 | -----------------------------------------
-- Spell: Awful Eye
-- Lowers Strength of enemies within a fan-shaped area originating from the caster
-- Spell cost: 32 MP
-- Monster Type: Lizards
-- Spell Type: Magical (Water)
-- Blue Magic Points: 2
-- Stat Bonus: MND+1
-- Level: 46
-- Casting Time: 2.5 seconds
-- Recast T... | gpl-3.0 |
mishin/Algorithm-Implementations | Lempel_Ziv_Welch/Lua/Yonaba/lzw_test.lua | 26 | 1030 | -- Tests for lzw.lua
local lzw = require 'lzw'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 end
local status = ok... | mit |
millerlogic/irccmd | lua/sockets.lua | 1 | 12964 | -- Copyright 2012-2014 Christopher E. Miller
-- License: GPLv2, see LICENSE file.
require("irccmd_internal")
require("utils")
SocketBase = class()
function SocketBase:init(socket)
-- print("Initializing SocketBase")
self._sock = socket or "N/A"
end
function SocketBase:blocking(byes)
return internal.socket_block... | gpl-2.0 |
gedads/Neodynamis | scripts/zones/Lower_Jeuno/npcs/HomePoint#1.lua | 3 | 1263 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: HomePoint#1
-- !pos -98.588 0.001 -183.416 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Lower_Jeuno/TextIDs");
require("scripts/globals/ho... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/mobskills/typhoon.lua | 11 | 1159 | ---------------------------------------------
-- Typhoon
--
-- Description: Spins around dealing damage to targets in an area of effect.
-- Type: Physical
-- Utsusemi/Blink absorb: 2-4 shadows
-- Range: 10' radial
-- Notes:
---------------------------------------------
require("scripts/globals/settings")
require(... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/items/slice_of_ziz_meat.lua | 11 | 1070 | -----------------------------------------
-- ID: 5581
-- Item: Slice of Ziz Meat
-- Effect: 5 Minutes, food effect, Galka Only
-----------------------------------------
-- Strength +4
-- Intelligence -6
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
----------... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/spells/bluemagic/frenetic_rip.lua | 35 | 1729 | -----------------------------------------
-- Spell: Frenetic Rip
-- Delivers a threefold attack. Damage varies with TP
-- Spell cost: 61 MP
-- Monster Type: Demon
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 3
-- Stat Bonus: INT+1
-- Level: 63
-- Casting Time: 0.5 seconds
-- Recast Time: 28.5 seconds
-- Skillc... | gpl-3.0 |
ironjade/DevStack | Language/Lua/LuaCodeSegment/Luahelpers.lua | 5 | 2052 | --explode() 类似PHP explode()
--return array
function explode(string, delimiter, limit)
local string = string
local delimiter = delimiter
local limit = limit
if limit == nil then limit = #string end
--print(limit)
local pos = 1
local i = 1
local t = {}
while true do
... | apache-2.0 |
pedro-andrade-inpe/terrame | packages/base/tests/observer/basics/TextScreen.lua | 3 | 3417 | -------------------------------------------------------------------------------------------
-- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling.
-- Copyright (C) 2001-2017 INPE and TerraLAB/UFOP -- www.terrame.org
-- This code is part of the TerraME framework.
-- This framework is f... | lgpl-3.0 |
uziins/uzzbot | 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 |
starlightknight/darkstar | scripts/zones/Metalworks/npcs/Cid.lua | 9 | 12304 | -----------------------------------
-- Area: Metalworks
-- NPC: Cid
-- Starts & Finishes Quest: Cid's Secret, The Usual, Dark Puppet (start), Shoot First, Ask Questions Later
-- Involved in Mission: Bastok 7-1
-- !pos -12 -12 1 237
-----------------------------------
require("scripts/globals/keyitems")
require("script... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Selbina/npcs/Gibol.lua | 3 | 1164 | -----------------------------------
-- Area: Selbina
-- NPC: Gibol
-- Guild Merchant NPC: Clothcrafting Guild
-- !pos 13.591 -7.287 8.569 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scr... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/items/bunch_of_gysahl_greens.lua | 12 | 1609 | -----------------------------------------
-- ID: 4545
-- Item: Bunch of Gysahl Greens
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility +3
-- Vitality -5
-- Additional Effect with Chocobo Shirt
-- Agility +10
-----------------------------------------
require("scripts/globals/status")... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/LaLoff_Amphitheater/npcs/qm0_1.lua | 17 | 1165 | -----------------------------------
-- Area: LaLoff_Amphitheater
-- NPC: qm0 (warp player outside after they win fight)
-------------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
-... | gpl-3.0 |
millerlogic/irccmd | lua/irccmd.lua | 1 | 12898 | #!/usr/bin/env lua
-- Copyright 2012-2014 Christopher E. Miller
-- License: GPLv2, see LICENSE file.
--[=[
Usage: irccmd <address>[:<port>] [<nick> [<alt_nick>]]
nick and alt_nick can contain replacements:
%d for a random digit.
%a for a random alpha char, %A for uppercase.
%n for a random number between 10 a... | gpl-2.0 |
gedads/Neodynamis | scripts/globals/items/meatloaf_+1.lua | 12 | 1386 | -----------------------------------------
-- ID: 5690
-- Item: Meatloaf +1
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- Strength 6
-- Agility 2
-- Intelligence -3
-- Attack 18% Cap 95
-----------------------------------------
require("scripts/globals/status");
------------------------... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Riverne-Site_B01/mobs/Nimbus_Hippogryph.lua | 3 | 1459 | -----------------------------------
-- Area: Riverne - Site B01
-- MOB: Nimbus Hippogryph
-- Note: Place holder Imdugud
-----------------------------------
require("scripts/zones/Riverne-Site_B01/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onMobDeath(mob,... | gpl-3.0 |
pedro-andrade-inpe/terrame | packages/gis/tests/functional/basic/TerraLib.lua | 1 | 12349 | -------------------------------------------------------------------------------------------
-- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling.
-- Copyright (C) 2001-2017 INPE and TerraLAB/UFOP -- www.terrame.org
-- This code is part of the TerraME framework.
-- This framework is f... | lgpl-3.0 |
gedads/Neodynamis | scripts/zones/Sacrificial_Chamber/bcnms/amphibian_assault.lua | 19 | 1761 | -----------------------------------
-- Area: Sacrificial Chamber
-- Name: Amphibian Assualt
-- BCNM60
-----------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Sacrificial_Chamber/TextIDs");
---------------------... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/spells/bio_iii.lua | 3 | 2892 | -----------------------------------------
-- Spell: Bio III
-- Deals dark damage that weakens an enemy's attacks and gradually reduces its HP.
-- caster:getMerit() returns a value which is equal to the number of merit points TIMES the value of each point
-- Bio III value per point is '30' This is a constant set in the ... | gpl-3.0 |
Craige/prosody-modules | mod_listusers/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... | mit |
dendisuhubdy/cardpeek | dot_cardpeek_dir/scripts/lib/en1545.lua | 16 | 7123 | --
-- This file is part of Cardpeek, the smartcard reader utility.
--
-- Copyright 2009-2013 by 'L1L1'
--
-- Cardpeek 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
-- (a... | gpl-3.0 |
GustJc/Meta-Engine-SFML | Meta_Engine/data/scripts/map/BSP tree.lua | 2 | 7685 | -- Baseado no artigo:
-- http://gamedevelopment.tutsplus.com/tutorials/how-to-use-bsp-trees-to-generate-game-maps--gamedev-12268
MIN_LEAF_SIZE = 6
MAX_LEAF_SIZE = 20
drawTime = 10
--Parametros possiveis
-- Chance de dividir salas horizontal
-- Tamanho das salas internas
coolDebug = false
Leaf = {}
... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Giddeus/npcs/Treasure_Chest.lua | 3 | 3045 | -----------------------------------
-- Area: Giddeus
-- NPC: Treasure Chest
--
-- !pos -158.563 0.999 -226.058 145
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
re... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/items/crayfish.lua | 12 | 1445 | -----------------------------------------
-- ID: 4472
-- Item: crayfish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -3
-- Vitality 1
-- defense +10% (unknown cap)
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
pedro-andrade-inpe/terrame | test/packages/models/lua/Utils.lua | 18 | 2352 | --#########################################################################################
-- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling.
-- Copyright (C) 2001-2014 INPE and TerraLAB/UFOP -- www.terrame.org
--
-- This code is part of the TerraME framework.
-- This framework is... | lgpl-3.0 |
ld-test/dromozoa-regexp | test/test_normalize.lua | 3 | 2224 | -- Copyright (C) 2015 Tomoyuki Fujimori <moyu@dromozoa.com>
--
-- This file is part of dromozoa-regexp.
--
-- dromozoa-regexp 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, ... | gpl-3.0 |
alomina007/asli | plugins/arabic_lock.lua | 3 | 1054 |
antiarabic = {}-- An empty table for solving multiple kicking problem
do
local function run(msg, matches)
if is_momod(msg) then -- Ignore mods,owner,admins
return
end
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)]['settings']['lock_arabic'] then
if data[tostring(msg.to.id... | gpl-2.0 |
mslegrand/ta_rmb | lexers/rmd.lua | 1 | 4477 | -- Copyright 2006-2015 Mitchell mitchell.att.foicica.com. See LICENSE.
-- Markdown LPeg lexer.
local l = require('lexer')
local token, word_match = l.token, l.word_match
local P, R, S = lpeg.P, lpeg.R, lpeg.S
local M = {_NAME = 'rmd'}
-- Whitespace.
local ws = token(l.WHITESPACE, S(' \t\v')^1)
local newline = token(... | mit |
gedads/Neodynamis | scripts/zones/Windurst_Waters/npcs/Chamama.lua | 17 | 6585 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Chamama
-- Involved In Quest: Inspector's Gadget
-- Starts Quest: In a Pickle
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Wind... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Metalworks/npcs/Alois.lua | 9 | 1624 | -----------------------------------
-- Area: Metalworks
-- NPC: Alois
-- Involved in Missions: Wading Beasts
-- !pos 96 -20 14 237
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions");
-----------------------------------
function onTrade(player,npc,trade)
i... | gpl-3.0 |
ironjade/DevStack | LanCom/DesignPattern/LUA/Set.lua | 1 | 2731 | #!/usr/local/bin/lua
--[[
Copyright (c) 2004 by Bruno R. Preiss, P.Eng.
$Author: brpreiss $
$Date: 2004/11/27 01:17:12 $
$RCSfile: Set.lua,v $
$Revision: 1.1 $
$Id: Set.lua,v 1.1 2004/11/27 01:17:12 brpreiss Exp $
--]]
require "SearchableContainer"
--{
-- Abstract base class from which all... | apache-2.0 |
gedads/Neodynamis | scripts/zones/Mhaura/npcs/Blandine.lua | 3 | 2247 | -----------------------------------
-- Area: Mhaura
-- NPC: Blandine
-- Start Quest: The Sand Charmz
-- !pos 23 -7 41 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests")... | gpl-3.0 |
BillardDRP/nathaniel-rp-addons | addons/billard_rp_ents/lua/lua/entities/billard_weed_harvested/init.lua | 2 | 1137 | AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include("shared.lua")
function ENT:Initialize()
self:SetModel("models/props/cs_office/trash_can_p5.mdl") //Once again, custom models are overrated
self:SetColor(Color(0, 255, 0, 255))
self:SetMaterial("models/props_c17/furniturefabric_002a")
self:Phy... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/weaponskills/blade_ten.lua | 10 | 1440 | -----------------------------------
-- Blade Ten
-- Katana weapon skill
-- Skill Level: 225
-- Delivers a single-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget & Soil Gorget.
-- Aligned with the Shadow Belt & Soil Belt.
-- Element: None
-- Modifiers: STR:30% DEX:3... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/icanheararainbow.lua | 6 | 8399 | -- Functions below used in quest: I Can Hear a Rainbow
require( "scripts/globals/status");
require( "scripts/globals/quests");
require( "scripts/globals/weather");
colorsAvailable = { 102, 103, 104, 105, 106, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 123, 124, 125}; -- Zone IDs
-- Data be... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/mobskills/chains_of_apathy.lua | 12 | 1326 | ---------------------------------------------
-- Chains of Apathy
--
---------------------------------------------
local ID = require("scripts/zones/Empyreal_Paradox/IDs")
require("scripts/globals/monstertpmoves")
require("scripts/globals/settings")
require("scripts/globals/keyitems")
require("scripts/globals/status")
... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/spells/cure_iv.lua | 6 | 4999 | -----------------------------------------
-- Spell: Cure IV
-- Restores target's HP.
-----------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------------
function onMagi... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Windurst_Woods/npcs/Bopa_Greso.lua | 9 | 1153 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Bopa Greso
-- Type: Standard NPC
-- !pos 59.773 -6.249 216.766 241
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
require("scripts/globals/quests")
-----------------------------------
function onTra... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Full_Moon_Fountain/mobs/Ajido-Marujido.lua | 8 | 1989 | -----------------------------------
-- Area: Full Moon Fountain
-- Mob: Ajido-Marujido
-- Ally during Windurst Mission 9-2
-----------------------------------
local ID = require("scripts/zones/Full_Moon_Fountain/IDs")
require("scripts/globals/status")
require("scripts/globals/magic")
----------------------------------... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/mobskills/polar_blast.lua | 33 | 1412 | ---------------------------------------------
-- Polar Blast
--
-- Description: Deals Ice damage to enemies within a fan-shaped area. Additional effect: Paralyze
-- Type: Breath
-- Ignores Shadows
-- Range: Unknown Cone
---------------------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Port_San_dOria/npcs/Gallijaux.lua | 9 | 3502 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Gallijaux
-- Starts The Rivalry
-- !pos -14 -2 -45 232
-----------------------------------
local ID = require("scripts/zones/Port_San_dOria/IDs");
require("scripts/globals/npc_util");
require("scripts/globals/settings");
require("scripts/globals/key... | gpl-3.0 |
starlightknight/darkstar | scripts/globals/items/tropical_clam.lua | 11 | 1056 | -----------------------------------------
-- ID: 5124
-- Item: Tropical Clam
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Vitality 4
-- Dexterity -5
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
------------------------------... | gpl-3.0 |
laino/luakit | lib/lousy/mode.lua | 6 | 2090 | ---------------------------------------------------------------------------
-- @author Mason Larobina <mason.larobina@gmail.com>
-- @copyright 2010 Mason Larobina
---------------------------------------------------------------------------
--- Grab environment we need
local setmetatable = setmetatable
local type ... | gpl-3.0 |
Amorph/premake-stable | src/base/project.lua | 8 | 17761 | --
-- project.lua
-- Functions for working with the project data.
-- Copyright (c) 2002 Jason Perkins and the Premake project
--
premake.project = { }
--
-- Create a tree from a project's list of files, representing the filesystem hierarchy.
--
-- @param prj
-- The project containing the files to map.
-- @return... | bsd-3-clause |
dantezhu/neon | neon/logging/Logger.lua | 1 | 2016 | local M = class("Logger")
function M:ctor()
self._level = neon.logging.DEBUG;
self.handlers = {}
end
function M:debug(fmt, ...)
self:_log(neon.logging.DEBUG, fmt, ...)
end
function M:info(fmt, ...)
self:_log(neon.logging.INFO, fmt, ...)
end
function M:warning(fmt, ...)
self:_log(neon.logging.WAR... | mit |
starlightknight/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Yahsra.lua | 11 | 2569 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Yahsra
-- Type: Assault Mission Giver
-- !pos 120.967 0.161 -44.002 50
-----------------------------------
require("scripts/globals/keyitems")
local ID = require("scripts/zones/Aht_Urhgan_Whitegate/IDs")
require("scripts/globals/besieged")
requi... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Monastic_Cavern/mobs/Orcish_Overlord.lua | 11 | 1635 | -----------------------------------
-- Area: Monastic Cavern
-- NM: Orcish Overlord
-- Note: PH for Overlord Bakgodek
-- TODO: messages should be zone-wide
-----------------------------------
local ID = require("scripts/zones/Monastic_Cavern/IDs")
mixins = {require("scripts/mixins/job_special")}
require("scripts/glob... | gpl-3.0 |
Snarkie/YGOProAIScript | AI/decks/Fluffal/FluffalCond.lua | 1 | 63947 | ------------------------
--------- COND ---------
------------------------
-- Fluffal COND
function DogCond(loc,c)
if loc == MATERIAL_TOGRAVE then
if not OPTCheck(c.id) and Duel.GetTurnCount() > 1
or
Get_Card_Count_ID(AIHand(),c.id) > 1
and GlobalFusionId ~= 80889750 -- FSabreTooth
then
return 5 + PrioF... | mit |
CAAP/Lua | carlos/segment.lua | 1 | 11136 | --module setup
local M = {}
-- Import section
local cv = require'locv'
local gdcm = require'lgdcm'
local math = math
local ipairs = ipairs
local print = print
local assert = assert
local tonumber = tonumber
local concat = table.concat
local fd = require'carlos.fold'
local tr = require'carlos.transducers'
local ops =... | gpl-2.0 |
starlightknight/darkstar | scripts/globals/items/copper_frog.lua | 11 | 1130 | -----------------------------------------
-- ID: 4515
-- Item: copper_frog
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Agility 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
-----------------------... | gpl-3.0 |
Craige/prosody-modules | mod_delegation/mod_delegation.lua | 16 | 17451 | -- XEP-0355 (Namespace Delegation)
-- Copyright (C) 2015 Jérôme Poisson
--
-- This module is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
-- This module manage namespace delegation, a way to delegate server features
-- to an external entity/component. Only the admin mode... | mit |
Micr0Bit/OpenRA | mods/ra/maps/soviet-01/soviet01.lua | 28 | 2150 | Yaks = { "yak", "yak", "yak" }
Airfields = { Airfield1, Airfield2, Airfield3 }
InsertYaks = function()
local i = 1
Utils.Do(Yaks, function(yakType)
local start = YakEntry.CenterPosition + WVec.New(0, (i - 1) * 1536, Actor.CruiseAltitude(yakType))
local dest = StartJeep.Location + CVec.New(0, 2 * i)
local yak =... | gpl-3.0 |
laino/luakit | lib/cookies.lua | 4 | 4498 | ------------------------------------------------------------
-- Cross-instance luakit cookie management (with sqlite3) --
-- © 2011 Mason Larobina <mason.larobina@gmail.com> --
------------------------------------------------------------
local math = require "math"
local string = string
local ipairs = ipairs
loc... | gpl-3.0 |
Craige/prosody-modules | mod_component_roundrobin/mod_component_roundrobin.lua | 32 | 3224 | -- 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.
--
if module:get_host_type() ~= "component" then
error("Don't load mod_component manually, it should be for ... | mit |
starlightknight/darkstar | scripts/globals/items/cone_of_seraphs_kiss.lua | 11 | 1079 | -----------------------------------------
-- ID: 5556
-- Item: cone_of_seraphs_kiss
-- Food Effect: 1Hr, All Races
-----------------------------------------
-- HP 15
-- MP % 16 (cap 85)
-- MP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/m... | gpl-3.0 |
gedads/Neodynamis | scripts/globals/equipment.lua | 23 | 3247 | require("scripts/globals/status");
BaseNyzulWeapons = {
18492, -- (WAR) Sturdy Axe
18753, -- (MNK) Burning Fists
18851, -- (WHM) Werebuster
18589, -- (BLM) Mage's Staff
17742, -- (RDM) Vorpal Sword
... | gpl-3.0 |
O-P-E-N/CC-ROUTER | feeds/luci/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/disk.lua | 68 | 1180 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.rrdtool.definitions.disk", package.seeall)
function rrdargs( graph, plugin, plugin_instance, dtype )
return {
{
title = "%H: Disk I/O operations on %pi",
vlab... | gpl-2.0 |
dantezhu/neon | examples/tpl/src/cocos/network/DeprecatedNetworkFunc.lua | 61 | 1123 | if nil == cc.XMLHttpRequest then
return
end
--tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of WebSocket will be deprecated begin
local targetPlatform = CCApplication:getInstance():get... | mit |
sebastianlis/OOP-Samples-for-Corona-SDK | classes/samples/Hardware/DeviceInfo.lua | 1 | 10676 | require "classes.constants.screen"
DeviceInfo={}
function DeviceInfo:new()
local this = display.newGroup()
local public = this
local private = {}
local store = require("store")
local background = display.newImageRect("img/backgroundNotifications.png", 360, 570)
local labelDeviceInfo = display.... | mit |
pedro-andrade-inpe/terrame | packages/gis/data/cabecadeboi.lua | 1 | 2253 | -------------------------------------------------------------------------------------------
-- TerraME - a software platform for multiple scale spatially-explicit dynamic modeling.
-- Copyright (C) 2001-2017 INPE and TerraLAB/UFOP -- www.terrame.org
-- This code is part of the TerraME framework.
-- This framework is f... | lgpl-3.0 |
keplerproject/luarocks | spec/make_spec.lua | 1 | 22954 | local test_env = require("spec.util.test_env")
local lfs = require("lfs")
local run = test_env.run
local testing_paths = test_env.testing_paths
local env_variables = test_env.env_variables
local write_file = test_env.write_file
test_env.unload_luarocks()
local extra_rocks = {
"/luasocket-3.0rc1-2.src.rock",
"/l... | mit |
gedads/Neodynamis | scripts/zones/Bastok_Mines/npcs/HomePoint#2.lua | 3 | 1305 | -----------------------------------
-- Area: Bastok Mines
-- NPC: HomePoint#2
-- !pos 118 1 -58 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
package.loaded["scripts/globals/homepoint"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Bastok_Mi... | gpl-3.0 |
gedads/Neodynamis | scripts/zones/Port_San_dOria/npcs/Eddy.lua | 3 | 1050 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Eddy
-- Type: NPC Quest Giver
-- @zone 232
-- !pos -5.209 -8.999 39.833
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
--------------... | gpl-3.0 |
starlightknight/darkstar | scripts/zones/Grand_Palace_of_HuXzoi/mobs/Ixghrah.lua | 9 | 1076 | -----------------------------------
-- Area: Grand Palace of HuXzoi
-- Mob: Ix'ghrah
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/missions");
-----------------------------------
function onMobSpawn(mob)
if (mob:getMod(dsp.mod.SLASHRES)) then mob:setMod(dsp.mod.SL... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.