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 |
|---|---|---|---|---|---|
jono659/enko | scripts/zones/Bastok_Mines/npcs/Tibelda.lua | 36 | 1405 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Tibelda
-- Only sells when Bastok controlls Valdeaunia Region
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/spells/foe_requiem_iii.lua | 5 | 1802 | -----------------------------------------
-- Spell: Foe Requiem III
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg");
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0;
en... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Beadeaux/npcs/Haggleblix.lua | 3 | 7234 | -----------------------------------
-- Area: Beadeaux
-- NPC: Haggleblix
-- Type: Dynamis NPC
-- !pos -255.847 0.595 106.485 147
-----------------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/glob... | gpl-3.0 |
jono659/enko | scripts/globals/weaponskills/vorpal_blade.lua | 30 | 1435 | -----------------------------------
-- Vorpal Blade
-- Sword weapon skill
-- Skill Level: 200
-- Delivers a four-hit attack. Chance of params.critical varies with TP.
-- Stacks with Sneak Attack.
-- Aligned with the Soil Gorget & Thunder Gorget.
-- Aligned with the Soil Belt & Thunder Belt.
-- Element: None
--... | gpl-3.0 |
pvajko/course-generator | include.lua | 1 | 1476 | local courseGeneratorPath = 'courseplay/scripts/courseGenerator/'
-- TODO: fix this dependency
courseplay = {}
courseplay.RIDGEMARKER_NONE = 0
courseplay.RIDGEMARKER_LEFT = 1
courseplay.RIDGEMARKER_RIGHT = 2
dofile('courseplay/scripts/CpObject.lua')
dofile('courseplay/scripts/CpUtil.lua')
dofile( courseGeneratorPath ... | gpl-3.0 |
pvajko/course-generator | testIsland.lua | 1 | 3724 | --
-- Created by IntelliJ IDEA.
-- User: nyovape1
-- Date: 11/24/2017
-- Time: 8:07 AM
-- To change this template use File | Settings | File Templates.
--
dofile( 'include.lua' )
dofile( 'testCommon.lua' )
marks = {}
local minSmoothingAngleDeg = 30
local minHeadlandTurnAngleDeg = 60
local doSmooth = true
-- force by... | gpl-3.0 |
jono659/enko | scripts/globals/spells/Logical_Etude.lua | 11 | 1613 | -----------------------------------------
-- Spell: Logical Etude
-- Static MND Boost, BRD 64
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
f... | gpl-3.0 |
N0U/Zero-K | effects/gundam_beamimpact.lua | 26 | 2553 | -- beamimpact
return {
["beamimpact"] = {
groundflash = {
air = true,
alwaysvisible = true,
circlealpha = 0.2,
circlegrowth = 4,
flashalpha = 0.5,
flashsize = 110,
ground = true,
ttl = 10,... | gpl-2.0 |
marvinkopf/cuberite | Server/Plugins/APIDump/Hooks/OnEntityAddEffect.lua | 36 | 1593 | return
{
HOOK_ENTITY_ADD_EFFECT =
{
CalledWhen = "An entity effect is about to get added to an entity.",
DefaultFnName = "OnEntityAddEffect", -- also used as pagename
Desc = [[
This hook is called whenever an entity effect is about to be added to an entity. The plugin may
disallow the addition by returni... | apache-2.0 |
jono659/enko | scripts/zones/Ifrits_Cauldron/npcs/relic.lua | 38 | 1848 | -----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: <this space intentionally left blank>
-- @pos -18 40 20 205
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Ifrits_Cauldron/TextIDs");
--... | gpl-3.0 |
N0U/Zero-K | LuaUI/Fonts/FreeSansBold_16.lua | 26 | 33900 | -- $Id: FreeSansBold_16.lua 3171 2008-11-06 09:06:29Z det $
local fontSpecs = {
srcFile = [[FreeSansBold.ttf]],
family = [[FreeSans]],
style = [[Bold]],
yStep = 17,
height = 16,
xTexSize = 512,
yTexSize = 256,
outlineRadius = 2,
outlineWeight = 100,
}
local glyphs = {}
glyphs[32] = { --'... | gpl-2.0 |
N0U/Zero-K | LuaRules/Gadgets/unit_nanoframe_rate_limit.lua | 16 | 1982 | -- $Id: unit_terraform.lua 3299 2008-11-25 07:25:57Z google frog $
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "Nano Frame Rate Limit",
desc = "Li... | gpl-2.0 |
johnkingsley/flexeplayer | runtime/scripts/Font.lua | 1 | 1424 | --
-- Flex.E.Player: Video kiosk for the Raspberry Pi
-- Copyright (C) 2017 John Kingsley
--
-- 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 op... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Western_Altepa_Desert/npcs/relic.lua | 3 | 1892 | -----------------------------------
-- Area: Western Altepa Desert
-- NPC: <this space intentionally left blank>
-- !pos -152 -16 20 125
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Western_Altepa_De... | gpl-3.0 |
jono659/enko | scripts/zones/Kazham-Jeuno_Airship/Zone.lua | 28 | 1458 | -----------------------------------
--
-- Zone: Kazham-Jeuno_Airship
--
-----------------------------------
-----------------------------------
-- onInitialize
-----------------------------------
function onInitialize(zone)
end;
-----------------------------------
-- onZoneIn
------------------------... | gpl-3.0 |
jono659/enko | scripts/zones/The_Eldieme_Necropolis/npcs/_5f2.lua | 34 | 1104 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Odin's Gate
-- @pos 180 -34 55 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
... | gpl-3.0 |
jono659/enko | 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 |
N0U/Zero-K | effects/ataalaser.lua | 9 | 4970 | return {
["ataalaser"] = {
groundsmoke = {
class = [[CSimpleParticleSystem]],
count = 2,
ground = 0,
unit = 1,
properties = {
airdrag = 0.8,
colormap = [[0.2 0 0.25 1 0.4 0 0.7 1 0 0 0 0]],
dir... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Kazham/npcs/Tsui_Golalapahn.lua | 17 | 1073 | -----------------------------------
-- Area: Kazham
-- NPC: Tsui Golalapahn
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
... | gpl-3.0 |
mamad-sudo/novin | libs/feedparser.lua | 31 | 12090 | local LOM = assert(require("lxp.lom"), "LuaExpat doesn't seem to be installed. feedparser kind of needs it to work...")
local XMLElement = (loadfile "./libs/XMLElement.lua")()
local dateparser = (loadfile "./libs/dateparser.lua")()
local URL = (loadfile "./libs/url.lua")()
local tinsert, tremove, tconcat = table.insert... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Kuftal_Tunnel/TextIDs.lua | 3 | 1264 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6386; -- Obtained: <item>
GIL_OBTAINED = 6387; -- Obtained <number> gil
KEYITEM_OBTAINED = 6389; -- Obtain... | gpl-3.0 |
wesm/arrow | c_glib/example/lua/read-file.lua | 10 | 1572 | -- 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"); you may... | apache-2.0 |
zhaoxx063/snort3 | piglet/tests/instance/inspector.lua | 4 | 1969 | plugin =
{
type = "piglet",
name = "inspector::telnet",
test = function()
dofile(SCRIPT_DIR .. "/../common.lua")
return run_tests(tests)
end,
-- FIXIT-L: Need this to keep Inspector.configure() happy
use_defaults = true
}
IP4 = [[
45 | 00 | 00 46 | 00 00 | 00 00 | 01 | 06
00 ... | gpl-2.0 |
jono659/enko | 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 |
jono659/enko | scripts/globals/items/bowl_of_sutlac.lua | 36 | 1315 | -----------------------------------------
-- ID: 5577
-- Item: Bowl of Sutlac
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +8
-- MP +10
-- INT +1
-- MP Recovered while healing +2
-----------------------------------------
require("scripts/globals/status");
----... | gpl-3.0 |
jono659/enko | scripts/zones/Al_Zahbi/npcs/Nudahaal.lua | 12 | 2264 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Nudahaal
-- Type: Bonecraft Normal/Adv. Image Support
-- @pos -57.056 -7 -88.377 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Al_Zahbi/TextIDs"... | gpl-3.0 |
jono659/enko | scripts/zones/Ilrusi_Atoll/npcs/Rune_of_Release.lua | 16 | 2473 | -----------------------------------
-- Area:
-- NPC: rune of release
-- @zone illrusi atoll
-- @pos
-----------------------------------
package.loaded["scripts/zones/Ilrusi_Atoll/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-------------------------------------
require("scripts/globals/bc... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Temenos/bcnms/temenos_eastern_tower.lua | 35 | 1553 | -----------------------------------
-- Area: Temenos
-- Name:
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
if (GetMobAction(16928844) > 0) then DespawnMob(16928844);end
if (GetMobAction(16928853) > 0) then DespawnMob(16928853);en... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/spells/bluemagic/plasma_charge.lua | 5 | 1280 | -----------------------------------------
-- Spell: Plasma Charge
-- Covers you with magical lightning spikes. Enemies that hit you take lightning damage
-- Spell cost: 24 MP
-- Monster Type: Luminians
-- Spell Type: Magical (Lightning)
-- Blue Magic Points: 5
-- Stat Bonus: STR+3 DEX+3
-- Level: 75
-- Casting Time: 3 ... | gpl-3.0 |
jono659/enko | scripts/zones/The_Shrine_of_RuAvitau/mobs/Mother_Globe.lua | 28 | 2429 | -----------------------------------
-- Area: The Shrine of Ru'Avitau
-- NPC: Mother Globe
-----------------------------------
package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require( "scripts/zones/The_Shrine_of_RuAvi... | gpl-3.0 |
AplayER/redis | deps/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... | bsd-3-clause |
jono659/enko | scripts/zones/Cloister_of_Tides/mobs/Leviathan_Prime.lua | 12 | 1904 | -----------------------------------
-- Area: Cloister of Tides
-- NPC: Leviathan Prime
-- Involved in Quest: Trial by Water, Trial Size Trial by Water
-- Involved in Mission: ASA-4 Sugar Coated Directive
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems... | gpl-3.0 |
jono659/enko | scripts/zones/Port_Windurst/npcs/Choyi_Totlihpa.lua | 38 | 1414 | -----------------------------------
-- Area: Port Windurst
-- NPC: Choyi Totlihpa
-- Type: Standard NPC
-- @pos -58.927 -5.732 132.819 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require... | gpl-3.0 |
N0U/Zero-K | LuaRules/Gadgets/unit_planetwars.lua | 4 | 26215 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
if (not gadgetHandler:IsSyncedCode()) or VFS.FileExists("mission.lua") then
return
end
----------------------------------------------------------------------... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Cape_Teriggan/mobs/Greater_Manticore.lua | 3 | 1052 | -----------------------------------
-- Area: Cape Teriggan
-- MOB: Greater Manticore
-- Note: Place Holder for Frostmane
-----------------------------------
require("scripts/zones/Cape_Teriggan/MobIDs");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onMobDeath
---------------------... | gpl-3.0 |
jono659/enko | scripts/globals/abilities/chi_blast.lua | 2 | 1061 | -----------------------------------
-- Ability: Chi Blast
-- Releases Chi to attack an enemy.
-- Obtained: Monk Level 41
-- Recast Time: 3:00
-- Duration: Instant
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
--... | gpl-3.0 |
marvinkopf/cuberite | Server/Plugins/APIDump/Hooks/OnPreCrafting.lua | 36 | 1523 | return
{
HOOK_PRE_CRAFTING =
{
CalledWhen = "Before the built-in recipes are checked.",
DefaultFnName = "OnPreCrafting", -- also used as pagename
Desc = [[
This hook is called when a {{cPlayer|player}} changes contents of their
{{cCraftingGrid|crafting grid}}, before the built-in recipes are searched for... | apache-2.0 |
Arcscion/Shadowlyre | scripts/zones/Port_Bastok/TextIDs.lua | 2 | 5787 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6380; -- You cannot obtain the item <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6384; -- You cannot obtain the item (item>. Try trading again after sorting your inventory.
ITEM_OBTAINED = 6... | gpl-3.0 |
jono659/enko | scripts/zones/Northern_San_dOria/npcs/Porter_Moogle.lua | 41 | 1549 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 231
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Northern_... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Bastok_Markets/npcs/Harmodios.lua | 1 | 1891 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Harmodios
-- Standard Merchant NPC
-- !pos -79.928 -4.824 -135.114 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok_Markets/TextIDs")... | gpl-3.0 |
jono659/enko | scripts/globals/abilities/thunder_shot.lua | 22 | 2801 | -----------------------------------
-- Ability: Thunder Shot
-- Consumes a Thunder Card to enhance lightning-based debuffs. Deals lightning-based magic damage
-- Shock Effect: Enhanced DoT and MND-
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
requi... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/West_Ronfaure/npcs/Zovriace.lua | 3 | 38375 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Zovriace
-- Type: Patrol NPC
-- !pos -436.356 -15.851 -258.168 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/pathfind");
--------------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/abilities/pets/attachments/tension_spring.lua | 27 | 1089 | -----------------------------------
-- Attachment: Tension Spring
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onUseAbility
-----------------------------------
function onEquip(pet)
pet:addMod(MOD_ATTP, 3)
pet:addMod(MOD_RATTP, 3)
end
function... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Metalworks/npcs/Franziska.lua | 17 | 1138 | -----------------------------------
-- Area: Metalworks
-- NPC: Franziska
-- Type: Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Metalworks/TextIDs");
-----------------------------------
-- on... | gpl-3.0 |
n1ghtmare/Algorithm-Implementations | Alpha_Beta_Pruning/Lua/Yonaba/alpha_beta_pruning_test.lua | 26 | 1062 | -- Tests for alpha_beta_pruning.lua
local ABP = require 'alpha_beta_pruning'
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 = pa... | mit |
Arcscion/Shadowlyre | scripts/zones/Outer_Horutoto_Ruins/npcs/_5eb.lua | 3 | 1856 | -----------------------------------
-- 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("scripts/... | gpl-3.0 |
jono659/enko | scripts/zones/RuAun_Gardens/npcs/HomePoint#4.lua | 12 | 1248 | -----------------------------------
-- Area: RuAun_Gardens
-- NPC: HomePoint#4
-- @pos 500 -42 158 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/RuAun_Gardens/TextIDs");
require("scripts/globa... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Mhaura/npcs/Koh_Lenbalalako.lua | 3 | 2310 | -----------------------------------
-- Area: Mhaura
-- NPC: Koh Lenbalalako
-- Type: Standard NPC
-- !pos -64.412 -17 29.213 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/gl... | gpl-3.0 |
jono659/enko | scripts/zones/Inner_Horutoto_Ruins/TextIDs.lua | 5 | 1317 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6548; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6551; -- Obtained: <item>.
GIL_OBTAINED = 6552; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6554; -- Obtained... | gpl-3.0 |
jono659/enko | scripts/globals/items/soft-boiled_egg.lua | 35 | 1195 | -----------------------------------------
-- ID: 4532
-- Item: soft-boiled_egg
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 20
-- Magic 20
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
N0U/Zero-K | ModelMaterials/4_features_trees.lua | 4 | 5133 | -- $Id$
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
local windLocIDs = {[0] = -2, [1] = -2}
local function DrawFeature(featureID, material, drawMode) -- UNUSED!
local etcLocIdx = (drawMode == 5) and ... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Sacrarium/npcs/qm4.lua | 1 | 1817 | -----------------------------------
-- Area: Sacrarium
-- NPC: qm4 (???)
-- Notes: Used to spawn Old Prof. Mariselle
-- !pos 22.669 -3.111 127.279 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Sacrarium/Text... | gpl-3.0 |
jono659/enko | scripts/zones/Tavnazian_Safehold/npcs/Caiphimonride.lua | 37 | 1316 | -----------------------------------
-- 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 |
Configi/configi | vendor/lua/lib.lua | 1 | 14031 | local tonumber, rawget, type, pcall, load, setmetatable, ipairs, next, pairs, error, getmetatable =
tonumber, rawget, type, pcall, load, setmetatable, ipairs, next, pairs, error, getmetatable
local fix_return_values = function(ok, ...)
if ok then
return ...
else
return nil, (...)
end
end
local pca... | mit |
Arcscion/Shadowlyre | scripts/globals/items/bowl_of_vegetable_gruel.lua | 12 | 1502 | -----------------------------------------
-- ID: 4489
-- Item: bowl_of_vegetable_gruel
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Vitality -1
-- Agility 2
-- Ranged Accuracy % 15 (cap 10)
-- HP Recovered While Healing 4
-----------------------------------------
require("scripts/global... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/items/cone_calamary.lua | 12 | 1328 | -----------------------------------------
-- ID: 5128
-- Item: Cone Calamary
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
hsteinhaus/ardupilot | Tools/CHDK-Scripts/Cannon SX260/3DR_EAI_SX260.lua | 96 | 29666 |
--[[
KAP UAV Exposure Control Script v3.1
-- Released under GPL by waterwingz and wayback/peabody
http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script
3DR EAI 1.0 is a fork of KAP 3.1 with settings specific to Canon cameras triggered off the Pixhawk autopilot.
Changelog:
-Modified Tv, Av, and... | gpl-3.0 |
jono659/enko | scripts/zones/Northern_San_dOria/npcs/Justi.lua | 36 | 1852 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Justi
-- Conquest depending furniture seller
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Bastok_Mines/npcs/Azette.lua | 5 | 1979 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Azette
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/chocobo");
require("scripts/globals/status");
-----------------------------------
-- o... | gpl-3.0 |
jono659/enko | 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 |
jono659/enko | scripts/zones/Port_Bastok/npcs/Silver_Owl.lua | 34 | 1328 | -----------------------------------
-- Area: Port Bastok
-- NPC: Silver Owl
-- Type: Tenshodo Merchant
-- @pos -99.155 4.649 23.292 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
jono659/enko | scripts/zones/Port_Windurst/npcs/Honorio.lua | 20 | 1382 | -----------------------------------
-- Area: Port Windurst
-- NPC: Honorio
-- @zone 240
-- @pos 218 -5 114
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyite... | gpl-3.0 |
jono659/enko | scripts/commands/reloadglobal.lua | 26 | 1230 | ---------------------------------------------------------------------------------------------------
-- func: @reloadglobal
-- desc: Attempt to reload specified global lua without a restart.
--
-- Use with caution, some files ( like player.lua )
-- can cause you problems if you reload them using this.
-- This comm... | gpl-3.0 |
jono659/enko | scripts/zones/Bastok_Markets/npcs/Loulia.lua | 37 | 1076 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Loulia
-- Type: Room Renters
-- @zone: 235
-- @pos -176.212 -9 -25.049
--
-- Auto-Script: Requires Verification. Validated standard dialog - thrydwolf 12/8/2011
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/Tex... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Port_Jeuno/npcs/Veujaie.lua | 3 | 1041 | ----------------------------------
-- Area: Port Jeuno
-- NPC: Veujaie
-- Type: Item Deliverer
-- @zone 246
-- !pos -20.349 7.999 -2.888
--
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------... | gpl-3.0 |
jono659/enko | scripts/zones/Kazham/npcs/Majjih_Bakrhamab.lua | 12 | 1383 | -----------------------------------
-- Area: Kazham
-- NPC: Majjih Bakrhamab
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
----------------------... | gpl-3.0 |
N0U/Zero-K | LuaUI/Widgets/chili/Controls/object.lua | 5 | 22162 | --//=============================================================================
Object = {
classname = 'object',
--x = 0,
--y = 0,
--width = 10,
--height = 10,
defaultWidth = 10, --FIXME really needed?
defaultHeight = 10,
visible = true,
--hidden = false, --// synonym fo... | gpl-2.0 |
alireza85/worstwolfa | plugins/time.lua | 2 | 3007 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
spawnazzo/luci | libs/web/luasrc/i18n.lua | 77 | 3182 | --[[
LuCI - Internationalisation
Description:
A very minimalistic but yet effective internationalisation module
FileId:
$Id$
License:
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 ... | apache-2.0 |
Arcscion/Shadowlyre | scripts/globals/items/fish_chiefkabob.lua | 12 | 1465 | -----------------------------------------
-- ID: 4575
-- Item: fish_chiefkabob
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 1
-- Vitality 2
-- Mind -1
-- defense % 25
-- defense Cap 95
-----------------------------------------
require("scripts/globals/status");
-------------... | gpl-3.0 |
jono659/enko | scripts/commands/changejob.lua | 26 | 1936 | ---------------------------------------------------------------------------------------------------
-- func: changejob
-- desc: Changes the players current job.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = ... | gpl-3.0 |
N0U/Zero-K | units/turretaafar.lua | 5 | 4394 | unitDef = {
unitname = [[turretaafar]],
name = [[Chainsaw]],
description = [[Long-Range Anti-Air Missile Battery]],
acceleration = 0,
brakeRate = 0,
buildCostMetal = 900,
builder ... | gpl-2.0 |
jono659/enko | 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 |
jono659/enko | 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 |
Arcscion/Shadowlyre | scripts/zones/Castle_Zvahl_Baileys/npcs/Torch.lua | 3 | 3522 | -----------------------------------
-- Area: Castle Zvahl Baileys
-- NPC: Torch (x4)
-- Involved in Quests: Borghertz's Hands (AF Hands, Many job)
-- @zone 161
-- !pos 63 -24 21
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Baileys/TextIDs"] = nil;
-----------------------------------
r... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/LaLoff_Amphitheater/npcs/qm0_4.lua | 17 | 1168 | -----------------------------------
-- 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 |
N0U/Zero-K | scripts/striderfunnelweb.lua | 5 | 4075 | include "constants.lua"
include "spider_walking.lua"
local ALLY_ACCESS = {allied = true}
local notum = piece 'notum'
local gaster = piece 'gaster'
local gunL, gunR, flareL, flareR, aimpoint = piece('gunl', 'gunr', 'flarel', 'flarer', 'aimpoint')
local shieldArm, shield, eye, eyeflare = piece('shield_arm', 'shield', ... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/globals/weaponskills/seraph_blade.lua | 23 | 1356 | -----------------------------------
-- Seraph Blade
-- Sword weapon skill
-- Skill Level: 125
-- Deals light elemental damage to enemy. Damage varies with TP.
-- Ignores shadows.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: Light
-- Modifiers: STR:40% ; MND:40%
-- 100%TP 200%TP 300%... | gpl-3.0 |
adib1380/anti | 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 |
Arcscion/Shadowlyre | scripts/zones/Labyrinth_of_Onzozo/mobs/Labyrinth_Manticore.lua | 3 | 1067 | -----------------------------------
-- Area: Labyrinth of Onzozo
-- MOB: Labyrinth Manticore
-- Note: Place holder Narasimha
-----------------------------------
require("scripts/globals/groundsofvalor");
require("scripts/zones/Labyrinth_of_Onzozo/MobIDs");
-----------------------------------
-- onMobDeath
----------... | gpl-3.0 |
jono659/enko | scripts/zones/North_Gustaberg_[S]/npcs/Roderich.lua | 10 | 1302 | -----------------------------------
-- Area: North Gustaberg (S) (I-6)
-- NPC: Gebhardt
-- Involved in Quests: The Fighting Fourth
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil;
package.loaded["scripts/globals/quests"] = nil;
-----------------------------------
r... | gpl-3.0 |
jono659/enko | scripts/zones/Bastok_Markets/npcs/Nbu_Latteh.lua | 17 | 3482 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Nbu Latteh
-- Starts & Finishes Quest: Mom, The Adventurer?
-- Starts Quest: The Signpost Marks the Spot
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
jono659/enko | scripts/zones/Horlais_Peak/bcnms/the_secret_weapon.lua | 13 | 2277 | -----------------------------------
-- Area: Horlais Peak
-- Name: Mission Rank 7
-- @pos -509 158 -211 139
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions... | gpl-3.0 |
jono659/enko | scripts/globals/items/plate_of_shrimp_sushi_+1.lua | 35 | 1614 | -----------------------------------------
-- ID: 5692
-- Item: plate_of_shrimp_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Vitality 1
-- Defense 5
-- Accuracy % 12 (unknown, assuming HQ stat)
-- Store TP 2
-- Triple Attack 1 (unknown, assuming same as NQ)
-----------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Bastok_Markets/npcs/Fatimah.lua | 3 | 2085 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Fatimah
-- Type: Goldsmithing Adv. Synthesis Image Support
-- !pos -193.849 -7.824 -56.372 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
wissam3/bot.ahvaz | plugins/sopergr.lua | 1 | 83516 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY SAJJAD NOORI ▀▄ ▄▀
▀▄ ▄▀ BY SAJAD NOORI (@SAJJADNOORI) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY SAJJAD NOORI ▀▄ ▄▀
▀▄ ▄▀ Orders : الاوامر ▀▄ ▄▀
▀▄... | gpl-2.0 |
ygalblum/packages | net/prosody/files/prosody.cfg.lua | 147 | 7257 | -- Prosody Example Configuration File
--
-- Information on configuring Prosody can be found on our
-- website at http://prosody.im/doc/configure
--
-- Tip: You can check that the syntax of this file is correct
-- when you have finished by running: luac -p prosody.cfg.lua
-- If there are any errors, it will let you know... | gpl-2.0 |
mohammad8/12345 | plugins/Welcome.lua | 114 | 3529 | local add_user_cfg = load_from_file('data/add_user_cfg.lua')
local function template_add_user(base, to_username, from_username, chat_name, chat_id)
base = base or ''
to_username = '@' .. (to_username or '')
from_username = '@' .. (from_username or '')
chat_name = string.gsub(chat_name, '_', ' ') or ''
c... | gpl-2.0 |
JoseEduardo/shaykie_bot | modules/03-pvp/pvp.lua | 1 | 13964 | --[[
@Authors: Ben Dol (BeniS)
@Details:
]]
PvpModule = {}
-- load module events
dofiles('events')
local Panel = {
--
}
setCurrType = 'PvE'
local UI = {}
local playerPush = {}
function PvpModule.getPanel() return Panel end
function PvpModule.setPanel(panel) Panel = panel end
function PvpModule.init()
--... | mit |
rtsisyk/tarantool | test/app-tap/pcall.test.lua | 3 | 1495 | #!/usr/bin/env tarantool
local ffi = require('ffi')
print[[
--------------------------------------------------------------------------------
-- #267: Bad exception catching
--------------------------------------------------------------------------------
]]
box.cfg{
log="tarantool.log",
memtx_memory=107374182... | bsd-2-clause |
N0U/Zero-K | effects/gundam_kampferimpact.lua | 25 | 7159 | -- kampferimpact
return {
["kampferimpact"] = {
dirta = {
air = true,
class = [[CSimpleParticleSystem]],
count = 1,
properties = {
airdrag = 0.7,
alwaysvisible = true,
colormap = [[0.1 0.1 0.1 1.0 0... | gpl-2.0 |
N0U/Zero-K | LuaRules/Gadgets/mission_galaxy_campaign_battle.lua | 2 | 50116 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function gadget:GetInfo()
return {
name = "Galaxy Campaign Battle Handler",
desc = "Implements unit locks and structure placement.",
author = "GoogleFr... | gpl-2.0 |
marvinkopf/cuberite | Server/Plugins/APIDump/Classes/BlockEntities.lua | 8 | 18966 | return
{
cBlockEntity =
{
Desc = [[
Block entities are simply blocks in the world that have persistent data, such as the text for a sign
or contents of a chest. All block entities are also saved in the chunk data of the chunk they reside in.
The cBlockEntity class acts as a common ancestor for all the indi... | apache-2.0 |
monsieurzhang/OpenNMT | tools/extract_embeddings.lua | 3 | 2297 | require('onmt.init')
local path = require('pl.path')
local cmd = torch.CmdLine()
cmd:option('-model', '', 'trained model file')
cmd:option('-output_dir', '.', 'output directory')
cmd:option('-gpuid', 0, [[1-based identifier of the GPU to use. CPU is used when the option is < 1]])
local opt = cmd:parse(arg)
local fun... | mit |
jono659/enko | scripts/zones/Meriphataud_Mountains_[S]/npcs/Cavernous_Maw.lua | 29 | 1505 | -----------------------------------
-- Area: Meriphataud Mountains [S]
-- NPC: Cavernous Maw
-- @pos 597 -32 279 97
-- Teleports Players to Meriphataud Mountains
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains_[S]/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Al_Zahbi/npcs/Dehbi_Moshal.lua | 3 | 1180 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Dehbi Moshal
-- Guild Merchant NPC: Woodworking Guild
-- !pos -71.563 -5.999 -57.544 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
r... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/items/reishi_mushroom.lua | 12 | 1182 | -----------------------------------------
-- ID: 4449
-- Item: reishi_mushroom
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -6
-- Mind 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/abilities/pets/attachments/drum_magazine.lua | 28 | 1126 | -----------------------------------
-- Attachment: Drum Magazine
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onUseAbility
-----------------------------------
function onEquip(pet)
pet:addMod(MOD_SNAP_SHOT, 2)
pet:addMod(MOD_ACC, -2)
end
funct... | gpl-3.0 |
wez2020/new | plugins/admin.lua | 11 | 2376 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(rec... | gpl-2.0 |
Tikiwinkie/overthebox-feeds | luci-mod-admin-full/luasrc/model/cbi/admin_network/proto_ahcp.lua | 84 | 2006 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local device, apn, service, pincode, username, password
local ipv6, maxwait, defaultroute, metric, peerdns, dns,
keepalive_failure, keepalive_interval, demand
mca = s:tabop... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.