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 |
|---|---|---|---|---|---|
Vivitarut/darkstar | scripts/zones/Norg/npcs/Oruga.lua | 34 | 3022 | -----------------------------------
-- Area: Norg
-- NPC: Oruga
-- Standard Info NPC
-----------------------------------
require("scripts/globals/pathfind");
local path = {
-0.016294, -1.251156, -30.703135,
1.135162, -1.295192, -30.737705,
2.267773, -1.620833, -30.756174,
3.344393, -1.879029, -30.778761,
... | gpl-3.0 |
rpufky/trafficserver | plugins/experimental/ts_lua/ci/script_test.lua | 17 | 1521 | -- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); y... | apache-2.0 |
Vivitarut/darkstar | scripts/zones/Maze_of_Shakhrami/npcs/Fossil_Rock.lua | 17 | 5025 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: Fossil Rock
-- Used in Mission: Windurst Mission 2-1
-- @pos 17 18 184 198 + <many pos>
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/mobskills/Blade_Metsu.lua | 7 | 1091 | ---------------------------------------------
-- Blade Metsu
--
-- Description: Additional effect: Paralysis
-- Hidden effect: temporarily enhances Subtle Blow effect.
-- Type: Physical
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/sta... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Song_Runes.lua | 34 | 1922 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Song Runes
-- Finishes Quest: The Old Monument
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
package.loaded["scripts/globals/settings"] = nil;
-----------------------------------
r... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Port_Windurst/npcs/Kumama.lua | 36 | 1748 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kumama
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst/TextIDs... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/mutton_enchilada.lua | 35 | 1730 | -----------------------------------------
-- ID: 4348
-- Item: mutton_enchilada
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 10
-- Strength 3
-- Vitality 1
-- Intelligence -1
-- Attack % 27
-- Attack Cap 35
-- Ranged ATT % 27
-- Ranged ATT Cap 35
---------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/spells/absorb-tp.lua | 13 | 1344 | --------------------------------------
-- Spell: Absorb-TP
-- Steals an enemy's TP.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
------------------------------... | gpl-3.0 |
ia97lies/xauxi | test/lunit.lua | 21 | 17500 |
--[[--------------------------------------------------------------------------
This file is part of lunit 0.5.
For Details about lunit look at: http://www.mroth.net/lunit/
Author: Michael Roth <mroth@nessie.de>
Copyright (c) 2004, 2006-2009 Michael Roth <mroth@nessie.de>
Permission is hereby g... | mit |
Gwynthell/FFDB | scripts/globals/weaponskills/ukkos_fury.lua | 4 | 1711 | -----------------------------------
-- Ukko's Fury
-- Great Axe Weapon Skill
-- Skill Level: N/A
-- Description: Delivers a twofold attack that slows target. Chance of params.critical hit varies with TP. Ukonvasara: Aftermath.
-- Available only when equipped with Ukonvasara (85), Ukonvasara (90), Ukonvasara (95), ... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Temenos/mobs/Enhanced_Pugil.lua | 12 | 1043 | -----------------------------------
-- Area: Temenos W T
-- NPC: Enhanced_Pugil
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/balik_sis_+1.lua | 35 | 1664 | -----------------------------------------
-- ID: 5601
-- Item: Balik Sis +1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 5
-- Mind -2
-- Attack % 15
-- Attack Cap 45
-- Ranged ACC 1
-- Ranged ATT % 15
-- Ranged ATT Cap 45
-----------------------------------------
... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Qufim_Island/TextIDs.lua | 3 | 1260 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6378; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6381; -- Obtained: <item>.
GIL_OBTAINED = 6382; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6384; -- Obtained... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/tortilla.lua | 35 | 1264 | -----------------------------------------
-- ID: 4408
-- Item: tortilla
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 6
-- Dexterity -1
-- Vitality 4
-----------------------------------------
require("scripts/globals/status");
----------------------------------------... | gpl-3.0 |
ld-test/vanilla | vanilla/v/request.lua | 2 | 1162 | -- perf
local error = error
local pairs = pairs
local setmetatable = setmetatable
local Request = {}
function Request:new()
ngx.req.read_body()
local params = ngx.req.get_uri_args()
for k,v in pairs(ngx.req.get_post_args()) do
params[k] = v
end
local instance = {
uri = ngx.var.uri... | mit |
sammyt291/wire | lua/entities/gmod_wire_expression2/base/tokenizer.lua | 3 | 7515 | --[[
Expression 2 Tokenizer for Garry's Mod
Andreas "Syranide" Svensson, me@syranide.com
]]
AddCSLuaFile()
E2Lib.Tokenizer = {}
local Tokenizer = E2Lib.Tokenizer
Tokenizer.__index = Tokenizer
function Tokenizer.Execute(...)
-- instantiate Tokenizer
local instance = setmetatable({}, Tokenizer)
-- and pcall th... | apache-2.0 |
Gwynthell/FFDB | scripts/globals/weaponskills/tachi_gekko.lua | 4 | 1459 | -----------------------------------
-- Tachi Gekko
-- Great Katana weapon skill
-- Skill Level: 225
-- Silences target. Damage varies with TP.
-- Silence effect duration is 60 seconds when unresisted.
-- Will stack with Sneak Attack.
-- Tachi: Gekko has a high attack bonus of +100%. [1]
-- Aligned with the Aqua... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Bastok_Mines/npcs/HomePoint#2.lua | 1 | 1237 | -----------------------------------
-- Area: Bastok Mines
-- NPC: HomePoint#2
-- @pos 118 1 -58 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Bastok_Mines/TextIDs");
-... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Eastern_Altepa_Desert/npcs/Lindgard_IM.lua | 30 | 3065 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Lindgard, I.M.
-- Outpost Conquest Guards
-- @pos -258.041 7.473 -254.527 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/bowl_of_loach_soup.lua | 3 | 1478 | -----------------------------------------
-- ID: 5671
-- Item: Bowl of Loach Soup
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- Dexterity 4
-- Agility 4
-- Accuracy 7% Cap 50
-- HP 7% Cap 50
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
-----... | gpl-3.0 |
msafin/luci | libs/lucid-rpc/luasrc/lucid/rpc/server.lua | 52 | 8197 | --[[
LuCI - Lua Development Framework
Copyright 2009 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]
local ip... | apache-2.0 |
Gwynthell/FFDB | scripts/globals/weaponskills/sonic_thrust.lua | 4 | 1128 | -----------------------------------
-- Sonic Thrust
-- Polearm weapon skill
-- Skill Level: 300
-- Delivers an area attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Element: None
-- Modifiers: STR:30% ; DEX:30%
-- 100%TP 200%TP 300%TP
-- 3.00 3.25 3.50
------------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Windurst_Walls/npcs/Yoriri.lua | 38 | 1403 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Yoriri
-- Type: Standard NPC
-- @pos 65.268 -8.5 -58.309 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/weaponskills/shining_strike.lua | 6 | 1211 | -----------------------------------
-- Shining Strike
-- Club weapon skill
-- Skill level: 5
-- Deals light elemental damage to enemy. Damage varies with TP.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: None
-- Modifiers: STR:20% ; MND:20%
-- 100%TP 200%TP 30... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Mhaura/TextIDs.lua | 3 | 1811 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6378; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6381; -- Obtained: <item>.
GIL_OBTAINED = 6382; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6384; -- Obtained... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Newton_Movalpolos/npcs/Furnace_Hatch.lua | 4 | 2789 | -----------------------------------
-- Area: Newton Movalpolos
-- NPC: Furnace_Hatch
-----------------------------------
package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Newton_Movalpolos/TextIDs");
--------------------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Lufaise_Meadows/mobs/Leshy.lua | 4 | 1546 | -----------------------------------
-- Area: Lufaise Meadows
-- MOB: Leshy
-----------------------------------
function OnMobRoam(mob)
local Colorful_Leshy = 16875762;
local Colorful_Leshy_PH = 0;
local Colorful_Leshy_PH_Table =
{
16875754,
16875755,
16875756,
16875757,
16875758,
16875759,
1687... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/The_Garden_of_RuHmet/npcs/_iz2.lua | 19 | 1961 | -----------------------------------
-- Area: The Garden of RuHmet
-- NPC: _iz2 (Ebon_Panel)
-- @pos 422.351 -5.180 -100.000 35 | Hume Tower
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Garden_o... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Sih_Gates/Zone.lua | 34 | 1231 | -----------------------------------
--
-- Zone: Sih Gates
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Sih_Gates/TextIDs"] = nil;
require("scripts/zones/Sih_Gates/TextIDs");
-----------------------------------
-- onInitialize
----------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/boiled_tuna_head.lua | 3 | 1478 | -----------------------------------------
-- ID: 4540
-- Item: Boiled Tuna Head
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic 20
-- Dexterity 3
-- Intelligence 4
-- Mind -3
-- Magic Regen While Healing 2
-- Accuracy 5
-- Evasion 5
-----------------------------------------
require... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/spells/poisonga.lua | 10 | 1091 | -----------------------------------------
-- Spell: Poisonga
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,sp... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/weaponskills/gale_axe.lua | 6 | 1212 | -----------------------------------
-- Gale Axe
-- Axe weapon skill
-- Skill level: 70
-- Chokes enemy. Duration of effect varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Breeze Gorget.
-- Aligned with the Breeze Belt.
-- Element: Wind
-- Modifiers: STR:30%
-- 100%TP 200%TP ... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Windurst_Woods/npcs/Nikkoko.lua | 53 | 1835 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Nikkoko
-- Type: Clothcraft Image Support
-- @pos -32.810 -3.25 -113.680 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/garpike.lua | 18 | 1255 | -----------------------------------------
-- ID: 5472
-- Item: Garpike
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Aht_Urhgan_Whitegate/npcs/Kuhn_Tsahnpri.lua | 2 | 1437 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Kuhn Tsahnpri
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
--------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/windurst_salad.lua | 35 | 1465 | -----------------------------------------
-- ID: 4555
-- Item: windurst_salad
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic 20
-- Agility 5
-- Vitality -1
-- Ranged ACC % 8
-- Ranged ACC Cap 10
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Bastok_Markets/npcs/Degenhard.lua | 4 | 1968 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Degenhard
-- Starts & Ends Quest: The Bare Bones
-- Involved in Quests: Beat Around the Bushin
-- @zone 235
-- @pos -175 2 -135
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
LuaDist2/loop | lua/loop/collection/OrderedSet.lua | 13 | 4735 | --------------------------------------------------------------------------------
---------------------- ## ##### ##### ###### -----------------------
---------------------- ## ## ## ## ## ## ## -----------------------
---------------------- ## ## ## ## ## ###### --------------------... | mit |
Gwynthell/FFDB | scripts/zones/Lower_Jeuno/npcs/Yoskolo.lua | 6 | 1623 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Yoskolo
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
-- onTrade... | gpl-3.0 |
msafin/luci | modules/admin-full/luasrc/model/cbi/admin_network/routes.lua | 86 | 2540 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
req... | apache-2.0 |
luddev/HKSDecompiler | lua/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | mit |
xpol/luavm | lua/versions/lua-5.1/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | mit |
Gwynthell/FFDB | scripts/zones/Windurst_Woods/npcs/Lih_Pituu.lua | 9 | 1830 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Lih Pituu
-- Type: Bonecraft Adv. Image Support
-- @pos -5.471 -6.25 -141.211 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurs... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Bastok_Markets/npcs/Horatius.lua | 38 | 2104 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Horatius
-- Type: Quest Giver
-- Starts and Finishes: Breaking Stones
-- @pos -158.392 -5.839 -117.061 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
requ... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Bastok_Mines/npcs/Phara.lua | 4 | 2463 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Phara
-- Starts and Finishes Quest: The doorman (start)
-- Involved in Quest: The Talekeeper's Truth
-- @zone 234
-- @pos 75 0 -80
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
--------------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Windurst_Waters/npcs/Jatan-Paratan.lua | 6 | 3141 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Jatan-Paratan
-- Starts and Finished Quest: Wondering Minstrel
-- Working 100%
-- @zone = 238
-- @pos = -59 -4 22
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/serving_of_squirrels_delight.lua | 35 | 1341 | -----------------------------------------
-- ID: 5554
-- Item: serving_of_squirrels_delight
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- MP % 13 (cap 95)
-- MP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status");
------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Mount_Zhayolm/npcs/qm2.lua | 15 | 1161 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: ??? (Spawn Claret(ZNM T1))
-- @pos 497 -9 52 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mount_Zhayolm/TextIDs");
---------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/weaponskills/omniscience.lua | 12 | 4694 | -----------------------------------
-- Omniscience
-- Staff weapon skill
-- Skill Level: N/A
-- Lowers target's magic attack. Duration of effect varies with TP. Tupsimati: Aftermath effect varies with TP.
-- Reduces enemy's magic attack by -10.
-- Available only after completing the Unlocking a Myth (Scholar) que... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/bowl_of_navarin.lua | 35 | 1877 | -----------------------------------------
-- ID: 4439
-- Item: Bowl of Navarin
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health % 3
-- Strength 3
-- Agility 1
-- Vitality 1
-- Intelligence -1
-- Attack % 27
-- Attack Cap 30
-- Evasion 5
-- Ranged ATT % 27
-- Ranged ATT... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Bastok_Mines/npcs/Gerbaum.lua | 19 | 2167 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Gerbaum
-- Starts & Finishes Repeatable Quest: Minesweeper (100%)
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("sc... | gpl-3.0 |
masterkorp/Vicious | contrib/pulse.lua | 10 | 3033 | ---------------------------------------------------
-- Licensed under the GNU General Public License v2
-- * (c) 2010, MrMagne <mr.magne@yahoo.fr>
-- * (c) 2010, Mic92 <jthalheim@gmail.com>
---------------------------------------------------
-- {{{ Grab environment
local type = type
local tonumber = tonumber
local i... | gpl-2.0 |
msafin/luci | applications/luci-olsr/luasrc/model/cbi/olsr/olsrdiface.lua | 30 | 5877 | --[[
LuCI - Lua Configuration Interface
Copyright 2010 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
f... | apache-2.0 |
Gwynthell/FFDB | scripts/globals/items/serving_of_batagreen_sautee.lua | 3 | 1304 | -----------------------------------------
-- ID: 4553
-- Item: serving_of_batagreen_sautee
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -2
-- Ranged ACC % 7
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/status");
-------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/weaponskills/victory_smite.lua | 30 | 1634 | -----------------------------------
-- Victory Smite
-- Hand-to-Hand Weapon Skill
-- Skill Level: N/A
-- Description: Delivers a fourfold attack. Chance of params.critical hit varies with TP.
-- Must have Verethragna (85)/(90)/(95)/(99)/(99-2) or Revenant Fists +1/+2/+3 equipped.
-- Aligned with the Light Gorget,... | gpl-3.0 |
emachasal/GoupBot | plugins/floodmanager.lua | 4 | 5482 | local function do_keyboard_flood(chat_id, ln)
--no: enabled, yes: disabled
local status = db:hget('chat:'..chat_id..':settings', 'Flood') or 'yes' --check (default: disabled)
if status == 'no' then
status = '✅ | ON'
elseif status == 'yes' then
status = '❌ | OFF'
end
local ha... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/abilities/scholars_roll.lua | 4 | 1406 | -----------------------------------
-- Ability: Choral Roll
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- OnUseAbility
-----------------------------------
function OnAbilityCheck(player,target,ability)
local effectI... | gpl-3.0 |
sammyt291/wire | lua/wire/gates/arithmetic.lua | 18 | 8263 | --[[
Arithmetic Gates
]]
GateActions("Arithmetic")
GateActions["increment"] = {
name = "Increment",
inputs = { "A", "Clk", "Reset" },
output = function(gate, A, Clk, Reset)
local clk = ( Clk > 0 )
local reset = ( Reset > 0 )
if ( gate.PrevValue ~= clk ) then
gate.PrevValue = clk
if ( clk ) then
... | apache-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Northern_San_dOria/npcs/Gulmama.lua | 23 | 5081 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Gulmama
-- Starts and Finishes Quest: Trial by Ice
-- Involved in Quest: Class Reunion
-- @pos -186 0 107 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
----------------------------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/ogre_eel.lua | 17 | 1389 | -----------------------------------------
-- ID: 4481
-- Item: ogre_eel
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
povilasb/wrk | deps/luajit/dynasm/dasm_mips.lua | 120 | 28080 | ------------------------------------------------------------------------------
-- DynASM MIPS module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- See dynasm.lua for full copyright notice.
------------------------------------------------------------------------------
-- Module information:
local _i... | apache-2.0 |
Gwynthell/FFDB | scripts/globals/items/frost_turnip.lua | 3 | 1098 | -----------------------------------------
-- ID: 4382
-- Item: frost_turnip
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 2
-- Vitality -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
ypengju/skynet_comment | test/testsocket.lua | 80 | 1078 | local skynet = require "skynet"
local socket = require "socket"
local mode , id = ...
local function echo(id)
socket.start(id)
while true do
local str = socket.read(id)
if str then
socket.write(id, str)
else
socket.close(id)
return
end
end
end
if mode == "agent" then
id = tonumber(id)
skynet.... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Outer_Horutoto_Ruins/npcs/_5eb.lua | 17 | 1834 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Gate: Magical Gizmo
-- Involved In Mission: Full Moon Fountain
-- @pos -291 0 -659 194
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Temple_of_Uggalepih/mobs/Manipulator.lua | 4 | 2112 | ----------------------------------
-- Area: Temple of Uggalipeh
-- NM: Manipulator
-- Notes: Paths around the 2 staircases
-----------------------------------
local path =
{
-17.930, -8.500, -93.215,
-18.553, -7.713, -91.224,
-20.226, -6.250, -89.091,
-21.651, -5.005, -87.401,
-23.137, -3.917, ... | gpl-3.0 |
isovector/adventure | src/lib/HardonCollider/class.lua | 4 | 3448 | --[[
Copyright (c) 2010-2011 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... | mit |
ezibyte/EziSocial-PhotoExample | Cocos2dx-3x/PhotoExample/cocos2d/cocos/scripting/lua-bindings/auto/api/PositionFrame.lua | 7 | 1525 |
--------------------------------
-- @module PositionFrame
-- @extend Frame
-- @parent_module ccs
--------------------------------
-- @function [parent=#PositionFrame] getX
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#PositionFrame] ge... | apache-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/coffeecake_muffin_+1.lua | 35 | 1377 | -----------------------------------------
-- ID: 5656
-- Item: coffeecake_muffin_+1
-- Food Effect: 1Hr, All Races
-----------------------------------------
-- Mind 2
-- Strength -1
-- MP % 10 (cap 90)
-----------------------------------------
require("scripts/globals/status");
---------------------------... | gpl-3.0 |
mandla99/the_king1 | libs/serpent.lua | 656 | 7877 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | gpl-2.0 |
Source-advan/TTabchi | libs/serpent.lua | 656 | 7877 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | unlicense |
Vivitarut/darkstar | scripts/globals/items/trilobite.lua | 18 | 1337 | -----------------------------------------
-- ID: 4317
-- Item: Trilobite
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity -5
-- Vitality 3
-- Defense +16%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- O... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Gusgen_Mines/npcs/_5g1.lua | 34 | 1104 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5g1 (Door B)
-- @pos 20.002 -42.398 -25.499 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
-------------... | gpl-3.0 |
sammyt291/wire | lua/entities/gmod_wire_egp/lib/egplib/parenting.lua | 11 | 8446 | --------------------------------------------------------
-- Parenting functions
--------------------------------------------------------
local EGP = EGP
EGP.ParentingFuncs = {}
local function addUV( v, t ) -- Polygon u v fix
if (v.verticesindex) then
local t2 = v[v.verticesindex]
for k,v in ipairs( t ) do
t[k]... | apache-2.0 |
UPenn-RoboCup/UPennalizers | Player/Motion/keyframes/km_NaoV4_StandupFromBack_Slow.lua | 1 | 7205 | local mot={};
mot.servos={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,};
mot.keyframes={ {
angles={--1
-0.15497589111328,0.443284034729,1.7272421121597,0.15949392318726,-0.618243932724,-0.022968053817749,-0.22238802909851,-0.032171964645386,0.23627805709839,0.032171964645386,0.14262008666992,4.1961669... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/weaponskills/tachi_yukikaze.lua | 6 | 1617 | -----------------------------------
-- Tachi Yukikaze
-- Great Katana weapon skill
-- Skill Level: 200 (Samurai only.)
-- Blinds target. Damage varies with TP.
-- Blind effect duration is 60 seconds when unresisted.
-- Will stack with Sneak Attack.
-- Tachi: Yukikaze appears to have an attack bonus of 33%... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Port_Windurst/npcs/Papo-Hopo.lua | 36 | 2900 | -----------------------------------
-- Area: Port Windurst
-- NPC: Papo-Hopo
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/Port_... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/timbre_timbers_salad.lua | 35 | 1471 | -----------------------------------------
-- ID: 4321
-- Item: timbre_timbers_salad
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Magic 20
-- Agility 5
-- Vitality -1
-- Ranged ACC % 8
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/s... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/nopales_salad_+1.lua | 36 | 1143 | -----------------------------------------
-- ID: 5702
-- Item: Nopales Salad +1
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Strength 2
-- Agility 7
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---... | gpl-3.0 |
szorfein/dotfiles | awesomewm/.config/awesome/daemons/brightness.lua | 1 | 1209 | -- Create a signal: daemon::brightness
-- return value: brightness
local spawn = require("awful.spawn")
local noti = require("utils.noti")
local val = 1
local start = true
local brightness_subscribe_script = [[
sh -c "
while (inotifywait -e modify /sys/class/backlight/?**/brightness -qq) ; do echo ; done
"
]... | mit |
Vivitarut/darkstar | scripts/globals/items/senroh_skewer.lua | 36 | 1404 | -----------------------------------------
-- ID: 5982
-- Item: Senroh Skewer
-- Food Effect: 30 Mins, All Races
-----------------------------------------
-- Dexterity 2
-- Vitality 3
-- Mind -1
-- Defense % 25 Cap 150
-----------------------------------------
require("scripts/globals/status");
-----------------------... | gpl-3.0 |
mandla99/the_king1 | bot/seedbot.lua | 22 | 14096 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
local f = assert(io.popen('/usr/bin/git describe --tags', 'r'))
VERSION = assert(f:read('*a'))
f:close()
-- This function is ... | gpl-2.0 |
Vivitarut/darkstar | scripts/globals/effects/weakness.lua | 19 | 1566 | -----------------------------------
--
-- Weakness
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
--reduce HP and MP by the power amount. Add... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Ifrits_Cauldron/npcs/Grounds_Tome.lua | 34 | 1143 | -----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrad... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Tavnazian_Safehold/npcs/Caiphimonride.lua | 6 | 1262 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Caiphimonride
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
-------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/spells/quake.lua | 2 | 1205 | -----------------------------------------
-- Spell: Quake
-- Deals earth damage to an enemy.
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMag... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Mhaura/npcs/Yabby_Tanmikey.lua | 17 | 1190 | -----------------------------------
-- Area: Mhaura
-- NPC: Yabby Tanmikey
-- Guild Merchant NPC: Goldsmithing Guild
-- @pos -36.459 -16.000 76.840 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/sett... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/flame_claymore.lua | 16 | 1031 | -----------------------------------------
-- ID: 16588
-- Item: Flame Claymore
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/spells/burn.lua | 6 | 1646 | -----------------------------------------
-- 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 |
Gwynthell/FFDB | scripts/globals/spells/bluemagic/maelstrom.lua | 4 | 1240 | -----------------------------------------
--
-- Maelstrom
--
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/bluemagic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
functio... | gpl-3.0 |
isovector/adventure | src/game/services/3-load-rooms.lua | 1 | 1370 | mrequire "src/game/room"
mrequire "src/engine/scaffoldtable"
local function buildEvent(crumbs, key, value, room)
local id = table.concat(crumbs, "_")
if not room.events[id] then
room.events[id] = { }
end
room.events[id][key] = value
end
local function buildRoom(name)
local path =... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/slice_of_salted_hare.lua | 35 | 1198 | -----------------------------------------
-- ID: 5737
-- Item: slice_of_salted_hare
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP 10
-- Strength 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- On... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Pashhow_Marshlands_[S]/npcs/Cavernous_Maw.lua | 29 | 1489 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: Cavernous Maw
-- @pos 418 25 27 90
-- Teleports Players to Pashhow_Marshlands
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil;
-----------------------------------
require("script... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Uleguerand_Range/npcs/Fissure.lua | 17 | 1691 | -----------------------------------
-- Area: Uleguerand Range
-- NPC: Fissure
-- Teleports players from underground to surface
-- @pos 380.267 34.859 -179.655 5
-- @pos 460.339 -29.137 220.311 5
-- @pos 180.207 -77.147 500.276 5
-----------------------------------
package.loaded["scripts/zones/Uleguerand_Range/T... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Uleguerand_Range/npcs/Fissure.lua | 17 | 1691 | -----------------------------------
-- Area: Uleguerand Range
-- NPC: Fissure
-- Teleports players from underground to surface
-- @pos 380.267 34.859 -179.655 5
-- @pos 460.339 -29.137 220.311 5
-- @pos 180.207 -77.147 500.276 5
-----------------------------------
package.loaded["scripts/zones/Uleguerand_Range/T... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Quartermaster.lua | 38 | 1051 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Quartermaster
-- Type: Standard NPC
-- @zone: 94
-- @pos -60.200 -4.7 32.500
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
sammyt291/wire | lua/wire/zvm/zvm_core.lua | 9 | 19962 | --------------------------------------------------------------------------------
-- Zyelios VM (Zyelios CPU/GPU virtual machine)
--
-- Virtual machine implementation core
--------------------------------------------------------------------------------
ZVM = {}
if not SERVER and not CLIENT then
ZVM.MicrocodeDebug = tr... | apache-2.0 |
Gwynthell/FFDB | scripts/globals/items/plate_of_ic_pilav.lua | 3 | 1809 | -----------------------------------------
-- ID: 5584
-- Item: plate_of_ic_pilav
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health % 14
-- Health Cap 65
-- Strength 4
-- Vitality -1
-- Intelligence -1
-- Health Regen While Healing 1
-- Attack % 22
-- Attack Cap 65
-- Ranged ATT % 22
... | gpl-3.0 |
BurmistrovJ/prosody-modules | mod_storage_mongodb/mod_storage_mongodb.lua | 32 | 1724 | local next = next;
local setmetatable = setmetatable;
local params = assert ( module:get_option("mongodb") , "mongodb configuration not found" );
prosody.unlock_globals();
local mongo = require "mongo";
prosody.lock_globals();
local json = require "util.json";
local conn
local keyval_store = {};
keyval_store.__ind... | mit |
sevenbot/seven | plugins/rss.lua | 700 | 5434 | local function get_base_redis(id, option, extra)
local ex = ''
if option ~= nil then
ex = ex .. ':' .. option
if extra ~= nil then
ex = ex .. ':' .. extra
end
end
return 'rss:' .. id .. ex
end
local function prot_url(url)
local url, h = string.gsub(url, "http://", "")
local... | gpl-2.0 |
Gwynthell/FFDB | scripts/zones/Metalworks/npcs/High_Bear.lua | 19 | 1764 | -----------------------------------
-- Area: Metalworks
-- NPC: High Bear
-- Type: Quest Giver
-- @zone: 237
-- @pos 25.231 -14.999 4.552
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/keyitems");
require("scripts/globals/titles");
--------------------------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.