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 |
|---|---|---|---|---|---|
Zarty55/gumnating | libs/hump/camera.lua | 12 | 5560 | --[[
Copyright (c) 2010-2013 Matthias Richter
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Lufaise_Meadows/npcs/Luck_Rune.lua | 34 | 1079 | -----------------------------------
-- Area: Lufaise Meadows
-- NPC: Luck Rune
-- Involved in Quest: Mhaura Fortune
-- @pos 276.507 1.917 -139.961 24
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-------------------------------------
require("scripts/z... | gpl-3.0 |
ThatOdieGuy/vlc | share/lua/sd/appletrailers.lua | 110 | 1814 | --[[
$Id$
Copyright © 2010 VideoLAN and AUTHORS
Authors: Ilkka Ollakka <ileoo at videolan dot org >
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 2 of the License, or
(at yo... | gpl-2.0 |
zhaozg/luvit | tests/test-fs-long-path.lua | 11 | 1553 | --[[
Copyright 2012-2015 The Luvit Authors. All Rights Reserved.
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
Unless required by applicable law or... | apache-2.0 |
zhaozg/luvit | tests/test-thread.lua | 8 | 1239 | local thread = require('thread')
local fs = require('fs')
require('tap')(function(test)
test('main', function()
p('main:',thread.self())
end)
test('thread', function()
local thr = thread.start(function(a,b,c)
local thread = require'thread'
local fs = require'fs'
assert(a+b==c)
p... | apache-2.0 |
otservme/global1053 | data/actions/scripts/tools/crowbar.lua | 1 | 2189 | function onUse(cid, item, fromPosition, itemEx, toPosition)
local player = Player(cid)
local targetItem = Item(itemEx.uid)
-- In Service Of Yalahar Quest
if(itemEx.uid == 3071) then
if(getPlayerStorageValue(cid, 26) < 1) then
doSetMonsterOutfit(cid, "skeleton", 3 * 1000)
doSendMagicEffect(getPlayerPo... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Monastic_Cavern/TextIDs.lua | 4 | 1704 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6383; -- Obtained: <item>.
GIL_OBTAINED = 6384; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6386; -- Obtained... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/mobskills/Psychomancy.lua | 7 | 1125 | ---------------------------------------------------
-- Psychomancy
-- Steals MP from players in range.
-- Type: Magical
-- Utsusemi/Blink absorb: ignore shadow
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpm... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha RPG meister/output/rdkObjs/Generator/Habilidade.lfm.lua | 1 | 3012 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmGeneratorAbility()
local obj = GUI.fromHandle(_obj_new... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/_0zu.lua | 19 | 1067 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- NPC: particle gate
-----------------------------------
require("scripts/globals/keyitems");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
---------------------... | gpl-3.0 |
codneutro/L2D | sys/lua/L2D/match/match_manager.lua | 1 | 14481 | ---
-- Match management (Saving / Creating process)
-- @author: x[N]ir
-- @release: 29/03/16
--- All previous matches
matches = {};
--- Waiting matches
matchesQueue = {};
--- currentMatch
-- @tfield Match currentMatch
currentMatch = nil;
--- Total number of played matches since the beginning
-- @tfield int ... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/items/serving_of_flounder_meuniere.lua | 35 | 1581 | -----------------------------------------
-- ID: 4584
-- Item: serving_of_flounder_meuniere
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Dexterity 6
-- Mind -1
-- Ranged ACC 15
-- Ranged ATT % 14
-- Ranged ATT Cap 25
-- Enmity -3
-----------------------------------------
... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/spells/bluemagic/mandibular_bite.lua | 27 | 1745 | -----------------------------------------
-- Spell: Mandibular Bite
-- Damage varies with TP
-- Spell cost: 38 MP
-- Monster Type: Vermin
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 2
-- Stat Bonus: INT+1
-- Level: 44
-- Casting Time: 0.5 seconds
-- Recast Time: 19.25 seconds
-- Skillchain prope... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/items/timbre_timbers_taco.lua | 35 | 1566 | -----------------------------------------
-- ID: 5173
-- Item: timbre_timbers_taco
-- Food Effect: 1hour, All Races
-----------------------------------------
-- MP 20
-- Vitality -1
-- Agility 5
-- MP Recovered While Healing 3
-- Ranged Accuracy % 8 (cap 15)
-----------------------------------------
requir... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/RuLude_Gardens/npcs/Perisa-Neburusa.lua | 38 | 1048 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Perisa-Neburusa
-- Type: Residence Renter
-- @zone: 243
-- @pos 54.651 8.999 -74.372
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Dangruf_Wadi/npcs/qm2.lua | 29 | 1455 | -----------------------------------
-- Area: Dangruf Wadi
-- NPC: ??? (QM2)
-- Type: Item Giver
-- @pos -120.041 2.621 415.989 191
-- Starts and Finishes: Breaking Stones, An Empty Vessel
-- Only spawns if the weather is SUNNY or CLEAR
-----------------------------------
package.loaded["scripts/zones/Dan... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Southern_San_dOria/npcs/Vemalpeau.lua | 12 | 2518 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Vemalpeau
-- Involved in Quests: Under Oath
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts... | gpl-3.0 |
hxw804781317/MT7620N | package/ralink/ui/luci-mtk/src/applications/luci-p2pblock/luasrc/model/cbi/luci_fw/p2pblock.lua | 78 | 2276 | --[[
LuCI - Lua Configuration Interface
Copyright 2009 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$
]]--
lo... | gpl-2.0 |
godly-devotion/Baka-MPlayer-old | Baka MPlayer/bin/Debug/libquvi-scripts/0.9/media/vzaar.lua | 3 | 3750 | -- libquvi-scripts
-- Copyright (C) 2013 Toni Gundogdu <legatvs@gmail.com>
--
-- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>.
--
-- This program is free software: you can redistribute it and/or
-- modify it under the terms of the GNU Affero General Public
-- License as published by the Free Sof... | gpl-2.0 |
otservme/global1053 | data/npc/scripts/Tim, The Guard.lua | 2 | 1943 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, ms... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/globals/weaponskills/death_blossom.lua | 6 | 5444 | -----------------------------------
-- Death Blossom
-- Sword weapon skill (RDM main only)
-- Description: Delivers a threefold attack that lowers target's magic evasion. Chance of lowering target's magic evasion varies with TP. Murgleis: Aftermath effect varies with TP.
-- Lowers magic evasion by up to 10.
-- Eff... | gpl-3.0 |
coltonj96/UsefulCombinators | UsefulCombinators_0.3.9/control.lua | 1 | 79191 | local data = {}
local classes = {}
local selected = {}
function save()
global["uc_data"] = data
end
classes["timer-combinator"] = {
on_click = function(player, object)
local gui = player.gui.center.uc["timer-combinator"]
object.meta.reset = tonumber(gui["reset"].text) or object.meta.reset
... | mit |
Kinathka/gmod_airbase_vehicles | avehicle_main/lua/AVehicles/server/init.lua | 1 | 8273 | /**********************************************************************************************
//////##////////##//////////##//##########//##////////##////////##////////##########//##########
////##//##//////##//////////##//##//////////####//////##//////##//##//////////##//////##////////
////##//##//////##//////////##... | lgpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/weaponskills/slug_shot.lua | 30 | 1533 | -----------------------------------
-- Slug Shot
-- Marksmanship weapon skill
-- Skill Level: 175
-- Delivers an inparams.accurate attack that deals quintuple damage. params.accuracy varies with TP.
-- Despite the lack of a STR weaponskill mod, STR is still the most potent stat for increasing this weaponskill's da... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Aht_Urhgan_Whitegate/TextIDs.lua | 4 | 4950 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 218; -- You cannot obtain the item. Come back after sorting your inventory.?Prompt?
ITEM_CANNOT_BE_OBTAINEDX = 219; -- You cannot obtain the ?Possible Special Code: 01??Possible Special Code: 05?#?BAD CHAR: 8280??BAD CHAR: 80??BAD CHAR: 8... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Numenera/output/rdkObjs/Numenera/SkillItem.lfm.lua | 1 | 4253 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmSkillItem()
local obj = GUI.fromHandle(_obj_newObject(... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Esoteric_Hound.lua | 34 | 1040 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Esoteric Hound
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
---... | gpl-3.0 |
angeloc/sysdig | userspace/sysdig/chisels/topprocs_net.lua | 4 | 1647 | --[[
Copyright (C) 2013-2018 Draios Inc dba Sysdig.
This file is part of sysdig.
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
Unless required by ... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/RPGPokemon/output/rdkObjs/trainerDex.lfm.lua | 1 | 23997 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmDex()
local obj = GUI.fromHandle(_obj_newObject("form"... | apache-2.0 |
APItools/monitor | lua/model.lua | 2 | 3921 | local inspect = require 'inspect'
local m = require 'model_helpers'
local fn = require 'functional'
local jor = require 'jor'
local statsd = require 'statsd_wrapper'
local Queue = require 'shared_queue'
local map = fn.map
local is_table = fn.is(type, 'table')
local Model = {}
local Model_mt = ... | mit |
vasilenkomike/tarantool | test/sophia/select.test.lua | 6 | 1943 |
-- select (str)
space = box.schema.space.create('test', { engine = 'sophia' })
index = space:create_index('primary', { type = 'tree', parts = {1, 'str'} })
for key = 1, 100 do space:replace({tostring(key)}) end
index:select({}, {iterator = box.index.ALL})
index:select({}, {iterator = box.index.GE})
index:select(tostri... | bsd-2-clause |
The-HalcyonDays/darkstar | scripts/zones/Cloister_of_Tides/bcnms/trial-size_trial_by_water.lua | 13 | 2099 | -----------------------------------
-- Area: Cloister of Tides
-- BCNM: Trial by Water
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Tides/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/shop");
require("scripts/globals/... | gpl-3.0 |
rgieseke/scintillua | lexers/sql.lua | 1 | 2825 | -- Copyright 2006-2018 Mitchell mitchell.att.foicica.com. See LICENSE.
-- SQL LPeg lexer.
local lexer = require('lexer')
local token, word_match = lexer.token, lexer.word_match
local P, R, S = lpeg.P, lpeg.R, lpeg.S
local lex = lexer.new('sql')
-- Whitespace.
lex:add_rule('whitespace', token(lexer.WHITESPACE, lexer.... | mit |
The-HalcyonDays/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/RongeloutsNDistaud.lua | 3 | 1619 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Rongelouts N Distaud
-- @zone 80
-- @pos 0.067 2 -22
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/glob... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Moh_Gates/Zone.lua | 34 | 1230 | -----------------------------------
--
-- Zone: Moh Gates
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Moh_Gates/TextIDs"] = nil;
require("scripts/zones/Moh_Gates/TextIDs");
-----------------------------------
-- onInitialize
----------------... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/items/bowl_of_shark_fin_soup.lua | 35 | 1841 | -----------------------------------------
-- ID: 4452
-- Item: bowl_of_shark_fin_soup
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP % 5
-- MP 5
-- Dexterity 4
-- Mind -4
-- HP Recovered While Healing 9
-- Attack % 14 (cap 60)
-- Ranged Attack % 14 (cap 60)
-----------------... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Mutantes e Malfeitores 3e/sdk/rrpgGUI.lua | 4 | 80647 | local objs = require("rrpgObjs.lua");
local ndb = require("ndb.lua");
gui = {}
GUI = gui;
local guiLoaders = {};
gui.guiLoaders = guiLoaders;
--[[ Objeto Control ]]--
local function controlFromHandle(handle)
local ctrl = objs.hierarchyObjectFromHandle(handle);
function ctrl:setFocus() _obj_... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Norg/npcs/Jaucribaix.lua | 17 | 9727 | -----------------------------------
-- Area: Norg
-- NPC: Jaucribaix
-- Starts and Finishes Quest: Forge Your Destiny, The Sacred Katana, Yomi Okuri, A Thief in Norg!?
-- @pos 91 -7 -8 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------... | gpl-3.0 |
FluffyGods/IBG-Afghan-War-TDM-Content | IBG Afghan War TDM Content/lua/entities/sent_sakarias_car_uaz_van/shared.lua | 1 | 4539 | ENT.Base = "sent_sakarias_scar_base"
ENT.Type = "anim"
ENT.PrintName = "UAZ Van"
ENT.Author = "Prof.Heavy"
ENT.Category = "Call of Duty 4"
ENT.Information = ""
ENT.AdminOnly = false
ENT.Spawnable = false
ENT.AdminSpawnable = false
ENT.AddSpawnHeight = 50
ENT.ViewDist = 200
ENT.ViewDistUp = 10
ENT.NrOfSeats = 2
ENT.N... | apache-2.0 |
nimaghorbani/dozdi8 | plugins/currency.lua | 3 | 1099 | local doc = [[
/cash <from> <to> [amount]
Convert an amount from one currency to another.
Example: /cash USD EUR 5
]]
local triggers = {
'^/cash'
}
local action = function(msg)
local input = get_input(msg.text)
if not input then
return send_msg(msg, doc)
end
local url = 'http://www.google.com/finance/conv... | gpl-2.0 |
otservme/global1053 | data/creaturescripts/scripts/inquisition quest/inquisitionQuestBosses.lua | 1 | 1255 | local bosses = {
["ushuriel"] = 200,
["zugurosh"] = 201,
["madareth"] = 202,
["latrivan"] = 203,
["golgordan"] = 203,
["annihilon"] = 204,
["hellgorak"] = 205
}
function onKill(cid, target)
if(bosses[string.lower(getCreatureName(target))]) then
if(string.lower(getCreatureName(target)) == "latriva... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/globals/items/koen.lua | 16 | 1431 | -----------------------------------------
-- ID: 6430
-- Item: Koen
-- Additional Effect: Fire Damage
-- Enchantment: "Enfire"
-- Charges: 30 Reuse: 300 Secs
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAddition... | gpl-3.0 |
beniji/dupefinder | src/main/lua/dupefinder.lua | 1 | 11516 | --package.path = "../main/lua/?.lua;" .. package.path
local rex = require('rex_pcre')
local utils = require('utils')
local fileutils = require('fileutils')
local optparse = require('optparse')
local function toJsonArray(fileMetaList)
local tmp = {}
for _, meta in pairs(fileMetaList) do
local escapedFileName ... | mit |
rrpgfirecast/firecast | Plugins/Sheets/Malditos Goblins/sdk/vhd.lua | 99 | 1351 | local localVHD = {};
vhd = localVHD;
VHD = vhd;
function vhd.expandFileName(shortFileName)
return __vhd__expandFileName(shortFileName);
end
function vhd.addSearchPath(directory)
__vhd_addSearchPath(directory);
end
function vhd.removeSearchPath(directory)
__vhd_removeSearchPath(directory);
end
function vhd.fileE... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Pathfinder/sdk/vhd.lua | 99 | 1351 | local localVHD = {};
vhd = localVHD;
VHD = vhd;
function vhd.expandFileName(shortFileName)
return __vhd__expandFileName(shortFileName);
end
function vhd.addSearchPath(directory)
__vhd_addSearchPath(directory);
end
function vhd.removeSearchPath(directory)
__vhd_removeSearchPath(directory);
end
function vhd.fileE... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Vampire The Masquerade 5th/sdk/vhd.lua | 99 | 1351 | local localVHD = {};
vhd = localVHD;
VHD = vhd;
function vhd.expandFileName(shortFileName)
return __vhd__expandFileName(shortFileName);
end
function vhd.addSearchPath(directory)
__vhd_addSearchPath(directory);
end
function vhd.removeSearchPath(directory)
__vhd_removeSearchPath(directory);
end
function vhd.fileE... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Avatar d20/sdk/vhd.lua | 99 | 1351 | local localVHD = {};
vhd = localVHD;
VHD = vhd;
function vhd.expandFileName(shortFileName)
return __vhd__expandFileName(shortFileName);
end
function vhd.addSearchPath(directory)
__vhd_addSearchPath(directory);
end
function vhd.removeSearchPath(directory)
__vhd_removeSearchPath(directory);
end
function vhd.fileE... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Exalted 3rd/sdk/vhd.lua | 99 | 1351 | local localVHD = {};
vhd = localVHD;
VHD = vhd;
function vhd.expandFileName(shortFileName)
return __vhd__expandFileName(shortFileName);
end
function vhd.addSearchPath(directory)
__vhd_addSearchPath(directory);
end
function vhd.removeSearchPath(directory)
__vhd_removeSearchPath(directory);
end
function vhd.fileE... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Runarcana/sdk/vhd.lua | 99 | 1351 | local localVHD = {};
vhd = localVHD;
VHD = vhd;
function vhd.expandFileName(shortFileName)
return __vhd__expandFileName(shortFileName);
end
function vhd.addSearchPath(directory)
__vhd_addSearchPath(directory);
end
function vhd.removeSearchPath(directory)
__vhd_removeSearchPath(directory);
end
function vhd.fileE... | apache-2.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Mighty Blade 2e/sdk/vhd.lua | 99 | 1351 | local localVHD = {};
vhd = localVHD;
VHD = vhd;
function vhd.expandFileName(shortFileName)
return __vhd__expandFileName(shortFileName);
end
function vhd.addSearchPath(directory)
__vhd_addSearchPath(directory);
end
function vhd.removeSearchPath(directory)
__vhd_removeSearchPath(directory);
end
function vhd.fileE... | apache-2.0 |
telldus/tellstick-lua-examples | zwave/CoolCam/Siren.lua | 1 | 2801 | -- The CoolCam Siren can act as both Siren and Doorbell.
-- The different modes, sounds and volume has to be set as configurations
-- Please note that the configurations are not resetted to what it was before.
local deviceName = "Siren"
local doorbell = "dingdong"
local alarm = "alarm"
debug = true
----
local device... | mit |
The-HalcyonDays/darkstar | scripts/zones/Selbina/npcs/Thunder_Hawk.lua | 10 | 2435 | -----------------------------------
-- Area: Selbina
-- NPC: Thunder Hawk
-- Starts and Finishes Quest: The Rescue
-- @pos -58 -10 6 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
re... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/zones/Northern_San_dOria/npcs/Durogg.lua | 31 | 2754 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Durogg
-- Type: Past Event Watcher
-- @zone: 231
-- @pos: 15 0 -18
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");
require("scripts/g... | gpl-3.0 |
Stanzilla/prat-3-0 | modules/Keybindings.lua | 1 | 5012 | ---------------------------------------------------------------------------------
--
-- Prat - A framework for World of Warcraft chat mods
--
-- Copyright (C) 2006-2011 Prat Development Team
--
-- This program is free software; you can redistribute it and/or
-- modify it under the terms of the GNU General Public Lice... | gpl-3.0 |
dxd214/wax | lib/stdlib/helpers/init.lua | 17 | 1569 | require "wax.helpers.bit"
require "wax.helpers.callback"
require "wax.helpers.frame"
require "wax.helpers.base64"
require "wax.helpers.time"
require "wax.helpers.cache"
require "wax.helpers.autoload"
require "wax.helpers.WaxServer"
require "wax.helpers.pickView"
-- Just a bunch of global helper functions
function IBO... | mit |
Kinathka/gmod_airbase_vehicles | avehicle_main/lua/entities/avehicle_hp_rocketa1/init.lua | 1 | 8576 | AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include( 'shared.lua' )
function ENT:Initialize()
self.BaseClass.Initialize(self)
--self.Entity:SetKeyValue("rendercolor", "255 255 255")
self.Fired = false
self.LastFireTime = 0
self.ExplodeD = CurTime() + self.ExpDel
self.MForceDel = CurTime() --Cur... | lgpl-3.0 |
drix/jagg | src/core/gemgame.lua | 1 | 10019 | -------------------------------------------------------------------------
-- Created by Adriano Spadoni
-- alte_br@hotmail.com
-- 04 Jun 2014
-- CoronaSDK was used for this game.
-------------------------------------------------------------------------
local gemboard = require("core.gemboard")
local super = r... | mit |
rrpgfirecast/firecast | Plugins/Sheets/D&D 3.5/output/rdkObjs/pericias.lfm.lua | 2 | 8628 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_pericia()
local obj = GUI.fromHandle(_obj_newObject("form... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/globals/weaponskills/penta_thrust.lua | 30 | 1280 | -----------------------------------
-- Penta Thrust
-- Polearm weapon skill
-- Skill Level: 150
-- Delivers a five-hit attack. params.accuracy varies with TP.
-- 0.875 Attack penalty
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget.
-- Aligned with the Shadow Belt.
-- Element: None
-- Modifi... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha L5A/output/rdkObjs/L5A/3.lfm.lua | 1 | 77758 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmL5A3_svg()
local obj = GUI.fromHandle(_obj_newObject("... | apache-2.0 |
coltonj96/UsefulCombinators | UsefulCombinators_0.0.5/prototypes/item/items.lua | 4 | 1652 | data:extend(
{
{
type = "item",
name = "timer-combinator",
icon = "__UsefulCombinators__/graphics/icons/timer-combinator.png",
flags = { "goes-to-quickbar" },
subgroup = "circuit-network",
place_result="timer-combinator",
order = "b[combinators]-u[timer-combinator]",
stack_s... | mit |
The-HalcyonDays/darkstar | scripts/zones/Mine_Shaft_2716/npcs/_0d0.lua | 12 | 1980 | -----------------------------------
-- Area: Mine_Shaft_2716
-- NPC: Shaft entrance
-----------------------------------
package.loaded["scripts/zones/Mine_Shaft_2716/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/globa... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/weaponskills/drakesbane.lua | 12 | 4563 | -----------------------------------
-- Drakesbane
-- Polearm weapon skill
-- Skill level: N/A
-- Delivers a fourfold attack. Chance of params.critical hit varies with TP. Ryunohige: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Dragoon) quest.
-- Aligned with the Flame ... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/items/coin_cookie.lua | 35 | 1342 | -----------------------------------------
-- ID: 4520
-- Item: coin_cookie
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Magic Regen While Healing 6
-- Vermin Killer 5
-- Poison Resist 5
-----------------------------------------
require("scripts/globals/status");
-----------... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Michiria/output/rdkObjs/Michiria/LH.8.lfm.lua | 1 | 32501 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmLH8()
local obj = GUI.fromHandle(_obj_newObject("form"... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Yurim.lua | 19 | 19068 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Yurim
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/globals/keyitems");
require("scripts/globals/quests");
require("scripts/zones/Tavnazian_Safeho... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Ficha Tormenta 20/output/rdkObjs/Ficha Tormenta 20/ColorSelector.lfm.lua | 3 | 8052 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmColorSelector()
local obj = GUI.fromHandle(_obj_newObj... | apache-2.0 |
reza-sec/reza-sec | plugins/owners.lua | 194 | 23755 | local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['settings'... | gpl-2.0 |
reza-sec/reza-sec | plugins/invite.lua | 197 | 1336 | do
local function callbackres(extra, success, result)
--vardump(result)
local user = 'user#id'..result.peer_id
local chat = 'chat#id'..extra.chatid
local channel = 'channel#id'..extra.chatid
if is_banned(result.id, extra.chatid) then
send_large_msg(chat, 'User is banned.')
send_large_msg(c... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Bastok_Mines/npcs/Wahid.lua | 34 | 1939 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Wahid
-- Start & Finishes Quest: The Siren's Tear
-- @zone: 234
-- @pos 26.305 -1 -66.403
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
rrpgfirecast/firecast | Plugins/Sheets/Mutantes e Malfeitores 3e/output/rdkObjs/Ficha_MM3ed_RRPG_image/ListaPoderes.lfm.lua | 1 | 3426 | require("firecast.lua");
local __o_rrpgObjs = require("rrpgObjs.lua");
require("rrpgGUI.lua");
require("rrpgDialogs.lua");
require("rrpgLFM.lua");
require("ndb.lua");
require("locale.lua");
local __o_Utils = require("utils.lua");
local function constructNew_frmListaPoderes()
local obj = GUI.fromHandle(_o... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/globals/items/apkallu_egg.lua | 35 | 1195 | -----------------------------------------
-- ID: 5568
-- Item: Apkallu Egg
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Health 6
-- Magic 6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
rrpgfirecast/firecast | Macros/D&D5e/base_para_magias.lua | 1 | 4065 | -- Macro base para magias na ficha de D&D 5E nativa do firecast
-- Preparada pelo Marcola42
-- precisa ser editada uma vez para cada nova magias, basta editar o primeiro bloco que a macro faz o resto
-- Edite o nome da magia abaixo
local nomemagia = "Bola de fogo"
-- Selecione o nível inicial da magia, 0 para cantrip... | apache-2.0 |
The-HalcyonDays/darkstar | scripts/zones/Dragons_Aery/mobs/Nidhogg.lua | 23 | 1743 | -----------------------------------
-- Area: Dragons Aery
-- HNM: Nidhogg
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
---------------------------... | gpl-3.0 |
otservme/global1053 | data/npc/scripts/A Ghostly Woman.lua | 2 | 1158 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHan... | gpl-2.0 |
vasilenkomike/tarantool | test/box/access.test.lua | 7 | 9504 |
session = box.session
-- user id for a Lua session is admin - 1
session.uid()
-- extra arguments are ignored
session.uid(nil)
-- admin
session.user()
-- extra argumentes are ignored
session.user(nil)
-- password() is a function which returns base64(sha1(sha1(password))
-- a string to store in _user table
box.schema.us... | bsd-2-clause |
KlonD90/tarantool | test/box/access.test.lua | 7 | 9504 |
session = box.session
-- user id for a Lua session is admin - 1
session.uid()
-- extra arguments are ignored
session.uid(nil)
-- admin
session.user()
-- extra argumentes are ignored
session.user(nil)
-- password() is a function which returns base64(sha1(sha1(password))
-- a string to store in _user table
box.schema.us... | bsd-2-clause |
Therzok/WhatToDo | libs/GeminiConfig-1.0/GeminiConfigRegistry-1.0/GeminiConfigRegistry-1.0.lua | 2 | 13591 | -- -*- lua-indent-level: 4; -*-
--- GeminiConfigRegistry-1.0 handles central registration of options tables in use by addons and modules.\\
-- Options tables can be registered as raw tables, OR as function refs that return a table.\\
-- Such functions receive three arguments: "uiType", "uiName", "appName". \\
-- * Vali... | mit |
rgieseke/scintillua | lexers/scala.lua | 1 | 2024 | -- Copyright 2006-2018 JMS. See LICENSE.
-- Scala LPeg lexer.
local lexer = require('lexer')
local token, word_match = lexer.token, lexer.word_match
local P, R, S = lpeg.P, lpeg.R, lpeg.S
local lex = lexer.new('scala')
-- Whitespace.
local ws = token(lexer.WHITESPACE, lexer.space^1)
lex:add_rule('whitespace', ws)
-... | mit |
The-HalcyonDays/darkstar | scripts/globals/spells/dokumori_san.lua | 11 | 1200 | -----------------------------------------
-- Spell: Dokumori: San
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,targe... | gpl-3.0 |
NAM-IL/VLC-2_2_0 | share/lua/intf/luac.lua | 116 | 2333 | --[==========================================================================[
luac.lua: lua compilation module for VLC (duplicates luac)
--[==========================================================================[
Copyright (C) 2010 Antoine Cellerier
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>... | lgpl-2.1 |
coltonj96/UsefulCombinators | UsefulCombinators_0.4.4/prototypes/technology/technology.lua | 5 | 2528 | data:extend({
{
type = "technology",
name = "useful-combinators",
icon = "__UsefulCombinators__/graphics/technology/clock.png",
icon_size = 64,
effects =
{
{
type = "unlock-recipe",
recipe = "timer-combinator"
},
{
type = "unlock-recipe",
... | mit |
The-HalcyonDays/darkstar | scripts/zones/Korroloka_Tunnel/npcs/Excavation_Point.lua | 29 | 1117 | -----------------------------------
-- Area: Korroloka Tunnel
-- NPC: Excavation Point
-----------------------------------
package.loaded["scripts/zones/Korroloka_Tunnel/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/excavation");
require("scripts/zones/Korroloka_Tunnel/Text... | gpl-3.0 |
otservme/global1053 | data/npc/scripts/Karl.lua | 3 | 1521 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg)... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/globals/weaponskills/hot_shot.lua | 30 | 1336 | -----------------------------------
-- Hot Shot
-- Marksmanship weapon skill
-- Skill Level: 5
-- Deals fire elemental damage to enemy.
-- Aligned with the Flame Gorget & Light Gorget.
-- Aligned with the Flame Belt & Light Belt.
-- Element: Fire
-- Modifiers: AGI:30%
-- 100%TP 200%TP 300%TP
-- 0.50 ... | gpl-3.0 |
coltonj96/UsefulCombinators | UsefulCombinators_0.2.4/migrations/UsefulCombinators_0.1.9.lua | 26 | 1125 | game.reload_script()
for index, force in pairs(game.forces) do
force.reset_technologies()
if force.technologies["useful-combinators"].researched then
force.recipes["random-combinator"].enabled = true
force.recipes["comparator-combinator"].enabled = true
force.recipes["converter-combinator"].enab... | mit |
coltonj96/UsefulCombinators | UsefulCombinators_0.3.6/migrations/UsefulCombinators_0.1.9.lua | 26 | 1125 | game.reload_script()
for index, force in pairs(game.forces) do
force.reset_technologies()
if force.technologies["useful-combinators"].researched then
force.recipes["random-combinator"].enabled = true
force.recipes["comparator-combinator"].enabled = true
force.recipes["converter-combinator"].enab... | mit |
coltonj96/UsefulCombinators | UsefulCombinators_0.4.3/migrations/UsefulCombinators_0.1.9.lua | 26 | 1125 | game.reload_script()
for index, force in pairs(game.forces) do
force.reset_technologies()
if force.technologies["useful-combinators"].researched then
force.recipes["random-combinator"].enabled = true
force.recipes["comparator-combinator"].enabled = true
force.recipes["converter-combinator"].enab... | mit |
otservme/global1053 | data/npc/scripts/A Dead Bureaucrat3.lua | 2 | 2617 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg)... | gpl-2.0 |
otservme/global1053 | data/actions/scripts/oramond/darkTrail.lua | 1 | 6302 | local room = { -- room with demons
fromX = 33486,
fromY = 32081,
fromZ = 9,
--------------
toX = 33488,
toY = 32083,
toZ = 3
}
local monster_pos = {
[1] = {pos = {33486, 32081, 8}, monster = "Rat"},
[2] = {p... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/globals/items/plate_of_fin_sushi_+1.lua | 35 | 1486 | -----------------------------------------
-- ID: 5666
-- Item: plate_of_fin_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Intelligence 5
-- Accuracy % 17
-- Ranged Accuracy % 17
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/spells/phalanx.lua | 13 | 1073 | -----------------------------------------
-- Spell: PHALANX
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/items/moogle_pie.lua | 36 | 1626 | -----------------------------------------
-- ID: 5561
-- Item: Moogle Pie
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- HP 20
-- MP 20
-- Strength 1
-- Dexterity 1
-- Vitality 1
-- Agility 1
-- Intelligence 1
-- Mind 1
-- Charisma 1
-----------------------------------------
require("scr... | gpl-3.0 |
brianhang/nutscript2 | gamemode/libraries/sh_data.lua | 1 | 2861 | --[[
File: libraries/sh_data.lua
Purpose: Creates functions for making it easier to store abitrary and persistent
data.
--]]
-- The character after the curly brace.
local ENCODED_START = 2
-- The character before the closing curly brace.
local ENCODED_END = -2
nut.data = nut.data or {}
nut.data.stored = ... | mit |
dxd214/wax | examples/States/scripts/CapitalsTable.lua | 34 | 1030 | waxClass{"CapitalsTable", UITableViewController, protocols = {"UITableViewDataSource"}}
function init(self, state)
self.super:initWithStyle(UITableViewStyleGrouped)
self.state = state
self:setTitle(state.name)
return self
end
function viewDidLoad(self)
self:tableView():setDataSource(self)
end
-- DataSourc... | mit |
The-HalcyonDays/darkstar | scripts/globals/weaponskills/resolution.lua | 30 | 1697 | -----------------------------------
-- Resolution
-- Great Sword weapon skill
-- Skill Level: 357
-- Delivers a fivefold attack. Damage varies with TP.
-- In order to obtain Resolution, the quest Martial Mastery must be completed.
-- This Weapon Skill's first hit params.ftp is duplicated for all additional hits.
... | gpl-3.0 |
PraeluceantBoreus/TheShipGMod | gamemode/gui/cs_progressbar.lua | 1 | 1447 | ProgBar = {}
local def_width = 300
local def_height = 40
local def_round = 15
local def_color = Color(127,127,127,255)
local function backColor(color)
return Color(color["r"]/2,color["g"]/2,color["b"]/2,255)
end
local function drawBar(maxVal, currVal, posx, posy, width, height, round, color, text)
if width <... | gpl-2.0 |
The-HalcyonDays/darkstar | scripts/globals/abilities/sentinel.lua | 10 | 1090 | -----------------------------------
-- Ability: Sentinel
-- Reduces physical damage taken and increases enmity.
-- Obtained: Paladin Level 30
-- Recast Time: 5:00
-- Duration: 0:30
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onAbilityCheck
----... | gpl-3.0 |
The-HalcyonDays/darkstar | scripts/globals/abilities/samurai_roll.lua | 11 | 2131 | -----------------------------------
-- Ability: Samurai Roll
-- Enhances "Store TP" effect for party members within area of effect
-- Optimal Job: Samurai
-- Lucky Number: 2
-- Unlucky Number: 6
-- Level 37
--
-- Die Roll |No SAM |With SAM
-- 1 |+8 |+18
-- 2 |+32 |+42
-- 3 ... | gpl-3.0 |
coltonj96/UsefulCombinators | UsefulCombinators_0.4.4/migrations/UsefulCombinators_0.2.5.lua | 14 | 1355 | game.reload_script()
for index, force in pairs(game.forces) do
force.reset_technologies()
if force.technologies["useful-combinators"].researched then
force.recipes["random-combinator"].enabled = true
force.recipes["converter-combinator"].enabled = true
if force.recipes["comparator-combinator"] t... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.